2025-10-08 17:57:17,940 - INFO - Domain Default found not creating 2025-10-08 17:57:18,077 - INFO - Project ctest-TestvifStats-86318774 not found, creating it 2025-10-08 17:57:18,589 - INFO - Created Project:ctest-TestvifStats-86318774, ID : 931165c2-8081-4835-8ba0-8a64ff4e2b80 2025-10-08 17:57:19,971 - INFO - ================================================================================ 2025-10-08 17:57:19,971 - INFO - STARTING TEST : test_vif_statistics 2025-10-08 17:57:19,971 - 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 2025-10-08 17:57:21,251 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.192': '0', '10.20.0.19': '0'}, '10.0.0.19': {'10.20.0.192': '0', '10.20.0.19': '0'}} with 2025-10-08 17:57:21,252 - INFO - Initial checks done. Running the testcase now 2025-10-08 17:57:21,252 - INFO - 2025-10-08 17:57:21,895 - DEBUG - Response for create_network : {'network': {'id': 'e59cda93-2aa6-4f6a-b5b7-a57e8ec06e6f', 'name': 'ctest-vn-28749238', 'tenant_id': '931165c2808148358ba08a64ff4e2b80', 'project_id': '931165c2808148358ba08a64ff4e2b80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-86318774', 'ctest-vn-28749238'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 17:57:22,196 - DEBUG - Response for create_subnet : {'subnet': {'id': '045a50b9-b957-4799-afe6-10ef188e9ba9', 'name': '', 'tenant_id': '931165c2808148358ba08a64ff4e2b80', 'network_id': 'e59cda93-2aa6-4f6a-b5b7-a57e8ec06e6f', 'ip_version': 4, 'cidr': '142.167.100.0/26', 'allocation_pools': [{'start': '142.167.100.2', 'end': '142.167.100.62'}], 'gateway_ip': '142.167.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.167.100.2', 'tags': [], 'project_id': '931165c2808148358ba08a64ff4e2b80'}} 2025-10-08 17:57:22,225 - INFO - Created VN ctest-vn-28749238 2025-10-08 17:57:22,242 - DEBUG - VN ctest-vn-28749238 UUID is e59cda93-2aa6-4f6a-b5b7-a57e8ec06e6f 2025-10-08 17:57:22,322 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-08 17:57:22,612 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-08 17:57:22,638 - DEBUG - Requesting: http://10.0.0.56:8082/domain/1d11f468-2e8f-4a79-a987-f452a249cd6b 2025-10-08 17:57:22,653 - DEBUG - Requesting: http://10.0.0.56:8082/project/931165c2-8081-4835-8ba0-8a64ff4e2b80 2025-10-08 17:57:22,760 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e59cda93-2aa6-4f6a-b5b7-a57e8ec06e6f 2025-10-08 17:57:22,774 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e59cda93-2aa6-4f6a-b5b7-a57e8ec06e6f 2025-10-08 17:57:22,783 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/b2480fa8-f34f-4186-8405-153b9f6e7745 2025-10-08 17:57:22,790 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/b2480fa8-f34f-4186-8405-153b9f6e7745 2025-10-08 17:57:22,797 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/667dc375-08c1-4554-bc7f-58284db0eb78 2025-10-08 17:57:22,804 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 17:57:22,804 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e59cda93-2aa6-4f6a-b5b7-a57e8ec06e6f 2025-10-08 17:57:22,812 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/b2480fa8-f34f-4186-8405-153b9f6e7745 2025-10-08 17:57:22,828 - INFO - Verified VN network id 13 for VN e59cda93-2aa6-4f6a-b5b7-a57e8ec06e6f 2025-10-08 17:57:22,828 - INFO - Verifications in API Server for VN ctest-vn-28749238 passed 2025-10-08 17:57:22,828 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e59cda93-2aa6-4f6a-b5b7-a57e8ec06e6f 2025-10-08 17:57:22,838 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/b2480fa8-f34f-4186-8405-153b9f6e7745 2025-10-08 17:57:22,847 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/b2480fa8-f34f-4186-8405-153b9f6e7745 2025-10-08 17:57:22,855 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/667dc375-08c1-4554-bc7f-58284db0eb78 2025-10-08 17:57:22,867 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-86318774', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16545339456662949738', 'uuid-lslong': '13094116404582444655'}, 'enable': 'true', 'created': '2025-10-08T17:57:21', 'last-modified': '2025-10-08T17:57:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.737197'} 2025-10-08 17:57:22,872 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 17:57:22,877 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-86318774', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16545339456662949738', 'uuid-lslong': '13094116404582444655'}, 'enable': 'true', 'created': '2025-10-08T17:57:21', 'last-modified': '2025-10-08T17:57:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.753644'} 2025-10-08 17:57:22,882 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 17:57:22,888 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-86318774', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16545339456662949738', 'uuid-lslong': '13094116404582444655'}, 'enable': 'true', 'created': '2025-10-08T17:57:21', 'last-modified': '2025-10-08T17:57:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.766929'} 2025-10-08 17:57:22,893 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 17:57:22,893 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28749238 passed 2025-10-08 17:57:22,893 - DEBUG - ====Verifying policy data for ctest-vn-28749238 in API_Server ====== 2025-10-08 17:57:22,894 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-08 17:57:22,900 - DEBUG - Requesting: http://10.0.0.56:8082/domain/1d11f468-2e8f-4a79-a987-f452a249cd6b 2025-10-08 17:57:22,912 - DEBUG - Requesting: http://10.0.0.56:8082/project/931165c2-8081-4835-8ba0-8a64ff4e2b80 2025-10-08 17:57:23,006 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e59cda93-2aa6-4f6a-b5b7-a57e8ec06e6f 2025-10-08 17:57:23,022 - DEBUG - =>VN ctest-vn-28749238 has no policy to be verified 2025-10-08 17:57:23,022 - DEBUG - Verifying the vn in opserver 2025-10-08 17:57:23,022 - DEBUG - Verifying the default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 virtual network link through opserver 10.0.0.56 2025-10-08 17:57:23,022 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-10-08 17:57:23,325 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-10-08 17:57:23,378 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238?flat'} 2025-10-08 17:57:23,378 - DEBUG - Verifying the default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 virtual network link through opserver 10.0.0.249 2025-10-08 17:57:23,379 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-08 17:57:23,667 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-08 17:57:23,716 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238?flat'} 2025-10-08 17:57:23,716 - DEBUG - Verifying the default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 virtual network link through opserver 10.0.0.41 2025-10-08 17:57:23,716 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-08 17:57:24,012 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-08 17:57:24,064 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238?flat'} 2025-10-08 17:57:24,064 - INFO - Validated that VN default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 is found in opserver 2025-10-08 17:57:24,090 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 17:57:24,099 - DEBUG - VRF ids for VN ctest-vn-28749238: {} 2025-10-08 17:57:24,120 - DEBUG - Services list from nova: [, , , ] 2025-10-08 17:57:24,120 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4239-1', 'an-jenkins-deploy-platform-ansible-os-4239-2']} 2025-10-08 17:57:24,120 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4239-1', 'an-jenkins-deploy-platform-ansible-os-4239-2']} 2025-10-08 17:57:25,309 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4239-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4239-1) 2025-10-08 17:57:25,310 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4239-1', 'an-jenkins-deploy-platform-ansible-os-4239-2']} 2025-10-08 17:57:26,813 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4239-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4239-1) 2025-10-08 17:57:26,813 - INFO - Waiting for VM ctest-TestvifStats-86318774-29131219 to be up.. 2025-10-08 17:57:26,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 17:57:31,986 - DEBUG - VM is in ACTIVE state now 2025-10-08 17:57:31,986 - INFO - VM name : ctest-TestvifStats-86318774-29131219 2025-10-08 17:57:32,084 - DEBUG - VM ctest-TestvifStats-86318774-29131219 ID is 911d40f2-cc1b-4aa8-9e8a-40cebf3f9863 2025-10-08 17:57:32,116 - DEBUG - VM ctest-TestvifStats-86318774-29131219 launched on Node an-jenkins-deploy-platform-ansible-os-4239-1 2025-10-08 17:57:32,227 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/911d40f2-cc1b-4aa8-9e8a-40cebf3f9863 2025-10-08 17:57:32,535 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/911d40f2-cc1b-4aa8-9e8a-40cebf3f9863 2025-10-08 17:57:32,584 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/146a65c7-e06c-4572-955e-2af543f0dbb6 2025-10-08 17:57:35,769 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-10-08 17:57:35,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-86318774-29131219 failed! 2025-10-08 17:57:35,784 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 is 142.167.100.1 and allocation pool is NOT set 2025-10-08 17:57:39,865 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2025-10-08 17:57:39,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-86318774-29131219 failed! 2025-10-08 17:57:39,880 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 is 142.167.100.1 and allocation pool is NOT set 2025-10-08 17:57:43,962 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-10-08 17:57:43,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-86318774-29131219 failed! 2025-10-08 17:57:43,976 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 is 142.167.100.1 and allocation pool is NOT set 2025-10-08 17:57:48,054 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-10-08 17:57:48,054 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-86318774-29131219 failed! 2025-10-08 17:57:48,068 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 is 142.167.100.1 and allocation pool is NOT set 2025-10-08 17:57:52,148 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-10-08 17:57:52,149 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-86318774-29131219 failed! 2025-10-08 17:57:52,166 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 is 142.167.100.1 and allocation pool is NOT set 2025-10-08 17:57:56,247 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-10-08 17:57:56,247 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-86318774-29131219 failed! 2025-10-08 17:57:56,264 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 is 142.167.100.1 and allocation pool is NOT set 2025-10-08 17:58:00,341 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-10-08 17:58:00,341 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-86318774-29131219 failed! 2025-10-08 17:58:00,357 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 is 142.167.100.1 and allocation pool is NOT set 2025-10-08 17:58:04,438 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-10-08 17:58:04,438 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-86318774-29131219 failed! 2025-10-08 17:58:04,455 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 is 142.167.100.1 and allocation pool is NOT set 2025-10-08 17:58:08,536 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2025-10-08 17:58:08,536 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-86318774-29131219 failed! 2025-10-08 17:58:08,552 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-86318774:ctest-vn-28749238 is 142.167.100.1 and allocation pool is NOT set 2025-10-08 17:58:10,625 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.88 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.878/5.372/7.867/2.494 ms') 2025-10-08 17:58:10,625 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-86318774-29131219 passed 2025-10-08 17:58:10,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 17:58:10,697 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-86318774-29131219, IP 142.167.100.3, Port 22 2025-10-08 17:58:10,755 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-08 17:58:10,834 - DEBUG - VM ctest-TestvifStats-86318774-29131219 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 17:58:15,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 17:58:15,835 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-86318774-29131219, IP 142.167.100.3, Port 22 2025-10-08 17:58:15,900 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-08 17:58:15,977 - DEBUG - VM ctest-TestvifStats-86318774-29131219 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 17:58:20,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 17:58:20,978 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-86318774-29131219, IP 142.167.100.3, Port 22 2025-10-08 17:58:21,035 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-08 17:58:21,112 - DEBUG - VM ctest-TestvifStats-86318774-29131219 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 17:58:26,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 17:58:26,113 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-86318774-29131219, IP 142.167.100.3, Port 22 2025-10-08 17:58:26,180 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-08 17:58:26,268 - DEBUG - VM ctest-TestvifStats-86318774-29131219 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 17:58:31,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 17:58:31,269 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-86318774-29131219, IP 142.167.100.3, Port 22 2025-10-08 17:58:31,449 - DEBUG - VM ctest-TestvifStats-86318774-29131219 is ready for SSH connections 2025-10-08 17:58:31,449 - INFO - Waiting for VM ctest-TestvifStats-86318774-31481588 to be up.. 2025-10-08 17:58:31,534 - DEBUG - VM is in ACTIVE state now 2025-10-08 17:58:31,534 - INFO - VM name : ctest-TestvifStats-86318774-31481588 2025-10-08 17:58:31,625 - DEBUG - VM ctest-TestvifStats-86318774-31481588 ID is 0810eba0-451c-4a4d-a725-8d0769de40dd 2025-10-08 17:58:31,625 - DEBUG - VM ctest-TestvifStats-86318774-31481588 launched on Node an-jenkins-deploy-platform-ansible-os-4239-1 2025-10-08 17:58:31,834 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0810eba0-451c-4a4d-a725-8d0769de40dd 2025-10-08 17:58:31,848 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/7df4eaab-dd85-4c64-858a-8ccc18a3fed8 2025-10-08 17:58:33,010 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.353 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.353/1.889/3.425/1.536 ms') 2025-10-08 17:58:33,011 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-86318774-31481588 passed 2025-10-08 17:58:33,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 17:58:33,082 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-86318774-31481588, IP 142.167.100.4, Port 22 2025-10-08 17:58:33,257 - DEBUG - VM ctest-TestvifStats-86318774-31481588 is ready for SSH connections 2025-10-08 17:58:33,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 17:58:33,257 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.167.100.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-08 17:58:33,257 - DEBUG - ping -s 56 -c 3 -W 1 142.167.100.4 2025-10-08 17:59:25,687 - DEBUG - PING 142.167.100.4 (142.167.100.4) 56(84) bytes of data. 64 bytes from 142.167.100.4: icmp_req=1 ttl=64 time=12.5 ms 64 bytes from 142.167.100.4: icmp_req=2 ttl=64 time=0.859 ms 64 bytes from 142.167.100.4: icmp_req=3 ttl=64 time=0.796 ms --- 142.167.100.4 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.796/4.721/12.509/5.507 ms 2025-10-08 17:59:25,687 - INFO - Ping to IP 142.167.100.4 from VM ctest-TestvifStats-86318774-29131219 passed 2025-10-08 17:59:25,687 - INFO - 10.0.0.33 2025-10-08 17:59:25,687 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-10-08 17:59:25,799 - INFO - Deleting VM ctest-TestvifStats-86318774-31481588 2025-10-08 17:59:25,863 - INFO - Deleting VM ctest-TestvifStats-86318774-29131219 2025-10-08 17:59:25,925 - INFO - Deleting VN ctest-vn-28749238 2025-10-08 17:59:25,973 - DEBUG - VN e59cda93-2aa6-4f6a-b5b7-a57e8ec06e6f still in use: Unable to complete operation on network e59cda93-2aa6-4f6a-b5b7-a57e8ec06e6f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa21b737-979b-4276-bb45-dac3fff6bc0b'] 2025-10-08 17:59:25,974 - WARNING - Deleting VN ctest-vn-28749238 failed..Will retry 2025-10-08 17:59:28,133 - DEBUG - Response for deleting network () 2025-10-08 17:59:28,133 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/b2480fa8-f34f-4186-8405-153b9f6e7745 2025-10-08 17:59:28,142 - DEBUG - Response Code: 404 2025-10-08 17:59:28,142 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-08 17:59:28,154 - DEBUG - Requesting: http://10.0.0.56:8082/domain/1d11f468-2e8f-4a79-a987-f452a249cd6b 2025-10-08 17:59:28,170 - DEBUG - Requesting: http://10.0.0.56:8082/project/931165c2-8081-4835-8ba0-8a64ff4e2b80 2025-10-08 17:59:28,261 - INFO - Validated that VN ctest-vn-28749238 is not found in API Server 2025-10-08 17:59:28,273 - DEBUG - VN ctest-vn-28749238 is not present in Agent 10.0.0.33 2025-10-08 17:59:28,284 - DEBUG - VN ctest-vn-28749238 is not present in Agent 10.0.0.19 2025-10-08 17:59:28,284 - INFO - Validated that VN ctest-vn-28749238 is not in any agent 2025-10-08 17:59:28,315 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28749238 info 2025-10-08 17:59:29,589 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Wed Oct 8 17:59:25 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/vrouter/test_vif_stats.py in test_vif_statistics(self=) 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 91 stats_pre_clr = self.get_vif_stats(compute_ip) 92 self.clear_vif_stats(compute_ip) 93 stats_post_clr = self.get_vif_stats(compute_ip) stats_pre_clr undefined self = self.get_vif_stats = > compute_ip = '10.0.0.33' /contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.33') 28 assert vif_out, "vif stats for %s is not working" % vif_rx_cmd 29 if not "RX packets" in vif_out: 30 assert False, "RX packets is not available" 31 else: 32 result = vif_out.split() AssertionError: RX packets is not available __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 = ('RX packets is not available',) 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 91, in test_vif_statistics stats_pre_clr = self.get_vif_stats(compute_ip) File "/contrail-test/scripts/vrouter/test_vif_stats.py", line 30, in get_vif_stats assert False, "RX packets is not available" AssertionError: RX packets is not available 2025-10-08 17:59:29,601 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 17:59:29,601 - INFO -
2025-10-08 17:59:29,601 - INFO - END TEST : test_vif_statistics : FAILED[0:02:10]
2025-10-08 17:59:29,601 - INFO - -------------------------------------------------------------------------------- 2025-10-08 17:59:30,326 - INFO - Deleted project: ctest-TestvifStats-86318774, ID : 931165c2-8081-4835-8ba0-8a64ff4e2b80