2025-10-29 21:03:01,931 - INFO - Domain Default found not creating 2025-10-29 21:03:02,144 - INFO - Project ctest-TestvifStats-24854970 not found, creating it 2025-10-29 21:03:02,754 - INFO - Created Project:ctest-TestvifStats-24854970, ID : 6dae8497-344d-46bb-a09e-17c544cf4cff 2025-10-29 21:03:04,199 - INFO - ================================================================================ 2025-10-29 21:03:04,199 - INFO - STARTING TEST : test_vif_statistics 2025-10-29 21:03:04,199 - 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-29 21:03:05,513 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0', '10.20.0.18': '0'}, '10.0.0.242': {'10.20.0.18': '0', '10.20.0.14': '0'}} with 2025-10-29 21:03:05,513 - INFO - Initial checks done. Running the testcase now 2025-10-29 21:03:05,513 - INFO - 2025-10-29 21:03:06,213 - DEBUG - Response for create_network : {'network': {'id': '8adc0fab-5f77-45f0-8982-0639bd9d6d24', 'name': 'ctest-vn-19237935', 'tenant_id': '6dae8497344d46bba09e17c544cf4cff', 'project_id': '6dae8497344d46bba09e17c544cf4cff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-24854970', 'ctest-vn-19237935'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 21:03:06,521 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8c784c3-c739-4df2-ad8b-c448ebcd9673', 'name': '', 'tenant_id': '6dae8497344d46bba09e17c544cf4cff', 'network_id': '8adc0fab-5f77-45f0-8982-0639bd9d6d24', 'ip_version': 4, 'cidr': '98.52.122.192/26', 'allocation_pools': [{'start': '98.52.122.194', 'end': '98.52.122.254'}], 'gateway_ip': '98.52.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.52.122.194', 'tags': [], 'project_id': '6dae8497344d46bba09e17c544cf4cff'}} 2025-10-29 21:03:06,544 - INFO - Created VN ctest-vn-19237935 2025-10-29 21:03:06,557 - DEBUG - VN ctest-vn-19237935 UUID is 8adc0fab-5f77-45f0-8982-0639bd9d6d24 2025-10-29 21:03:06,637 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-29 21:03:06,943 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-29 21:03:06,976 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a090225f-9b9e-4366-926c-6397a8c195bb 2025-10-29 21:03:06,994 - DEBUG - Requesting: http://10.0.0.254:8082/project/6dae8497-344d-46bb-a09e-17c544cf4cff 2025-10-29 21:03:07,104 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8adc0fab-5f77-45f0-8982-0639bd9d6d24 2025-10-29 21:03:07,120 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8adc0fab-5f77-45f0-8982-0639bd9d6d24 2025-10-29 21:03:07,132 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9e06b823-fe2e-43a3-917f-207f8955137f 2025-10-29 21:03:07,146 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9e06b823-fe2e-43a3-917f-207f8955137f 2025-10-29 21:03:07,154 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6e012212-8389-4ade-ad9a-3da617749305 2025-10-29 21:03:07,164 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 21:03:07,164 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8adc0fab-5f77-45f0-8982-0639bd9d6d24 2025-10-29 21:03:07,176 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9e06b823-fe2e-43a3-917f-207f8955137f 2025-10-29 21:03:07,191 - INFO - Verified VN network id 15 for VN 8adc0fab-5f77-45f0-8982-0639bd9d6d24 2025-10-29 21:03:07,191 - INFO - Verifications in API Server for VN ctest-vn-19237935 passed 2025-10-29 21:03:07,191 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8adc0fab-5f77-45f0-8982-0639bd9d6d24 2025-10-29 21:03:07,201 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9e06b823-fe2e-43a3-917f-207f8955137f 2025-10-29 21:03:07,209 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9e06b823-fe2e-43a3-917f-207f8955137f 2025-10-29 21:03:07,216 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6e012212-8389-4ade-ad9a-3da617749305 2025-10-29 21:03:07,231 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-24854970', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10005889700825875952', 'uuid-lslong': '9908488975232625956'}, 'enable': 'true', 'created': '2025-10-29T21:03:06', 'last-modified': '2025-10-29T21:03:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.753055'} 2025-10-29 21:03:07,240 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 21:03:07,246 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-24854970', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10005889700825875952', 'uuid-lslong': '9908488975232625956'}, 'enable': 'true', 'created': '2025-10-29T21:03:06', 'last-modified': '2025-10-29T21:03:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.773175'} 2025-10-29 21:03:07,251 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 21:03:07,257 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-24854970', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10005889700825875952', 'uuid-lslong': '9908488975232625956'}, 'enable': 'true', 'created': '2025-10-29T21:03:06', 'last-modified': '2025-10-29T21:03:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.786351'} 2025-10-29 21:03:07,264 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 21:03:07,264 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19237935 passed 2025-10-29 21:03:07,264 - DEBUG - ====Verifying policy data for ctest-vn-19237935 in API_Server ====== 2025-10-29 21:03:07,264 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-29 21:03:07,270 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a090225f-9b9e-4366-926c-6397a8c195bb 2025-10-29 21:03:07,282 - DEBUG - Requesting: http://10.0.0.254:8082/project/6dae8497-344d-46bb-a09e-17c544cf4cff 2025-10-29 21:03:07,390 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8adc0fab-5f77-45f0-8982-0639bd9d6d24 2025-10-29 21:03:07,404 - DEBUG - =>VN ctest-vn-19237935 has no policy to be verified 2025-10-29 21:03:07,404 - DEBUG - Verifying the vn in opserver 2025-10-29 21:03:07,404 - DEBUG - Verifying the default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 virtual network link through opserver 10.0.0.254 2025-10-29 21:03:07,404 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-29 21:03:07,702 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-29 21:03:07,760 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935?flat'} 2025-10-29 21:03:07,761 - DEBUG - Verifying the default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 virtual network link through opserver 10.0.0.38 2025-10-29 21:03:07,761 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-29 21:03:08,052 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-29 21:03:08,115 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935?flat'} 2025-10-29 21:03:08,115 - DEBUG - Verifying the default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 virtual network link through opserver 10.0.0.33 2025-10-29 21:03:08,115 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-29 21:03:08,408 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-29 21:03:08,468 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935?flat'} 2025-10-29 21:03:08,469 - INFO - Validated that VN default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 is found in opserver 2025-10-29 21:03:08,503 - DEBUG - Do not have enough data to verify VN in agent 2025-10-29 21:03:08,517 - DEBUG - VRF ids for VN ctest-vn-19237935: {} 2025-10-29 21:03:08,542 - DEBUG - Services list from nova: [, , , ] 2025-10-29 21:03:08,542 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4527-2', 'an-jenkins-deploy-platform-ansible-os-4527-1']} 2025-10-29 21:03:08,542 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4527-2', 'an-jenkins-deploy-platform-ansible-os-4527-1']} 2025-10-29 21:03:09,676 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4527-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4527-2) 2025-10-29 21:03:09,677 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4527-2', 'an-jenkins-deploy-platform-ansible-os-4527-1']} 2025-10-29 21:03:11,023 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4527-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4527-2) 2025-10-29 21:03:11,023 - INFO - Waiting for VM ctest-TestvifStats-24854970-82361834 to be up.. 2025-10-29 21:03:11,117 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 21:03:16,200 - DEBUG - VM is in ACTIVE state now 2025-10-29 21:03:16,200 - INFO - VM name : ctest-TestvifStats-24854970-82361834 2025-10-29 21:03:16,294 - DEBUG - VM ctest-TestvifStats-24854970-82361834 ID is 0f439e3e-44ef-446a-8ddd-70358a5c08c8 2025-10-29 21:03:16,324 - DEBUG - VM ctest-TestvifStats-24854970-82361834 launched on Node an-jenkins-deploy-platform-ansible-os-4527-2 2025-10-29 21:03:16,404 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0f439e3e-44ef-446a-8ddd-70358a5c08c8 2025-10-29 21:03:16,705 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0f439e3e-44ef-446a-8ddd-70358a5c08c8 2025-10-29 21:03:16,736 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0324ae7a-6f81-4942-ac34-cc5e4822de9c 2025-10-29 21:03:19,910 - 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-29 21:03:19,910 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24854970-82361834 failed! 2025-10-29 21:03:19,924 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 is 98.52.122.193 and allocation pool is NOT set 2025-10-29 21:03:23,992 - 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 1009ms') 2025-10-29 21:03:23,992 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24854970-82361834 failed! 2025-10-29 21:03:24,009 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 is 98.52.122.193 and allocation pool is NOT set 2025-10-29 21:03:28,093 - 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 1023ms') 2025-10-29 21:03:28,094 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24854970-82361834 failed! 2025-10-29 21:03:28,107 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 is 98.52.122.193 and allocation pool is NOT set 2025-10-29 21:03:32,193 - 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 1023ms') 2025-10-29 21:03:32,193 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24854970-82361834 failed! 2025-10-29 21:03:32,207 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 is 98.52.122.193 and allocation pool is NOT set 2025-10-29 21:03:36,289 - 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 1012ms') 2025-10-29 21:03:36,289 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24854970-82361834 failed! 2025-10-29 21:03:36,305 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 is 98.52.122.193 and allocation pool is NOT set 2025-10-29 21:03:40,390 - 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 1020ms') 2025-10-29 21:03:40,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24854970-82361834 failed! 2025-10-29 21:03:40,404 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 is 98.52.122.193 and allocation pool is NOT set 2025-10-29 21:03:44,480 - 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 1005ms') 2025-10-29 21:03:44,480 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24854970-82361834 failed! 2025-10-29 21:03:44,493 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 is 98.52.122.193 and allocation pool is NOT set 2025-10-29 21:03:48,568 - 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-29 21:03:48,568 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24854970-82361834 failed! 2025-10-29 21:03:48,584 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 is 98.52.122.193 and allocation pool is NOT set 2025-10-29 21:03:52,674 - 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-29 21:03:52,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24854970-82361834 failed! 2025-10-29 21:03:52,688 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24854970:ctest-vn-19237935 is 98.52.122.193 and allocation pool is NOT set 2025-10-29 21:03:54,752 - 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=5.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.655 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 = 0.655/2.877/5.099/2.222 ms') 2025-10-29 21:03:54,752 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24854970-82361834 passed 2025-10-29 21:03:54,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 21:03:54,818 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24854970-82361834, IP 98.52.122.195, Port 22 2025-10-29 21:03:54,888 - 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-29 21:03:54,970 - DEBUG - VM ctest-TestvifStats-24854970-82361834 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 21:03:59,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 21:03:59,971 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24854970-82361834, IP 98.52.122.195, Port 22 2025-10-29 21:04:00,037 - 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-29 21:04:00,115 - DEBUG - VM ctest-TestvifStats-24854970-82361834 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 21:04:05,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 21:04:05,116 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24854970-82361834, IP 98.52.122.195, Port 22 2025-10-29 21:04:05,185 - 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-29 21:04:05,282 - DEBUG - VM ctest-TestvifStats-24854970-82361834 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 21:04:10,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 21:04:10,283 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24854970-82361834, IP 98.52.122.195, Port 22 2025-10-29 21:04:10,353 - 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-29 21:04:10,439 - DEBUG - VM ctest-TestvifStats-24854970-82361834 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 21:04:15,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 21:04:15,440 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24854970-82361834, IP 98.52.122.195, Port 22 2025-10-29 21:04:15,609 - DEBUG - VM ctest-TestvifStats-24854970-82361834 is ready for SSH connections 2025-10-29 21:04:15,609 - INFO - Waiting for VM ctest-TestvifStats-24854970-29184618 to be up.. 2025-10-29 21:04:15,689 - DEBUG - VM is in ACTIVE state now 2025-10-29 21:04:15,689 - INFO - VM name : ctest-TestvifStats-24854970-29184618 2025-10-29 21:04:15,763 - DEBUG - VM ctest-TestvifStats-24854970-29184618 ID is b1668fe9-f319-407a-aea0-b98821166059 2025-10-29 21:04:15,763 - DEBUG - VM ctest-TestvifStats-24854970-29184618 launched on Node an-jenkins-deploy-platform-ansible-os-4527-2 2025-10-29 21:04:15,848 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b1668fe9-f319-407a-aea0-b98821166059 2025-10-29 21:04:15,857 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/61f0586f-0d15-41cd-bf34-b653116fc4ef 2025-10-29 21:04:17,012 - 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=2.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.91 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 = 2.451/2.679/2.908/0.228 ms') 2025-10-29 21:04:17,012 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-24854970-29184618 passed 2025-10-29 21:04:17,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 21:04:17,079 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24854970-29184618, IP 98.52.122.196, Port 22 2025-10-29 21:04:17,135 - DEBUG - Error on ssh to ubuntu@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-29 21:04:17,227 - DEBUG - VM ctest-TestvifStats-24854970-29184618 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 21:04:22,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 21:04:22,228 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24854970-29184618, IP 98.52.122.196, Port 22 2025-10-29 21:04:22,405 - DEBUG - VM ctest-TestvifStats-24854970-29184618 is ready for SSH connections 2025-10-29 21:04:22,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 21:04:22,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.52.122.196, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-29 21:04:22,405 - DEBUG - ping -s 56 -c 3 -W 1 98.52.122.196 2025-10-29 21:05:12,082 - DEBUG - PING 98.52.122.196 (98.52.122.196) 56(84) bytes of data. 64 bytes from 98.52.122.196: icmp_req=1 ttl=64 time=12.9 ms 64 bytes from 98.52.122.196: icmp_req=2 ttl=64 time=0.873 ms 64 bytes from 98.52.122.196: icmp_req=3 ttl=64 time=0.893 ms --- 98.52.122.196 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.873/4.917/12.987/5.706 ms 2025-10-29 21:05:12,083 - INFO - Ping to IP 98.52.122.196 from VM ctest-TestvifStats-24854970-82361834 passed 2025-10-29 21:05:12,083 - INFO - 10.0.0.242 2025-10-29 21:05:12,083 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-10-29 21:05:12,205 - INFO - Deleting VM ctest-TestvifStats-24854970-29184618 2025-10-29 21:05:12,293 - INFO - Deleting VM ctest-TestvifStats-24854970-82361834 2025-10-29 21:05:12,415 - INFO - Deleting VN ctest-vn-19237935 2025-10-29 21:05:12,470 - DEBUG - VN 8adc0fab-5f77-45f0-8982-0639bd9d6d24 still in use: Unable to complete operation on network 8adc0fab-5f77-45f0-8982-0639bd9d6d24. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-59867ceb-bdaa-4051-986e-3ae780f88528'] 2025-10-29 21:05:12,470 - WARNING - Deleting VN ctest-vn-19237935 failed..Will retry 2025-10-29 21:05:14,609 - DEBUG - Response for deleting network () 2025-10-29 21:05:14,609 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9e06b823-fe2e-43a3-917f-207f8955137f 2025-10-29 21:05:14,615 - DEBUG - Response Code: 404 2025-10-29 21:05:14,616 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-29 21:05:14,639 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a090225f-9b9e-4366-926c-6397a8c195bb 2025-10-29 21:05:14,695 - DEBUG - Requesting: http://10.0.0.254:8082/project/6dae8497-344d-46bb-a09e-17c544cf4cff 2025-10-29 21:05:14,802 - INFO - Validated that VN ctest-vn-19237935 is not found in API Server 2025-10-29 21:05:14,827 - DEBUG - VN ctest-vn-19237935 is not present in Agent 10.0.0.241 2025-10-29 21:05:14,837 - DEBUG - VN ctest-vn-19237935 is not present in Agent 10.0.0.242 2025-10-29 21:05:14,837 - INFO - Validated that VN ctest-vn-19237935 is not in any agent 2025-10-29 21:05:14,869 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19237935 info 2025-10-29 21:05:16,191 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Wed Oct 29 21:05:12 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.242' /contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.242') 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-29 21:05:16,209 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 21:05:16,209 - INFO -
2025-10-29 21:05:16,209 - INFO - END TEST : test_vif_statistics : FAILED[0:02:12]
2025-10-29 21:05:16,209 - INFO - -------------------------------------------------------------------------------- 2025-10-29 21:05:16,941 - INFO - Deleted project: ctest-TestvifStats-24854970, ID : 6dae8497-344d-46bb-a09e-17c544cf4cff