2025-03-21 10:36:24,090 - INFO - Domain Default found not creating 2025-03-21 10:36:24,255 - INFO - Project ctest-TestBasicVMVN-65437057 not found, creating it 2025-03-21 10:36:24,758 - INFO - Created Project:ctest-TestBasicVMVN-65437057, ID : 97a1f29b-198a-49cd-9743-87cd962414a9 2025-03-21 10:36:26,250 - INFO - ================================================================================ 2025-03-21 10:36:26,250 - INFO - STARTING TEST : test_generic_link_local_service 2025-03-21 10:36:26,251 - 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-03-21 10:36:26,511 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.12': '0'}} with 2025-03-21 10:36:26,511 - INFO - Initial checks done. Running the testcase now 2025-03-21 10:36:26,511 - INFO - 2025-03-21 10:36:27,096 - DEBUG - Response for create_network : {'network': {'id': '3d134011-f852-4635-92c3-ef5b1f3fa31c', 'name': 'ctest-vn2_metadata-63402627', 'tenant_id': '97a1f29b198a49cd974387cd962414a9', 'project_id': '97a1f29b198a49cd974387cd962414a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-65437057', 'ctest-vn2_metadata-63402627'], 'port_security_enabled': True, 'description': ''}} 2025-03-21 10:36:27,330 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df49c42c-f39f-4348-a60c-72155c9d4de4', 'name': '', 'tenant_id': '97a1f29b198a49cd974387cd962414a9', 'network_id': '3d134011-f852-4635-92c3-ef5b1f3fa31c', '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': '97a1f29b198a49cd974387cd962414a9'}} 2025-03-21 10:36:27,349 - INFO - Created VN ctest-vn2_metadata-63402627 2025-03-21 10:36:27,404 - DEBUG - VN ctest-vn2_metadata-63402627 UUID is 3d134011-f852-4635-92c3-ef5b1f3fa31c 2025-03-21 10:36:27,597 - DEBUG - Services list from nova: [, , ] 2025-03-21 10:36:28,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2932-1) 2025-03-21 10:36:28,740 - DEBUG - Link local service introspect added 2025-03-21 10:36:28,815 - DEBUG - VM is in ERROR state now 2025-03-21 10:36:28,815 - ERROR - VM in error state. 2025-03-21 10:36:28,995 - DEBUG - VM is in ERROR state now 2025-03-21 10:36:28,995 - ERROR - VM in error state. 2025-03-21 10:36:29,108 - DEBUG - Link local service introspect removed 2025-03-21 10:36:29,108 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-65437057-44973464 in state ERROR 2025-03-21 10:36:29,108 - INFO - Deleting VM ctest-TestBasicVMVN-65437057-44973464 2025-03-21 10:36:29,127 - ERROR - VM ctest-TestBasicVMVN-65437057-44973464 has failed to come up 2025-03-21 10:36:29,128 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-03-21T10:36:28Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'} 2025-03-21 10:36:29,128 - INFO - Deleting VN ctest-vn2_metadata-63402627 2025-03-21 10:36:29,234 - DEBUG - Response for deleting network () 2025-03-21 10:36:29,488 - 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 381, in vm_node_ip
    self.get_host_of_vm(refresh=True))
  File "/contrail-test/fixtures/vm_test.py", line 395, in get_host_of_vm
    assert self.wait_till_vm_is_active()
