2025-05-13 12:33:59,822 - INFO - Domain Default found not creating 2025-05-13 12:34:00,020 - INFO - Project ctest-TestBasicVMVN-87982568 not found, creating it 2025-05-13 12:34:00,580 - INFO - Created Project:ctest-TestBasicVMVN-87982568, ID : c6b879c3-5962-47e5-9011-b983a792b4d1 2025-05-13 12:34:02,381 - INFO - ================================================================================ 2025-05-13 12:34:02,381 - INFO - STARTING TEST : test_generic_link_local_service 2025-05-13 12:34:02,382 - 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-05-13 12:34:02,665 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-05-13 12:34:02,665 - INFO - Initial checks done. Running the testcase now 2025-05-13 12:34:02,665 - INFO - 2025-05-13 12:34:03,350 - DEBUG - Response for create_network : {'network': {'id': '772f71fe-b057-4d87-94d1-ad5dfe27e08d', 'name': 'ctest-vn2_metadata-05457358', 'tenant_id': 'c6b879c3596247e59011b983a792b4d1', 'project_id': 'c6b879c3596247e59011b983a792b4d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-87982568', 'ctest-vn2_metadata-05457358'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 12:34:03,566 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a65b7f85-7fe5-4197-b21b-93c3465a3e8c', 'name': '', 'tenant_id': 'c6b879c3596247e59011b983a792b4d1', 'network_id': '772f71fe-b057-4d87-94d1-ad5dfe27e08d', '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': 'c6b879c3596247e59011b983a792b4d1'}} 2025-05-13 12:34:03,589 - INFO - Created VN ctest-vn2_metadata-05457358 2025-05-13 12:34:03,647 - DEBUG - VN ctest-vn2_metadata-05457358 UUID is 772f71fe-b057-4d87-94d1-ad5dfe27e08d 2025-05-13 12:34:03,958 - DEBUG - Services list from nova: [, , ] 2025-05-13 12:34:05,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3307-1) 2025-05-13 12:34:05,386 - DEBUG - Link local service introspect added 2025-05-13 12:34:05,462 - DEBUG - VM is in ERROR state now 2025-05-13 12:34:05,462 - ERROR - VM in error state. 2025-05-13 12:34:05,535 - DEBUG - VM is in ERROR state now 2025-05-13 12:34:05,535 - ERROR - VM in error state. 2025-05-13 12:34:05,646 - DEBUG - Link local service introspect removed 2025-05-13 12:34:05,647 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-87982568-23621828 in state ERROR 2025-05-13 12:34:05,647 - INFO - Deleting VM ctest-TestBasicVMVN-87982568-23621828 2025-05-13 12:34:05,679 - ERROR - VM ctest-TestBasicVMVN-87982568-23621828 has failed to come up 2025-05-13 12:34:05,679 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-05-13T12:34:05Z', '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-05-13 12:34:05,679 - INFO - Deleting VN ctest-vn2_metadata-05457358 2025-05-13 12:34:05,819 - DEBUG - Response for deleting network () 2025-05-13 12:34:06,081 - 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-05-13 12:34:06,091 - DEBUG - No XMPP flaps were noticed during the test 2025-05-13 12:34:06,091 - INFO - 2025-05-13 12:34:06,091 - INFO - -------------------------------------------------------------------------------- 2025-05-13 12:34:06,095 - INFO - ================================================================================ 2025-05-13 12:34:06,095 - INFO - STARTING TEST : test_metadata_service 2025-05-13 12:34:06,095 - 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-05-13 12:34:06,393 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-05-13 12:34:06,393 - INFO - Initial checks done. Running the testcase now 2025-05-13 12:34:06,393 - INFO - 2025-05-13 12:34:06,393 - DEBUG - Requesting: http://10.0.0.33:8082/global-vrouter-configs 2025-05-13 12:34:06,743 - DEBUG - Requesting: http://10.0.0.33:8082/global-vrouter-configs 2025-05-13 12:34:06,784 - DEBUG - Requesting: http://10.0.0.33:8082/global-vrouter-config/6710e4f4-9409-4ce9-b820-7bf5263e7b38 2025-05-13 12:34:07,023 - DEBUG - Response for create_network : {'network': {'id': '4b3fdfed-f82a-4369-9ee5-b285058afc12', 'name': 'ctest-vn-39792277', 'tenant_id': 'c6b879c3596247e59011b983a792b4d1', 'project_id': 'c6b879c3596247e59011b983a792b4d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-87982568', 'ctest-vn-39792277'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 12:34:07,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a827e0e-9bcf-49a1-a4e8-af9a05e2e2da', 'name': '', 'tenant_id': 'c6b879c3596247e59011b983a792b4d1', 'network_id': '4b3fdfed-f82a-4369-9ee5-b285058afc12', 'ip_version': 4, 'cidr': '30.193.182.64/26', 'allocation_pools': [{'start': '30.193.182.66', 'end': '30.193.182.126'}], 'gateway_ip': '30.193.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.193.182.66', 'tags': [], 'project_id': 'c6b879c3596247e59011b983a792b4d1'}} 2025-05-13 12:34:07,280 - INFO - Created VN ctest-vn-39792277 2025-05-13 12:34:07,335 - DEBUG - VN ctest-vn-39792277 UUID is 4b3fdfed-f82a-4369-9ee5-b285058afc12 2025-05-13 12:34:08,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3307-1) 2025-05-13 12:34:08,857 - INFO - Waiting for VM ctest-TestBasicVMVN-87982568-27827967 to be up.. 2025-05-13 12:34:08,920 - DEBUG - VM is in ERROR state now 2025-05-13 12:34:08,920 - ERROR - VM in error state. 2025-05-13 12:34:08,920 - ERROR - VM is not in ACTIVE state 2025-05-13 12:34:09,015 - ERROR - Fatal Nova Exception while getting VM detail 2025-05-13 12:34:09,015 - DEBUG - None 2025-05-13 12:34:09,017 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-87982568-27827967 in state ERROR 2025-05-13 12:34:09,017 - INFO - Deleting VM ctest-TestBasicVMVN-87982568-27827967 2025-05-13 12:34:09,017 - ERROR - VM ctest-TestBasicVMVN-87982568-27827967 has failed to come up 2025-05-13 12:34:09,017 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-05-13T12:34:08Z', '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-05-13 12:34:09,017 - INFO - Deleting VN ctest-vn-39792277 2025-05-13 12:34:09,151 - DEBUG - Response for deleting network () 2025-05-13 12:34:09,403 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Tue May 13 12:34:09 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-05-13 12:34:09,412 - DEBUG - No XMPP flaps were noticed during the test 2025-05-13 12:34:09,412 - INFO -
2025-05-13 12:34:09,412 - INFO - END TEST : test_metadata_service : FAILED[0:00:03]
2025-05-13 12:34:09,412 - INFO - -------------------------------------------------------------------------------- 2025-05-13 12:34:09,420 - INFO - ================================================================================ 2025-05-13 12:34:09,420 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2025-05-13 12:34:09,421 - 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-05-13 12:34:09,717 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-05-13 12:34:09,717 - INFO - Initial checks done. Running the testcase now 2025-05-13 12:34:09,718 - INFO - 2025-05-13 12:34:10,262 - DEBUG - Response for create_network : {'network': {'id': 'e7361c7c-a665-45f5-8bc8-4b673af0ff7b', 'name': 'ctest-vn-30449591', 'tenant_id': 'c6b879c3596247e59011b983a792b4d1', 'project_id': 'c6b879c3596247e59011b983a792b4d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-87982568', 'ctest-vn-30449591'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 12:34:10,519 - DEBUG - Response for create_subnet : {'subnet': {'id': '80732411-e4f9-455d-adcd-07e1cbd499f9', 'name': '', 'tenant_id': 'c6b879c3596247e59011b983a792b4d1', 'network_id': 'e7361c7c-a665-45f5-8bc8-4b673af0ff7b', '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': 'c6b879c3596247e59011b983a792b4d1'}} 2025-05-13 12:34:10,724 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a04b4675-318a-4c33-9c54-689aaedfb6b7', 'name': '', 'tenant_id': 'c6b879c3596247e59011b983a792b4d1', 'network_id': 'e7361c7c-a665-45f5-8bc8-4b673af0ff7b', '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': 'c6b879c3596247e59011b983a792b4d1'}} 2025-05-13 12:34:10,750 - INFO - Created VN ctest-vn-30449591 2025-05-13 12:34:10,807 - DEBUG - VN ctest-vn-30449591 UUID is e7361c7c-a665-45f5-8bc8-4b673af0ff7b 2025-05-13 12:34:11,262 - DEBUG - Response for create_port : {'port': {'name': '9ce2cc47-17ed-4ed5-8392-969d68ea1f5f', 'id': '9ce2cc47-17ed-4ed5-8392-969d68ea1f5f', 'tenant_id': 'c6b879c3596247e59011b983a792b4d1', 'network_id': 'e7361c7c-a665-45f5-8bc8-4b673af0ff7b', 'mac_address': '02:9c:e2:cc:47:17', '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': '80732411-e4f9-455d-adcd-07e1cbd499f9'}], 'security_groups': ['7a30c1e7-0053-4bd5-b865-2b8a1b811652'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c6b879c3596247e59011b983a792b4d1'}} 2025-05-13 12:34:11,481 - DEBUG - Response for create_port : {'port': {'name': 'c4fa8380-3898-4777-b811-852644f4c169', 'id': 'c4fa8380-3898-4777-b811-852644f4c169', 'tenant_id': 'c6b879c3596247e59011b983a792b4d1', 'network_id': 'e7361c7c-a665-45f5-8bc8-4b673af0ff7b', 'mac_address': '02:c4:fa:83:80:38', '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': 'a04b4675-318a-4c33-9c54-689aaedfb6b7'}], 'security_groups': ['7a30c1e7-0053-4bd5-b865-2b8a1b811652'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c6b879c3596247e59011b983a792b4d1'}} 2025-05-13 12:34:12,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3307-1) 2025-05-13 12:34:12,754 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3307-1) 2025-05-13 12:34:14,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3307-1) 2025-05-13 12:34:14,143 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 12:34:14,152 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8647435-a91a-4a47-800f-d6024ca4dfb1 2025-05-13 12:34:14,169 - DEBUG - Requesting: http://10.0.0.33:8082/project/c6b879c3-5962-47e5-9011-b983a792b4d1 2025-05-13 12:34:14,248 - DEBUG - Requesting: http://10.0.0.33:8082/network-ipam/44ab9d87-8b5f-4b69-a69e-42ae19dc89be 2025-05-13 12:34:14,261 - INFO - Verifications in API Server for IPAM: ctest-ipam-84238707 passed 2025-05-13 12:34:14,268 - DEBUG - Control-node 10.0.0.33 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-87982568:ctest-ipam-84238707', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-87982568', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4948221821081045865', 'uuid-lslong': '12006106972141947326'}, 'enable': 'true', 'created': '2025-05-13T12:34:09', 'last-modified': '2025-05-13T12:34:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.306059'} 2025-05-13 12:34:14,268 - INFO - Verifications in Control node for IPAM: ctest-ipam-84238707 passed 2025-05-13 12:34:14,268 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 12:34:14,277 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8647435-a91a-4a47-800f-d6024ca4dfb1 2025-05-13 12:34:14,291 - DEBUG - Requesting: http://10.0.0.33:8082/project/c6b879c3-5962-47e5-9011-b983a792b4d1 2025-05-13 12:34:14,376 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e7361c7c-a665-45f5-8bc8-4b673af0ff7b 2025-05-13 12:34:14,393 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e7361c7c-a665-45f5-8bc8-4b673af0ff7b 2025-05-13 12:34:14,411 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e8260521-353f-4387-b1e7-7dce2926cf32 2025-05-13 12:34:14,422 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e8260521-353f-4387-b1e7-7dce2926cf32 2025-05-13 12:34:14,433 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/82f7e2bc-07c1-44c0-9710-34720bda1516 2025-05-13 12:34:14,443 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-13 12:34:14,443 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e7361c7c-a665-45f5-8bc8-4b673af0ff7b 2025-05-13 12:34:14,457 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e8260521-353f-4387-b1e7-7dce2926cf32 2025-05-13 12:34:14,481 - INFO - Verified VN network id 8 for VN e7361c7c-a665-45f5-8bc8-4b673af0ff7b 2025-05-13 12:34:14,482 - INFO - Verifications in API Server for VN ctest-vn-30449591 passed 2025-05-13 12:34:14,482 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e7361c7c-a665-45f5-8bc8-4b673af0ff7b 2025-05-13 12:34:14,500 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e8260521-353f-4387-b1e7-7dce2926cf32 2025-05-13 12:34:14,513 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e8260521-353f-4387-b1e7-7dce2926cf32 2025-05-13 12:34:14,522 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/82f7e2bc-07c1-44c0-9710-34720bda1516 2025-05-13 12:34:14,539 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-87982568:ctest-vn-30449591', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-87982568', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16660535193196905973', 'uuid-lslong': '10072383473356701563'}, 'enable': 'true', 'created': '2025-05-13T12:34:10', 'last-modified': '2025-05-13T12:34:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.853687'} 2025-05-13 12:34:14,547 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-13 12:34:14,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30449591 passed 2025-05-13 12:34:14,548 - DEBUG - ====Verifying policy data for ctest-vn-30449591 in API_Server ====== 2025-05-13 12:34:14,548 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 12:34:14,556 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8647435-a91a-4a47-800f-d6024ca4dfb1 2025-05-13 12:34:14,570 - DEBUG - Requesting: http://10.0.0.33:8082/project/c6b879c3-5962-47e5-9011-b983a792b4d1 2025-05-13 12:34:14,653 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e7361c7c-a665-45f5-8bc8-4b673af0ff7b 2025-05-13 12:34:14,666 - DEBUG - =>VN ctest-vn-30449591 has no policy to be verified 2025-05-13 12:34:14,666 - DEBUG - Verifying the vn in opserver 2025-05-13 12:34:14,666 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-87982568:ctest-vn-30449591 virtual network link through opserver 10.0.0.33 2025-05-13 12:34:14,666 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-05-13 12:34:15,012 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-05-13 12:34:15,084 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-87982568:ctest-vn-30449591', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-87982568:ctest-vn-30449591?flat'} 2025-05-13 12:34:15,084 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-87982568:ctest-vn-30449591 is found in opserver 2025-05-13 12:34:15,097 - DEBUG - Do not have enough data to verify VN in agent 2025-05-13 12:34:15,103 - DEBUG - VRF ids for VN ctest-vn-30449591: {} 2025-05-13 12:34:15,103 - INFO - Waiting for VM ctest-TestBasicVMVN-87982568-66392082 to be up.. 2025-05-13 12:34:15,170 - DEBUG - VM is in ERROR state now 2025-05-13 12:34:15,170 - ERROR - VM in error state. 2025-05-13 12:34:15,170 - ERROR - VM is not in ACTIVE state 2025-05-13 12:34:15,273 - ERROR - Fatal Nova Exception while getting VM detail 2025-05-13 12:34:15,273 - DEBUG - None 2025-05-13 12:34:15,274 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-87982568-12702789 in state BUILD 2025-05-13 12:34:15,274 - INFO - Deleting VM ctest-TestBasicVMVN-87982568-12702789 2025-05-13 12:34:15,275 - ERROR - VM ctest-TestBasicVMVN-87982568-12702789 has failed to come up 2025-05-13 12:34:15,275 - ERROR - Nova failed to get host of the VM 2025-05-13 12:34:15,471 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-87982568-43576987 in state BUILD 2025-05-13 12:34:15,471 - INFO - Deleting VM ctest-TestBasicVMVN-87982568-43576987 2025-05-13 12:34:15,471 - ERROR - VM ctest-TestBasicVMVN-87982568-43576987 has failed to come up 2025-05-13 12:34:15,471 - ERROR - Nova failed to get host of the VM 2025-05-13 12:34:15,673 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-87982568-66392082 in state ERROR 2025-05-13 12:34:15,673 - INFO - Deleting VM ctest-TestBasicVMVN-87982568-66392082 2025-05-13 12:34:15,673 - ERROR - VM ctest-TestBasicVMVN-87982568-66392082 has failed to come up 2025-05-13 12:34:15,673 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-05-13T12:34:12Z', '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-05-13 12:34:15,673 - INFO - Deleting VN ctest-vn-30449591 2025-05-13 12:34:15,821 - DEBUG - Response for delete_port : () 2025-05-13 12:34:15,961 - DEBUG - Response for delete_port : () 2025-05-13 12:34:16,125 - DEBUG - Response for deleting network () 2025-05-13 12:34:16,126 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e8260521-353f-4387-b1e7-7dce2926cf32 2025-05-13 12:34:16,135 - DEBUG - Response Code: 404 2025-05-13 12:34:16,135 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-13 12:34:16,143 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8647435-a91a-4a47-800f-d6024ca4dfb1 2025-05-13 12:34:16,207 - DEBUG - Requesting: http://10.0.0.33:8082/project/c6b879c3-5962-47e5-9011-b983a792b4d1 2025-05-13 12:34:16,288 - INFO - Validated that VN ctest-vn-30449591 is not found in API Server 2025-05-13 12:34:16,302 - DEBUG - VN ctest-vn-30449591 is not present in Agent 10.0.0.33 2025-05-13 12:34:16,302 - INFO - Validated that VN ctest-vn-30449591 is not in any agent 2025-05-13 12:34:16,324 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30449591 info 2025-05-13 12:34:16,414 - INFO - IPAM: ctest-ipam-84238707 is not found in API Server 2025-05-13 12:34:16,431 - INFO - IPAM:ctest-ipam-84238707 is not found in control node 2025-05-13 12:34:16,683 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Tue May 13 12:34:15 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-05-13 12:34:16,691 - DEBUG - No XMPP flaps were noticed during the test 2025-05-13 12:34:16,691 - INFO -
2025-05-13 12:34:16,691 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:07]
2025-05-13 12:34:16,691 - INFO - -------------------------------------------------------------------------------- 2025-05-13 12:34:17,481 - INFO - Deleted project: ctest-TestBasicVMVN-87982568, ID : c6b879c3-5962-47e5-9011-b983a792b4d1