2025-09-22 03:34:22,543 - INFO - Domain Default found not creating 2025-09-22 03:34:22,680 - INFO - Project ctest-TestvifStats-55617978 not found, creating it 2025-09-22 03:34:23,269 - INFO - Created Project:ctest-TestvifStats-55617978, ID : 45f34d5b-32d6-4565-9bdc-ee3a9f20db88 2025-09-22 03:34:24,697 - INFO - ================================================================================ 2025-09-22 03:34:24,698 - INFO - STARTING TEST : test_vif_statistics 2025-09-22 03:34:24,698 - 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-09-22 03:34:25,997 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.23': {'10.20.0.254': '0', '10.20.0.193': '0'}} with 2025-09-22 03:34:25,997 - INFO - Initial checks done. Running the testcase now 2025-09-22 03:34:25,997 - INFO - 2025-09-22 03:34:26,746 - DEBUG - Response for create_network : {'network': {'id': 'eabbfd63-7238-4a75-8c14-b0b2c4a5c053', 'name': 'ctest-vn-63800275', 'tenant_id': '45f34d5b32d645659bdcee3a9f20db88', 'project_id': '45f34d5b32d645659bdcee3a9f20db88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-55617978', 'ctest-vn-63800275'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 03:34:27,136 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e70a78a-c35e-4044-8786-173618d0714a', 'name': '', 'tenant_id': '45f34d5b32d645659bdcee3a9f20db88', 'network_id': 'eabbfd63-7238-4a75-8c14-b0b2c4a5c053', 'ip_version': 4, 'cidr': '45.208.234.0/26', 'allocation_pools': [{'start': '45.208.234.2', 'end': '45.208.234.62'}], 'gateway_ip': '45.208.234.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.208.234.2', 'tags': [], 'project_id': '45f34d5b32d645659bdcee3a9f20db88'}} 2025-09-22 03:34:27,178 - INFO - Created VN ctest-vn-63800275 2025-09-22 03:34:27,216 - DEBUG - VN ctest-vn-63800275 UUID is eabbfd63-7238-4a75-8c14-b0b2c4a5c053 2025-09-22 03:34:27,326 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-09-22 03:34:27,657 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-09-22 03:34:27,700 - DEBUG - Requesting: http://10.0.0.56:8082/domain/ccce3d88-d117-4380-892c-193ef8fcc90d 2025-09-22 03:34:27,714 - DEBUG - Requesting: http://10.0.0.56:8082/project/45f34d5b-32d6-4565-9bdc-ee3a9f20db88 2025-09-22 03:34:27,823 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/eabbfd63-7238-4a75-8c14-b0b2c4a5c053 2025-09-22 03:34:27,836 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/eabbfd63-7238-4a75-8c14-b0b2c4a5c053 2025-09-22 03:34:27,845 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/a448982b-82af-4973-a8b0-45e03fec40a0 2025-09-22 03:34:27,854 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/a448982b-82af-4973-a8b0-45e03fec40a0 2025-09-22 03:34:27,860 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/b8a9ca8b-f6ee-4b63-8d67-e37fa468a1e6 2025-09-22 03:34:27,866 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 03:34:27,866 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/eabbfd63-7238-4a75-8c14-b0b2c4a5c053 2025-09-22 03:34:27,876 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/a448982b-82af-4973-a8b0-45e03fec40a0 2025-09-22 03:34:27,891 - INFO - Verified VN network id 12 for VN eabbfd63-7238-4a75-8c14-b0b2c4a5c053 2025-09-22 03:34:27,892 - INFO - Verifications in API Server for VN ctest-vn-63800275 passed 2025-09-22 03:34:27,892 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/eabbfd63-7238-4a75-8c14-b0b2c4a5c053 2025-09-22 03:34:27,900 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/a448982b-82af-4973-a8b0-45e03fec40a0 2025-09-22 03:34:27,907 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/a448982b-82af-4973-a8b0-45e03fec40a0 2025-09-22 03:34:27,914 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/b8a9ca8b-f6ee-4b63-8d67-e37fa468a1e6 2025-09-22 03:34:27,928 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-55617978', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16914391429079911029', 'uuid-lslong': '10093886946693988435'}, 'enable': 'true', 'created': '2025-09-22T03:34:26', 'last-modified': '2025-09-22T03:34:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.859932'} 2025-09-22 03:34:27,933 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 03:34:27,940 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-55617978', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16914391429079911029', 'uuid-lslong': '10093886946693988435'}, 'enable': 'true', 'created': '2025-09-22T03:34:26', 'last-modified': '2025-09-22T03:34:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.882137'} 2025-09-22 03:34:27,947 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 03:34:27,952 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-55617978', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16914391429079911029', 'uuid-lslong': '10093886946693988435'}, 'enable': 'true', 'created': '2025-09-22T03:34:26', 'last-modified': '2025-09-22T03:34:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895572'} 2025-09-22 03:34:27,958 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 03:34:27,958 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63800275 passed 2025-09-22 03:34:27,958 - DEBUG - ====Verifying policy data for ctest-vn-63800275 in API_Server ====== 2025-09-22 03:34:27,958 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-09-22 03:34:27,964 - DEBUG - Requesting: http://10.0.0.56:8082/domain/ccce3d88-d117-4380-892c-193ef8fcc90d 2025-09-22 03:34:27,975 - DEBUG - Requesting: http://10.0.0.56:8082/project/45f34d5b-32d6-4565-9bdc-ee3a9f20db88 2025-09-22 03:34:28,090 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/eabbfd63-7238-4a75-8c14-b0b2c4a5c053 2025-09-22 03:34:28,102 - DEBUG - =>VN ctest-vn-63800275 has no policy to be verified 2025-09-22 03:34:28,102 - DEBUG - Verifying the vn in opserver 2025-09-22 03:34:28,102 - DEBUG - Verifying the default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275 virtual network link through opserver 10.0.0.56 2025-09-22 03:34:28,102 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-09-22 03:34:28,413 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-09-22 03:34:28,480 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275?flat'} 2025-09-22 03:34:28,480 - DEBUG - Verifying the default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275 virtual network link through opserver 10.0.0.38 2025-09-22 03:34:28,481 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-22 03:34:28,773 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-22 03:34:28,831 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275?flat'} 2025-09-22 03:34:28,831 - DEBUG - Verifying the default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275 virtual network link through opserver 10.0.0.27 2025-09-22 03:34:28,831 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-09-22 03:34:29,129 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-09-22 03:34:29,199 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275?flat'} 2025-09-22 03:34:29,199 - INFO - Validated that VN default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275 is found in opserver 2025-09-22 03:34:29,218 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 03:34:29,227 - DEBUG - VRF ids for VN ctest-vn-63800275: {} 2025-09-22 03:34:29,249 - DEBUG - Services list from nova: [, , , ] 2025-09-22 03:34:29,250 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4159-2', 'an-jenkins-deploy-platform-ansible-os-4159-1']} 2025-09-22 03:34:29,250 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4159-2', 'an-jenkins-deploy-platform-ansible-os-4159-1']} 2025-09-22 03:34:30,420 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4159-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4159-2) 2025-09-22 03:34:30,420 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4159-2', 'an-jenkins-deploy-platform-ansible-os-4159-1']} 2025-09-22 03:34:31,780 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4159-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4159-2) 2025-09-22 03:34:31,781 - INFO - Waiting for VM ctest-TestvifStats-55617978-13379330 to be up.. 2025-09-22 03:34:31,869 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 03:34:36,953 - DEBUG - VM is in ACTIVE state now 2025-09-22 03:34:36,954 - INFO - VM name : ctest-TestvifStats-55617978-13379330 2025-09-22 03:34:37,046 - DEBUG - VM ctest-TestvifStats-55617978-13379330 ID is 549debe6-44b2-4f21-97be-8c3d225d4972 2025-09-22 03:34:37,070 - DEBUG - VM ctest-TestvifStats-55617978-13379330 launched on Node an-jenkins-deploy-platform-ansible-os-4159-2 2025-09-22 03:34:37,158 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/549debe6-44b2-4f21-97be-8c3d225d4972 2025-09-22 03:34:37,454 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/549debe6-44b2-4f21-97be-8c3d225d4972 2025-09-22 03:34:37,489 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/939dd21c-7650-43c0-a796-cc61304606b9 2025-09-22 03:34:40,672 - 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 1026ms') 2025-09-22 03:34:40,672 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-55617978-13379330 failed! 2025-09-22 03:34:40,689 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275 is 45.208.234.1 and allocation pool is NOT set 2025-09-22 03:34:44,771 - 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-09-22 03:34:44,771 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-55617978-13379330 failed! 2025-09-22 03:34:44,786 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275 is 45.208.234.1 and allocation pool is NOT set 2025-09-22 03:34:48,865 - 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-09-22 03:34:48,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-55617978-13379330 failed! 2025-09-22 03:34:48,880 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275 is 45.208.234.1 and allocation pool is NOT set 2025-09-22 03:34:52,963 - 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-09-22 03:34:52,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-55617978-13379330 failed! 2025-09-22 03:34:52,978 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275 is 45.208.234.1 and allocation pool is NOT set 2025-09-22 03:34:57,054 - 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-09-22 03:34:57,054 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-55617978-13379330 failed! 2025-09-22 03:34:57,070 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275 is 45.208.234.1 and allocation pool is NOT set 2025-09-22 03:35:01,153 - 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-09-22 03:35:01,153 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-55617978-13379330 failed! 2025-09-22 03:35:01,172 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275 is 45.208.234.1 and allocation pool is NOT set 2025-09-22 03:35:05,242 - 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-09-22 03:35:05,242 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-55617978-13379330 failed! 2025-09-22 03:35:05,257 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275 is 45.208.234.1 and allocation pool is NOT set 2025-09-22 03:35:09,344 - 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-09-22 03:35:09,344 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-55617978-13379330 failed! 2025-09-22 03:35:09,361 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-55617978:ctest-vn-63800275 is 45.208.234.1 and allocation pool is NOT set 2025-09-22 03:35:13,444 - 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=5.23 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 = 5.229/5.229/5.229/0.000 ms') 2025-09-22 03:35:13,444 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-55617978-13379330 passed 2025-09-22 03:35:13,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:35:13,518 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-55617978-13379330, IP 45.208.234.3, Port 22 2025-09-22 03:35:13,594 - 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-09-22 03:35:13,684 - DEBUG - VM ctest-TestvifStats-55617978-13379330 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 03:35:18,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:35:18,685 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-55617978-13379330, IP 45.208.234.3, Port 22 2025-09-22 03:35:18,750 - 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-09-22 03:35:18,831 - DEBUG - VM ctest-TestvifStats-55617978-13379330 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 03:35:23,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:35:23,832 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-55617978-13379330, IP 45.208.234.3, Port 22 2025-09-22 03:35:23,899 - 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-09-22 03:35:23,978 - DEBUG - VM ctest-TestvifStats-55617978-13379330 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 03:35:28,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:35:28,979 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-55617978-13379330, IP 45.208.234.3, Port 22 2025-09-22 03:35:29,047 - 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-09-22 03:35:29,129 - DEBUG - VM ctest-TestvifStats-55617978-13379330 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 03:35:34,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:35:34,130 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-55617978-13379330, IP 45.208.234.3, Port 22 2025-09-22 03:35:34,303 - DEBUG - VM ctest-TestvifStats-55617978-13379330 is ready for SSH connections 2025-09-22 03:35:34,303 - INFO - Waiting for VM ctest-TestvifStats-55617978-97523238 to be up.. 2025-09-22 03:35:34,395 - DEBUG - VM is in ACTIVE state now 2025-09-22 03:35:34,395 - INFO - VM name : ctest-TestvifStats-55617978-97523238 2025-09-22 03:35:34,483 - DEBUG - VM ctest-TestvifStats-55617978-97523238 ID is bc4f3674-1832-4d0a-97a3-85865c483f7d 2025-09-22 03:35:34,483 - DEBUG - VM ctest-TestvifStats-55617978-97523238 launched on Node an-jenkins-deploy-platform-ansible-os-4159-2 2025-09-22 03:35:34,570 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/bc4f3674-1832-4d0a-97a3-85865c483f7d 2025-09-22 03:35:34,582 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5a3853d1-51fb-48d8-ab24-33594e071d3f 2025-09-22 03:35:35,751 - 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=2.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.10 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.103/2.406/2.710/0.303 ms') 2025-09-22 03:35:35,752 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-55617978-97523238 passed 2025-09-22 03:35:35,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:35:35,825 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-55617978-97523238, IP 45.208.234.4, Port 22 2025-09-22 03:35:35,992 - DEBUG - VM ctest-TestvifStats-55617978-97523238 is ready for SSH connections 2025-09-22 03:35:35,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 03:35:35,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.208.234.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-09-22 03:35:35,993 - DEBUG - ping -s 56 -c 3 -W 1 45.208.234.4 2025-09-22 03:35:53,403 - DEBUG - PING 45.208.234.4 (45.208.234.4) 56(84) bytes of data. 64 bytes from 45.208.234.4: icmp_req=1 ttl=64 time=9.18 ms 64 bytes from 45.208.234.4: icmp_req=2 ttl=64 time=0.958 ms 64 bytes from 45.208.234.4: icmp_req=3 ttl=64 time=0.774 ms --- 45.208.234.4 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.774/3.638/9.184/3.922 ms 2025-09-22 03:35:53,403 - INFO - Ping to IP 45.208.234.4 from VM ctest-TestvifStats-55617978-13379330 passed 2025-09-22 03:35:53,403 - INFO - 10.0.0.23 2025-09-22 03:35:53,403 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-09-22 03:35:53,508 - INFO - Deleting VM ctest-TestvifStats-55617978-97523238 2025-09-22 03:35:53,574 - INFO - Deleting VM ctest-TestvifStats-55617978-13379330 2025-09-22 03:35:53,636 - INFO - Deleting VN ctest-vn-63800275 2025-09-22 03:35:53,685 - DEBUG - VN eabbfd63-7238-4a75-8c14-b0b2c4a5c053 still in use: Unable to complete operation on network eabbfd63-7238-4a75-8c14-b0b2c4a5c053. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a1586bad-d096-4689-b4c8-d3bc65457668'] 2025-09-22 03:35:53,686 - WARNING - Deleting VN ctest-vn-63800275 failed..Will retry 2025-09-22 03:35:55,855 - DEBUG - Response for deleting network () 2025-09-22 03:35:55,855 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/a448982b-82af-4973-a8b0-45e03fec40a0 2025-09-22 03:35:55,862 - DEBUG - Response Code: 404 2025-09-22 03:35:55,862 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-09-22 03:35:55,867 - DEBUG - Requesting: http://10.0.0.56:8082/domain/ccce3d88-d117-4380-892c-193ef8fcc90d 2025-09-22 03:35:55,899 - DEBUG - Requesting: http://10.0.0.56:8082/project/45f34d5b-32d6-4565-9bdc-ee3a9f20db88 2025-09-22 03:35:56,004 - INFO - Validated that VN ctest-vn-63800275 is not found in API Server 2025-09-22 03:35:56,014 - DEBUG - VN ctest-vn-63800275 is not present in Agent 10.0.0.33 2025-09-22 03:35:56,023 - DEBUG - VN ctest-vn-63800275 is not present in Agent 10.0.0.23 2025-09-22 03:35:56,023 - INFO - Validated that VN ctest-vn-63800275 is not in any agent 2025-09-22 03:35:56,053 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63800275 info 2025-09-22 03:35:57,356 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Mon Sep 22 03:35:53 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.23' /contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.23') 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-09-22 03:35:57,370 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 03:35:57,370 - INFO -
2025-09-22 03:35:57,370 - INFO - END TEST : test_vif_statistics : FAILED[0:01:33]
2025-09-22 03:35:57,370 - INFO - -------------------------------------------------------------------------------- 2025-09-22 03:35:58,081 - INFO - Deleted project: ctest-TestvifStats-55617978, ID : 45f34d5b-32d6-4565-9bdc-ee3a9f20db88