test_vif_attach_node_doesnt_exist and test_vif_detach_no_args fail when shared_physical_network is set to true

Bug #2065378 reported by Lukas Piwowarski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
In Progress
Medium
Julia Kreger

Bug Description

The following two tests:
 - ironic_tempest_plugin.tests.api.admin.test_nodes.TestNodesVif.test_vif_attach_node_doesnt_exist
 - ironic_tempest_plugin.tests.api.admin.test_nodes.TestNodesVif.test_vif_detach_no_args

are failing consistently on:

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/ironic_tempest_plugin/tests/api/admin/test_nodes.py", line 317, in setUp
    self.net = self.os_admin.networks_client.list_networks(
IndexError: list index out of range

when CONF.network.shared_physical_network is set to true. Note, that both tests pass when shared_physical_network == false.

I'm attaching log with the failure and tempest.conf.

Revision history for this message
Lukas Piwowarski (lukas-piwowarski) wrote :
summary: - test_vif_attach_node_doesnt_exist and test_vif_detach_no_args fail on
- podified env when shared_physical_network is set to true
+ test_vif_attach_node_doesnt_exist and test_vif_detach_no_args fail when
+ shared_physical_network is set to true
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic-tempest-plugin (master)
Changed in ironic:
status: New → In Progress
Changed in ironic:
importance: Undecided → Medium
assignee: nobody → Julia Kreger (juliaashleykreger)
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.