Skip to content

qa/cephfs: make mount.py::compare_trees() actually compare files - #72998

Closed
vshankar wants to merge 1 commit into
ceph:mainfrom
vshankar:wip-81997
Closed

vshankar wants to merge 1 commit into
ceph:mainfrom
vshankar:wip-81997

Conversation

@vshankar

Copy link
Copy Markdown
Contributor

The passed in "src" is a direcrtory, so neither of the checks runs.

Introduced-by: aa70e12
Fixes: http://tracker.ceph.com/issues/81997

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
vshankar requested review from a team and chrisphoffman October 22, 2026 17:13
@vshankar vshankar added the cephfs Ceph File System label Oct 22, 2026
@github-actions github-actions Bot added the tests label Oct 22, 2026

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

Thanks for taking this on. I see a few issues, I can co-author this if you'd like.

Any "self" in pyscript needs to be removed too.

also need a
import hashlib
at top of pyscript.

Comment thread qa/tasks/cephfs/mount.py
raise

if os.path.islink('{src}'):
if os.path.islink('{src_file}'):

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.

Suggested change
if os.path.islink('{src_file}'):
if os.path.islink(src_file):

No fstring notation as this is an "inner" variable.

@vshankar

Copy link
Copy Markdown
Contributor Author

Thanks for taking this on. I see a few issues, I can co-author this if you'd like.

Sure. Thank you @chrisphoffman

@chrisphoffman

Copy link
Copy Markdown
Contributor

This is part of #71881

@vshankar

vshankar commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

as per #72998 (comment)

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

Labels

cephfs Ceph File System tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants