← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1521599] [NEW] py34 unit tests fail randomly for network.test_neutronv2

 

Public bug reported:

Description
===========
The following unit tests fail **randomly** in the "gate-nova-python34" check queue:
* nova.tests.unit.network.test_neutronv2.TestNeutronv2.test_deallocate_for_instance_2_with_requested
* nova.tests.unit.network.test_neutronv2.TestNeutronv2.test_deallocate_for_instance_2
At least I don't see the root cause for this.

Steps to reproduce
==================
I discovered this with this review https://review.openstack.org/#/c/250907/3

Expected result
===============
The "gate-nova-python34" check should pass the neutron tests as the review doesn't contain any network related changes.

Actual result
=============
b'mox3.mox.ExpectedMethodCallsError: Verify: Expected methods never called:'
b"  0.  Client.delete_port('my_portid1') -> None"

and

b'mox3.mox.UnexpectedMethodCallError: Unexpected method call.  unexpected:-  expected:+'
b"- Client.delete_port('my_portid1') -> None"
b'?                              ^'
b"+ Client.delete_port('my_portid2') -> None"
b'? 

see http://paste.openstack.org/show/480490/

The logstash query shows a few hits since 2015-11-23 (see below)

Environment
===========
* Master code (Mitaka cycle)
* gate-nova-python34
* https://review.openstack.org/#/c/250907/3

Logs
====
* http://logs.openstack.org/07/250907/3/check/gate-nova-python34/d73accd/console.html
* http://logstash.openstack.org/#dashboard/file/logstash.json?query=+message:%5C%22Client.delete_port('my_portid1')%5C%22%20+project:%5C%22openstack/nova%5C%22

** 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/1521599

Title:
  py34 unit tests fail randomly for network.test_neutronv2

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  The following unit tests fail **randomly** in the "gate-nova-python34" check queue:
  * nova.tests.unit.network.test_neutronv2.TestNeutronv2.test_deallocate_for_instance_2_with_requested
  * nova.tests.unit.network.test_neutronv2.TestNeutronv2.test_deallocate_for_instance_2
  At least I don't see the root cause for this.

  Steps to reproduce
  ==================
  I discovered this with this review https://review.openstack.org/#/c/250907/3

  Expected result
  ===============
  The "gate-nova-python34" check should pass the neutron tests as the review doesn't contain any network related changes.

  Actual result
  =============
  b'mox3.mox.ExpectedMethodCallsError: Verify: Expected methods never called:'
  b"  0.  Client.delete_port('my_portid1') -> None"

  and

  b'mox3.mox.UnexpectedMethodCallError: Unexpected method call.  unexpected:-  expected:+'
  b"- Client.delete_port('my_portid1') -> None"
  b'?                              ^'
  b"+ Client.delete_port('my_portid2') -> None"
  b'? 

  see http://paste.openstack.org/show/480490/

  The logstash query shows a few hits since 2015-11-23 (see below)

  Environment
  ===========
  * Master code (Mitaka cycle)
  * gate-nova-python34
  * https://review.openstack.org/#/c/250907/3

  Logs
  ====
  * http://logs.openstack.org/07/250907/3/check/gate-nova-python34/d73accd/console.html
  * http://logstash.openstack.org/#dashboard/file/logstash.json?query=+message:%5C%22Client.delete_port('my_portid1')%5C%22%20+project:%5C%22openstack/nova%5C%22

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


Follow ups