← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1632486] Re: add debug to tox environment

 

Reviewed:  https://review.openstack.org/385177
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=df4cf3e5db2166b67c9e95b381ec19ace10d0279
Submitter: Jenkins
Branch:    master

commit df4cf3e5db2166b67c9e95b381ec19ace10d0279
Author: Sivasathurappan Radhakrishnan <siva.radhakrishnan@xxxxxxxxx>
Date:   Tue Oct 11 21:55:05 2016 +0000

    Add debug to tox environment
    
    The oslotest package distributes a shell file that may be used to assist
    in debugging python code. The shell file uses testtools, and supports
    debugging with pdb. Debug tox environment implements following test
    instructions.
    https://wiki.openstack.org/wiki/Testr#Debugging_.28pdb.29_Tests
    
    To enable debugging, run tox with the debug environment. Below are the
    following ways to run it.
    
     * tox -e debug module
     * tox -e debug module.test_class
     * tox -e debug module.test_class.test_method
    
    Change-Id: I08937845803be7bd125b838ab07bda56f202e88d
    Closes-Bug: 1632486


** Changed in: nova
       Status: In Progress => Fix Released

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

Title:
  add debug to tox environment

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Using pdb breakpoints with testr fails with BdbQuit exception rather
  than stopping at the breakpoint.

  The oslotest package also distributes a shell file that may be used to assist in debugging python code. The shell file uses testtools, and supports debugging with pdb. Debug tox environment implements following test instructions 
  https://wiki.openstack.org/wiki/Testr#Debugging_.28pdb.29_Tests

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


References