2025-11-06 03:42:54,989 - INFO - Domain Default found not creating
2025-11-06 03:42:55,148 - INFO - Project ctest-TestvifStats-15567180 not found, creating it
2025-11-06 03:42:55,732 - INFO - Created Project:ctest-TestvifStats-15567180, ID : 7c84b42d-6734-42ac-9d96-e850ed4421ee
2025-11-06 03:42:57,187 - INFO - ================================================================================
2025-11-06 03:42:57,187 - INFO - STARTING TEST : test_vif_statistics
2025-11-06 03:42:57,187 - 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-06 03:42:58,486 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.133': {'10.20.0.252': '0', '10.20.0.249': '0'}} with
2025-11-06 03:42:58,487 - INFO - Initial checks done. Running the testcase now
2025-11-06 03:42:58,487 - INFO -
2025-11-06 03:42:59,159 - DEBUG - Response for create_network : {'network': {'id': '97100ac4-3500-4253-b6df-425311e26adb', 'name': 'ctest-vn-76251627', 'tenant_id': '7c84b42d673442ac9d96e850ed4421ee', 'project_id': '7c84b42d673442ac9d96e850ed4421ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-15567180', 'ctest-vn-76251627'], 'port_security_enabled': True, 'description': ''}}
2025-11-06 03:42:59,478 - DEBUG - Response for create_subnet : {'subnet': {'id': '00bc4f1c-2d8d-488f-bd44-21cdc9c42748', 'name': '', 'tenant_id': '7c84b42d673442ac9d96e850ed4421ee', 'network_id': '97100ac4-3500-4253-b6df-425311e26adb', 'ip_version': 4, 'cidr': '131.123.194.64/26', 'allocation_pools': [{'start': '131.123.194.66', 'end': '131.123.194.126'}], 'gateway_ip': '131.123.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.123.194.66', 'tags': [], 'project_id': '7c84b42d673442ac9d96e850ed4421ee'}}
2025-11-06 03:42:59,500 - INFO - Created VN ctest-vn-76251627
2025-11-06 03:42:59,510 - DEBUG - VN ctest-vn-76251627 UUID is 97100ac4-3500-4253-b6df-425311e26adb
2025-11-06 03:42:59,582 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-11-06 03:42:59,875 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-11-06 03:42:59,903 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dd557474-6eee-442f-acdf-559f4d754f9d
2025-11-06 03:42:59,916 - DEBUG - Requesting: http://10.0.0.41:8082/project/7c84b42d-6734-42ac-9d96-e850ed4421ee
2025-11-06 03:43:00,015 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/97100ac4-3500-4253-b6df-425311e26adb
2025-11-06 03:43:00,032 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/97100ac4-3500-4253-b6df-425311e26adb
2025-11-06 03:43:00,041 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/dba86e05-f471-4548-b2d2-56851b77df65
2025-11-06 03:43:00,050 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/dba86e05-f471-4548-b2d2-56851b77df65
2025-11-06 03:43:00,060 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/0891e39e-5cc6-49fd-a73b-53a738db5826
2025-11-06 03:43:00,067 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-06 03:43:00,067 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/97100ac4-3500-4253-b6df-425311e26adb
2025-11-06 03:43:00,076 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/dba86e05-f471-4548-b2d2-56851b77df65
2025-11-06 03:43:00,092 - INFO - Verified VN network id 14 for VN 97100ac4-3500-4253-b6df-425311e26adb
2025-11-06 03:43:00,093 - INFO - Verifications in API Server for VN ctest-vn-76251627 passed
2025-11-06 03:43:00,093 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/97100ac4-3500-4253-b6df-425311e26adb
2025-11-06 03:43:00,103 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/dba86e05-f471-4548-b2d2-56851b77df65
2025-11-06 03:43:00,110 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/dba86e05-f471-4548-b2d2-56851b77df65
2025-11-06 03:43:00,117 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/0891e39e-5cc6-49fd-a73b-53a738db5826
2025-11-06 03:43:00,128 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-15567180', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10885212137173566035', 'uuid-lslong': '13177323959259130587'}, 'enable': 'true', 'created': '2025-11-06T03:42:59', 'last-modified': '2025-11-06T03:42:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.706356'}
2025-11-06 03:43:00,137 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-06 03:43:00,142 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-15567180', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10885212137173566035', 'uuid-lslong': '13177323959259130587'}, 'enable': 'true', 'created': '2025-11-06T03:42:59', 'last-modified': '2025-11-06T03:42:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.720068'}
2025-11-06 03:43:00,149 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-06 03:43:00,154 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-15567180', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10885212137173566035', 'uuid-lslong': '13177323959259130587'}, 'enable': 'true', 'created': '2025-11-06T03:42:59', 'last-modified': '2025-11-06T03:42:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.732526'}
2025-11-06 03:43:00,159 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-06 03:43:00,159 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76251627 passed
2025-11-06 03:43:00,160 - DEBUG - ====Verifying policy data for ctest-vn-76251627 in API_Server ======
2025-11-06 03:43:00,160 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-11-06 03:43:00,166 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dd557474-6eee-442f-acdf-559f4d754f9d
2025-11-06 03:43:00,176 - DEBUG - Requesting: http://10.0.0.41:8082/project/7c84b42d-6734-42ac-9d96-e850ed4421ee
2025-11-06 03:43:00,275 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/97100ac4-3500-4253-b6df-425311e26adb
2025-11-06 03:43:00,283 - DEBUG - =>VN ctest-vn-76251627 has no policy to be verified
2025-11-06 03:43:00,283 - DEBUG - Verifying the vn in opserver
2025-11-06 03:43:00,283 - DEBUG - Verifying the default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 virtual network link through opserver 10.0.0.41
2025-11-06 03:43:00,283 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-11-06 03:43:00,591 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-11-06 03:43:00,654 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627?flat'}
2025-11-06 03:43:00,654 - DEBUG - Verifying the default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 virtual network link through opserver 10.0.0.38
2025-11-06 03:43:00,654 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-11-06 03:43:00,957 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-11-06 03:43:01,018 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627?flat'}
2025-11-06 03:43:01,018 - DEBUG - Verifying the default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 virtual network link through opserver 10.0.0.131
2025-11-06 03:43:01,018 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-11-06 03:43:01,319 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-11-06 03:43:01,380 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627?flat'}
2025-11-06 03:43:01,380 - INFO - Validated that VN default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 is found in opserver
2025-11-06 03:43:01,404 - DEBUG - Do not have enough data to verify VN in agent
2025-11-06 03:43:01,416 - DEBUG - VRF ids for VN ctest-vn-76251627: {}
2025-11-06 03:43:01,443 - DEBUG - Services list from nova: [, , , ]
2025-11-06 03:43:01,443 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4662-2', 'an-jenkins-deploy-platform-ansible-os-4662-1']}
2025-11-06 03:43:01,444 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4662-2', 'an-jenkins-deploy-platform-ansible-os-4662-1']}
2025-11-06 03:43:02,654 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4662-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4662-2)
2025-11-06 03:43:02,654 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4662-2', 'an-jenkins-deploy-platform-ansible-os-4662-1']}
2025-11-06 03:43:04,058 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4662-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4662-2)
2025-11-06 03:43:04,059 - INFO - Waiting for VM ctest-TestvifStats-15567180-57927687 to be up..
2025-11-06 03:43:04,161 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-06 03:43:09,245 - DEBUG - VM is in ACTIVE state now
2025-11-06 03:43:09,245 - INFO - VM name : ctest-TestvifStats-15567180-57927687
2025-11-06 03:43:09,332 - DEBUG - VM ctest-TestvifStats-15567180-57927687 ID is e873ba25-25dc-444e-834d-308956c12624
2025-11-06 03:43:09,355 - DEBUG - VM ctest-TestvifStats-15567180-57927687 launched on Node an-jenkins-deploy-platform-ansible-os-4662-2
2025-11-06 03:43:09,438 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/e873ba25-25dc-444e-834d-308956c12624
2025-11-06 03:43:09,730 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/e873ba25-25dc-444e-834d-308956c12624
2025-11-06 03:43:09,765 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/1aaeafcc-28c4-4a8c-8419-84f13de43092
2025-11-06 03:43:12,948 - 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-06 03:43:12,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-15567180-57927687 failed!
2025-11-06 03:43:12,971 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 is 131.123.194.65 and allocation pool is NOT set
2025-11-06 03:43:17,037 - 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-11-06 03:43:17,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-15567180-57927687 failed!
2025-11-06 03:43:17,059 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 is 131.123.194.65 and allocation pool is NOT set
2025-11-06 03:43:21,140 - 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-11-06 03:43:21,141 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-15567180-57927687 failed!
2025-11-06 03:43:21,156 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 is 131.123.194.65 and allocation pool is NOT set
2025-11-06 03:43:25,234 - 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-11-06 03:43:25,234 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-15567180-57927687 failed!
2025-11-06 03:43:25,249 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 is 131.123.194.65 and allocation pool is NOT set
2025-11-06 03:43:29,333 - 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-06 03:43:29,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-15567180-57927687 failed!
2025-11-06 03:43:29,351 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 is 131.123.194.65 and allocation pool is NOT set
2025-11-06 03:43:33,426 - 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-11-06 03:43:33,427 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-15567180-57927687 failed!
2025-11-06 03:43:33,443 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 is 131.123.194.65 and allocation pool is NOT set
2025-11-06 03:43:37,516 - 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-11-06 03:43:37,516 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-15567180-57927687 failed!
2025-11-06 03:43:37,533 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 is 131.123.194.65 and allocation pool is NOT set
2025-11-06 03:43:41,619 - 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-06 03:43:41,619 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-15567180-57927687 failed!
2025-11-06 03:43:41,637 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 is 131.123.194.65 and allocation pool is NOT set
2025-11-06 03:43:45,721 - 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-11-06 03:43:45,721 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-15567180-57927687 failed!
2025-11-06 03:43:45,740 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 is 131.123.194.65 and allocation pool is NOT set
2025-11-06 03:43:49,808 - 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 1005ms')
2025-11-06 03:43:49,808 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-15567180-57927687 failed!
2025-11-06 03:43:49,825 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-15567180:ctest-vn-76251627 is 131.123.194.65 and allocation pool is NOT set
2025-11-06 03:43:51,892 - 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=11.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.892 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.892/6.227/11.563/5.335 ms')
2025-11-06 03:43:51,892 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-15567180-57927687 passed
2025-11-06 03:43:51,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 03:43:51,968 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-15567180-57927687, IP 131.123.194.67, Port 22
2025-11-06 03:43:52,047 - 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-06 03:43:52,141 - DEBUG - VM ctest-TestvifStats-15567180-57927687 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-06 03:43:57,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 03:43:57,142 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-15567180-57927687, IP 131.123.194.67, Port 22
2025-11-06 03:43:57,208 - 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-06 03:43:57,283 - DEBUG - VM ctest-TestvifStats-15567180-57927687 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-06 03:44:02,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 03:44:02,283 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-15567180-57927687, IP 131.123.194.67, Port 22
2025-11-06 03:44:02,349 - 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-06 03:44:02,430 - DEBUG - VM ctest-TestvifStats-15567180-57927687 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-06 03:44:07,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 03:44:07,431 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-15567180-57927687, IP 131.123.194.67, Port 22
2025-11-06 03:44:07,496 - 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-06 03:44:07,583 - DEBUG - VM ctest-TestvifStats-15567180-57927687 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-06 03:44:12,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 03:44:12,583 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-15567180-57927687, IP 131.123.194.67, Port 22
2025-11-06 03:44:12,650 - 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-06 03:44:12,738 - DEBUG - VM ctest-TestvifStats-15567180-57927687 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-06 03:44:17,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 03:44:17,739 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-15567180-57927687, IP 131.123.194.67, Port 22
2025-11-06 03:44:17,903 - DEBUG - VM ctest-TestvifStats-15567180-57927687 is ready for SSH connections
2025-11-06 03:44:17,903 - INFO - Waiting for VM ctest-TestvifStats-15567180-60682844 to be up..
2025-11-06 03:44:17,997 - DEBUG - VM is in ACTIVE state now
2025-11-06 03:44:17,998 - INFO - VM name : ctest-TestvifStats-15567180-60682844
2025-11-06 03:44:18,091 - DEBUG - VM ctest-TestvifStats-15567180-60682844 ID is 60d08cb1-8454-4585-bba0-d8b8fe775bdb
2025-11-06 03:44:18,091 - DEBUG - VM ctest-TestvifStats-15567180-60682844 launched on Node an-jenkins-deploy-platform-ansible-os-4662-2
2025-11-06 03:44:18,191 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/60d08cb1-8454-4585-bba0-d8b8fe775bdb
2025-11-06 03:44:18,208 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/0017cd34-a1cf-4f52-a19e-bf77ddc0c7e4
2025-11-06 03:44:19,381 - 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=4.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.723 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 = 0.723/2.398/4.073/1.675 ms')
2025-11-06 03:44:19,381 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-15567180-60682844 passed
2025-11-06 03:44:19,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 03:44:19,457 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-15567180-60682844, IP 131.123.194.68, Port 22
2025-11-06 03:44:19,626 - DEBUG - VM ctest-TestvifStats-15567180-60682844 is ready for SSH connections
2025-11-06 03:44:19,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 03:44:19,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.123.194.68, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-11-06 03:44:19,626 - DEBUG - ping -s 56 -c 3 -W 1 131.123.194.68
2025-11-06 03:44:44,337 - DEBUG - PING 131.123.194.68 (131.123.194.68) 56(84) bytes of data.
64 bytes from 131.123.194.68: icmp_req=1 ttl=64 time=11.0 ms
64 bytes from 131.123.194.68: icmp_req=2 ttl=64 time=1.25 ms
64 bytes from 131.123.194.68: icmp_req=3 ttl=64 time=1.06 ms
--- 131.123.194.68 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.066/4.452/11.040/4.659 ms
2025-11-06 03:44:44,338 - INFO - Ping to IP 131.123.194.68 from VM ctest-TestvifStats-15567180-57927687 passed
2025-11-06 03:44:44,338 - INFO - 10.0.0.133
2025-11-06 03:44:44,338 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-06 03:44:44,448 - INFO - 13815
2025-11-06 03:44:44,569 - INFO - TX packets:14447
2025-11-06 03:44:44,569 - INFO - 14447
2025-11-06 03:44:44,569 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-06 03:44:44,680 - INFO - 22338
2025-11-06 03:44:44,791 - INFO - TX packets:22232
2025-11-06 03:44:44,791 - INFO - 22232
2025-11-06 03:44:44,791 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-06 03:44:44,900 - INFO - 9712
2025-11-06 03:44:45,016 - INFO - TX packets:8218
2025-11-06 03:44:45,016 - INFO - 8218
2025-11-06 03:44:45,016 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-06 03:44:45,129 - INFO - 280
2025-11-06 03:44:45,240 - INFO - TX packets:344
2025-11-06 03:44:45,241 - INFO - 344
2025-11-06 03:44:45,241 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-06 03:44:45,358 - INFO - 244
2025-11-06 03:44:45,477 - INFO - TX packets:281
2025-11-06 03:44:45,477 - INFO - 281
2025-11-06 03:44:45,477 - INFO - 10.0.0.133
2025-11-06 03:44:45,578 - INFO - Vif stats cleared successfully on all cores for all interfaces
2025-11-06 03:44:45,578 - INFO - 10.0.0.133
2025-11-06 03:44:45,578 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-06 03:44:45,687 - INFO - 0
2025-11-06 03:44:45,818 - INFO - TX packets:0
2025-11-06 03:44:45,818 - INFO - 0
2025-11-06 03:44:45,819 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-06 03:44:45,939 - INFO - 0
2025-11-06 03:44:46,061 - INFO - TX packets:0
2025-11-06 03:44:46,061 - INFO - 0
2025-11-06 03:44:46,061 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-06 03:44:46,172 - INFO - 1
2025-11-06 03:44:46,278 - INFO - TX packets:2
2025-11-06 03:44:46,278 - INFO - 2
2025-11-06 03:44:46,278 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-06 03:44:46,387 - INFO - 1
2025-11-06 03:44:46,493 - INFO - TX packets:1
2025-11-06 03:44:46,493 - INFO - 1
2025-11-06 03:44:46,494 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-06 03:44:46,601 - INFO - 1
2025-11-06 03:44:46,711 - INFO - TX packets:1
2025-11-06 03:44:46,712 - INFO - 1
2025-11-06 03:44:46,712 - INFO - Deleting VM ctest-TestvifStats-15567180-60682844
2025-11-06 03:44:46,815 - INFO - Deleting VM ctest-TestvifStats-15567180-57927687
2025-11-06 03:44:46,892 - INFO - Deleting VN ctest-vn-76251627
2025-11-06 03:44:46,960 - DEBUG - VN 97100ac4-3500-4253-b6df-425311e26adb still in use: Unable to complete operation on network 97100ac4-3500-4253-b6df-425311e26adb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2366b578-7d2b-4a3a-924b-18a2c83b188e']
2025-11-06 03:44:46,960 - WARNING - Deleting VN ctest-vn-76251627 failed..Will retry
2025-11-06 03:44:49,124 - DEBUG - Response for deleting network ()
2025-11-06 03:44:49,124 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/dba86e05-f471-4548-b2d2-56851b77df65
2025-11-06 03:44:49,139 - DEBUG - Response Code: 404
2025-11-06 03:44:49,139 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2025-11-06 03:44:49,161 - DEBUG - Requesting: http://10.0.0.41:8082/domain/dd557474-6eee-442f-acdf-559f4d754f9d
2025-11-06 03:44:49,184 - DEBUG - Requesting: http://10.0.0.41:8082/project/7c84b42d-6734-42ac-9d96-e850ed4421ee
2025-11-06 03:44:49,285 - INFO - Validated that VN ctest-vn-76251627 is not found in API Server
2025-11-06 03:44:49,303 - DEBUG - VN ctest-vn-76251627 is not present in Agent 10.0.0.240
2025-11-06 03:44:49,313 - DEBUG - VN ctest-vn-76251627 is not present in Agent 10.0.0.133
2025-11-06 03:44:49,313 - INFO - Validated that VN ctest-vn-76251627 is not in any agent
2025-11-06 03:44:49,346 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76251627 info
2025-11-06 03:44:50,631 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 03:44:50,632 - INFO - END TEST : test_vif_statistics : PASSED[0:01:53]
2025-11-06 03:44:50,632 - INFO - --------------------------------------------------------------------------------
2025-11-06 03:44:51,411 - INFO - Deleted project: ctest-TestvifStats-15567180, ID : 7c84b42d-6734-42ac-9d96-e850ed4421ee