2025-11-20 03:24:54,811 - INFO - Domain Default found not creating
2025-11-20 03:24:55,018 - INFO - Project ctest-TestvifStats-64467264 not found, creating it
2025-11-20 03:24:55,538 - INFO - Created Project:ctest-TestvifStats-64467264, ID : a2ecd1e6-e36f-48ed-b555-b4db8a00bd48
2025-11-20 03:24:57,102 - INFO - ================================================================================
2025-11-20 03:24:57,102 - INFO - STARTING TEST : test_vif_statistics
2025-11-20 03:24:57,102 - 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-20 03:24:58,384 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.201': '0', '10.20.0.129': '0'}, '10.0.0.48': {'10.20.0.201': '0', '10.20.0.129': '0'}} with
2025-11-20 03:24:58,384 - INFO - Initial checks done. Running the testcase now
2025-11-20 03:24:58,384 - INFO -
2025-11-20 03:24:59,088 - DEBUG - Response for create_network : {'network': {'id': 'bd1182f9-430c-40b4-a270-5f15c1060545', 'name': 'ctest-vn-15168138', 'tenant_id': 'a2ecd1e6e36f48edb555b4db8a00bd48', 'project_id': 'a2ecd1e6e36f48edb555b4db8a00bd48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-64467264', 'ctest-vn-15168138'], 'port_security_enabled': True, 'description': ''}}
2025-11-20 03:24:59,362 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4642821-c59b-49ef-9185-ace94a302e78', 'name': '', 'tenant_id': 'a2ecd1e6e36f48edb555b4db8a00bd48', 'network_id': 'bd1182f9-430c-40b4-a270-5f15c1060545', 'ip_version': 4, 'cidr': '157.201.85.128/26', 'allocation_pools': [{'start': '157.201.85.130', 'end': '157.201.85.190'}], 'gateway_ip': '157.201.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.201.85.130', 'tags': [], 'project_id': 'a2ecd1e6e36f48edb555b4db8a00bd48'}}
2025-11-20 03:24:59,386 - INFO - Created VN ctest-vn-15168138
2025-11-20 03:24:59,398 - DEBUG - VN ctest-vn-15168138 UUID is bd1182f9-430c-40b4-a270-5f15c1060545
2025-11-20 03:24:59,470 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-11-20 03:24:59,767 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-11-20 03:24:59,808 - DEBUG - Requesting: http://10.0.0.23:8082/domain/785d7fdc-4b61-45a1-9add-76a6d523389b
2025-11-20 03:24:59,825 - DEBUG - Requesting: http://10.0.0.23:8082/project/a2ecd1e6-e36f-48ed-b555-b4db8a00bd48
2025-11-20 03:24:59,918 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bd1182f9-430c-40b4-a270-5f15c1060545
2025-11-20 03:24:59,945 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bd1182f9-430c-40b4-a270-5f15c1060545
2025-11-20 03:24:59,956 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/33311dd2-4f20-47da-a8bc-5af4ed2f2e7a
2025-11-20 03:24:59,966 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/33311dd2-4f20-47da-a8bc-5af4ed2f2e7a
2025-11-20 03:24:59,978 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/be6d3422-3abd-4617-b480-2a403b096b2f
2025-11-20 03:24:59,986 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-20 03:24:59,986 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bd1182f9-430c-40b4-a270-5f15c1060545
2025-11-20 03:24:59,996 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/33311dd2-4f20-47da-a8bc-5af4ed2f2e7a
2025-11-20 03:25:00,015 - INFO - Verified VN network id 15 for VN bd1182f9-430c-40b4-a270-5f15c1060545
2025-11-20 03:25:00,015 - INFO - Verifications in API Server for VN ctest-vn-15168138 passed
2025-11-20 03:25:00,016 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bd1182f9-430c-40b4-a270-5f15c1060545
2025-11-20 03:25:00,030 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/33311dd2-4f20-47da-a8bc-5af4ed2f2e7a
2025-11-20 03:25:00,040 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/33311dd2-4f20-47da-a8bc-5af4ed2f2e7a
2025-11-20 03:25:00,049 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/be6d3422-3abd-4617-b480-2a403b096b2f
2025-11-20 03:25:00,066 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-64467264', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13623814354855805108', 'uuid-lslong': '11704959978573268293'}, 'enable': 'true', 'created': '2025-11-20T03:24:59', 'last-modified': '2025-11-20T03:24:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.755301'}
2025-11-20 03:25:00,073 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-20 03:25:00,080 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-64467264', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13623814354855805108', 'uuid-lslong': '11704959978573268293'}, 'enable': 'true', 'created': '2025-11-20T03:24:59', 'last-modified': '2025-11-20T03:24:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.769443'}
2025-11-20 03:25:00,087 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-20 03:25:00,093 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-64467264', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13623814354855805108', 'uuid-lslong': '11704959978573268293'}, 'enable': 'true', 'created': '2025-11-20T03:24:59', 'last-modified': '2025-11-20T03:24:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.782121'}
2025-11-20 03:25:00,101 - DEBUG - Route Targets: ['target:64512:8000004']
2025-11-20 03:25:00,101 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15168138 passed
2025-11-20 03:25:00,101 - DEBUG - ====Verifying policy data for ctest-vn-15168138 in API_Server ======
2025-11-20 03:25:00,101 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-11-20 03:25:00,110 - DEBUG - Requesting: http://10.0.0.23:8082/domain/785d7fdc-4b61-45a1-9add-76a6d523389b
2025-11-20 03:25:00,124 - DEBUG - Requesting: http://10.0.0.23:8082/project/a2ecd1e6-e36f-48ed-b555-b4db8a00bd48
2025-11-20 03:25:00,218 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bd1182f9-430c-40b4-a270-5f15c1060545
2025-11-20 03:25:00,230 - DEBUG - =>VN ctest-vn-15168138 has no policy to be verified
2025-11-20 03:25:00,230 - DEBUG - Verifying the vn in opserver
2025-11-20 03:25:00,230 - DEBUG - Verifying the default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 virtual network link through opserver 10.0.0.23
2025-11-20 03:25:00,230 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-11-20 03:25:00,538 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-11-20 03:25:00,618 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138?flat'}
2025-11-20 03:25:00,618 - DEBUG - Verifying the default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 virtual network link through opserver 10.0.0.50
2025-11-20 03:25:00,618 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-11-20 03:25:00,940 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-11-20 03:25:01,042 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138?flat'}
2025-11-20 03:25:01,042 - DEBUG - Verifying the default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 virtual network link through opserver 10.0.0.22
2025-11-20 03:25:01,042 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2025-11-20 03:25:01,354 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2025-11-20 03:25:01,419 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138?flat'}
2025-11-20 03:25:01,419 - INFO - Validated that VN default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 is found in opserver
2025-11-20 03:25:01,444 - DEBUG - Do not have enough data to verify VN in agent
2025-11-20 03:25:01,454 - DEBUG - VRF ids for VN ctest-vn-15168138: {}
2025-11-20 03:25:01,484 - DEBUG - Services list from nova: [, , , ]
2025-11-20 03:25:01,484 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4768-2', 'an-jenkins-deploy-platform-ansible-os-4768-1']}
2025-11-20 03:25:01,484 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4768-2', 'an-jenkins-deploy-platform-ansible-os-4768-1']}
2025-11-20 03:25:02,672 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4768-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4768-2)
2025-11-20 03:25:02,672 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4768-2', 'an-jenkins-deploy-platform-ansible-os-4768-1']}
2025-11-20 03:25:04,073 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4768-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4768-2)
2025-11-20 03:25:04,073 - INFO - Waiting for VM ctest-TestvifStats-64467264-78749924 to be up..
2025-11-20 03:25:04,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-20 03:25:09,265 - DEBUG - VM is in ACTIVE state now
2025-11-20 03:25:09,265 - INFO - VM name : ctest-TestvifStats-64467264-78749924
2025-11-20 03:25:09,337 - DEBUG - VM ctest-TestvifStats-64467264-78749924 ID is 4dc50d35-0b3e-4075-b8df-570524c30925
2025-11-20 03:25:09,360 - DEBUG - VM ctest-TestvifStats-64467264-78749924 launched on Node an-jenkins-deploy-platform-ansible-os-4768-2
2025-11-20 03:25:09,446 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4dc50d35-0b3e-4075-b8df-570524c30925
2025-11-20 03:25:09,750 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4dc50d35-0b3e-4075-b8df-570524c30925
2025-11-20 03:25:09,786 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ca4033b0-d255-457b-b06b-2ef23881acf9
2025-11-20 03:25:12,959 - 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-20 03:25:12,959 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-64467264-78749924 failed!
2025-11-20 03:25:12,975 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 is 157.201.85.129 and allocation pool is NOT set
2025-11-20 03:25:17,063 - 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-20 03:25:17,063 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-64467264-78749924 failed!
2025-11-20 03:25:17,078 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 is 157.201.85.129 and allocation pool is NOT set
2025-11-20 03:25:21,150 - 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 1011ms')
2025-11-20 03:25:21,150 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-64467264-78749924 failed!
2025-11-20 03:25:21,165 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 is 157.201.85.129 and allocation pool is NOT set
2025-11-20 03:25:25,245 - 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-11-20 03:25:25,246 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-64467264-78749924 failed!
2025-11-20 03:25:25,260 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 is 157.201.85.129 and allocation pool is NOT set
2025-11-20 03:25:29,339 - 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-11-20 03:25:29,339 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-64467264-78749924 failed!
2025-11-20 03:25:29,354 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 is 157.201.85.129 and allocation pool is NOT set
2025-11-20 03:25:33,438 - 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-11-20 03:25:33,438 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-64467264-78749924 failed!
2025-11-20 03:25:33,452 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 is 157.201.85.129 and allocation pool is NOT set
2025-11-20 03:25:37,534 - 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-20 03:25:37,534 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-64467264-78749924 failed!
2025-11-20 03:25:37,548 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 is 157.201.85.129 and allocation pool is NOT set
2025-11-20 03:25:41,635 - 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-11-20 03:25:41,635 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-64467264-78749924 failed!
2025-11-20 03:25:41,648 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 is 157.201.85.129 and allocation pool is NOT set
2025-11-20 03:25:45,727 - 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-11-20 03:25:45,727 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-64467264-78749924 failed!
2025-11-20 03:25:45,749 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 is 157.201.85.129 and allocation pool is NOT set
2025-11-20 03:25:49,824 - 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-20 03:25:49,825 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-64467264-78749924 failed!
2025-11-20 03:25:49,839 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-64467264:ctest-vn-15168138 is 157.201.85.129 and allocation pool is NOT set
2025-11-20 03:25:51,905 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 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 = 1.686/4.378/7.070/2.692 ms')
2025-11-20 03:25:51,905 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-64467264-78749924 passed
2025-11-20 03:25:51,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 03:25:51,973 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-64467264-78749924, IP 157.201.85.131, Port 22
2025-11-20 03:25:52,043 - 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-20 03:25:52,124 - DEBUG - VM ctest-TestvifStats-64467264-78749924 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-20 03:25:57,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 03:25:57,124 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-64467264-78749924, IP 157.201.85.131, Port 22
2025-11-20 03:25:57,191 - 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-20 03:25:57,267 - DEBUG - VM ctest-TestvifStats-64467264-78749924 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-20 03:26:02,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 03:26:02,268 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-64467264-78749924, IP 157.201.85.131, Port 22
2025-11-20 03:26:02,335 - 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-20 03:26:02,414 - DEBUG - VM ctest-TestvifStats-64467264-78749924 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-20 03:26:07,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 03:26:07,415 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-64467264-78749924, IP 157.201.85.131, Port 22
2025-11-20 03:26:07,483 - 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-20 03:26:07,559 - DEBUG - VM ctest-TestvifStats-64467264-78749924 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-20 03:26:12,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 03:26:12,560 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-64467264-78749924, IP 157.201.85.131, Port 22
2025-11-20 03:26:12,727 - DEBUG - VM ctest-TestvifStats-64467264-78749924 is ready for SSH connections
2025-11-20 03:26:12,727 - INFO - Waiting for VM ctest-TestvifStats-64467264-48598561 to be up..
2025-11-20 03:26:12,811 - DEBUG - VM is in ACTIVE state now
2025-11-20 03:26:12,811 - INFO - VM name : ctest-TestvifStats-64467264-48598561
2025-11-20 03:26:12,890 - DEBUG - VM ctest-TestvifStats-64467264-48598561 ID is 5453c75b-f650-4eb5-af8c-903e657ca183
2025-11-20 03:26:12,890 - DEBUG - VM ctest-TestvifStats-64467264-48598561 launched on Node an-jenkins-deploy-platform-ansible-os-4768-2
2025-11-20 03:26:12,978 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5453c75b-f650-4eb5-af8c-903e657ca183
2025-11-20 03:26:13,000 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d7ee2cca-a85e-427f-8834-11abf7ff29bd
2025-11-20 03:26:14,172 - 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=11.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/6.083/11.747/5.664 ms')
2025-11-20 03:26:14,172 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-64467264-48598561 passed
2025-11-20 03:26:14,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 03:26:14,241 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-64467264-48598561, IP 157.201.85.132, Port 22
2025-11-20 03:26:14,307 - 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-11-20 03:26:14,388 - DEBUG - VM ctest-TestvifStats-64467264-48598561 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-20 03:26:19,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 03:26:19,389 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-64467264-48598561, IP 157.201.85.132, Port 22
2025-11-20 03:26:19,455 - 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-11-20 03:26:19,529 - DEBUG - VM ctest-TestvifStats-64467264-48598561 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-20 03:26:24,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 03:26:24,530 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-64467264-48598561, IP 157.201.85.132, Port 22
2025-11-20 03:26:24,703 - DEBUG - VM ctest-TestvifStats-64467264-48598561 is ready for SSH connections
2025-11-20 03:26:24,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 03:26:24,703 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.201.85.132, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-11-20 03:26:24,703 - DEBUG - ping -s 56 -c 3 -W 1 157.201.85.132
2025-11-20 03:27:15,613 - DEBUG - PING 157.201.85.132 (157.201.85.132) 56(84) bytes of data.
64 bytes from 157.201.85.132: icmp_req=1 ttl=64 time=9.46 ms
64 bytes from 157.201.85.132: icmp_req=2 ttl=64 time=0.674 ms
64 bytes from 157.201.85.132: icmp_req=3 ttl=64 time=0.783 ms
--- 157.201.85.132 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.674/3.640/9.463/4.117 ms
2025-11-20 03:27:15,613 - INFO - Ping to IP 157.201.85.132 from VM ctest-TestvifStats-64467264-78749924 passed
2025-11-20 03:27:15,614 - INFO - 10.0.0.48
2025-11-20 03:27:15,615 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-20 03:27:15,725 - INFO - 13958
2025-11-20 03:27:15,834 - INFO - TX packets:13759
2025-11-20 03:27:15,834 - INFO - 13759
2025-11-20 03:27:15,834 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-20 03:27:15,954 - INFO - 21552
2025-11-20 03:27:16,055 - INFO - TX packets:22288
2025-11-20 03:27:16,056 - INFO - 22288
2025-11-20 03:27:16,056 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-20 03:27:16,163 - INFO - 9484
2025-11-20 03:27:16,270 - INFO - TX packets:8131
2025-11-20 03:27:16,270 - INFO - 8131
2025-11-20 03:27:16,271 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-20 03:27:16,383 - INFO - 285
2025-11-20 03:27:16,492 - INFO - TX packets:346
2025-11-20 03:27:16,493 - INFO - 346
2025-11-20 03:27:16,493 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-20 03:27:16,600 - INFO - 242
2025-11-20 03:27:16,722 - INFO - TX packets:281
2025-11-20 03:27:16,722 - INFO - 281
2025-11-20 03:27:16,722 - INFO - 10.0.0.48
2025-11-20 03:27:16,843 - INFO - Vif stats cleared successfully on all cores for all interfaces
2025-11-20 03:27:16,843 - INFO - 10.0.0.48
2025-11-20 03:27:16,843 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-20 03:27:16,955 - INFO - 0
2025-11-20 03:27:17,055 - INFO - TX packets:0
2025-11-20 03:27:17,055 - INFO - 0
2025-11-20 03:27:17,055 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-20 03:27:17,163 - INFO - 0
2025-11-20 03:27:17,272 - INFO - TX packets:0
2025-11-20 03:27:17,272 - INFO - 0
2025-11-20 03:27:17,272 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-20 03:27:17,379 - INFO - 0
2025-11-20 03:27:17,490 - INFO - TX packets:0
2025-11-20 03:27:17,490 - INFO - 0
2025-11-20 03:27:17,491 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-20 03:27:17,595 - INFO - 0
2025-11-20 03:27:17,703 - INFO - TX packets:0
2025-11-20 03:27:17,703 - INFO - 0
2025-11-20 03:27:17,703 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-11-20 03:27:17,812 - INFO - 1
2025-11-20 03:27:17,919 - INFO - TX packets:1
2025-11-20 03:27:17,919 - INFO - 1
2025-11-20 03:27:17,919 - INFO - Deleting VM ctest-TestvifStats-64467264-48598561
2025-11-20 03:27:17,993 - INFO - Deleting VM ctest-TestvifStats-64467264-78749924
2025-11-20 03:27:18,066 - INFO - Deleting VN ctest-vn-15168138
2025-11-20 03:27:18,113 - DEBUG - VN bd1182f9-430c-40b4-a270-5f15c1060545 still in use: Unable to complete operation on network bd1182f9-430c-40b4-a270-5f15c1060545. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-93279574-0616-4748-9c6f-6444525d3723']
2025-11-20 03:27:18,113 - WARNING - Deleting VN ctest-vn-15168138 failed..Will retry
2025-11-20 03:27:20,266 - DEBUG - Response for deleting network ()
2025-11-20 03:27:20,266 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/33311dd2-4f20-47da-a8bc-5af4ed2f2e7a
2025-11-20 03:27:20,271 - DEBUG - Response Code: 404
2025-11-20 03:27:20,272 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2025-11-20 03:27:20,282 - DEBUG - Requesting: http://10.0.0.23:8082/domain/785d7fdc-4b61-45a1-9add-76a6d523389b
2025-11-20 03:27:20,299 - DEBUG - Requesting: http://10.0.0.23:8082/project/a2ecd1e6-e36f-48ed-b555-b4db8a00bd48
2025-11-20 03:27:20,396 - INFO - Validated that VN ctest-vn-15168138 is not found in API Server
2025-11-20 03:27:20,407 - DEBUG - VN ctest-vn-15168138 is not present in Agent 10.0.0.131
2025-11-20 03:27:20,418 - DEBUG - VN ctest-vn-15168138 is not present in Agent 10.0.0.48
2025-11-20 03:27:20,418 - INFO - Validated that VN ctest-vn-15168138 is not in any agent
2025-11-20 03:27:20,454 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15168138 info
2025-11-20 03:27:21,726 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 03:27:21,726 - INFO - END TEST : test_vif_statistics : PASSED[0:02:24]
2025-11-20 03:27:21,726 - INFO - --------------------------------------------------------------------------------
2025-11-20 03:27:22,467 - INFO - Deleted project: ctest-TestvifStats-64467264, ID : a2ecd1e6-e36f-48ed-b555-b4db8a00bd48