2025-03-28 20:17:42,472 - INFO - Domain Default found not creating 2025-03-28 20:17:42,651 - INFO - Project ctest-TestBasicVMVN-74567713 not found, creating it 2025-03-28 20:17:43,176 - INFO - Created Project:ctest-TestBasicVMVN-74567713, ID : 30878a27-30b4-4af0-a3d0-f409f3d2bb56 2025-03-28 20:17:44,751 - INFO - ================================================================================ 2025-03-28 20:17:44,751 - INFO - STARTING TEST : test_generic_link_local_service 2025-03-28 20:17:44,751 - 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-28 20:17:45,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.12': '0'}} with 2025-03-28 20:17:45,008 - INFO - Initial checks done. Running the testcase now 2025-03-28 20:17:45,008 - INFO - 2025-03-28 20:17:45,617 - DEBUG - Response for create_network : {'network': {'id': '0940c5fd-c123-483d-9771-29a73708e58c', 'name': 'ctest-vn2_metadata-86363636', 'tenant_id': '30878a2730b44af0a3d0f409f3d2bb56', 'project_id': '30878a2730b44af0a3d0f409f3d2bb56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-74567713', 'ctest-vn2_metadata-86363636'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 20:17:45,797 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d0f4994-c07d-483e-ba3d-51a360a3e685', 'name': '', 'tenant_id': '30878a2730b44af0a3d0f409f3d2bb56', 'network_id': '0940c5fd-c123-483d-9771-29a73708e58c', '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': '30878a2730b44af0a3d0f409f3d2bb56'}} 2025-03-28 20:17:45,817 - INFO - Created VN ctest-vn2_metadata-86363636 2025-03-28 20:17:45,873 - DEBUG - VN ctest-vn2_metadata-86363636 UUID is 0940c5fd-c123-483d-9771-29a73708e58c 2025-03-28 20:17:46,118 - DEBUG - Services list from nova: [, , ] 2025-03-28 20:17:47,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2995-1) 2025-03-28 20:17:47,377 - DEBUG - Link local service introspect added 2025-03-28 20:17:47,436 - DEBUG - VM is in ERROR state now 2025-03-28 20:17:47,436 - ERROR - VM in error state. 2025-03-28 20:17:47,493 - DEBUG - VM is in ERROR state now 2025-03-28 20:17:47,493 - ERROR - VM in error state. 2025-03-28 20:17:47,601 - DEBUG - Link local service introspect removed 2025-03-28 20:17:47,601 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-74567713-45657865 in state ERROR 2025-03-28 20:17:47,601 - INFO - Deleting VM ctest-TestBasicVMVN-74567713-45657865 2025-03-28 20:17:47,623 - ERROR - VM ctest-TestBasicVMVN-74567713-45657865 has failed to come up 2025-03-28 20:17:47,623 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-03-28T20:17:47Z', '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-28 20:17:47,623 - INFO - Deleting VN ctest-vn2_metadata-86363636 2025-03-28 20:17:47,731 - DEBUG - Response for deleting network () 2025-03-28 20:17:47,981 - 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-28 20:17:47,989 - DEBUG - No XMPP flaps were noticed during the test 2025-03-28 20:17:47,989 - INFO - 2025-03-28 20:17:47,989 - INFO - END TEST : test_generic_link_local_service : FAILED[0:00:03] 2025-03-28 20:17:47,989 - INFO - -------------------------------------------------------------------------------- 2025-03-28 20:17:47,994 - INFO - ================================================================================ 2025-03-28 20:17:47,995 - INFO - STARTING TEST : test_metadata_service 2025-03-28 20:17:47,995 - 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-28 20:17:48,275 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.12': '0'}} with 2025-03-28 20:17:48,275 - INFO - Initial checks done. Running the testcase now 2025-03-28 20:17:48,275 - INFO - 2025-03-28 20:17:48,275 - DEBUG - Requesting: http://10.0.0.40:8082/global-vrouter-configs 2025-03-28 20:17:48,608 - DEBUG - Requesting: http://10.0.0.40:8082/global-vrouter-configs 2025-03-28 20:17:48,646 - DEBUG - Requesting: http://10.0.0.40:8082/global-vrouter-config/3c6e569b-d411-45d2-9c1e-ba7360eb4f22 2025-03-28 20:17:48,844 - DEBUG - Response for create_network : {'network': {'id': '2d2a46a7-089b-48d7-8603-7d03139e8869', 'name': 'ctest-vn-29477839', 'tenant_id': '30878a2730b44af0a3d0f409f3d2bb56', 'project_id': '30878a2730b44af0a3d0f409f3d2bb56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-74567713', 'ctest-vn-29477839'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 20:17:49,009 - DEBUG - Response for create_subnet : {'subnet': {'id': '918f69ff-5f88-43d1-858c-ac55f93b52e3', 'name': '', 'tenant_id': '30878a2730b44af0a3d0f409f3d2bb56', 'network_id': '2d2a46a7-089b-48d7-8603-7d03139e8869', 'ip_version': 4, 'cidr': '125.30.110.64/26', 'allocation_pools': [{'start': '125.30.110.66', 'end': '125.30.110.126'}], 'gateway_ip': '125.30.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.30.110.66', 'tags': [], 'project_id': '30878a2730b44af0a3d0f409f3d2bb56'}} 2025-03-28 20:17:49,028 - INFO - Created VN ctest-vn-29477839 2025-03-28 20:17:49,081 - DEBUG - VN ctest-vn-29477839 UUID is 2d2a46a7-089b-48d7-8603-7d03139e8869 2025-03-28 20:17:50,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2995-1) 2025-03-28 20:17:50,401 - INFO - Waiting for VM ctest-TestBasicVMVN-74567713-45700951 to be up.. 2025-03-28 20:17:50,460 - DEBUG - VM is in ERROR state now 2025-03-28 20:17:50,460 - ERROR - VM in error state. 2025-03-28 20:17:50,460 - ERROR - VM is not in ACTIVE state 2025-03-28 20:17:50,547 - ERROR - Fatal Nova Exception while getting VM detail 2025-03-28 20:17:50,547 - DEBUG - None 2025-03-28 20:17:50,549 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-74567713-45700951 in state ERROR 2025-03-28 20:17:50,549 - INFO - Deleting VM ctest-TestBasicVMVN-74567713-45700951 2025-03-28 20:17:50,549 - ERROR - VM ctest-TestBasicVMVN-74567713-45700951 has failed to come up 2025-03-28 20:17:50,549 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-03-28T20:17:50Z', '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-28 20:17:50,549 - INFO - Deleting VN ctest-vn-29477839 2025-03-28 20:17:50,671 - DEBUG - Response for deleting network () 2025-03-28 20:17:50,921 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Fri Mar 28 20:17:50 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-28 20:17:50,927 - DEBUG - No XMPP flaps were noticed during the test 2025-03-28 20:17:50,927 - INFO - 2025-03-28 20:17:50,927 - INFO - END TEST : test_metadata_service : FAILED[0:00:03] 2025-03-28 20:17:50,928 - INFO - -------------------------------------------------------------------------------- 2025-03-28 20:17:50,931 - INFO - ================================================================================ 2025-03-28 20:17:50,931 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2025-03-28 20:17:50,931 - 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-28 20:17:51,235 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.12': '0'}} with 2025-03-28 20:17:51,235 - INFO - Initial checks done. Running the testcase now 2025-03-28 20:17:51,235 - INFO - 2025-03-28 20:17:51,760 - DEBUG - Response for create_network : {'network': {'id': '2dd443a5-854b-426c-bad7-7be904511e91', 'name': 'ctest-vn-59409557', 'tenant_id': '30878a2730b44af0a3d0f409f3d2bb56', 'project_id': '30878a2730b44af0a3d0f409f3d2bb56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-74567713', 'ctest-vn-59409557'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 20:17:51,985 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db2e7cb3-60eb-4c2a-a0b1-b9d703fb6665', 'name': '', 'tenant_id': '30878a2730b44af0a3d0f409f3d2bb56', 'network_id': '2dd443a5-854b-426c-bad7-7be904511e91', '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': '30878a2730b44af0a3d0f409f3d2bb56'}} 2025-03-28 20:17:52,125 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f41b9ad-e827-40fb-b5e3-a9e8469b3a7d', 'name': '', 'tenant_id': '30878a2730b44af0a3d0f409f3d2bb56', 'network_id': '2dd443a5-854b-426c-bad7-7be904511e91', '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': '30878a2730b44af0a3d0f409f3d2bb56'}} 2025-03-28 20:17:52,146 - INFO - Created VN ctest-vn-59409557 2025-03-28 20:17:52,201 - DEBUG - VN ctest-vn-59409557 UUID is 2dd443a5-854b-426c-bad7-7be904511e91 2025-03-28 20:17:52,581 - DEBUG - Response for create_port : {'port': {'name': '5aff243b-dc0a-4698-b04b-ba6520d131d8', 'id': '5aff243b-dc0a-4698-b04b-ba6520d131d8', 'tenant_id': '30878a2730b44af0a3d0f409f3d2bb56', 'network_id': '2dd443a5-854b-426c-bad7-7be904511e91', 'mac_address': '02:5a:ff:24:3b:dc', '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': 'db2e7cb3-60eb-4c2a-a0b1-b9d703fb6665'}], 'security_groups': ['15de4760-edfe-4c21-b4a5-9f7be6318032'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '30878a2730b44af0a3d0f409f3d2bb56'}} 2025-03-28 20:17:52,767 - DEBUG - Response for create_port : {'port': {'name': '672ea3c8-a062-4e8e-93ce-66f731c3d7ea', 'id': '672ea3c8-a062-4e8e-93ce-66f731c3d7ea', 'tenant_id': '30878a2730b44af0a3d0f409f3d2bb56', 'network_id': '2dd443a5-854b-426c-bad7-7be904511e91', 'mac_address': '02:67:2e:a3:c8:a0', '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': '6f41b9ad-e827-40fb-b5e3-a9e8469b3a7d'}], 'security_groups': ['15de4760-edfe-4c21-b4a5-9f7be6318032'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '30878a2730b44af0a3d0f409f3d2bb56'}} 2025-03-28 20:17:53,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2995-1) 2025-03-28 20:17:53,719 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2995-1) 2025-03-28 20:17:54,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2995-1) 2025-03-28 20:17:54,965 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-03-28 20:17:54,971 - DEBUG - Requesting: http://10.0.0.40:8082/domain/35705e6e-5b70-43d8-86f5-71c3c2412721 2025-03-28 20:17:54,985 - DEBUG - Requesting: http://10.0.0.40:8082/project/30878a27-30b4-4af0-a3d0-f409f3d2bb56 2025-03-28 20:17:55,069 - DEBUG - Requesting: http://10.0.0.40:8082/network-ipam/3083f827-aa93-4f3a-9de3-fa711e54eb29 2025-03-28 20:17:55,080 - INFO - Verifications in API Server for IPAM: ctest-ipam-83447683 passed 2025-03-28 20:17:55,087 - DEBUG - Control-node 10.0.0.40 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-74567713:ctest-ipam-83447683', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-74567713', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3495910585018830650', 'uuid-lslong': '11377212447415135017'}, 'enable': 'true', 'created': '2025-03-28T20:17:51', 'last-modified': '2025-03-28T20:17:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.610425'} 2025-03-28 20:17:55,087 - INFO - Verifications in Control node for IPAM: ctest-ipam-83447683 passed 2025-03-28 20:17:55,088 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-03-28 20:17:55,095 - DEBUG - Requesting: http://10.0.0.40:8082/domain/35705e6e-5b70-43d8-86f5-71c3c2412721 2025-03-28 20:17:55,111 - DEBUG - Requesting: http://10.0.0.40:8082/project/30878a27-30b4-4af0-a3d0-f409f3d2bb56 2025-03-28 20:17:55,188 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/2dd443a5-854b-426c-bad7-7be904511e91 2025-03-28 20:17:55,203 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/2dd443a5-854b-426c-bad7-7be904511e91 2025-03-28 20:17:55,218 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/f4f02c19-a4ae-46d7-8625-5bea0068b435 2025-03-28 20:17:55,227 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/f4f02c19-a4ae-46d7-8625-5bea0068b435 2025-03-28 20:17:55,235 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/40f9f01b-66f9-499f-afc9-f15672d7599e 2025-03-28 20:17:55,242 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-28 20:17:55,242 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/2dd443a5-854b-426c-bad7-7be904511e91 2025-03-28 20:17:55,252 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/f4f02c19-a4ae-46d7-8625-5bea0068b435 2025-03-28 20:17:55,267 - INFO - Verified VN network id 8 for VN 2dd443a5-854b-426c-bad7-7be904511e91 2025-03-28 20:17:55,267 - INFO - Verifications in API Server for VN ctest-vn-59409557 passed 2025-03-28 20:17:55,267 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/2dd443a5-854b-426c-bad7-7be904511e91 2025-03-28 20:17:55,279 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/f4f02c19-a4ae-46d7-8625-5bea0068b435 2025-03-28 20:17:55,288 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/f4f02c19-a4ae-46d7-8625-5bea0068b435 2025-03-28 20:17:55,297 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/40f9f01b-66f9-499f-afc9-f15672d7599e 2025-03-28 20:17:55,314 - DEBUG - Control-node 10.0.0.40 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-74567713:ctest-vn-59409557', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-74567713', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3302338804954382956', 'uuid-lslong': '13463365851777408657'}, 'enable': 'true', 'created': '2025-03-28T20:17:51', 'last-modified': '2025-03-28T20:17:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.224823'} 2025-03-28 20:17:55,323 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-28 20:17:55,323 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59409557 passed 2025-03-28 20:17:55,323 - DEBUG - ====Verifying policy data for ctest-vn-59409557 in API_Server ====== 2025-03-28 20:17:55,323 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-03-28 20:17:55,329 - DEBUG - Requesting: http://10.0.0.40:8082/domain/35705e6e-5b70-43d8-86f5-71c3c2412721 2025-03-28 20:17:55,343 - DEBUG - Requesting: http://10.0.0.40:8082/project/30878a27-30b4-4af0-a3d0-f409f3d2bb56 2025-03-28 20:17:55,427 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/2dd443a5-854b-426c-bad7-7be904511e91 2025-03-28 20:17:55,439 - DEBUG - =>VN ctest-vn-59409557 has no policy to be verified 2025-03-28 20:17:55,439 - DEBUG - Verifying the vn in opserver 2025-03-28 20:17:55,440 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-74567713:ctest-vn-59409557 virtual network link through opserver 10.0.0.40 2025-03-28 20:17:55,440 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2025-03-28 20:17:55,779 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2025-03-28 20:17:55,844 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-74567713:ctest-vn-59409557', 'href': 'http://10.0.0.40:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-74567713:ctest-vn-59409557?flat'} 2025-03-28 20:17:55,844 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-74567713:ctest-vn-59409557 is found in opserver 2025-03-28 20:17:55,857 - DEBUG - Do not have enough data to verify VN in agent 2025-03-28 20:17:55,863 - DEBUG - VRF ids for VN ctest-vn-59409557: {} 2025-03-28 20:17:55,863 - INFO - Waiting for VM ctest-TestBasicVMVN-74567713-43125072 to be up.. 2025-03-28 20:17:55,925 - DEBUG - VM is in ERROR state now 2025-03-28 20:17:55,925 - ERROR - VM in error state. 2025-03-28 20:17:55,925 - ERROR - VM is not in ACTIVE state 2025-03-28 20:17:56,013 - ERROR - Fatal Nova Exception while getting VM detail 2025-03-28 20:17:56,014 - DEBUG - None 2025-03-28 20:17:56,015 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-74567713-20956231 in state BUILD 2025-03-28 20:17:56,015 - INFO - Deleting VM ctest-TestBasicVMVN-74567713-20956231 2025-03-28 20:17:56,015 - ERROR - VM ctest-TestBasicVMVN-74567713-20956231 has failed to come up 2025-03-28 20:17:56,015 - ERROR - Nova failed to get host of the VM 2025-03-28 20:17:56,177 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-74567713-91407766 in state BUILD 2025-03-28 20:17:56,177 - INFO - Deleting VM ctest-TestBasicVMVN-74567713-91407766 2025-03-28 20:17:56,177 - ERROR - VM ctest-TestBasicVMVN-74567713-91407766 has failed to come up 2025-03-28 20:17:56,177 - ERROR - Nova failed to get host of the VM 2025-03-28 20:17:56,344 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-74567713-43125072 in state ERROR 2025-03-28 20:17:56,345 - INFO - Deleting VM ctest-TestBasicVMVN-74567713-43125072 2025-03-28 20:17:56,345 - ERROR - VM ctest-TestBasicVMVN-74567713-43125072 has failed to come up 2025-03-28 20:17:56,345 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-03-28T20:17: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-03-28 20:17:56,345 - INFO - Deleting VN ctest-vn-59409557 2025-03-28 20:17:56,467 - DEBUG - Response for delete_port : () 2025-03-28 20:17:56,581 - DEBUG - Response for delete_port : () 2025-03-28 20:17:56,708 - DEBUG - Response for deleting network () 2025-03-28 20:17:56,708 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/f4f02c19-a4ae-46d7-8625-5bea0068b435 2025-03-28 20:17:56,715 - DEBUG - Response Code: 404 2025-03-28 20:17:56,716 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-03-28 20:17:56,721 - DEBUG - Requesting: http://10.0.0.40:8082/domain/35705e6e-5b70-43d8-86f5-71c3c2412721 2025-03-28 20:17:56,779 - DEBUG - Requesting: http://10.0.0.40:8082/project/30878a27-30b4-4af0-a3d0-f409f3d2bb56 2025-03-28 20:17:56,852 - INFO - Validated that VN ctest-vn-59409557 is not found in API Server 2025-03-28 20:17:56,865 - DEBUG - VN ctest-vn-59409557 is not present in Agent 10.0.0.40 2025-03-28 20:17:56,865 - INFO - Validated that VN ctest-vn-59409557 is not in any agent 2025-03-28 20:17:56,882 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59409557 info 2025-03-28 20:17:56,965 - INFO - IPAM: ctest-ipam-83447683 is not found in API Server 2025-03-28 20:17:56,977 - INFO - IPAM:ctest-ipam-83447683 is not found in control node 2025-03-28 20:17:57,225 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Fri Mar 28 20:17:56 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-28 20:17:57,233 - DEBUG - No XMPP flaps were noticed during the test 2025-03-28 20:17:57,233 - INFO - 2025-03-28 20:17:57,233 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:07] 2025-03-28 20:17:57,233 - INFO - -------------------------------------------------------------------------------- 2025-03-28 20:17:57,955 - INFO - Deleted project: ctest-TestBasicVMVN-74567713, ID : 30878a27-30b4-4af0-a3d0-f409f3d2bb56