2025-12-15 03:49:39,629 - INFO - Domain Default found not creating
2025-12-15 03:49:39,787 - INFO - Project ctest-TestvifStats-82028712 not found, creating it
2025-12-15 03:49:40,378 - INFO - Created Project:ctest-TestvifStats-82028712, ID : 09fde9ae-c4dd-4a20-b1fb-e5549e0bff79
2025-12-15 03:49:41,752 - INFO - ================================================================================
2025-12-15 03:49:41,752 - INFO - STARTING TEST : test_vif_statistics
2025-12-15 03:49:41,752 - 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-15 03:49:43,047 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0', '10.20.0.129': '0'}, '10.0.0.27': {'10.20.0.254': '0', '10.20.0.18': '0'}} with
2025-12-15 03:49:43,048 - INFO - Initial checks done. Running the testcase now
2025-12-15 03:49:43,048 - INFO -
2025-12-15 03:49:43,698 - DEBUG - Response for create_network : {'network': {'id': 'db17aba7-0bfe-4fc2-afe7-b0f153f0cac8', 'name': 'ctest-vn-58164924', 'tenant_id': '09fde9aec4dd4a20b1fbe5549e0bff79', 'project_id': '09fde9aec4dd4a20b1fbe5549e0bff79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-82028712', 'ctest-vn-58164924'], 'port_security_enabled': True, 'description': ''}}
2025-12-15 03:49:43,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '09112390-8a40-446b-8c7c-a919a80406d4', 'name': '', 'tenant_id': '09fde9aec4dd4a20b1fbe5549e0bff79', 'network_id': 'db17aba7-0bfe-4fc2-afe7-b0f153f0cac8', 'ip_version': 4, 'cidr': '66.184.125.0/26', 'allocation_pools': [{'start': '66.184.125.2', 'end': '66.184.125.62'}], 'gateway_ip': '66.184.125.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.184.125.2', 'tags': [], 'project_id': '09fde9aec4dd4a20b1fbe5549e0bff79'}}
2025-12-15 03:49:43,983 - INFO - Created VN ctest-vn-58164924
2025-12-15 03:49:43,994 - DEBUG - VN ctest-vn-58164924 UUID is db17aba7-0bfe-4fc2-afe7-b0f153f0cac8
2025-12-15 03:49:44,061 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-12-15 03:49:44,357 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-12-15 03:49:44,395 - DEBUG - Requesting: http://10.0.0.23:8082/domain/747a8d7b-37d3-4985-88af-26a6e8bf7d0e
2025-12-15 03:49:44,410 - DEBUG - Requesting: http://10.0.0.23:8082/project/09fde9ae-c4dd-4a20-b1fb-e5549e0bff79
2025-12-15 03:49:44,503 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/db17aba7-0bfe-4fc2-afe7-b0f153f0cac8
2025-12-15 03:49:44,518 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/db17aba7-0bfe-4fc2-afe7-b0f153f0cac8
2025-12-15 03:49:44,529 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/35f09891-47d8-46aa-8427-2e78a2ca3cd2
2025-12-15 03:49:44,539 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/35f09891-47d8-46aa-8427-2e78a2ca3cd2
2025-12-15 03:49:44,547 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/c256b01c-74e3-427b-9476-11c7d6e427c3
2025-12-15 03:49:44,553 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-15 03:49:44,553 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/db17aba7-0bfe-4fc2-afe7-b0f153f0cac8
2025-12-15 03:49:44,560 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/35f09891-47d8-46aa-8427-2e78a2ca3cd2
2025-12-15 03:49:44,574 - INFO - Verified VN network id 11 for VN db17aba7-0bfe-4fc2-afe7-b0f153f0cac8
2025-12-15 03:49:44,574 - INFO - Verifications in API Server for VN ctest-vn-58164924 passed
2025-12-15 03:49:44,574 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/db17aba7-0bfe-4fc2-afe7-b0f153f0cac8
2025-12-15 03:49:44,582 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/35f09891-47d8-46aa-8427-2e78a2ca3cd2
2025-12-15 03:49:44,588 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/35f09891-47d8-46aa-8427-2e78a2ca3cd2
2025-12-15 03:49:44,594 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/c256b01c-74e3-427b-9476-11c7d6e427c3
2025-12-15 03:49:44,604 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-82028712', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15787275752719667138', 'uuid-lslong': '12675294226799446728'}, 'enable': 'true', 'created': '2025-12-15T03:49:43', 'last-modified': '2025-12-15T03:49:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.677572'}
2025-12-15 03:49:44,609 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-15 03:49:44,614 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-82028712', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15787275752719667138', 'uuid-lslong': '12675294226799446728'}, 'enable': 'true', 'created': '2025-12-15T03:49:43', 'last-modified': '2025-12-15T03:49:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.686416'}
2025-12-15 03:49:44,619 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-15 03:49:44,624 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-82028712', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15787275752719667138', 'uuid-lslong': '12675294226799446728'}, 'enable': 'true', 'created': '2025-12-15T03:49:43', 'last-modified': '2025-12-15T03:49:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.697456'}
2025-12-15 03:49:44,630 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-15 03:49:44,630 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58164924 passed
2025-12-15 03:49:44,630 - DEBUG - ====Verifying policy data for ctest-vn-58164924 in API_Server ======
2025-12-15 03:49:44,630 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-12-15 03:49:44,635 - DEBUG - Requesting: http://10.0.0.23:8082/domain/747a8d7b-37d3-4985-88af-26a6e8bf7d0e
2025-12-15 03:49:44,644 - DEBUG - Requesting: http://10.0.0.23:8082/project/09fde9ae-c4dd-4a20-b1fb-e5549e0bff79
2025-12-15 03:49:44,733 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/db17aba7-0bfe-4fc2-afe7-b0f153f0cac8
2025-12-15 03:49:44,744 - DEBUG - =>VN ctest-vn-58164924 has no policy to be verified
2025-12-15 03:49:44,744 - DEBUG - Verifying the vn in opserver
2025-12-15 03:49:44,745 - DEBUG - Verifying the default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 virtual network link through opserver 10.0.0.23
2025-12-15 03:49:44,745 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-12-15 03:49:45,039 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-12-15 03:49:45,096 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924?flat'}
2025-12-15 03:49:45,096 - DEBUG - Verifying the default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 virtual network link through opserver 10.0.0.50
2025-12-15 03:49:45,096 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-12-15 03:49:45,387 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-12-15 03:49:45,446 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924?flat'}
2025-12-15 03:49:45,446 - DEBUG - Verifying the default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 virtual network link through opserver 10.0.0.65
2025-12-15 03:49:45,446 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-12-15 03:49:45,735 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-12-15 03:49:45,792 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924?flat'}
2025-12-15 03:49:45,792 - INFO - Validated that VN default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 is found in opserver
2025-12-15 03:49:45,812 - DEBUG - Do not have enough data to verify VN in agent
2025-12-15 03:49:45,822 - DEBUG - VRF ids for VN ctest-vn-58164924: {}
2025-12-15 03:49:45,843 - DEBUG - Services list from nova: [, , , ]
2025-12-15 03:49:45,843 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4894-2', 'an-jenkins-deploy-platform-ansible-os-4894-1']}
2025-12-15 03:49:45,843 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4894-2', 'an-jenkins-deploy-platform-ansible-os-4894-1']}
2025-12-15 03:49:47,260 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4894-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4894-2)
2025-12-15 03:49:47,260 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4894-2', 'an-jenkins-deploy-platform-ansible-os-4894-1']}
2025-12-15 03:49:48,730 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4894-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4894-2)
2025-12-15 03:49:48,730 - INFO - Waiting for VM ctest-TestvifStats-82028712-80418347 to be up..
2025-12-15 03:49:48,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-15 03:49:53,896 - DEBUG - VM is in ACTIVE state now
2025-12-15 03:49:53,896 - INFO - VM name : ctest-TestvifStats-82028712-80418347
2025-12-15 03:49:53,976 - DEBUG - VM ctest-TestvifStats-82028712-80418347 ID is dd965530-87ef-466b-84e1-2e331a0f2d3f
2025-12-15 03:49:53,998 - DEBUG - VM ctest-TestvifStats-82028712-80418347 launched on Node an-jenkins-deploy-platform-ansible-os-4894-2
2025-12-15 03:49:54,088 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/dd965530-87ef-466b-84e1-2e331a0f2d3f
2025-12-15 03:49:54,380 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/dd965530-87ef-466b-84e1-2e331a0f2d3f
2025-12-15 03:49:54,421 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/cadb7134-ec4e-4970-af3b-1c9e409b7725
2025-12-15 03:49:57,627 - 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 1037ms')
2025-12-15 03:49:57,627 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82028712-80418347 failed!
2025-12-15 03:49:57,642 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 is 66.184.125.1 and allocation pool is NOT set
2025-12-15 03:50:01,719 - 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-15 03:50:01,719 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82028712-80418347 failed!
2025-12-15 03:50:01,736 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 is 66.184.125.1 and allocation pool is NOT set
2025-12-15 03:50:05,816 - 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-15 03:50:05,816 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82028712-80418347 failed!
2025-12-15 03:50:05,832 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 is 66.184.125.1 and allocation pool is NOT set
2025-12-15 03:50:09,912 - 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-15 03:50:09,912 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82028712-80418347 failed!
2025-12-15 03:50:09,926 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 is 66.184.125.1 and allocation pool is NOT set
2025-12-15 03:50:14,007 - 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-12-15 03:50:14,007 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82028712-80418347 failed!
2025-12-15 03:50:14,020 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 is 66.184.125.1 and allocation pool is NOT set
2025-12-15 03:50:18,104 - 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-15 03:50:18,104 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82028712-80418347 failed!
2025-12-15 03:50:18,120 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 is 66.184.125.1 and allocation pool is NOT set
2025-12-15 03:50:22,199 - 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-15 03:50:22,199 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82028712-80418347 failed!
2025-12-15 03:50:22,212 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 is 66.184.125.1 and allocation pool is NOT set
2025-12-15 03:50:26,296 - 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-15 03:50:26,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82028712-80418347 failed!
2025-12-15 03:50:26,317 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 is 66.184.125.1 and allocation pool is NOT set
2025-12-15 03:50:30,393 - 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-12-15 03:50:30,393 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82028712-80418347 failed!
2025-12-15 03:50:30,410 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 is 66.184.125.1 and allocation pool is NOT set
2025-12-15 03:50:34,488 - 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-15 03:50:34,488 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82028712-80418347 failed!
2025-12-15 03:50:34,507 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 is 66.184.125.1 and allocation pool is NOT set
2025-12-15 03:50:36,576 - 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=5.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.897 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.897/3.334/5.771/2.437 ms')
2025-12-15 03:50:36,576 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-82028712-80418347 passed
2025-12-15 03:50:36,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 03:50:36,653 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82028712-80418347, IP 66.184.125.3, Port 22
2025-12-15 03:50:36,720 - 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-15 03:50:36,802 - DEBUG - VM ctest-TestvifStats-82028712-80418347 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-15 03:50:41,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 03:50:41,803 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82028712-80418347, IP 66.184.125.3, Port 22
2025-12-15 03:50:41,869 - 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-15 03:50:41,946 - DEBUG - VM ctest-TestvifStats-82028712-80418347 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-15 03:50:46,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 03:50:46,947 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82028712-80418347, IP 66.184.125.3, Port 22
2025-12-15 03:50:47,012 - 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-15 03:50:47,089 - DEBUG - VM ctest-TestvifStats-82028712-80418347 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-15 03:50:52,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 03:50:52,090 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82028712-80418347, IP 66.184.125.3, Port 22
2025-12-15 03:50:52,157 - 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-15 03:50:52,247 - DEBUG - VM ctest-TestvifStats-82028712-80418347 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-15 03:50:57,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 03:50:57,247 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82028712-80418347, IP 66.184.125.3, Port 22
2025-12-15 03:50:57,416 - DEBUG - VM ctest-TestvifStats-82028712-80418347 is ready for SSH connections
2025-12-15 03:50:57,417 - INFO - Waiting for VM ctest-TestvifStats-82028712-77811386 to be up..
2025-12-15 03:50:57,523 - DEBUG - VM is in ACTIVE state now
2025-12-15 03:50:57,523 - INFO - VM name : ctest-TestvifStats-82028712-77811386
2025-12-15 03:50:57,634 - DEBUG - VM ctest-TestvifStats-82028712-77811386 ID is c9b926d3-5b37-4c4c-b650-916e70bffbec
2025-12-15 03:50:57,634 - DEBUG - VM ctest-TestvifStats-82028712-77811386 launched on Node an-jenkins-deploy-platform-ansible-os-4894-2
2025-12-15 03:50:57,728 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c9b926d3-5b37-4c4c-b650-916e70bffbec
2025-12-15 03:50:57,739 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5e3added-a8aa-4883-ba8b-9d3325e00760
2025-12-15 03:51:00,951 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1029ms')
2025-12-15 03:51:00,951 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-82028712-77811386 failed!
2025-12-15 03:51:00,967 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-82028712:ctest-vn-58164924 is 66.184.125.1 and allocation pool is NOT set
2025-12-15 03:51:05,047 - 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=2 ttl=63 time=43.3 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 43.261/43.261/43.261/0.000 ms')
2025-12-15 03:51:05,047 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-82028712-77811386 passed
2025-12-15 03:51:05,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 03:51:05,122 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82028712-77811386, IP 66.184.125.4, Port 22
2025-12-15 03:51:05,189 - 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-15 03:51:05,276 - DEBUG - VM ctest-TestvifStats-82028712-77811386 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-15 03:51:10,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 03:51:10,277 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82028712-77811386, IP 66.184.125.4, Port 22
2025-12-15 03:51:10,344 - 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-15 03:51:10,427 - DEBUG - VM ctest-TestvifStats-82028712-77811386 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-15 03:51:15,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 03:51:15,427 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82028712-77811386, IP 66.184.125.4, Port 22
2025-12-15 03:51:15,493 - 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-15 03:51:15,564 - DEBUG - VM ctest-TestvifStats-82028712-77811386 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-15 03:51:20,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 03:51:20,565 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82028712-77811386, IP 66.184.125.4, Port 22
2025-12-15 03:51:20,623 - 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-15 03:51:20,706 - DEBUG - VM ctest-TestvifStats-82028712-77811386 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-15 03:51:25,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 03:51:25,706 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-82028712-77811386, IP 66.184.125.4, Port 22
2025-12-15 03:51:25,878 - DEBUG - VM ctest-TestvifStats-82028712-77811386 is ready for SSH connections
2025-12-15 03:51:25,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 03:51:25,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.184.125.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-12-15 03:51:25,878 - DEBUG - ping -s 56 -c 3 -W 1 66.184.125.4
2025-12-15 03:52:07,032 - DEBUG - PING 66.184.125.4 (66.184.125.4) 56(84) bytes of data.
64 bytes from 66.184.125.4: icmp_req=1 ttl=64 time=11.3 ms
64 bytes from 66.184.125.4: icmp_req=2 ttl=64 time=0.972 ms
64 bytes from 66.184.125.4: icmp_req=3 ttl=64 time=0.744 ms
--- 66.184.125.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.744/4.362/11.371/4.957 ms
2025-12-15 03:52:07,033 - INFO - Ping to IP 66.184.125.4 from VM ctest-TestvifStats-82028712-80418347 passed
2025-12-15 03:52:07,033 - INFO - 10.0.0.27
2025-12-15 03:52:07,033 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-15 03:52:07,148 - INFO - 14460
2025-12-15 03:52:07,249 - INFO - TX packets:14015
2025-12-15 03:52:07,249 - INFO - 14015
2025-12-15 03:52:07,249 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-15 03:52:07,353 - INFO - 21813
2025-12-15 03:52:07,461 - INFO - TX packets:22822
2025-12-15 03:52:07,461 - INFO - 22822
2025-12-15 03:52:07,461 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-15 03:52:07,574 - INFO - 9832
2025-12-15 03:52:07,691 - INFO - TX packets:8387
2025-12-15 03:52:07,691 - INFO - 8387
2025-12-15 03:52:07,692 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-15 03:52:07,789 - INFO - 286
2025-12-15 03:52:07,897 - INFO - TX packets:341
2025-12-15 03:52:07,897 - INFO - 341
2025-12-15 03:52:07,897 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-15 03:52:08,001 - INFO - 228
2025-12-15 03:52:08,109 - INFO - TX packets:281
2025-12-15 03:52:08,109 - INFO - 281
2025-12-15 03:52:08,109 - INFO - 10.0.0.27
2025-12-15 03:52:08,213 - INFO - Vif stats cleared successfully on all cores for all interfaces
2025-12-15 03:52:08,213 - INFO - 10.0.0.27
2025-12-15 03:52:08,213 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-15 03:52:08,317 - INFO - 0
2025-12-15 03:52:08,424 - INFO - TX packets:0
2025-12-15 03:52:08,424 - INFO - 0
2025-12-15 03:52:08,424 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-15 03:52:08,541 - INFO - 0
2025-12-15 03:52:08,649 - INFO - TX packets:0
2025-12-15 03:52:08,649 - INFO - 0
2025-12-15 03:52:08,649 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-15 03:52:08,753 - INFO - 1
2025-12-15 03:52:08,857 - INFO - TX packets:1
2025-12-15 03:52:08,857 - INFO - 1
2025-12-15 03:52:08,857 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-15 03:52:08,961 - INFO - 1
2025-12-15 03:52:09,069 - INFO - TX packets:1
2025-12-15 03:52:09,069 - INFO - 1
2025-12-15 03:52:09,069 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-15 03:52:09,174 - INFO - 0
2025-12-15 03:52:09,282 - INFO - TX packets:0
2025-12-15 03:52:09,282 - INFO - 0
2025-12-15 03:52:09,282 - INFO - Deleting VM ctest-TestvifStats-82028712-77811386
2025-12-15 03:52:09,354 - INFO - Deleting VM ctest-TestvifStats-82028712-80418347
2025-12-15 03:52:09,425 - INFO - Deleting VN ctest-vn-58164924
2025-12-15 03:52:09,471 - DEBUG - VN db17aba7-0bfe-4fc2-afe7-b0f153f0cac8 still in use: Unable to complete operation on network db17aba7-0bfe-4fc2-afe7-b0f153f0cac8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5ec2f086-0b29-41f3-b3ee-af9e614b5dbe']
2025-12-15 03:52:09,471 - WARNING - Deleting VN ctest-vn-58164924 failed..Will retry
2025-12-15 03:52:11,615 - DEBUG - Response for deleting network ()
2025-12-15 03:52:11,615 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/35f09891-47d8-46aa-8427-2e78a2ca3cd2
2025-12-15 03:52:11,621 - DEBUG - Response Code: 404
2025-12-15 03:52:11,621 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-12-15 03:52:11,626 - DEBUG - Requesting: http://10.0.0.23:8082/domain/747a8d7b-37d3-4985-88af-26a6e8bf7d0e
2025-12-15 03:52:11,651 - DEBUG - Requesting: http://10.0.0.23:8082/project/09fde9ae-c4dd-4a20-b1fb-e5549e0bff79
2025-12-15 03:52:11,744 - INFO - Validated that VN ctest-vn-58164924 is not found in API Server
2025-12-15 03:52:11,754 - DEBUG - VN ctest-vn-58164924 is not present in Agent 10.0.0.22
2025-12-15 03:52:11,764 - DEBUG - VN ctest-vn-58164924 is not present in Agent 10.0.0.27
2025-12-15 03:52:11,764 - INFO - Validated that VN ctest-vn-58164924 is not in any agent
2025-12-15 03:52:11,795 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58164924 info
2025-12-15 03:52:13,089 - DEBUG - No XMPP flaps were noticed during the test
2025-12-15 03:52:13,089 - INFO - END TEST : test_vif_statistics : PASSED[0:02:32]
2025-12-15 03:52:13,089 - INFO - --------------------------------------------------------------------------------
2025-12-15 03:52:13,830 - INFO - Deleted project: ctest-TestvifStats-82028712, ID : 09fde9ae-c4dd-4a20-b1fb-e5549e0bff79