2025-08-07 20:14:19,521 - INFO - Domain Default found not creating
2025-08-07 20:14:19,741 - INFO - Project ctest-TestvifStats-24877067 not found, creating it
2025-08-07 20:14:20,339 - INFO - Created Project:ctest-TestvifStats-24877067, ID : 4051dcc8-2c7e-4309-8848-51699293d08c
2025-08-07 20:14:22,468 - INFO - ================================================================================
2025-08-07 20:14:22,468 - INFO - STARTING TEST : test_vif_statistics
2025-08-07 20:14:22,469 - 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-07 20:14:23,818 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0', '10.20.0.193': '0'}, '10.0.0.242': {'10.20.0.14': '0', '10.20.0.193': '0'}} with
2025-08-07 20:14:23,818 - INFO - Initial checks done. Running the testcase now
2025-08-07 20:14:23,818 - INFO -
2025-08-07 20:14:24,491 - DEBUG - Response for create_network : {'network': {'id': '3161570a-65dd-428a-a1e1-7cf983a19b03', 'name': 'ctest-vn-72943141', 'tenant_id': '4051dcc82c7e4309884851699293d08c', 'project_id': '4051dcc82c7e4309884851699293d08c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-24877067', 'ctest-vn-72943141'], 'port_security_enabled': True, 'description': ''}}
2025-08-07 20:14:24,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '104bedf1-a510-439f-8ffb-496ec2462c89', 'name': '', 'tenant_id': '4051dcc82c7e4309884851699293d08c', 'network_id': '3161570a-65dd-428a-a1e1-7cf983a19b03', 'ip_version': 4, 'cidr': '80.201.210.192/26', 'allocation_pools': [{'start': '80.201.210.194', 'end': '80.201.210.254'}], 'gateway_ip': '80.201.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.201.210.194', 'tags': [], 'project_id': '4051dcc82c7e4309884851699293d08c'}}
2025-08-07 20:14:24,832 - INFO - Created VN ctest-vn-72943141
2025-08-07 20:14:24,846 - DEBUG - VN ctest-vn-72943141 UUID is 3161570a-65dd-428a-a1e1-7cf983a19b03
2025-08-07 20:14:24,940 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-08-07 20:14:25,241 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-08-07 20:14:25,273 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e058ca0e-02ca-4506-8888-1a040ca13521
2025-08-07 20:14:25,295 - DEBUG - Requesting: http://10.0.0.19:8082/project/4051dcc8-2c7e-4309-8848-51699293d08c
2025-08-07 20:14:25,407 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3161570a-65dd-428a-a1e1-7cf983a19b03
2025-08-07 20:14:25,430 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3161570a-65dd-428a-a1e1-7cf983a19b03
2025-08-07 20:14:25,442 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/93b7eae2-39b1-44a1-bc93-df67954dc01c
2025-08-07 20:14:25,456 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/93b7eae2-39b1-44a1-bc93-df67954dc01c
2025-08-07 20:14:25,464 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6c1ddd68-649a-4ee1-bbd1-7772825892aa
2025-08-07 20:14:25,472 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-07 20:14:25,473 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3161570a-65dd-428a-a1e1-7cf983a19b03
2025-08-07 20:14:25,485 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/93b7eae2-39b1-44a1-bc93-df67954dc01c
2025-08-07 20:14:25,504 - INFO - Verified VN network id 15 for VN 3161570a-65dd-428a-a1e1-7cf983a19b03
2025-08-07 20:14:25,505 - INFO - Verifications in API Server for VN ctest-vn-72943141 passed
2025-08-07 20:14:25,505 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3161570a-65dd-428a-a1e1-7cf983a19b03
2025-08-07 20:14:25,518 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/93b7eae2-39b1-44a1-bc93-df67954dc01c
2025-08-07 20:14:25,528 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/93b7eae2-39b1-44a1-bc93-df67954dc01c
2025-08-07 20:14:25,536 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6c1ddd68-649a-4ee1-bbd1-7772825892aa
2025-08-07 20:14:25,555 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-24877067', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3558220882769691274', 'uuid-lslong': '11664741920963402499'}, 'enable': 'true', 'created': '2025-08-07T20:14:24', 'last-modified': '2025-08-07T20:14:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.839344'}
2025-08-07 20:14:25,567 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-07 20:14:25,575 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-24877067', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3558220882769691274', 'uuid-lslong': '11664741920963402499'}, 'enable': 'true', 'created': '2025-08-07T20:14:24', 'last-modified': '2025-08-07T20:14:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.858989'}
2025-08-07 20:14:25,583 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-07 20:14:25,590 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-24877067', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3558220882769691274', 'uuid-lslong': '11664741920963402499'}, 'enable': 'true', 'created': '2025-08-07T20:14:24', 'last-modified': '2025-08-07T20:14:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.873620'}
2025-08-07 20:14:25,599 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-07 20:14:25,599 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72943141 passed
2025-08-07 20:14:25,599 - DEBUG - ====Verifying policy data for ctest-vn-72943141 in API_Server ======
2025-08-07 20:14:25,600 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-08-07 20:14:25,608 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e058ca0e-02ca-4506-8888-1a040ca13521
2025-08-07 20:14:25,622 - DEBUG - Requesting: http://10.0.0.19:8082/project/4051dcc8-2c7e-4309-8848-51699293d08c
2025-08-07 20:14:25,736 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3161570a-65dd-428a-a1e1-7cf983a19b03
2025-08-07 20:14:25,752 - DEBUG - =>VN ctest-vn-72943141 has no policy to be verified
2025-08-07 20:14:25,752 - DEBUG - Verifying the vn in opserver
2025-08-07 20:14:25,752 - DEBUG - Verifying the default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 virtual network link through opserver 10.0.0.19
2025-08-07 20:14:25,753 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-08-07 20:14:26,061 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-08-07 20:14:26,129 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141?flat'}
2025-08-07 20:14:26,129 - DEBUG - Verifying the default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 virtual network link through opserver 10.0.0.50
2025-08-07 20:14:26,130 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-08-07 20:14:26,438 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-08-07 20:14:26,506 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141?flat'}
2025-08-07 20:14:26,506 - DEBUG - Verifying the default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 virtual network link through opserver 10.0.0.241
2025-08-07 20:14:26,506 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2025-08-07 20:14:26,806 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2025-08-07 20:14:26,875 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141?flat'}
2025-08-07 20:14:26,875 - INFO - Validated that VN default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 is found in opserver
2025-08-07 20:14:26,916 - DEBUG - Do not have enough data to verify VN in agent
2025-08-07 20:14:26,936 - DEBUG - VRF ids for VN ctest-vn-72943141: {}
2025-08-07 20:14:26,965 - DEBUG - Services list from nova: [, , , ]
2025-08-07 20:14:26,965 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3775-2', 'an-jenkins-deploy-platform-ansible-os-3775-1']}
2025-08-07 20:14:26,965 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3775-2', 'an-jenkins-deploy-platform-ansible-os-3775-1']}
2025-08-07 20:14:28,271 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3775-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3775-2)
2025-08-07 20:14:28,271 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3775-2', 'an-jenkins-deploy-platform-ansible-os-3775-1']}
2025-08-07 20:14:29,760 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3775-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3775-2)
2025-08-07 20:14:29,760 - INFO - Waiting for VM ctest-TestvifStats-24877067-34273441 to be up..
2025-08-07 20:14:29,855 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-07 20:14:34,947 - DEBUG - VM is in ACTIVE state now
2025-08-07 20:14:34,947 - INFO - VM name : ctest-TestvifStats-24877067-34273441
2025-08-07 20:14:35,040 - DEBUG - VM ctest-TestvifStats-24877067-34273441 ID is e30d86fc-6b9b-43ba-afc9-73e26c5b25ea
2025-08-07 20:14:35,068 - DEBUG - VM ctest-TestvifStats-24877067-34273441 launched on Node an-jenkins-deploy-platform-ansible-os-3775-2
2025-08-07 20:14:35,160 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/e30d86fc-6b9b-43ba-afc9-73e26c5b25ea
2025-08-07 20:14:35,462 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/e30d86fc-6b9b-43ba-afc9-73e26c5b25ea
2025-08-07 20:14:35,503 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/bd682b2c-9d93-478b-883b-8e43ed57fe75
2025-08-07 20:14:38,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 1003ms')
2025-08-07 20:14:38,722 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24877067-34273441 failed!
2025-08-07 20:14:38,742 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 is 80.201.210.193 and allocation pool is NOT set
2025-08-07 20:14:42,822 - 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-08-07 20:14:42,822 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24877067-34273441 failed!
2025-08-07 20:14:42,849 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 is 80.201.210.193 and allocation pool is NOT set
2025-08-07 20:14:46,953 - 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 1032ms')
2025-08-07 20:14:46,954 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24877067-34273441 failed!
2025-08-07 20:14:46,974 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 is 80.201.210.193 and allocation pool is NOT set
2025-08-07 20:14:51,045 - 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 1004ms')
2025-08-07 20:14:51,045 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24877067-34273441 failed!
2025-08-07 20:14:51,061 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 is 80.201.210.193 and allocation pool is NOT set
2025-08-07 20:14:55,142 - 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-08-07 20:14:55,143 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24877067-34273441 failed!
2025-08-07 20:14:55,163 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 is 80.201.210.193 and allocation pool is NOT set
2025-08-07 20:14:59,236 - 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-08-07 20:14:59,237 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24877067-34273441 failed!
2025-08-07 20:14:59,252 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 is 80.201.210.193 and allocation pool is NOT set
2025-08-07 20:15:03,341 - 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-08-07 20:15:03,341 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24877067-34273441 failed!
2025-08-07 20:15:03,365 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 is 80.201.210.193 and allocation pool is NOT set
2025-08-07 20:15:07,429 - 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 1002ms')
2025-08-07 20:15:07,430 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24877067-34273441 failed!
2025-08-07 20:15:07,448 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 is 80.201.210.193 and allocation pool is NOT set
2025-08-07 20:15:11,525 - 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-08-07 20:15:11,525 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24877067-34273441 failed!
2025-08-07 20:15:11,541 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 is 80.201.210.193 and allocation pool is NOT set
2025-08-07 20:15:15,617 - 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-08-07 20:15:15,617 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24877067-34273441 failed!
2025-08-07 20:15:15,634 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 is 80.201.210.193 and allocation pool is NOT set
2025-08-07 20:15:19,720 - 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-07 20:15:19,720 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24877067-34273441 failed!
2025-08-07 20:15:19,739 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-24877067:ctest-vn-72943141 is 80.201.210.193 and allocation pool is NOT set
2025-08-07 20:15:21,808 - 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=9.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.547 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 = 0.547/5.103/9.660/4.556 ms')
2025-08-07 20:15:21,808 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-24877067-34273441 passed
2025-08-07 20:15:21,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 20:15:21,935 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24877067-34273441, IP 80.201.210.195, Port 22
2025-08-07 20:15:22,002 - 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-07 20:15:22,101 - DEBUG - VM ctest-TestvifStats-24877067-34273441 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-07 20:15:27,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 20:15:27,102 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24877067-34273441, IP 80.201.210.195, Port 22
2025-08-07 20:15:27,169 - 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-07 20:15:27,266 - DEBUG - VM ctest-TestvifStats-24877067-34273441 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-07 20:15:32,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 20:15:32,268 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24877067-34273441, IP 80.201.210.195, Port 22
2025-08-07 20:15:32,334 - 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-07 20:15:32,428 - DEBUG - VM ctest-TestvifStats-24877067-34273441 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-07 20:15:37,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 20:15:37,429 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24877067-34273441, IP 80.201.210.195, Port 22
2025-08-07 20:15:37,498 - 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-07 20:15:37,594 - DEBUG - VM ctest-TestvifStats-24877067-34273441 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-07 20:15:42,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 20:15:42,595 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24877067-34273441, IP 80.201.210.195, Port 22
2025-08-07 20:15:42,777 - DEBUG - VM ctest-TestvifStats-24877067-34273441 is ready for SSH connections
2025-08-07 20:15:42,777 - INFO - Waiting for VM ctest-TestvifStats-24877067-19877604 to be up..
2025-08-07 20:15:42,882 - DEBUG - VM is in ACTIVE state now
2025-08-07 20:15:42,882 - INFO - VM name : ctest-TestvifStats-24877067-19877604
2025-08-07 20:15:42,973 - DEBUG - VM ctest-TestvifStats-24877067-19877604 ID is fb09c9c5-7e78-4614-b086-9e4c2826fcdf
2025-08-07 20:15:42,973 - DEBUG - VM ctest-TestvifStats-24877067-19877604 launched on Node an-jenkins-deploy-platform-ansible-os-3775-2
2025-08-07 20:15:43,070 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/fb09c9c5-7e78-4614-b086-9e4c2826fcdf
2025-08-07 20:15:43,085 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/20354b58-5f96-4d6b-8c17-865677f5c0eb
2025-08-07 20:15:44,308 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.873 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 = 0.873/2.372/3.871/1.499 ms')
2025-08-07 20:15:44,308 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-24877067-19877604 passed
2025-08-07 20:15:44,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 20:15:44,427 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24877067-19877604, IP 80.201.210.196, Port 22
2025-08-07 20:15:44,495 - DEBUG - Error on ssh to ubuntu@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-08-07 20:15:44,597 - DEBUG - VM ctest-TestvifStats-24877067-19877604 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-07 20:15:49,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 20:15:49,598 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-24877067-19877604, IP 80.201.210.196, Port 22
2025-08-07 20:15:49,770 - DEBUG - VM ctest-TestvifStats-24877067-19877604 is ready for SSH connections
2025-08-07 20:15:49,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-07 20:15:49,770 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.201.210.196, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-08-07 20:15:49,770 - DEBUG - ping -s 56 -c 3 -W 1 80.201.210.196
2025-08-07 20:16:51,854 - DEBUG - PING 80.201.210.196 (80.201.210.196) 56(84) bytes of data.
64 bytes from 80.201.210.196: icmp_req=1 ttl=64 time=11.1 ms
64 bytes from 80.201.210.196: icmp_req=2 ttl=64 time=1.25 ms
64 bytes from 80.201.210.196: icmp_req=3 ttl=64 time=0.759 ms
--- 80.201.210.196 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.759/4.375/11.115/4.770 ms
2025-08-07 20:16:51,854 - INFO - Ping to IP 80.201.210.196 from VM ctest-TestvifStats-24877067-34273441 passed
2025-08-07 20:16:51,854 - INFO - 10.0.0.242
2025-08-07 20:16:51,854 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-07 20:16:51,972 - INFO - 16689
2025-08-07 20:16:52,074 - INFO - TX packets:16557
2025-08-07 20:16:52,074 - INFO - 16557
2025-08-07 20:16:52,074 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-07 20:16:52,182 - INFO - 26013
2025-08-07 20:16:52,301 - INFO - TX packets:26693
2025-08-07 20:16:52,301 - INFO - 26693
2025-08-07 20:16:52,301 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-07 20:16:52,397 - INFO - 11443
2025-08-07 20:16:52,502 - INFO - TX packets:9602
2025-08-07 20:16:52,502 - INFO - 9602
2025-08-07 20:16:52,502 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-07 20:16:52,626 - INFO - 303
2025-08-07 20:16:52,722 - INFO - TX packets:353
2025-08-07 20:16:52,722 - INFO - 353
2025-08-07 20:16:52,722 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-07 20:16:52,830 - INFO - 287
2025-08-07 20:16:52,942 - INFO - TX packets:323
2025-08-07 20:16:52,942 - INFO - 323
2025-08-07 20:16:52,942 - INFO - 10.0.0.242
2025-08-07 20:16:53,050 - INFO - Vif stats cleared successfully on all cores for all interfaces
2025-08-07 20:16:53,051 - INFO - 10.0.0.242
2025-08-07 20:16:53,051 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-07 20:16:53,163 - INFO - 0
2025-08-07 20:16:53,270 - INFO - TX packets:0
2025-08-07 20:16:53,271 - INFO - 0
2025-08-07 20:16:53,271 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-07 20:16:53,374 - INFO - 0
2025-08-07 20:16:53,482 - INFO - TX packets:0
2025-08-07 20:16:53,483 - INFO - 0
2025-08-07 20:16:53,483 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-07 20:16:53,605 - INFO - 0
2025-08-07 20:16:53,710 - INFO - TX packets:0
2025-08-07 20:16:53,710 - INFO - 0
2025-08-07 20:16:53,710 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-07 20:16:53,818 - INFO - 0
2025-08-07 20:16:53,927 - INFO - TX packets:0
2025-08-07 20:16:53,927 - INFO - 0
2025-08-07 20:16:53,927 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-07 20:16:54,034 - INFO - 1
2025-08-07 20:16:54,141 - INFO - TX packets:1
2025-08-07 20:16:54,142 - INFO - 1
2025-08-07 20:16:54,142 - INFO - Deleting VM ctest-TestvifStats-24877067-19877604
2025-08-07 20:16:54,224 - INFO - Deleting VM ctest-TestvifStats-24877067-34273441
2025-08-07 20:16:54,302 - INFO - Deleting VN ctest-vn-72943141
2025-08-07 20:16:54,352 - DEBUG - VN 3161570a-65dd-428a-a1e1-7cf983a19b03 still in use: Unable to complete operation on network 3161570a-65dd-428a-a1e1-7cf983a19b03. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-12e27432-a172-4368-b9fc-b2bcc8bfe18f']
2025-08-07 20:16:54,352 - WARNING - Deleting VN ctest-vn-72943141 failed..Will retry
2025-08-07 20:16:56,551 - DEBUG - Response for deleting network ()
2025-08-07 20:16:56,551 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/93b7eae2-39b1-44a1-bc93-df67954dc01c
2025-08-07 20:16:56,562 - DEBUG - Response Code: 404
2025-08-07 20:16:56,562 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-08-07 20:16:56,570 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e058ca0e-02ca-4506-8888-1a040ca13521
2025-08-07 20:16:56,641 - DEBUG - Requesting: http://10.0.0.19:8082/project/4051dcc8-2c7e-4309-8848-51699293d08c
2025-08-07 20:16:56,746 - INFO - Validated that VN ctest-vn-72943141 is not found in API Server
2025-08-07 20:16:56,775 - DEBUG - VN ctest-vn-72943141 is not present in Agent 10.0.0.65
2025-08-07 20:16:56,790 - DEBUG - VN ctest-vn-72943141 is not present in Agent 10.0.0.242
2025-08-07 20:16:56,790 - INFO - Validated that VN ctest-vn-72943141 is not in any agent
2025-08-07 20:16:56,838 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72943141 info
2025-08-07 20:16:58,190 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 20:16:58,190 - INFO - END TEST : test_vif_statistics : PASSED[0:02:36]
2025-08-07 20:16:58,190 - INFO - --------------------------------------------------------------------------------
2025-08-07 20:16:58,976 - INFO - Deleted project: ctest-TestvifStats-24877067, ID : 4051dcc8-2c7e-4309-8848-51699293d08c