2025-12-18 03:58:16,424 - INFO - Domain Default found not creating 2025-12-18 03:58:16,598 - INFO - Project ctest-TestvifStats-78360669 not found, creating it 2025-12-18 03:58:17,119 - INFO - Created Project:ctest-TestvifStats-78360669, ID : a21cd398-c9c0-47b3-a940-fde9c7319f9f 2025-12-18 03:58:18,818 - INFO - ================================================================================ 2025-12-18 03:58:18,818 - INFO - STARTING TEST : test_vif_statistics 2025-12-18 03:58:18,818 - 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-12-18 03:58:20,123 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.129': '0', '10.20.0.252': '0'}, '10.0.0.129': {'10.20.0.129': '0', '10.20.0.252': '0'}} with 2025-12-18 03:58:20,123 - INFO - Initial checks done. Running the testcase now 2025-12-18 03:58:20,123 - INFO - 2025-12-18 03:58:20,876 - DEBUG - Response for create_network : {'network': {'id': '50d4d2bb-e2a6-46e4-99cb-20a056c350f3', 'name': 'ctest-vn-16297982', 'tenant_id': 'a21cd398c9c047b3a940fde9c7319f9f', 'project_id': 'a21cd398c9c047b3a940fde9c7319f9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-78360669', 'ctest-vn-16297982'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 03:58:21,147 - DEBUG - Response for create_subnet : {'subnet': {'id': '252898b1-f336-4be1-ab4d-8d697b38f126', 'name': '', 'tenant_id': 'a21cd398c9c047b3a940fde9c7319f9f', 'network_id': '50d4d2bb-e2a6-46e4-99cb-20a056c350f3', 'ip_version': 4, 'cidr': '140.74.14.64/26', 'allocation_pools': [{'start': '140.74.14.66', 'end': '140.74.14.126'}], 'gateway_ip': '140.74.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.74.14.66', 'tags': [], 'project_id': 'a21cd398c9c047b3a940fde9c7319f9f'}} 2025-12-18 03:58:21,179 - INFO - Created VN ctest-vn-16297982 2025-12-18 03:58:21,191 - DEBUG - VN ctest-vn-16297982 UUID is 50d4d2bb-e2a6-46e4-99cb-20a056c350f3 2025-12-18 03:58:21,314 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-18 03:58:21,672 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-18 03:58:21,720 - DEBUG - Requesting: http://10.0.0.23:8082/domain/48c3cb03-f70f-4f5d-8ebd-0d23e5db0707 2025-12-18 03:58:21,740 - DEBUG - Requesting: http://10.0.0.23:8082/project/a21cd398-c9c0-47b3-a940-fde9c7319f9f 2025-12-18 03:58:21,852 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/50d4d2bb-e2a6-46e4-99cb-20a056c350f3 2025-12-18 03:58:21,874 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/50d4d2bb-e2a6-46e4-99cb-20a056c350f3 2025-12-18 03:58:21,888 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/989512e9-c0bc-4e43-89ce-8a248c74a279 2025-12-18 03:58:21,896 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/989512e9-c0bc-4e43-89ce-8a248c74a279 2025-12-18 03:58:21,904 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/bb829788-17d0-4156-9250-f28b341c2bb5 2025-12-18 03:58:21,919 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 03:58:21,919 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/50d4d2bb-e2a6-46e4-99cb-20a056c350f3 2025-12-18 03:58:21,934 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/989512e9-c0bc-4e43-89ce-8a248c74a279 2025-12-18 03:58:21,957 - INFO - Verified VN network id 14 for VN 50d4d2bb-e2a6-46e4-99cb-20a056c350f3 2025-12-18 03:58:21,957 - INFO - Verifications in API Server for VN ctest-vn-16297982 passed 2025-12-18 03:58:21,957 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/50d4d2bb-e2a6-46e4-99cb-20a056c350f3 2025-12-18 03:58:21,966 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/989512e9-c0bc-4e43-89ce-8a248c74a279 2025-12-18 03:58:21,978 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/989512e9-c0bc-4e43-89ce-8a248c74a279 2025-12-18 03:58:21,986 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/bb829788-17d0-4156-9250-f28b341c2bb5 2025-12-18 03:58:21,999 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-78360669', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5824511922500159204', 'uuid-lslong': '11081987181097734387'}, 'enable': 'true', 'created': '2025-12-18T03:58:20', 'last-modified': '2025-12-18T03:58:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905814'} 2025-12-18 03:58:22,007 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 03:58:22,014 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-78360669', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5824511922500159204', 'uuid-lslong': '11081987181097734387'}, 'enable': 'true', 'created': '2025-12-18T03:58:20', 'last-modified': '2025-12-18T03:58:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925965'} 2025-12-18 03:58:22,021 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 03:58:22,029 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-78360669', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5824511922500159204', 'uuid-lslong': '11081987181097734387'}, 'enable': 'true', 'created': '2025-12-18T03:58:20', 'last-modified': '2025-12-18T03:58:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.938802'} 2025-12-18 03:58:22,038 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-18 03:58:22,038 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16297982 passed 2025-12-18 03:58:22,038 - DEBUG - ====Verifying policy data for ctest-vn-16297982 in API_Server ====== 2025-12-18 03:58:22,038 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-18 03:58:22,045 - DEBUG - Requesting: http://10.0.0.23:8082/domain/48c3cb03-f70f-4f5d-8ebd-0d23e5db0707 2025-12-18 03:58:22,057 - DEBUG - Requesting: http://10.0.0.23:8082/project/a21cd398-c9c0-47b3-a940-fde9c7319f9f 2025-12-18 03:58:22,157 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/50d4d2bb-e2a6-46e4-99cb-20a056c350f3 2025-12-18 03:58:22,185 - DEBUG - =>VN ctest-vn-16297982 has no policy to be verified 2025-12-18 03:58:22,185 - DEBUG - Verifying the vn in opserver 2025-12-18 03:58:22,185 - DEBUG - Verifying the default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 virtual network link through opserver 10.0.0.23 2025-12-18 03:58:22,186 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-12-18 03:58:22,517 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-12-18 03:58:22,630 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982?flat'} 2025-12-18 03:58:22,630 - DEBUG - Verifying the default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 virtual network link through opserver 10.0.0.50 2025-12-18 03:58:22,630 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-18 03:58:22,964 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-18 03:58:23,048 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982?flat'} 2025-12-18 03:58:23,048 - DEBUG - Verifying the default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 virtual network link through opserver 10.0.0.65 2025-12-18 03:58:23,048 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-12-18 03:58:23,373 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-12-18 03:58:23,457 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982?flat'} 2025-12-18 03:58:23,457 - INFO - Validated that VN default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 is found in opserver 2025-12-18 03:58:23,479 - DEBUG - Do not have enough data to verify VN in agent 2025-12-18 03:58:23,492 - DEBUG - VRF ids for VN ctest-vn-16297982: {} 2025-12-18 03:58:23,520 - DEBUG - Services list from nova: [, , , ] 2025-12-18 03:58:23,521 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4903-1', 'an-jenkins-deploy-platform-ansible-os-4903-2']} 2025-12-18 03:58:23,521 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4903-1', 'an-jenkins-deploy-platform-ansible-os-4903-2']} 2025-12-18 03:58:24,727 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4903-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4903-1) 2025-12-18 03:58:24,728 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4903-1', 'an-jenkins-deploy-platform-ansible-os-4903-2']} 2025-12-18 03:58:26,152 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4903-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4903-1) 2025-12-18 03:58:26,152 - INFO - Waiting for VM ctest-TestvifStats-78360669-67955449 to be up.. 2025-12-18 03:58:26,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 03:58:31,342 - DEBUG - VM is in ACTIVE state now 2025-12-18 03:58:31,343 - INFO - VM name : ctest-TestvifStats-78360669-67955449 2025-12-18 03:58:31,427 - DEBUG - VM ctest-TestvifStats-78360669-67955449 ID is 71cda21f-66f6-46da-92a6-32371cb8a9e0 2025-12-18 03:58:31,452 - DEBUG - VM ctest-TestvifStats-78360669-67955449 launched on Node an-jenkins-deploy-platform-ansible-os-4903-1 2025-12-18 03:58:31,540 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/71cda21f-66f6-46da-92a6-32371cb8a9e0 2025-12-18 03:58:31,850 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/71cda21f-66f6-46da-92a6-32371cb8a9e0 2025-12-18 03:58:31,885 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a951db06-533b-4be7-9532-9c07f2c6d39e 2025-12-18 03:58:35,070 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-12-18 03:58:35,071 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-78360669-67955449 failed! 2025-12-18 03:58:35,084 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 is 140.74.14.65 and allocation pool is NOT set 2025-12-18 03:58:39,173 - 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-12-18 03:58:39,173 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-78360669-67955449 failed! 2025-12-18 03:58:39,190 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 is 140.74.14.65 and allocation pool is NOT set 2025-12-18 03:58:43,263 - 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 1009ms') 2025-12-18 03:58:43,263 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-78360669-67955449 failed! 2025-12-18 03:58:43,279 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 is 140.74.14.65 and allocation pool is NOT set 2025-12-18 03:58:47,361 - 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-12-18 03:58:47,361 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-78360669-67955449 failed! 2025-12-18 03:58:47,376 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 is 140.74.14.65 and allocation pool is NOT set 2025-12-18 03:58:51,455 - 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-12-18 03:58:51,455 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-78360669-67955449 failed! 2025-12-18 03:58:51,470 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 is 140.74.14.65 and allocation pool is NOT set 2025-12-18 03:58:55,554 - 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-12-18 03:58:55,554 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-78360669-67955449 failed! 2025-12-18 03:58:55,570 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 is 140.74.14.65 and allocation pool is NOT set 2025-12-18 03:58:59,647 - 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-12-18 03:58:59,647 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-78360669-67955449 failed! 2025-12-18 03:58:59,665 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 is 140.74.14.65 and allocation pool is NOT set 2025-12-18 03:59:03,741 - 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-12-18 03:59:03,741 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-78360669-67955449 failed! 2025-12-18 03:59:03,757 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 is 140.74.14.65 and allocation pool is NOT set 2025-12-18 03:59:07,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 1014ms') 2025-12-18 03:59:07,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-78360669-67955449 failed! 2025-12-18 03:59:07,854 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 is 140.74.14.65 and allocation pool is NOT set 2025-12-18 03:59:11,937 - 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-12-18 03:59:11,937 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-78360669-67955449 failed! 2025-12-18 03:59:11,953 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 is 140.74.14.65 and allocation pool is NOT set 2025-12-18 03:59:16,034 - 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-12-18 03:59:16,034 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-78360669-67955449 failed! 2025-12-18 03:59:16,049 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-78360669:ctest-vn-16297982 is 140.74.14.65 and allocation pool is NOT set 2025-12-18 03:59:18,116 - 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=9.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.16 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.156/5.773/9.390/3.617 ms') 2025-12-18 03:59:18,116 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-78360669-67955449 passed 2025-12-18 03:59:18,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 03:59:18,195 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-78360669-67955449, IP 140.74.14.67, Port 22 2025-12-18 03:59:18,276 - 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-12-18 03:59:18,460 - DEBUG - VM ctest-TestvifStats-78360669-67955449 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 03:59:23,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 03:59:23,461 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-78360669-67955449, IP 140.74.14.67, Port 22 2025-12-18 03:59:23,533 - 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-12-18 03:59:23,627 - DEBUG - VM ctest-TestvifStats-78360669-67955449 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 03:59:28,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 03:59:28,627 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-78360669-67955449, IP 140.74.14.67, Port 22 2025-12-18 03:59:28,693 - 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-12-18 03:59:28,791 - DEBUG - VM ctest-TestvifStats-78360669-67955449 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 03:59:33,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 03:59:33,792 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-78360669-67955449, IP 140.74.14.67, Port 22 2025-12-18 03:59:33,861 - 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-12-18 03:59:33,961 - DEBUG - VM ctest-TestvifStats-78360669-67955449 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 03:59:38,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 03:59:38,962 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-78360669-67955449, IP 140.74.14.67, Port 22 2025-12-18 03:59:39,029 - 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-12-18 03:59:39,126 - DEBUG - VM ctest-TestvifStats-78360669-67955449 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 03:59:44,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 03:59:44,127 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-78360669-67955449, IP 140.74.14.67, Port 22 2025-12-18 03:59:44,294 - DEBUG - VM ctest-TestvifStats-78360669-67955449 is ready for SSH connections 2025-12-18 03:59:44,294 - INFO - Waiting for VM ctest-TestvifStats-78360669-66976415 to be up.. 2025-12-18 03:59:44,385 - DEBUG - VM is in ACTIVE state now 2025-12-18 03:59:44,385 - INFO - VM name : ctest-TestvifStats-78360669-66976415 2025-12-18 03:59:44,471 - DEBUG - VM ctest-TestvifStats-78360669-66976415 ID is d429943a-7a60-462f-be4b-f166ecf2e5b3 2025-12-18 03:59:44,471 - DEBUG - VM ctest-TestvifStats-78360669-66976415 launched on Node an-jenkins-deploy-platform-ansible-os-4903-1 2025-12-18 03:59:44,556 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d429943a-7a60-462f-be4b-f166ecf2e5b3 2025-12-18 03:59:44,568 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0000cabb-5ef4-4139-9dbf-7aaf33eecbe3 2025-12-18 03:59:45,744 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.592 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.592/2.843/5.094/2.251 ms') 2025-12-18 03:59:45,744 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-78360669-66976415 passed 2025-12-18 03:59:45,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 03:59:45,819 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-78360669-66976415, IP 140.74.14.68, Port 22 2025-12-18 03:59:45,890 - DEBUG - Error on ssh to ubuntu@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-18 03:59:45,983 - DEBUG - VM ctest-TestvifStats-78360669-66976415 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 03:59:50,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 03:59:50,984 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-78360669-66976415, IP 140.74.14.68, Port 22 2025-12-18 03:59:51,152 - DEBUG - VM ctest-TestvifStats-78360669-66976415 is ready for SSH connections 2025-12-18 03:59:51,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 03:59:51,153 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.74.14.68, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-18 03:59:51,153 - DEBUG - ping -s 56 -c 3 -W 1 140.74.14.68 2025-12-18 04:00:17,286 - DEBUG - PING 140.74.14.68 (140.74.14.68) 56(84) bytes of data. 64 bytes from 140.74.14.68: icmp_req=1 ttl=64 time=25.9 ms 64 bytes from 140.74.14.68: icmp_req=2 ttl=64 time=0.952 ms 64 bytes from 140.74.14.68: icmp_req=3 ttl=64 time=0.896 ms --- 140.74.14.68 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.896/9.281/25.995/11.818 ms 2025-12-18 04:00:17,286 - INFO - Ping to IP 140.74.14.68 from VM ctest-TestvifStats-78360669-67955449 passed 2025-12-18 04:00:17,286 - INFO - 10.0.0.249 2025-12-18 04:00:17,286 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-12-18 04:00:17,401 - INFO - 14935 2025-12-18 04:00:17,524 - INFO - TX packets:15133 2025-12-18 04:00:17,524 - INFO - 15133 2025-12-18 04:00:17,524 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-12-18 04:00:17,650 - INFO - 22949 2025-12-18 04:00:17,772 - INFO - TX packets:23339 2025-12-18 04:00:17,772 - INFO - 23339 2025-12-18 04:00:17,772 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-12-18 04:00:17,889 - INFO - 10235 2025-12-18 04:00:18,004 - INFO - TX packets:8750 2025-12-18 04:00:18,004 - INFO - 8750 2025-12-18 04:00:18,004 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-12-18 04:00:18,116 - INFO - 268 2025-12-18 04:00:18,231 - INFO - TX packets:325 2025-12-18 04:00:18,231 - INFO - 325 2025-12-18 04:00:18,231 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-12-18 04:00:18,344 - INFO - 242 2025-12-18 04:00:18,452 - INFO - TX packets:275 2025-12-18 04:00:18,452 - INFO - 275 2025-12-18 04:00:18,452 - INFO - 10.0.0.249 2025-12-18 04:00:18,549 - INFO - Vif stats cleared successfully on all cores for all interfaces 2025-12-18 04:00:18,549 - INFO - 10.0.0.249 2025-12-18 04:00:18,549 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-12-18 04:00:18,668 - INFO - 0 2025-12-18 04:00:18,769 - INFO - TX packets:1 2025-12-18 04:00:18,769 - INFO - 1 2025-12-18 04:00:18,769 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-12-18 04:00:18,889 - INFO - 1 2025-12-18 04:00:19,000 - INFO - TX packets:1 2025-12-18 04:00:19,000 - INFO - 1 2025-12-18 04:00:19,000 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-12-18 04:00:19,101 - INFO - 0 2025-12-18 04:00:19,220 - INFO - TX packets:0 2025-12-18 04:00:19,220 - INFO - 0 2025-12-18 04:00:19,220 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-12-18 04:00:19,320 - INFO - 0 2025-12-18 04:00:19,433 - INFO - TX packets:0 2025-12-18 04:00:19,433 - INFO - 0 2025-12-18 04:00:19,433 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-12-18 04:00:19,553 - INFO - 0 2025-12-18 04:00:19,666 - INFO - TX packets:0 2025-12-18 04:00:19,666 - INFO - 0 2025-12-18 04:00:19,666 - INFO - Deleting VM ctest-TestvifStats-78360669-66976415 2025-12-18 04:00:19,739 - INFO - Deleting VM ctest-TestvifStats-78360669-67955449 2025-12-18 04:00:19,822 - INFO - Deleting VN ctest-vn-16297982 2025-12-18 04:00:19,895 - DEBUG - VN 50d4d2bb-e2a6-46e4-99cb-20a056c350f3 still in use: Unable to complete operation on network 50d4d2bb-e2a6-46e4-99cb-20a056c350f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca25268f-d7cd-4989-8a89-007fd1ac3d31'] 2025-12-18 04:00:19,895 - WARNING - Deleting VN ctest-vn-16297982 failed..Will retry 2025-12-18 04:00:22,130 - DEBUG - Response for deleting network () 2025-12-18 04:00:22,130 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/989512e9-c0bc-4e43-89ce-8a248c74a279 2025-12-18 04:00:22,137 - DEBUG - Response Code: 404 2025-12-18 04:00:22,137 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-12-18 04:00:22,144 - DEBUG - Requesting: http://10.0.0.23:8082/domain/48c3cb03-f70f-4f5d-8ebd-0d23e5db0707 2025-12-18 04:00:22,217 - DEBUG - Requesting: http://10.0.0.23:8082/project/a21cd398-c9c0-47b3-a940-fde9c7319f9f 2025-12-18 04:00:22,349 - INFO - Validated that VN ctest-vn-16297982 is not found in API Server 2025-12-18 04:00:22,364 - DEBUG - VN ctest-vn-16297982 is not present in Agent 10.0.0.249 2025-12-18 04:00:22,379 - DEBUG - VN ctest-vn-16297982 is not present in Agent 10.0.0.129 2025-12-18 04:00:22,379 - INFO - Validated that VN ctest-vn-16297982 is not in any agent 2025-12-18 04:00:22,415 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16297982 info 2025-12-18 04:00:23,763 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 04:00:23,763 - INFO - END TEST : test_vif_statistics : PASSED[0:02:05]
2025-12-18 04:00:23,763 - INFO - -------------------------------------------------------------------------------- 2025-12-18 04:00:24,584 - INFO - Deleted project: ctest-TestvifStats-78360669, ID : a21cd398-c9c0-47b3-a940-fde9c7319f9f