2025-01-08 19:50:19,835 - INFO - Domain Default found not creating
2025-01-08 19:50:19,968 - INFO - Project ctest-TestBasicVMVN-51761683 not found, creating it
2025-01-08 19:50:20,515 - INFO - Created Project:ctest-TestBasicVMVN-51761683, ID : 3a012b44-b325-48fe-9937-fa188f874491
2025-01-08 19:50:22,516 - INFO - ================================================================================
2025-01-08 19:50:22,517 - INFO - STARTING TEST : test_generic_link_local_service
2025-01-08 19:50:22,517 - 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-01-08 19:50:22,782 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with
2025-01-08 19:50:22,782 - INFO - Initial checks done. Running the testcase now
2025-01-08 19:50:22,782 - INFO -
2025-01-08 19:50:23,304 - DEBUG - Response for create_network : {'network': {'id': '6e8cfe1a-565b-4916-b02e-5cadaecb638a', 'name': 'ctest-vn2_metadata-85919012', 'tenant_id': '3a012b44b32548fe9937fa188f874491', 'project_id': '3a012b44b32548fe9937fa188f874491', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-51761683', 'ctest-vn2_metadata-85919012'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 19:50:23,455 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e129535d-a321-4513-bc33-96803ee11b4e', 'name': '', 'tenant_id': '3a012b44b32548fe9937fa188f874491', 'network_id': '6e8cfe1a-565b-4916-b02e-5cadaecb638a', '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': '3a012b44b32548fe9937fa188f874491'}}
2025-01-08 19:50:23,471 - INFO - Created VN ctest-vn2_metadata-85919012
2025-01-08 19:50:23,524 - DEBUG - VN ctest-vn2_metadata-85919012 UUID is 6e8cfe1a-565b-4916-b02e-5cadaecb638a
2025-01-08 19:50:23,743 - DEBUG - Services list from nova: [, , ]
2025-01-08 19:50:24,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2566-1)
2025-01-08 19:50:24,899 - DEBUG - Link local service introspect added
2025-01-08 19:50:24,953 - DEBUG - VM is in ERROR state now
2025-01-08 19:50:24,954 - ERROR - VM in error state.
2025-01-08 19:50:25,004 - DEBUG - VM is in ERROR state now
2025-01-08 19:50:25,004 - ERROR - VM in error state.
2025-01-08 19:50:25,107 - DEBUG - Link local service introspect removed
2025-01-08 19:50:25,108 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-51761683-90708716 in state ERROR
2025-01-08 19:50:25,108 - INFO - Deleting VM ctest-TestBasicVMVN-51761683-90708716
2025-01-08 19:50:25,126 - ERROR - VM ctest-TestBasicVMVN-51761683-90708716 has failed to come up
2025-01-08 19:50:25,126 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-01-08T19:50:24Z', '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-01-08 19:50:25,127 - INFO - Deleting VN ctest-vn2_metadata-85919012
2025-01-08 19:50:25,239 - DEBUG - Response for deleting network ()
2025-01-08 19:50:25,491 - 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-01-08 19:50:25,499 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 19:50:25,499 - INFO -
2025-01-08 19:50:25,499 - INFO - END TEST : test_generic_link_local_service : FAILED[0:00:03]
2025-01-08 19:50:25,499 - INFO - --------------------------------------------------------------------------------
2025-01-08 19:50:25,503 - INFO - ================================================================================
2025-01-08 19:50:25,503 - INFO - STARTING TEST : test_metadata_service
2025-01-08 19:50:25,503 - 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-01-08 19:50:25,788 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with
2025-01-08 19:50:25,788 - INFO - Initial checks done. Running the testcase now
2025-01-08 19:50:25,789 - INFO -
2025-01-08 19:50:25,789 - DEBUG - Requesting: http://10.0.0.17:8082/global-vrouter-configs
2025-01-08 19:50:26,080 - DEBUG - Requesting: http://10.0.0.17:8082/global-vrouter-configs
2025-01-08 19:50:26,107 - DEBUG - Requesting: http://10.0.0.17:8082/global-vrouter-config/b131677e-0bcb-4712-ab45-206415daccff
2025-01-08 19:50:26,294 - DEBUG - Response for create_network : {'network': {'id': '3efcfa00-5b43-4ebf-8670-1826add8ff2c', 'name': 'ctest-vn-71533102', 'tenant_id': '3a012b44b32548fe9937fa188f874491', 'project_id': '3a012b44b32548fe9937fa188f874491', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-51761683', 'ctest-vn-71533102'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 19:50:26,523 - DEBUG - Response for create_subnet : {'subnet': {'id': '823324ee-8110-426c-9dfa-e38187cf44fc', 'name': '', 'tenant_id': '3a012b44b32548fe9937fa188f874491', 'network_id': '3efcfa00-5b43-4ebf-8670-1826add8ff2c', 'ip_version': 4, 'cidr': '222.30.15.192/26', 'allocation_pools': [{'start': '222.30.15.194', 'end': '222.30.15.254'}], 'gateway_ip': '222.30.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.30.15.194', 'tags': [], 'project_id': '3a012b44b32548fe9937fa188f874491'}}
2025-01-08 19:50:26,541 - INFO - Created VN ctest-vn-71533102
2025-01-08 19:50:26,596 - DEBUG - VN ctest-vn-71533102 UUID is 3efcfa00-5b43-4ebf-8670-1826add8ff2c
2025-01-08 19:50:27,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2566-1)
2025-01-08 19:50:27,851 - INFO - Waiting for VM ctest-TestBasicVMVN-51761683-34886165 to be up..
2025-01-08 19:50:27,904 - DEBUG - VM is in ERROR state now
2025-01-08 19:50:27,905 - ERROR - VM in error state.
2025-01-08 19:50:27,905 - ERROR - VM is not in ACTIVE state
2025-01-08 19:50:27,974 - ERROR - Fatal Nova Exception while getting VM detail
2025-01-08 19:50:27,974 - DEBUG - None
2025-01-08 19:50:27,975 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-51761683-34886165 in state ERROR
2025-01-08 19:50:27,975 - INFO - Deleting VM ctest-TestBasicVMVN-51761683-34886165
2025-01-08 19:50:27,975 - ERROR - VM ctest-TestBasicVMVN-51761683-34886165 has failed to come up
2025-01-08 19:50:27,975 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-01-08T19:50:27Z', '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-01-08 19:50:27,976 - INFO - Deleting VN ctest-vn-71533102
2025-01-08 19:50:28,089 - DEBUG - Response for deleting network ()
2025-01-08 19:50:28,335 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Wed Jan 8 19:50:27 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/scripts/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-01-08 19:50:28,342 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 19:50:28,342 - INFO -
2025-01-08 19:50:28,342 - INFO - END TEST : test_metadata_service : FAILED[0:00:03]
2025-01-08 19:50:28,342 - INFO - --------------------------------------------------------------------------------
2025-01-08 19:50:28,344 - INFO - ================================================================================
2025-01-08 19:50:28,345 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets
2025-01-08 19:50:28,345 - 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-01-08 19:50:28,633 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with
2025-01-08 19:50:28,633 - INFO - Initial checks done. Running the testcase now
2025-01-08 19:50:28,633 - INFO -
2025-01-08 19:50:29,121 - DEBUG - Response for create_network : {'network': {'id': 'ed27e4cc-60f5-438d-811a-b3b5865f3fca', 'name': 'ctest-vn-24543668', 'tenant_id': '3a012b44b32548fe9937fa188f874491', 'project_id': '3a012b44b32548fe9937fa188f874491', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-51761683', 'ctest-vn-24543668'], 'port_security_enabled': True, 'description': ''}}
2025-01-08 19:50:29,280 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a421fc91-8b99-4747-966d-d25a0283be64', 'name': '', 'tenant_id': '3a012b44b32548fe9937fa188f874491', 'network_id': 'ed27e4cc-60f5-438d-811a-b3b5865f3fca', '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': '3a012b44b32548fe9937fa188f874491'}}
2025-01-08 19:50:29,418 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cc037fe-4e9f-4b02-b8d1-8467892a481c', 'name': '', 'tenant_id': '3a012b44b32548fe9937fa188f874491', 'network_id': 'ed27e4cc-60f5-438d-811a-b3b5865f3fca', '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': '3a012b44b32548fe9937fa188f874491'}}
2025-01-08 19:50:29,435 - INFO - Created VN ctest-vn-24543668
2025-01-08 19:50:29,487 - DEBUG - VN ctest-vn-24543668 UUID is ed27e4cc-60f5-438d-811a-b3b5865f3fca
2025-01-08 19:50:29,852 - DEBUG - Response for create_port : {'port': {'name': 'b2f7e638-aa24-414a-b7b8-75b3a7fdf6c8', 'id': 'b2f7e638-aa24-414a-b7b8-75b3a7fdf6c8', 'tenant_id': '3a012b44b32548fe9937fa188f874491', 'network_id': 'ed27e4cc-60f5-438d-811a-b3b5865f3fca', 'mac_address': '02:b2:f7:e6:38:aa', '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': 'a421fc91-8b99-4747-966d-d25a0283be64'}], 'security_groups': ['c91b4465-1809-4703-a438-495ef9a26106'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3a012b44b32548fe9937fa188f874491'}}
2025-01-08 19:50:30,035 - DEBUG - Response for create_port : {'port': {'name': '8279a862-7603-4e01-904f-70301551c269', 'id': '8279a862-7603-4e01-904f-70301551c269', 'tenant_id': '3a012b44b32548fe9937fa188f874491', 'network_id': 'ed27e4cc-60f5-438d-811a-b3b5865f3fca', 'mac_address': '02:82:79:a8:62:76', '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': '8cc037fe-4e9f-4b02-b8d1-8467892a481c'}], 'security_groups': ['c91b4465-1809-4703-a438-495ef9a26106'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3a012b44b32548fe9937fa188f874491'}}
2025-01-08 19:50:30,491 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2566-1)
2025-01-08 19:50:30,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2566-1)
2025-01-08 19:50:32,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2566-1)
2025-01-08 19:50:32,100 - DEBUG - Requesting: http://10.0.0.17:8082/domains
2025-01-08 19:50:32,106 - DEBUG - Requesting: http://10.0.0.17:8082/domain/1f9d8351-76da-43cf-b5c2-c371431d23d2
2025-01-08 19:50:32,119 - DEBUG - Requesting: http://10.0.0.17:8082/project/3a012b44-b325-48fe-9937-fa188f874491
2025-01-08 19:50:32,193 - DEBUG - Requesting: http://10.0.0.17:8082/network-ipam/35a32e46-f0c2-40b5-8067-c5cf29c3ce6d
2025-01-08 19:50:32,206 - INFO - Verifications in API Server for IPAM: ctest-ipam-68245357 passed
2025-01-08 19:50:32,212 - DEBUG - Control-node 10.0.0.17 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-51761683:ctest-ipam-68245357', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-51761683', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3864983787435868341', 'uuid-lslong': '9252581453005573741'}, 'enable': 'true', 'created': '2025-01-08T19:50:28', 'last-modified': '2025-01-08T19:50:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.351919'}
2025-01-08 19:50:32,212 - INFO - Verifications in Control node for IPAM: ctest-ipam-68245357 passed
2025-01-08 19:50:32,212 - DEBUG - Requesting: http://10.0.0.17:8082/domains
2025-01-08 19:50:32,218 - DEBUG - Requesting: http://10.0.0.17:8082/domain/1f9d8351-76da-43cf-b5c2-c371431d23d2
2025-01-08 19:50:32,230 - DEBUG - Requesting: http://10.0.0.17:8082/project/3a012b44-b325-48fe-9937-fa188f874491
2025-01-08 19:50:32,299 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ed27e4cc-60f5-438d-811a-b3b5865f3fca
2025-01-08 19:50:32,314 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ed27e4cc-60f5-438d-811a-b3b5865f3fca
2025-01-08 19:50:32,330 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f0ad654b-2df6-4808-9934-a5286e679956
2025-01-08 19:50:32,343 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f0ad654b-2df6-4808-9934-a5286e679956
2025-01-08 19:50:32,352 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/83da79c9-7ae5-446e-92be-b49cae285c5b
2025-01-08 19:50:32,358 - DEBUG - Route Targets: ['target:64512:8000004']
2025-01-08 19:50:32,359 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ed27e4cc-60f5-438d-811a-b3b5865f3fca
2025-01-08 19:50:32,369 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f0ad654b-2df6-4808-9934-a5286e679956
2025-01-08 19:50:32,388 - INFO - Verified VN network id 7 for VN ed27e4cc-60f5-438d-811a-b3b5865f3fca
2025-01-08 19:50:32,388 - INFO - Verifications in API Server for VN ctest-vn-24543668 passed
2025-01-08 19:50:32,389 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ed27e4cc-60f5-438d-811a-b3b5865f3fca
2025-01-08 19:50:32,400 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f0ad654b-2df6-4808-9934-a5286e679956
2025-01-08 19:50:32,408 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f0ad654b-2df6-4808-9934-a5286e679956
2025-01-08 19:50:32,418 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/83da79c9-7ae5-446e-92be-b49cae285c5b
2025-01-08 19:50:32,432 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-51761683:ctest-vn-24543668', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-51761683', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17088878877531784077', 'uuid-lslong': '9302945572512022474'}, 'enable': 'true', 'created': '2025-01-08T19:50:29', 'last-modified': '2025-01-08T19:50:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.038411'}
2025-01-08 19:50:32,439 - DEBUG - Route Targets: ['target:64512:8000004']
2025-01-08 19:50:32,439 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24543668 passed
2025-01-08 19:50:32,440 - DEBUG - ====Verifying policy data for ctest-vn-24543668 in API_Server ======
2025-01-08 19:50:32,440 - DEBUG - Requesting: http://10.0.0.17:8082/domains
2025-01-08 19:50:32,445 - DEBUG - Requesting: http://10.0.0.17:8082/domain/1f9d8351-76da-43cf-b5c2-c371431d23d2
2025-01-08 19:50:32,459 - DEBUG - Requesting: http://10.0.0.17:8082/project/3a012b44-b325-48fe-9937-fa188f874491
2025-01-08 19:50:32,539 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ed27e4cc-60f5-438d-811a-b3b5865f3fca
2025-01-08 19:50:32,551 - DEBUG - =>VN ctest-vn-24543668 has no policy to be verified
2025-01-08 19:50:32,551 - DEBUG - Verifying the vn in opserver
2025-01-08 19:50:32,551 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-51761683:ctest-vn-24543668 virtual network link through opserver 10.0.0.17
2025-01-08 19:50:32,551 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks
2025-01-08 19:50:32,850 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks
2025-01-08 19:50:32,909 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-51761683:ctest-vn-24543668', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-51761683:ctest-vn-24543668?flat'}
2025-01-08 19:50:32,909 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-51761683:ctest-vn-24543668 is found in opserver
2025-01-08 19:50:32,921 - DEBUG - Do not have enough data to verify VN in agent
2025-01-08 19:50:32,928 - DEBUG - VRF ids for VN ctest-vn-24543668: {}
2025-01-08 19:50:32,928 - INFO - Waiting for VM ctest-TestBasicVMVN-51761683-66006871 to be up..
2025-01-08 19:50:32,982 - DEBUG - VM is in ERROR state now
2025-01-08 19:50:32,982 - ERROR - VM in error state.
2025-01-08 19:50:32,983 - ERROR - VM is not in ACTIVE state
2025-01-08 19:50:33,056 - ERROR - Fatal Nova Exception while getting VM detail
2025-01-08 19:50:33,056 - DEBUG - None
2025-01-08 19:50:33,057 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-51761683-94822756 in state ERROR
2025-01-08 19:50:33,057 - INFO - Deleting VM ctest-TestBasicVMVN-51761683-94822756
2025-01-08 19:50:33,057 - ERROR - VM ctest-TestBasicVMVN-51761683-94822756 has failed to come up
2025-01-08 19:50:33,057 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-01-08T19:50:32Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'}
2025-01-08 19:50:33,057 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-51761683-69464898 in state BUILD
2025-01-08 19:50:33,057 - INFO - Deleting VM ctest-TestBasicVMVN-51761683-69464898
2025-01-08 19:50:33,057 - ERROR - VM ctest-TestBasicVMVN-51761683-69464898 has failed to come up
2025-01-08 19:50:33,058 - ERROR - Nova failed to get host of the VM
2025-01-08 19:50:33,200 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-51761683-66006871 in state ERROR
2025-01-08 19:50:33,201 - INFO - Deleting VM ctest-TestBasicVMVN-51761683-66006871
2025-01-08 19:50:33,201 - ERROR - VM ctest-TestBasicVMVN-51761683-66006871 has failed to come up
2025-01-08 19:50:33,201 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-01-08T19:50:30Z', '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-01-08 19:50:33,201 - INFO - Deleting VN ctest-vn-24543668
2025-01-08 19:50:33,306 - DEBUG - Response for delete_port : ()
2025-01-08 19:50:33,416 - DEBUG - Response for delete_port : ()
2025-01-08 19:50:33,541 - DEBUG - Response for deleting network ()
2025-01-08 19:50:33,541 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/f0ad654b-2df6-4808-9934-a5286e679956
2025-01-08 19:50:33,546 - DEBUG - Response Code: 404
2025-01-08 19:50:33,546 - DEBUG - Requesting: http://10.0.0.17:8082/domains
2025-01-08 19:50:33,551 - DEBUG - Requesting: http://10.0.0.17:8082/domain/1f9d8351-76da-43cf-b5c2-c371431d23d2
2025-01-08 19:50:33,605 - DEBUG - Requesting: http://10.0.0.17:8082/project/3a012b44-b325-48fe-9937-fa188f874491
2025-01-08 19:50:33,681 - INFO - Validated that VN ctest-vn-24543668 is not found in API Server
2025-01-08 19:50:33,690 - DEBUG - VN ctest-vn-24543668 is not present in Agent 10.0.0.17
2025-01-08 19:50:33,690 - INFO - Validated that VN ctest-vn-24543668 is not in any agent
2025-01-08 19:50:33,705 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24543668 info
2025-01-08 19:50:33,775 - INFO - IPAM: ctest-ipam-68245357 is not found in API Server
2025-01-08 19:50:33,786 - INFO - IPAM:ctest-ipam-68245357 is not found in control node
2025-01-08 19:50:34,035 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Wed Jan 8 19:50:33 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-01-08 19:50:34,041 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 19:50:34,041 - INFO -
2025-01-08 19:50:34,041 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:06]
2025-01-08 19:50:34,041 - INFO - --------------------------------------------------------------------------------
2025-01-08 19:50:34,703 - INFO - Deleted project: ctest-TestBasicVMVN-51761683, ID : 3a012b44-b325-48fe-9937-fa188f874491