← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1213894] Re: run_tests.sh script fails if it runs with two parameters or more

 

[Expired for OpenStack Dashboard (Horizon) because there has been no
activity for 60 days.]

** Changed in: horizon
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1213894

Title:
  run_tests.sh script fails if it runs with two parameters or more

Status in OpenStack Dashboard (Horizon):
  Expired

Bug description:
  ./run_tests.sh -N --pep8 generates next traceback

  Running flake8 ...
  Traceback (most recent call last):
    File "/usr/local/bin/flake8", line 9, in <module>
      load_entry_point('flake8==2.0', 'console_scripts', 'flake8')()
    File "/usr/local/lib/python2.7/dist-packages/flake8/main.py", line 29, in main
      report = flake8_style.check_files()
    File "/usr/local/lib/python2.7/dist-packages/pep8.py", line 1604, in check_files
      self.input_dir(path)
    File "/usr/local/lib/python2.7/dist-packages/pep8.py", line 1640, in input_dir
      runner(os.path.join(root, filename))
    File "/usr/local/lib/python2.7/dist-packages/flake8/engine.py", line 69, in input_file
      return fchecker.check_all(expected=expected, line_offset=line_offset)
    File "/usr/local/lib/python2.7/dist-packages/pep8.py", line 1348, in check_all
      self.check_ast()
    File "/usr/local/lib/python2.7/dist-packages/pep8.py", line 1329, in check_ast
      if not noqa(self.lines[lineno - 1]):
  IndexError: list index out of range

  and it's although happens in jenkins built process
  (http://logs.openstack.org/28/42228/2/check/gate-horizon-
  pep8/d4d07d2/console.html.gz)

  PS: if it runs with one parameter - everything is fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1213894/+subscriptions