2025-10-11 16:58:12,280 - INFO - Domain Default found not creating
2025-10-11 16:58:12,460 - INFO - Project ctest-TestBasicVMVN-80180359 not found, creating it
2025-10-11 16:58:12,914 - INFO - Created Project:ctest-TestBasicVMVN-80180359, ID : 684f05e0-58b1-4042-a2eb-bf04ef66d1ff
2025-10-11 16:58:14,348 - INFO - ================================================================================
2025-10-11 16:58:14,348 - INFO - STARTING TEST : test_generic_link_local_service
2025-10-11 16:58:14,348 - INFO - TEST DESCRIPTION :
Description: Test to validate generic linklocal service - running nova list from vm.
1.Create generic link local service to be able to wget to jenkins
2.Create a vm
3.Try wget to jenkins - passes if successful else fails
Maintainer: sandipd@juniper.net
2025-10-11 16:58:14,473 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-11 16:58:14,473 - INFO - Initial checks done. Running the testcase now
2025-10-11 16:58:14,473 - INFO -
2025-10-11 16:58:15,016 - DEBUG - Response for create_network : {'network': {'id': 'e4369f28-e3a0-4eb2-890e-9809d59e062a', 'name': 'ctest-vn2_metadata-06704715', 'tenant_id': '684f05e058b14042a2ebbf04ef66d1ff', 'project_id': '684f05e058b14042a2ebbf04ef66d1ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-80180359', 'ctest-vn2_metadata-06704715'], 'port_security_enabled': True, 'description': ''}}
2025-10-11 16:58:15,178 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c800a1a-a4e0-464e-9f5c-986fa92a941b', 'name': '', 'tenant_id': '684f05e058b14042a2ebbf04ef66d1ff', 'network_id': 'e4369f28-e3a0-4eb2-890e-9809d59e062a', 'ip_version': 4, 'cidr': '11.1.1.0/24', 'allocation_pools': [{'start': '11.1.1.2', 'end': '11.1.1.254'}], 'gateway_ip': '11.1.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.1.1.2', 'tags': [], 'project_id': '684f05e058b14042a2ebbf04ef66d1ff'}}
2025-10-11 16:58:15,197 - INFO - Created VN ctest-vn2_metadata-06704715
2025-10-11 16:58:15,254 - DEBUG - VN ctest-vn2_metadata-06704715 UUID is e4369f28-e3a0-4eb2-890e-9809d59e062a
2025-10-11 16:58:15,521 - DEBUG - Services list from nova: [, , ]
2025-10-11 16:58:16,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4287-1)
2025-10-11 16:58:16,701 - DEBUG - Link local service introspect added
2025-10-11 16:58:16,754 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-11 16:58:21,814 - DEBUG - VM is in ERROR state now
2025-10-11 16:58:21,815 - ERROR - VM in error state.
2025-10-11 16:58:21,873 - DEBUG - VM is in ERROR state now
2025-10-11 16:58:21,873 - ERROR - VM in error state.
2025-10-11 16:58:21,977 - DEBUG - Link local service introspect removed
2025-10-11 16:58:21,978 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-80180359-17849935 in state ERROR
2025-10-11 16:58:21,978 - INFO - Deleting VM ctest-TestBasicVMVN-80180359-17849935
2025-10-11 16:58:21,998 - ERROR - VM ctest-TestBasicVMVN-80180359-17849935 has failed to come up
2025-10-11 16:58:21,998 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-11T16:58:17Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:9e:8e:03:dc:40,has_traffic_filtering=True,id=9e8e03dc-40db-498d-a964-fe9925ff013f,network=Network(e4369f28-e3a0-4eb2-890e-9809d59e062a),plugin='vrouter',port_p", 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 77, in plug\n plugin.plug(vif, instance_info)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 271, in plug\n self._vrouter_port_add(instance_info, vif)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 263, in _vrouter_port_add\n vhostuser_socket, vhostuser_mode)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/priv_context.py", line 272, in _wrap\n r_call_timeout)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/daemon.py", line 215, in remote_call\n raise exc_type(*result[2])\nvif_plug_vrouter.exception.VrouterPortControlError: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=9e8e03dc-40db-498d-a964-fe9925ff013f\', \'--instance_uuid=89b5de3c-5032-49ab-811d-1400e0371b29\', \'--vn_uuid=e4369f28-e3a0-4eb2-890e-9809d59e062a\', \'--vm_project_uuid=684f05e058b14042a2ebbf04ef66d1ff\', \'--ip_address=11.1.1.3\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVN-80180359-17849935\', \'--mac=02:9e:8e:03:dc:40\', \'--tap_name=tap9e8e03dc-40\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 699, in _plug_os_vif\n os_vif.plug(vif, instance_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 82, in plug\n raise os_vif.exception.PlugException(vif=vif, err=err)\nos_vif.exception.PlugException: Failed to plug VIF VIFGeneric(active=True,address=02:9e:8e:03:dc:40,has_traffic_filtering=True,id=9e8e03dc-40db-498d-a964-fe9925ff013f,network=Network(e4369f28-e3a0-4eb2-890e-9809d59e062a),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap9e8e03dc-40\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=9e8e03dc-40db-498d-a964-fe9925ff013f\', \'--instance_uuid=89b5de3c-5032-49ab-811d-1400e0371b29\', \'--vn_uuid=e4369f28-e3a0-4eb2-890e-9809d59e062a\', \'--vm_project_uuid=684f05e058b14042a2ebbf04ef66d1ff\', \'--ip_address=11.1.1.3\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVN-80180359-17849935\', \'--mac=02:9e:8e:03:dc:40\', \'--tap_name=tap9e8e03dc-40\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2521, in _build_and_run_instance\n accel_info=accel_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 4339, in spawn\n cleanup_instance_disks=created_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7523, in _create_guest_with_network\n cleanup_instance_disks=cleanup_instance_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 227, in __exit__\n self.force_reraise()\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 200, in force_reraise\n raise self.value\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7492, in _create_guest_with_network\n self.plug_vifs(instance, network_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 1386, in plug_vifs\n self.vif_driver.plug(instance, vif)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 723, in plug\n self._plug_os_vif(instance, vif_obj)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 703, in _plug_os_vif\n raise exception.InternalError(msg)\nnova.exception.InternalError: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:9e:8e:03:dc:40,has_traffic_filtering=True,id=9e8e03dc-40db-498d-a964-fe9925ff013f,network=Network(e4369f28-e3a0-4eb2-890e-9809d59e062a),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap9e8e03dc-40\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=9e8e03dc-40db-498d-a964-fe9925ff013f\', \'--instance_uuid=89b5de3c-5032-49ab-811d-1400e0371b29\', \'--vn_uuid=e4369f28-e3a0-4eb2-890e-9809d59e062a\', \'--vm_project_uuid=684f05e058b14042a2ebbf04ef66d1ff\', \'--ip_address=11.1.1.3\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVN-80180359-17849935\', \'--mac=02:9e:8e:03:dc:40\', \'--tap_name=tap9e8e03dc-40\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2337, in _do_build_and_run_instance\n filter_properties, request_spec, accel_uuids)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2625, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=str(e))\nnova.exception.RescheduledException: Build of instance 89b5de3c-5032-49ab-811d-1400e0371b29 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:9e:8e:03:dc:40,has_traffic_filtering=True,id=9e8e03dc-40db-498d-a964-fe9925ff013f,network=Network(e4369f28-e3a0-4eb2-890e-9809d59e062a),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap9e8e03dc-40\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=9e8e03dc-40db-498d-a964-fe9925ff013f\', \'--instance_uuid=89b5de3c-5032-49ab-811d-1400e0371b29\', \'--vn_uuid=e4369f28-e3a0-4eb2-890e-9809d59e062a\', \'--vm_project_uuid=684f05e058b14042a2ebbf04ef66d1ff\', \'--ip_address=11.1.1.3\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVN-80180359-17849935\', \'--mac=02:9e:8e:03:dc:40\', \'--tap_name=tap9e8e03dc-40\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-11 16:58:21,998 - INFO - Deleting VN ctest-vn2_metadata-06704715
2025-10-11 16:58:22,105 - DEBUG - Response for deleting network ()
2025-10-11 16:58:22,231 - ERROR - Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 290, in test_generic_link_local_service
compute_user = self.inputs.host_data[vm1_fixture.vm_node_ip]['username']
File "/contrail-test/fixtures/vm_test.py", line 386, in vm_node_ip
self.get_host_of_vm(refresh=True))
File "/contrail-test/fixtures/vm_test.py", line 400, in get_host_of_vm
assert self.wait_till_vm_is_active()
AssertionError
2025-10-11 16:58:22,238 - DEBUG - No XMPP flaps were noticed during the test
2025-10-11 16:58:22,238 - INFO -
2025-10-11 16:58:22,238 - INFO - END TEST : test_generic_link_local_service : FAILED[0:00:08]
2025-10-11 16:58:22,239 - INFO - --------------------------------------------------------------------------------
2025-10-11 16:58:22,242 - INFO - ================================================================================
2025-10-11 16:58:22,243 - INFO - STARTING TEST : test_metadata_service
2025-10-11 16:58:22,243 - INFO - TEST DESCRIPTION :
Description: Test to validate metadata service on VM creation.
1.Verify from global-vrouter-config if metadata configures or not - fails otherwise
2.Create a shell script which writes 'hello world ' in a file in /tmp and save the script on the nova api node
3.Create a vm with userdata pointing to that script - script should get executed during vm boot up
4.Go to the vm and verify if the file with 'hello world ' written saved in /tmp of the vm - fails otherwise
Maintainer: sandipd@juniper.net
2025-10-11 16:58:22,401 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-11 16:58:22,401 - INFO - Initial checks done. Running the testcase now
2025-10-11 16:58:22,401 - INFO -
2025-10-11 16:58:22,401 - DEBUG - Requesting: http://10.0.0.254:8082/global-vrouter-configs
2025-10-11 16:58:22,702 - DEBUG - Requesting: http://10.0.0.254:8082/global-vrouter-configs
2025-10-11 16:58:22,733 - DEBUG - Requesting: http://10.0.0.254:8082/global-vrouter-config/309bb505-5828-4cdb-bae4-87227b5039a2
2025-10-11 16:58:22,904 - DEBUG - Response for create_network : {'network': {'id': 'a8679c22-cb5d-484d-b5cc-db0ff19d9177', 'name': 'ctest-vn-39063408', 'tenant_id': '684f05e058b14042a2ebbf04ef66d1ff', 'project_id': '684f05e058b14042a2ebbf04ef66d1ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-80180359', 'ctest-vn-39063408'], 'port_security_enabled': True, 'description': ''}}
2025-10-11 16:58:23,098 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9591dfd-531a-4120-82e6-6060db708f32', 'name': '', 'tenant_id': '684f05e058b14042a2ebbf04ef66d1ff', 'network_id': 'a8679c22-cb5d-484d-b5cc-db0ff19d9177', 'ip_version': 4, 'cidr': '101.250.162.128/26', 'allocation_pools': [{'start': '101.250.162.130', 'end': '101.250.162.190'}], 'gateway_ip': '101.250.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.250.162.130', 'tags': [], 'project_id': '684f05e058b14042a2ebbf04ef66d1ff'}}
2025-10-11 16:58:23,119 - INFO - Created VN ctest-vn-39063408
2025-10-11 16:58:23,174 - DEBUG - VN ctest-vn-39063408 UUID is a8679c22-cb5d-484d-b5cc-db0ff19d9177
2025-10-11 16:58:24,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4287-1)
2025-10-11 16:58:24,439 - INFO - Waiting for VM ctest-TestBasicVMVN-80180359-15857250 to be up..
2025-10-11 16:58:24,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-11 16:58:29,533 - DEBUG - VM is in ERROR state now
2025-10-11 16:58:29,533 - ERROR - VM in error state.
2025-10-11 16:58:29,533 - ERROR - VM is not in ACTIVE state
2025-10-11 16:58:29,620 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-11 16:58:29,620 - DEBUG - None
2025-10-11 16:58:29,621 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-80180359-15857250 in state ERROR
2025-10-11 16:58:29,622 - INFO - Deleting VM ctest-TestBasicVMVN-80180359-15857250
2025-10-11 16:58:29,622 - ERROR - VM ctest-TestBasicVMVN-80180359-15857250 has failed to come up
2025-10-11 16:58:29,622 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-11T16:58:25Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:02:20:59:b5:99,has_traffic_filtering=True,id=022059b5-99cd-46c8-843e-b4148ddca218,network=Network(a8679c22-cb5d-484d-b5cc-db0ff19d9177),plugin='vrouter',port_p", 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 77, in plug\n plugin.plug(vif, instance_info)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 271, in plug\n self._vrouter_port_add(instance_info, vif)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 263, in _vrouter_port_add\n vhostuser_socket, vhostuser_mode)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/priv_context.py", line 272, in _wrap\n r_call_timeout)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/daemon.py", line 215, in remote_call\n raise exc_type(*result[2])\nvif_plug_vrouter.exception.VrouterPortControlError: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=022059b5-99cd-46c8-843e-b4148ddca218\', \'--instance_uuid=419e7dec-f99d-4a4e-9c91-66bcdbbaff40\', \'--vn_uuid=a8679c22-cb5d-484d-b5cc-db0ff19d9177\', \'--vm_project_uuid=684f05e058b14042a2ebbf04ef66d1ff\', \'--ip_address=101.250.162.131\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVN-80180359-15857250\', \'--mac=02:02:20:59:b5:99\', \'--tap_name=tap022059b5-99\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 699, in _plug_os_vif\n os_vif.plug(vif, instance_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 82, in plug\n raise os_vif.exception.PlugException(vif=vif, err=err)\nos_vif.exception.PlugException: Failed to plug VIF VIFGeneric(active=True,address=02:02:20:59:b5:99,has_traffic_filtering=True,id=022059b5-99cd-46c8-843e-b4148ddca218,network=Network(a8679c22-cb5d-484d-b5cc-db0ff19d9177),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap022059b5-99\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=022059b5-99cd-46c8-843e-b4148ddca218\', \'--instance_uuid=419e7dec-f99d-4a4e-9c91-66bcdbbaff40\', \'--vn_uuid=a8679c22-cb5d-484d-b5cc-db0ff19d9177\', \'--vm_project_uuid=684f05e058b14042a2ebbf04ef66d1ff\', \'--ip_address=101.250.162.131\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVN-80180359-15857250\', \'--mac=02:02:20:59:b5:99\', \'--tap_name=tap022059b5-99\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2521, in _build_and_run_instance\n accel_info=accel_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 4339, in spawn\n cleanup_instance_disks=created_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7523, in _create_guest_with_network\n cleanup_instance_disks=cleanup_instance_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 227, in __exit__\n self.force_reraise()\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 200, in force_reraise\n raise self.value\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7492, in _create_guest_with_network\n self.plug_vifs(instance, network_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 1386, in plug_vifs\n self.vif_driver.plug(instance, vif)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 723, in plug\n self._plug_os_vif(instance, vif_obj)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 703, in _plug_os_vif\n raise exception.InternalError(msg)\nnova.exception.InternalError: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:02:20:59:b5:99,has_traffic_filtering=True,id=022059b5-99cd-46c8-843e-b4148ddca218,network=Network(a8679c22-cb5d-484d-b5cc-db0ff19d9177),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap022059b5-99\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=022059b5-99cd-46c8-843e-b4148ddca218\', \'--instance_uuid=419e7dec-f99d-4a4e-9c91-66bcdbbaff40\', \'--vn_uuid=a8679c22-cb5d-484d-b5cc-db0ff19d9177\', \'--vm_project_uuid=684f05e058b14042a2ebbf04ef66d1ff\', \'--ip_address=101.250.162.131\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVN-80180359-15857250\', \'--mac=02:02:20:59:b5:99\', \'--tap_name=tap022059b5-99\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2337, in _do_build_and_run_instance\n filter_properties, request_spec, accel_uuids)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2625, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=str(e))\nnova.exception.RescheduledException: Build of instance 419e7dec-f99d-4a4e-9c91-66bcdbbaff40 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:02:20:59:b5:99,has_traffic_filtering=True,id=022059b5-99cd-46c8-843e-b4148ddca218,network=Network(a8679c22-cb5d-484d-b5cc-db0ff19d9177),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap022059b5-99\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=022059b5-99cd-46c8-843e-b4148ddca218\', \'--instance_uuid=419e7dec-f99d-4a4e-9c91-66bcdbbaff40\', \'--vn_uuid=a8679c22-cb5d-484d-b5cc-db0ff19d9177\', \'--vm_project_uuid=684f05e058b14042a2ebbf04ef66d1ff\', \'--ip_address=101.250.162.131\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVN-80180359-15857250\', \'--mac=02:02:20:59:b5:99\', \'--tap_name=tap022059b5-99\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-11 16:58:29,622 - INFO - Deleting VN ctest-vn-39063408
2025-10-11 16:58:29,718 - DEBUG - Response for deleting network ()
2025-10-11 16:58:29,839 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Sat Oct 11 16:58:29 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/scripts/vm_regression/test_vm_basic.py in test_metadata_service(self=)
55 image_name='cirros',
56 userdata='/tmp/metadata_script.txt')
57 assert vm1_fixture.wait_till_vm_is_up()
58
59 cmd = 'cat /tmp/output.txt'
vm1_fixture =
vm1_fixture.wait_till_vm_is_up = >
AssertionError:
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Assertion failed.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ()
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 57, in test_metadata_service
assert vm1_fixture.wait_till_vm_is_up()
AssertionError
2025-10-11 16:58:29,844 - DEBUG - No XMPP flaps were noticed during the test
2025-10-11 16:58:29,844 - INFO -
2025-10-11 16:58:29,844 - INFO - END TEST : test_metadata_service : FAILED[0:00:07]
2025-10-11 16:58:29,844 - INFO - --------------------------------------------------------------------------------
2025-10-11 16:58:29,847 - INFO - ================================================================================
2025-10-11 16:58:29,847 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets
2025-10-11 16:58:29,847 - INFO - TEST DESCRIPTION :
Description: Validate Ping between 2 VMs in the same VN, 2 VMs in different VN
subnets.
Test steps:
1. Create 1 IPAM's.
2. Create 1 VN with 2 subnets and launch 2 VMs in them.
3. Ping between the VMs in the same VN should go thru fine.
4. Ping to the subnet broadcast and all-broadcast address.
Pass criteria: VM in the same subnet will respond to both the pings, while the VM in a different VN should respond only to the
all-broadcast address.
Maintainer : ganeshahv@juniper.net
2025-10-11 16:58:30,004 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-11 16:58:30,004 - INFO - Initial checks done. Running the testcase now
2025-10-11 16:58:30,004 - INFO -
2025-10-11 16:58:30,487 - DEBUG - Response for create_network : {'network': {'id': '9f72f26f-a9a9-4110-b33e-ec50461427f6', 'name': 'ctest-vn-81180134', 'tenant_id': '684f05e058b14042a2ebbf04ef66d1ff', 'project_id': '684f05e058b14042a2ebbf04ef66d1ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-80180359', 'ctest-vn-81180134'], 'port_security_enabled': True, 'description': ''}}
2025-10-11 16:58:30,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '58253ca8-1fc2-46ba-9b60-02f63c89e239', 'name': '', 'tenant_id': '684f05e058b14042a2ebbf04ef66d1ff', 'network_id': '9f72f26f-a9a9-4110-b33e-ec50461427f6', 'ip_version': 4, 'cidr': '31.1.1.0/29', 'allocation_pools': [{'start': '31.1.1.2', 'end': '31.1.1.6'}], 'gateway_ip': '31.1.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.1.1.2', 'tags': [], 'project_id': '684f05e058b14042a2ebbf04ef66d1ff'}}
2025-10-11 16:58:31,035 - DEBUG - Response for create_subnet : {'subnet': {'id': '716d52fa-425b-46b6-86e7-2a9a62860434', 'name': '', 'tenant_id': '684f05e058b14042a2ebbf04ef66d1ff', 'network_id': '9f72f26f-a9a9-4110-b33e-ec50461427f6', 'ip_version': 4, 'cidr': '31.1.2.0/29', 'allocation_pools': [{'start': '31.1.2.2', 'end': '31.1.2.6'}], 'gateway_ip': '31.1.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.1.2.2', 'tags': [], 'project_id': '684f05e058b14042a2ebbf04ef66d1ff'}}
2025-10-11 16:58:31,077 - INFO - Created VN ctest-vn-81180134
2025-10-11 16:58:31,138 - DEBUG - VN ctest-vn-81180134 UUID is 9f72f26f-a9a9-4110-b33e-ec50461427f6
2025-10-11 16:58:31,580 - DEBUG - Response for create_port : {'port': {'name': 'b2ffe83b-a25f-44a1-aaba-9ea3553174ed', 'id': 'b2ffe83b-a25f-44a1-aaba-9ea3553174ed', 'tenant_id': '684f05e058b14042a2ebbf04ef66d1ff', 'network_id': '9f72f26f-a9a9-4110-b33e-ec50461427f6', 'mac_address': '02:b2:ff:e8:3b:a2', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '31.1.1.4', 'subnet_id': '58253ca8-1fc2-46ba-9b60-02f63c89e239'}], 'security_groups': ['4f5c9272-5c8e-4ff3-90ce-afad60b49f3b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '684f05e058b14042a2ebbf04ef66d1ff'}}
2025-10-11 16:58:31,744 - DEBUG - Response for create_port : {'port': {'name': '245d0456-402b-475e-98e7-5dd9afa2ca92', 'id': '245d0456-402b-475e-98e7-5dd9afa2ca92', 'tenant_id': '684f05e058b14042a2ebbf04ef66d1ff', 'network_id': '9f72f26f-a9a9-4110-b33e-ec50461427f6', 'mac_address': '02:24:5d:04:56:40', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '31.1.2.4', 'subnet_id': '716d52fa-425b-46b6-86e7-2a9a62860434'}], 'security_groups': ['4f5c9272-5c8e-4ff3-90ce-afad60b49f3b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '684f05e058b14042a2ebbf04ef66d1ff'}}
2025-10-11 16:58:32,246 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4287-1)
2025-10-11 16:58:32,875 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4287-1)
2025-10-11 16:58:34,193 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4287-1)
2025-10-11 16:58:34,193 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-11 16:58:34,199 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1c888893-7c1f-46a1-80b1-cf2038627f3c
2025-10-11 16:58:34,212 - DEBUG - Requesting: http://10.0.0.254:8082/project/684f05e0-58b1-4042-a2eb-bf04ef66d1ff
2025-10-11 16:58:34,289 - DEBUG - Requesting: http://10.0.0.254:8082/network-ipam/6ed16810-d6e9-48ee-ad29-ff97329c7c30
2025-10-11 16:58:34,299 - INFO - Verifications in API Server for IPAM: ctest-ipam-63386852 passed
2025-10-11 16:58:34,305 - DEBUG - Control-node 10.0.0.254 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-80180359:ctest-ipam-63386852', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-80180359', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7985278035838978286', 'uuid-lslong': '12477785267460930608'}, 'enable': 'true', 'created': '2025-10-11T16:58:30', 'last-modified': '2025-10-11T16:58:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.072297'}
2025-10-11 16:58:34,305 - INFO - Verifications in Control node for IPAM: ctest-ipam-63386852 passed
2025-10-11 16:58:34,305 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-11 16:58:34,311 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1c888893-7c1f-46a1-80b1-cf2038627f3c
2025-10-11 16:58:34,322 - DEBUG - Requesting: http://10.0.0.254:8082/project/684f05e0-58b1-4042-a2eb-bf04ef66d1ff
2025-10-11 16:58:34,399 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9f72f26f-a9a9-4110-b33e-ec50461427f6
2025-10-11 16:58:34,412 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9f72f26f-a9a9-4110-b33e-ec50461427f6
2025-10-11 16:58:34,421 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/642cd9fb-3cff-486a-a6d5-c60182b71230
2025-10-11 16:58:34,429 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/642cd9fb-3cff-486a-a6d5-c60182b71230
2025-10-11 16:58:34,436 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/360b0ae5-58af-4e77-a5f4-d3984ee714a5
2025-10-11 16:58:34,444 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-11 16:58:34,444 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9f72f26f-a9a9-4110-b33e-ec50461427f6
2025-10-11 16:58:34,454 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/642cd9fb-3cff-486a-a6d5-c60182b71230
2025-10-11 16:58:34,470 - INFO - Verified VN network id 12 for VN 9f72f26f-a9a9-4110-b33e-ec50461427f6
2025-10-11 16:58:34,470 - INFO - Verifications in API Server for VN ctest-vn-81180134 passed
2025-10-11 16:58:34,470 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9f72f26f-a9a9-4110-b33e-ec50461427f6
2025-10-11 16:58:34,483 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/642cd9fb-3cff-486a-a6d5-c60182b71230
2025-10-11 16:58:34,498 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/642cd9fb-3cff-486a-a6d5-c60182b71230
2025-10-11 16:58:34,510 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/360b0ae5-58af-4e77-a5f4-d3984ee714a5
2025-10-11 16:58:34,529 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-80180359:ctest-vn-81180134', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-80180359', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11489512160777290000', 'uuid-lslong': '12916020610862426102'}, 'enable': 'true', 'created': '2025-10-11T16:58:30', 'last-modified': '2025-10-11T16:58:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.543150'}
2025-10-11 16:58:34,537 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-11 16:58:34,537 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81180134 passed
2025-10-11 16:58:34,538 - DEBUG - ====Verifying policy data for ctest-vn-81180134 in API_Server ======
2025-10-11 16:58:34,538 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-11 16:58:34,552 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1c888893-7c1f-46a1-80b1-cf2038627f3c
2025-10-11 16:58:34,563 - DEBUG - Requesting: http://10.0.0.254:8082/project/684f05e0-58b1-4042-a2eb-bf04ef66d1ff
2025-10-11 16:58:34,642 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9f72f26f-a9a9-4110-b33e-ec50461427f6
2025-10-11 16:58:34,660 - DEBUG - =>VN ctest-vn-81180134 has no policy to be verified
2025-10-11 16:58:34,660 - DEBUG - Verifying the vn in opserver
2025-10-11 16:58:34,660 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-80180359:ctest-vn-81180134 virtual network link through opserver 10.0.0.254
2025-10-11 16:58:34,660 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-11 16:58:34,972 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-11 16:58:35,046 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-80180359:ctest-vn-81180134', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-80180359:ctest-vn-81180134?flat'}
2025-10-11 16:58:35,046 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-80180359:ctest-vn-81180134 is found in opserver
2025-10-11 16:58:35,058 - DEBUG - Do not have enough data to verify VN in agent
2025-10-11 16:58:35,064 - DEBUG - VRF ids for VN ctest-vn-81180134: {}
2025-10-11 16:58:35,064 - INFO - Waiting for VM ctest-TestBasicVMVN-80180359-68172275 to be up..
2025-10-11 16:58:35,124 - DEBUG - VM is in ERROR state now
2025-10-11 16:58:35,124 - ERROR - VM in error state.
2025-10-11 16:58:35,124 - ERROR - VM is not in ACTIVE state
2025-10-11 16:58:35,201 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-11 16:58:35,202 - DEBUG - None
2025-10-11 16:58:35,202 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-80180359-88530354 in state BUILD
2025-10-11 16:58:35,203 - INFO - Deleting VM ctest-TestBasicVMVN-80180359-88530354
2025-10-11 16:58:35,203 - ERROR - VM ctest-TestBasicVMVN-80180359-88530354 has failed to come up
2025-10-11 16:58:35,203 - ERROR - Nova failed to get host of the VM
2025-10-11 16:58:35,272 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-80180359-67395538 in state BUILD
2025-10-11 16:58:35,272 - INFO - Deleting VM ctest-TestBasicVMVN-80180359-67395538
2025-10-11 16:58:35,272 - ERROR - VM ctest-TestBasicVMVN-80180359-67395538 has failed to come up
2025-10-11 16:58:35,272 - ERROR - Nova failed to get host of the VM
2025-10-11 16:58:35,429 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-80180359-68172275 in state ERROR
2025-10-11 16:58:35,429 - INFO - Deleting VM ctest-TestBasicVMVN-80180359-68172275
2025-10-11 16:58:35,429 - ERROR - VM ctest-TestBasicVMVN-80180359-68172275 has failed to come up
2025-10-11 16:58:35,429 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-11T16:58:34Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:b2:ff:e8:3b:a2,has_traffic_filtering=True,id=b2ffe83b-a25f-44a1-aaba-9ea3553174ed,network=Network(9f72f26f-a9a9-4110-b33e-ec50461427f6),plugin='vrouter',port_p", 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 77, in plug\n plugin.plug(vif, instance_info)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 271, in plug\n self._vrouter_port_add(instance_info, vif)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 263, in _vrouter_port_add\n vhostuser_socket, vhostuser_mode)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/priv_context.py", line 272, in _wrap\n r_call_timeout)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/daemon.py", line 215, in remote_call\n raise exc_type(*result[2])\nvif_plug_vrouter.exception.VrouterPortControlError: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=b2ffe83b-a25f-44a1-aaba-9ea3553174ed\', \'--instance_uuid=80778e88-f95a-45f0-870f-864bc3a1944a\', \'--vn_uuid=9f72f26f-a9a9-4110-b33e-ec50461427f6\', \'--vm_project_uuid=684f05e058b14042a2ebbf04ef66d1ff\', \'--ip_address=31.1.1.4\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVN-80180359-68172275\', \'--mac=02:b2:ff:e8:3b:a2\', \'--tap_name=tapb2ffe83b-a2\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 699, in _plug_os_vif\n os_vif.plug(vif, instance_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 82, in plug\n raise os_vif.exception.PlugException(vif=vif, err=err)\nos_vif.exception.PlugException: Failed to plug VIF VIFGeneric(active=True,address=02:b2:ff:e8:3b:a2,has_traffic_filtering=True,id=b2ffe83b-a25f-44a1-aaba-9ea3553174ed,network=Network(9f72f26f-a9a9-4110-b33e-ec50461427f6),plugin=\'vrouter\',port_profile=>,preserve_on_delete=True,vif_name=\'tapb2ffe83b-a2\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=b2ffe83b-a25f-44a1-aaba-9ea3553174ed\', \'--instance_uuid=80778e88-f95a-45f0-870f-864bc3a1944a\', \'--vn_uuid=9f72f26f-a9a9-4110-b33e-ec50461427f6\', \'--vm_project_uuid=684f05e058b14042a2ebbf04ef66d1ff\', \'--ip_address=31.1.1.4\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVN-80180359-68172275\', \'--mac=02:b2:ff:e8:3b:a2\', \'--tap_name=tapb2ffe83b-a2\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2521, in _build_and_run_instance\n accel_info=accel_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 4339, in spawn\n cleanup_instance_disks=created_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7523, in _create_guest_with_network\n cleanup_instance_disks=cleanup_instance_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 227, in __exit__\n self.force_reraise()\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 200, in force_reraise\n raise self.value\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7492, in _create_guest_with_network\n self.plug_vifs(instance, network_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 1386, in plug_vifs\n self.vif_driver.plug(instance, vif)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 723, in plug\n self._plug_os_vif(instance, vif_obj)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 703, in _plug_os_vif\n raise exception.InternalError(msg)\nnova.exception.InternalError: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:b2:ff:e8:3b:a2,has_traffic_filtering=True,id=b2ffe83b-a25f-44a1-aaba-9ea3553174ed,network=Network(9f72f26f-a9a9-4110-b33e-ec50461427f6),plugin=\'vrouter\',port_profile=>,preserve_on_delete=True,vif_name=\'tapb2ffe83b-a2\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=b2ffe83b-a25f-44a1-aaba-9ea3553174ed\', \'--instance_uuid=80778e88-f95a-45f0-870f-864bc3a1944a\', \'--vn_uuid=9f72f26f-a9a9-4110-b33e-ec50461427f6\', \'--vm_project_uuid=684f05e058b14042a2ebbf04ef66d1ff\', \'--ip_address=31.1.1.4\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVN-80180359-68172275\', \'--mac=02:b2:ff:e8:3b:a2\', \'--tap_name=tapb2ffe83b-a2\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2337, in _do_build_and_run_instance\n filter_properties, request_spec, accel_uuids)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2625, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=str(e))\nnova.exception.RescheduledException: Build of instance 80778e88-f95a-45f0-870f-864bc3a1944a was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:b2:ff:e8:3b:a2,has_traffic_filtering=True,id=b2ffe83b-a25f-44a1-aaba-9ea3553174ed,network=Network(9f72f26f-a9a9-4110-b33e-ec50461427f6),plugin=\'vrouter\',port_profile=>,preserve_on_delete=True,vif_name=\'tapb2ffe83b-a2\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=b2ffe83b-a25f-44a1-aaba-9ea3553174ed\', \'--instance_uuid=80778e88-f95a-45f0-870f-864bc3a1944a\', \'--vn_uuid=9f72f26f-a9a9-4110-b33e-ec50461427f6\', \'--vm_project_uuid=684f05e058b14042a2ebbf04ef66d1ff\', \'--ip_address=31.1.1.4\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVN-80180359-68172275\', \'--mac=02:b2:ff:e8:3b:a2\', \'--tap_name=tapb2ffe83b-a2\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-11 16:58:35,429 - INFO - Deleting VN ctest-vn-81180134
2025-10-11 16:58:35,552 - DEBUG - Response for delete_port : ()
2025-10-11 16:58:35,690 - DEBUG - Response for delete_port : ()
2025-10-11 16:58:35,816 - DEBUG - Response for deleting network ()
2025-10-11 16:58:35,816 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/642cd9fb-3cff-486a-a6d5-c60182b71230
2025-10-11 16:58:35,822 - DEBUG - Response Code: 404
2025-10-11 16:58:35,822 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-11 16:58:35,827 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1c888893-7c1f-46a1-80b1-cf2038627f3c
2025-10-11 16:58:35,878 - DEBUG - Requesting: http://10.0.0.254:8082/project/684f05e0-58b1-4042-a2eb-bf04ef66d1ff
2025-10-11 16:58:35,956 - INFO - Validated that VN ctest-vn-81180134 is not found in API Server
2025-10-11 16:58:35,965 - DEBUG - VN ctest-vn-81180134 is not present in Agent 10.0.0.254
2025-10-11 16:58:35,965 - INFO - Validated that VN ctest-vn-81180134 is not in any agent
2025-10-11 16:58:35,979 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81180134 info
2025-10-11 16:58:36,065 - INFO - IPAM: ctest-ipam-63386852 is not found in API Server
2025-10-11 16:58:36,076 - INFO - IPAM:ctest-ipam-63386852 is not found in control node
2025-10-11 16:58:36,199 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Sat Oct 11 16:58:35 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/scripts/vm_regression/test_vm_basic.py in test_ping_within_vn_two_vms_two_different_subnets(self=)
145 assert ipam_obj.verify_on_setup()
146 assert vn1_fixture.verify_on_setup()
147 assert vm1.wait_till_vm_is_up()
148 assert vm2.wait_till_vm_is_up()
149 assert vm3.wait_till_vm_is_up()
vm1 =
vm1.wait_till_vm_is_up = >
AssertionError:
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Assertion failed.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ()
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 147, in test_ping_within_vn_two_vms_two_different_subnets
assert vm1.wait_till_vm_is_up()
AssertionError
2025-10-11 16:58:36,205 - DEBUG - No XMPP flaps were noticed during the test
2025-10-11 16:58:36,205 - INFO -
2025-10-11 16:58:36,205 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:07]
2025-10-11 16:58:36,205 - INFO - --------------------------------------------------------------------------------
2025-10-11 16:58:36,862 - INFO - Deleted project: ctest-TestBasicVMVN-80180359, ID : 684f05e0-58b1-4042-a2eb-bf04ef66d1ff