-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
test_connectivity_of_hot_plugged_jumbo_interface consistently fails in 4.17 and 4.18. From the test output - it looks like it happens due to the changes in the wrapper (the resource generation script):
File "/cnv-tests/tests/network/l2_bridge/test_bridge_nic_hot_plug.py", line 201, in bridge_jumbo_interface_for_hot_plug yield from create_bridge_interface_for_hot_plug( File "/cnv-tests/tests/network/l2_bridge/utils.py", line 174, in create_bridge_interface_for_hot_plug with network_device( File "/usr/lib64/python3.9/contextlib.py", line 119, in __enter__ return next(self.gen) File "/cnv-tests/utilities/network.py", line 1002, in network_device with NETWORK_DEVICE_TYPE[interface_type](**kwargs) as iface: File "/cnv-tests/.venv/lib/python3.9/site-packages/ocp_resources/resource.py", line 512, in __enter__ return self.deploy() File "/cnv-tests/.venv/lib/python3.9/site-packages/ocp_resources/node_network_configuration_policy.py", line 301, in deploy self.create(wait=wait) File "/cnv-tests/.venv/lib/python3.9/site-packages/ocp_resources/resource.py", line 777, in create self.to_dict() File "/cnv-tests/utilities/network.py", line 156, in to_dict name=utilities.infra.get_node_selector_name(node_selector=self.node_selector) or self.nodes[0].name File "/cnv-tests/utilities/infra.py", line 1442, in get_node_selector_name return node_selector[f"{Resource.ApiGroup.KUBERNETES_IO}/hostname"] TypeError: 'NoneType' object is not subscriptable
We need to apply the fix for it on this setup as well.