2025-10-08 15:13:35,433 - INFO - Domain Default found not creating 2025-10-08 15:13:35,646 - INFO - Project ctest-TestvifStats-82203085 not found, creating it 2025-10-08 15:13:36,218 - INFO - Created Project:ctest-TestvifStats-82203085, ID : cffb9cb2-36c2-472b-b0b1-a3c1a28fb803 2025-10-08 15:13:38,030 - INFO - ================================================================================ 2025-10-08 15:13:38,030 - INFO - STARTING TEST : test_vif_statistics 2025-10-08 15:13:38,030 - 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 15:13:39,336 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.249': '0', '10.20.0.252': '0'}, '10.0.0.241': {'10.20.0.252': '0', '10.20.0.249': '0'}} with 2025-10-08 15:13:39,336 - INFO - Initial checks done. Running the testcase now 2025-10-08 15:13:39,336 - INFO - 2025-10-08 15:13:40,161 - DEBUG - Response for create_network : {'network': {'id': '9f68e82b-3ced-4da7-b5d4-228ae3f450aa', 'name': 'ctest-vn-38490342', 'tenant_id': 'cffb9cb236c2472bb0b1a3c1a28fb803', 'project_id': 'cffb9cb236c2472bb0b1a3c1a28fb803', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-82203085', 'ctest-vn-38490342'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 15:13:40,522 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e54a908-755a-45b4-98f1-4cd250a1a28a', 'name': '', 'tenant_id': 'cffb9cb236c2472bb0b1a3c1a28fb803', 'network_id': '9f68e82b-3ced-4da7-b5d4-228ae3f450aa', 'ip_version': 4, 'cidr': '123.112.202.64/26', 'allocation_pools': [{'start': '123.112.202.66', 'end': '123.112.202.126'}], 'gateway_ip': '123.112.202.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.112.202.66', 'tags': [], 'project_id': 'cffb9cb236c2472bb0b1a3c1a28fb803'}} 2025-10-08 15:13:40,550 - INFO - Created VN ctest-vn-38490342 2025-10-08 15:13:40,565 - DEBUG - VN ctest-vn-38490342 UUID is 9f68e82b-3ced-4da7-b5d4-228ae3f450aa 2025-10-08 15:13:40,657 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-10-08 15:13:40,996 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-10-08 15:13:41,035 - DEBUG - Requesting: http://10.0.0.133:8082/domain/adc52b80-2ed1-485c-90d4-83e78c8e1400 2025-10-08 15:13:41,055 - DEBUG - Requesting: http://10.0.0.133:8082/project/cffb9cb2-36c2-472b-b0b1-a3c1a28fb803 2025-10-08 15:13:41,155 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/9f68e82b-3ced-4da7-b5d4-228ae3f450aa 2025-10-08 15:13:41,175 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/9f68e82b-3ced-4da7-b5d4-228ae3f450aa 2025-10-08 15:13:41,188 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/469b7553-9547-429e-b7a4-0e4b9ecc0563 2025-10-08 15:13:41,202 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/469b7553-9547-429e-b7a4-0e4b9ecc0563 2025-10-08 15:13:41,216 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/6a43472e-d447-45bf-a6d2-17cb159a624d 2025-10-08 15:13:41,227 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 15:13:41,227 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/9f68e82b-3ced-4da7-b5d4-228ae3f450aa 2025-10-08 15:13:41,243 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/469b7553-9547-429e-b7a4-0e4b9ecc0563 2025-10-08 15:13:41,265 - INFO - Verified VN network id 14 for VN 9f68e82b-3ced-4da7-b5d4-228ae3f450aa 2025-10-08 15:13:41,266 - INFO - Verifications in API Server for VN ctest-vn-38490342 passed 2025-10-08 15:13:41,266 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/9f68e82b-3ced-4da7-b5d4-228ae3f450aa 2025-10-08 15:13:41,282 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/469b7553-9547-429e-b7a4-0e4b9ecc0563 2025-10-08 15:13:41,293 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/469b7553-9547-429e-b7a4-0e4b9ecc0563 2025-10-08 15:13:41,302 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/6a43472e-d447-45bf-a6d2-17cb159a624d 2025-10-08 15:13:41,320 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-82203085', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11486686122011872679', 'uuid-lslong': '13102135195852886186'}, 'enable': 'true', 'created': '2025-10-08T15:13:40', 'last-modified': '2025-10-08T15:13:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.884384'} 2025-10-08 15:13:41,330 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 15:13:41,337 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-82203085', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11486686122011872679', 'uuid-lslong': '13102135195852886186'}, 'enable': 'true', 'created': '2025-10-08T15:13:40', 'last-modified': '2025-10-08T15:13:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899835'} 2025-10-08 15:13:41,345 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 15:13:41,355 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-82203085', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11486686122011872679', 'uuid-lslong': '13102135195852886186'}, 'enable': 'true', 'created': '2025-10-08T15:13:40', 'last-modified': '2025-10-08T15:13:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.917569'} 2025-10-08 15:13:41,364 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 15:13:41,364 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38490342 passed 2025-10-08 15:13:41,364 - DEBUG - ====Verifying policy data for ctest-vn-38490342 in API_Server ====== 2025-10-08 15:13:41,364 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-10-08 15:13:41,374 - DEBUG - Requesting: http://10.0.0.133:8082/domain/adc52b80-2ed1-485c-90d4-83e78c8e1400 2025-10-08 15:13:41,393 - DEBUG - Requesting: http://10.0.0.133:8082/project/cffb9cb2-36c2-472b-b0b1-a3c1a28fb803 2025-10-08 15:13:41,501 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/9f68e82b-3ced-4da7-b5d4-228ae3f450aa 2025-10-08 15:13:41,517 - DEBUG - =>VN ctest-vn-38490342 has no policy to be verified 2025-10-08 15:13:41,517 - DEBUG - Verifying the vn in opserver 2025-10-08 15:13:41,517 - DEBUG - Verifying the default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 virtual network link through opserver 10.0.0.133 2025-10-08 15:13:41,517 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2025-10-08 15:13:41,851 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2025-10-08 15:13:41,928 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342?flat'} 2025-10-08 15:13:41,928 - DEBUG - Verifying the default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 virtual network link through opserver 10.0.0.50 2025-10-08 15:13:41,929 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-08 15:13:42,258 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-08 15:13:42,351 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342?flat'} 2025-10-08 15:13:42,352 - DEBUG - Verifying the default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 virtual network link through opserver 10.0.0.242 2025-10-08 15:13:42,352 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-08 15:13:42,674 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-08 15:13:42,760 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342?flat'} 2025-10-08 15:13:42,760 - INFO - Validated that VN default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 is found in opserver 2025-10-08 15:13:42,791 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 15:13:42,804 - DEBUG - VRF ids for VN ctest-vn-38490342: {} 2025-10-08 15:13:42,840 - DEBUG - Services list from nova: [, , , ] 2025-10-08 15:13:42,840 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4236-2', 'an-jenkins-deploy-platform-ansible-os-4236-1']} 2025-10-08 15:13:42,840 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4236-2', 'an-jenkins-deploy-platform-ansible-os-4236-1']} 2025-10-08 15:13:44,300 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4236-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4236-2) 2025-10-08 15:13:44,300 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4236-2', 'an-jenkins-deploy-platform-ansible-os-4236-1']} 2025-10-08 15:13:45,947 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4236-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4236-2) 2025-10-08 15:13:45,947 - INFO - Waiting for VM ctest-TestvifStats-82203085-34710461 to be up.. 2025-10-08 15:13:46,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:13:51,179 - DEBUG - VM is in ACTIVE state now 2025-10-08 15:13:51,179 - INFO - VM name : ctest-TestvifStats-82203085-34710461 2025-10-08 15:13:51,280 - DEBUG - VM ctest-TestvifStats-82203085-34710461 ID is 4b2db97d-558d-4a9f-9980-2a750e546011 2025-10-08 15:13:51,329 - DEBUG - VM ctest-TestvifStats-82203085-34710461 launched on Node an-jenkins-deploy-platform-ansible-os-4236-2 2025-10-08 15:13:51,437 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4b2db97d-558d-4a9f-9980-2a750e546011 2025-10-08 15:13:51,758 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4b2db97d-558d-4a9f-9980-2a750e546011 2025-10-08 15:13:51,799 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a37c1f19-a6ff-47ff-8c72-94cd53750888 2025-10-08 15:13:54,986 - 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 1022ms') 2025-10-08 15:13:54,986 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82203085-34710461 failed! 2025-10-08 15:13:55,003 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 is 123.112.202.65 and allocation pool is NOT set 2025-10-08 15:13:59,075 - 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 15:13:59,075 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82203085-34710461 failed! 2025-10-08 15:13:59,090 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 is 123.112.202.65 and allocation pool is NOT set 2025-10-08 15:14:03,175 - 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-08 15:14:03,176 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82203085-34710461 failed! 2025-10-08 15:14:03,195 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 is 123.112.202.65 and allocation pool is NOT set 2025-10-08 15:14:07,274 - 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 15:14:07,274 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82203085-34710461 failed! 2025-10-08 15:14:07,289 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 is 123.112.202.65 and allocation pool is NOT set 2025-10-08 15:14:11,371 - 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-10-08 15:14:11,371 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82203085-34710461 failed! 2025-10-08 15:14:11,389 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 is 123.112.202.65 and allocation pool is NOT set 2025-10-08 15:14:15,466 - 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-10-08 15:14:15,466 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82203085-34710461 failed! 2025-10-08 15:14:15,486 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 is 123.112.202.65 and allocation pool is NOT set 2025-10-08 15:14:19,593 - 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 1032ms') 2025-10-08 15:14:19,593 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82203085-34710461 failed! 2025-10-08 15:14:19,614 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 is 123.112.202.65 and allocation pool is NOT set 2025-10-08 15:14:23,687 - 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-10-08 15:14:23,687 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82203085-34710461 failed! 2025-10-08 15:14:23,705 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 is 123.112.202.65 and allocation pool is NOT set 2025-10-08 15:14:27,789 - 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 15:14:27,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82203085-34710461 failed! 2025-10-08 15:14:27,807 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 is 123.112.202.65 and allocation pool is NOT set 2025-10-08 15:14:31,880 - 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 15:14:31,880 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82203085-34710461 failed! 2025-10-08 15:14:31,896 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82203085:ctest-vn-38490342 is 123.112.202.65 and allocation pool is NOT set 2025-10-08 15:14:33,968 - 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=8.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.48 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.475/6.686/8.898/2.211 ms') 2025-10-08 15:14:33,968 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82203085-34710461 passed 2025-10-08 15:14:34,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:14:34,051 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82203085-34710461, IP 123.112.202.67, Port 22 2025-10-08 15:14:34,109 - 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 15:14:34,226 - DEBUG - VM ctest-TestvifStats-82203085-34710461 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:14:39,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:14:39,227 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82203085-34710461, IP 123.112.202.67, Port 22 2025-10-08 15:14:39,285 - 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 15:14:39,383 - DEBUG - VM ctest-TestvifStats-82203085-34710461 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:14:44,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:14:44,384 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82203085-34710461, IP 123.112.202.67, Port 22 2025-10-08 15:14:44,452 - 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 15:14:44,565 - DEBUG - VM ctest-TestvifStats-82203085-34710461 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:14:49,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:14:49,566 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82203085-34710461, IP 123.112.202.67, Port 22 2025-10-08 15:14:49,636 - 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 15:14:49,752 - DEBUG - VM ctest-TestvifStats-82203085-34710461 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:14:54,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:14:54,753 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82203085-34710461, IP 123.112.202.67, Port 22 2025-10-08 15:14:54,820 - 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 15:14:54,945 - DEBUG - VM ctest-TestvifStats-82203085-34710461 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:14:59,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:14:59,946 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82203085-34710461, IP 123.112.202.67, Port 22 2025-10-08 15:15:00,113 - DEBUG - VM ctest-TestvifStats-82203085-34710461 is ready for SSH connections 2025-10-08 15:15:00,113 - INFO - Waiting for VM ctest-TestvifStats-82203085-52666097 to be up.. 2025-10-08 15:15:00,232 - DEBUG - VM is in ACTIVE state now 2025-10-08 15:15:00,232 - INFO - VM name : ctest-TestvifStats-82203085-52666097 2025-10-08 15:15:00,340 - DEBUG - VM ctest-TestvifStats-82203085-52666097 ID is e71bb0c5-8e59-449b-a031-c21e37a82641 2025-10-08 15:15:00,340 - DEBUG - VM ctest-TestvifStats-82203085-52666097 launched on Node an-jenkins-deploy-platform-ansible-os-4236-2 2025-10-08 15:15:00,447 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/e71bb0c5-8e59-449b-a031-c21e37a82641 2025-10-08 15:15:00,462 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5d76fc7e-f838-46b3-8886-5de4eac5def5 2025-10-08 15:15:01,648 - 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=5.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.81 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 = 2.806/4.056/5.306/1.250 ms') 2025-10-08 15:15:01,648 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-82203085-52666097 passed 2025-10-08 15:15:01,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:15:01,722 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82203085-52666097, IP 123.112.202.68, Port 22 2025-10-08 15:15:01,891 - DEBUG - VM ctest-TestvifStats-82203085-52666097 is ready for SSH connections 2025-10-08 15:15:01,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:15:01,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.112.202.68, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-08 15:15:01,891 - DEBUG - ping -s 56 -c 3 -W 1 123.112.202.68 2025-10-08 15:15:23,310 - DEBUG - PING 123.112.202.68 (123.112.202.68) 56(84) bytes of data. 64 bytes from 123.112.202.68: icmp_req=1 ttl=64 time=8.71 ms 64 bytes from 123.112.202.68: icmp_req=2 ttl=64 time=0.908 ms 64 bytes from 123.112.202.68: icmp_req=3 ttl=64 time=0.680 ms --- 123.112.202.68 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.680/3.433/8.712/3.734 ms 2025-10-08 15:15:23,310 - INFO - Ping to IP 123.112.202.68 from VM ctest-TestvifStats-82203085-34710461 passed 2025-10-08 15:15:23,310 - INFO - 10.0.0.241 2025-10-08 15:15:23,310 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-10-08 15:15:23,434 - INFO - Deleting VM ctest-TestvifStats-82203085-52666097 2025-10-08 15:15:23,540 - INFO - Deleting VM ctest-TestvifStats-82203085-34710461 2025-10-08 15:15:23,633 - INFO - Deleting VN ctest-vn-38490342 2025-10-08 15:15:23,684 - DEBUG - VN 9f68e82b-3ced-4da7-b5d4-228ae3f450aa still in use: Unable to complete operation on network 9f68e82b-3ced-4da7-b5d4-228ae3f450aa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dba21d29-52d5-44a9-8d22-fdff5bb40529'] 2025-10-08 15:15:23,684 - WARNING - Deleting VN ctest-vn-38490342 failed..Will retry 2025-10-08 15:15:25,879 - DEBUG - Response for deleting network () 2025-10-08 15:15:25,879 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/469b7553-9547-429e-b7a4-0e4b9ecc0563 2025-10-08 15:15:25,900 - DEBUG - Response Code: 404 2025-10-08 15:15:25,900 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-10-08 15:15:25,909 - DEBUG - Requesting: http://10.0.0.133:8082/domain/adc52b80-2ed1-485c-90d4-83e78c8e1400 2025-10-08 15:15:25,929 - DEBUG - Requesting: http://10.0.0.133:8082/project/cffb9cb2-36c2-472b-b0b1-a3c1a28fb803 2025-10-08 15:15:26,033 - INFO - Validated that VN ctest-vn-38490342 is not found in API Server 2025-10-08 15:15:26,044 - DEBUG - VN ctest-vn-38490342 is not present in Agent 10.0.0.61 2025-10-08 15:15:26,056 - DEBUG - VN ctest-vn-38490342 is not present in Agent 10.0.0.241 2025-10-08 15:15:26,056 - INFO - Validated that VN ctest-vn-38490342 is not in any agent 2025-10-08 15:15:26,091 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38490342 info 2025-10-08 15:15:27,361 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Wed Oct 8 15:15:23 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.241' /contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.241') 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 15:15:27,376 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 15:15:27,376 - INFO -
2025-10-08 15:15:27,376 - INFO - END TEST : test_vif_statistics : FAILED[0:01:49]
2025-10-08 15:15:27,376 - INFO - -------------------------------------------------------------------------------- 2025-10-08 15:15:28,164 - INFO - Deleted project: ctest-TestvifStats-82203085, ID : cffb9cb2-36c2-472b-b0b1-a3c1a28fb803