2025-08-11 17:32:41,875 - INFO - Domain Default found not creating
2025-08-11 17:32:41,995 - INFO - Project ctest-TestvifStats-48248599 not found, creating it
2025-08-11 17:32:42,469 - INFO - Created Project:ctest-TestvifStats-48248599, ID : b20899a3-ad4e-4bdb-958a-b5c620465980
2025-08-11 17:32:43,966 - INFO - ================================================================================
2025-08-11 17:32:43,967 - INFO - STARTING TEST : test_vif_statistics
2025-08-11 17:32:43,967 - 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-11 17:32:45,227 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0', '10.20.0.193': '0'}, '10.0.0.249': {'10.20.0.193': '0', '10.20.0.192': '0'}} with
2025-08-11 17:32:45,227 - INFO - Initial checks done. Running the testcase now
2025-08-11 17:32:45,227 - INFO -
2025-08-11 17:32:45,851 - DEBUG - Response for create_network : {'network': {'id': 'ccea949b-2838-4996-9fc9-6e551b61f5b0', 'name': 'ctest-vn-54752530', 'tenant_id': 'b20899a3ad4e4bdb958ab5c620465980', 'project_id': 'b20899a3ad4e4bdb958ab5c620465980', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-48248599', 'ctest-vn-54752530'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 17:32:46,102 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed446836-c9d6-4e2e-8360-b4625879c228', 'name': '', 'tenant_id': 'b20899a3ad4e4bdb958ab5c620465980', 'network_id': 'ccea949b-2838-4996-9fc9-6e551b61f5b0', 'ip_version': 4, 'cidr': '145.16.97.192/26', 'allocation_pools': [{'start': '145.16.97.194', 'end': '145.16.97.254'}], 'gateway_ip': '145.16.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.16.97.194', 'tags': [], 'project_id': 'b20899a3ad4e4bdb958ab5c620465980'}}
2025-08-11 17:32:46,125 - INFO - Created VN ctest-vn-54752530
2025-08-11 17:32:46,142 - DEBUG - VN ctest-vn-54752530 UUID is ccea949b-2838-4996-9fc9-6e551b61f5b0
2025-08-11 17:32:46,201 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-08-11 17:32:46,492 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-08-11 17:32:46,517 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4bc87c47-8b22-47dc-8747-cffafaf5f39a
2025-08-11 17:32:46,532 - DEBUG - Requesting: http://10.0.0.27:8082/project/b20899a3-ad4e-4bdb-958a-b5c620465980
2025-08-11 17:32:46,622 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ccea949b-2838-4996-9fc9-6e551b61f5b0
2025-08-11 17:32:46,633 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ccea949b-2838-4996-9fc9-6e551b61f5b0
2025-08-11 17:32:46,642 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0537e7a-cfeb-4fea-9cfb-7a8d7b0e521f
2025-08-11 17:32:46,649 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0537e7a-cfeb-4fea-9cfb-7a8d7b0e521f
2025-08-11 17:32:46,655 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/abed087b-c07d-4153-8727-a329020a126b
2025-08-11 17:32:46,662 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-11 17:32:46,662 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ccea949b-2838-4996-9fc9-6e551b61f5b0
2025-08-11 17:32:46,670 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0537e7a-cfeb-4fea-9cfb-7a8d7b0e521f
2025-08-11 17:32:46,684 - INFO - Verified VN network id 12 for VN ccea949b-2838-4996-9fc9-6e551b61f5b0
2025-08-11 17:32:46,684 - INFO - Verifications in API Server for VN ctest-vn-54752530 passed
2025-08-11 17:32:46,685 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ccea949b-2838-4996-9fc9-6e551b61f5b0
2025-08-11 17:32:46,693 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0537e7a-cfeb-4fea-9cfb-7a8d7b0e521f
2025-08-11 17:32:46,699 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0537e7a-cfeb-4fea-9cfb-7a8d7b0e521f
2025-08-11 17:32:46,706 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/abed087b-c07d-4153-8727-a329020a126b
2025-08-11 17:32:46,719 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-48248599', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14765777722403211670', 'uuid-lslong': '11513855234160063920'}, 'enable': 'true', 'created': '2025-08-11T17:32:45', 'last-modified': '2025-08-11T17:32:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.659171'}
2025-08-11 17:32:46,725 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-11 17:32:46,731 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-48248599', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14765777722403211670', 'uuid-lslong': '11513855234160063920'}, 'enable': 'true', 'created': '2025-08-11T17:32:45', 'last-modified': '2025-08-11T17:32:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.665588'}
2025-08-11 17:32:46,737 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-11 17:32:46,742 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-48248599', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14765777722403211670', 'uuid-lslong': '11513855234160063920'}, 'enable': 'true', 'created': '2025-08-11T17:32:45', 'last-modified': '2025-08-11T17:32:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.687497'}
2025-08-11 17:32:46,749 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-11 17:32:46,749 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54752530 passed
2025-08-11 17:32:46,749 - DEBUG - ====Verifying policy data for ctest-vn-54752530 in API_Server ======
2025-08-11 17:32:46,749 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-08-11 17:32:46,754 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4bc87c47-8b22-47dc-8747-cffafaf5f39a
2025-08-11 17:32:46,765 - DEBUG - Requesting: http://10.0.0.27:8082/project/b20899a3-ad4e-4bdb-958a-b5c620465980
2025-08-11 17:32:46,863 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ccea949b-2838-4996-9fc9-6e551b61f5b0
2025-08-11 17:32:46,874 - DEBUG - =>VN ctest-vn-54752530 has no policy to be verified
2025-08-11 17:32:46,874 - DEBUG - Verifying the vn in opserver
2025-08-11 17:32:46,874 - DEBUG - Verifying the default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 virtual network link through opserver 10.0.0.27
2025-08-11 17:32:46,874 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-08-11 17:32:47,163 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-08-11 17:32:47,213 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530?flat'}
2025-08-11 17:32:47,213 - DEBUG - Verifying the default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 virtual network link through opserver 10.0.0.23
2025-08-11 17:32:47,213 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-08-11 17:32:47,500 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-08-11 17:32:47,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530?flat'}
2025-08-11 17:32:47,551 - DEBUG - Verifying the default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 virtual network link through opserver 10.0.0.19
2025-08-11 17:32:47,551 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-08-11 17:32:47,845 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-08-11 17:32:47,897 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530?flat'}
2025-08-11 17:32:47,897 - INFO - Validated that VN default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 is found in opserver
2025-08-11 17:32:47,919 - DEBUG - Do not have enough data to verify VN in agent
2025-08-11 17:32:47,930 - DEBUG - VRF ids for VN ctest-vn-54752530: {}
2025-08-11 17:32:47,952 - DEBUG - Services list from nova: [, , , ]
2025-08-11 17:32:47,952 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3816-2', 'an-jenkins-deploy-platform-ansible-os-3816-1']}
2025-08-11 17:32:47,952 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3816-2', 'an-jenkins-deploy-platform-ansible-os-3816-1']}
2025-08-11 17:32:48,949 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3816-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3816-2)
2025-08-11 17:32:48,950 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3816-2', 'an-jenkins-deploy-platform-ansible-os-3816-1']}
2025-08-11 17:32:50,329 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3816-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3816-2)
2025-08-11 17:32:50,329 - INFO - Waiting for VM ctest-TestvifStats-48248599-93974860 to be up..
2025-08-11 17:32:50,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 17:32:55,500 - DEBUG - VM is in ACTIVE state now
2025-08-11 17:32:55,500 - INFO - VM name : ctest-TestvifStats-48248599-93974860
2025-08-11 17:32:55,568 - DEBUG - VM ctest-TestvifStats-48248599-93974860 ID is 075a7b2c-426f-4797-adb1-d176148c42a4
2025-08-11 17:32:55,591 - DEBUG - VM ctest-TestvifStats-48248599-93974860 launched on Node an-jenkins-deploy-platform-ansible-os-3816-2
2025-08-11 17:32:55,657 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/075a7b2c-426f-4797-adb1-d176148c42a4
2025-08-11 17:32:55,948 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/075a7b2c-426f-4797-adb1-d176148c42a4
2025-08-11 17:32:55,977 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/8f5ec7ef-6940-4f7c-acd3-15188d5227df
2025-08-11 17:32:59,191 - 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-11 17:32:59,191 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48248599-93974860 failed!
2025-08-11 17:32:59,206 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 is 145.16.97.193 and allocation pool is NOT set
2025-08-11 17:33:03,281 - 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-11 17:33:03,281 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48248599-93974860 failed!
2025-08-11 17:33:03,294 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 is 145.16.97.193 and allocation pool is NOT set
2025-08-11 17:33:07,385 - 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 1028ms')
2025-08-11 17:33:07,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48248599-93974860 failed!
2025-08-11 17:33:07,399 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 is 145.16.97.193 and allocation pool is NOT set
2025-08-11 17:33:11,481 - 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-08-11 17:33:11,481 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48248599-93974860 failed!
2025-08-11 17:33:11,495 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 is 145.16.97.193 and allocation pool is NOT set
2025-08-11 17:33:15,574 - 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-08-11 17:33:15,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48248599-93974860 failed!
2025-08-11 17:33:15,589 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 is 145.16.97.193 and allocation pool is NOT set
2025-08-11 17:33:19,669 - 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-08-11 17:33:19,669 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48248599-93974860 failed!
2025-08-11 17:33:19,683 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 is 145.16.97.193 and allocation pool is NOT set
2025-08-11 17:33:23,765 - 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-11 17:33:23,765 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48248599-93974860 failed!
2025-08-11 17:33:23,778 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 is 145.16.97.193 and allocation pool is NOT set
2025-08-11 17:33:27,862 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms')
2025-08-11 17:33:27,862 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48248599-93974860 failed!
2025-08-11 17:33:27,876 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 is 145.16.97.193 and allocation pool is NOT set
2025-08-11 17:33:31,960 - 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-08-11 17:33:31,961 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48248599-93974860 failed!
2025-08-11 17:33:31,975 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-48248599:ctest-vn-54752530 is 145.16.97.193 and allocation pool is NOT set
2025-08-11 17:33:34,045 - 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=7.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.66 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 = 3.657/5.599/7.541/1.942 ms')
2025-08-11 17:33:34,045 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-48248599-93974860 passed
2025-08-11 17:33:34,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:33:34,154 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48248599-93974860, IP 145.16.97.195, Port 22
2025-08-11 17:33:34,210 - 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-11 17:33:34,298 - DEBUG - VM ctest-TestvifStats-48248599-93974860 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 17:33:39,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:33:39,299 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48248599-93974860, IP 145.16.97.195, Port 22
2025-08-11 17:33:39,364 - 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-11 17:33:39,435 - DEBUG - VM ctest-TestvifStats-48248599-93974860 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 17:33:44,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:33:44,436 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48248599-93974860, IP 145.16.97.195, Port 22
2025-08-11 17:33:44,500 - 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-11 17:33:44,591 - DEBUG - VM ctest-TestvifStats-48248599-93974860 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 17:33:49,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:33:49,592 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48248599-93974860, IP 145.16.97.195, Port 22
2025-08-11 17:33:49,656 - 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-11 17:33:49,730 - DEBUG - VM ctest-TestvifStats-48248599-93974860 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 17:33:54,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:33:54,731 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48248599-93974860, IP 145.16.97.195, Port 22
2025-08-11 17:33:54,796 - 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-11 17:33:54,868 - DEBUG - VM ctest-TestvifStats-48248599-93974860 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 17:33:59,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:33:59,869 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48248599-93974860, IP 145.16.97.195, Port 22
2025-08-11 17:34:00,026 - DEBUG - VM ctest-TestvifStats-48248599-93974860 is ready for SSH connections
2025-08-11 17:34:00,026 - INFO - Waiting for VM ctest-TestvifStats-48248599-50797519 to be up..
2025-08-11 17:34:00,093 - DEBUG - VM is in ACTIVE state now
2025-08-11 17:34:00,093 - INFO - VM name : ctest-TestvifStats-48248599-50797519
2025-08-11 17:34:00,158 - DEBUG - VM ctest-TestvifStats-48248599-50797519 ID is b430ab47-8116-42b4-95e6-13e5211def68
2025-08-11 17:34:00,158 - DEBUG - VM ctest-TestvifStats-48248599-50797519 launched on Node an-jenkins-deploy-platform-ansible-os-3816-2
2025-08-11 17:34:00,223 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b430ab47-8116-42b4-95e6-13e5211def68
2025-08-11 17:34:00,232 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/604c23a9-7336-4935-86e0-912bf7e8cccf
2025-08-11 17:34:01,427 - 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=7.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.62 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 = 3.621/5.617/7.613/1.996 ms')
2025-08-11 17:34:01,427 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-48248599-50797519 passed
2025-08-11 17:34:01,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:34:01,540 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-48248599-50797519, IP 145.16.97.196, Port 22
2025-08-11 17:34:01,706 - DEBUG - VM ctest-TestvifStats-48248599-50797519 is ready for SSH connections
2025-08-11 17:34:01,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:34:01,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.16.97.196, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-11 17:34:01,707 - DEBUG - ping -s 56 -c 3 -W 1 145.16.97.196
2025-08-11 17:34:21,077 - DEBUG - PING 145.16.97.196 (145.16.97.196) 56(84) bytes of data.
64 bytes from 145.16.97.196: icmp_req=1 ttl=64 time=9.35 ms
64 bytes from 145.16.97.196: icmp_req=2 ttl=64 time=2.01 ms
64 bytes from 145.16.97.196: icmp_req=3 ttl=64 time=0.671 ms
--- 145.16.97.196 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.671/4.014/9.356/3.817 ms
2025-08-11 17:34:21,077 - INFO - Ping to IP 145.16.97.196 from VM ctest-TestvifStats-48248599-93974860 passed
2025-08-11 17:34:21,077 - INFO - 10.0.0.249
2025-08-11 17:34:21,078 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-11 17:34:21,176 - INFO - 13595
2025-08-11 17:34:21,289 - INFO - TX packets:13482
2025-08-11 17:34:21,289 - INFO - 13482
2025-08-11 17:34:21,289 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-11 17:34:21,392 - INFO - 21568
2025-08-11 17:34:21,496 - INFO - TX packets:22288
2025-08-11 17:34:21,496 - INFO - 22288
2025-08-11 17:34:21,497 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-11 17:34:21,601 - INFO - 9224
2025-08-11 17:34:21,705 - INFO - TX packets:7958
2025-08-11 17:34:21,705 - INFO - 7958
2025-08-11 17:34:21,705 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-11 17:34:21,809 - INFO - 313
2025-08-11 17:34:21,916 - INFO - TX packets:363
2025-08-11 17:34:21,916 - INFO - 363
2025-08-11 17:34:21,916 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-11 17:34:22,021 - INFO - 221
2025-08-11 17:34:22,125 - INFO - TX packets:259
2025-08-11 17:34:22,125 - INFO - 259
2025-08-11 17:34:22,125 - INFO - 10.0.0.249
2025-08-11 17:34:22,232 - INFO - Vif stats cleared successfully on all cores for all interfaces
2025-08-11 17:34:22,232 - INFO - 10.0.0.249
2025-08-11 17:34:22,232 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-11 17:34:22,332 - INFO - 0
2025-08-11 17:34:22,436 - INFO - TX packets:0
2025-08-11 17:34:22,437 - INFO - 0
2025-08-11 17:34:22,437 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-11 17:34:22,554 - INFO - 0
2025-08-11 17:34:22,660 - INFO - TX packets:0
2025-08-11 17:34:22,660 - INFO - 0
2025-08-11 17:34:22,660 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-11 17:34:22,768 - INFO - 1
2025-08-11 17:34:22,872 - INFO - TX packets:1
2025-08-11 17:34:22,872 - INFO - 1
2025-08-11 17:34:22,872 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-11 17:34:22,977 - INFO - 1
2025-08-11 17:34:23,080 - INFO - TX packets:1
2025-08-11 17:34:23,081 - INFO - 1
2025-08-11 17:34:23,081 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-11 17:34:23,184 - INFO - 0
2025-08-11 17:34:23,288 - INFO - TX packets:0
2025-08-11 17:34:23,288 - INFO - 0
2025-08-11 17:34:23,288 - INFO - Deleting VM ctest-TestvifStats-48248599-50797519
2025-08-11 17:34:23,344 - INFO - Deleting VM ctest-TestvifStats-48248599-93974860
2025-08-11 17:34:23,402 - INFO - Deleting VN ctest-vn-54752530
2025-08-11 17:34:23,437 - DEBUG - VN ccea949b-2838-4996-9fc9-6e551b61f5b0 still in use: Unable to complete operation on network ccea949b-2838-4996-9fc9-6e551b61f5b0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a27cbd68-21bb-4eac-a8a4-69edd7d20faa']
2025-08-11 17:34:23,437 - WARNING - Deleting VN ctest-vn-54752530 failed..Will retry
2025-08-11 17:34:25,661 - DEBUG - Response for deleting network ()
2025-08-11 17:34:25,662 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e0537e7a-cfeb-4fea-9cfb-7a8d7b0e521f
2025-08-11 17:34:25,667 - DEBUG - Response Code: 404
2025-08-11 17:34:25,667 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-08-11 17:34:25,672 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4bc87c47-8b22-47dc-8747-cffafaf5f39a
2025-08-11 17:34:25,687 - DEBUG - Requesting: http://10.0.0.27:8082/project/b20899a3-ad4e-4bdb-958a-b5c620465980
2025-08-11 17:34:25,770 - INFO - Validated that VN ctest-vn-54752530 is not found in API Server
2025-08-11 17:34:25,782 - DEBUG - VN ctest-vn-54752530 is not present in Agent 10.0.0.141
2025-08-11 17:34:25,792 - DEBUG - VN ctest-vn-54752530 is not present in Agent 10.0.0.249
2025-08-11 17:34:25,792 - INFO - Validated that VN ctest-vn-54752530 is not in any agent
2025-08-11 17:34:25,823 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54752530 info
2025-08-11 17:34:27,100 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 17:34:27,100 - INFO - END TEST : test_vif_statistics : PASSED[0:01:44]
2025-08-11 17:34:27,100 - INFO - --------------------------------------------------------------------------------
2025-08-11 17:34:27,803 - INFO - Deleted project: ctest-TestvifStats-48248599, ID : b20899a3-ad4e-4bdb-958a-b5c620465980