2025-10-31 16:18:43,918 - INFO - Domain Default found not creating
2025-10-31 16:18:44,067 - INFO - Project ctest-TestvifStats-26947447 not found, creating it
2025-10-31 16:18:44,623 - INFO - Created Project:ctest-TestvifStats-26947447, ID : 1b17f48f-56d9-4b4d-8945-2d9aa1e5ae2d
2025-10-31 16:18:46,049 - INFO - ================================================================================
2025-10-31 16:18:46,049 - INFO - STARTING TEST : test_vif_statistics
2025-10-31 16:18:46,049 - INFO - TEST DESCRIPTION :
Description:
Verify vif statistics
Vm's across compute node
steps:
1. create 1 VN and launch 2 VMs in compute node
2. client and server VMs on same node
3. send icmp traffic assert if ping is not working
4. get_vif_stats to check vif interface
5. clear_vif_stats to clear vif interface stats
6. Repeat step4
Pass criteria:
1. If output of vif stats/clear execute successfully from compute
2025-10-31 16:18:47,341 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.22': {'10.20.0.25': '0', '10.20.0.193': '0'}} with
2025-10-31 16:18:47,341 - INFO - Initial checks done. Running the testcase now
2025-10-31 16:18:47,341 - INFO -
2025-10-31 16:18:48,025 - DEBUG - Response for create_network : {'network': {'id': '5c62e6f2-6339-4115-895e-7304637a0805', 'name': 'ctest-vn-32763294', 'tenant_id': '1b17f48f56d94b4d89452d9aa1e5ae2d', 'project_id': '1b17f48f56d94b4d89452d9aa1e5ae2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-26947447', 'ctest-vn-32763294'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 16:18:48,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '63ed9488-c19d-4709-bb24-ec8e8fdc0db5', 'name': '', 'tenant_id': '1b17f48f56d94b4d89452d9aa1e5ae2d', 'network_id': '5c62e6f2-6339-4115-895e-7304637a0805', 'ip_version': 4, 'cidr': '26.202.200.64/26', 'allocation_pools': [{'start': '26.202.200.66', 'end': '26.202.200.126'}], 'gateway_ip': '26.202.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.202.200.66', 'tags': [], 'project_id': '1b17f48f56d94b4d89452d9aa1e5ae2d'}}
2025-10-31 16:18:48,378 - INFO - Created VN ctest-vn-32763294
2025-10-31 16:18:48,401 - DEBUG - VN ctest-vn-32763294 UUID is 5c62e6f2-6339-4115-895e-7304637a0805
2025-10-31 16:18:48,477 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-31 16:18:48,784 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-31 16:18:48,813 - DEBUG - Requesting: http://10.0.0.38:8082/domain/84461aec-f8f2-4c85-873b-ef5843450b69
2025-10-31 16:18:48,832 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b17f48f-56d9-4b4d-8945-2d9aa1e5ae2d
2025-10-31 16:18:48,931 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c62e6f2-6339-4115-895e-7304637a0805
2025-10-31 16:18:48,944 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c62e6f2-6339-4115-895e-7304637a0805
2025-10-31 16:18:48,958 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e9c47610-b5b4-493c-86f8-0d69f6504bce
2025-10-31 16:18:48,966 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e9c47610-b5b4-493c-86f8-0d69f6504bce
2025-10-31 16:18:48,974 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/363c137a-5e1a-4944-9e6b-43ec050cce63
2025-10-31 16:18:48,980 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 16:18:48,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c62e6f2-6339-4115-895e-7304637a0805
2025-10-31 16:18:48,990 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e9c47610-b5b4-493c-86f8-0d69f6504bce
2025-10-31 16:18:49,007 - INFO - Verified VN network id 15 for VN 5c62e6f2-6339-4115-895e-7304637a0805
2025-10-31 16:18:49,007 - INFO - Verifications in API Server for VN ctest-vn-32763294 passed
2025-10-31 16:18:49,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c62e6f2-6339-4115-895e-7304637a0805
2025-10-31 16:18:49,018 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e9c47610-b5b4-493c-86f8-0d69f6504bce
2025-10-31 16:18:49,026 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e9c47610-b5b4-493c-86f8-0d69f6504bce
2025-10-31 16:18:49,034 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/363c137a-5e1a-4944-9e6b-43ec050cce63
2025-10-31 16:18:49,048 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-26947447', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6657137127928185109', 'uuid-lslong': '9898475493692934149'}, 'enable': 'true', 'created': '2025-10-31T16:18:47', 'last-modified': '2025-10-31T16:18:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.755088'}
2025-10-31 16:18:49,055 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 16:18:49,063 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-26947447', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6657137127928185109', 'uuid-lslong': '9898475493692934149'}, 'enable': 'true', 'created': '2025-10-31T16:18:47', 'last-modified': '2025-10-31T16:18:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.773394'}
2025-10-31 16:18:49,071 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 16:18:49,077 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-26947447', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6657137127928185109', 'uuid-lslong': '9898475493692934149'}, 'enable': 'true', 'created': '2025-10-31T16:18:47', 'last-modified': '2025-10-31T16:18:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.787305'}
2025-10-31 16:18:49,085 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 16:18:49,085 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32763294 passed
2025-10-31 16:18:49,086 - DEBUG - ====Verifying policy data for ctest-vn-32763294 in API_Server ======
2025-10-31 16:18:49,086 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-31 16:18:49,095 - DEBUG - Requesting: http://10.0.0.38:8082/domain/84461aec-f8f2-4c85-873b-ef5843450b69
2025-10-31 16:18:49,108 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b17f48f-56d9-4b4d-8945-2d9aa1e5ae2d
2025-10-31 16:18:49,216 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c62e6f2-6339-4115-895e-7304637a0805
2025-10-31 16:18:49,225 - DEBUG - =>VN ctest-vn-32763294 has no policy to be verified
2025-10-31 16:18:49,225 - DEBUG - Verifying the vn in opserver
2025-10-31 16:18:49,225 - DEBUG - Verifying the default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 virtual network link through opserver 10.0.0.38
2025-10-31 16:18:49,225 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-31 16:18:49,524 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-31 16:18:49,579 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294?flat'}
2025-10-31 16:18:49,579 - DEBUG - Verifying the default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 virtual network link through opserver 10.0.0.249
2025-10-31 16:18:49,579 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-31 16:18:49,879 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-31 16:18:49,937 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294?flat'}
2025-10-31 16:18:49,937 - DEBUG - Verifying the default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 virtual network link through opserver 10.0.0.65
2025-10-31 16:18:49,937 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-10-31 16:18:50,234 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2025-10-31 16:18:50,296 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294?flat'}
2025-10-31 16:18:50,296 - INFO - Validated that VN default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 is found in opserver
2025-10-31 16:18:50,320 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 16:18:50,331 - DEBUG - VRF ids for VN ctest-vn-32763294: {}
2025-10-31 16:18:50,367 - DEBUG - Services list from nova: [, , , ]
2025-10-31 16:18:50,367 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4577-1', 'an-jenkins-deploy-platform-ansible-os-4577-2']}
2025-10-31 16:18:50,367 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4577-1', 'an-jenkins-deploy-platform-ansible-os-4577-2']}
2025-10-31 16:18:51,487 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4577-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4577-1)
2025-10-31 16:18:51,488 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4577-1', 'an-jenkins-deploy-platform-ansible-os-4577-2']}
2025-10-31 16:18:52,849 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4577-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4577-1)
2025-10-31 16:18:52,850 - INFO - Waiting for VM ctest-TestvifStats-26947447-91746613 to be up..
2025-10-31 16:18:52,945 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-31 16:18:58,028 - DEBUG - VM is in ACTIVE state now
2025-10-31 16:18:58,029 - INFO - VM name : ctest-TestvifStats-26947447-91746613
2025-10-31 16:18:58,113 - DEBUG - VM ctest-TestvifStats-26947447-91746613 ID is 940e1b5d-3f3a-40ba-98b6-328afb3d33c6
2025-10-31 16:18:58,136 - DEBUG - VM ctest-TestvifStats-26947447-91746613 launched on Node an-jenkins-deploy-platform-ansible-os-4577-1
2025-10-31 16:18:58,213 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/940e1b5d-3f3a-40ba-98b6-328afb3d33c6
2025-10-31 16:18:58,506 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/940e1b5d-3f3a-40ba-98b6-328afb3d33c6
2025-10-31 16:18:58,538 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/6c59da44-07e2-40d5-9a3c-7ad034ae3a61
2025-10-31 16:19:01,705 - 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 1006ms')
2025-10-31 16:19:01,706 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-26947447-91746613 failed!
2025-10-31 16:19:01,723 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 is 26.202.200.65 and allocation pool is NOT set
2025-10-31 16:19:05,799 - 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-10-31 16:19:05,799 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-26947447-91746613 failed!
2025-10-31 16:19:05,814 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 is 26.202.200.65 and allocation pool is NOT set
2025-10-31 16:19:09,894 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms')
2025-10-31 16:19:09,894 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-26947447-91746613 failed!
2025-10-31 16:19:09,912 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 is 26.202.200.65 and allocation pool is NOT set
2025-10-31 16:19:13,992 - 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-10-31 16:19:13,992 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-26947447-91746613 failed!
2025-10-31 16:19:14,006 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 is 26.202.200.65 and allocation pool is NOT set
2025-10-31 16:19:18,087 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2025-10-31 16:19:18,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-26947447-91746613 failed!
2025-10-31 16:19:18,102 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 is 26.202.200.65 and allocation pool is NOT set
2025-10-31 16:19:22,189 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms')
2025-10-31 16:19:22,189 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-26947447-91746613 failed!
2025-10-31 16:19:22,204 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 is 26.202.200.65 and allocation pool is NOT set
2025-10-31 16:19:26,282 - 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-10-31 16:19:26,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-26947447-91746613 failed!
2025-10-31 16:19:26,297 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 is 26.202.200.65 and allocation pool is NOT set
2025-10-31 16:19:30,372 - 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-10-31 16:19:30,372 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-26947447-91746613 failed!
2025-10-31 16:19:30,389 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 is 26.202.200.65 and allocation pool is NOT set
2025-10-31 16:19:34,469 - 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-10-31 16:19:34,469 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-26947447-91746613 failed!
2025-10-31 16:19:34,484 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-26947447:ctest-vn-32763294 is 26.202.200.65 and allocation pool is NOT set
2025-10-31 16:19:36,556 - 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=6.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.05 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 = 4.050/5.408/6.767/1.358 ms')
2025-10-31 16:19:36,556 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-26947447-91746613 passed
2025-10-31 16:19:36,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:19:36,629 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-26947447-91746613, IP 26.202.200.67, Port 22
2025-10-31 16:19:36,694 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-31 16:19:36,771 - DEBUG - VM ctest-TestvifStats-26947447-91746613 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 16:19:41,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:19:41,772 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-26947447-91746613, IP 26.202.200.67, Port 22
2025-10-31 16:19:41,842 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-31 16:19:41,928 - DEBUG - VM ctest-TestvifStats-26947447-91746613 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 16:19:46,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:19:46,929 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-26947447-91746613, IP 26.202.200.67, Port 22
2025-10-31 16:19:46,998 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-31 16:19:47,087 - DEBUG - VM ctest-TestvifStats-26947447-91746613 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 16:19:52,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:19:52,087 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-26947447-91746613, IP 26.202.200.67, Port 22
2025-10-31 16:19:52,154 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-31 16:19:52,238 - DEBUG - VM ctest-TestvifStats-26947447-91746613 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 16:19:57,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:19:57,240 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-26947447-91746613, IP 26.202.200.67, Port 22
2025-10-31 16:19:57,406 - DEBUG - VM ctest-TestvifStats-26947447-91746613 is ready for SSH connections
2025-10-31 16:19:57,406 - INFO - Waiting for VM ctest-TestvifStats-26947447-36884397 to be up..
2025-10-31 16:19:57,491 - DEBUG - VM is in ACTIVE state now
2025-10-31 16:19:57,491 - INFO - VM name : ctest-TestvifStats-26947447-36884397
2025-10-31 16:19:57,572 - DEBUG - VM ctest-TestvifStats-26947447-36884397 ID is dfcb8d02-a88d-40cb-befb-31a876b7fe01
2025-10-31 16:19:57,572 - DEBUG - VM ctest-TestvifStats-26947447-36884397 launched on Node an-jenkins-deploy-platform-ansible-os-4577-1
2025-10-31 16:19:57,660 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/dfcb8d02-a88d-40cb-befb-31a876b7fe01
2025-10-31 16:19:57,670 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a552e024-2f44-4679-8120-8d7fbf426036
2025-10-31 16:19:58,830 - 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=3.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.46 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 = 1.460/2.372/3.284/0.912 ms')
2025-10-31 16:19:58,830 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-26947447-36884397 passed
2025-10-31 16:19:58,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:19:58,901 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-26947447-36884397, IP 26.202.200.68, Port 22
2025-10-31 16:19:59,063 - DEBUG - VM ctest-TestvifStats-26947447-36884397 is ready for SSH connections
2025-10-31 16:19:59,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 16:19:59,063 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.202.200.68, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-31 16:19:59,063 - DEBUG - ping -s 56 -c 3 -W 1 26.202.200.68
2025-10-31 16:20:21,080 - DEBUG - PING 26.202.200.68 (26.202.200.68) 56(84) bytes of data.
64 bytes from 26.202.200.68: icmp_req=1 ttl=64 time=10.7 ms
64 bytes from 26.202.200.68: icmp_req=2 ttl=64 time=2.20 ms
64 bytes from 26.202.200.68: icmp_req=3 ttl=64 time=0.738 ms
--- 26.202.200.68 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.738/4.553/10.722/4.402 ms
2025-10-31 16:20:21,081 - INFO - Ping to IP 26.202.200.68 from VM ctest-TestvifStats-26947447-91746613 passed
2025-10-31 16:20:21,081 - INFO - 10.0.0.19
2025-10-31 16:20:21,081 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-31 16:20:21,201 - INFO - 28079
2025-10-31 16:20:21,302 - INFO - TX packets:13455
2025-10-31 16:20:21,302 - INFO - 13455
2025-10-31 16:20:21,302 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-31 16:20:21,424 - INFO - 20963
2025-10-31 16:20:21,533 - INFO - TX packets:36205
2025-10-31 16:20:21,533 - INFO - 36205
2025-10-31 16:20:21,533 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-31 16:20:21,646 - INFO - 9602
2025-10-31 16:20:21,756 - INFO - TX packets:8176
2025-10-31 16:20:21,756 - INFO - 8176
2025-10-31 16:20:21,756 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-31 16:20:21,862 - INFO - 268
2025-10-31 16:20:21,967 - INFO - TX packets:332
2025-10-31 16:20:21,967 - INFO - 332
2025-10-31 16:20:21,967 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-31 16:20:22,071 - INFO - 218
2025-10-31 16:20:22,176 - INFO - TX packets:258
2025-10-31 16:20:22,176 - INFO - 258
2025-10-31 16:20:22,176 - INFO - 10.0.0.19
2025-10-31 16:20:22,278 - INFO - Vif stats cleared successfully on all cores for all interfaces
2025-10-31 16:20:22,279 - INFO - 10.0.0.19
2025-10-31 16:20:22,279 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-31 16:20:22,378 - INFO - 0
2025-10-31 16:20:22,482 - INFO - TX packets:0
2025-10-31 16:20:22,482 - INFO - 0
2025-10-31 16:20:22,482 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-31 16:20:22,585 - INFO - 0
2025-10-31 16:20:22,690 - INFO - TX packets:0
2025-10-31 16:20:22,690 - INFO - 0
2025-10-31 16:20:22,690 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-31 16:20:22,794 - INFO - 1
2025-10-31 16:20:22,898 - INFO - TX packets:1
2025-10-31 16:20:22,898 - INFO - 1
2025-10-31 16:20:22,898 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-31 16:20:23,007 - INFO - 0
2025-10-31 16:20:23,110 - INFO - TX packets:1
2025-10-31 16:20:23,110 - INFO - 1
2025-10-31 16:20:23,111 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-31 16:20:23,218 - INFO - 1
2025-10-31 16:20:23,325 - INFO - TX packets:1
2025-10-31 16:20:23,326 - INFO - 1
2025-10-31 16:20:23,326 - INFO - Deleting VM ctest-TestvifStats-26947447-36884397
2025-10-31 16:20:23,402 - INFO - Deleting VM ctest-TestvifStats-26947447-91746613
2025-10-31 16:20:23,471 - INFO - Deleting VN ctest-vn-32763294
2025-10-31 16:20:23,520 - DEBUG - VN 5c62e6f2-6339-4115-895e-7304637a0805 still in use: Unable to complete operation on network 5c62e6f2-6339-4115-895e-7304637a0805. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2f564e90-09d3-47d2-8393-bb5f5abd1cff']
2025-10-31 16:20:23,520 - WARNING - Deleting VN ctest-vn-32763294 failed..Will retry
2025-10-31 16:20:25,713 - DEBUG - Response for deleting network ()
2025-10-31 16:20:25,713 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e9c47610-b5b4-493c-86f8-0d69f6504bce
2025-10-31 16:20:25,718 - DEBUG - Response Code: 404
2025-10-31 16:20:25,718 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-31 16:20:25,731 - DEBUG - Requesting: http://10.0.0.38:8082/domain/84461aec-f8f2-4c85-873b-ef5843450b69
2025-10-31 16:20:25,795 - DEBUG - Requesting: http://10.0.0.38:8082/project/1b17f48f-56d9-4b4d-8945-2d9aa1e5ae2d
2025-10-31 16:20:25,881 - INFO - Validated that VN ctest-vn-32763294 is not found in API Server
2025-10-31 16:20:25,894 - DEBUG - VN ctest-vn-32763294 is not present in Agent 10.0.0.19
2025-10-31 16:20:25,905 - DEBUG - VN ctest-vn-32763294 is not present in Agent 10.0.0.22
2025-10-31 16:20:25,905 - INFO - Validated that VN ctest-vn-32763294 is not in any agent
2025-10-31 16:20:25,938 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32763294 info
2025-10-31 16:20:27,231 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 16:20:27,231 - INFO - END TEST : test_vif_statistics : PASSED[0:01:41]
2025-10-31 16:20:27,231 - INFO - --------------------------------------------------------------------------------
2025-10-31 16:20:27,991 - INFO - Deleted project: ctest-TestvifStats-26947447, ID : 1b17f48f-56d9-4b4d-8945-2d9aa1e5ae2d