is: {'code': 500, 'created': '2025-10-10T12:02:04Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:e6:ec:f2:2d:d7,has_traffic_filtering=True,id=e6ecf22d-d7bc-4f6c-bfa5-1964a928efc0,network=Network(54f5ea95-84f1-4955-8a23-4d51d5c88f42),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=e6ecf22d-d7bc-4f6c-bfa5-1964a928efc0\', \'--instance_uuid=4569ba14-7830-40c1-87ef-2b3a9473dd34\', \'--vn_uuid=54f5ea95-84f1-4955-8a23-4d51d5c88f42\', \'--vm_project_uuid=51e2d69a82614ddf9a5418075c66e1c1\', \'--ip_address=157.39.218.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestRoutersBasic-03257302-42866929\', \'--mac=02:e6:ec:f2:2d:d7\', \'--tap_name=tape6ecf22d-d7\', \'--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:e6:ec:f2:2d:d7,has_traffic_filtering=True,id=e6ecf22d-d7bc-4f6c-bfa5-1964a928efc0,network=Network(54f5ea95-84f1-4955-8a23-4d51d5c88f42),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tape6ecf22d-d7\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=e6ecf22d-d7bc-4f6c-bfa5-1964a928efc0\', \'--instance_uuid=4569ba14-7830-40c1-87ef-2b3a9473dd34\', \'--vn_uuid=54f5ea95-84f1-4955-8a23-4d51d5c88f42\', \'--vm_project_uuid=51e2d69a82614ddf9a5418075c66e1c1\', \'--ip_address=157.39.218.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestRoutersBasic-03257302-42866929\', \'--mac=02:e6:ec:f2:2d:d7\', \'--tap_name=tape6ecf22d-d7\', \'--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:e6:ec:f2:2d:d7,has_traffic_filtering=True,id=e6ecf22d-d7bc-4f6c-bfa5-1964a928efc0,network=Network(54f5ea95-84f1-4955-8a23-4d51d5c88f42),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tape6ecf22d-d7\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=e6ecf22d-d7bc-4f6c-bfa5-1964a928efc0\', \'--instance_uuid=4569ba14-7830-40c1-87ef-2b3a9473dd34\', \'--vn_uuid=54f5ea95-84f1-4955-8a23-4d51d5c88f42\', \'--vm_project_uuid=51e2d69a82614ddf9a5418075c66e1c1\', \'--ip_address=157.39.218.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestRoutersBasic-03257302-42866929\', \'--mac=02:e6:ec:f2:2d:d7\', \'--tap_name=tape6ecf22d-d7\', \'--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 4569ba14-7830-40c1-87ef-2b3a9473dd34 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:e6:ec:f2:2d:d7,has_traffic_filtering=True,id=e6ecf22d-d7bc-4f6c-bfa5-1964a928efc0,network=Network(54f5ea95-84f1-4955-8a23-4d51d5c88f42),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tape6ecf22d-d7\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=e6ecf22d-d7bc-4f6c-bfa5-1964a928efc0\', \'--instance_uuid=4569ba14-7830-40c1-87ef-2b3a9473dd34\', \'--vn_uuid=54f5ea95-84f1-4955-8a23-4d51d5c88f42\', \'--vm_project_uuid=51e2d69a82614ddf9a5418075c66e1c1\', \'--ip_address=157.39.218.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestRoutersBasic-03257302-42866929\', \'--mac=02:e6:ec:f2:2d:d7\', \'--tap_name=tape6ecf22d-d7\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-10 12:07:35,293 - INFO - Deleting VN ctest-ext_vn-35121328
2025-10-10 12:07:35,361 - WARNING - Deleting VN ctest-ext_vn-35121328 failed..Will retry
2025-10-10 12:07:37,500 - INFO - Deleting VN ctest-vn-87441222
2025-10-10 12:07:37,767 - 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/neutron/test_routers_basic.py", line 52, in test_basic_snat_behavior_without_external_connectivity
vm2_fixture.vm_ip), 'Ping from vm_left to vm_right through snat failed'
File "/contrail-test/fixtures/vm_test.py", line 354, in vm_ip
assert self.verify_vm_launched()
AssertionError
2025-10-10 12:07:37,774 - INFO -
2025-10-10 12:07:37,774 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : FAILED[0:05:40]
2025-10-10 12:07:37,774 - INFO - --------------------------------------------------------------------------------
2025-10-10 12:07:38,573 - INFO - Deleted project: ctest-TestRoutersBasic-03257302, ID : 51e2d69a-8261-4ddf-9a54-18075c66e1c1
2025-10-10 12:07:38,823 - INFO - Domain Default found not creating
2025-10-10 12:07:39,016 - INFO - Project ctest-TestBasicPolicyIpv4v6-75858313 not found, creating it
2025-10-10 12:07:39,568 - INFO - Created Project:ctest-TestBasicPolicyIpv4v6-75858313, ID : b34d8ece-db7b-4f82-b695-57b5d746ee52
2025-10-10 12:07:41,211 - INFO - ================================================================================
2025-10-10 12:07:41,211 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-10-10 12:07:41,211 - INFO - TEST DESCRIPTION :
Create 2 Vns and allow icmp traffic between them and validate with pings
Update the policy to deny the same traffic
Check that pings fail
2025-10-10 12:07:41,354 - INFO - Initial checks done. Running the testcase now
2025-10-10 12:07:41,354 - INFO -
2025-10-10 12:07:42,307 - INFO - Created VN ctest-vn-73365634
2025-10-10 12:07:43,125 - INFO - Created VN ctest-vn-64636310
2025-10-10 12:07:44,658 - INFO - Verified VN network id 11 for VN b4752228-aaa1-4f2e-a741-ea3614a6c18b
2025-10-10 12:07:44,658 - INFO - Verifications in API Server for VN ctest-vn-73365634 passed
2025-10-10 12:07:44,718 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73365634 passed
2025-10-10 12:07:44,826 - INFO - VN ctest-vn-73365634 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-10 12:07:45,195 - INFO - Validated that VN default-domain:ctest-TestBasicPolicyIpv4v6-75858313:ctest-vn-73365634 is found in opserver
2025-10-10 12:07:45,396 - INFO - Verified VN network id 12 for VN 1f74e3a2-0fea-4b49-a090-45c86b5fcedb
2025-10-10 12:07:45,396 - INFO - Verifications in API Server for VN ctest-vn-64636310 passed
2025-10-10 12:07:45,445 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64636310 passed
2025-10-10 12:07:45,548 - INFO - VN ctest-vn-64636310 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-10 12:07:45,561 - INFO - Validated that VN default-domain:ctest-TestBasicPolicyIpv4v6-75858313:ctest-vn-64636310 is found in opserver
2025-10-10 12:07:45,576 - INFO - Disabling v6 tests for CI
2025-10-10 12:07:45,908 - INFO - Deleted policy ctest-policy-allow-all-87700997
2025-10-10 12:07:45,908 - INFO - Deleting VN ctest-vn-64636310
2025-10-10 12:07:46,171 - INFO - Validated that VN ctest-vn-64636310 is not found in API Server
2025-10-10 12:07:46,192 - INFO - Validated that VN ctest-vn-64636310 is not in any agent
2025-10-10 12:07:46,208 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64636310 info
2025-10-10 12:07:46,208 - INFO - Deleting VN ctest-vn-73365634
2025-10-10 12:07:46,492 - INFO - Validated that VN ctest-vn-73365634 is not found in API Server
2025-10-10 12:07:46,503 - INFO - Validated that VN ctest-vn-73365634 is not in any agent
2025-10-10 12:07:46,520 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73365634 info
2025-10-10 12:07:46,666 - INFO -
2025-10-10 12:07:46,666 - INFO - END TEST : test_basic_policy_allow_deny : SKIPPED[0:00:05]
2025-10-10 12:07:46,666 - INFO - --------------------------------------------------------------------------------
2025-10-10 12:07:47,391 - INFO - Deleted project: ctest-TestBasicPolicyIpv4v6-75858313, ID : b34d8ece-db7b-4f82-b695-57b5d746ee52
2025-10-10 12:07:47,616 - INFO - Domain Default found not creating
2025-10-10 12:07:47,816 - INFO - Project ctest-TestBasicPolicyNegativeIpv4v6-49833467 not found, creating it
2025-10-10 12:07:48,323 - INFO - Created Project:ctest-TestBasicPolicyNegativeIpv4v6-49833467, ID : effaf623-bbdb-4543-a9bd-f70bf10cc9fb
2025-10-10 12:07:49,941 - INFO - ================================================================================
2025-10-10 12:07:49,941 - INFO - STARTING TEST : test_remove_policy_with_ref
2025-10-10 12:07:50,072 - INFO - Initial checks done. Running the testcase now
2025-10-10 12:07:50,072 - INFO -
2025-10-10 12:07:50,072 - INFO - ================================================================================
2025-10-10 12:07:50,072 - INFO - STARTING TEST : test_remove_policy_with_ref
2025-10-10 12:07:50,072 - INFO - TEST DESCRIPTION : This tests the following scenarios.
1. Test to validate that policy removal will fail when it referenced with VN.
2. validate vn_policy data in api-s against quantum-vn data, when created and unbind policy from VN thru quantum APIs.
3. validate policy data in api-s against quantum-policy data, when created and deleted thru quantum APIs.
2025-10-10 12:07:50,239 - INFO - Initial checks done. Running the testcase now
2025-10-10 12:07:50,239 - INFO -
2025-10-10 12:07:51,616 - INFO - Created VN ctest-vn4-88014067
2025-10-10 12:07:52,647 - INFO - Verified VN network id 11 for VN 781a37f3-0f11-4301-b0c5-e8b680006a8a
2025-10-10 12:07:52,647 - INFO - Verifications in API Server for VN ctest-vn4-88014067 passed
2025-10-10 12:07:52,697 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn4-88014067 passed
2025-10-10 12:07:52,800 - INFO - VN ctest-vn4-88014067 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-10 12:07:53,175 - INFO - Validated that VN default-domain:ctest-TestBasicPolicyNegativeIpv4v6-49833467:ctest-vn4-88014067 is found in opserver
2025-10-10 12:07:53,390 - INFO - Verified policy ctest-policy1-84434703 in API Server, Result: True
2025-10-10 12:07:53,390 - INFO - Done with setup and verification, moving onto test ..
2025-10-10 12:07:53,403 - INFO - Deleting VN ctest-vn4-88014067
2025-10-10 12:07:53,688 - INFO - Validated that VN ctest-vn4-88014067 is not found in API Server
2025-10-10 12:07:53,699 - INFO - Validated that VN ctest-vn4-88014067 is not in any agent
2025-10-10 12:07:53,719 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn4-88014067 info
2025-10-10 12:07:53,754 - INFO - Deleted policy ctest-policy1-84434703
2025-10-10 12:07:54,094 - INFO - END TEST : test_remove_policy_with_ref : PASSED[0:00:04]
2025-10-10 12:07:54,095 - INFO - --------------------------------------------------------------------------------
2025-10-10 12:07:54,255 - INFO - END TEST : test_remove_policy_with_ref : PASSED[0:00:05]
2025-10-10 12:07:54,255 - INFO - --------------------------------------------------------------------------------
2025-10-10 12:07:54,974 - INFO - Deleted project: ctest-TestBasicPolicyNegativeIpv4v6-49833467, ID : effaf623-bbdb-4543-a9bd-f70bf10cc9fb
2025-10-10 12:07:55,203 - INFO - Domain Default found not creating
2025-10-10 12:07:55,382 - INFO - Project ctest-TestBasicPolicy-99955449 not found, creating it
2025-10-10 12:07:55,891 - INFO - Created Project:ctest-TestBasicPolicy-99955449, ID : 850342de-b486-4ab7-969b-72d1b0b06282
2025-10-10 12:07:57,511 - INFO - ================================================================================
2025-10-10 12:07:57,511 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-10-10 12:07:57,511 - INFO - TEST DESCRIPTION :
Create 2 Vns and allow icmp traffic between them and validate with pings
Update the policy to deny the same traffic
Check that pings fail
2025-10-10 12:07:57,642 - INFO - Initial checks done. Running the testcase now
2025-10-10 12:07:57,642 - INFO -
2025-10-10 12:07:58,539 - INFO - Created VN ctest-vn-67184403
2025-10-10 12:07:59,232 - INFO - Created VN ctest-vn-94899274
2025-10-10 12:08:00,670 - INFO - Verified VN network id 11 for VN 3f6d4af0-195e-44c4-8359-74a158f6cfc5
2025-10-10 12:08:00,670 - INFO - Verifications in API Server for VN ctest-vn-67184403 passed
2025-10-10 12:08:00,722 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67184403 passed
2025-10-10 12:08:00,831 - INFO - VN ctest-vn-67184403 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-10 12:08:01,215 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99955449:ctest-vn-67184403 is found in opserver
2025-10-10 12:08:01,409 - INFO - Verified VN network id 12 for VN e61fe1b2-fc64-4c49-bd31-87f31c546a0f
2025-10-10 12:08:01,409 - INFO - Verifications in API Server for VN ctest-vn-94899274 passed
2025-10-10 12:08:01,466 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94899274 passed
2025-10-10 12:08:01,570 - INFO - VN ctest-vn-94899274 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-10 12:08:01,581 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99955449:ctest-vn-94899274 is found in opserver
2025-10-10 12:08:02,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1)
2025-10-10 12:08:04,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1)
2025-10-10 12:08:04,473 - INFO - Waiting for VM ctest-TestBasicPolicy-99955449-49377415 to be up..
2025-10-10 12:08:09,642 - ERROR - VM in error state.
2025-10-10 12:08:09,642 - ERROR - VM is not in ACTIVE state
2025-10-10 12:08:09,733 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-10 12:08:09,733 - INFO - Waiting for VM ctest-TestBasicPolicy-99955449-74976463 to be up..
2025-10-10 12:08:09,804 - ERROR - VM in error state.
2025-10-10 12:08:09,804 - ERROR - VM is not in ACTIVE state
2025-10-10 12:08:09,903 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-10 12:08:09,903 - INFO - VM name : ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:08:35,408 - ERROR - VM 92186cfd-8fa3-496b-add3-d2821d32699b is not launched yet
2025-10-10 12:08:37,408 - INFO - VM name : ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:09:03,000 - ERROR - VM 92186cfd-8fa3-496b-add3-d2821d32699b is not launched yet
2025-10-10 12:09:05,001 - INFO - VM name : ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:09:30,423 - ERROR - VM 92186cfd-8fa3-496b-add3-d2821d32699b is not launched yet
2025-10-10 12:09:32,424 - INFO - VM name : ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:09:57,878 - ERROR - VM 92186cfd-8fa3-496b-add3-d2821d32699b is not launched yet
2025-10-10 12:09:59,878 - INFO - VM name : ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:10:25,318 - ERROR - VM 92186cfd-8fa3-496b-add3-d2821d32699b is not launched yet
2025-10-10 12:10:27,319 - INFO - VM name : ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:10:52,819 - ERROR - VM 92186cfd-8fa3-496b-add3-d2821d32699b is not launched yet
2025-10-10 12:10:52,820 - INFO - VM name : ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:11:18,246 - ERROR - VM 92186cfd-8fa3-496b-add3-d2821d32699b is not launched yet
2025-10-10 12:11:20,246 - INFO - VM name : ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:11:45,676 - ERROR - VM 92186cfd-8fa3-496b-add3-d2821d32699b is not launched yet
2025-10-10 12:11:47,677 - INFO - VM name : ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:12:13,112 - ERROR - VM 92186cfd-8fa3-496b-add3-d2821d32699b is not launched yet
2025-10-10 12:12:15,113 - INFO - VM name : ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:12:40,524 - ERROR - VM 92186cfd-8fa3-496b-add3-d2821d32699b is not launched yet
2025-10-10 12:12:42,525 - INFO - VM name : ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:13:08,019 - ERROR - VM 92186cfd-8fa3-496b-add3-d2821d32699b is not launched yet
2025-10-10 12:13:10,020 - INFO - VM name : ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:13:35,463 - ERROR - VM 92186cfd-8fa3-496b-add3-d2821d32699b is not launched yet
2025-10-10 12:13:35,464 - INFO - Skip interface_detach for VM ctest-TestBasicPolicy-99955449-74976463 in state ERROR
2025-10-10 12:13:35,464 - INFO - Deleting VM ctest-TestBasicPolicy-99955449-74976463
2025-10-10 12:13:35,492 - ERROR - VM ctest-TestBasicPolicy-99955449-74976463 has failed to come up
2025-10-10 12:13:35,492 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-10T12:08:06Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:49:30:05:8a:8d,has_traffic_filtering=True,id=4930058a-8d7f-4612-9845-7378c1b5ba33,network=Network(e61fe1b2-fc64-4c49-bd31-87f31c546a0f),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=4930058a-8d7f-4612-9845-7378c1b5ba33\', \'--instance_uuid=92186cfd-8fa3-496b-add3-d2821d32699b\', \'--vn_uuid=e61fe1b2-fc64-4c49-bd31-87f31c546a0f\', \'--vm_project_uuid=850342deb4864ab7969b72d1b0b06282\', \'--ip_address=59.113.164.3\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicPolicy-99955449-74976463\', \'--mac=02:49:30:05:8a:8d\', \'--tap_name=tap4930058a-8d\', \'--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:49:30:05:8a:8d,has_traffic_filtering=True,id=4930058a-8d7f-4612-9845-7378c1b5ba33,network=Network(e61fe1b2-fc64-4c49-bd31-87f31c546a0f),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap4930058a-8d\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=4930058a-8d7f-4612-9845-7378c1b5ba33\', \'--instance_uuid=92186cfd-8fa3-496b-add3-d2821d32699b\', \'--vn_uuid=e61fe1b2-fc64-4c49-bd31-87f31c546a0f\', \'--vm_project_uuid=850342deb4864ab7969b72d1b0b06282\', \'--ip_address=59.113.164.3\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicPolicy-99955449-74976463\', \'--mac=02:49:30:05:8a:8d\', \'--tap_name=tap4930058a-8d\', \'--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:49:30:05:8a:8d,has_traffic_filtering=True,id=4930058a-8d7f-4612-9845-7378c1b5ba33,network=Network(e61fe1b2-fc64-4c49-bd31-87f31c546a0f),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap4930058a-8d\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=4930058a-8d7f-4612-9845-7378c1b5ba33\', \'--instance_uuid=92186cfd-8fa3-496b-add3-d2821d32699b\', \'--vn_uuid=e61fe1b2-fc64-4c49-bd31-87f31c546a0f\', \'--vm_project_uuid=850342deb4864ab7969b72d1b0b06282\', \'--ip_address=59.113.164.3\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicPolicy-99955449-74976463\', \'--mac=02:49:30:05:8a:8d\', \'--tap_name=tap4930058a-8d\', \'--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 92186cfd-8fa3-496b-add3-d2821d32699b was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:49:30:05:8a:8d,has_traffic_filtering=True,id=4930058a-8d7f-4612-9845-7378c1b5ba33,network=Network(e61fe1b2-fc64-4c49-bd31-87f31c546a0f),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap4930058a-8d\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=4930058a-8d7f-4612-9845-7378c1b5ba33\', \'--instance_uuid=92186cfd-8fa3-496b-add3-d2821d32699b\', \'--vn_uuid=e61fe1b2-fc64-4c49-bd31-87f31c546a0f\', \'--vm_project_uuid=850342deb4864ab7969b72d1b0b06282\', \'--ip_address=59.113.164.3\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicPolicy-99955449-74976463\', \'--mac=02:49:30:05:8a:8d\', \'--tap_name=tap4930058a-8d\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-10 12:13:35,493 - INFO - Skip interface_detach for VM ctest-TestBasicPolicy-99955449-49377415 in state ERROR
2025-10-10 12:13:35,493 - INFO - Deleting VM ctest-TestBasicPolicy-99955449-49377415
2025-10-10 12:13:35,493 - ERROR - VM ctest-TestBasicPolicy-99955449-49377415 has failed to come up
2025-10-10 12:13:35,493 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-10T12:08:05Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:d2:85:33:f0:34,has_traffic_filtering=True,id=d28533f0-346d-4d5f-9298-ad5435510c9b,network=Network(3f6d4af0-195e-44c4-8359-74a158f6cfc5),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=d28533f0-346d-4d5f-9298-ad5435510c9b\', \'--instance_uuid=69abc918-0fc5-4d46-998b-96d19dcf795d\', \'--vn_uuid=3f6d4af0-195e-44c4-8359-74a158f6cfc5\', \'--vm_project_uuid=850342deb4864ab7969b72d1b0b06282\', \'--ip_address=170.173.215.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicPolicy-99955449-49377415\', \'--mac=02:d2:85:33:f0:34\', \'--tap_name=tapd28533f0-34\', \'--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:d2:85:33:f0:34,has_traffic_filtering=True,id=d28533f0-346d-4d5f-9298-ad5435510c9b,network=Network(3f6d4af0-195e-44c4-8359-74a158f6cfc5),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapd28533f0-34\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d28533f0-346d-4d5f-9298-ad5435510c9b\', \'--instance_uuid=69abc918-0fc5-4d46-998b-96d19dcf795d\', \'--vn_uuid=3f6d4af0-195e-44c4-8359-74a158f6cfc5\', \'--vm_project_uuid=850342deb4864ab7969b72d1b0b06282\', \'--ip_address=170.173.215.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicPolicy-99955449-49377415\', \'--mac=02:d2:85:33:f0:34\', \'--tap_name=tapd28533f0-34\', \'--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:d2:85:33:f0:34,has_traffic_filtering=True,id=d28533f0-346d-4d5f-9298-ad5435510c9b,network=Network(3f6d4af0-195e-44c4-8359-74a158f6cfc5),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapd28533f0-34\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d28533f0-346d-4d5f-9298-ad5435510c9b\', \'--instance_uuid=69abc918-0fc5-4d46-998b-96d19dcf795d\', \'--vn_uuid=3f6d4af0-195e-44c4-8359-74a158f6cfc5\', \'--vm_project_uuid=850342deb4864ab7969b72d1b0b06282\', \'--ip_address=170.173.215.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicPolicy-99955449-49377415\', \'--mac=02:d2:85:33:f0:34\', \'--tap_name=tapd28533f0-34\', \'--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 69abc918-0fc5-4d46-998b-96d19dcf795d was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:d2:85:33:f0:34,has_traffic_filtering=True,id=d28533f0-346d-4d5f-9298-ad5435510c9b,network=Network(3f6d4af0-195e-44c4-8359-74a158f6cfc5),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapd28533f0-34\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d28533f0-346d-4d5f-9298-ad5435510c9b\', \'--instance_uuid=69abc918-0fc5-4d46-998b-96d19dcf795d\', \'--vn_uuid=3f6d4af0-195e-44c4-8359-74a158f6cfc5\', \'--vm_project_uuid=850342deb4864ab7969b72d1b0b06282\', \'--ip_address=170.173.215.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicPolicy-99955449-49377415\', \'--mac=02:d2:85:33:f0:34\', \'--tap_name=tapd28533f0-34\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-10 12:13:35,820 - INFO - Deleted policy ctest-policy-allow-all-17373498
2025-10-10 12:13:35,821 - INFO - Deleting VN ctest-vn-94899274
2025-10-10 12:13:36,087 - INFO - Validated that VN ctest-vn-94899274 is not found in API Server
2025-10-10 12:13:36,097 - INFO - Validated that VN ctest-vn-94899274 is not in any agent
2025-10-10 12:13:41,128 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94899274 info
2025-10-10 12:13:41,128 - INFO - Deleting VN ctest-vn-67184403
2025-10-10 12:13:41,403 - INFO - Validated that VN ctest-vn-67184403 is not found in API Server
2025-10-10 12:13:41,414 - INFO - Validated that VN ctest-vn-67184403 is not in any agent
2025-10-10 12:13:41,429 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67184403 info
2025-10-10 12:13:41,563 - 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/policy/test_policy_basic.py", line 118, in test_basic_policy_allow_deny
assert vm1_fixture.ping_with_certainty(vm2_fixture.vm_ip), (
File "/contrail-test/fixtures/vm_test.py", line 354, in vm_ip
assert self.verify_vm_launched()
AssertionError
2025-10-10 12:13:41,571 - INFO -
2025-10-10 12:13:41,571 - INFO - END TEST : test_basic_policy_allow_deny : FAILED[0:05:44]
2025-10-10 12:13:41,571 - INFO - --------------------------------------------------------------------------------
2025-10-10 12:13:42,321 - INFO - Deleted project: ctest-TestBasicPolicy-99955449, ID : 850342de-b486-4ab7-969b-72d1b0b06282
2025-10-10 12:13:42,539 - INFO - Domain Default found not creating
2025-10-10 12:13:42,720 - INFO - Project ctest-TestRP-99848976 not found, creating it
2025-10-10 12:13:43,260 - INFO - Created Project:ctest-TestRP-99848976, ID : 4bf6a1be-3d39-44f0-9356-9798b3c06cbc
2025-10-10 12:13:44,833 - INFO - ================================================================================
2025-10-10 12:13:44,834 - INFO - STARTING TEST : test_rp_interface
2025-10-10 12:13:44,834 - INFO - TEST DESCRIPTION :
1. Create a routing policy with interface match.
2. Launch VMs.
3. Attach policy to VN and confirm if policy takes hold.
2025-10-10 12:13:44,962 - INFO - Initial checks done. Running the testcase now
2025-10-10 12:13:44,962 - INFO -
2025-10-10 12:13:45,854 - INFO - Created VN ctest-bgpaas_vn-66966326
2025-10-10 12:13:46,678 - INFO - Created VN ctest-bgpaas_vn-03119545
2025-10-10 12:13:48,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1)
2025-10-10 12:13:49,676 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1)
2025-10-10 12:13:49,676 - INFO - Waiting for VM test_vm to be up..
2025-10-10 12:13:54,833 - ERROR - VM in error state.
2025-10-10 12:13:54,833 - ERROR - VM is not in ACTIVE state
2025-10-10 12:13:54,921 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-10 12:13:54,922 - INFO - Skip interface_detach for VM test2_vm in state BUILD
2025-10-10 12:13:54,922 - INFO - Deleting VM test2_vm
2025-10-10 12:13:54,950 - ERROR - VM test2_vm has failed to come up
2025-10-10 12:13:54,950 - ERROR - Nova failed to get host of the VM
2025-10-10 12:13:55,185 - INFO - Skip interface_detach for VM test_vm in state ERROR
2025-10-10 12:13:55,185 - INFO - Deleting VM test_vm
2025-10-10 12:13:55,185 - ERROR - VM test_vm has failed to come up
2025-10-10 12:13:55,185 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-10T12:13:50Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:da:0b:34:0a:06,has_traffic_filtering=True,id=da0b340a-06d4-476d-996c-f7a9ece392f3,network=Network(a548f405-beb2-42a1-9fe4-835070c59b63),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=da0b340a-06d4-476d-996c-f7a9ece392f3\', \'--instance_uuid=1bec288b-8409-4621-8de6-59a36d08fbae\', \'--vn_uuid=a548f405-beb2-42a1-9fe4-835070c59b63\', \'--vm_project_uuid=4bf6a1be3d3944f093569798b3c06cbc\', \'--ip_address=196.223.142.3\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:da:0b:34:0a:06\', \'--tap_name=tapda0b340a-06\', \'--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:da:0b:34:0a:06,has_traffic_filtering=True,id=da0b340a-06d4-476d-996c-f7a9ece392f3,network=Network(a548f405-beb2-42a1-9fe4-835070c59b63),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapda0b340a-06\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=da0b340a-06d4-476d-996c-f7a9ece392f3\', \'--instance_uuid=1bec288b-8409-4621-8de6-59a36d08fbae\', \'--vn_uuid=a548f405-beb2-42a1-9fe4-835070c59b63\', \'--vm_project_uuid=4bf6a1be3d3944f093569798b3c06cbc\', \'--ip_address=196.223.142.3\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:da:0b:34:0a:06\', \'--tap_name=tapda0b340a-06\', \'--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:da:0b:34:0a:06,has_traffic_filtering=True,id=da0b340a-06d4-476d-996c-f7a9ece392f3,network=Network(a548f405-beb2-42a1-9fe4-835070c59b63),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapda0b340a-06\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=da0b340a-06d4-476d-996c-f7a9ece392f3\', \'--instance_uuid=1bec288b-8409-4621-8de6-59a36d08fbae\', \'--vn_uuid=a548f405-beb2-42a1-9fe4-835070c59b63\', \'--vm_project_uuid=4bf6a1be3d3944f093569798b3c06cbc\', \'--ip_address=196.223.142.3\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:da:0b:34:0a:06\', \'--tap_name=tapda0b340a-06\', \'--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 1bec288b-8409-4621-8de6-59a36d08fbae was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:da:0b:34:0a:06,has_traffic_filtering=True,id=da0b340a-06d4-476d-996c-f7a9ece392f3,network=Network(a548f405-beb2-42a1-9fe4-835070c59b63),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapda0b340a-06\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=da0b340a-06d4-476d-996c-f7a9ece392f3\', \'--instance_uuid=1bec288b-8409-4621-8de6-59a36d08fbae\', \'--vn_uuid=a548f405-beb2-42a1-9fe4-835070c59b63\', \'--vm_project_uuid=4bf6a1be3d3944f093569798b3c06cbc\', \'--ip_address=196.223.142.3\', \'--ipv6_address=None\', \'--vm_name=test_vm\', \'--mac=02:da:0b:34:0a:06\', \'--tap_name=tapda0b340a-06\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-10 12:13:55,185 - INFO - Deleting VN ctest-bgpaas_vn-03119545
2025-10-10 12:13:55,305 - INFO - Deleting VN ctest-bgpaas_vn-66966326
2025-10-10 12:13:55,536 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Fri Oct 10 12:13:54 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/routing_policy/test_routing_policy.py in test_rp_interface(self=)
38 3. Attach policy to VN and confirm if policy takes hold.
39 '''
40 ret_dict = self.config_basic()
41 vn_fixture = ret_dict['vn_fixture']
42 test_vm = ret_dict['test_vm']
ret_dict undefined
self =
self.config_basic = >
/contrail-test/scripts/routing_policy/base.py in config_basic(self=)
43 image_name='cirros')
44 test2_vm = self.create_vm(vn2_fixture, 'test2_vm', image_name='cirros')
45 assert test_vm.wait_till_vm_is_up()
46 assert test2_vm.wait_till_vm_is_up()
47
test_vm =
test_vm.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/routing_policy/test_routing_policy.py", line 40, in test_rp_interface
ret_dict = self.config_basic()
File "/contrail-test/scripts/routing_policy/base.py", line 45, in config_basic
assert test_vm.wait_till_vm_is_up()
AssertionError
2025-10-10 12:13:55,542 - INFO -
2025-10-10 12:13:55,543 - INFO - END TEST : test_rp_interface : FAILED[0:00:11]
2025-10-10 12:13:55,543 - INFO - --------------------------------------------------------------------------------
2025-10-10 12:13:56,269 - INFO - Deleted project: ctest-TestRP-99848976, ID : 4bf6a1be-3d39-44f0-9356-9798b3c06cbc
2025-10-10 12:13:56,484 - INFO - Domain Default found not creating
2025-10-10 12:13:56,666 - INFO - Project ctest-TestSvcRegr-06334894 not found, creating it
2025-10-10 12:13:57,148 - INFO - Created Project:ctest-TestSvcRegr-06334894, ID : a785ec54-0f99-48ca-bc8d-4ebf94e9297f
2025-10-10 12:13:58,668 - INFO - ================================================================================
2025-10-10 12:13:58,668 - INFO - STARTING TEST : test_svc_in_network_datapath
2025-10-10 12:13:58,802 - INFO - Initial checks done. Running the testcase now
2025-10-10 12:13:58,802 - INFO -
2025-10-10 12:13:59,583 - INFO - Created VN ctest-mgmt_vn-78080125
2025-10-10 12:14:00,264 - INFO - Verified VN network id 11 for VN aa12b25c-562c-4c7a-b5e6-635f8fcf4583
2025-10-10 12:14:00,264 - INFO - Verifications in API Server for VN ctest-mgmt_vn-78080125 passed
2025-10-10 12:14:00,312 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-mgmt_vn-78080125 passed
2025-10-10 12:14:00,779 - INFO - Validated that VN default-domain:ctest-TestSvcRegr-06334894:ctest-mgmt_vn-78080125 is found in opserver
2025-10-10 12:14:01,249 - INFO - Created VN ctest-left_vn-65795734
2025-10-10 12:14:01,600 - INFO - Verified VN network id 12 for VN e9c5be62-0d02-4e57-b53e-9a84866554a4
2025-10-10 12:14:01,600 - INFO - Verifications in API Server for VN ctest-left_vn-65795734 passed
2025-10-10 12:14:01,656 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-left_vn-65795734 passed
2025-10-10 12:14:01,773 - INFO - Validated that VN default-domain:ctest-TestSvcRegr-06334894:ctest-left_vn-65795734 is found in opserver
2025-10-10 12:14:02,251 - INFO - Created VN ctest-right_vn-52767037
2025-10-10 12:14:02,609 - INFO - Verified VN network id 13 for VN e27558b8-b798-4c0c-9634-64434a747622
2025-10-10 12:14:02,609 - INFO - Verifications in API Server for VN ctest-right_vn-52767037 passed
2025-10-10 12:14:02,654 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-right_vn-52767037 passed
2025-10-10 12:14:02,775 - INFO - Validated that VN default-domain:ctest-TestSvcRegr-06334894:ctest-right_vn-52767037 is found in opserver
2025-10-10 12:14:04,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1)
2025-10-10 12:14:05,530 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1)
2025-10-10 12:14:06 URL:http://nexus.opensdn.io/repository///images/converts//cirros-in-net.vmdk.gz [14619094/14619094] -> "/contrail-test/images/cirros-in-net.vmdk.gz" [1]
2025-10-10 12:14:08,204 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1)
2025-10-10 12:14:08,205 - INFO - Waiting for VM ctest-pt_svm0-89149217 to be up..
2025-10-10 12:14:13,328 - ERROR - VM in error state.
2025-10-10 12:14:13,329 - ERROR - VM is not in ACTIVE state
2025-10-10 12:14:13,425 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-10 12:14:13,429 - INFO - Skip interface_detach for VM ctest-pt_svm0-89149217 in state ERROR
2025-10-10 12:14:13,429 - INFO - Deleting VM ctest-pt_svm0-89149217
2025-10-10 12:14:13,455 - ERROR - VM ctest-pt_svm0-89149217 has failed to come up
2025-10-10 12:14:13,455 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-10T12:14:11Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:d3:9a:3a:dd:7c,has_traffic_filtering=True,id=d39a3add-7cc8-4fc9-b7b3-17d3159c30d0,network=Network(aa12b25c-562c-4c7a-b5e6-635f8fcf4583),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=d39a3add-7cc8-4fc9-b7b3-17d3159c30d0\', \'--instance_uuid=e0ff31d4-fb1b-4013-82de-0416284134a5\', \'--vn_uuid=aa12b25c-562c-4c7a-b5e6-635f8fcf4583\', \'--vm_project_uuid=a785ec540f9948cabc8d4ebf94e9297f\', \'--ip_address=203.254.128.67\', \'--ipv6_address=None\', \'--vm_name=ctest-pt_svm0-89149217\', \'--mac=02:d3:9a:3a:dd:7c\', \'--tap_name=tapd39a3add-7c\', \'--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:d3:9a:3a:dd:7c,has_traffic_filtering=True,id=d39a3add-7cc8-4fc9-b7b3-17d3159c30d0,network=Network(aa12b25c-562c-4c7a-b5e6-635f8fcf4583),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapd39a3add-7c\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d39a3add-7cc8-4fc9-b7b3-17d3159c30d0\', \'--instance_uuid=e0ff31d4-fb1b-4013-82de-0416284134a5\', \'--vn_uuid=aa12b25c-562c-4c7a-b5e6-635f8fcf4583\', \'--vm_project_uuid=a785ec540f9948cabc8d4ebf94e9297f\', \'--ip_address=203.254.128.67\', \'--ipv6_address=None\', \'--vm_name=ctest-pt_svm0-89149217\', \'--mac=02:d3:9a:3a:dd:7c\', \'--tap_name=tapd39a3add-7c\', \'--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:d3:9a:3a:dd:7c,has_traffic_filtering=True,id=d39a3add-7cc8-4fc9-b7b3-17d3159c30d0,network=Network(aa12b25c-562c-4c7a-b5e6-635f8fcf4583),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapd39a3add-7c\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d39a3add-7cc8-4fc9-b7b3-17d3159c30d0\', \'--instance_uuid=e0ff31d4-fb1b-4013-82de-0416284134a5\', \'--vn_uuid=aa12b25c-562c-4c7a-b5e6-635f8fcf4583\', \'--vm_project_uuid=a785ec540f9948cabc8d4ebf94e9297f\', \'--ip_address=203.254.128.67\', \'--ipv6_address=None\', \'--vm_name=ctest-pt_svm0-89149217\', \'--mac=02:d3:9a:3a:dd:7c\', \'--tap_name=tapd39a3add-7c\', \'--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 e0ff31d4-fb1b-4013-82de-0416284134a5 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:d3:9a:3a:dd:7c,has_traffic_filtering=True,id=d39a3add-7cc8-4fc9-b7b3-17d3159c30d0,network=Network(aa12b25c-562c-4c7a-b5e6-635f8fcf4583),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapd39a3add-7c\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d39a3add-7cc8-4fc9-b7b3-17d3159c30d0\', \'--instance_uuid=e0ff31d4-fb1b-4013-82de-0416284134a5\', \'--vn_uuid=aa12b25c-562c-4c7a-b5e6-635f8fcf4583\', \'--vm_project_uuid=a785ec540f9948cabc8d4ebf94e9297f\', \'--ip_address=203.254.128.67\', \'--ipv6_address=None\', \'--vm_name=ctest-pt_svm0-89149217\', \'--mac=02:d3:9a:3a:dd:7c\', \'--tap_name=tapd39a3add-7c\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-10 12:14:13,534 - INFO - Service template: ['default-domain', 'ctest-service_template_1-20210155'] deleted successfully.
2025-10-10 12:14:13,535 - INFO - Skip interface_detach for VM ctest-right_vm-27269439 in state BUILD
2025-10-10 12:14:13,535 - INFO - Deleting VM ctest-right_vm-27269439
2025-10-10 12:14:13,535 - ERROR - VM ctest-right_vm-27269439 has failed to come up
2025-10-10 12:14:13,535 - ERROR - Nova failed to get host of the VM
2025-10-10 12:14:13,730 - INFO - Skip interface_detach for VM ctest-left_vm-14555055 in state BUILD
2025-10-10 12:14:13,730 - INFO - Deleting VM ctest-left_vm-14555055
2025-10-10 12:14:13,731 - ERROR - VM ctest-left_vm-14555055 has failed to come up
2025-10-10 12:14:13,731 - ERROR - Nova failed to get host of the VM
2025-10-10 12:14:13,922 - INFO - Deleting VN ctest-right_vn-52767037
2025-10-10 12:14:14,173 - INFO - Validated that VN ctest-right_vn-52767037 is not found in API Server
2025-10-10 12:14:14,184 - INFO - Validated that VN ctest-right_vn-52767037 is not in any agent
2025-10-10 12:14:14,199 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-right_vn-52767037 info
2025-10-10 12:14:14,199 - INFO - Deleting VN ctest-left_vn-65795734
2025-10-10 12:14:14,449 - INFO - Validated that VN ctest-left_vn-65795734 is not found in API Server
2025-10-10 12:14:14,459 - INFO - Validated that VN ctest-left_vn-65795734 is not in any agent
2025-10-10 12:14:14,474 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-left_vn-65795734 info
2025-10-10 12:14:14,474 - INFO - Deleting VN ctest-mgmt_vn-78080125
2025-10-10 12:14:14,740 - INFO - Validated that VN ctest-mgmt_vn-78080125 is not found in API Server
2025-10-10 12:14:14,753 - INFO - Validated that VN ctest-mgmt_vn-78080125 is not in any agent
2025-10-10 12:14:14,771 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-mgmt_vn-78080125 info
2025-10-10 12:14:14,900 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Fri Oct 10 12:14:13 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/svc_firewall/test_svc_fw.py in test_svc_in_network_datapath(self=)
23 @preposttest_wrapper
24 def test_svc_in_network_datapath(self):
25 return self.verify_svc_chain(svc_img_name='cirros_in_net', service_mode='in-network',
26 create_svms=True)
27
self =
self.verify_svc_chain = >
svc_img_name undefined
service_mode undefined
create_svms undefined
/contrail-test/common/servicechain/verify.py in verify_svc_chain(self=, *args=(), **kwargs={'create_svms': True, 'service_mode': 'in-network', 'svc_img_name': 'cirros_in_net'})
318 def verify_svc_chain(self, *args, **kwargs):
319 svc_chain_info = kwargs.get('svc_chain_info')
320 ret_dict = svc_chain_info or self.config_svc_chain(*args, **kwargs)
321 proto = kwargs.get('proto', 'any')
322 left_vn_fq_name = ret_dict.get('left_vn_fixture').vn_fq_name
ret_dict undefined
svc_chain_info = None
self =
self.config_svc_chain = >
args = ()
kwargs = {'create_svms': True, 'service_mode': 'in-network', 'svc_img_name': 'cirros_in_net'}
/contrail-test/common/servicechain/config.py in config_svc_chain(self=, service_mode='in-network', service_type='firewall', max_inst=1, proto='any', svc_chain_type='parallel', src_ports=[0, 65535], dst_ports=[0, 65535], svc_img_name='cirros_in_net', st_version=2, mgmt_vn_name='ctest-mgmt_vn-78080125', mgmt_vn_subnets=['203.254.128.64/26'], mgmt_vn_fixture=, left_vn_name='ctest-left_vn-65795734', left_vn_subnets=['96.113.5.64/26'], left_vn_fixture=, right_vn_name='ctest-right_vn-52767037', right_vn_subnets=['145.29.26.128/26'], right_vn_fixture=, left_lr_child_vn_fixture=None, right_lr_child_vn_fixture=None, left_vm_name='ctest-left_vm-14555055', left_vm_fixture=, right_vm_name='ctest-right_vm-27269439', right_vm_fixture=, image_name='cirros', policy_fixture=None, st_fixture=, si_fixture=None, port_tuples_props=None, static_route=None, svm_fixtures=[], create_svms=True, evpn=False, modify_rules=False, policy_action='pass', hosts=[], **kwargs={})
526 # Create SI VMs now
527 if not svm_fixtures and create_svms:
528 svm_fixtures = self.create_service_vms(vns,
529 svc_img_name=svc_img_name,
530 service_mode=service_mode,
svm_fixtures = []
self =
self.create_service_vms = >
vns = [, , ]
svc_img_name = 'cirros_in_net'
service_mode = 'in-network'
service_type = 'firewall'
hosts = []
max_inst = 1
/contrail-test/common/servicechain/config.py in create_service_vms(self=, vns=[, , ], service_mode='in-network', max_inst=1, svc_img_name='cirros_in_net', service_type='firewall', hosts=[])
337 if service_type == 'analyzer':
338 svm_fixture.disable_interface_policy()
339 self.verify_vms(svm_fixtures)
340 return svm_fixtures
341 # end create_service_vms
self =
self.verify_vms = >
svm_fixtures = []
/contrail-test/common/servicechain/config.py in verify_vms(self=, vm_fixtures=[])
169 def verify_vms(self, vm_fixtures):
170 for vm in vm_fixtures:
171 self.verify_vm(vm)
172 # end verify_vms
173
self =
self.verify_vm = >
vm =
/contrail-test/common/servicechain/config.py in verify_vm(self=, vm_fixture=)
173
174 def verify_vm(self, vm_fixture):
175 assert vm_fixture.wait_till_vm_is_up(), 'VM does not seem to be up'
176 # end verify_vm
177
vm_fixture =
vm_fixture.wait_till_vm_is_up = >
AssertionError: VM does not seem to be up
__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 = ('VM does not seem to be up',)
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/svc_firewall/test_svc_fw.py", line 25, in test_svc_in_network_datapath
return self.verify_svc_chain(svc_img_name='cirros_in_net', service_mode='in-network',
File "/contrail-test/common/servicechain/verify.py", line 320, in verify_svc_chain
ret_dict = svc_chain_info or self.config_svc_chain(*args, **kwargs)
File "/contrail-test/common/servicechain/config.py", line 528, in config_svc_chain
svm_fixtures = self.create_service_vms(vns,
File "/contrail-test/common/servicechain/config.py", line 339, in create_service_vms
self.verify_vms(svm_fixtures)
File "/contrail-test/common/servicechain/config.py", line 171, in verify_vms
self.verify_vm(vm)
File "/contrail-test/common/servicechain/config.py", line 175, in verify_vm
assert vm_fixture.wait_till_vm_is_up(), 'VM does not seem to be up'
AssertionError: VM does not seem to be up
2025-10-10 12:14:14,907 - INFO -
2025-10-10 12:14:14,907 - INFO - END TEST : test_svc_in_network_datapath : FAILED[0:00:16]
2025-10-10 12:14:14,908 - INFO - --------------------------------------------------------------------------------
2025-10-10 12:14:15,619 - INFO - Deleted project: ctest-TestSvcRegr-06334894, ID : a785ec54-0f99-48ca-bc8d-4ebf94e9297f
2025-10-10 12:14:15,835 - INFO - Domain Default found not creating
2025-10-10 12:14:16,019 - INFO - Project ctest-TestvDNSBasic0-61357995 not found, creating it
2025-10-10 12:14:16,508 - INFO - Created Project:ctest-TestvDNSBasic0-61357995, ID : 5b929620-1c98-43e6-8fbe-6e69b072f292
2025-10-10 12:14:18,080 - INFO - ================================================================================
2025-10-10 12:14:18,080 - INFO - STARTING TEST : test_vdns_ping_same_vn
2025-10-10 12:14:18,080 - INFO - TEST DESCRIPTION :
Test:- Test vdns functionality. On VM launch agent should dynamically update dns records to dns agent
1. Create vDNS server
2. Create IPAM using above vDNS data
3. Create VN using above IPAM and launch 2 VM's within it
4. Ping between these 2 VM's using dns name
5. Try to delete vDNS server which has IPAM back-reference[Negative case]
6. Add CNAME VDNS record for vm1-test and verify we able to ping by alias name
Pass criteria: Step 4,5 and 6 should pass
Maintainer: cf-test@juniper.net
2025-10-10 12:14:18,225 - INFO - Initial checks done. Running the testcase now
2025-10-10 12:14:18,225 - INFO -
2025-10-10 12:14:18,963 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-61357995'](5b929620-1c98-43e6-8fbe-6e69b072f292)
2025-10-10 12:14:20,459 - INFO - Created VN ctest-vn1-vdns-04704429
2025-10-10 12:14:22,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1)
2025-10-10 12:14:22,039 - INFO - Waiting for VM ctest-vm1-test-18818011 to be up..
2025-10-10 12:14:27,158 - ERROR - VM in error state.
2025-10-10 12:14:27,158 - ERROR - VM is not in ACTIVE state
2025-10-10 12:14:27,249 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-10 12:14:27,251 - INFO - Skip interface_detach for VM ctest-vm1-test-18818011 in state ERROR
2025-10-10 12:14:27,251 - INFO - Deleting VM ctest-vm1-test-18818011
2025-10-10 12:14:27,251 - ERROR - VM ctest-vm1-test-18818011 has failed to come up
2025-10-10 12:14:27,251 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-10T12:14:23Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:16:c9:95:cc:6d,has_traffic_filtering=True,id=16c995cc-6d49-4958-8b30-d0ea36ce56af,network=Network(6449ba27-6d32-4eb6-ad9e-a9a36bffeefd),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=16c995cc-6d49-4958-8b30-d0ea36ce56af\', \'--instance_uuid=036254e7-cb83-4590-ad66-e135b1710d9f\', \'--vn_uuid=6449ba27-6d32-4eb6-ad9e-a9a36bffeefd\', \'--vm_project_uuid=5b9296201c9843e68fbe6e69b072f292\', \'--ip_address=10.10.10.3\', \'--ipv6_address=None\', \'--vm_name=ctest-vm1-test-18818011\', \'--mac=02:16:c9:95:cc:6d\', \'--tap_name=tap16c995cc-6d\', \'--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:16:c9:95:cc:6d,has_traffic_filtering=True,id=16c995cc-6d49-4958-8b30-d0ea36ce56af,network=Network(6449ba27-6d32-4eb6-ad9e-a9a36bffeefd),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap16c995cc-6d\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=16c995cc-6d49-4958-8b30-d0ea36ce56af\', \'--instance_uuid=036254e7-cb83-4590-ad66-e135b1710d9f\', \'--vn_uuid=6449ba27-6d32-4eb6-ad9e-a9a36bffeefd\', \'--vm_project_uuid=5b9296201c9843e68fbe6e69b072f292\', \'--ip_address=10.10.10.3\', \'--ipv6_address=None\', \'--vm_name=ctest-vm1-test-18818011\', \'--mac=02:16:c9:95:cc:6d\', \'--tap_name=tap16c995cc-6d\', \'--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:16:c9:95:cc:6d,has_traffic_filtering=True,id=16c995cc-6d49-4958-8b30-d0ea36ce56af,network=Network(6449ba27-6d32-4eb6-ad9e-a9a36bffeefd),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap16c995cc-6d\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=16c995cc-6d49-4958-8b30-d0ea36ce56af\', \'--instance_uuid=036254e7-cb83-4590-ad66-e135b1710d9f\', \'--vn_uuid=6449ba27-6d32-4eb6-ad9e-a9a36bffeefd\', \'--vm_project_uuid=5b9296201c9843e68fbe6e69b072f292\', \'--ip_address=10.10.10.3\', \'--ipv6_address=None\', \'--vm_name=ctest-vm1-test-18818011\', \'--mac=02:16:c9:95:cc:6d\', \'--tap_name=tap16c995cc-6d\', \'--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 036254e7-cb83-4590-ad66-e135b1710d9f was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:16:c9:95:cc:6d,has_traffic_filtering=True,id=16c995cc-6d49-4958-8b30-d0ea36ce56af,network=Network(6449ba27-6d32-4eb6-ad9e-a9a36bffeefd),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tap16c995cc-6d\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=16c995cc-6d49-4958-8b30-d0ea36ce56af\', \'--instance_uuid=036254e7-cb83-4590-ad66-e135b1710d9f\', \'--vn_uuid=6449ba27-6d32-4eb6-ad9e-a9a36bffeefd\', \'--vm_project_uuid=5b9296201c9843e68fbe6e69b072f292\', \'--ip_address=10.10.10.3\', \'--ipv6_address=None\', \'--vm_name=ctest-vm1-test-18818011\', \'--mac=02:16:c9:95:cc:6d\', \'--tap_name=tap16c995cc-6d\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-10 12:14:27,251 - INFO - Deleting VN ctest-vn1-vdns-04704429
2025-10-10 12:14:27,502 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-40530739'] deleted successfully.
2025-10-10 12:14:27,528 - INFO - VDNS information ctest-vdns1-40530739 removed from the API Server
2025-10-10 12:14:27,534 - INFO - VDNS information ctest-vdns1-40530739 removed in the Control node
2025-10-10 12:14:27,660 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Fri Oct 10 12:14:27 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/vdns/test_vdns_basic.py in test_vdns_ping_same_vn(self=)
94 vm_fixture[vm_name] = self.useFixture(
95 VMFixture(project_name=self.inputs.project_name, connections=self.connections, vn_obj=vn_quantum_obj, vm_name=vm_name,image_name='ubuntu-traffic'))
96 assert vm_fixture[vm_name].wait_till_vm_is_up(), ('VM %s'
97 ' failed to come up' % (vm_name))
98 vm_ip = vm_fixture[vm_name].get_vm_ip_from_vm(
vm_fixture = {'ctest-vm1-test-18818011':