Skip to content

qa: Use mount class in test_fscrypt to read/write and to compare trees - #68635

Merged
vshankar merged 1 commit into
ceph:mainfrom
chrisphoffman:wip-74110
Jul 7, 2026
Merged

vshankar merged 1 commit into
ceph:mainfrom
chrisphoffman:wip-74110

Conversation

@chrisphoffman

Copy link
Copy Markdown
Contributor

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

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

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@vshankar

Copy link
Copy Markdown
Contributor

This PR has been added to main integration testing by vshankar started 2026-06-16-11:08.

@vshankar vshankar 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.

@vshankar

Copy link
Copy Markdown
Contributor

jenkins test make check

1 similar comment
@vshankar

vshankar commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

jenkins test make check

@vshankar

vshankar commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

@chrisphoffman This change fails make check due to flake8 issues

flake8: install_deps /ceph/qa> python -I -m pip install flake8
flake8: commands[0] /ceph/qa> flake8 --select=F,E9 --exclude=venv,.tox
./tasks/cephfs/test_fscrypt.py:8:1: F401 'hashlib' imported but unused
flake8: exit 1 (24.39 seconds) /ceph/qa> flake8 --select=F,E9 --exclude=venv,.tox pid=72383
flake8: FAIL ✖ in 36.5 seconds
mypy: install_deps /ceph/qa> python -I -m pip install mypy types-boto types-cryptography types-jwt types-paramiko types-python-dateutil types-PyYAML types-redis types-requests -c /ceph/qa/../src/mypy-constrains.txt
mypy: commands[0] /ceph/qa> mypy --no-namespace-packages .
workunits/windows/py_tests/internal/utils.py:45: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
workunits/windows/py_tests/internal/utils.py:46: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
tasks/rados.py:341: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
tasks/daemonwatchdog.py:116: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
tasks/cephfs/test_subvolume.py:222: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
tasks/cephfs/test_subvolume.py:228: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
Success: no issues found in 305 source files

In TestFSCryptVolumes, make sure to use mount class to
compare directory trees and to read/write files.

Fixes: https://tracker.ceph.com/issues/74110
Signed-off-by: Christopher Hoffman <[email protected]>
@vshankar

vshankar commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

jenkins test make check

1 similar comment
@vshankar

vshankar commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

jenkins test make check

@vshankar
vshankar merged commit d73bf27 into ceph:main Jul 7, 2026
6 checks passed
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.

2 participants