2026-06-05 13:17:52,419 - INFO - Domain Default found not creating
2026-06-05 13:17:52,610 - INFO - Project ctest-TestvifStats-94712580 not found, creating it
2026-06-05 13:17:53,170 - INFO - Created Project:ctest-TestvifStats-94712580, ID : fdefd775-31d3-4fb1-a231-1103436bb7d1
2026-06-05 13:17:54,930 - INFO - ================================================================================
2026-06-05 13:17:54,930 - INFO - STARTING TEST : test_vif_statistics
2026-06-05 13:17:54,930 - INFO - TEST DESCRIPTION :
Description:
Verify vif statistics
Vm's across compute node
steps:
1. create 1 VN and launch 2 VMs in compute node
2. client and server VMs on same node
3. send icmp traffic assert if ping is not working
4. get_vif_stats to check vif interface
5. clear_vif_stats to clear vif interface stats
6. Repeat step4
Pass criteria:
1. If output of vif stats/clear execute successfully from compute
2026-06-05 13:17:56,256 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.200': '0', '10.20.0.192': '0'}, '10.0.0.141': {'10.20.0.192': '0', '10.20.0.200': '0'}} with
2026-06-05 13:17:56,256 - INFO - Initial checks done. Running the testcase now
2026-06-05 13:17:56,261 - INFO -
2026-06-05 13:17:57,031 - DEBUG - Response for create_network : {'network': {'id': '3abcbaff-5142-4581-a7f0-72aa69681d86', 'name': 'ctest-vn-59125602', 'tenant_id': 'fdefd77531d34fb1a2311103436bb7d1', 'project_id': 'fdefd77531d34fb1a2311103436bb7d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-94712580', 'ctest-vn-59125602'], 'port_security_enabled': True, 'description': ''}}
2026-06-05 13:17:57,359 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8783b60-4d8c-4747-816d-564cf4111122', 'name': '', 'tenant_id': 'fdefd77531d34fb1a2311103436bb7d1', 'network_id': '3abcbaff-5142-4581-a7f0-72aa69681d86', 'ip_version': 4, 'cidr': '204.16.5.64/26', 'allocation_pools': [{'start': '204.16.5.66', 'end': '204.16.5.126'}], 'gateway_ip': '204.16.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.16.5.66', 'tags': [], 'project_id': 'fdefd77531d34fb1a2311103436bb7d1'}}
2026-06-05 13:17:57,393 - INFO - Created VN ctest-vn-59125602
2026-06-05 13:17:57,404 - DEBUG - VN ctest-vn-59125602 UUID is 3abcbaff-5142-4581-a7f0-72aa69681d86
2026-06-05 13:17:57,494 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-05 13:17:57,814 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-05 13:17:57,854 - DEBUG - Requesting: http://10.0.0.242:8082/domain/62815f74-0e86-490f-97a7-40f9728e4542
2026-06-05 13:17:57,876 - DEBUG - Requesting: http://10.0.0.242:8082/project/fdefd775-31d3-4fb1-a231-1103436bb7d1
2026-06-05 13:17:57,985 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3abcbaff-5142-4581-a7f0-72aa69681d86
2026-06-05 13:17:58,011 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3abcbaff-5142-4581-a7f0-72aa69681d86
2026-06-05 13:17:58,023 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/461f4c4f-a7d5-49f9-8ee9-a03e0b7d182b
2026-06-05 13:17:58,042 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/461f4c4f-a7d5-49f9-8ee9-a03e0b7d182b
2026-06-05 13:17:58,052 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/46518199-df0c-4e42-9ca3-62524fd065d4
2026-06-05 13:17:58,063 - DEBUG - Route Targets: ['target:64512:8000008']
2026-06-05 13:17:58,063 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3abcbaff-5142-4581-a7f0-72aa69681d86
2026-06-05 13:17:58,074 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/461f4c4f-a7d5-49f9-8ee9-a03e0b7d182b
2026-06-05 13:17:58,092 - INFO - Verified VN network id 15 for VN 3abcbaff-5142-4581-a7f0-72aa69681d86
2026-06-05 13:17:58,092 - INFO - Verifications in API Server for VN ctest-vn-59125602 passed
2026-06-05 13:17:58,092 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3abcbaff-5142-4581-a7f0-72aa69681d86
2026-06-05 13:17:58,104 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/461f4c4f-a7d5-49f9-8ee9-a03e0b7d182b
2026-06-05 13:17:58,115 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/461f4c4f-a7d5-49f9-8ee9-a03e0b7d182b
2026-06-05 13:17:58,127 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/46518199-df0c-4e42-9ca3-62524fd065d4
2026-06-05 13:17:58,145 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-94712580', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4232463355564148097', 'uuid-lslong': '12101298274982960518'}, 'enable': 'true', 'created': '2026-06-05T13:17:56', 'last-modified': '2026-06-05T13:17:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.840498'}
2026-06-05 13:17:58,152 - DEBUG - Route Targets: ['target:64512:8000008']
2026-06-05 13:17:58,159 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-94712580', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4232463355564148097', 'uuid-lslong': '12101298274982960518'}, 'enable': 'true', 'created': '2026-06-05T13:17:56', 'last-modified': '2026-06-05T13:17:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.855665'}
2026-06-05 13:17:58,167 - DEBUG - Route Targets: ['target:64512:8000008']
2026-06-05 13:17:58,173 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-94712580', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4232463355564148097', 'uuid-lslong': '12101298274982960518'}, 'enable': 'true', 'created': '2026-06-05T13:17:56', 'last-modified': '2026-06-05T13:17:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.870850'}
2026-06-05 13:17:58,180 - DEBUG - Route Targets: ['target:64512:8000008']
2026-06-05 13:17:58,181 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59125602 passed
2026-06-05 13:17:58,181 - DEBUG - ====Verifying policy data for ctest-vn-59125602 in API_Server ======
2026-06-05 13:17:58,181 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-05 13:17:58,189 - DEBUG - Requesting: http://10.0.0.242:8082/domain/62815f74-0e86-490f-97a7-40f9728e4542
2026-06-05 13:17:58,203 - DEBUG - Requesting: http://10.0.0.242:8082/project/fdefd775-31d3-4fb1-a231-1103436bb7d1
2026-06-05 13:17:58,316 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3abcbaff-5142-4581-a7f0-72aa69681d86
2026-06-05 13:17:58,330 - DEBUG - =>VN ctest-vn-59125602 has no policy to be verified
2026-06-05 13:17:58,330 - DEBUG - Verifying the vn in opserver
2026-06-05 13:17:58,330 - DEBUG - Verifying the default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602 virtual network link through opserver 10.0.0.242
2026-06-05 13:17:58,330 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-06-05 13:17:58,657 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-06-05 13:17:58,760 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602?flat'}
2026-06-05 13:17:58,760 - DEBUG - Verifying the default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602 virtual network link through opserver 10.0.0.50
2026-06-05 13:17:58,760 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-05 13:17:59,102 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-05 13:17:59,222 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602?flat'}
2026-06-05 13:17:59,222 - DEBUG - Verifying the default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602 virtual network link through opserver 10.0.0.129
2026-06-05 13:17:59,222 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-06-05 13:17:59,537 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-06-05 13:17:59,632 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602?flat'}
2026-06-05 13:17:59,632 - INFO - Validated that VN default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602 is found in opserver
2026-06-05 13:17:59,656 - DEBUG - Do not have enough data to verify VN in agent
2026-06-05 13:17:59,667 - DEBUG - VRF ids for VN ctest-vn-59125602: {}
2026-06-05 13:17:59,697 - DEBUG - Services list from nova: [, , , ]
2026-06-05 13:17:59,698 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-5895-1', 'an-jenkins-deploy-platform-ansible-os-5895-2']}
2026-06-05 13:17:59,698 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-5895-1', 'an-jenkins-deploy-platform-ansible-os-5895-2']}
2026-06-05 13:18:01,326 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5895-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5895-1)
2026-06-05 13:18:01,327 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-5895-1', 'an-jenkins-deploy-platform-ansible-os-5895-2']}
2026-06-05 13:18:03,214 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5895-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5895-1)
2026-06-05 13:18:03,214 - INFO - Waiting for VM ctest-TestvifStats-94712580-60869508 to be up..
2026-06-05 13:18:03,314 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-05 13:18:08,426 - DEBUG - VM is in ACTIVE state now
2026-06-05 13:18:08,426 - INFO - VM name : ctest-TestvifStats-94712580-60869508
2026-06-05 13:18:08,538 - DEBUG - VM ctest-TestvifStats-94712580-60869508 ID is 5b5f5a84-a52a-4a60-8fb1-0333b99db658
2026-06-05 13:18:08,571 - DEBUG - VM ctest-TestvifStats-94712580-60869508 launched on Node an-jenkins-deploy-platform-ansible-os-5895-1
2026-06-05 13:18:08,665 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/5b5f5a84-a52a-4a60-8fb1-0333b99db658
2026-06-05 13:18:08,980 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/5b5f5a84-a52a-4a60-8fb1-0333b99db658
2026-06-05 13:18:09,022 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/1f5daf74-e7a6-4176-80bb-09af3f83055f
2026-06-05 13:18:12,192 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms')
2026-06-05 13:18:12,194 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestvifStats-94712580-60869508 failed!
2026-06-05 13:18:12,209 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602 is 204.16.5.65 and allocation pool is NOT set
2026-06-05 13:18:16,290 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-06-05 13:18:16,291 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestvifStats-94712580-60869508 failed!
2026-06-05 13:18:16,305 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602 is 204.16.5.65 and allocation pool is NOT set
2026-06-05 13:18:20,391 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-06-05 13:18:20,391 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestvifStats-94712580-60869508 failed!
2026-06-05 13:18:20,414 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602 is 204.16.5.65 and allocation pool is NOT set
2026-06-05 13:18:24,486 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms')
2026-06-05 13:18:24,487 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestvifStats-94712580-60869508 failed!
2026-06-05 13:18:24,504 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602 is 204.16.5.65 and allocation pool is NOT set
2026-06-05 13:18:28,576 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-06-05 13:18:28,576 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestvifStats-94712580-60869508 failed!
2026-06-05 13:18:28,592 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602 is 204.16.5.65 and allocation pool is NOT set
2026-06-05 13:18:32,678 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-06-05 13:18:32,679 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestvifStats-94712580-60869508 failed!
2026-06-05 13:18:32,692 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602 is 204.16.5.65 and allocation pool is NOT set
2026-06-05 13:18:36,773 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2026-06-05 13:18:36,774 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestvifStats-94712580-60869508 failed!
2026-06-05 13:18:36,789 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94712580:ctest-vn-59125602 is 204.16.5.65 and allocation pool is NOT set
2026-06-05 13:18:40,867 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=3.66 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 3.659/3.659/3.659/0.000 ms')
2026-06-05 13:18:40,867 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestvifStats-94712580-60869508 passed
2026-06-05 13:18:40,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 13:18:40,938 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-94712580-60869508, IP 204.16.5.67, Port 22
2026-06-05 13:18:41,007 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-05 13:18:41,104 - DEBUG - VM ctest-TestvifStats-94712580-60869508 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 13:18:46,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 13:18:46,104 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-94712580-60869508, IP 204.16.5.67, Port 22
2026-06-05 13:18:46,160 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-05 13:18:46,284 - DEBUG - VM ctest-TestvifStats-94712580-60869508 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 13:18:51,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 13:18:51,284 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-94712580-60869508, IP 204.16.5.67, Port 22
2026-06-05 13:18:51,340 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-05 13:18:51,443 - DEBUG - VM ctest-TestvifStats-94712580-60869508 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 13:18:56,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 13:18:56,444 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-94712580-60869508, IP 204.16.5.67, Port 22
2026-06-05 13:18:56,499 - DEBUG - Error on ssh to ubuntu@169.254.0.6:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-06-05 13:18:56,591 - DEBUG - VM ctest-TestvifStats-94712580-60869508 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-05 13:19:01,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-05 13:19:01,592 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-94712580-60869508, IP 204.16.5.67, Port 22
2026-06-05 13:19:01,751 - DEBUG - VM ctest-TestvifStats-94712580-60869508 is ready for SSH connections
2026-06-05 13:19:01,752 - INFO - Waiting for VM ctest-TestvifStats-94712580-47653535 to be up..
2026-06-05 13:19:01,836 - DEBUG - VM is in ERROR state now
2026-06-05 13:19:01,836 - ERROR - VM in error state.
2026-06-05 13:19:01,836 - ERROR - VM is not in ACTIVE state
2026-06-05 13:19:01,938 - ERROR - Fatal Nova Exception while getting VM detail
2026-06-05 13:19:01,938 - DEBUG - None
2026-06-05 13:19:01,941 - INFO - Skip interface_detach for VM ctest-TestvifStats-94712580-47653535 in state ERROR
2026-06-05 13:19:01,941 - INFO - Deleting VM ctest-TestvifStats-94712580-47653535
2026-06-05 13:19:01,942 - ERROR - VM ctest-TestvifStats-94712580-47653535 has failed to come up
2026-06-05 13:19:01,942 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2026-06-05T13:18:03Z', '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'}
2026-06-05 13:19:01,942 - INFO - Deleting VM ctest-TestvifStats-94712580-60869508
2026-06-05 13:19:02,019 - INFO - Deleting VN ctest-vn-59125602
2026-06-05 13:19:02,064 - DEBUG - VN 3abcbaff-5142-4581-a7f0-72aa69681d86 still in use: Unable to complete operation on network 3abcbaff-5142-4581-a7f0-72aa69681d86. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cf71c159-2712-47c8-b438-6d7a65e60cc8']
2026-06-05 13:19:02,064 - WARNING - Deleting VN ctest-vn-59125602 failed..Will retry
2026-06-05 13:19:04,300 - DEBUG - Response for deleting network ()
2026-06-05 13:19:04,301 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/461f4c4f-a7d5-49f9-8ee9-a03e0b7d182b
2026-06-05 13:19:04,308 - DEBUG - Response Code: 404
2026-06-05 13:19:04,308 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-05 13:19:04,320 - DEBUG - Requesting: http://10.0.0.242:8082/domain/62815f74-0e86-490f-97a7-40f9728e4542
2026-06-05 13:19:04,345 - DEBUG - Requesting: http://10.0.0.242:8082/project/fdefd775-31d3-4fb1-a231-1103436bb7d1
2026-06-05 13:19:04,479 - INFO - Validated that VN ctest-vn-59125602 is not found in API Server
2026-06-05 13:19:04,499 - DEBUG - VN ctest-vn-59125602 is not present in Agent 10.0.0.41
2026-06-05 13:19:04,512 - DEBUG - VN ctest-vn-59125602 is not present in Agent 10.0.0.141
2026-06-05 13:19:04,512 - INFO - Validated that VN ctest-vn-59125602 is not in any agent
2026-06-05 13:19:04,549 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59125602 info
2026-06-05 13:19:05,827 - ERROR - AssertionError
Python 3.9.25: /usr/bin/python3
Fri Jun 5 13:19:01 2026
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/vrouter/test_vif_stats.py in test_vif_statistics(self=)
86 node_name=compute_hosts[0])
87 self.verify_vms(client_fixtures)
88 self.verify_vms(server_fixtures)
89 assert client_fixtures[0].ping_with_certainty(server_fixtures[0].vm_ip, expectation=True), "ping failed"
90 compute_ip = server_fixtures[0].vm_node_ip
self =
self.verify_vms = >
server_fixtures = []
/contrail-test/common/vrouter/base.py in verify_vms(self=, vm_fixtures=[])
198 def verify_vms(self, vm_fixtures):
199 for vm_fixture in vm_fixtures:
200 assert vm_fixture.wait_till_vm_is_up()
201
202 def add_static_routes_on_vms(self,prefix, vm_fixtures, ip=None):
vm_fixture =
vm_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/vrouter/test_vif_stats.py", line 88, in test_vif_statistics
self.verify_vms(server_fixtures)
File "/contrail-test/common/vrouter/base.py", line 200, in verify_vms
assert vm_fixture.wait_till_vm_is_up()
AssertionError
2026-06-05 13:19:05,841 - DEBUG - No XMPP flaps were noticed during the test
2026-06-05 13:19:05,841 - INFO -
2026-06-05 13:19:05,841 - INFO - END TEST : test_vif_statistics : FAILED[0:01:11]
2026-06-05 13:19:05,841 - INFO - --------------------------------------------------------------------------------
2026-06-05 13:19:06,614 - INFO - Deleted project: ctest-TestvifStats-94712580, ID : fdefd775-31d3-4fb1-a231-1103436bb7d1