2025-10-16 03:46:18,440 - INFO - Domain Default found not creating
2025-10-16 03:46:18,586 - INFO - Project ctest-TestvifStats-94818752 not found, creating it
2025-10-16 03:46:19,151 - INFO - Created Project:ctest-TestvifStats-94818752, ID : c3693879-416b-46db-9353-d1494140ca86
2025-10-16 03:46:20,672 - INFO - ================================================================================
2025-10-16 03:46:20,672 - INFO - STARTING TEST : test_vif_statistics
2025-10-16 03:46:20,672 - 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-16 03:46:21,979 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0', '10.20.0.5': '0'}, '10.0.0.129': {'10.20.0.5': '0', '10.20.0.252': '0'}} with
2025-10-16 03:46:21,979 - INFO - Initial checks done. Running the testcase now
2025-10-16 03:46:21,979 - INFO -
2025-10-16 03:46:22,609 - DEBUG - Response for create_network : {'network': {'id': '6123cdf8-99f2-4f55-843f-5313f3339eed', 'name': 'ctest-vn-70863025', 'tenant_id': 'c3693879416b46db9353d1494140ca86', 'project_id': 'c3693879416b46db9353d1494140ca86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-94818752', 'ctest-vn-70863025'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 03:46:22,868 - DEBUG - Response for create_subnet : {'subnet': {'id': '584e2fcf-df35-4304-8891-65ff7f432be8', 'name': '', 'tenant_id': 'c3693879416b46db9353d1494140ca86', 'network_id': '6123cdf8-99f2-4f55-843f-5313f3339eed', 'ip_version': 4, 'cidr': '25.16.137.128/26', 'allocation_pools': [{'start': '25.16.137.130', 'end': '25.16.137.190'}], 'gateway_ip': '25.16.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.16.137.130', 'tags': [], 'project_id': 'c3693879416b46db9353d1494140ca86'}}
2025-10-16 03:46:22,897 - INFO - Created VN ctest-vn-70863025
2025-10-16 03:46:22,907 - DEBUG - VN ctest-vn-70863025 UUID is 6123cdf8-99f2-4f55-843f-5313f3339eed
2025-10-16 03:46:23,007 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-16 03:46:23,307 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-16 03:46:23,335 - DEBUG - Requesting: http://10.0.0.19:8082/domain/446ea2e6-9d96-4973-a55a-3f633ea4d0f9
2025-10-16 03:46:23,349 - DEBUG - Requesting: http://10.0.0.19:8082/project/c3693879-416b-46db-9353-d1494140ca86
2025-10-16 03:46:23,454 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/6123cdf8-99f2-4f55-843f-5313f3339eed
2025-10-16 03:46:23,466 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/6123cdf8-99f2-4f55-843f-5313f3339eed
2025-10-16 03:46:23,475 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/198b73de-b1f1-4c88-8724-9712b9fcb804
2025-10-16 03:46:23,483 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/198b73de-b1f1-4c88-8724-9712b9fcb804
2025-10-16 03:46:23,491 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/7e31cc92-406e-4b51-b9c2-84dac3de88d3
2025-10-16 03:46:23,498 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-16 03:46:23,498 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/6123cdf8-99f2-4f55-843f-5313f3339eed
2025-10-16 03:46:23,508 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/198b73de-b1f1-4c88-8724-9712b9fcb804
2025-10-16 03:46:23,525 - INFO - Verified VN network id 12 for VN 6123cdf8-99f2-4f55-843f-5313f3339eed
2025-10-16 03:46:23,525 - INFO - Verifications in API Server for VN ctest-vn-70863025 passed
2025-10-16 03:46:23,525 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/6123cdf8-99f2-4f55-843f-5313f3339eed
2025-10-16 03:46:23,536 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/198b73de-b1f1-4c88-8724-9712b9fcb804
2025-10-16 03:46:23,543 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/198b73de-b1f1-4c88-8724-9712b9fcb804
2025-10-16 03:46:23,550 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/7e31cc92-406e-4b51-b9c2-84dac3de88d3
2025-10-16 03:46:23,563 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-94818752', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6999664713482260309', 'uuid-lslong': '9529426681688989421'}, 'enable': 'true', 'created': '2025-10-16T03:46:22', 'last-modified': '2025-10-16T03:46:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.742682'}
2025-10-16 03:46:23,569 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-16 03:46:23,575 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-94818752', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6999664713482260309', 'uuid-lslong': '9529426681688989421'}, 'enable': 'true', 'created': '2025-10-16T03:46:22', 'last-modified': '2025-10-16T03:46:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.746809'}
2025-10-16 03:46:23,581 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-16 03:46:23,587 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-94818752', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6999664713482260309', 'uuid-lslong': '9529426681688989421'}, 'enable': 'true', 'created': '2025-10-16T03:46:22', 'last-modified': '2025-10-16T03:46:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.766402'}
2025-10-16 03:46:23,593 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-16 03:46:23,593 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70863025 passed
2025-10-16 03:46:23,593 - DEBUG - ====Verifying policy data for ctest-vn-70863025 in API_Server ======
2025-10-16 03:46:23,593 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-16 03:46:23,600 - DEBUG - Requesting: http://10.0.0.19:8082/domain/446ea2e6-9d96-4973-a55a-3f633ea4d0f9
2025-10-16 03:46:23,611 - DEBUG - Requesting: http://10.0.0.19:8082/project/c3693879-416b-46db-9353-d1494140ca86
2025-10-16 03:46:23,700 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/6123cdf8-99f2-4f55-843f-5313f3339eed
2025-10-16 03:46:23,708 - DEBUG - =>VN ctest-vn-70863025 has no policy to be verified
2025-10-16 03:46:23,709 - DEBUG - Verifying the vn in opserver
2025-10-16 03:46:23,709 - DEBUG - Verifying the default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 virtual network link through opserver 10.0.0.19
2025-10-16 03:46:23,709 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-16 03:46:24,000 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-16 03:46:24,064 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025?flat'}
2025-10-16 03:46:24,065 - DEBUG - Verifying the default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 virtual network link through opserver 10.0.0.57
2025-10-16 03:46:24,065 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks
2025-10-16 03:46:24,360 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks
2025-10-16 03:46:24,415 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025?flat'}
2025-10-16 03:46:24,415 - DEBUG - Verifying the default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 virtual network link through opserver 10.0.0.23
2025-10-16 03:46:24,415 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-10-16 03:46:24,714 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-10-16 03:46:24,773 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025?flat'}
2025-10-16 03:46:24,773 - INFO - Validated that VN default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 is found in opserver
2025-10-16 03:46:24,797 - DEBUG - Do not have enough data to verify VN in agent
2025-10-16 03:46:24,809 - DEBUG - VRF ids for VN ctest-vn-70863025: {}
2025-10-16 03:46:24,834 - DEBUG - Services list from nova: [, , , ]
2025-10-16 03:46:24,834 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4339-1', 'an-jenkins-deploy-platform-ansible-os-4339-2']}
2025-10-16 03:46:24,834 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4339-1', 'an-jenkins-deploy-platform-ansible-os-4339-2']}
2025-10-16 03:46:25,946 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4339-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4339-1)
2025-10-16 03:46:25,946 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4339-1', 'an-jenkins-deploy-platform-ansible-os-4339-2']}
2025-10-16 03:46:27,183 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4339-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4339-1)
2025-10-16 03:46:27,183 - INFO - Waiting for VM ctest-TestvifStats-94818752-77178769 to be up..
2025-10-16 03:46:27,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-16 03:46:32,345 - DEBUG - VM is in ACTIVE state now
2025-10-16 03:46:32,345 - INFO - VM name : ctest-TestvifStats-94818752-77178769
2025-10-16 03:46:32,430 - DEBUG - VM ctest-TestvifStats-94818752-77178769 ID is b228bbde-3880-4e76-a1f1-9b37fd69abb3
2025-10-16 03:46:32,453 - DEBUG - VM ctest-TestvifStats-94818752-77178769 launched on Node an-jenkins-deploy-platform-ansible-os-4339-1
2025-10-16 03:46:32,536 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b228bbde-3880-4e76-a1f1-9b37fd69abb3
2025-10-16 03:46:32,830 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b228bbde-3880-4e76-a1f1-9b37fd69abb3
2025-10-16 03:46:32,864 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/eaa30e3e-6d57-460c-9edc-3bab0cdc6fab
2025-10-16 03:46:36,073 - 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 1029ms')
2025-10-16 03:46:36,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-94818752-77178769 failed!
2025-10-16 03:46:36,087 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 is 25.16.137.129 and allocation pool is NOT set
2025-10-16 03:46:40,165 - 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-16 03:46:40,165 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-94818752-77178769 failed!
2025-10-16 03:46:40,178 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 is 25.16.137.129 and allocation pool is NOT set
2025-10-16 03:46:44,266 - 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-16 03:46:44,267 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-94818752-77178769 failed!
2025-10-16 03:46:44,280 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 is 25.16.137.129 and allocation pool is NOT set
2025-10-16 03:46:48,351 - 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-16 03:46:48,351 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-94818752-77178769 failed!
2025-10-16 03:46:48,365 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 is 25.16.137.129 and allocation pool is NOT set
2025-10-16 03:46:52,457 - 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 1028ms')
2025-10-16 03:46:52,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-94818752-77178769 failed!
2025-10-16 03:46:52,470 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 is 25.16.137.129 and allocation pool is NOT set
2025-10-16 03:46:56,552 - 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-16 03:46:56,552 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-94818752-77178769 failed!
2025-10-16 03:46:56,565 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 is 25.16.137.129 and allocation pool is NOT set
2025-10-16 03:47:00,639 - 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-16 03:47:00,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-94818752-77178769 failed!
2025-10-16 03:47:00,654 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 is 25.16.137.129 and allocation pool is NOT set
2025-10-16 03:47:04,738 - 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-16 03:47:04,738 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-94818752-77178769 failed!
2025-10-16 03:47:04,753 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 is 25.16.137.129 and allocation pool is NOT set
2025-10-16 03:47:08,838 - 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-16 03:47:08,838 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-94818752-77178769 failed!
2025-10-16 03:47:08,853 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-94818752:ctest-vn-70863025 is 25.16.137.129 and allocation pool is NOT set
2025-10-16 03:47:12,933 - 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=7.41 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 7.409/7.409/7.409/0.000 ms')
2025-10-16 03:47:12,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-94818752-77178769 passed
2025-10-16 03:47:13,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:47:13,011 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-94818752-77178769, IP 25.16.137.131, Port 22
2025-10-16 03:47:13,083 - 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-16 03:47:13,159 - DEBUG - VM ctest-TestvifStats-94818752-77178769 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:47:18,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:47:18,159 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-94818752-77178769, IP 25.16.137.131, Port 22
2025-10-16 03:47:18,227 - 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-16 03:47:18,304 - DEBUG - VM ctest-TestvifStats-94818752-77178769 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:47:23,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:47:23,305 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-94818752-77178769, IP 25.16.137.131, Port 22
2025-10-16 03:47:23,373 - 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-16 03:47:23,458 - DEBUG - VM ctest-TestvifStats-94818752-77178769 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:47:28,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:47:28,458 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-94818752-77178769, IP 25.16.137.131, Port 22
2025-10-16 03:47:28,517 - 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-16 03:47:28,592 - DEBUG - VM ctest-TestvifStats-94818752-77178769 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 03:47:33,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:47:33,593 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-94818752-77178769, IP 25.16.137.131, Port 22
2025-10-16 03:47:33,764 - DEBUG - VM ctest-TestvifStats-94818752-77178769 is ready for SSH connections
2025-10-16 03:47:33,764 - INFO - Waiting for VM ctest-TestvifStats-94818752-54957530 to be up..
2025-10-16 03:47:33,846 - DEBUG - VM is in ACTIVE state now
2025-10-16 03:47:33,846 - INFO - VM name : ctest-TestvifStats-94818752-54957530
2025-10-16 03:47:33,927 - DEBUG - VM ctest-TestvifStats-94818752-54957530 ID is c95b57b2-98cd-43c5-b3e2-bd18e0db5c8a
2025-10-16 03:47:33,928 - DEBUG - VM ctest-TestvifStats-94818752-54957530 launched on Node an-jenkins-deploy-platform-ansible-os-4339-1
2025-10-16 03:47:34,011 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c95b57b2-98cd-43c5-b3e2-bd18e0db5c8a
2025-10-16 03:47:34,022 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/e2676020-7d93-4cd6-993c-b6a0e7d38953
2025-10-16 03:47:35,185 - 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=7.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.60 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 = 3.604/5.306/7.009/1.702 ms')
2025-10-16 03:47:35,185 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-94818752-54957530 passed
2025-10-16 03:47:35,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:47:35,255 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-94818752-54957530, IP 25.16.137.132, Port 22
2025-10-16 03:47:35,423 - DEBUG - VM ctest-TestvifStats-94818752-54957530 is ready for SSH connections
2025-10-16 03:47:35,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 03:47:35,423 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.16.137.132, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-16 03:47:35,423 - DEBUG - ping -s 56 -c 3 -W 1 25.16.137.132
2025-10-16 03:47:58,368 - DEBUG - PING 25.16.137.132 (25.16.137.132) 56(84) bytes of data.
64 bytes from 25.16.137.132: icmp_req=1 ttl=64 time=9.78 ms
64 bytes from 25.16.137.132: icmp_req=2 ttl=64 time=1.12 ms
64 bytes from 25.16.137.132: icmp_req=3 ttl=64 time=0.622 ms
--- 25.16.137.132 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.622/3.842/9.782/4.205 ms
2025-10-16 03:47:58,369 - INFO - Ping to IP 25.16.137.132 from VM ctest-TestvifStats-94818752-77178769 passed
2025-10-16 03:47:58,369 - INFO - 10.0.0.38
2025-10-16 03:47:58,369 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-16 03:47:58,451 - INFO - Deleting VM ctest-TestvifStats-94818752-54957530
2025-10-16 03:47:58,531 - INFO - Deleting VM ctest-TestvifStats-94818752-77178769
2025-10-16 03:47:58,611 - INFO - Deleting VN ctest-vn-70863025
2025-10-16 03:47:58,652 - DEBUG - VN 6123cdf8-99f2-4f55-843f-5313f3339eed still in use: Unable to complete operation on network 6123cdf8-99f2-4f55-843f-5313f3339eed. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7d04cc5d-f7d9-45e0-ad9e-b1be49e9304f']
2025-10-16 03:47:58,652 - WARNING - Deleting VN ctest-vn-70863025 failed..Will retry
2025-10-16 03:48:00,829 - DEBUG - Response for deleting network ()
2025-10-16 03:48:00,829 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/198b73de-b1f1-4c88-8724-9712b9fcb804
2025-10-16 03:48:00,842 - DEBUG - Response Code: 404
2025-10-16 03:48:00,842 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-16 03:48:00,848 - DEBUG - Requesting: http://10.0.0.19:8082/domain/446ea2e6-9d96-4973-a55a-3f633ea4d0f9
2025-10-16 03:48:00,900 - DEBUG - Requesting: http://10.0.0.19:8082/project/c3693879-416b-46db-9353-d1494140ca86
2025-10-16 03:48:00,990 - INFO - Validated that VN ctest-vn-70863025 is not found in API Server
2025-10-16 03:48:01,003 - DEBUG - VN ctest-vn-70863025 is not present in Agent 10.0.0.38
2025-10-16 03:48:01,015 - DEBUG - VN ctest-vn-70863025 is not present in Agent 10.0.0.129
2025-10-16 03:48:01,015 - INFO - Validated that VN ctest-vn-70863025 is not in any agent
2025-10-16 03:48:01,043 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70863025 info
2025-10-16 03:48:02,331 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Thu Oct 16 03:47:58 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.38'
/contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.38')
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-16 03:48:02,346 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 03:48:02,346 - INFO -
2025-10-16 03:48:02,347 - INFO - END TEST : test_vif_statistics : FAILED[0:01:42]
2025-10-16 03:48:02,347 - INFO - --------------------------------------------------------------------------------
2025-10-16 03:48:03,113 - INFO - Deleted project: ctest-TestvifStats-94818752, ID : c3693879-416b-46db-9353-d1494140ca86