Skip to content

RGW - Fix POSIX bucket notify test - #61756

Merged
dang merged 1 commit into
ceph:mainfrom
dang:wip-dang-68336
Feb 18, 2025
Merged

dang merged 1 commit into
ceph:mainfrom
dang:wip-dang-68336

Conversation

@dang

@dang dang commented Feb 11, 2025 •

Copy link
Copy Markdown
Contributor

The BucketCacheFixtureInotify1.List2Inotify1 test was failing due to the count being wrong. Fix the count, and flesh out the test case to test the cache for deleting and adding.

Fixes: https://tracker.ceph.com/issues/68336

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@dang
dang requested a review from a team as a code owner February 11, 2025 16:54

@cbodley cbodley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good if it works, thanks

@dang

dang commented Feb 14, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@dang

dang commented Feb 14, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@cbodley

cbodley commented Feb 14, 2025

Copy link
Copy Markdown
Contributor

https://jenkins.ceph.com/job/ceph-pull-requests/151586/

[ RUN      ] BucketCacheFixtureInotify1.List2Inotify1
waiting for 50ms for cache sync size=21
waiting for 100ms for cache sync size=25
waiting for 200ms for cache sync size=25
waiting for 400ms for cache sync size=25
waiting for 800ms for cache sync size=25
waiting for 1600ms for cache sync size=25
waiting for 3200ms for cache sync size=25
waiting for 6400ms for cache sync size=25
waiting for 12800ms for cache sync size=25
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/rgw/test_posix_bucket_cache.cc:455: Failure
Expected equality of these values:
  names.size()
    Which is: 25
  30
[  FAILED  ] BucketCacheFixtureInotify1.List2Inotify1 (9043 ms)

The BucketCacheFixtureInotify1.List2Inotify1 test was failing due to the
count being wrong.  Fix the count, and flesh out the test case to test
the cache for deleting and adding.  Also, move to per-test fixture, so
tests can't interfere with eachother due to inotify latency.

Fixes: https://tracker.ceph.com/issues/68336

Signed-off-by: Daniel Gryniewicz <[email protected]>
@dang
dang merged commit e091ab3 into ceph:main Feb 18, 2025
@jmundack

Copy link
Copy Markdown
Contributor

@dang

[ RUN      ] BucketCacheFixtureInotify1.List2Inotify1
waiting for 50ms for cache sync size=20
waiting for 100ms for cache sync size=20
waiting for 200ms for cache sync size=20
waiting for 400ms for cache sync size=21
waiting for 800ms for cache sync size=21
waiting for 1600ms for cache sync size=21
waiting for 3200ms for cache sync size=21
waiting for 6400ms for cache sync size=21
waiting for 12800ms for cache sync size=21
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/rgw/test_posix_bucket_cache.cc:458: Failure
Expected equality of these values:
  names.size()
    Which is: 21
  30
[  FAILED  ] BucketCacheFixtureInotify1.List2Inotify1 (25604 ms)

we still seem to have this problem (ref: PR - #62016)

@dang

dang commented Feb 27, 2025

Copy link
Copy Markdown
Contributor Author

Yeah, this appears to be an actual inotify failure of some variety.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants