Build: https://idm-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/trigger-test-suite/job/master/1054/ Related error message: 2020-01-10T10:47:42+0000 TASK [shell] ******************************************************************* 2020-01-10T10:47:43+0000 fatal: [runner.testrelm.test]: FAILED! => changed=true 2020-01-10T10:47:43+0000 cmd: ipa-run-tests -v -r fEsxXw --showlocals --log-level=DEBUG -k "" -m "" --log-file=`pwd`/pytest-run.log --log-file-level=DEBUG --log-file-format="%(asctime)s [%(name)s] %(levelname)s %(message)s" --log-file-date-format="%Y-%m-%dT%H:%M:%S%z" --junit-xml=`pwd`/junit.xml --html=`pwd`/report.html --self-contained-html test_integration/test_nfs.py > test-result.txt 2020-01-10T10:47:43+0000 delta: '0:00:00.390760' 2020-01-10T10:47:43+0000 end: '2020-01-10 05:47:42.734948' 2020-01-10T10:47:43+0000 msg: non-zero return code 2020-01-10T10:47:43+0000 rc: 2 2020-01-10T10:47:43+0000 start: '2020-01-10 05:47:42.344188' 2020-01-10T10:47:43+0000 stderr: |- 2020-01-10T10:47:43+0000 usage: -c [options] [file_or_dir] [file_or_dir] [...] 2020-01-10T10:47:43+0000 -c: error: argument -k: expected one argument 2020-01-10T10:47:43+0000 stderr_lines: 2020-01-10T10:47:43+0000 - 'usage: -c [options] [file_or_dir] [file_or_dir] [...]' 2020-01-10T10:47:43+0000 - '-c: error: argument -k: expected one argument' 2020-01-10T10:47:43+0000 stdout: '' 2020-01-10T10:47:43+0000 stdout_lines: <omitted>
2020-01-10T10:47:42+0000 TASK [shell] ******************************************************************* 2020-01-10T10:47:43+0000 fatal: [runner.testrelm.test]: FAILED! => changed=true 2020-01-10T10:47:43+0000 cmd: ipa-run-tests -v -r fEsxXw --showlocals --log-level=DEBUG -k "" -m "" --log-file=`pwd`/pytest-run.log --log-file-level=DEBUG --log-file-format="%(asctime)s [%(name)s] %(levelname)s %(message)s" --log-file-date-format="%Y-%m-%dT%H:%M:%S%z" --junit-xml=`pwd`/junit.xml --html=`pwd`/report.html --self-contained-html test_integration/test_nfs.py > test-result.txt 2020-01-10T10:47:43+0000 delta: '0:00:00.390760' 2020-01-10T10:47:43+0000 end: '2020-01-10 05:47:42.734948' 2020-01-10T10:47:43+0000 msg: non-zero return code 2020-01-10T10:47:43+0000 rc: 2 2020-01-10T10:47:43+0000 start: '2020-01-10 05:47:42.344188' 2020-01-10T10:47:43+0000 stderr: |- 2020-01-10T10:47:43+0000 usage: -c [options] [file_or_dir] [file_or_dir] [...] 2020-01-10T10:47:43+0000 -c: error: argument -k: expected one argument 2020-01-10T10:47:43+0000 stderr_lines: 2020-01-10T10:47:43+0000 - 'usage: -c [options] [file_or_dir] [file_or_dir] [...]' 2020-01-10T10:47:43+0000 - '-c: error: argument -k: expected one argument' 2020-01-10T10:47:43+0000 stdout: '' 2020-01-10T10:47:43+0000 stdout_lines: <omitted>
Commit 8aa3ef0 of freeipa
python3-ipatests-4.8.4-1.el8.noarch.rpm
The -k and -m options are parsed by pytest. You are passing an empty string to -k and -m but pytest requires a non-empty argument. For example:
-k
-m
$ PYTHONPATH=$(pwd) python3 ipatests/ipa-run-tests -m "" -k "" ERROR: usage: -c [options] [file_or_dir] [file_or_dir] [...] -c: error: argument -m: expected one argument
python3-pytest-4.6.9-1.fc31.noarch
pytest -k "" -m "" ==================================================================================== test session starts ===================================================================================== platform linux -- Python 3.7.6, pytest-4.6.9, py-1.8.0, pluggy-0.12.0 rootdir: /root plugins: multihost-3.0, sourceorder-0.5 collected 0 items ================================================================================ no tests ran in 0.09 seconds ================================================================================
@mpolovka, Hi. Thank you for reporting the issue. I'm looking into it.
master:
Metadata Update from @abbra: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
ipa-4-8:
Login to comment on this ticket.