Actions
Bug #23709
closedrun-tox-mgr-dashboard fails because of unrecognized arguments
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
With PR #21293 the src/pybind/mgr/dashboard/run-tox.sh script has been modified. Now it seems that the Ceph Jenkins job does not like the new added --workdir argument.
[100%] Built target unittest_librbd [100%] Built target ceph-dencoder Scanning dependencies of target tests [100%] Built target tests Test project /home/jenkins-build/build/workspace/ceph-pull-requests/build Start 1: run-rbd-unit-tests.sh Start 2: run-cli-tests Start 3: test_objectstore_memstore.sh Start 4: test_subman.sh Start 5: smoke.sh Start 6: unittest_bufferlist.sh Start 7: run-tox-ceph-disk Start 8: run-tox-ceph-detect-init 1/155 Test #4: test_subman.sh .......................... Passed 0.11 sec Start 9: run-tox-mgr-dashboard 2/155 Test #9: run-tox-mgr-dashboard ...................***Failed 0.70 sec usage: tox [--version] [-h] [--help-ini] [-v] [--showconfig] [-l] [-c CONFIGFILE] [-e envlist] [--notest] [--sdistonly] [--installpkg PATH] [--develop] [-i URL] [--pre] [-r] [--result-json PATH] [--hashseed SEED] [--force-dep REQ] [--sitepackages] [--skip-missing-interpreters] [args [args ...]] tox: error: unrecognized arguments: --workdir Start 10: unittest_admin_socket 3/155 Test #10: unittest_admin_socket ................... Passed 5.71 sec Start 11: unittest_encoding 4/155 Test #11: unittest_encoding ....................... Passed 0.12 sec Start 12: unittest_addrs 5/155 Test #12: unittest_addrs .......................... Passed 0.70 sec
The src/pybind/mgr/dashboard/requirements.txt says tox 2.9.1 is required, but 2.3.1 is installed on the test system,
... Get:91 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/universe amd64 tox all 2.3.1-4 [144 kB] Get:92 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/universe amd64 python-tox all 2.3.1-4 [6372 B] Get:93 http://nova.clouds.archive.ubuntu.com/ubuntu xenial/universe amd64 python-coverage amd64 ... Preparing to unpack .../archives/tox_2.3.1-4_all.deb ... Unpacking tox (2.3.1-4) ... Selecting previously unselected package python-tox. Preparing to unpack .../python-tox_2.3.1-4_all.deb ... Unpacking python-tox (2.3.1-4) ...
Updated by Volker Theile about 6 years ago
Sorry, the correct link to the PR is https://github.com/ceph/ceph/pull/21293.
Updated by Kefu Chai about 6 years ago
- Status changed from New to Fix Under Review
Updated by Sage Weil about 6 years ago
- Status changed from Fix Under Review to Resolved
Actions