Skip to content

tentacle: test/encoding/readable: Add backward incompat checks - #67394

Merged
batrick merged 2 commits into
ceph:tentaclefrom
NitzanMordhai:wip-74999-tentacle
Aug 24, 2026
Merged

batrick merged 2 commits into
ceph:tentaclefrom
NitzanMordhai:wip-74999-tentacle

Conversation

@NitzanMordhai

Copy link
Copy Markdown
Contributor

@NitzanMordhai NitzanMordhai added this to the tentacle milestone Feb 18, 2026
@rzarzynski

Copy link
Copy Markdown
Contributor

jenkins test make check

@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. labels Jul 11, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. labels Jul 11, 2026
@yuriw

yuriw commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri13-testing-20260729.211123-tentacle.

@yuriw yuriw added the core label Jul 29, 2026
@amathuria

Copy link
Copy Markdown
Contributor

@batrick
batrick force-pushed the wip-74999-tentacle branch from 0327df5 to a6fec1a Compare August 21, 2026 18:14
@batrick batrick modified the milestones: tentacle, v20.2.5 Aug 21, 2026
@github-actions github-actions Bot added tests releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-pass Release engineering: passed backport verification audit. labels Aug 21, 2026
NitzanMordhai and others added 2 commits August 21, 2026 19:53
The python script test_readable.py was added for backword and forward
compability. maintaining 2 scripts that finally doing the same is west,
reverting and using readable.sh and leave the python out.

https://tracker.ceph.com/issues/74074
Signed-off-by: Nitzan Mordechai <[email protected]>
(cherry picked from commit 9d289ed)
The readable.sh script has forward incompat checks, but no
backward incompat checks.

This fix will:
 1. Add check for backward_incompat directory for each type for specific
    objects or all objects with the same type and skip those objects from being tested.
 2. Add version comparison helper functions (version_lt, version_le, version_ge,
    versions_span) for robust version handling
 3. Replace 'sort -n' with 'sort -V' for proper version number sorting
 4. Add CORPUS_PATH environment variable to allow teuthology tests to execute this script
 5. Improve readability of the script

The difference between backward and forward incompat:
- forward_incompat: Marks objects from older versions that newer ceph-dencoder
  versions cannot read. Example: Version 19.2.x objects marked incompat at version 20.2.x
  means ceph-dencoder v20.2.x+ can't decode them. Skip when testing old objects
  with a new ceph-dencoder.
- backward_incompat: Marks objects from newer versions that older ceph-dencoder
  versions cannot read. Example: Version 19.2.x objects marked backward_incompat at v19.2.x
  means ceph-dencoder < v19.2.x can't decode them. Skip when testing new objects
  with an old ceph-dencoder.

Fixes: https://tracker.ceph.com/issues/74074
Signed-off-by: Nitzan Mordechai <[email protected]>
(cherry picked from commit 011b25d)
@batrick
batrick force-pushed the wip-74999-tentacle branch from a6fec1a to 372c908 Compare August 21, 2026 23:53
@github-actions github-actions Bot removed the releng-audit-pass Release engineering: passed backport verification audit. label Aug 21, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Aug 21, 2026
@batrick

batrick commented Aug 24, 2026

Copy link
Copy Markdown
Member

jenkins test make check

@batrick
batrick merged commit b6fb5a1 into ceph:tentacle Aug 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core needs-qa releng-audit-pass Release engineering: passed backport verification audit. tests wip-yuri13-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants