2025-10-27 03:45:39,217 - INFO - Domain Default found not creating 2025-10-27 03:45:39,710 - INFO - Project ctest-TestvifStats-49404451 not found, creating it 2025-10-27 03:45:40,247 - INFO - Created Project:ctest-TestvifStats-49404451, ID : 5dadb669-3068-4fa8-ab2c-b707595af1df 2025-10-27 03:45:41,791 - INFO - ================================================================================ 2025-10-27 03:45:41,792 - INFO - STARTING TEST : test_vif_statistics 2025-10-27 03:45:41,792 - 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-27 03:45:43,082 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.131': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2025-10-27 03:45:43,082 - INFO - Initial checks done. Running the testcase now 2025-10-27 03:45:43,082 - INFO - 2025-10-27 03:45:43,755 - DEBUG - Response for create_network : {'network': {'id': '6799b13c-7394-4ef0-b85d-2a6379ec4f2b', 'name': 'ctest-vn-25003928', 'tenant_id': '5dadb66930684fa8ab2cb707595af1df', 'project_id': '5dadb66930684fa8ab2cb707595af1df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-49404451', 'ctest-vn-25003928'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 03:45:44,048 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fcc43980-e37e-4212-9b0a-1a0a523b203f', 'name': '', 'tenant_id': '5dadb66930684fa8ab2cb707595af1df', 'network_id': '6799b13c-7394-4ef0-b85d-2a6379ec4f2b', 'ip_version': 4, 'cidr': '194.45.126.192/26', 'allocation_pools': [{'start': '194.45.126.194', 'end': '194.45.126.254'}], 'gateway_ip': '194.45.126.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.45.126.194', 'tags': [], 'project_id': '5dadb66930684fa8ab2cb707595af1df'}} 2025-10-27 03:45:44,072 - INFO - Created VN ctest-vn-25003928 2025-10-27 03:45:44,084 - DEBUG - VN ctest-vn-25003928 UUID is 6799b13c-7394-4ef0-b85d-2a6379ec4f2b 2025-10-27 03:45:44,165 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 03:45:44,468 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 03:45:44,503 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8213efff-6224-4943-8f79-85cc33013f73 2025-10-27 03:45:44,528 - DEBUG - Requesting: http://10.0.0.249:8082/project/5dadb669-3068-4fa8-ab2c-b707595af1df 2025-10-27 03:45:44,642 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6799b13c-7394-4ef0-b85d-2a6379ec4f2b 2025-10-27 03:45:44,657 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6799b13c-7394-4ef0-b85d-2a6379ec4f2b 2025-10-27 03:45:44,668 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b404bc53-9989-4217-87d7-a7c2aa1b9b2e 2025-10-27 03:45:44,678 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b404bc53-9989-4217-87d7-a7c2aa1b9b2e 2025-10-27 03:45:44,688 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/959f8c29-5ad4-4807-98b2-af7031efa38e 2025-10-27 03:45:44,696 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 03:45:44,696 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6799b13c-7394-4ef0-b85d-2a6379ec4f2b 2025-10-27 03:45:44,706 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b404bc53-9989-4217-87d7-a7c2aa1b9b2e 2025-10-27 03:45:44,725 - INFO - Verified VN network id 15 for VN 6799b13c-7394-4ef0-b85d-2a6379ec4f2b 2025-10-27 03:45:44,726 - INFO - Verifications in API Server for VN ctest-vn-25003928 passed 2025-10-27 03:45:44,726 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6799b13c-7394-4ef0-b85d-2a6379ec4f2b 2025-10-27 03:45:44,739 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b404bc53-9989-4217-87d7-a7c2aa1b9b2e 2025-10-27 03:45:44,747 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b404bc53-9989-4217-87d7-a7c2aa1b9b2e 2025-10-27 03:45:44,755 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/959f8c29-5ad4-4807-98b2-af7031efa38e 2025-10-27 03:45:44,768 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-49404451', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7465192730538561264', 'uuid-lslong': '13284821082548490027'}, 'enable': 'true', 'created': '2025-10-27T03:45:43', 'last-modified': '2025-10-27T03:45:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.777662'} 2025-10-27 03:45:44,774 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 03:45:44,779 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-49404451', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7465192730538561264', 'uuid-lslong': '13284821082548490027'}, 'enable': 'true', 'created': '2025-10-27T03:45:43', 'last-modified': '2025-10-27T03:45:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.789264'} 2025-10-27 03:45:44,786 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 03:45:44,791 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-49404451', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7465192730538561264', 'uuid-lslong': '13284821082548490027'}, 'enable': 'true', 'created': '2025-10-27T03:45:43', 'last-modified': '2025-10-27T03:45:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.801745'} 2025-10-27 03:45:44,798 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 03:45:44,798 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25003928 passed 2025-10-27 03:45:44,798 - DEBUG - ====Verifying policy data for ctest-vn-25003928 in API_Server ====== 2025-10-27 03:45:44,798 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 03:45:44,805 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8213efff-6224-4943-8f79-85cc33013f73 2025-10-27 03:45:44,819 - DEBUG - Requesting: http://10.0.0.249:8082/project/5dadb669-3068-4fa8-ab2c-b707595af1df 2025-10-27 03:45:44,925 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6799b13c-7394-4ef0-b85d-2a6379ec4f2b 2025-10-27 03:45:44,939 - DEBUG - =>VN ctest-vn-25003928 has no policy to be verified 2025-10-27 03:45:44,939 - DEBUG - Verifying the vn in opserver 2025-10-27 03:45:44,939 - DEBUG - Verifying the default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 virtual network link through opserver 10.0.0.249 2025-10-27 03:45:44,940 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-27 03:45:45,239 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-27 03:45:45,299 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928?flat'} 2025-10-27 03:45:45,299 - DEBUG - Verifying the default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 virtual network link through opserver 10.0.0.33 2025-10-27 03:45:45,299 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-27 03:45:45,598 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-27 03:45:45,656 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928?flat'} 2025-10-27 03:45:45,656 - DEBUG - Verifying the default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 virtual network link through opserver 10.0.0.129 2025-10-27 03:45:45,656 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-10-27 03:45:45,962 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-10-27 03:45:46,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928?flat'} 2025-10-27 03:45:46,017 - INFO - Validated that VN default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 is found in opserver 2025-10-27 03:45:46,040 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 03:45:46,050 - DEBUG - VRF ids for VN ctest-vn-25003928: {} 2025-10-27 03:45:46,080 - DEBUG - Services list from nova: [, , , ] 2025-10-27 03:45:46,080 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4489-2', 'an-jenkins-deploy-platform-ansible-os-4489-1']} 2025-10-27 03:45:46,080 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4489-2', 'an-jenkins-deploy-platform-ansible-os-4489-1']} 2025-10-27 03:45:47,317 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4489-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4489-2) 2025-10-27 03:45:47,317 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4489-2', 'an-jenkins-deploy-platform-ansible-os-4489-1']} 2025-10-27 03:45:48,693 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4489-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4489-2) 2025-10-27 03:45:48,694 - INFO - Waiting for VM ctest-TestvifStats-49404451-03930346 to be up.. 2025-10-27 03:45:48,803 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 03:45:53,908 - DEBUG - VM is in ACTIVE state now 2025-10-27 03:45:53,908 - INFO - VM name : ctest-TestvifStats-49404451-03930346 2025-10-27 03:45:54,002 - DEBUG - VM ctest-TestvifStats-49404451-03930346 ID is cd3cc005-ee18-46f3-8e1b-4c5912877fb0 2025-10-27 03:45:54,041 - DEBUG - VM ctest-TestvifStats-49404451-03930346 launched on Node an-jenkins-deploy-platform-ansible-os-4489-2 2025-10-27 03:45:54,133 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/cd3cc005-ee18-46f3-8e1b-4c5912877fb0 2025-10-27 03:45:54,437 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/cd3cc005-ee18-46f3-8e1b-4c5912877fb0 2025-10-27 03:45:54,474 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/f6226a80-f2f5-431d-b0d1-12a9d51ee47d 2025-10-27 03:45:57,659 - 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 1013ms') 2025-10-27 03:45:57,659 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-49404451-03930346 failed! 2025-10-27 03:45:57,674 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 is 194.45.126.193 and allocation pool is NOT set 2025-10-27 03:46:01,759 - 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-27 03:46:01,759 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-49404451-03930346 failed! 2025-10-27 03:46:01,775 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 is 194.45.126.193 and allocation pool is NOT set 2025-10-27 03:46:05,855 - 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-27 03:46:05,855 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-49404451-03930346 failed! 2025-10-27 03:46:05,873 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 is 194.45.126.193 and allocation pool is NOT set 2025-10-27 03:46:09,952 - 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-27 03:46:09,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-49404451-03930346 failed! 2025-10-27 03:46:09,968 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 is 194.45.126.193 and allocation pool is NOT set 2025-10-27 03:46:14,042 - 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-27 03:46:14,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-49404451-03930346 failed! 2025-10-27 03:46:14,057 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 is 194.45.126.193 and allocation pool is NOT set 2025-10-27 03:46:18,144 - 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-27 03:46:18,145 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-49404451-03930346 failed! 2025-10-27 03:46:18,161 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 is 194.45.126.193 and allocation pool is NOT set 2025-10-27 03:46:22,234 - 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-27 03:46:22,234 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-49404451-03930346 failed! 2025-10-27 03:46:22,248 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 is 194.45.126.193 and allocation pool is NOT set 2025-10-27 03:46:26,336 - 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-10-27 03:46:26,337 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-49404451-03930346 failed! 2025-10-27 03:46:26,354 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 is 194.45.126.193 and allocation pool is NOT set 2025-10-27 03:46:30,430 - 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 1010ms') 2025-10-27 03:46:30,430 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-49404451-03930346 failed! 2025-10-27 03:46:30,447 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 is 194.45.126.193 and allocation pool is NOT set 2025-10-27 03:46:34,522 - 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-27 03:46:34,523 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-49404451-03930346 failed! 2025-10-27 03:46:34,542 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-49404451:ctest-vn-25003928 is 194.45.126.193 and allocation pool is NOT set 2025-10-27 03:46:38,628 - 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=2 ttl=63 time=12.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 12.162/12.162/12.162/0.000 ms') 2025-10-27 03:46:38,628 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-49404451-03930346 passed 2025-10-27 03:46:38,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:46:38,698 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-49404451-03930346, IP 194.45.126.195, Port 22 2025-10-27 03:46:38,771 - 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-27 03:46:38,852 - DEBUG - VM ctest-TestvifStats-49404451-03930346 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:46:43,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:46:43,853 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-49404451-03930346, IP 194.45.126.195, Port 22 2025-10-27 03:46:43,919 - 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-27 03:46:44,001 - DEBUG - VM ctest-TestvifStats-49404451-03930346 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:46:49,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:46:49,002 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-49404451-03930346, IP 194.45.126.195, Port 22 2025-10-27 03:46:49,081 - 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-27 03:46:49,168 - DEBUG - VM ctest-TestvifStats-49404451-03930346 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:46:54,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:46:54,169 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-49404451-03930346, IP 194.45.126.195, Port 22 2025-10-27 03:46:54,235 - 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-27 03:46:54,314 - DEBUG - VM ctest-TestvifStats-49404451-03930346 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:46:59,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:46:59,315 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-49404451-03930346, IP 194.45.126.195, Port 22 2025-10-27 03:46:59,486 - DEBUG - VM ctest-TestvifStats-49404451-03930346 is ready for SSH connections 2025-10-27 03:46:59,487 - INFO - Waiting for VM ctest-TestvifStats-49404451-71705581 to be up.. 2025-10-27 03:46:59,571 - DEBUG - VM is in ACTIVE state now 2025-10-27 03:46:59,571 - INFO - VM name : ctest-TestvifStats-49404451-71705581 2025-10-27 03:46:59,657 - DEBUG - VM ctest-TestvifStats-49404451-71705581 ID is ee4efab9-69ba-4187-8f78-a599f1791a96 2025-10-27 03:46:59,657 - DEBUG - VM ctest-TestvifStats-49404451-71705581 launched on Node an-jenkins-deploy-platform-ansible-os-4489-2 2025-10-27 03:46:59,750 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/ee4efab9-69ba-4187-8f78-a599f1791a96 2025-10-27 03:46:59,759 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/bd25803e-f1ee-4119-ad9b-16442e41ef92 2025-10-27 03:47:00,926 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.40 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.396/3.027/3.658/0.631 ms') 2025-10-27 03:47:00,926 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-49404451-71705581 passed 2025-10-27 03:47:00,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:47:00,999 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-49404451-71705581, IP 194.45.126.196, Port 22 2025-10-27 03:47:01,167 - DEBUG - VM ctest-TestvifStats-49404451-71705581 is ready for SSH connections 2025-10-27 03:47:01,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:47:01,168 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.45.126.196, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 03:47:01,168 - DEBUG - ping -s 56 -c 3 -W 1 194.45.126.196 2025-10-27 03:47:26,604 - DEBUG - PING 194.45.126.196 (194.45.126.196) 56(84) bytes of data. 64 bytes from 194.45.126.196: icmp_req=1 ttl=64 time=12.5 ms 64 bytes from 194.45.126.196: icmp_req=2 ttl=64 time=0.978 ms 64 bytes from 194.45.126.196: icmp_req=3 ttl=64 time=0.864 ms --- 194.45.126.196 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.864/4.796/12.546/5.480 ms 2025-10-27 03:47:26,605 - INFO - Ping to IP 194.45.126.196 from VM ctest-TestvifStats-49404451-03930346 passed 2025-10-27 03:47:26,605 - INFO - 10.0.0.131 2025-10-27 03:47:26,605 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-10-27 03:47:26,727 - INFO - Deleting VM ctest-TestvifStats-49404451-71705581 2025-10-27 03:47:26,814 - INFO - Deleting VM ctest-TestvifStats-49404451-03930346 2025-10-27 03:47:26,890 - INFO - Deleting VN ctest-vn-25003928 2025-10-27 03:47:26,935 - DEBUG - VN 6799b13c-7394-4ef0-b85d-2a6379ec4f2b still in use: Unable to complete operation on network 6799b13c-7394-4ef0-b85d-2a6379ec4f2b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-93671490-7bf8-4de9-be11-84052f8ca6cc'] 2025-10-27 03:47:26,935 - WARNING - Deleting VN ctest-vn-25003928 failed..Will retry 2025-10-27 03:47:29,079 - DEBUG - Response for deleting network () 2025-10-27 03:47:29,079 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b404bc53-9989-4217-87d7-a7c2aa1b9b2e 2025-10-27 03:47:29,090 - DEBUG - Response Code: 404 2025-10-27 03:47:29,090 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 03:47:29,102 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8213efff-6224-4943-8f79-85cc33013f73 2025-10-27 03:47:29,158 - DEBUG - Requesting: http://10.0.0.249:8082/project/5dadb669-3068-4fa8-ab2c-b707595af1df 2025-10-27 03:47:29,264 - INFO - Validated that VN ctest-vn-25003928 is not found in API Server 2025-10-27 03:47:29,283 - DEBUG - VN ctest-vn-25003928 is not present in Agent 10.0.0.130 2025-10-27 03:47:29,296 - DEBUG - VN ctest-vn-25003928 is not present in Agent 10.0.0.131 2025-10-27 03:47:29,296 - INFO - Validated that VN ctest-vn-25003928 is not in any agent 2025-10-27 03:47:29,334 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25003928 info 2025-10-27 03:47:30,602 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Mon Oct 27 03:47:26 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-10-27 03:47:30,617 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 03:47:30,617 - INFO -
2025-10-27 03:47:30,617 - INFO - END TEST : test_vif_statistics : FAILED[0:01:49]
2025-10-27 03:47:30,617 - INFO - -------------------------------------------------------------------------------- 2025-10-27 03:47:31,348 - INFO - Deleted project: ctest-TestvifStats-49404451, ID : 5dadb669-3068-4fa8-ab2c-b707595af1df