2025-04-16 17:21:48,620 - INFO - Domain Default found not creating 2025-04-16 17:21:48,812 - INFO - Project ctest-TestBasicVMVN-20277029 not found, creating it 2025-04-16 17:21:49,293 - INFO - Created Project:ctest-TestBasicVMVN-20277029, ID : f38f0937-ca5b-4912-94cb-119bfd631524 2025-04-16 17:21:50,898 - INFO - ================================================================================ 2025-04-16 17:21:50,898 - INFO - STARTING TEST : test_generic_link_local_service 2025-04-16 17:21:50,898 - 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-04-16 17:21:51,171 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-04-16 17:21:51,171 - INFO - Initial checks done. Running the testcase now 2025-04-16 17:21:51,171 - INFO - 2025-04-16 17:21:51,816 - DEBUG - Response for create_network : {'network': {'id': '9c399298-88dc-4e5a-8302-816b6d58c445', 'name': 'ctest-vn2_metadata-24619851', 'tenant_id': 'f38f0937ca5b491294cb119bfd631524', 'project_id': 'f38f0937ca5b491294cb119bfd631524', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-20277029', 'ctest-vn2_metadata-24619851'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 17:21:52,018 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c41d0b1-da8e-44a2-8ff7-e5fa402f74cd', 'name': '', 'tenant_id': 'f38f0937ca5b491294cb119bfd631524', 'network_id': '9c399298-88dc-4e5a-8302-816b6d58c445', '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': 'f38f0937ca5b491294cb119bfd631524'}} 2025-04-16 17:21:52,043 - INFO - Created VN ctest-vn2_metadata-24619851 2025-04-16 17:21:52,107 - DEBUG - VN ctest-vn2_metadata-24619851 UUID is 9c399298-88dc-4e5a-8302-816b6d58c445 2025-04-16 17:21:52,392 - DEBUG - Services list from nova: [, , ] 2025-04-16 17:21:53,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3123-1) 2025-04-16 17:21:53,690 - DEBUG - Link local service introspect added 2025-04-16 17:21:53,760 - DEBUG - VM is in ERROR state now 2025-04-16 17:21:53,761 - ERROR - VM in error state. 2025-04-16 17:21:53,826 - DEBUG - VM is in ERROR state now 2025-04-16 17:21:53,827 - ERROR - VM in error state. 2025-04-16 17:21:53,939 - DEBUG - Link local service introspect removed 2025-04-16 17:21:53,939 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-20277029-74325246 in state ERROR 2025-04-16 17:21:53,939 - INFO - Deleting VM ctest-TestBasicVMVN-20277029-74325246 2025-04-16 17:21:53,966 - ERROR - VM ctest-TestBasicVMVN-20277029-74325246 has failed to come up 2025-04-16 17:21:53,966 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-04-16T17:21:53Z', '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-04-16 17:21:53,966 - INFO - Deleting VN ctest-vn2_metadata-24619851 2025-04-16 17:21:54,127 - DEBUG - Response for deleting network () 2025-04-16 17:21:54,378 - 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-04-16 17:21:54,388 - DEBUG - No XMPP flaps were noticed during the test 2025-04-16 17:21:54,388 - INFO - 2025-04-16 17:21:54,389 - INFO - END TEST : test_generic_link_local_service : FAILED[0:00:04] 2025-04-16 17:21:54,389 - INFO - -------------------------------------------------------------------------------- 2025-04-16 17:21:54,397 - INFO - ================================================================================ 2025-04-16 17:21:54,397 - INFO - STARTING TEST : test_metadata_service 2025-04-16 17:21:54,397 - 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-04-16 17:21:54,698 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-04-16 17:21:54,698 - INFO - Initial checks done. Running the testcase now 2025-04-16 17:21:54,698 - INFO - 2025-04-16 17:21:54,698 - DEBUG - Requesting: http://10.0.0.254:8082/global-vrouter-configs 2025-04-16 17:21:55,004 - DEBUG - Requesting: http://10.0.0.254:8082/global-vrouter-configs 2025-04-16 17:21:55,038 - DEBUG - Requesting: http://10.0.0.254:8082/global-vrouter-config/0f35ae4c-14ad-44d7-9042-2cb53c7e87f2 2025-04-16 17:21:55,290 - DEBUG - Response for create_network : {'network': {'id': '046946db-c934-4c1f-bd3c-78976315d564', 'name': 'ctest-vn-11691700', 'tenant_id': 'f38f0937ca5b491294cb119bfd631524', 'project_id': 'f38f0937ca5b491294cb119bfd631524', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-20277029', 'ctest-vn-11691700'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 17:21:55,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd92046f0-695e-464b-8c5a-2420419347e4', 'name': '', 'tenant_id': 'f38f0937ca5b491294cb119bfd631524', 'network_id': '046946db-c934-4c1f-bd3c-78976315d564', 'ip_version': 4, 'cidr': '32.126.64.64/26', 'allocation_pools': [{'start': '32.126.64.66', 'end': '32.126.64.126'}], 'gateway_ip': '32.126.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.126.64.66', 'tags': [], 'project_id': 'f38f0937ca5b491294cb119bfd631524'}} 2025-04-16 17:21:55,515 - INFO - Created VN ctest-vn-11691700 2025-04-16 17:21:55,570 - DEBUG - VN ctest-vn-11691700 UUID is 046946db-c934-4c1f-bd3c-78976315d564 2025-04-16 17:21:56,949 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3123-1) 2025-04-16 17:21:56,949 - INFO - Waiting for VM ctest-TestBasicVMVN-20277029-91100607 to be up.. 2025-04-16 17:21:57,025 - DEBUG - VM is in ERROR state now 2025-04-16 17:21:57,025 - ERROR - VM in error state. 2025-04-16 17:21:57,025 - ERROR - VM is not in ACTIVE state 2025-04-16 17:21:57,124 - ERROR - Fatal Nova Exception while getting VM detail 2025-04-16 17:21:57,125 - DEBUG - None 2025-04-16 17:21:57,126 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-20277029-91100607 in state ERROR 2025-04-16 17:21:57,126 - INFO - Deleting VM ctest-TestBasicVMVN-20277029-91100607 2025-04-16 17:21:57,126 - ERROR - VM ctest-TestBasicVMVN-20277029-91100607 has failed to come up 2025-04-16 17:21:57,126 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-04-16T17:21:56Z', '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-04-16 17:21:57,126 - INFO - Deleting VN ctest-vn-11691700 2025-04-16 17:21:57,246 - DEBUG - Response for deleting network () 2025-04-16 17:21:57,498 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Wed Apr 16 17:21:57 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-04-16 17:21:57,505 - DEBUG - No XMPP flaps were noticed during the test 2025-04-16 17:21:57,505 - INFO - 2025-04-16 17:21:57,505 - INFO - END TEST : test_metadata_service : FAILED[0:00:03] 2025-04-16 17:21:57,505 - INFO - -------------------------------------------------------------------------------- 2025-04-16 17:21:57,509 - INFO - ================================================================================ 2025-04-16 17:21:57,509 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2025-04-16 17:21:57,509 - 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-04-16 17:21:57,815 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-04-16 17:21:57,815 - INFO - Initial checks done. Running the testcase now 2025-04-16 17:21:57,815 - INFO - 2025-04-16 17:21:58,323 - DEBUG - Response for create_network : {'network': {'id': '712d9246-99fc-4246-a051-a85450707ac4', 'name': 'ctest-vn-84394440', 'tenant_id': 'f38f0937ca5b491294cb119bfd631524', 'project_id': 'f38f0937ca5b491294cb119bfd631524', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-20277029', 'ctest-vn-84394440'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 17:21:58,522 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c04434b-2f55-4f19-a269-cd1ec180abf1', 'name': '', 'tenant_id': 'f38f0937ca5b491294cb119bfd631524', 'network_id': '712d9246-99fc-4246-a051-a85450707ac4', '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': 'f38f0937ca5b491294cb119bfd631524'}} 2025-04-16 17:21:58,682 - DEBUG - Response for create_subnet : {'subnet': {'id': '31bd048e-4cc7-4a5e-af11-eca1f5c453f2', 'name': '', 'tenant_id': 'f38f0937ca5b491294cb119bfd631524', 'network_id': '712d9246-99fc-4246-a051-a85450707ac4', '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': 'f38f0937ca5b491294cb119bfd631524'}} 2025-04-16 17:21:58,708 - INFO - Created VN ctest-vn-84394440 2025-04-16 17:21:58,763 - DEBUG - VN ctest-vn-84394440 UUID is 712d9246-99fc-4246-a051-a85450707ac4 2025-04-16 17:21:59,216 - DEBUG - Response for create_port : {'port': {'name': 'be0157d8-792c-429c-b955-9c198bc7b552', 'id': 'be0157d8-792c-429c-b955-9c198bc7b552', 'tenant_id': 'f38f0937ca5b491294cb119bfd631524', 'network_id': '712d9246-99fc-4246-a051-a85450707ac4', 'mac_address': '02:be:01:57:d8:79', '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': '0c04434b-2f55-4f19-a269-cd1ec180abf1'}], 'security_groups': ['574738f7-a486-4862-a880-6a55c8ab3d8d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f38f0937ca5b491294cb119bfd631524'}} 2025-04-16 17:21:59,449 - DEBUG - Response for create_port : {'port': {'name': '374a1e85-9d68-4a86-8ca6-dfde2479db0e', 'id': '374a1e85-9d68-4a86-8ca6-dfde2479db0e', 'tenant_id': 'f38f0937ca5b491294cb119bfd631524', 'network_id': '712d9246-99fc-4246-a051-a85450707ac4', 'mac_address': '02:37:4a:1e:85:9d', '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': '31bd048e-4cc7-4a5e-af11-eca1f5c453f2'}], 'security_groups': ['574738f7-a486-4862-a880-6a55c8ab3d8d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f38f0937ca5b491294cb119bfd631524'}} 2025-04-16 17:22:00,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3123-1) 2025-04-16 17:22:00,622 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3123-1) 2025-04-16 17:22:01,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3123-1) 2025-04-16 17:22:01,901 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-16 17:22:01,909 - DEBUG - Requesting: http://10.0.0.254:8082/domain/348e3673-7328-4d07-9c0d-59eb02b00f54 2025-04-16 17:22:01,926 - DEBUG - Requesting: http://10.0.0.254:8082/project/f38f0937-ca5b-4912-94cb-119bfd631524 2025-04-16 17:22:02,012 - DEBUG - Requesting: http://10.0.0.254:8082/network-ipam/536d5f9e-3c2d-4a8e-af1e-16f16275bf73 2025-04-16 17:22:02,024 - INFO - Verifications in API Server for IPAM: ctest-ipam-69602769 passed 2025-04-16 17:22:02,031 - DEBUG - Control-node 10.0.0.254 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-20277029:ctest-ipam-69602769', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-20277029', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6011566210828552846', 'uuid-lslong': '12618548431933521779'}, 'enable': 'true', 'created': '2025-04-16T17:21:57', 'last-modified': '2025-04-16T17:21:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.974648'} 2025-04-16 17:22:02,031 - INFO - Verifications in Control node for IPAM: ctest-ipam-69602769 passed 2025-04-16 17:22:02,032 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-16 17:22:02,040 - DEBUG - Requesting: http://10.0.0.254:8082/domain/348e3673-7328-4d07-9c0d-59eb02b00f54 2025-04-16 17:22:02,054 - DEBUG - Requesting: http://10.0.0.254:8082/project/f38f0937-ca5b-4912-94cb-119bfd631524 2025-04-16 17:22:02,131 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/712d9246-99fc-4246-a051-a85450707ac4 2025-04-16 17:22:02,146 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/712d9246-99fc-4246-a051-a85450707ac4 2025-04-16 17:22:02,160 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c45b7538-6aed-43a7-b9d5-4f7933ddcf3f 2025-04-16 17:22:02,173 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c45b7538-6aed-43a7-b9d5-4f7933ddcf3f 2025-04-16 17:22:02,183 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/34154b5d-d21f-46e0-adbf-960cd23dbd76 2025-04-16 17:22:02,192 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-16 17:22:02,192 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/712d9246-99fc-4246-a051-a85450707ac4 2025-04-16 17:22:02,205 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c45b7538-6aed-43a7-b9d5-4f7933ddcf3f 2025-04-16 17:22:02,228 - INFO - Verified VN network id 9 for VN 712d9246-99fc-4246-a051-a85450707ac4 2025-04-16 17:22:02,228 - INFO - Verifications in API Server for VN ctest-vn-84394440 passed 2025-04-16 17:22:02,228 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/712d9246-99fc-4246-a051-a85450707ac4 2025-04-16 17:22:02,244 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c45b7538-6aed-43a7-b9d5-4f7933ddcf3f 2025-04-16 17:22:02,256 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c45b7538-6aed-43a7-b9d5-4f7933ddcf3f 2025-04-16 17:22:02,266 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/34154b5d-d21f-46e0-adbf-960cd23dbd76 2025-04-16 17:22:02,284 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-20277029:ctest-vn-84394440', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-20277029', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8155335332166648390', 'uuid-lslong': '11552199599262300868'}, 'enable': 'true', 'created': '2025-04-16T17:21:58', 'last-modified': '2025-04-16T17:21:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.633649'} 2025-04-16 17:22:02,292 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-16 17:22:02,293 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84394440 passed 2025-04-16 17:22:02,293 - DEBUG - ====Verifying policy data for ctest-vn-84394440 in API_Server ====== 2025-04-16 17:22:02,293 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-16 17:22:02,301 - DEBUG - Requesting: http://10.0.0.254:8082/domain/348e3673-7328-4d07-9c0d-59eb02b00f54 2025-04-16 17:22:02,316 - DEBUG - Requesting: http://10.0.0.254:8082/project/f38f0937-ca5b-4912-94cb-119bfd631524 2025-04-16 17:22:02,396 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/712d9246-99fc-4246-a051-a85450707ac4 2025-04-16 17:22:02,410 - DEBUG - =>VN ctest-vn-84394440 has no policy to be verified 2025-04-16 17:22:02,410 - DEBUG - Verifying the vn in opserver 2025-04-16 17:22:02,411 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-20277029:ctest-vn-84394440 virtual network link through opserver 10.0.0.254 2025-04-16 17:22:02,411 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-16 17:22:02,718 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-16 17:22:02,791 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-20277029:ctest-vn-84394440', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-20277029:ctest-vn-84394440?flat'} 2025-04-16 17:22:02,791 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-20277029:ctest-vn-84394440 is found in opserver 2025-04-16 17:22:02,804 - DEBUG - Do not have enough data to verify VN in agent 2025-04-16 17:22:02,810 - DEBUG - VRF ids for VN ctest-vn-84394440: {} 2025-04-16 17:22:02,810 - INFO - Waiting for VM ctest-TestBasicVMVN-20277029-12939465 to be up.. 2025-04-16 17:22:02,874 - DEBUG - VM is in ERROR state now 2025-04-16 17:22:02,874 - ERROR - VM in error state. 2025-04-16 17:22:02,874 - ERROR - VM is not in ACTIVE state 2025-04-16 17:22:02,979 - ERROR - Fatal Nova Exception while getting VM detail 2025-04-16 17:22:02,979 - DEBUG - None 2025-04-16 17:22:02,981 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-20277029-31693542 in state BUILD 2025-04-16 17:22:02,981 - INFO - Deleting VM ctest-TestBasicVMVN-20277029-31693542 2025-04-16 17:22:02,981 - ERROR - VM ctest-TestBasicVMVN-20277029-31693542 has failed to come up 2025-04-16 17:22:02,981 - ERROR - Nova failed to get host of the VM 2025-04-16 17:22:03,186 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-20277029-66189968 in state BUILD 2025-04-16 17:22:03,186 - INFO - Deleting VM ctest-TestBasicVMVN-20277029-66189968 2025-04-16 17:22:03,187 - ERROR - VM ctest-TestBasicVMVN-20277029-66189968 has failed to come up 2025-04-16 17:22:03,187 - ERROR - Nova failed to get host of the VM 2025-04-16 17:22:03,408 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-20277029-12939465 in state ERROR 2025-04-16 17:22:03,408 - INFO - Deleting VM ctest-TestBasicVMVN-20277029-12939465 2025-04-16 17:22:03,408 - ERROR - VM ctest-TestBasicVMVN-20277029-12939465 has failed to come up 2025-04-16 17:22:03,409 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-04-16T17:22:00Z', '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-04-16 17:22:03,409 - INFO - Deleting VN ctest-vn-84394440 2025-04-16 17:22:03,553 - DEBUG - Response for delete_port : () 2025-04-16 17:22:03,697 - DEBUG - Response for delete_port : () 2025-04-16 17:22:03,874 - DEBUG - Response for deleting network () 2025-04-16 17:22:03,874 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c45b7538-6aed-43a7-b9d5-4f7933ddcf3f 2025-04-16 17:22:03,884 - DEBUG - Response Code: 404 2025-04-16 17:22:03,884 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-16 17:22:03,895 - DEBUG - Requesting: http://10.0.0.254:8082/domain/348e3673-7328-4d07-9c0d-59eb02b00f54 2025-04-16 17:22:03,953 - DEBUG - Requesting: http://10.0.0.254:8082/project/f38f0937-ca5b-4912-94cb-119bfd631524 2025-04-16 17:22:04,034 - INFO - Validated that VN ctest-vn-84394440 is not found in API Server 2025-04-16 17:22:04,047 - DEBUG - VN ctest-vn-84394440 is not present in Agent 10.0.0.254 2025-04-16 17:22:04,047 - INFO - Validated that VN ctest-vn-84394440 is not in any agent 2025-04-16 17:22:04,067 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84394440 info 2025-04-16 17:22:04,150 - INFO - IPAM: ctest-ipam-69602769 is not found in API Server 2025-04-16 17:22:04,165 - INFO - IPAM:ctest-ipam-69602769 is not found in control node 2025-04-16 17:22:04,433 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Wed Apr 16 17:22:02 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-04-16 17:22:04,440 - DEBUG - No XMPP flaps were noticed during the test 2025-04-16 17:22:04,440 - INFO - 2025-04-16 17:22:04,440 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:07] 2025-04-16 17:22:04,440 - INFO - -------------------------------------------------------------------------------- 2025-04-16 17:22:05,190 - INFO - Deleted project: ctest-TestBasicVMVN-20277029, ID : f38f0937-ca5b-4912-94cb-119bfd631524