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: ceph_test_rados_api_watch_notify: Allow for reconnect #39601

Conversation

badone
Copy link
Contributor

@badone badone commented Feb 22, 2021

An injected socket failure may cause rados_watch_check() to return
ENOENT instead of the expected ENOTCONN.

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

Signed-off-by: Brad Hubbard bhubbard@redhat.com

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

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 api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

An injected socket failure may cause rados_watch_check() to return
ENOENT instead of the expected ENOTCONN.

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

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
@github-actions github-actions bot added the tests label Feb 22, 2021
@badone badone added the core label Feb 22, 2021
@badone
Copy link
Contributor Author

badone commented Feb 22, 2021

jenkins test make check

Copy link
Member

@neha-ojha neha-ojha left a comment

Choose a reason for hiding this comment

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

Your analysis in https://tracker.ceph.com/issues/47719#note-9 makes sense to me, we could further verify your theory by removing failure injection from these tests and see if we hit the issue.

@neha-ojha
Copy link
Member

make check failure tracked in https://tracker.ceph.com/issues/49426

@neha-ojha
Copy link
Member

jenkins test make check

@badone
Copy link
Contributor Author

badone commented Feb 23, 2021

I ran 50 tests with msgr-failures and 50 without. With msgr-failures I saw multiple failures (all have trackers) including three instances of this issue. Without msgr-failures I still saw multiple failures but I saw no instances of this specific issue.

@badone
Copy link
Contributor Author

badone commented Feb 24, 2021

jenkins test make check

1 similar comment
@badone
Copy link
Contributor Author

badone commented Feb 25, 2021

jenkins test make check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants