Project

General

Profile

Actions

Bug #8657

closed

test-runner dryrun (-d) fails for runfile (-c) mode

Added by C Fraire about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
tests
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: 

Actions

Also available in: Atom PDF