AssertionError
2025-03-21 10:36:29,498 - DEBUG - No XMPP flaps were noticed during the test 2025-03-21 10:36:29,498 - INFO - 2025-03-21 10:36:29,498 - INFO - -------------------------------------------------------------------------------- 2025-03-21 10:36:29,503 - INFO - ================================================================================ 2025-03-21 10:36:29,503 - INFO - STARTING TEST : test_metadata_service 2025-03-21 10:36:29,504 - 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-03-21 10:36:29,789 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.12': '0'}} with 2025-03-21 10:36:29,789 - INFO - Initial checks done. Running the testcase now 2025-03-21 10:36:29,789 - INFO - 2025-03-21 10:36:29,789 - DEBUG - Requesting: http://10.0.0.30:8082/global-vrouter-configs 2025-03-21 10:36:30,084 - DEBUG - Requesting: http://10.0.0.30:8082/global-vrouter-configs 2025-03-21 10:36:30,120 - DEBUG - Requesting: http://10.0.0.30:8082/global-vrouter-config/6c6772a2-0d43-4ebe-b9c1-3370a41cb2a7 2025-03-21 10:36:30,328 - DEBUG - Response for create_network : {'network': {'id': '0c5dbc2f-2cf7-4dce-a373-1c7565aa478f', 'name': 'ctest-vn-33808660', 'tenant_id': '97a1f29b198a49cd974387cd962414a9', 'project_id': '97a1f29b198a49cd974387cd962414a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-65437057', 'ctest-vn-33808660'], 'port_security_enabled': True, 'description': ''}} 2025-03-21 10:36:30,574 - DEBUG - Response for create_subnet : {'subnet': {'id': '76b961ea-de99-4f79-9f9f-4ec01053c9de', 'name': '', 'tenant_id': '97a1f29b198a49cd974387cd962414a9', 'network_id': '0c5dbc2f-2cf7-4dce-a373-1c7565aa478f', 'ip_version': 4, 'cidr': '195.54.109.0/26', 'allocation_pools': [{'start': '195.54.109.2', 'end': '195.54.109.62'}], 'gateway_ip': '195.54.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.54.109.2', 'tags': [], 'project_id': '97a1f29b198a49cd974387cd962414a9'}} 2025-03-21 10:36:30,596 - INFO - Created VN ctest-vn-33808660 2025-03-21 10:36:30,652 - DEBUG - VN ctest-vn-33808660 UUID is 0c5dbc2f-2cf7-4dce-a373-1c7565aa478f 2025-03-21 10:36:31,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2932-1) 2025-03-21 10:36:31,961 - INFO - Waiting for VM ctest-TestBasicVMVN-65437057-11946512 to be up.. 2025-03-21 10:36:32,006 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-21 10:36:37,064 - DEBUG - VM is in ERROR state now 2025-03-21 10:36:37,064 - ERROR - VM in error state. 2025-03-21 10:36:37,064 - ERROR - VM is not in ACTIVE state 2025-03-21 10:36:37,184 - ERROR - Fatal Nova Exception while getting VM detail 2025-03-21 10:36:37,185 - DEBUG - None 2025-03-21 10:36:37,186 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-65437057-11946512 in state ERROR 2025-03-21 10:36:37,186 - INFO - Deleting VM ctest-TestBasicVMVN-65437057-11946512 2025-03-21 10:36:37,187 - ERROR - VM ctest-TestBasicVMVN-65437057-11946512 has failed to come up 2025-03-21 10:36:37,187 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-03-21T10:36:32Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'} 2025-03-21 10:36:37,187 - INFO - Deleting VN ctest-vn-33808660 2025-03-21 10:36:37,304 - DEBUG - Response for deleting network () 2025-03-21 10:36:37,551 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Fri Mar 21 10:36:37 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-03-21 10:36:37,558 - DEBUG - No XMPP flaps were noticed during the test 2025-03-21 10:36:37,558 - INFO -
2025-03-21 10:36:37,558 - INFO - END TEST : test_metadata_service : FAILED[0:00:08]
2025-03-21 10:36:37,558 - INFO - -------------------------------------------------------------------------------- 2025-03-21 10:36:37,561 - INFO - ================================================================================ 2025-03-21 10:36:37,561 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2025-03-21 10:36:37,561 - 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-03-21 10:36:37,849 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.12': '0'}} with 2025-03-21 10:36:37,850 - INFO - Initial checks done. Running the testcase now 2025-03-21 10:36:37,850 - INFO - 2025-03-21 10:36:38,347 - DEBUG - Response for create_network : {'network': {'id': 'bcea0ef5-7fcf-4a62-b0c4-c26cdc54c49f', 'name': 'ctest-vn-83937940', 'tenant_id': '97a1f29b198a49cd974387cd962414a9', 'project_id': '97a1f29b198a49cd974387cd962414a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-65437057', 'ctest-vn-83937940'], 'port_security_enabled': True, 'description': ''}} 2025-03-21 10:36:38,553 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8f472b0-98c2-44fa-b848-29b2a15de6f4', 'name': '', 'tenant_id': '97a1f29b198a49cd974387cd962414a9', 'network_id': 'bcea0ef5-7fcf-4a62-b0c4-c26cdc54c49f', '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': '97a1f29b198a49cd974387cd962414a9'}} 2025-03-21 10:36:38,733 - DEBUG - Response for create_subnet : {'subnet': {'id': '6271778b-e133-46d0-871f-657847dc7f23', 'name': '', 'tenant_id': '97a1f29b198a49cd974387cd962414a9', 'network_id': 'bcea0ef5-7fcf-4a62-b0c4-c26cdc54c49f', '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': '97a1f29b198a49cd974387cd962414a9'}} 2025-03-21 10:36:38,754 - INFO - Created VN ctest-vn-83937940 2025-03-21 10:36:38,808 - DEBUG - VN ctest-vn-83937940 UUID is bcea0ef5-7fcf-4a62-b0c4-c26cdc54c49f 2025-03-21 10:36:39,188 - DEBUG - Response for create_port : {'port': {'name': '55839bc9-c94b-4cf0-be19-4e3ce4987936', 'id': '55839bc9-c94b-4cf0-be19-4e3ce4987936', 'tenant_id': '97a1f29b198a49cd974387cd962414a9', 'network_id': 'bcea0ef5-7fcf-4a62-b0c4-c26cdc54c49f', 'mac_address': '02:55:83:9b:c9:c9', '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': 'c8f472b0-98c2-44fa-b848-29b2a15de6f4'}], 'security_groups': ['a517e3c1-40e9-42ce-abcc-928c9e5f03e5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '97a1f29b198a49cd974387cd962414a9'}} 2025-03-21 10:36:39,363 - DEBUG - Response for create_port : {'port': {'name': '820c38b7-ff1e-4d1e-b2d2-219484053c23', 'id': '820c38b7-ff1e-4d1e-b2d2-219484053c23', 'tenant_id': '97a1f29b198a49cd974387cd962414a9', 'network_id': 'bcea0ef5-7fcf-4a62-b0c4-c26cdc54c49f', 'mac_address': '02:82:0c:38:b7:ff', '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': '6271778b-e133-46d0-871f-657847dc7f23'}], 'security_groups': ['a517e3c1-40e9-42ce-abcc-928c9e5f03e5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '97a1f29b198a49cd974387cd962414a9'}} 2025-03-21 10:36:39,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2932-1) 2025-03-21 10:36:40,298 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2932-1) 2025-03-21 10:36:41,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2932-1) 2025-03-21 10:36:41,484 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-03-21 10:36:41,491 - DEBUG - Requesting: http://10.0.0.30:8082/domain/e279378d-a535-461b-8391-1a5db990d6c2 2025-03-21 10:36:41,505 - DEBUG - Requesting: http://10.0.0.30:8082/project/97a1f29b-198a-49cd-9743-87cd962414a9 2025-03-21 10:36:41,582 - DEBUG - Requesting: http://10.0.0.30:8082/network-ipam/16ad7270-1748-4fab-bc9a-2f20fe6e711d 2025-03-21 10:36:41,593 - INFO - Verifications in API Server for IPAM: ctest-ipam-28304374 passed 2025-03-21 10:36:41,599 - DEBUG - Control-node 10.0.0.30 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-65437057:ctest-ipam-28304374', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-65437057', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1634088065557876651', 'uuid-lslong': '13590226644298002717'}, 'enable': 'true', 'created': '2025-03-21T10:36:37', 'last-modified': '2025-03-21T10:36:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.516817'} 2025-03-21 10:36:41,599 - INFO - Verifications in Control node for IPAM: ctest-ipam-28304374 passed 2025-03-21 10:36:41,599 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-03-21 10:36:41,605 - DEBUG - Requesting: http://10.0.0.30:8082/domain/e279378d-a535-461b-8391-1a5db990d6c2 2025-03-21 10:36:41,619 - DEBUG - Requesting: http://10.0.0.30:8082/project/97a1f29b-198a-49cd-9743-87cd962414a9 2025-03-21 10:36:41,691 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/bcea0ef5-7fcf-4a62-b0c4-c26cdc54c49f 2025-03-21 10:36:41,703 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/bcea0ef5-7fcf-4a62-b0c4-c26cdc54c49f 2025-03-21 10:36:41,715 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/094f4679-632a-4f64-b111-47a43e6f4975 2025-03-21 10:36:41,723 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/094f4679-632a-4f64-b111-47a43e6f4975 2025-03-21 10:36:41,731 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/73f1081c-ec12-4b0c-be68-4f3bda29a34b 2025-03-21 10:36:41,738 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-21 10:36:41,739 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/bcea0ef5-7fcf-4a62-b0c4-c26cdc54c49f 2025-03-21 10:36:41,750 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/094f4679-632a-4f64-b111-47a43e6f4975 2025-03-21 10:36:41,766 - INFO - Verified VN network id 8 for VN bcea0ef5-7fcf-4a62-b0c4-c26cdc54c49f 2025-03-21 10:36:41,766 - INFO - Verifications in API Server for VN ctest-vn-83937940 passed 2025-03-21 10:36:41,766 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/bcea0ef5-7fcf-4a62-b0c4-c26cdc54c49f 2025-03-21 10:36:41,778 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/094f4679-632a-4f64-b111-47a43e6f4975 2025-03-21 10:36:41,786 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/094f4679-632a-4f64-b111-47a43e6f4975 2025-03-21 10:36:41,795 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/73f1081c-ec12-4b0c-be68-4f3bda29a34b 2025-03-21 10:36:41,808 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-65437057:ctest-vn-83937940', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-65437057', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13612709271254813282', 'uuid-lslong': '12737519418919404703'}, 'enable': 'true', 'created': '2025-03-21T10:36:38', 'last-modified': '2025-03-21T10:36:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.103388'} 2025-03-21 10:36:41,817 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-21 10:36:41,817 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83937940 passed 2025-03-21 10:36:41,817 - DEBUG - ====Verifying policy data for ctest-vn-83937940 in API_Server ====== 2025-03-21 10:36:41,817 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-03-21 10:36:41,824 - DEBUG - Requesting: http://10.0.0.30:8082/domain/e279378d-a535-461b-8391-1a5db990d6c2 2025-03-21 10:36:41,836 - DEBUG - Requesting: http://10.0.0.30:8082/project/97a1f29b-198a-49cd-9743-87cd962414a9 2025-03-21 10:36:41,907 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/bcea0ef5-7fcf-4a62-b0c4-c26cdc54c49f 2025-03-21 10:36:41,919 - DEBUG - =>VN ctest-vn-83937940 has no policy to be verified 2025-03-21 10:36:41,919 - DEBUG - Verifying the vn in opserver 2025-03-21 10:36:41,919 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-65437057:ctest-vn-83937940 virtual network link through opserver 10.0.0.30 2025-03-21 10:36:41,919 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-03-21 10:36:42,220 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-03-21 10:36:42,291 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-65437057:ctest-vn-83937940', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-65437057:ctest-vn-83937940?flat'} 2025-03-21 10:36:42,291 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-65437057:ctest-vn-83937940 is found in opserver 2025-03-21 10:36:42,303 - DEBUG - Do not have enough data to verify VN in agent 2025-03-21 10:36:42,309 - DEBUG - VRF ids for VN ctest-vn-83937940: {} 2025-03-21 10:36:42,309 - INFO - Waiting for VM ctest-TestBasicVMVN-65437057-52538815 to be up.. 2025-03-21 10:36:42,373 - DEBUG - VM is in ERROR state now 2025-03-21 10:36:42,373 - ERROR - VM in error state. 2025-03-21 10:36:42,374 - ERROR - VM is not in ACTIVE state 2025-03-21 10:36:42,469 - ERROR - Fatal Nova Exception while getting VM detail 2025-03-21 10:36:42,469 - DEBUG - None 2025-03-21 10:36:42,470 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-65437057-84258306 in state BUILD 2025-03-21 10:36:42,470 - INFO - Deleting VM ctest-TestBasicVMVN-65437057-84258306 2025-03-21 10:36:42,470 - ERROR - VM ctest-TestBasicVMVN-65437057-84258306 has failed to come up 2025-03-21 10:36:42,471 - ERROR - Nova failed to get host of the VM 2025-03-21 10:36:42,709 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-65437057-13367160 in state BUILD 2025-03-21 10:36:42,709 - INFO - Deleting VM ctest-TestBasicVMVN-65437057-13367160 2025-03-21 10:36:42,709 - ERROR - VM ctest-TestBasicVMVN-65437057-13367160 has failed to come up 2025-03-21 10:36:42,709 - ERROR - Nova failed to get host of the VM 2025-03-21 10:36:42,890 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-65437057-52538815 in state ERROR 2025-03-21 10:36:42,890 - INFO - Deleting VM ctest-TestBasicVMVN-65437057-52538815 2025-03-21 10:36:42,890 - ERROR - VM ctest-TestBasicVMVN-65437057-52538815 has failed to come up 2025-03-21 10:36:42,890 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-03-21T10:36:40Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'} 2025-03-21 10:36:42,890 - INFO - Deleting VN ctest-vn-83937940 2025-03-21 10:36:43,027 - DEBUG - Response for delete_port : () 2025-03-21 10:36:43,165 - DEBUG - Response for delete_port : () 2025-03-21 10:36:43,328 - DEBUG - Response for deleting network () 2025-03-21 10:36:43,328 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/094f4679-632a-4f64-b111-47a43e6f4975 2025-03-21 10:36:43,336 - DEBUG - Response Code: 404 2025-03-21 10:36:43,337 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-03-21 10:36:43,344 - DEBUG - Requesting: http://10.0.0.30:8082/domain/e279378d-a535-461b-8391-1a5db990d6c2 2025-03-21 10:36:43,401 - DEBUG - Requesting: http://10.0.0.30:8082/project/97a1f29b-198a-49cd-9743-87cd962414a9 2025-03-21 10:36:43,478 - INFO - Validated that VN ctest-vn-83937940 is not found in API Server 2025-03-21 10:36:43,490 - DEBUG - VN ctest-vn-83937940 is not present in Agent 10.0.0.30 2025-03-21 10:36:43,490 - INFO - Validated that VN ctest-vn-83937940 is not in any agent 2025-03-21 10:36:43,508 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83937940 info 2025-03-21 10:36:43,588 - INFO - IPAM: ctest-ipam-28304374 is not found in API Server 2025-03-21 10:36:43,605 - INFO - IPAM:ctest-ipam-28304374 is not found in control node 2025-03-21 10:36:43,851 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Fri Mar 21 10:36:42 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-03-21 10:36:43,858 - DEBUG - No XMPP flaps were noticed during the test 2025-03-21 10:36:43,858 - INFO -
2025-03-21 10:36:43,858 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:06]
2025-03-21 10:36:43,858 - INFO - -------------------------------------------------------------------------------- 2025-03-21 10:36:44,560 - INFO - Deleted project: ctest-TestBasicVMVN-65437057, ID : 97a1f29b-198a-49cd-9743-87cd962414a9