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

qa/cephfs: block buggy tests in test_admin.py #57496

Conversation

rishabh-d-dave
Copy link
Contributor

This test fails due to a known bug. Block it temporarily so that
test_admin.py can run fully and PRs under QA can be tested fully.
Otherwise, this test fails and that halts test_admin.py, which leaves
the PR partially untested.

This failure is then seen as an unrelated failure which lets the buggy
code get merged. This has happened recently.

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

@rishabh-d-dave
Copy link
Contributor Author

rishabh-d-dave commented May 16, 2024

Had a conversation with Venky about this, it's good to do a quick QA for this PR so that it can be merge ASAP to make sure test_admin does fine in QA runs -

https://pulpito.ceph.com/rishabh-2024-05-16_07:25:57-fs:functional-main-testing-default-smithi/

@rishabh-d-dave rishabh-d-dave force-pushed the block-test_idem_unaffected_root_squash branch from 1197f8a to ca86a59 Compare May 16, 2024 08:41
@rishabh-d-dave
Copy link
Contributor Author

@rishabh-d-dave
Copy link
Contributor Author

This PR is under test in https://tracker.ceph.com/issues/66065.

rishabh-d-dave added a commit to rishabh-d-dave/ceph that referenced this pull request May 16, 2024
* refs/pull/57496/head:
	qa/cephfs: block buggy tests in test_admin.py
@rishabh-d-dave rishabh-d-dave force-pushed the block-test_idem_unaffected_root_squash branch from ca86a59 to d0ba509 Compare May 16, 2024 11:40
@rishabh-d-dave
Copy link
Contributor Author

This PR is under test in https://tracker.ceph.com/issues/66067.

rishabh-d-dave added a commit to rishabh-d-dave/ceph that referenced this pull request May 16, 2024
* refs/pull/57496/head:
	qa/cephfs: block buggy tests in test_admin.py
qa/tasks/cephfs/test_admin.py Outdated Show resolved Hide resolved
@rishabh-d-dave
Copy link
Contributor Author

@rishabh-d-dave
Copy link
Contributor Author

@rishabh-d-dave rishabh-d-dave force-pushed the block-test_idem_unaffected_root_squash branch from d0ba509 to f0342d4 Compare May 16, 2024 16:39
rishabh-d-dave added a commit to rishabh-d-dave/ceph that referenced this pull request May 16, 2024
* refs/pull/57496/head:
	qa/cephfs: block buggy tests in test_admin.py
@rishabh-d-dave rishabh-d-dave force-pushed the block-test_idem_unaffected_root_squash branch from f0342d4 to 2b60c8b Compare May 16, 2024 17:26
@rishabh-d-dave rishabh-d-dave changed the title qa/cephfs: block test_idem_unaffected_root_squash temporarily qa/cephfs: block buggy tests in test_admin.py May 16, 2024
@rishabh-d-dave
Copy link
Contributor Author

Current approach is better than previous because we don't need to import unittest.

rishabh-d-dave added a commit to rishabh-d-dave/ceph that referenced this pull request May 16, 2024
* refs/pull/57496/head:
	qa/cephfs: block buggy tests in test_admin.py
rishabh-d-dave added a commit to rishabh-d-dave/ceph that referenced this pull request May 16, 2024
* refs/pull/57496/head:
	qa/cephfs: block buggy tests in test_admin.py
rishabh-d-dave added a commit to rishabh-d-dave/ceph that referenced this pull request May 16, 2024
* refs/pull/57496/head:
	qa/cephfs: block buggy tests in test_admin.py
@batrick
Copy link
Member

batrick commented May 17, 2024

jenkins test make check

Copy link
Contributor

@vshankar vshankar left a comment

Choose a reason for hiding this comment

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

Looks fine. Please link the new trackers for the buggy tests.

Block test_idem_unaffected_root_squash temporarily and
test_multifs_single_path_rootsquash.

This test fails due to a known bug. Block it temporarily so that
test_admin.py can run fully and PRs under QA can be tested fully.
Otherwise, this test fails and that halts test_admin.py, which leaves
the PR partially untested.

This failure is then seen as an unrelated failure which lets the buggy
code get merged. This has happened recently.

Signed-off-by: Rishabh Dave <[email protected]>
@rishabh-d-dave rishabh-d-dave force-pushed the block-test_idem_unaffected_root_squash branch from 2b60c8b to b7d0770 Compare May 17, 2024 04:48
rishabh-d-dave added a commit to rishabh-d-dave/ceph that referenced this pull request May 17, 2024
* refs/pull/57496/head:
	qa/cephfs: block buggy tests in test_admin.py

Reviewed-by: Venky Shankar <[email protected]>
Reviewed-by: Patrick Donnelly <[email protected]>
@rishabh-d-dave
Copy link
Contributor Author

https://jenkins.ceph.com/job/ceph-pull-requests/135177/ - "slave crashed", looks like transient infra issue

@rishabh-d-dave
Copy link
Contributor Author

jenkins test make check

@rishabh-d-dave
Copy link
Contributor Author

@rishabh-d-dave rishabh-d-dave merged commit 19ee59e into ceph:main May 17, 2024
11 checks passed
@rishabh-d-dave rishabh-d-dave deleted the block-test_idem_unaffected_root_squash branch May 17, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants