2025-09-29 03:23:11,048 - INFO - Domain Default found not creating 2025-09-29 03:23:11,213 - INFO - Project ctest-TestvifStats-72717202 not found, creating it 2025-09-29 03:23:11,772 - INFO - Created Project:ctest-TestvifStats-72717202, ID : c43e62d0-c6f6-4dff-bdb0-98be9852f9b7 2025-09-29 03:23:13,274 - INFO - ================================================================================ 2025-09-29 03:23:13,274 - INFO - STARTING TEST : test_vif_statistics 2025-09-29 03:23:13,274 - 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-09-29 03:23:14,583 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.129': '0', '10.20.0.17': '0'}, '10.0.0.131': {'10.20.0.129': '0', '10.20.0.17': '0'}} with 2025-09-29 03:23:14,583 - INFO - Initial checks done. Running the testcase now 2025-09-29 03:23:14,583 - INFO - 2025-09-29 03:23:15,251 - DEBUG - Response for create_network : {'network': {'id': 'f3938eef-03d2-4ba2-ba72-ff19a80ff5b5', 'name': 'ctest-vn-04716949', 'tenant_id': 'c43e62d0c6f64dffbdb098be9852f9b7', 'project_id': 'c43e62d0c6f64dffbdb098be9852f9b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-72717202', 'ctest-vn-04716949'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 03:23:15,535 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c09008d6-46b7-4af6-9d67-aee4a469f4fa', 'name': '', 'tenant_id': 'c43e62d0c6f64dffbdb098be9852f9b7', 'network_id': 'f3938eef-03d2-4ba2-ba72-ff19a80ff5b5', 'ip_version': 4, 'cidr': '92.171.249.192/26', 'allocation_pools': [{'start': '92.171.249.194', 'end': '92.171.249.254'}], 'gateway_ip': '92.171.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.171.249.194', 'tags': [], 'project_id': 'c43e62d0c6f64dffbdb098be9852f9b7'}} 2025-09-29 03:23:15,561 - INFO - Created VN ctest-vn-04716949 2025-09-29 03:23:15,573 - DEBUG - VN ctest-vn-04716949 UUID is f3938eef-03d2-4ba2-ba72-ff19a80ff5b5 2025-09-29 03:23:15,644 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-29 03:23:15,935 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-29 03:23:15,962 - DEBUG - Requesting: http://10.0.0.38:8082/domain/026b1476-0afc-4093-a11e-3a5638365dda 2025-09-29 03:23:15,979 - DEBUG - Requesting: http://10.0.0.38:8082/project/c43e62d0-c6f6-4dff-bdb0-98be9852f9b7 2025-09-29 03:23:16,088 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3938eef-03d2-4ba2-ba72-ff19a80ff5b5 2025-09-29 03:23:16,099 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3938eef-03d2-4ba2-ba72-ff19a80ff5b5 2025-09-29 03:23:16,111 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b7414aaf-9eb8-4e64-b967-2dadeb586d7e 2025-09-29 03:23:16,122 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b7414aaf-9eb8-4e64-b967-2dadeb586d7e 2025-09-29 03:23:16,130 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/627e7632-04c2-42cf-98f9-45b8c4bd3e2c 2025-09-29 03:23:16,137 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-29 03:23:16,137 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3938eef-03d2-4ba2-ba72-ff19a80ff5b5 2025-09-29 03:23:16,148 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b7414aaf-9eb8-4e64-b967-2dadeb586d7e 2025-09-29 03:23:16,163 - INFO - Verified VN network id 15 for VN f3938eef-03d2-4ba2-ba72-ff19a80ff5b5 2025-09-29 03:23:16,164 - INFO - Verifications in API Server for VN ctest-vn-04716949 passed 2025-09-29 03:23:16,164 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3938eef-03d2-4ba2-ba72-ff19a80ff5b5 2025-09-29 03:23:16,172 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b7414aaf-9eb8-4e64-b967-2dadeb586d7e 2025-09-29 03:23:16,180 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b7414aaf-9eb8-4e64-b967-2dadeb586d7e 2025-09-29 03:23:16,188 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/627e7632-04c2-42cf-98f9-45b8c4bd3e2c 2025-09-29 03:23:16,200 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-72717202', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17551529330005396386', 'uuid-lslong': '13435081124058494389'}, 'enable': 'true', 'created': '2025-09-29T03:23:15', 'last-modified': '2025-09-29T03:23:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.713923'} 2025-09-29 03:23:16,205 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-29 03:23:16,210 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-72717202', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17551529330005396386', 'uuid-lslong': '13435081124058494389'}, 'enable': 'true', 'created': '2025-09-29T03:23:15', 'last-modified': '2025-09-29T03:23:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.722720'} 2025-09-29 03:23:16,216 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-29 03:23:16,225 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-72717202', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17551529330005396386', 'uuid-lslong': '13435081124058494389'}, 'enable': 'true', 'created': '2025-09-29T03:23:15', 'last-modified': '2025-09-29T03:23:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.734523'} 2025-09-29 03:23:16,236 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-29 03:23:16,236 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04716949 passed 2025-09-29 03:23:16,236 - DEBUG - ====Verifying policy data for ctest-vn-04716949 in API_Server ====== 2025-09-29 03:23:16,236 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-29 03:23:16,244 - DEBUG - Requesting: http://10.0.0.38:8082/domain/026b1476-0afc-4093-a11e-3a5638365dda 2025-09-29 03:23:16,256 - DEBUG - Requesting: http://10.0.0.38:8082/project/c43e62d0-c6f6-4dff-bdb0-98be9852f9b7 2025-09-29 03:23:16,356 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f3938eef-03d2-4ba2-ba72-ff19a80ff5b5 2025-09-29 03:23:16,371 - DEBUG - =>VN ctest-vn-04716949 has no policy to be verified 2025-09-29 03:23:16,371 - DEBUG - Verifying the vn in opserver 2025-09-29 03:23:16,371 - DEBUG - Verifying the default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 virtual network link through opserver 10.0.0.38 2025-09-29 03:23:16,372 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-29 03:23:16,664 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-29 03:23:16,741 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949?flat'} 2025-09-29 03:23:16,741 - DEBUG - Verifying the default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 virtual network link through opserver 10.0.0.33 2025-09-29 03:23:16,741 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-29 03:23:17,032 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-29 03:23:17,101 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949?flat'} 2025-09-29 03:23:17,101 - DEBUG - Verifying the default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 virtual network link through opserver 10.0.0.249 2025-09-29 03:23:17,101 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-09-29 03:23:17,392 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-09-29 03:23:17,469 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949?flat'} 2025-09-29 03:23:17,469 - INFO - Validated that VN default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 is found in opserver 2025-09-29 03:23:17,489 - DEBUG - Do not have enough data to verify VN in agent 2025-09-29 03:23:17,498 - DEBUG - VRF ids for VN ctest-vn-04716949: {} 2025-09-29 03:23:17,531 - DEBUG - Services list from nova: [, , , ] 2025-09-29 03:23:17,531 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4203-2', 'an-jenkins-deploy-platform-ansible-os-4203-1']} 2025-09-29 03:23:17,531 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4203-2', 'an-jenkins-deploy-platform-ansible-os-4203-1']} 2025-09-29 03:23:18,686 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4203-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4203-2) 2025-09-29 03:23:18,686 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4203-2', 'an-jenkins-deploy-platform-ansible-os-4203-1']} 2025-09-29 03:23:19,883 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4203-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4203-2) 2025-09-29 03:23:19,883 - INFO - Waiting for VM ctest-TestvifStats-72717202-92739420 to be up.. 2025-09-29 03:23:19,988 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 03:23:25,073 - DEBUG - VM is in ACTIVE state now 2025-09-29 03:23:25,073 - INFO - VM name : ctest-TestvifStats-72717202-92739420 2025-09-29 03:23:25,168 - DEBUG - VM ctest-TestvifStats-72717202-92739420 ID is 094adaa4-b4f7-4786-a929-2d1095e5ee32 2025-09-29 03:23:25,191 - DEBUG - VM ctest-TestvifStats-72717202-92739420 launched on Node an-jenkins-deploy-platform-ansible-os-4203-2 2025-09-29 03:23:25,286 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/094adaa4-b4f7-4786-a929-2d1095e5ee32 2025-09-29 03:23:25,578 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/094adaa4-b4f7-4786-a929-2d1095e5ee32 2025-09-29 03:23:25,625 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2e6d14e9-b22e-4a56-a990-7a1351d23531 2025-09-29 03:23:28,835 - 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-09-29 03:23:28,835 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-72717202-92739420 failed! 2025-09-29 03:23:28,865 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 is 92.171.249.193 and allocation pool is NOT set 2025-09-29 03:23:32,954 - 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 1030ms') 2025-09-29 03:23:32,955 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-72717202-92739420 failed! 2025-09-29 03:23:32,983 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 is 92.171.249.193 and allocation pool is NOT set 2025-09-29 03:23:37,064 - 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 1011ms') 2025-09-29 03:23:37,064 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-72717202-92739420 failed! 2025-09-29 03:23:37,095 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 is 92.171.249.193 and allocation pool is NOT set 2025-09-29 03:23:41,183 - 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 1025ms') 2025-09-29 03:23:41,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-72717202-92739420 failed! 2025-09-29 03:23:41,202 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 is 92.171.249.193 and allocation pool is NOT set 2025-09-29 03:23:45,285 - 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 1017ms') 2025-09-29 03:23:45,285 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-72717202-92739420 failed! 2025-09-29 03:23:45,313 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 is 92.171.249.193 and allocation pool is NOT set 2025-09-29 03:23:49,374 - 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 1003ms') 2025-09-29 03:23:49,374 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-72717202-92739420 failed! 2025-09-29 03:23:49,403 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 is 92.171.249.193 and allocation pool is NOT set 2025-09-29 03:23:53,476 - 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 1006ms') 2025-09-29 03:23:53,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-72717202-92739420 failed! 2025-09-29 03:23:53,509 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 is 92.171.249.193 and allocation pool is NOT set 2025-09-29 03:23:57,599 - 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 1026ms') 2025-09-29 03:23:57,599 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-72717202-92739420 failed! 2025-09-29 03:23:57,622 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 is 92.171.249.193 and allocation pool is NOT set 2025-09-29 03:24:01,696 - 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 1011ms') 2025-09-29 03:24:01,696 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-72717202-92739420 failed! 2025-09-29 03:24:01,712 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 is 92.171.249.193 and allocation pool is NOT set 2025-09-29 03:24:05,797 - 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-09-29 03:24:05,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-72717202-92739420 failed! 2025-09-29 03:24:05,824 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-72717202:ctest-vn-04716949 is 92.171.249.193 and allocation pool is NOT set 2025-09-29 03:24:07,888 - 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=9.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 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.175/5.874/9.573/3.699 ms') 2025-09-29 03:24:07,889 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-72717202-92739420 passed 2025-09-29 03:24:07,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:24:07,979 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-72717202-92739420, IP 92.171.249.195, Port 22 2025-09-29 03:24:08,048 - 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-09-29 03:24:08,143 - DEBUG - VM ctest-TestvifStats-72717202-92739420 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 03:24:13,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:24:13,144 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-72717202-92739420, IP 92.171.249.195, Port 22 2025-09-29 03:24:13,211 - 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-09-29 03:24:13,328 - DEBUG - VM ctest-TestvifStats-72717202-92739420 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 03:24:18,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:24:18,330 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-72717202-92739420, IP 92.171.249.195, Port 22 2025-09-29 03:24:18,396 - 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-09-29 03:24:18,514 - DEBUG - VM ctest-TestvifStats-72717202-92739420 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 03:24:23,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:24:23,515 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-72717202-92739420, IP 92.171.249.195, Port 22 2025-09-29 03:24:23,583 - 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-09-29 03:24:23,663 - DEBUG - VM ctest-TestvifStats-72717202-92739420 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 03:24:28,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:24:28,664 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-72717202-92739420, IP 92.171.249.195, Port 22 2025-09-29 03:24:28,831 - DEBUG - VM ctest-TestvifStats-72717202-92739420 is ready for SSH connections 2025-09-29 03:24:28,831 - INFO - Waiting for VM ctest-TestvifStats-72717202-77061312 to be up.. 2025-09-29 03:24:28,926 - DEBUG - VM is in ACTIVE state now 2025-09-29 03:24:28,926 - INFO - VM name : ctest-TestvifStats-72717202-77061312 2025-09-29 03:24:29,010 - DEBUG - VM ctest-TestvifStats-72717202-77061312 ID is daacc84a-f856-4010-991b-da682d5e0397 2025-09-29 03:24:29,010 - DEBUG - VM ctest-TestvifStats-72717202-77061312 launched on Node an-jenkins-deploy-platform-ansible-os-4203-2 2025-09-29 03:24:29,105 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/daacc84a-f856-4010-991b-da682d5e0397 2025-09-29 03:24:29,122 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1c5e37e9-238c-4c47-af76-1bfdcf894067 2025-09-29 03:24:30,303 - 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=4.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.70 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.696/2.992/4.288/1.296 ms') 2025-09-29 03:24:30,303 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-72717202-77061312 passed 2025-09-29 03:24:30,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:24:30,408 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-72717202-77061312, IP 92.171.249.196, Port 22 2025-09-29 03:24:30,480 - 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-09-29 03:24:30,586 - DEBUG - VM ctest-TestvifStats-72717202-77061312 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 03:24:35,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:24:35,587 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-72717202-77061312, IP 92.171.249.196, Port 22 2025-09-29 03:24:35,745 - DEBUG - VM ctest-TestvifStats-72717202-77061312 is ready for SSH connections 2025-09-29 03:24:35,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 03:24:35,745 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.171.249.196, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-09-29 03:24:35,745 - DEBUG - ping -s 56 -c 3 -W 1 92.171.249.196 2025-09-29 03:24:57,210 - DEBUG - PING 92.171.249.196 (92.171.249.196) 56(84) bytes of data. 64 bytes from 92.171.249.196: icmp_req=1 ttl=64 time=8.60 ms 64 bytes from 92.171.249.196: icmp_req=2 ttl=64 time=3.21 ms 64 bytes from 92.171.249.196: icmp_req=3 ttl=64 time=0.903 ms --- 92.171.249.196 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.903/4.241/8.602/3.225 ms 2025-09-29 03:24:57,210 - INFO - Ping to IP 92.171.249.196 from VM ctest-TestvifStats-72717202-92739420 passed 2025-09-29 03:24:57,210 - INFO - 10.0.0.131 2025-09-29 03:24:57,210 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-09-29 03:24:57,321 - INFO - Deleting VM ctest-TestvifStats-72717202-77061312 2025-09-29 03:24:57,389 - INFO - Deleting VM ctest-TestvifStats-72717202-92739420 2025-09-29 03:24:57,464 - INFO - Deleting VN ctest-vn-04716949 2025-09-29 03:24:57,522 - DEBUG - VN f3938eef-03d2-4ba2-ba72-ff19a80ff5b5 still in use: Unable to complete operation on network f3938eef-03d2-4ba2-ba72-ff19a80ff5b5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-befbb2a5-24c9-4f0b-b4d7-233463090960'] 2025-09-29 03:24:57,523 - WARNING - Deleting VN ctest-vn-04716949 failed..Will retry 2025-09-29 03:24:59,672 - DEBUG - Response for deleting network () 2025-09-29 03:24:59,672 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b7414aaf-9eb8-4e64-b967-2dadeb586d7e 2025-09-29 03:24:59,678 - DEBUG - Response Code: 404 2025-09-29 03:24:59,679 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-29 03:24:59,684 - DEBUG - Requesting: http://10.0.0.38:8082/domain/026b1476-0afc-4093-a11e-3a5638365dda 2025-09-29 03:24:59,700 - DEBUG - Requesting: http://10.0.0.38:8082/project/c43e62d0-c6f6-4dff-bdb0-98be9852f9b7 2025-09-29 03:24:59,789 - INFO - Validated that VN ctest-vn-04716949 is not found in API Server 2025-09-29 03:24:59,800 - DEBUG - VN ctest-vn-04716949 is not present in Agent 10.0.0.27 2025-09-29 03:24:59,812 - DEBUG - VN ctest-vn-04716949 is not present in Agent 10.0.0.131 2025-09-29 03:24:59,812 - INFO - Validated that VN ctest-vn-04716949 is not in any agent 2025-09-29 03:24:59,841 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04716949 info 2025-09-29 03:25:01,130 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Mon Sep 29 03:24:57 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.131' /contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.131') 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-09-29 03:25:01,145 - DEBUG - No XMPP flaps were noticed during the test 2025-09-29 03:25:01,145 - INFO - 2025-09-29 03:25:01,145 - INFO - END TEST : test_vif_statistics : FAILED[0:01:48] 2025-09-29 03:25:01,146 - INFO - -------------------------------------------------------------------------------- 2025-09-29 03:25:01,930 - INFO - Deleted project: ctest-TestvifStats-72717202, ID : c43e62d0-c6f6-4dff-bdb0-98be9852f9b7