test_list_virtual_interfaces fails due to invalid mac address

Bug #1490368 reported by Ken'ichi Ohmichi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Davanum Srinivas (DIMS)
tempest
Invalid
Undecided
Davanum Srinivas (DIMS)

Bug Description

The test failed on the gate like

http://logs.openstack.org/56/217456/2/check/gate-tempest-dsvm-full/ba8c5ef/logs/testr_results.html.gz

Traceback (most recent call last):
  File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/tempest_lib/decorators.py", line 40, in wrapper
    return f(self, *func_args, **func_kwargs)
  File "tempest/test.py", line 126, in wrapper
    return f(self, *func_args, **func_kwargs)
  File "tempest/api/compute/servers/test_virtual_interfaces.py", line 60, in test_list_virtual_interfaces
    "Invalid mac address detected.")
  File "/opt/stack/new/tempest/.tox/full/local/lib/python2.7/site-packages/unittest2/case.py", line 702, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : Invalid mac address detected.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tempest (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/218705

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

Related fix proposed to branch: master
Review: https://review.openstack.org/218712

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

Related fix proposed to branch: master
Review: https://review.openstack.org/218736

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tempest (master)

Change abandoned by Ken'ichi Ohmichi (<email address hidden>) on branch: master
Review: https://review.openstack.org/218736
Reason: The latest netaddr is released.

tags: added: network testing
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

I believe this was caused by netadde 0.7.16, a fix was made in netaddr and 0.7.17 was released. See details below

https://review.openstack.org/#/c/218720/
https://github.com/drkjam/netaddr/issues/114
https://github.com/drkjam/netaddr/commit/75eee70655597da60123aae7835afb8f66760149

Changed in nova:
assignee: nobody → Davanum Srinivas (DIMS) (dims-v)
status: New → Invalid
Changed in tempest:
status: New → Invalid
assignee: nobody → Davanum Srinivas (DIMS) (dims-v)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tempest (master)

Reviewed: https://review.openstack.org/218712
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=fa0c4888c3beb605b78c9d2e22f146bb4bff6c6f
Submitter: Jenkins
Branch: master

commit fa0c4888c3beb605b78c9d2e22f146bb4bff6c6f
Author: Ken'ichi Ohmichi <email address hidden>
Date: Mon Aug 31 03:32:12 2015 +0000

    Encap netaddr-0.7.16

    netaddr-0.7.16 was released 2015-08-30. After that, the gate problem
    seems to happen. This patch adds the cap to use the previous version
    of netaddr for the workaround.

    Change-Id: I57c0a4e88d311d7ccc3615395435461dd56227ff
    Depends-On: I4d391f2352d71089db8666e3650121799a774a30
    Related-Bug: #1490368

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

Reviewed: https://review.openstack.org/218705
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=c89abdaba222228850657d3e6f366ac38b5779b0
Submitter: Jenkins
Branch: master

commit c89abdaba222228850657d3e6f366ac38b5779b0
Author: Ken'ichi Ohmichi <email address hidden>
Date: Mon Aug 31 02:34:13 2015 +0000

    Add mac info to test_list_virtual_interfaces

    Now test_list_virtual_interfaces failed on the gate due to invalid
    mac address, and this patch adds the address info to assert message
    for investigating the problem.

    Change-Id: I612d2159b7e212474fad18ef75cb70ac9b3c268f
    Related-Bug: #1490368

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.