2025-11-24 03:35:20,015 - INFO - Domain Default found not creating
2025-11-24 03:35:20,543 - INFO - Project ctest-TestvifStats-85094554 not found, creating it
2025-11-24 03:35:21,117 - INFO - Created Project:ctest-TestvifStats-85094554, ID : af182450-9b4f-461d-95d7-79755899739e
2025-11-24 03:35:22,751 - INFO - ================================================================================
2025-11-24 03:35:22,752 - INFO - STARTING TEST : test_vif_statistics
2025-11-24 03:35:22,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-11-24 03:35:24,030 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.56': {'10.20.0.193': '0', '10.20.0.25': '0'}} with
2025-11-24 03:35:24,030 - INFO - Initial checks done. Running the testcase now
2025-11-24 03:35:24,030 - INFO -
2025-11-24 03:35:24,718 - DEBUG - Response for create_network : {'network': {'id': 'c850c2ab-75b2-4c6b-848c-14838acb6807', 'name': 'ctest-vn-26821053', 'tenant_id': 'af1824509b4f461d95d779755899739e', 'project_id': 'af1824509b4f461d95d779755899739e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-85094554', 'ctest-vn-26821053'], 'port_security_enabled': True, 'description': ''}}
2025-11-24 03:35:25,040 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f20fd33-ce46-4320-9569-7c63d43d082d', 'name': '', 'tenant_id': 'af1824509b4f461d95d779755899739e', 'network_id': 'c850c2ab-75b2-4c6b-848c-14838acb6807', 'ip_version': 4, 'cidr': '3.12.54.128/26', 'allocation_pools': [{'start': '3.12.54.130', 'end': '3.12.54.190'}], 'gateway_ip': '3.12.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.12.54.130', 'tags': [], 'project_id': 'af1824509b4f461d95d779755899739e'}}
2025-11-24 03:35:25,066 - INFO - Created VN ctest-vn-26821053
2025-11-24 03:35:25,083 - DEBUG - VN ctest-vn-26821053 UUID is c850c2ab-75b2-4c6b-848c-14838acb6807
2025-11-24 03:35:25,174 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-11-24 03:35:25,475 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-11-24 03:35:25,512 - DEBUG - Requesting: http://10.0.0.41:8082/domain/9a9efa54-edd3-449b-89f6-47a8074a2fba
2025-11-24 03:35:25,532 - DEBUG - Requesting: http://10.0.0.41:8082/project/af182450-9b4f-461d-95d7-79755899739e
2025-11-24 03:35:25,650 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c850c2ab-75b2-4c6b-848c-14838acb6807
2025-11-24 03:35:25,668 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c850c2ab-75b2-4c6b-848c-14838acb6807
2025-11-24 03:35:25,680 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ab868a20-31be-463f-a7a5-253147eaa437
2025-11-24 03:35:25,689 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ab868a20-31be-463f-a7a5-253147eaa437
2025-11-24 03:35:25,698 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/079a2ae7-9eb3-426e-a9a4-beca58b8c60f
2025-11-24 03:35:25,705 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-24 03:35:25,705 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c850c2ab-75b2-4c6b-848c-14838acb6807
2025-11-24 03:35:25,723 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ab868a20-31be-463f-a7a5-253147eaa437
2025-11-24 03:35:25,741 - INFO - Verified VN network id 11 for VN c850c2ab-75b2-4c6b-848c-14838acb6807
2025-11-24 03:35:25,742 - INFO - Verifications in API Server for VN ctest-vn-26821053 passed
2025-11-24 03:35:25,742 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c850c2ab-75b2-4c6b-848c-14838acb6807
2025-11-24 03:35:25,752 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ab868a20-31be-463f-a7a5-253147eaa437
2025-11-24 03:35:25,760 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ab868a20-31be-463f-a7a5-253147eaa437
2025-11-24 03:35:25,767 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/079a2ae7-9eb3-426e-a9a4-beca58b8c60f
2025-11-24 03:35:25,780 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-85094554', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14434250847392255083', 'uuid-lslong': '9551031464947836935'}, 'enable': 'true', 'created': '2025-11-24T03:35:24', 'last-modified': '2025-11-24T03:35:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.838788'}
2025-11-24 03:35:25,787 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-24 03:35:25,793 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-85094554', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14434250847392255083', 'uuid-lslong': '9551031464947836935'}, 'enable': 'true', 'created': '2025-11-24T03:35:24', 'last-modified': '2025-11-24T03:35:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.851587'}
2025-11-24 03:35:25,798 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-24 03:35:25,805 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-85094554', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14434250847392255083', 'uuid-lslong': '9551031464947836935'}, 'enable': 'true', 'created': '2025-11-24T03:35:24', 'last-modified': '2025-11-24T03:35:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.860589'}
2025-11-24 03:35:25,815 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-24 03:35:25,815 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26821053 passed
2025-11-24 03:35:25,815 - DEBUG - ====Verifying policy data for ctest-vn-26821053 in API_Server ======
2025-11-24 03:35:25,816 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-11-24 03:35:25,823 - DEBUG - Requesting: http://10.0.0.41:8082/domain/9a9efa54-edd3-449b-89f6-47a8074a2fba
2025-11-24 03:35:25,836 - DEBUG - Requesting: http://10.0.0.41:8082/project/af182450-9b4f-461d-95d7-79755899739e
2025-11-24 03:35:25,935 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c850c2ab-75b2-4c6b-848c-14838acb6807
2025-11-24 03:35:25,948 - DEBUG - =>VN ctest-vn-26821053 has no policy to be verified
2025-11-24 03:35:25,948 - DEBUG - Verifying the vn in opserver
2025-11-24 03:35:25,949 - DEBUG - Verifying the default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 virtual network link through opserver 10.0.0.41
2025-11-24 03:35:25,949 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-11-24 03:35:26,254 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-11-24 03:35:26,327 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053?flat'}
2025-11-24 03:35:26,327 - DEBUG - Verifying the default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 virtual network link through opserver 10.0.0.50
2025-11-24 03:35:26,327 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-11-24 03:35:26,637 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-11-24 03:35:26,709 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053?flat'}
2025-11-24 03:35:26,709 - DEBUG - Verifying the default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 virtual network link through opserver 10.0.0.27
2025-11-24 03:35:26,710 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-11-24 03:35:27,005 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-11-24 03:35:27,074 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053?flat'}
2025-11-24 03:35:27,074 - INFO - Validated that VN default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 is found in opserver
2025-11-24 03:35:27,096 - DEBUG - Do not have enough data to verify VN in agent
2025-11-24 03:35:27,107 - DEBUG - VRF ids for VN ctest-vn-26821053: {}
2025-11-24 03:35:27,136 - DEBUG - Services list from nova: [, , , ]
2025-11-24 03:35:27,136 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4803-2', 'an-jenkins-deploy-platform-ansible-os-4803-1']}
2025-11-24 03:35:27,136 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4803-2', 'an-jenkins-deploy-platform-ansible-os-4803-1']}
2025-11-24 03:35:28,581 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4803-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4803-2)
2025-11-24 03:35:28,582 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4803-2', 'an-jenkins-deploy-platform-ansible-os-4803-1']}
2025-11-24 03:35:30,080 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4803-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4803-2)
2025-11-24 03:35:30,080 - INFO - Waiting for VM ctest-TestvifStats-85094554-62972409 to be up..
2025-11-24 03:35:30,198 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-24 03:35:35,284 - DEBUG - VM is in ACTIVE state now
2025-11-24 03:35:35,284 - INFO - VM name : ctest-TestvifStats-85094554-62972409
2025-11-24 03:35:35,374 - DEBUG - VM ctest-TestvifStats-85094554-62972409 ID is c5ea5d53-2eb9-47d5-af4a-e7db58cdd540
2025-11-24 03:35:35,400 - DEBUG - VM ctest-TestvifStats-85094554-62972409 launched on Node an-jenkins-deploy-platform-ansible-os-4803-2
2025-11-24 03:35:35,481 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c5ea5d53-2eb9-47d5-af4a-e7db58cdd540
2025-11-24 03:35:35,775 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c5ea5d53-2eb9-47d5-af4a-e7db58cdd540
2025-11-24 03:35:35,812 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9da4fb72-feff-4cea-aeb7-9c82c34bbbd6
2025-11-24 03:35:38,986 - 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-11-24 03:35:38,986 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-85094554-62972409 failed!
2025-11-24 03:35:39,002 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 is 3.12.54.129 and allocation pool is NOT set
2025-11-24 03:35:43,075 - 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-11-24 03:35:43,075 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-85094554-62972409 failed!
2025-11-24 03:35:43,093 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 is 3.12.54.129 and allocation pool is NOT set
2025-11-24 03:35:47,181 - 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 1023ms')
2025-11-24 03:35:47,181 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-85094554-62972409 failed!
2025-11-24 03:35:47,196 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 is 3.12.54.129 and allocation pool is NOT set
2025-11-24 03:35:51,268 - 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-11-24 03:35:51,268 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-85094554-62972409 failed!
2025-11-24 03:35:51,286 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 is 3.12.54.129 and allocation pool is NOT set
2025-11-24 03:35:55,370 - 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 1023ms')
2025-11-24 03:35:55,370 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-85094554-62972409 failed!
2025-11-24 03:35:55,386 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 is 3.12.54.129 and allocation pool is NOT set
2025-11-24 03:35:59,468 - 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-11-24 03:35:59,468 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-85094554-62972409 failed!
2025-11-24 03:35:59,482 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 is 3.12.54.129 and allocation pool is NOT set
2025-11-24 03:36:03,562 - 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-11-24 03:36:03,562 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-85094554-62972409 failed!
2025-11-24 03:36:03,579 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 is 3.12.54.129 and allocation pool is NOT set
2025-11-24 03:36:07,661 - 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-11-24 03:36:07,661 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-85094554-62972409 failed!
2025-11-24 03:36:07,678 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 is 3.12.54.129 and allocation pool is NOT set
2025-11-24 03:36:11,747 - 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-11-24 03:36:11,747 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-85094554-62972409 failed!
2025-11-24 03:36:11,766 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 is 3.12.54.129 and allocation pool is NOT set
2025-11-24 03:36:15,844 - 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-11-24 03:36:15,844 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-85094554-62972409 failed!
2025-11-24 03:36:15,866 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-85094554:ctest-vn-26821053 is 3.12.54.129 and allocation pool is NOT set
2025-11-24 03:36:19,946 - 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=2 ttl=63 time=7.27 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 7.268/7.268/7.268/0.000 ms')
2025-11-24 03:36:19,946 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-85094554-62972409 passed
2025-11-24 03:36:20,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 03:36:20,019 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-85094554-62972409, IP 3.12.54.131, Port 22
2025-11-24 03:36:20,088 - 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-11-24 03:36:20,186 - DEBUG - VM ctest-TestvifStats-85094554-62972409 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-24 03:36:25,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 03:36:25,187 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-85094554-62972409, IP 3.12.54.131, Port 22
2025-11-24 03:36:25,252 - 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-11-24 03:36:25,342 - DEBUG - VM ctest-TestvifStats-85094554-62972409 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-24 03:36:30,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 03:36:30,343 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-85094554-62972409, IP 3.12.54.131, Port 22
2025-11-24 03:36:30,412 - 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-11-24 03:36:30,508 - DEBUG - VM ctest-TestvifStats-85094554-62972409 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-24 03:36:35,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 03:36:35,509 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-85094554-62972409, IP 3.12.54.131, Port 22
2025-11-24 03:36:35,576 - 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-11-24 03:36:35,682 - DEBUG - VM ctest-TestvifStats-85094554-62972409 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-24 03:36:40,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 03:36:40,683 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-85094554-62972409, IP 3.12.54.131, Port 22
2025-11-24 03:36:40,753 - 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-11-24 03:36:40,848 - DEBUG - VM ctest-TestvifStats-85094554-62972409 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-24 03:36:45,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 03:36:45,849 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-85094554-62972409, IP 3.12.54.131, Port 22
2025-11-24 03:36:46,022 - DEBUG - VM ctest-TestvifStats-85094554-62972409 is ready for SSH connections
2025-11-24 03:36:46,022 - INFO - Waiting for VM ctest-TestvifStats-85094554-52143416 to be up..
2025-11-24 03:36:46,118 - DEBUG - VM is in ACTIVE state now
2025-11-24 03:36:46,118 - INFO - VM name : ctest-TestvifStats-85094554-52143416
2025-11-24 03:36:46,198 - DEBUG - VM ctest-TestvifStats-85094554-52143416 ID is d40a5cbe-0a89-4312-b11a-765a5201ffba
2025-11-24 03:36:46,199 - DEBUG - VM ctest-TestvifStats-85094554-52143416 launched on Node an-jenkins-deploy-platform-ansible-os-4803-2
2025-11-24 03:36:46,285 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d40a5cbe-0a89-4312-b11a-765a5201ffba
2025-11-24 03:36:46,298 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f022c9da-d2ca-4096-aa16-5001f37b26af
2025-11-24 03:36:47,464 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.63 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 = 2.625/3.040/3.456/0.415 ms')
2025-11-24 03:36:47,464 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-85094554-52143416 passed
2025-11-24 03:36:47,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 03:36:47,536 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-85094554-52143416, IP 3.12.54.132, Port 22
2025-11-24 03:36:47,707 - DEBUG - VM ctest-TestvifStats-85094554-52143416 is ready for SSH connections
2025-11-24 03:36:47,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 03:36:47,707 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.12.54.132, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.56, gateway password: c0ntrail123
2025-11-24 03:36:47,707 - DEBUG - ping -s 56 -c 3 -W 1 3.12.54.132
2025-11-24 03:37:11,011 - DEBUG - PING 3.12.54.132 (3.12.54.132) 56(84) bytes of data.
64 bytes from 3.12.54.132: icmp_req=1 ttl=64 time=12.8 ms
64 bytes from 3.12.54.132: icmp_req=2 ttl=64 time=1.25 ms
64 bytes from 3.12.54.132: icmp_req=3 ttl=64 time=5.45 ms
--- 3.12.54.132 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.254/6.516/12.837/4.788 ms
2025-11-24 03:37:11,011 - INFO - Ping to IP 3.12.54.132 from VM ctest-TestvifStats-85094554-62972409 passed
2025-11-24 03:37:11,011 - INFO - 10.0.0.56
2025-11-24 03:37:11,011 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-24 03:37:11,137 - INFO - 13721
2025-11-24 03:37:11,248 - INFO - TX packets:13924
2025-11-24 03:37:11,248 - INFO - 13924
2025-11-24 03:37:11,249 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-24 03:37:11,362 - INFO - 21751
2025-11-24 03:37:11,475 - INFO - TX packets:22200
2025-11-24 03:37:11,475 - INFO - 22200
2025-11-24 03:37:11,475 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-24 03:37:11,590 - INFO - 9729
2025-11-24 03:37:11,696 - INFO - TX packets:8316
2025-11-24 03:37:11,696 - INFO - 8316
2025-11-24 03:37:11,696 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-24 03:37:11,811 - INFO - 266
2025-11-24 03:37:11,913 - INFO - TX packets:327
2025-11-24 03:37:11,913 - INFO - 327
2025-11-24 03:37:11,913 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-24 03:37:12,020 - INFO - 225
2025-11-24 03:37:12,128 - INFO - TX packets:260
2025-11-24 03:37:12,129 - INFO - 260
2025-11-24 03:37:12,129 - INFO - 10.0.0.56
2025-11-24 03:37:12,236 - INFO - Vif stats cleared successfully on all cores for all interfaces
2025-11-24 03:37:12,237 - INFO - 10.0.0.56
2025-11-24 03:37:12,237 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-24 03:37:12,339 - INFO - 0
2025-11-24 03:37:12,449 - INFO - TX packets:0
2025-11-24 03:37:12,449 - INFO - 0
2025-11-24 03:37:12,449 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-24 03:37:12,556 - INFO - 0
2025-11-24 03:37:12,664 - INFO - TX packets:0
2025-11-24 03:37:12,664 - INFO - 0
2025-11-24 03:37:12,664 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-24 03:37:12,783 - INFO - 1
2025-11-24 03:37:12,895 - INFO - TX packets:1
2025-11-24 03:37:12,895 - INFO - 1
2025-11-24 03:37:12,895 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-24 03:37:12,991 - INFO - 1
2025-11-24 03:37:13,100 - INFO - TX packets:1
2025-11-24 03:37:13,100 - INFO - 1
2025-11-24 03:37:13,100 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-24 03:37:13,208 - INFO - 0
2025-11-24 03:37:13,316 - INFO - TX packets:0
2025-11-24 03:37:13,316 - INFO - 0
2025-11-24 03:37:13,317 - INFO - Deleting VM ctest-TestvifStats-85094554-52143416
2025-11-24 03:37:13,392 - INFO - Deleting VM ctest-TestvifStats-85094554-62972409
2025-11-24 03:37:13,472 - INFO - Deleting VN ctest-vn-26821053
2025-11-24 03:37:13,548 - DEBUG - VN c850c2ab-75b2-4c6b-848c-14838acb6807 still in use: Unable to complete operation on network c850c2ab-75b2-4c6b-848c-14838acb6807. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b56e399c-7ca4-461e-a688-8f2defc6d4ec']
2025-11-24 03:37:13,548 - WARNING - Deleting VN ctest-vn-26821053 failed..Will retry
2025-11-24 03:37:15,724 - DEBUG - Response for deleting network ()
2025-11-24 03:37:15,724 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/ab868a20-31be-463f-a7a5-253147eaa437
2025-11-24 03:37:15,735 - DEBUG - Response Code: 404
2025-11-24 03:37:15,735 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-11-24 03:37:15,744 - DEBUG - Requesting: http://10.0.0.41:8082/domain/9a9efa54-edd3-449b-89f6-47a8074a2fba
2025-11-24 03:37:15,759 - DEBUG - Requesting: http://10.0.0.41:8082/project/af182450-9b4f-461d-95d7-79755899739e
2025-11-24 03:37:15,858 - INFO - Validated that VN ctest-vn-26821053 is not found in API Server
2025-11-24 03:37:15,875 - DEBUG - VN ctest-vn-26821053 is not present in Agent 10.0.0.57
2025-11-24 03:37:15,884 - DEBUG - VN ctest-vn-26821053 is not present in Agent 10.0.0.56
2025-11-24 03:37:15,884 - INFO - Validated that VN ctest-vn-26821053 is not in any agent
2025-11-24 03:37:15,934 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26821053 info
2025-11-24 03:37:17,245 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 03:37:17,245 - INFO - END TEST : test_vif_statistics : PASSED[0:01:55]
2025-11-24 03:37:17,245 - INFO - --------------------------------------------------------------------------------
2025-11-24 03:37:18,000 - INFO - Deleted project: ctest-TestvifStats-85094554, ID : af182450-9b4f-461d-95d7-79755899739e