← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1829629] [NEW] IndexError traceback in test_boot_reschedule_fill_provider_mapping_raises run

 

Public bug reported:

Seeing this which is low priority but clutters up the logs so we should
clean it up:

{7}
nova.tests.functional.test_servers.PortResourceRequestReSchedulingTest.test_boot_reschedule_fill_provider_mapping_raises
[6.791333s] ... ok

Captured stderr:
~~~~~~~~~~~~~~~~
    b'Traceback (most recent call last):'
    b'  File "/home/osboxes/git/nova/.tox/functional-py36/lib/python3.6/site-packages/eventlet/hubs/hub.py", line 460, in fire_timers'
    b'    timer()'
    b'  File "/home/osboxes/git/nova/.tox/functional-py36/lib/python3.6/site-packages/eventlet/hubs/timer.py", line 59, in __call__'
    b'    cb(*args, **kw)'
    b'  File "/home/osboxes/git/nova/.tox/functional-py36/lib/python3.6/site-packages/eventlet/greenthread.py", line 219, in main'
    b'    result = function(*args, **kwargs)'
    b'  File "/home/osboxes/git/nova/nova/utils.py", line 800, in context_wrapper'
    b'    return func(*args, **kwargs)'
    b'  File "/home/osboxes/git/nova/nova/compute/manager.py", line 1508, in _allocate_network_async'
    b'    six.reraise(*exc_info)'
    b'  File "/home/osboxes/git/nova/.tox/functional-py36/lib/python3.6/site-packages/six.py", line 693, in reraise'
    b'    raise value'
    b'  File "/home/osboxes/git/nova/nova/compute/manager.py", line 1491, in _allocate_network_async'
    b'    resource_provider_mapping=resource_provider_mapping)'
    b'  File "/home/osboxes/git/nova/nova/network/neutronv2/api.py", line 1020, in allocate_for_instance'
    b"    port['id']][0]"
    b'IndexError: list index out of range'
    b''

** Affects: nova
     Importance: Low
         Status: Confirmed


** Tags: low-hanging-fruit testing

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

Title:
  IndexError traceback in
  test_boot_reschedule_fill_provider_mapping_raises run

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  Seeing this which is low priority but clutters up the logs so we
  should clean it up:

  {7}
  nova.tests.functional.test_servers.PortResourceRequestReSchedulingTest.test_boot_reschedule_fill_provider_mapping_raises
  [6.791333s] ... ok

  Captured stderr:
  ~~~~~~~~~~~~~~~~
      b'Traceback (most recent call last):'
      b'  File "/home/osboxes/git/nova/.tox/functional-py36/lib/python3.6/site-packages/eventlet/hubs/hub.py", line 460, in fire_timers'
      b'    timer()'
      b'  File "/home/osboxes/git/nova/.tox/functional-py36/lib/python3.6/site-packages/eventlet/hubs/timer.py", line 59, in __call__'
      b'    cb(*args, **kw)'
      b'  File "/home/osboxes/git/nova/.tox/functional-py36/lib/python3.6/site-packages/eventlet/greenthread.py", line 219, in main'
      b'    result = function(*args, **kwargs)'
      b'  File "/home/osboxes/git/nova/nova/utils.py", line 800, in context_wrapper'
      b'    return func(*args, **kwargs)'
      b'  File "/home/osboxes/git/nova/nova/compute/manager.py", line 1508, in _allocate_network_async'
      b'    six.reraise(*exc_info)'
      b'  File "/home/osboxes/git/nova/.tox/functional-py36/lib/python3.6/site-packages/six.py", line 693, in reraise'
      b'    raise value'
      b'  File "/home/osboxes/git/nova/nova/compute/manager.py", line 1491, in _allocate_network_async'
      b'    resource_provider_mapping=resource_provider_mapping)'
      b'  File "/home/osboxes/git/nova/nova/network/neutronv2/api.py", line 1020, in allocate_for_instance'
      b"    port['id']][0]"
      b'IndexError: list index out of range'
      b''

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