Skip to content

Commit

Permalink
tests: extend allow list in deletion test (#8268)
Browse files Browse the repository at this point in the history
## Problem

1ea5d8b tolerated this as an error
message, but it can show up in logs as well.

Example failure:
https://neon-github-public-dev.s3.amazonaws.com/reports/pr-8201/9780147712/index.html#testresult/263422f5f5f292ea/retries

## Summary of changes

- Tolerate "failed to delete 1 objects" in pageserver logs, this occurs
occasionally when injected failures exhaust deletion's retries.
  • Loading branch information
jcsp committed Jul 5, 2024
1 parent 711716c commit e25ac31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test_runner/regress/test_tenant_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ def test_tenant_delete_smoke(

# first try to delete non existing tenant
tenant_id = TenantId.generate()
env.pageserver.allowed_errors.append(".*NotFound.*")
env.pageserver.allowed_errors.append(".*simulated failure.*")
env.pageserver.allowed_errors.extend(
[".*NotFound.*", ".*simulated failure.*", ".*failed to delete .+ objects.*"]
)

# Check that deleting a non-existent tenant gives the expected result: this is a loop because we
# may need to retry on some remote storage errors injected by the test harness
Expand Down

1 comment on commit e25ac31

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3111 tests run: 2983 passed, 1 failed, 127 skipped (full report)


Failures on Postgres 14

  • test_basebackup_with_high_slru_count[github-actions-selfhosted-vectored-10-13-30]: release
# Run all failed tests locally:
scripts/pytest -vv -n $(nproc) -k "test_basebackup_with_high_slru_count[release-pg14-github-actions-selfhosted-vectored-10-13-30]"
Flaky tests (3)

Postgres 16

Postgres 15

Postgres 14

  • test_pageserver_chaos[None]: release

Code coverage* (full report)

  • functions: 32.6% (6931 of 21268 functions)
  • lines: 50.0% (54455 of 108884 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
e25ac31 at 2024-07-05T10:52:06.365Z :recycle:

Please sign in to comment.