← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1546664] [NEW] Unable to run tox tests, install_command error

 

Public bug reported:

I'm starting from a new install of Ubuntu 14.04, I'm able to run tests
via the ./run_tests.sh script, but am unable to run the tests via tox.
Whenever I attempt to, I get the following error:

Traceback (most recent call last):
  File "/usr/bin/tox", line 9, in <module>
    load_entry_point('tox==1.6.0', 'console_scripts', 'tox')()
  File "/usr/lib/python2.7/dist-packages/tox/_cmdline.py", line 25, in main
    config = parseconfig(args, 'tox')
  File "/usr/lib/python2.7/dist-packages/tox/_config.py", line 44, in parseconfig
    parseini(config, inipath)
  File "/usr/lib/python2.7/dist-packages/tox/_config.py", line 236, in __init__
    config)
  File "/usr/lib/python2.7/dist-packages/tox/_config.py", line 335, in _makeenvconfig
    "'install_command' must contain '{packages}' substitution")
tox.ConfigError: ConfigError: 'install_command' must contain '{packages}' substitution

I believe it's an error in tox.ini, but after checking on IRC, I don't
see anyone else experiencing the same error.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1546664

Title:
  Unable to run tox tests, install_command error

Status in Glance:
  New

Bug description:
  I'm starting from a new install of Ubuntu 14.04, I'm able to run tests
  via the ./run_tests.sh script, but am unable to run the tests via tox.
  Whenever I attempt to, I get the following error:

  Traceback (most recent call last):
    File "/usr/bin/tox", line 9, in <module>
      load_entry_point('tox==1.6.0', 'console_scripts', 'tox')()
    File "/usr/lib/python2.7/dist-packages/tox/_cmdline.py", line 25, in main
      config = parseconfig(args, 'tox')
    File "/usr/lib/python2.7/dist-packages/tox/_config.py", line 44, in parseconfig
      parseini(config, inipath)
    File "/usr/lib/python2.7/dist-packages/tox/_config.py", line 236, in __init__
      config)
    File "/usr/lib/python2.7/dist-packages/tox/_config.py", line 335, in _makeenvconfig
      "'install_command' must contain '{packages}' substitution")
  tox.ConfigError: ConfigError: 'install_command' must contain '{packages}' substitution

  I believe it's an error in tox.ini, but after checking on IRC, I don't
  see anyone else experiencing the same error.

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


Follow ups