2025-10-09 03:34:11,902 - INFO - Domain Default found not creating
2025-10-09 03:34:12,057 - INFO - Project ctest-TestvifStats-30355092 not found, creating it
2025-10-09 03:34:12,589 - INFO - Created Project:ctest-TestvifStats-30355092, ID : f52f5c7b-e74a-4c87-805d-4a21e083f295
2025-10-09 03:34:14,109 - INFO - ================================================================================
2025-10-09 03:34:14,110 - INFO - STARTING TEST : test_vif_statistics
2025-10-09 03:34:14,110 - 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-09 03:34:15,414 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.27': {'10.20.0.25': '0', '10.20.0.14': '0'}} with
2025-10-09 03:34:15,414 - INFO - Initial checks done. Running the testcase now
2025-10-09 03:34:15,414 - INFO -
2025-10-09 03:34:16,215 - DEBUG - Response for create_network : {'network': {'id': '1ff13c6c-a28c-49b4-aecc-536a1d397fa8', 'name': 'ctest-vn-50415653', 'tenant_id': 'f52f5c7be74a4c87805d4a21e083f295', 'project_id': 'f52f5c7be74a4c87805d4a21e083f295', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-30355092', 'ctest-vn-50415653'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 03:34:16,468 - DEBUG - Response for create_subnet : {'subnet': {'id': 'facd7982-10cd-43be-a1ad-2ec0e38b22f7', 'name': '', 'tenant_id': 'f52f5c7be74a4c87805d4a21e083f295', 'network_id': '1ff13c6c-a28c-49b4-aecc-536a1d397fa8', 'ip_version': 4, 'cidr': '166.126.94.0/26', 'allocation_pools': [{'start': '166.126.94.2', 'end': '166.126.94.62'}], 'gateway_ip': '166.126.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.126.94.2', 'tags': [], 'project_id': 'f52f5c7be74a4c87805d4a21e083f295'}}
2025-10-09 03:34:16,490 - INFO - Created VN ctest-vn-50415653
2025-10-09 03:34:16,503 - DEBUG - VN ctest-vn-50415653 UUID is 1ff13c6c-a28c-49b4-aecc-536a1d397fa8
2025-10-09 03:34:16,586 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2025-10-09 03:34:16,892 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2025-10-09 03:34:16,921 - DEBUG - Requesting: http://10.0.0.56:8082/domain/7ed77c0b-e642-4c13-a404-7756503cf17d
2025-10-09 03:34:16,936 - DEBUG - Requesting: http://10.0.0.56:8082/project/f52f5c7b-e74a-4c87-805d-4a21e083f295
2025-10-09 03:34:17,035 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/1ff13c6c-a28c-49b4-aecc-536a1d397fa8
2025-10-09 03:34:17,047 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/1ff13c6c-a28c-49b4-aecc-536a1d397fa8
2025-10-09 03:34:17,057 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/2c65fb71-af4c-47cc-a2e5-ebd2efdf714b
2025-10-09 03:34:17,064 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/2c65fb71-af4c-47cc-a2e5-ebd2efdf714b
2025-10-09 03:34:17,071 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/be4ea14b-1da8-4d08-87b0-256bee5f9b8a
2025-10-09 03:34:17,078 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-09 03:34:17,078 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/1ff13c6c-a28c-49b4-aecc-536a1d397fa8
2025-10-09 03:34:17,086 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/2c65fb71-af4c-47cc-a2e5-ebd2efdf714b
2025-10-09 03:34:17,102 - INFO - Verified VN network id 14 for VN 1ff13c6c-a28c-49b4-aecc-536a1d397fa8
2025-10-09 03:34:17,102 - INFO - Verifications in API Server for VN ctest-vn-50415653 passed
2025-10-09 03:34:17,103 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/1ff13c6c-a28c-49b4-aecc-536a1d397fa8
2025-10-09 03:34:17,115 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/2c65fb71-af4c-47cc-a2e5-ebd2efdf714b
2025-10-09 03:34:17,122 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/2c65fb71-af4c-47cc-a2e5-ebd2efdf714b
2025-10-09 03:34:17,128 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/be4ea14b-1da8-4d08-87b0-256bee5f9b8a
2025-10-09 03:34:17,141 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-30355092', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2301687321844271540', 'uuid-lslong': '12595533973070380968'}, 'enable': 'true', 'created': '2025-10-09T03:34:16', 'last-modified': '2025-10-09T03:34:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.730891'}
2025-10-09 03:34:17,147 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-09 03:34:17,154 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-30355092', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2301687321844271540', 'uuid-lslong': '12595533973070380968'}, 'enable': 'true', 'created': '2025-10-09T03:34:16', 'last-modified': '2025-10-09T03:34:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.744184'}
2025-10-09 03:34:17,160 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-09 03:34:17,166 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-30355092', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2301687321844271540', 'uuid-lslong': '12595533973070380968'}, 'enable': 'true', 'created': '2025-10-09T03:34:16', 'last-modified': '2025-10-09T03:34:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.756128'}
2025-10-09 03:34:17,172 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-09 03:34:17,173 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50415653 passed
2025-10-09 03:34:17,173 - DEBUG - ====Verifying policy data for ctest-vn-50415653 in API_Server ======
2025-10-09 03:34:17,173 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2025-10-09 03:34:17,179 - DEBUG - Requesting: http://10.0.0.56:8082/domain/7ed77c0b-e642-4c13-a404-7756503cf17d
2025-10-09 03:34:17,193 - DEBUG - Requesting: http://10.0.0.56:8082/project/f52f5c7b-e74a-4c87-805d-4a21e083f295
2025-10-09 03:34:17,290 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/1ff13c6c-a28c-49b4-aecc-536a1d397fa8
2025-10-09 03:34:17,301 - DEBUG - =>VN ctest-vn-50415653 has no policy to be verified
2025-10-09 03:34:17,301 - DEBUG - Verifying the vn in opserver
2025-10-09 03:34:17,301 - DEBUG - Verifying the default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 virtual network link through opserver 10.0.0.56
2025-10-09 03:34:17,301 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks
2025-10-09 03:34:17,620 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks
2025-10-09 03:34:17,776 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653?flat'}
2025-10-09 03:34:17,776 - DEBUG - Verifying the default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 virtual network link through opserver 10.0.0.19
2025-10-09 03:34:17,776 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-09 03:34:18,456 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-09 03:34:18,542 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653?flat'}
2025-10-09 03:34:18,542 - DEBUG - Verifying the default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 virtual network link through opserver 10.0.0.41
2025-10-09 03:34:18,542 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-10-09 03:34:18,847 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-10-09 03:34:18,912 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653?flat'}
2025-10-09 03:34:18,912 - INFO - Validated that VN default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 is found in opserver
2025-10-09 03:34:18,932 - DEBUG - Do not have enough data to verify VN in agent
2025-10-09 03:34:18,941 - DEBUG - VRF ids for VN ctest-vn-50415653: {}
2025-10-09 03:34:18,972 - DEBUG - Services list from nova: [, , , ]
2025-10-09 03:34:18,972 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4252-2', 'an-jenkins-deploy-platform-ansible-os-4252-1']}
2025-10-09 03:34:18,972 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4252-2', 'an-jenkins-deploy-platform-ansible-os-4252-1']}
2025-10-09 03:34:20,155 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4252-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4252-2)
2025-10-09 03:34:20,155 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4252-2', 'an-jenkins-deploy-platform-ansible-os-4252-1']}
2025-10-09 03:34:21,642 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4252-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4252-2)
2025-10-09 03:34:21,642 - INFO - Waiting for VM ctest-TestvifStats-30355092-37537868 to be up..
2025-10-09 03:34:21,729 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 03:34:26,820 - DEBUG - VM is in ACTIVE state now
2025-10-09 03:34:26,820 - INFO - VM name : ctest-TestvifStats-30355092-37537868
2025-10-09 03:34:26,917 - DEBUG - VM ctest-TestvifStats-30355092-37537868 ID is 54a0ab9d-cc27-43be-be1e-a3975a577d3c
2025-10-09 03:34:26,941 - DEBUG - VM ctest-TestvifStats-30355092-37537868 launched on Node an-jenkins-deploy-platform-ansible-os-4252-2
2025-10-09 03:34:27,024 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/54a0ab9d-cc27-43be-be1e-a3975a577d3c
2025-10-09 03:34:27,322 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/54a0ab9d-cc27-43be-be1e-a3975a577d3c
2025-10-09 03:34:27,354 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e7ced761-8127-4c0d-97a9-779883716072
2025-10-09 03:34:30,551 - 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-09 03:34:30,551 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-30355092-37537868 failed!
2025-10-09 03:34:30,566 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 is 166.126.94.1 and allocation pool is NOT set
2025-10-09 03:34:34,645 - 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-09 03:34:34,645 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-30355092-37537868 failed!
2025-10-09 03:34:34,659 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 is 166.126.94.1 and allocation pool is NOT set
2025-10-09 03:34:38,743 - 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-09 03:34:38,743 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-30355092-37537868 failed!
2025-10-09 03:34:38,757 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 is 166.126.94.1 and allocation pool is NOT set
2025-10-09 03:34:42,840 - 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-09 03:34:42,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-30355092-37537868 failed!
2025-10-09 03:34:42,853 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 is 166.126.94.1 and allocation pool is NOT set
2025-10-09 03:34:46,935 - 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-09 03:34:46,935 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-30355092-37537868 failed!
2025-10-09 03:34:46,950 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 is 166.126.94.1 and allocation pool is NOT set
2025-10-09 03:34:51,028 - 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-09 03:34:51,028 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-30355092-37537868 failed!
2025-10-09 03:34:51,044 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 is 166.126.94.1 and allocation pool is NOT set
2025-10-09 03:34:55,127 - 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-09 03:34:55,127 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-30355092-37537868 failed!
2025-10-09 03:34:55,144 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 is 166.126.94.1 and allocation pool is NOT set
2025-10-09 03:34:59,221 - 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-09 03:34:59,221 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-30355092-37537868 failed!
2025-10-09 03:34:59,236 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 is 166.126.94.1 and allocation pool is NOT set
2025-10-09 03:35:03,312 - 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-09 03:35:03,312 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-30355092-37537868 failed!
2025-10-09 03:35:03,327 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-30355092:ctest-vn-50415653 is 166.126.94.1 and allocation pool is NOT set
2025-10-09 03:35:05,394 - 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=15.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.24 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.242/9.882/15.522/5.640 ms')
2025-10-09 03:35:05,394 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-30355092-37537868 passed
2025-10-09 03:35:05,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 03:35:05,466 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-30355092-37537868, IP 166.126.94.3, Port 22
2025-10-09 03:35:05,531 - 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-09 03:35:05,624 - DEBUG - VM ctest-TestvifStats-30355092-37537868 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 03:35:10,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 03:35:10,625 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-30355092-37537868, IP 166.126.94.3, Port 22
2025-10-09 03:35:10,681 - 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-09 03:35:10,777 - DEBUG - VM ctest-TestvifStats-30355092-37537868 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 03:35:15,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 03:35:15,778 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-30355092-37537868, IP 166.126.94.3, Port 22
2025-10-09 03:35:15,843 - 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-09 03:35:15,959 - DEBUG - VM ctest-TestvifStats-30355092-37537868 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 03:35:20,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 03:35:20,960 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-30355092-37537868, IP 166.126.94.3, Port 22
2025-10-09 03:35:21,027 - 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-09 03:35:21,112 - DEBUG - VM ctest-TestvifStats-30355092-37537868 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 03:35:26,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 03:35:26,113 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-30355092-37537868, IP 166.126.94.3, Port 22
2025-10-09 03:35:26,269 - DEBUG - VM ctest-TestvifStats-30355092-37537868 is ready for SSH connections
2025-10-09 03:35:26,269 - INFO - Waiting for VM ctest-TestvifStats-30355092-79250250 to be up..
2025-10-09 03:35:26,364 - DEBUG - VM is in ACTIVE state now
2025-10-09 03:35:26,365 - INFO - VM name : ctest-TestvifStats-30355092-79250250
2025-10-09 03:35:26,457 - DEBUG - VM ctest-TestvifStats-30355092-79250250 ID is f7e8a896-3611-463a-9aa6-738878f24e08
2025-10-09 03:35:26,457 - DEBUG - VM ctest-TestvifStats-30355092-79250250 launched on Node an-jenkins-deploy-platform-ansible-os-4252-2
2025-10-09 03:35:26,545 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f7e8a896-3611-463a-9aa6-738878f24e08
2025-10-09 03:35:26,554 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/81b6c4d3-490b-4d46-9d7b-1dacc4359e5a
2025-10-09 03:35:27,721 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.02 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 = 3.018/3.422/3.827/0.404 ms')
2025-10-09 03:35:27,721 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-30355092-79250250 passed
2025-10-09 03:35:27,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 03:35:27,790 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-30355092-79250250, IP 166.126.94.4, Port 22
2025-10-09 03:35:27,945 - DEBUG - VM ctest-TestvifStats-30355092-79250250 is ready for SSH connections
2025-10-09 03:35:27,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 03:35:27,945 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.126.94.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-09 03:35:27,945 - DEBUG - ping -s 56 -c 3 -W 1 166.126.94.4
2025-10-09 03:35:49,109 - DEBUG - PING 166.126.94.4 (166.126.94.4) 56(84) bytes of data.
64 bytes from 166.126.94.4: icmp_req=1 ttl=64 time=12.4 ms
64 bytes from 166.126.94.4: icmp_req=2 ttl=64 time=0.967 ms
64 bytes from 166.126.94.4: icmp_req=3 ttl=64 time=0.744 ms
--- 166.126.94.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.744/4.709/12.417/5.451 ms
2025-10-09 03:35:49,109 - INFO - Ping to IP 166.126.94.4 from VM ctest-TestvifStats-30355092-37537868 passed
2025-10-09 03:35:49,109 - INFO - 10.0.0.27
2025-10-09 03:35:49,109 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-09 03:35:49,232 - INFO - Deleting VM ctest-TestvifStats-30355092-79250250
2025-10-09 03:35:49,307 - INFO - Deleting VM ctest-TestvifStats-30355092-37537868
2025-10-09 03:35:49,387 - INFO - Deleting VN ctest-vn-50415653
2025-10-09 03:35:49,439 - DEBUG - VN 1ff13c6c-a28c-49b4-aecc-536a1d397fa8 still in use: Unable to complete operation on network 1ff13c6c-a28c-49b4-aecc-536a1d397fa8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cc561e09-5d7b-4e48-aab4-58a2107bcfa4']
2025-10-09 03:35:49,439 - WARNING - Deleting VN ctest-vn-50415653 failed..Will retry
2025-10-09 03:35:51,615 - DEBUG - Response for deleting network ()
2025-10-09 03:35:51,615 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/2c65fb71-af4c-47cc-a2e5-ebd2efdf714b
2025-10-09 03:35:51,623 - DEBUG - Response Code: 404
2025-10-09 03:35:51,623 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2025-10-09 03:35:51,637 - DEBUG - Requesting: http://10.0.0.56:8082/domain/7ed77c0b-e642-4c13-a404-7756503cf17d
2025-10-09 03:35:51,694 - DEBUG - Requesting: http://10.0.0.56:8082/project/f52f5c7b-e74a-4c87-805d-4a21e083f295
2025-10-09 03:35:51,795 - INFO - Validated that VN ctest-vn-50415653 is not found in API Server
2025-10-09 03:35:51,805 - DEBUG - VN ctest-vn-50415653 is not present in Agent 10.0.0.22
2025-10-09 03:35:51,822 - DEBUG - VN ctest-vn-50415653 is not present in Agent 10.0.0.27
2025-10-09 03:35:51,822 - INFO - Validated that VN ctest-vn-50415653 is not in any agent
2025-10-09 03:35:51,854 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50415653 info
2025-10-09 03:35:53,126 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Thu Oct 9 03:35:49 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.27'
/contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.27')
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-09 03:35:53,140 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 03:35:53,140 - INFO -
2025-10-09 03:35:53,140 - INFO - END TEST : test_vif_statistics : FAILED[0:01:39]
2025-10-09 03:35:53,141 - INFO - --------------------------------------------------------------------------------
2025-10-09 03:35:53,908 - INFO - Deleted project: ctest-TestvifStats-30355092, ID : f52f5c7b-e74a-4c87-805d-4a21e083f295