Tests broke

Bug #1187912 reported by Joshua Harlow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
anvil
Fix Released
High
Unassigned

Bug Description

It appears after preparing, then installing that testing is broken?

sudo ./smithy -a test
Password:
Sorry, try again.
Password:
 _____ ___ ___ _ _ ___ _____ _____ ___ _ _
( _ )( _`\ ( _`\ ( ) ( )( _`\(_ _)( _ )( _`\ ( ) ( )
| ( ) || |_) )| (_(_)| `\| || (_(_) | | | (_) || ( (_)| |/'/'
| | | || ,__/'| _)_ | , ` |`\__ \ | | | _ || | _ | , <
| (_) || | | (_( )| |`\ |( )_) | | | | | | || (_( )| |\`\
(_____)(_) (____/'(_) (_)`\____) (_) (_) (_)(____/'(_) (_)
                    Anvil: | 2013.1-dev |
         And now for something completely different!
------------------------Action Runner-------------------------
INFO: @anvil.distro : Matched distro rhel for platform Linux-2.6.32-220.23.1.el6.YAHOO.20120713.x86_64-x86_64-with-redhat-6.2-Santiago
INFO: @anvil : Starting action test on 2013-06-05T20:02:08.909274 for distro: rhel
INFO: @anvil : Using persona: conf/personas/in-a-box/basic.yaml
INFO: @anvil : In root directory: /home/harlowja/openstack
INFO: @anvil.actions.base : Processing components for action test.
INFO: @anvil.actions.base : Activating in the following order:
INFO: @anvil.actions.base : |-- general
INFO: @anvil.actions.base : |-- db
INFO: @anvil.actions.base : |-- rabbit-mq
INFO: @anvil.actions.base : |-- oslo-config
INFO: @anvil.actions.base : |-- keystone
INFO: @anvil.actions.base : |-- keystone-client
INFO: @anvil.actions.base : |-- glance
INFO: @anvil.actions.base : |-- cinder
INFO: @anvil.actions.base : |-- glance-client
INFO: @anvil.actions.base : |-- cinder-client
INFO: @anvil.actions.base : |-- quantum-client
INFO: @anvil.actions.base : |-- nova
INFO: @anvil.actions.base : |-- nova-client
INFO: @anvil.actions.base : Booting up your components.
INFO: @anvil.actions.base : Reading passwords using a unencrypted keyring @ /etc/anvil/passwords.cfg
INFO: @anvil.actions.base : Verifying that the components are ready to rock-n-roll.
INFO: @anvil.actions.base : Warming up component configurations.
INFO: @anvil.actions.test : Running tests of component general.
INFO: @anvil.actions.test : Running tests of component db.
INFO: @anvil.actions.test : Running tests of component rabbit-mq.
INFO: @anvil.actions.test : Running tests of component oslo-config.
 ______________________
/ This is supposed to \
| be a happy occasion. |
| Let's not bicker and |
| argue about who |
\ killed who. /
 ----------------------
  \ || ||
    \ __ ||-----mm||
      \ ( )/_________)//
        (oo)/
        v--v
ProcessExecutionError: [Errno 2] No such file or directory: [2, No such file or directory]
Command: nosetests
Exit code: -
Stdout: ''
Stderr: ''

Revision history for this message
Joshua Harlow (harlowja) wrote :

After installing nose still no luck.

DEBUG: @anvil.shell : In working directory: '/home/harlowja/openstack/oslo-config/app'
 _____________________
/ We were in the nick \
| of time. You were |
\ in great peril. /
 ---------------------
  \ || ||
    \ __ ||-----mm||
      \ ( )/_________)//
        (oo)/
        v--v
Traceback (most recent call last):
  File "/home/harlowja/anvil/anvil/__main__.py", line 217, in main
    run(args)
  File "/home/harlowja/anvil/anvil/__main__.py", line 121, in run
    runner.run(persona_obj)
  File "/home/harlowja/anvil/anvil/actions/base.py", line 343, in run
    self._run(persona, component_order, instances)
  File "/home/harlowja/anvil/anvil/actions/test.py", line 39, in _run
    None,
  File "/home/harlowja/anvil/anvil/actions/base.py", line 325, in _run_phase
    result = functors.run(instance)
  File "/home/harlowja/anvil/anvil/actions/test.py", line 34, in <lambda>
    run=lambda i: i.run_tests(),
  File "/home/harlowja/anvil/anvil/components/base_testing.py", line 143, in run_tests
    raise e
ProcessExecutionError: Unexpected error while running command.
Command: nosetests
Exit code: 1
Stdout: ''
Stderr: "<redirected to <open file '/dev/null', mode 'wb' at 0x137b8a0>>"

Joshua Harlow (harlowja)
Changed in anvil:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to anvil (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/33977

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/33978

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/33980

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to anvil (stable/grizzly)

Reviewed: https://review.openstack.org/33977
Committed: http://github.com/stackforge/anvil/commit/31d9d5dd2373af5ac10359746233444b91e9c896
Submitter: Jenkins
Branch: stable/grizzly

commit 31d9d5dd2373af5ac10359746233444b91e9c896
Author: Ivan A. Melnikov <email address hidden>
Date: Wed Jun 19 13:18:50 2013 +0400

    Install and remove all rpms, including dependencies

    This also installs test dependencies if use_tests_requires
    was set to true.

    Change-Id: I980dccb02ff29ff5267c2cf8744091e71d94233a
    Refs: bug #1187912

tags: added: in-stable-grizzly
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/33978
Committed: http://github.com/stackforge/anvil/commit/8e0b333529815922d2df0680f9893fcac0113d70
Submitter: Jenkins
Branch: stable/grizzly

commit 8e0b333529815922d2df0680f9893fcac0113d70
Author: Ivan A. Melnikov <email address hidden>
Date: Wed Jun 19 19:41:08 2013 +0400

    Write tests output to stdout

    This allows to watch test progress, in color.

    Change-Id: I7ceebddae420d7d942f70a6b74ee0a3d11cf105e
    Refs: bug #1187912

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/33980
Committed: http://github.com/stackforge/anvil/commit/a97b4f77225db9d25d6660566933d452c4e10c92
Submitter: Jenkins
Branch: stable/grizzly

commit a97b4f77225db9d25d6660566933d452c4e10c92
Author: Ivan A. Melnikov <email address hidden>
Date: Wed Jun 19 14:36:29 2013 +0400

    Require nose and coverage for general

    We use them to run tests, so it is fair to say we require them.

    Change-Id: Ic16e17f17dc9706f5d7d730d1a014ac92a8adf40
    Refs: bug #1187912

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to anvil (master)

Reviewed: https://review.openstack.org/34065
Committed: http://github.com/stackforge/anvil/commit/2d969671015bd06a771f5b7e62d2efc67136f740
Submitter: Jenkins
Branch: master

commit 2d969671015bd06a771f5b7e62d2efc67136f740
Author: Ivan A. Melnikov <email address hidden>
Date: Wed Jun 19 13:18:50 2013 +0400

    Install and remove all rpms, including dependencies

    This also installs test dependencies if use_tests_requires
    was set to true.

    Refs: bug #1187912

    Change-Id: I980dccb02ff29ff5267c2cf8744091e71d94233a

Changed in anvil:
status: New → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to anvil (master)

Fix proposed to branch: master
Review: https://review.openstack.org/34066

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to anvil (master)

Reviewed: https://review.openstack.org/34066
Committed: http://github.com/stackforge/anvil/commit/cd1cee14553b23c101da28c1d3a1153066b2b1ca
Submitter: Jenkins
Branch: master

commit cd1cee14553b23c101da28c1d3a1153066b2b1ca
Author: Ivan A. Melnikov <email address hidden>
Date: Wed Jun 19 19:41:08 2013 +0400

    Write tests output to stdout

    This allows to watch test progress, in color.

    Change-Id: I7ceebddae420d7d942f70a6b74ee0a3d11cf105e
    Refs: bug #1187912

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to anvil (master)

Fix proposed to branch: master
Review: https://review.openstack.org/34068

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to anvil (master)

Reviewed: https://review.openstack.org/34068
Committed: http://github.com/stackforge/anvil/commit/5cd537f9cc0000006e0dd98bcf54145d05eadd30
Submitter: Jenkins
Branch: master

commit 5cd537f9cc0000006e0dd98bcf54145d05eadd30
Author: Ivan A. Melnikov <email address hidden>
Date: Wed Jun 19 14:36:29 2013 +0400

    Require nose and coverage for general

    We use them to run tests, so it is fair to say we require them.

    Change-Id: Ic16e17f17dc9706f5d7d730d1a014ac92a8adf40
    Refs: bug #1187912

Joshua Harlow (harlowja)
Changed in anvil:
status: Fix Committed → Fix Released
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.