← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1423587] [NEW] tox -egenconfig appears broken on the juno branch

 

Public bug reported:

tox -egenconfig is the right way to get sample config files since they
stopped being checked into the tree. It works for me on master, but not
on stable/juno.

Note, despite the statement that it succeeded, it in fact did not.
That's another bug.

ubuntu@cf3k:~/openstack/nova$ git checkout stable/juno
gSwitched to branch 'stable/juno'
Your branch is up-to-date with 'origin/stable/juno'.
ubuntu@cf3k:~/openstack/nova$ tox -egenconfig
genconfig develop-inst-nodeps: /home/ubuntu/openstack/nova
genconfig runtests: commands[0] | bash tools/config/generate_sample.sh -b . -p nova -o etc/nova
WARNING:test command found but not installed in testenv
  cmd: /bin/bash
  env: /home/ubuntu/openstack/nova/.tox/genconfig
Maybe forgot to specify a dependency?
Error importing module nova.test: No module named mox
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/ubuntu/openstack/nova/nova/openstack/common/config/generator.py", line 307, in <module>
    main()
  File "/home/ubuntu/openstack/nova/nova/openstack/common/config/generator.py", line 304, in main
    generate(sys.argv[1:])
  File "/home/ubuntu/openstack/nova/nova/openstack/common/config/generator.py", line 130, in generate
    raise RuntimeError("Unable to import module %s" % mod_str)
RuntimeError: Unable to import module nova.test
__________________________________________________ summary ___________________________________________________
  genconfig: commands succeeded
  congratulations :)

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  tox -egenconfig appears broken on the juno branch

Status in OpenStack Compute (Nova):
  New

Bug description:
  tox -egenconfig is the right way to get sample config files since they
  stopped being checked into the tree. It works for me on master, but
  not on stable/juno.

  Note, despite the statement that it succeeded, it in fact did not.
  That's another bug.

  ubuntu@cf3k:~/openstack/nova$ git checkout stable/juno
  gSwitched to branch 'stable/juno'
  Your branch is up-to-date with 'origin/stable/juno'.
  ubuntu@cf3k:~/openstack/nova$ tox -egenconfig
  genconfig develop-inst-nodeps: /home/ubuntu/openstack/nova
  genconfig runtests: commands[0] | bash tools/config/generate_sample.sh -b . -p nova -o etc/nova
  WARNING:test command found but not installed in testenv
    cmd: /bin/bash
    env: /home/ubuntu/openstack/nova/.tox/genconfig
  Maybe forgot to specify a dependency?
  Error importing module nova.test: No module named mox
  Traceback (most recent call last):
    File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
      "__main__", fname, loader, pkg_name)
    File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
      exec code in run_globals
    File "/home/ubuntu/openstack/nova/nova/openstack/common/config/generator.py", line 307, in <module>
      main()
    File "/home/ubuntu/openstack/nova/nova/openstack/common/config/generator.py", line 304, in main
      generate(sys.argv[1:])
    File "/home/ubuntu/openstack/nova/nova/openstack/common/config/generator.py", line 130, in generate
      raise RuntimeError("Unable to import module %s" % mod_str)
  RuntimeError: Unable to import module nova.test
  __________________________________________________ summary ___________________________________________________
    genconfig: commands succeeded
    congratulations :)

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


Follow ups

References