-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
quincy: test/pybind: replace nose with pytest #55060
Conversation
there were several conflicts around filtering for the crimson-rados suite; hopefully i got everything right |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there were several conflicts around filtering for the crimson-rados suite; hopefully i got everything right
I spotted some leftovers, mostly around markers. Otherwise LGTM!
qa/suites/crimson-rados/rbd/tasks/rbd_python_api_tests_old_format.yaml
Outdated
Show resolved
Hide resolved
@cbodley let me know when this is ready to get into testing |
75c31c7
to
3552439
Compare
thanks @idryomov, cleaned up the cherry-picks and documented the conflicts around markers |
3552439
to
affad57
Compare
jenkins test make check |
jenkins test api |
@cbodley Backport looks great, but I noticed that |
not intentional, no |
Waiting on this PR to go into testing / merge to unblock https://trello.com/c/Yjrx9ygD/1911-wip-yuri8-testing-2023-12-15-0911 |
seeing one failure from test_rbd.py, ex. http://qa-proxy.ceph.com/teuthology/yuriw-2024-01-09_20:56:52-rbd-quincy-distro-default-smithi/7510134/teuthology.log
@idryomov any idea what might be happening there? |
@cbodley See https://tracker.ceph.com/issues/63941. I have updated pacific branch in ceph-ci.git, it's possible that other named branched need to be pushed as well. |
* use fixtures for temporary images and groups * use pytest.skip instead of nose.SkipTest * replace setUp/tearDown with setup/teardown_method * add @pytest.mark.skip_if_crimson * replace nose assertions Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit af04457) Conflicts: qa/suites/crimson-rados/rbd/tasks/rbd_python_api_tests.yaml does not exist on quincy qa/suites/crimson-rados/rbd/tasks/rbd_python_api_tests_old_format.yaml qa/workunits/rbd/test_librbd_python.sh src/test/pybind/test_rbd.py skip_if_crimson filter not present on quincy
* use a fixture for setup_test() * invoke test_cephfs.py with pytest Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 0bd813f) Conflicts: src/test/pybind/test_cephfs.py missing ceph#43546 missing ceph#46905
* replace nose.Skiptest with pytest.skip() * replace nose attrs with @pytest.mark * replace nose assertions * replace setUp/tearDown with setup/teardown_method Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 0d0128f) Conflicts: qa/suites/crimson-rados/basic/tasks/rados_python.yaml src/test/pybind/test_rados.py no rollback or wait markers, added snap marker
* use a fixture for setup_test() * replace nose assertions Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit 136b3ec)
Signed-off-by: Casey Bodley <cbodley@redhat.com> (cherry picked from commit cbdd520) Conflicts: qa/suites/crimson-rados/rbd/tasks/rbd_python_api_tests.yaml does not exist on quincy
affad57
to
49908e1
Compare
jenkins test api |
backport tracker: https://tracker.ceph.com/issues/63937
backport of #52143
parent tracker: https://tracker.ceph.com/issues/61567
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh