← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1420067] [NEW] subunit-trace in pretty_tox.sh swallows import errors

 

Public bug reported:

See example Nova run:
http://logs.openstack.org/60/154260/3/check/gate-nova-python27/eaed0fd/console.html

When one import is wrong say in nova/test.py, then we don't get any
information since "python setup.py testr --slowest" prints the import
error stack trace on stdout and subunit-trace consumes that stream
entirely.

Talking to @lifeless on irc, looks like something quick can be done in
subunit-trace

lifeless: dims__: righto so yes subunit-trace is not showing stdout non-test events
lifeless: dims__: it needs something like the original subunit-trace code reinstated, in another leaf in the CopyStreamResult list

thanks,
dims

** Affects: nova
     Importance: Low
     Assignee: Robert Collins (lifeless)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Robert Collins (lifeless)

** Changed in: nova
   Importance: Undecided => Low

-- 
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/1420067

Title:
  subunit-trace in pretty_tox.sh swallows import errors

Status in OpenStack Compute (Nova):
  New

Bug description:
  See example Nova run:
  http://logs.openstack.org/60/154260/3/check/gate-nova-python27/eaed0fd/console.html

  When one import is wrong say in nova/test.py, then we don't get any
  information since "python setup.py testr --slowest" prints the import
  error stack trace on stdout and subunit-trace consumes that stream
  entirely.

  Talking to @lifeless on irc, looks like something quick can be done in
  subunit-trace

  lifeless: dims__: righto so yes subunit-trace is not showing stdout non-test events
  lifeless: dims__: it needs something like the original subunit-trace code reinstated, in another leaf in the CopyStreamResult list

  thanks,
  dims

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


Follow ups

References