Actions
Bug #8657
closedtest-runner dryrun (-d) fails for runfile (-c) mode
Start date:
2017-09-15
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
Error 1):
$ /opt/test-runner/bin/run -c /opt/util-tests/runfiles/default.run -d /opt/test-runner/bin/run: Could not change to directory /var/tmp/test_results/20170915T100324
Error 2 after fixing 1):
Traceback (most recent call last): File "/opt/test-runner/bin/run", line 885, in <module> main() File "/opt/test-runner/bin/run", line 879, in main testrun.run(options) File "/opt/test-runner/bin/run", line 710, in run self.tests[test].run(self.logger, options) File "/opt/test-runner/bin/run", line 374, in run test.run(options) File "/opt/test-runner/bin/run", line 219, in run print self File "/opt/test-runner/bin/run", line 158, in __str__ (self.pathname, self.outputdir, self.timeout, self.user) TypeError: %d format: a number is required, not str
After fixes):
Pathname: /opt/util-tests/tests/allowed-ips Outputdir: /var/tmp/test_results/20170915T100627/allowed-ips Timeout: 60 User: Pathname: /opt/util-tests/tests/printf_test Outputdir: /var/tmp/test_results/20170915T100627/printf_test Timeout: 60 User: Pathname: /opt/util-tests/tests/xargs_test Outputdir: /var/tmp/test_results/20170915T100627/xargs_test Timeout: 60 User: Pathname: /opt/util-tests/tests/libnvpair_json/json_00_blank Outputdir: /var/tmp/test_results/20170915T100627/libnvpair_json/json_00_blank Timeout: 60 User: Pathname: /opt/util-tests/tests/libnvpair_json/json_01_boolean Outputdir: /var/tmp/test_results/20170915T100627/libnvpair_json/json_01_boolean Timeout: 60 User: Pathname: /opt/util-tests/tests/libnvpair_json/json_02_numbers Outputdir: /var/tmp/test_results/20170915T100627/libnvpair_json/json_02_numbers Timeout: 60 User: Pathname: /opt/util-tests/tests/libnvpair_json/json_03_empty_arrays Outputdir: /var/tmp/test_results/20170915T100627/libnvpair_json/json_03_empty_arrays Timeout: 60 User: Pathname: /opt/util-tests/tests/libnvpair_json/json_04_number_arrays Outputdir: /var/tmp/test_results/20170915T100627/libnvpair_json/json_04_number_arrays Timeout: 60 User: Pathname: /opt/util-tests/tests/libnvpair_json/json_05_strings Outputdir: /var/tmp/test_results/20170915T100627/libnvpair_json/json_05_strings Timeout: 60 User: Pathname: /opt/util-tests/tests/libnvpair_json/json_06_nested Outputdir: /var/tmp/test_results/20170915T100627/libnvpair_json/json_06_nested Timeout: 60 User: Pathname: /opt/util-tests/tests/libnvpair_json/json_07_nested_arrays Outputdir: /var/tmp/test_results/20170915T100627/libnvpair_json/json_07_nested_arrays Timeout: 60 User:
Updated by Electric Monk over 5 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
git commit 64ee6612ceb686fa3f41561cf589072ebb0132b1
commit 64ee6612ceb686fa3f41561cf589072ebb0132b1 Author: Chris Fraire <cfraire@me.com> Date: 2017-10-06T20:49:34.000Z 8657 test-runner dryrun (-d) fails for runfile (-c) mode Reviewed by: Yuri Pankov <yuripv@gmx.com> Reviewed by: John Kennedy <jwk404@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Actions