2025-10-20 03:33:55,305 - INFO - Domain Default found not creating
2025-10-20 03:33:55,445 - INFO - Project ctest-TestvifStats-44392602 not found, creating it
2025-10-20 03:33:56,013 - INFO - Created Project:ctest-TestvifStats-44392602, ID : 38bb5a95-7a6c-4d46-ae76-7a18e07f96c2
2025-10-20 03:33:57,953 - INFO - ================================================================================
2025-10-20 03:33:57,953 - INFO - STARTING TEST : test_vif_statistics
2025-10-20 03:33:57,953 - 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-20 03:33:59,219 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.19': {'10.20.0.193': '0', '10.20.0.14': '0'}} with
2025-10-20 03:33:59,219 - INFO - Initial checks done. Running the testcase now
2025-10-20 03:33:59,219 - INFO -
2025-10-20 03:33:59,806 - DEBUG - Response for create_network : {'network': {'id': '404d2119-b49e-42b4-949d-e2a5e7390a4a', 'name': 'ctest-vn-68126026', 'tenant_id': '38bb5a957a6c4d46ae767a18e07f96c2', 'project_id': '38bb5a957a6c4d46ae767a18e07f96c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-44392602', 'ctest-vn-68126026'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 03:34:00,098 - DEBUG - Response for create_subnet : {'subnet': {'id': '3624b0fb-c304-44a5-9cd6-a045903a651f', 'name': '', 'tenant_id': '38bb5a957a6c4d46ae767a18e07f96c2', 'network_id': '404d2119-b49e-42b4-949d-e2a5e7390a4a', 'ip_version': 4, 'cidr': '144.212.236.64/26', 'allocation_pools': [{'start': '144.212.236.66', 'end': '144.212.236.126'}], 'gateway_ip': '144.212.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.212.236.66', 'tags': [], 'project_id': '38bb5a957a6c4d46ae767a18e07f96c2'}}
2025-10-20 03:34:00,123 - INFO - Created VN ctest-vn-68126026
2025-10-20 03:34:00,138 - DEBUG - VN ctest-vn-68126026 UUID is 404d2119-b49e-42b4-949d-e2a5e7390a4a
2025-10-20 03:34:00,205 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-20 03:34:00,495 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-20 03:34:00,521 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9567af48-d216-4b74-bb40-c5fce52cf633
2025-10-20 03:34:00,536 - DEBUG - Requesting: http://10.0.0.22:8082/project/38bb5a95-7a6c-4d46-ae76-7a18e07f96c2
2025-10-20 03:34:00,626 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/404d2119-b49e-42b4-949d-e2a5e7390a4a
2025-10-20 03:34:00,644 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/404d2119-b49e-42b4-949d-e2a5e7390a4a
2025-10-20 03:34:00,653 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0c7ef0f1-edd2-47f5-81e4-0f59ddf88344
2025-10-20 03:34:00,665 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0c7ef0f1-edd2-47f5-81e4-0f59ddf88344
2025-10-20 03:34:00,673 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d2d00753-f9e5-452f-8c15-51f1cda109c8
2025-10-20 03:34:00,681 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-20 03:34:00,681 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/404d2119-b49e-42b4-949d-e2a5e7390a4a
2025-10-20 03:34:00,689 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0c7ef0f1-edd2-47f5-81e4-0f59ddf88344
2025-10-20 03:34:00,705 - INFO - Verified VN network id 12 for VN 404d2119-b49e-42b4-949d-e2a5e7390a4a
2025-10-20 03:34:00,705 - INFO - Verifications in API Server for VN ctest-vn-68126026 passed
2025-10-20 03:34:00,705 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/404d2119-b49e-42b4-949d-e2a5e7390a4a
2025-10-20 03:34:00,714 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0c7ef0f1-edd2-47f5-81e4-0f59ddf88344
2025-10-20 03:34:00,721 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0c7ef0f1-edd2-47f5-81e4-0f59ddf88344
2025-10-20 03:34:00,729 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d2d00753-f9e5-452f-8c15-51f1cda109c8
2025-10-20 03:34:00,745 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-44392602', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4633395985922278068', 'uuid-lslong': '10708964691133663818'}, 'enable': 'true', 'created': '2025-10-20T03:33:59', 'last-modified': '2025-10-20T03:34:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.706102'}
2025-10-20 03:34:00,751 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-20 03:34:00,761 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-44392602', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4633395985922278068', 'uuid-lslong': '10708964691133663818'}, 'enable': 'true', 'created': '2025-10-20T03:33:59', 'last-modified': '2025-10-20T03:34:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.707669'}
2025-10-20 03:34:00,769 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-20 03:34:00,774 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-44392602', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4633395985922278068', 'uuid-lslong': '10708964691133663818'}, 'enable': 'true', 'created': '2025-10-20T03:33:59', 'last-modified': '2025-10-20T03:34:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.735113'}
2025-10-20 03:34:00,783 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-20 03:34:00,783 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68126026 passed
2025-10-20 03:34:00,784 - DEBUG - ====Verifying policy data for ctest-vn-68126026 in API_Server ======
2025-10-20 03:34:00,784 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-20 03:34:00,791 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9567af48-d216-4b74-bb40-c5fce52cf633
2025-10-20 03:34:00,802 - DEBUG - Requesting: http://10.0.0.22:8082/project/38bb5a95-7a6c-4d46-ae76-7a18e07f96c2
2025-10-20 03:34:00,898 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/404d2119-b49e-42b4-949d-e2a5e7390a4a
2025-10-20 03:34:00,909 - DEBUG - =>VN ctest-vn-68126026 has no policy to be verified
2025-10-20 03:34:00,909 - DEBUG - Verifying the vn in opserver
2025-10-20 03:34:00,909 - DEBUG - Verifying the default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026 virtual network link through opserver 10.0.0.22
2025-10-20 03:34:00,910 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2025-10-20 03:34:01,206 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2025-10-20 03:34:01,266 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026?flat'}
2025-10-20 03:34:01,266 - DEBUG - Verifying the default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026 virtual network link through opserver 10.0.0.254
2025-10-20 03:34:01,266 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-20 03:34:01,566 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-20 03:34:01,623 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026?flat'}
2025-10-20 03:34:01,623 - DEBUG - Verifying the default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026 virtual network link through opserver 10.0.0.27
2025-10-20 03:34:01,623 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-20 03:34:01,915 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-20 03:34:01,972 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026?flat'}
2025-10-20 03:34:01,972 - INFO - Validated that VN default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026 is found in opserver
2025-10-20 03:34:01,991 - DEBUG - Do not have enough data to verify VN in agent
2025-10-20 03:34:02,001 - DEBUG - VRF ids for VN ctest-vn-68126026: {}
2025-10-20 03:34:02,024 - DEBUG - Services list from nova: [, , , ]
2025-10-20 03:34:02,024 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4370-2', 'an-jenkins-deploy-platform-ansible-os-4370-1']}
2025-10-20 03:34:02,024 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4370-2', 'an-jenkins-deploy-platform-ansible-os-4370-1']}
2025-10-20 03:34:03,096 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4370-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4370-2)
2025-10-20 03:34:03,096 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4370-2', 'an-jenkins-deploy-platform-ansible-os-4370-1']}
2025-10-20 03:34:04,364 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4370-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4370-2)
2025-10-20 03:34:04,364 - INFO - Waiting for VM ctest-TestvifStats-44392602-43722411 to be up..
2025-10-20 03:34:04,457 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-20 03:34:09,531 - DEBUG - VM is in ACTIVE state now
2025-10-20 03:34:09,531 - INFO - VM name : ctest-TestvifStats-44392602-43722411
2025-10-20 03:34:09,604 - DEBUG - VM ctest-TestvifStats-44392602-43722411 ID is ec39fa5f-d907-4396-a7b9-196c7e71039c
2025-10-20 03:34:09,628 - DEBUG - VM ctest-TestvifStats-44392602-43722411 launched on Node an-jenkins-deploy-platform-ansible-os-4370-2
2025-10-20 03:34:09,701 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ec39fa5f-d907-4396-a7b9-196c7e71039c
2025-10-20 03:34:09,993 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ec39fa5f-d907-4396-a7b9-196c7e71039c
2025-10-20 03:34:10,025 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6fdf0bab-3392-4f62-8b26-3cacdd7a1b6e
2025-10-20 03:34:13,195 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2025-10-20 03:34:13,195 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-44392602-43722411 failed!
2025-10-20 03:34:13,209 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026 is 144.212.236.65 and allocation pool is NOT set
2025-10-20 03:34:17,288 - 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-20 03:34:17,289 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-44392602-43722411 failed!
2025-10-20 03:34:17,302 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026 is 144.212.236.65 and allocation pool is NOT set
2025-10-20 03:34:21,378 - 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-20 03:34:21,378 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-44392602-43722411 failed!
2025-10-20 03:34:21,391 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026 is 144.212.236.65 and allocation pool is NOT set
2025-10-20 03:34:25,472 - 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 1024ms')
2025-10-20 03:34:25,472 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-44392602-43722411 failed!
2025-10-20 03:34:25,488 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026 is 144.212.236.65 and allocation pool is NOT set
2025-10-20 03:34:29,575 - 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 1024ms')
2025-10-20 03:34:29,575 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-44392602-43722411 failed!
2025-10-20 03:34:29,593 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026 is 144.212.236.65 and allocation pool is NOT set
2025-10-20 03:34:33,674 - 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-20 03:34:33,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-44392602-43722411 failed!
2025-10-20 03:34:33,688 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026 is 144.212.236.65 and allocation pool is NOT set
2025-10-20 03:34:37,758 - 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-20 03:34:37,758 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-44392602-43722411 failed!
2025-10-20 03:34:37,771 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026 is 144.212.236.65 and allocation pool is NOT set
2025-10-20 03:34:41,862 - 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-20 03:34:41,862 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-44392602-43722411 failed!
2025-10-20 03:34:41,874 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-44392602:ctest-vn-68126026 is 144.212.236.65 and allocation pool is NOT set
2025-10-20 03:34:45,963 - 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=10.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 10.784/10.784/10.784/0.000 ms')
2025-10-20 03:34:45,963 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-44392602-43722411 passed
2025-10-20 03:34:46,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 03:34:46,030 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-44392602-43722411, IP 144.212.236.67, Port 22
2025-10-20 03:34:46,096 - 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-20 03:34:46,178 - DEBUG - VM ctest-TestvifStats-44392602-43722411 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-20 03:34:51,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 03:34:51,179 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-44392602-43722411, IP 144.212.236.67, Port 22
2025-10-20 03:34:51,236 - 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-20 03:34:51,323 - DEBUG - VM ctest-TestvifStats-44392602-43722411 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-20 03:34:56,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 03:34:56,324 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-44392602-43722411, IP 144.212.236.67, Port 22
2025-10-20 03:34:56,381 - 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-20 03:34:56,466 - DEBUG - VM ctest-TestvifStats-44392602-43722411 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-20 03:35:01,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 03:35:01,467 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-44392602-43722411, IP 144.212.236.67, Port 22
2025-10-20 03:35:01,536 - 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-20 03:35:01,616 - DEBUG - VM ctest-TestvifStats-44392602-43722411 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-20 03:35:06,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 03:35:06,617 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-44392602-43722411, IP 144.212.236.67, Port 22
2025-10-20 03:35:06,791 - DEBUG - VM ctest-TestvifStats-44392602-43722411 is ready for SSH connections
2025-10-20 03:35:06,791 - INFO - Waiting for VM ctest-TestvifStats-44392602-13439271 to be up..
2025-10-20 03:35:06,877 - DEBUG - VM is in ACTIVE state now
2025-10-20 03:35:06,877 - INFO - VM name : ctest-TestvifStats-44392602-13439271
2025-10-20 03:35:06,959 - DEBUG - VM ctest-TestvifStats-44392602-13439271 ID is c1027a59-534f-4af1-8711-5398cbc2672c
2025-10-20 03:35:06,960 - DEBUG - VM ctest-TestvifStats-44392602-13439271 launched on Node an-jenkins-deploy-platform-ansible-os-4370-2
2025-10-20 03:35:07,052 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c1027a59-534f-4af1-8711-5398cbc2672c
2025-10-20 03:35:07,063 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a40acadb-fc57-4945-b9ed-a06db0624810
2025-10-20 03:35:08,228 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.787 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 = 0.787/2.546/4.305/1.759 ms')
2025-10-20 03:35:08,228 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-44392602-13439271 passed
2025-10-20 03:35:08,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 03:35:08,297 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-44392602-13439271, IP 144.212.236.68, Port 22
2025-10-20 03:35:08,467 - DEBUG - VM ctest-TestvifStats-44392602-13439271 is ready for SSH connections
2025-10-20 03:35:08,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 03:35:08,467 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.212.236.68, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-20 03:35:08,467 - DEBUG - ping -s 56 -c 3 -W 1 144.212.236.68
2025-10-20 03:35:28,518 - DEBUG - PING 144.212.236.68 (144.212.236.68) 56(84) bytes of data.
64 bytes from 144.212.236.68: icmp_req=1 ttl=64 time=9.09 ms
64 bytes from 144.212.236.68: icmp_req=2 ttl=64 time=0.788 ms
64 bytes from 144.212.236.68: icmp_req=3 ttl=64 time=0.621 ms
--- 144.212.236.68 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.621/3.500/9.093/3.955 ms
2025-10-20 03:35:28,518 - INFO - Ping to IP 144.212.236.68 from VM ctest-TestvifStats-44392602-43722411 passed
2025-10-20 03:35:28,518 - INFO - 10.0.0.19
2025-10-20 03:35:28,518 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-20 03:35:28,623 - INFO - Deleting VM ctest-TestvifStats-44392602-13439271
2025-10-20 03:35:28,689 - INFO - Deleting VM ctest-TestvifStats-44392602-43722411
2025-10-20 03:35:28,761 - INFO - Deleting VN ctest-vn-68126026
2025-10-20 03:35:28,800 - DEBUG - VN 404d2119-b49e-42b4-949d-e2a5e7390a4a still in use: Unable to complete operation on network 404d2119-b49e-42b4-949d-e2a5e7390a4a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2da9651d-b587-43dd-83d1-d904fb365855']
2025-10-20 03:35:28,801 - WARNING - Deleting VN ctest-vn-68126026 failed..Will retry
2025-10-20 03:35:30,942 - DEBUG - Response for deleting network ()
2025-10-20 03:35:30,942 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0c7ef0f1-edd2-47f5-81e4-0f59ddf88344
2025-10-20 03:35:30,952 - DEBUG - Response Code: 404
2025-10-20 03:35:30,952 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-20 03:35:30,958 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9567af48-d216-4b74-bb40-c5fce52cf633
2025-10-20 03:35:30,979 - DEBUG - Requesting: http://10.0.0.22:8082/project/38bb5a95-7a6c-4d46-ae76-7a18e07f96c2
2025-10-20 03:35:31,069 - INFO - Validated that VN ctest-vn-68126026 is not found in API Server
2025-10-20 03:35:31,079 - DEBUG - VN ctest-vn-68126026 is not present in Agent 10.0.0.131
2025-10-20 03:35:31,089 - DEBUG - VN ctest-vn-68126026 is not present in Agent 10.0.0.19
2025-10-20 03:35:31,089 - INFO - Validated that VN ctest-vn-68126026 is not in any agent
2025-10-20 03:35:31,119 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68126026 info
2025-10-20 03:35:32,381 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Mon Oct 20 03:35:28 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.19'
/contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.19')
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-20 03:35:32,392 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 03:35:32,392 - INFO -
2025-10-20 03:35:32,393 - INFO - END TEST : test_vif_statistics : FAILED[0:01:35]
2025-10-20 03:35:32,393 - INFO - --------------------------------------------------------------------------------
2025-10-20 03:35:33,093 - INFO - Deleted project: ctest-TestvifStats-44392602, ID : 38bb5a95-7a6c-4d46-ae76-7a18e07f96c2