Could not import command module testrepository.commands.slowest when ‘testr slowest’

Bug #1842403 reported by Shuo Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Testrepository
Invalid
Undecided
Unassigned

Bug Description

py27 run-test-pre: PYTHONHASHSEED='3666480225'
py27 run-test: commands[0] | find keystone -type f -name '*.pyc' -delete
py27 run-test: commands[1] | bash tools/pretty_tox.sh ''
: invalid option nameline 2: set: pipefail
usage: subunit-trace [-h] [--version] [--no-failure-debug] [--fails]
                     [--failonly] [--abbreviate] [--perc-diff]
                     [--diff-threshold THRESHOLD] [--no-summary] [--color]
subunit-trace: error: argument --fails/-f: ignored explicit argument '\r'
/opt/keystone/.tox/py27/lib/python2.7/site-packages/setuptools/dist.py:45: DistDeprecationWarning: Do not call this function
  warnings.warn("Do not call this function", DistDeprecationWarning)
error: Broken pipe

Slowest Tests:

Traceback (most recent call last):
  File "/opt/keystone/.tox/py27/bin/testr", line 26, in <module>
    sys.exit(run_argv(sys.argv, sys.stdin, sys.stdout, sys.stderr))
  File "/opt/keystone/.tox/py27/lib/python2.7/site-packages/testrepository/commands/__init__.py", line 184, in run_argv
    cmdclass = _find_command(cmd_name)
  File "/opt/keystone/.tox/py27/lib/python2.7/site-packages/testrepository/commands/__init__.py", line 53, in _find_command
    raise KeyError("Could not import command module %s" % modname)
KeyError: 'Could not import command module testrepository.commands.slowest\r'
: numeric argument required0: exit: 2
ERROR: InvocationError for command /usr/bin/bash tools/pretty_tox.sh '' (exited with code 255)
___________________________________________________________________________ summary ___________________________________________________________________________
ERROR: py27: commands failed

Shuo Liu (liushuobj)
Changed in testrepository:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.