Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: log hygiene checks for storage controller #6710

Merged
merged 7 commits into from Mar 19, 2024
Merged

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented Feb 9, 2024

Problem

As with the pageserver, we should fail tests that emit unexpected log errors/warnings.

Summary of changes

  • Refactor existing log checks to be reusable
  • Run log checks for attachment_service
  • Add allow lists as needed.

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.
  • Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
  • If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

  • Do not forget to reformat commit message to not include the above checklist

@jcsp jcsp added a/test Area: related to testing a/tech_debt Area: related to tech debt labels Feb 9, 2024
Copy link

github-actions bot commented Feb 9, 2024

2706 tests run: 2575 passed, 0 failed, 131 skipped (full report)


Flaky tests (1)

Postgres 16

  • test_crafted_wal_end[last_wal_record_xlog_switch_ends_on_page_boundary]: debug

Code coverage* (full report)

  • functions: 28.3% (7131 of 25173 functions)
  • lines: 46.9% (43725 of 93325 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
654fc72 at 2024-03-19T10:41:50.168Z :recycle:

@jcsp jcsp added the run-benchmarks Indicates to the CI that benchmarks should be run for PR marked with this label label Mar 15, 2024
@jcsp jcsp marked this pull request as ready for review March 15, 2024 14:06
@jcsp jcsp requested a review from a team as a code owner March 15, 2024 14:06
@jcsp jcsp requested a review from VladLazar March 15, 2024 14:06
@jcsp jcsp removed the run-benchmarks Indicates to the CI that benchmarks should be run for PR marked with this label label Mar 15, 2024
test_runner/fixtures/neon_fixtures.py Show resolved Hide resolved
test_runner/regress/test_sharding_service.py Outdated Show resolved Hide resolved
@jcsp jcsp enabled auto-merge (squash) March 19, 2024 09:58
@jcsp jcsp merged commit b80704c into main Mar 19, 2024
50 checks passed
@jcsp jcsp deleted the jcsp/storcon-log-hygiene branch March 19, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a/tech_debt Area: related to tech debt a/test Area: related to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants