← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1625221] Re: Fullstack looses test workers if eventlet's Timeout is raised

 

Reviewed:  https://review.openstack.org/372552
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=e11102e42a26c31ed6606ddf3e7c83cff18dd52b
Submitter: Jenkins
Branch:    master

commit e11102e42a26c31ed6606ddf3e7c83cff18dd52b
Author: Ihar Hrachyshka <ihrachys@xxxxxxxxxx>
Date:   Sat Sep 17 01:22:09 2016 +0000

    tests: catch eventlet.Timeout exception
    
    This exception kills the running test worker with all test cases
    scheduled to it, probably because unittest module is not capable of
    surviving it.
    
    This patch makes all test cases to catch the exception and convert it to
    unittest' friendly failure mode (triggered with self.fail).
    
    Change-Id: I5b0d1efa458ca57dfce637dc75d419fe127751ed
    Closes-Bug: #1625221


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

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

Title:
  Fullstack looses test workers if eventlet's Timeout is raised

Status in neutron:
  Fix Released

Bug description:
  Seems like unittest module is not capable to catch the exception,
  instead killing the whole worker. We need to catch the exception
  ourselves, if a test case raises it for us. Otherwise we loose some
  test cases (all of those that were scheduled for the dead worker to
  execute).

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


References