Project

General

Profile

Actions

Bug #74809

closed

make check run-tox-qa failure: workunits/rgw/test_rgw_versioning.py:78: error: Assertion is always true, perhaps remove parentheses?

Added by Laura Flores about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-5175-ga0e6e11bde
Released In:
Upkeep Timestamp:
2026-02-07T03:47:23+00:00

Description

https://jenkins.ceph.com/job/ceph-pull-requests/173950/consoleFull

257/322 Test #301: run-tox-qa ................................***Failed   38.69 sec
Requirement already satisfied: tox in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (4.34.1)
Requirement already satisfied: cachetools>=6.2.4 in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (from tox) (7.0.0)
Requirement already satisfied: chardet>=5.2 in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (from tox) (5.2.0)
Requirement already satisfied: colorama>=0.4.6 in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (from tox) (0.4.6)
Requirement already satisfied: filelock>=3.20.2 in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (from tox) (3.20.3)
Requirement already satisfied: packaging>=25 in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (from tox) (26.0)
Requirement already satisfied: platformdirs>=4.5.1 in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (from tox) (4.5.1)
Requirement already satisfied: pluggy>=1.6 in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (from tox) (1.6.0)
Requirement already satisfied: pyproject-api>=1.10 in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (from tox) (1.10.0)
Requirement already satisfied: tomli>=2.3 in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (from tox) (2.4.0)
Requirement already satisfied: typing-extensions>=4.15 in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (from tox) (4.15.0)
Requirement already satisfied: virtualenv>=20.35.4 in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (from tox) (20.36.1)
Requirement already satisfied: distlib<1,>=0.3.7 in /ceph/build/qa-virtualenv/lib/python3.10/site-packages (from virtualenv>=20.35.4->tox) (0.4.0)
flake8: install_deps /ceph/qa> python -I -m pip install flake8
flake8: commands[0] /ceph/qa> flake8 --select=F,E9 --exclude=venv,.tox
./workunits/rgw/test_rgw_versioning.py:78:5: F631 assertion is always true, perhaps remove parentheses?
flake8: exit 1 (6.10 seconds) /ceph/qa> flake8 --select=F,E9 --exclude=venv,.tox pid=121137
flake8: FAIL ✖ in 17.49 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]
workunits/rgw/test_rgw_versioning.py:78: error: Assertion is always true, perhaps remove parentheses?  [misc]
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]
Found 1 error in 1 file (checked 302 source files)
mypy: exit 1 (6.97 seconds) /ceph/qa> mypy --no-namespace-packages . pid=174693
mypy: FAIL ✖ in 18.16 seconds
deadsymlinks: commands[0] /ceph/qa> bash -c '! (find . -xtype l | grep ^)'
  flake8: FAIL code 1 (17.49=setup[11.39]+cmd[6.10] seconds)
  mypy: FAIL code 1 (18.16=setup[11.19]+cmd[6.97] seconds)
  deadsymlinks: OK (1.25=setup[1.11]+cmd[0.13] seconds)
  evaluation failed :( (36.92 seconds)

        Start 300: teardown-venv-for-qa


Files

#173950.txt (1.29 MB) #173950.txt Full log (make check) Laura Flores, 02/06/2026 04:32 PM
Actions #1

Updated by Casey Bodley about 1 month ago

  • Assignee set to J. Eric Ivancich

regression from https://github.com/ceph/ceph/pull/67190 - github checks didn't catch this because

Only the doc/, container/, qa/ or .github/ dir changed. No need to run make check.

Actions #2

Updated by J. Eric Ivancich about 1 month ago

  • Pull request ID set to 67247
Actions #3

Updated by Upkeep Bot about 1 month ago

  • Status changed from New to Resolved
  • Merge Commit set to a0e6e11bdec678700f2698dd72992530d52ff882
  • Fixed In set to v20.3.0-5175-ga0e6e11bde
  • Upkeep Timestamp set to 2026-02-07T03:47:23+00:00
Actions

Also available in: Atom PDF