2025-08-06 16:27:41,365 - INFO - Domain Default found not creating
2025-08-06 16:27:41,535 - INFO - Project ctest-TestvifStats-48606331 not found, creating it
2025-08-06 16:27:42,112 - INFO - Created Project:ctest-TestvifStats-48606331, ID : 1cffcd44-aeb5-46c8-a591-c83f2146b00f
2025-08-06 16:27:43,750 - INFO - ================================================================================
2025-08-06 16:27:43,750 - INFO - STARTING TEST : test_vif_statistics
2025-08-06 16:27:43,750 - 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-08-06 16:27:45,030 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.57': {'10.20.0.25': '0', '10.20.0.14': '0'}} with
2025-08-06 16:27:45,030 - INFO - Initial checks done. Running the testcase now
2025-08-06 16:27:45,031 - INFO -
2025-08-06 16:27:45,754 - DEBUG - Response for create_network : {'network': {'id': '52061350-1e83-4c93-93e6-95457d905f40', 'name': 'ctest-vn-00676978', 'tenant_id': '1cffcd44aeb546c8a591c83f2146b00f', 'project_id': '1cffcd44aeb546c8a591c83f2146b00f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-48606331', 'ctest-vn-00676978'], 'port_security_enabled': True, 'description': ''}}
2025-08-06 16:27:46,083 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c92e194-07a4-47b3-9ba1-4e88b6b7e71c', 'name': '', 'tenant_id': '1cffcd44aeb546c8a591c83f2146b00f', 'network_id': '52061350-1e83-4c93-93e6-95457d905f40', 'ip_version': 4, 'cidr': '50.101.50.0/26', 'allocation_pools': [{'start': '50.101.50.2', 'end': '50.101.50.62'}], 'gateway_ip': '50.101.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.101.50.2', 'tags': [], 'project_id': '1cffcd44aeb546c8a591c83f2146b00f'}}
2025-08-06 16:27:46,108 - INFO - Created VN ctest-vn-00676978
2025-08-06 16:27:46,121 - DEBUG - VN ctest-vn-00676978 UUID is 52061350-1e83-4c93-93e6-95457d905f40
2025-08-06 16:27:46,198 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-08-06 16:27:46,492 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-08-06 16:27:46,526 - DEBUG - Requesting: http://10.0.0.254:8082/domain/024378da-7408-4369-ac73-51fa8d4d8d77
2025-08-06 16:27:46,544 - DEBUG - Requesting: http://10.0.0.254:8082/project/1cffcd44-aeb5-46c8-a591-c83f2146b00f
2025-08-06 16:27:46,645 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/52061350-1e83-4c93-93e6-95457d905f40
2025-08-06 16:27:46,664 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/52061350-1e83-4c93-93e6-95457d905f40
2025-08-06 16:27:46,677 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b00fab55-4ca4-4b2c-9581-46b1079c08c5
2025-08-06 16:27:46,700 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b00fab55-4ca4-4b2c-9581-46b1079c08c5
2025-08-06 16:27:46,709 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/51fc6667-9db4-4506-bfe6-d909eddd1ccc
2025-08-06 16:27:46,721 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-06 16:27:46,721 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/52061350-1e83-4c93-93e6-95457d905f40
2025-08-06 16:27:46,732 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b00fab55-4ca4-4b2c-9581-46b1079c08c5
2025-08-06 16:27:46,751 - INFO - Verified VN network id 9 for VN 52061350-1e83-4c93-93e6-95457d905f40
2025-08-06 16:27:46,751 - INFO - Verifications in API Server for VN ctest-vn-00676978 passed
2025-08-06 16:27:46,751 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/52061350-1e83-4c93-93e6-95457d905f40
2025-08-06 16:27:46,771 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b00fab55-4ca4-4b2c-9581-46b1079c08c5
2025-08-06 16:27:46,782 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b00fab55-4ca4-4b2c-9581-46b1079c08c5
2025-08-06 16:27:46,790 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/51fc6667-9db4-4506-bfe6-d909eddd1ccc
2025-08-06 16:27:46,805 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-48606331', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5910432795800587411', 'uuid-lslong': '10657369693910753088'}, 'enable': 'true', 'created': '2025-08-06T16:27:45', 'last-modified': '2025-08-06T16:27:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.808552'}
2025-08-06 16:27:46,812 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-06 16:27:46,818 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-48606331', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5910432795800587411', 'uuid-lslong': '10657369693910753088'}, 'enable': 'true', 'created': '2025-08-06T16:27:45', 'last-modified': '2025-08-06T16:27:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.806562'}
2025-08-06 16:27:46,827 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-06 16:27:46,833 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-48606331', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5910432795800587411', 'uuid-lslong': '10657369693910753088'}, 'enable': 'true', 'created': '2025-08-06T16:27:45', 'last-modified': '2025-08-06T16:27:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.819600'}
2025-08-06 16:27:46,840 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-06 16:27:46,840 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00676978 passed
2025-08-06 16:27:46,841 - DEBUG - ====Verifying policy data for ctest-vn-00676978 in API_Server ======
2025-08-06 16:27:46,841 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-08-06 16:27:46,848 - DEBUG - Requesting: http://10.0.0.254:8082/domain/024378da-7408-4369-ac73-51fa8d4d8d77
2025-08-06 16:27:46,862 - DEBUG - Requesting: http://10.0.0.254:8082/project/1cffcd44-aeb5-46c8-a591-c83f2146b00f
2025-08-06 16:27:46,957 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/52061350-1e83-4c93-93e6-95457d905f40
2025-08-06 16:27:46,972 - DEBUG - =>VN ctest-vn-00676978 has no policy to be verified
2025-08-06 16:27:46,972 - DEBUG - Verifying the vn in opserver
2025-08-06 16:27:46,972 - DEBUG - Verifying the default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 virtual network link through opserver 10.0.0.254
2025-08-06 16:27:46,972 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-08-06 16:27:47,272 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-08-06 16:27:47,345 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978?flat'}
2025-08-06 16:27:47,345 - DEBUG - Verifying the default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 virtual network link through opserver 10.0.0.38
2025-08-06 16:27:47,345 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-08-06 16:27:47,649 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-08-06 16:27:47,712 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978?flat'}
2025-08-06 16:27:47,712 - DEBUG - Verifying the default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 virtual network link through opserver 10.0.0.48
2025-08-06 16:27:47,712 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks
2025-08-06 16:27:48,019 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks
2025-08-06 16:27:48,084 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978?flat'}
2025-08-06 16:27:48,084 - INFO - Validated that VN default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 is found in opserver
2025-08-06 16:27:48,109 - DEBUG - Do not have enough data to verify VN in agent
2025-08-06 16:27:48,122 - DEBUG - VRF ids for VN ctest-vn-00676978: {}
2025-08-06 16:27:48,151 - DEBUG - Services list from nova: [, , , ]
2025-08-06 16:27:48,151 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3763-1', 'an-jenkins-deploy-platform-ansible-os-3763-2']}
2025-08-06 16:27:48,151 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3763-1', 'an-jenkins-deploy-platform-ansible-os-3763-2']}
2025-08-06 16:27:49,348 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3763-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3763-1)
2025-08-06 16:27:49,349 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3763-1', 'an-jenkins-deploy-platform-ansible-os-3763-2']}
2025-08-06 16:27:50,735 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3763-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3763-1)
2025-08-06 16:27:50,735 - INFO - Waiting for VM ctest-TestvifStats-48606331-42362569 to be up..
2025-08-06 16:27:50,815 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 16:27:55,897 - DEBUG - VM is in ACTIVE state now
2025-08-06 16:27:55,897 - INFO - VM name : ctest-TestvifStats-48606331-42362569
2025-08-06 16:27:55,971 - DEBUG - VM ctest-TestvifStats-48606331-42362569 ID is 18950f94-38fe-4f9e-9151-1447ea9b8902
2025-08-06 16:27:55,993 - DEBUG - VM ctest-TestvifStats-48606331-42362569 launched on Node an-jenkins-deploy-platform-ansible-os-3763-1
2025-08-06 16:27:56,075 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/18950f94-38fe-4f9e-9151-1447ea9b8902
2025-08-06 16:27:56,373 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/18950f94-38fe-4f9e-9151-1447ea9b8902
2025-08-06 16:27:56,404 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ac0dc729-d229-4592-9fba-c0b20c804ea2
2025-08-06 16:27:59,628 - 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-08-06 16:27:59,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48606331-42362569 failed!
2025-08-06 16:27:59,643 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 is 50.101.50.1 and allocation pool is NOT set
2025-08-06 16:28:03,727 - 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 1021ms')
2025-08-06 16:28:03,727 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48606331-42362569 failed!
2025-08-06 16:28:03,743 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 is 50.101.50.1 and allocation pool is NOT set
2025-08-06 16:28:07,823 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2025-08-06 16:28:07,824 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48606331-42362569 failed!
2025-08-06 16:28:07,840 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 is 50.101.50.1 and allocation pool is NOT set
2025-08-06 16:28:11,920 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2025-08-06 16:28:11,920 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48606331-42362569 failed!
2025-08-06 16:28:11,937 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 is 50.101.50.1 and allocation pool is NOT set
2025-08-06 16:28:16,014 - 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 1010ms')
2025-08-06 16:28:16,014 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48606331-42362569 failed!
2025-08-06 16:28:16,029 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 is 50.101.50.1 and allocation pool is NOT set
2025-08-06 16:28:20,113 - 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-08-06 16:28:20,114 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48606331-42362569 failed!
2025-08-06 16:28:20,128 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 is 50.101.50.1 and allocation pool is NOT set
2025-08-06 16:28:24,210 - 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-08-06 16:28:24,210 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48606331-42362569 failed!
2025-08-06 16:28:24,225 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 is 50.101.50.1 and allocation pool is NOT set
2025-08-06 16:28:28,304 - 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 1008ms')
2025-08-06 16:28:28,305 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48606331-42362569 failed!
2025-08-06 16:28:28,319 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 is 50.101.50.1 and allocation pool is NOT set
2025-08-06 16:28:32,399 - 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-08-06 16:28:32,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48606331-42362569 failed!
2025-08-06 16:28:32,416 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 is 50.101.50.1 and allocation pool is NOT set
2025-08-06 16:28:36,500 - 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-08-06 16:28:36,500 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48606331-42362569 failed!
2025-08-06 16:28:36,517 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 is 50.101.50.1 and allocation pool is NOT set
2025-08-06 16:28:40,593 - 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 1008ms')
2025-08-06 16:28:40,593 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48606331-42362569 failed!
2025-08-06 16:28:40,614 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48606331:ctest-vn-00676978 is 50.101.50.1 and allocation pool is NOT set
2025-08-06 16:28:42,675 - 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=29.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.700 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 = 0.700/15.068/29.437/14.368 ms')
2025-08-06 16:28:42,675 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48606331-42362569 passed
2025-08-06 16:28:42,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 16:28:42,791 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48606331-42362569, IP 50.101.50.3, Port 22
2025-08-06 16:28:42,857 - 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-08-06 16:28:42,991 - DEBUG - VM ctest-TestvifStats-48606331-42362569 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 16:28:47,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 16:28:47,992 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48606331-42362569, IP 50.101.50.3, Port 22
2025-08-06 16:28:48,057 - 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-08-06 16:28:48,168 - DEBUG - VM ctest-TestvifStats-48606331-42362569 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 16:28:53,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 16:28:53,169 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48606331-42362569, IP 50.101.50.3, Port 22
2025-08-06 16:28:53,261 - 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-08-06 16:28:53,342 - DEBUG - VM ctest-TestvifStats-48606331-42362569 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 16:28:58,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 16:28:58,344 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48606331-42362569, IP 50.101.50.3, Port 22
2025-08-06 16:28:58,409 - 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-08-06 16:28:58,495 - DEBUG - VM ctest-TestvifStats-48606331-42362569 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 16:29:03,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 16:29:03,496 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48606331-42362569, IP 50.101.50.3, Port 22
2025-08-06 16:29:03,562 - 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-08-06 16:29:03,651 - DEBUG - VM ctest-TestvifStats-48606331-42362569 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 16:29:08,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 16:29:08,652 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48606331-42362569, IP 50.101.50.3, Port 22
2025-08-06 16:29:08,821 - DEBUG - VM ctest-TestvifStats-48606331-42362569 is ready for SSH connections
2025-08-06 16:29:08,822 - INFO - Waiting for VM ctest-TestvifStats-48606331-24768180 to be up..
2025-08-06 16:29:08,914 - DEBUG - VM is in ACTIVE state now
2025-08-06 16:29:08,915 - INFO - VM name : ctest-TestvifStats-48606331-24768180
2025-08-06 16:29:09,010 - DEBUG - VM ctest-TestvifStats-48606331-24768180 ID is eb6c5889-d7cf-47ef-8fda-3d952c04977b
2025-08-06 16:29:09,011 - DEBUG - VM ctest-TestvifStats-48606331-24768180 launched on Node an-jenkins-deploy-platform-ansible-os-3763-1
2025-08-06 16:29:09,095 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/eb6c5889-d7cf-47ef-8fda-3d952c04977b
2025-08-06 16:29:09,108 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/66c3783c-9c3e-4201-acba-485abcef4046
2025-08-06 16:29:10,323 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.43 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 = 1.428/3.580/5.733/2.152 ms')
2025-08-06 16:29:10,323 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-48606331-24768180 passed
2025-08-06 16:29:10,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 16:29:10,435 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48606331-24768180, IP 50.101.50.4, Port 22
2025-08-06 16:29:10,610 - DEBUG - VM ctest-TestvifStats-48606331-24768180 is ready for SSH connections
2025-08-06 16:29:10,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 16:29:10,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.101.50.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-06 16:29:10,610 - DEBUG - ping -s 56 -c 3 -W 1 50.101.50.4
2025-08-06 16:29:34,524 - DEBUG - PING 50.101.50.4 (50.101.50.4) 56(84) bytes of data.
64 bytes from 50.101.50.4: icmp_req=1 ttl=64 time=9.39 ms
64 bytes from 50.101.50.4: icmp_req=2 ttl=64 time=0.817 ms
64 bytes from 50.101.50.4: icmp_req=3 ttl=64 time=0.988 ms
--- 50.101.50.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.817/3.733/9.394/4.003 ms
2025-08-06 16:29:34,524 - INFO - Ping to IP 50.101.50.4 from VM ctest-TestvifStats-48606331-42362569 passed
2025-08-06 16:29:34,524 - INFO - 10.0.0.49
2025-08-06 16:29:34,524 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-06 16:29:34,646 - INFO - 18040
2025-08-06 16:29:34,757 - INFO - TX packets:17090
2025-08-06 16:29:34,757 - INFO - 17090
2025-08-06 16:29:34,757 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-06 16:29:34,871 - INFO - 27054
2025-08-06 16:29:34,990 - INFO - TX packets:28636
2025-08-06 16:29:34,990 - INFO - 28636
2025-08-06 16:29:34,991 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-06 16:29:35,102 - INFO - 11429
2025-08-06 16:29:35,216 - INFO - TX packets:9939
2025-08-06 16:29:35,216 - INFO - 9939
2025-08-06 16:29:35,217 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-06 16:29:35,318 - INFO - 285
2025-08-06 16:29:35,437 - INFO - TX packets:349
2025-08-06 16:29:35,437 - INFO - 349
2025-08-06 16:29:35,437 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-06 16:29:35,539 - INFO - 235
2025-08-06 16:29:35,646 - INFO - TX packets:277
2025-08-06 16:29:35,646 - INFO - 277
2025-08-06 16:29:35,646 - INFO - 10.0.0.49
2025-08-06 16:29:35,749 - INFO - Vif stats cleared successfully on all cores for all interfaces
2025-08-06 16:29:35,749 - INFO - 10.0.0.49
2025-08-06 16:29:35,750 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-06 16:29:35,868 - INFO - 0
2025-08-06 16:29:35,973 - INFO - TX packets:0
2025-08-06 16:29:35,973 - INFO - 0
2025-08-06 16:29:35,973 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-06 16:29:36,092 - INFO - 0
2025-08-06 16:29:36,204 - INFO - TX packets:0
2025-08-06 16:29:36,205 - INFO - 0
2025-08-06 16:29:36,205 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-06 16:29:36,315 - INFO - 0
2025-08-06 16:29:36,423 - INFO - TX packets:0
2025-08-06 16:29:36,423 - INFO - 0
2025-08-06 16:29:36,423 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-06 16:29:36,536 - INFO - 0
2025-08-06 16:29:36,647 - INFO - TX packets:0
2025-08-06 16:29:36,648 - INFO - 0
2025-08-06 16:29:36,648 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-06 16:29:36,755 - INFO - 1
2025-08-06 16:29:36,872 - INFO - TX packets:1
2025-08-06 16:29:36,872 - INFO - 1
2025-08-06 16:29:36,872 - INFO - Deleting VM ctest-TestvifStats-48606331-24768180
2025-08-06 16:29:36,947 - INFO - Deleting VM ctest-TestvifStats-48606331-42362569
2025-08-06 16:29:37,010 - INFO - Deleting VN ctest-vn-00676978
2025-08-06 16:29:37,050 - DEBUG - VN 52061350-1e83-4c93-93e6-95457d905f40 still in use: Unable to complete operation on network 52061350-1e83-4c93-93e6-95457d905f40. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0980cc89-6ed4-4167-8ce6-a8a7596b9c1b']
2025-08-06 16:29:37,050 - WARNING - Deleting VN ctest-vn-00676978 failed..Will retry
2025-08-06 16:29:39,205 - DEBUG - Response for deleting network ()
2025-08-06 16:29:39,205 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b00fab55-4ca4-4b2c-9581-46b1079c08c5
2025-08-06 16:29:39,211 - DEBUG - Response Code: 404
2025-08-06 16:29:39,213 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-08-06 16:29:39,223 - DEBUG - Requesting: http://10.0.0.254:8082/domain/024378da-7408-4369-ac73-51fa8d4d8d77
2025-08-06 16:29:39,286 - DEBUG - Requesting: http://10.0.0.254:8082/project/1cffcd44-aeb5-46c8-a591-c83f2146b00f
2025-08-06 16:29:39,377 - INFO - Validated that VN ctest-vn-00676978 is not found in API Server
2025-08-06 16:29:39,390 - DEBUG - VN ctest-vn-00676978 is not present in Agent 10.0.0.49
2025-08-06 16:29:39,403 - DEBUG - VN ctest-vn-00676978 is not present in Agent 10.0.0.57
2025-08-06 16:29:39,403 - INFO - Validated that VN ctest-vn-00676978 is not in any agent
2025-08-06 16:29:39,443 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00676978 info
2025-08-06 16:29:40,714 - DEBUG - No XMPP flaps were noticed during the test
2025-08-06 16:29:40,714 - INFO - END TEST : test_vif_statistics : PASSED[0:01:57]
2025-08-06 16:29:40,714 - INFO - --------------------------------------------------------------------------------
2025-08-06 16:29:41,472 - INFO - Deleted project: ctest-TestvifStats-48606331, ID : 1cffcd44-aeb5-46c8-a591-c83f2146b00f