2025-08-10 12:15:10,759 - INFO - Domain Default found not creating
2025-08-10 12:15:10,879 - INFO - Project ctest-TestvifStats-25251841 not found, creating it
2025-08-10 12:15:11,416 - INFO - Created Project:ctest-TestvifStats-25251841, ID : b06c3845-1359-4af7-8010-c61b0ac3354b
2025-08-10 12:15:12,833 - INFO - ================================================================================
2025-08-10 12:15:12,833 - INFO - STARTING TEST : test_vif_statistics
2025-08-10 12:15:12,834 - 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-10 12:15:14,075 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.56': {'10.20.0.254': '0', '10.20.0.14': '0'}} with
2025-08-10 12:15:14,076 - INFO - Initial checks done. Running the testcase now
2025-08-10 12:15:14,076 - INFO -
2025-08-10 12:15:14,687 - DEBUG - Response for create_network : {'network': {'id': 'e68ff593-de84-4271-ac0f-44ed24c8784b', 'name': 'ctest-vn-72406316', 'tenant_id': 'b06c384513594af78010c61b0ac3354b', 'project_id': 'b06c384513594af78010c61b0ac3354b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-25251841', 'ctest-vn-72406316'], 'port_security_enabled': True, 'description': ''}}
2025-08-10 12:15:14,918 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5d05409-6391-4002-9c66-1dfcd6c23e02', 'name': '', 'tenant_id': 'b06c384513594af78010c61b0ac3354b', 'network_id': 'e68ff593-de84-4271-ac0f-44ed24c8784b', 'ip_version': 4, 'cidr': '189.37.169.0/26', 'allocation_pools': [{'start': '189.37.169.2', 'end': '189.37.169.62'}], 'gateway_ip': '189.37.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.37.169.2', 'tags': [], 'project_id': 'b06c384513594af78010c61b0ac3354b'}}
2025-08-10 12:15:14,937 - INFO - Created VN ctest-vn-72406316
2025-08-10 12:15:14,947 - DEBUG - VN ctest-vn-72406316 UUID is e68ff593-de84-4271-ac0f-44ed24c8784b
2025-08-10 12:15:15,004 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-08-10 12:15:15,290 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-08-10 12:15:15,313 - DEBUG - Requesting: http://10.0.0.49:8082/domain/506b9682-8eb9-488e-ab69-24d332f4d228
2025-08-10 12:15:15,327 - DEBUG - Requesting: http://10.0.0.49:8082/project/b06c3845-1359-4af7-8010-c61b0ac3354b
2025-08-10 12:15:15,417 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e68ff593-de84-4271-ac0f-44ed24c8784b
2025-08-10 12:15:15,433 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e68ff593-de84-4271-ac0f-44ed24c8784b
2025-08-10 12:15:15,442 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/275d44c7-7aef-407d-ad45-fa1ec5910fbe
2025-08-10 12:15:15,449 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/275d44c7-7aef-407d-ad45-fa1ec5910fbe
2025-08-10 12:15:15,455 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/c4642678-0cce-4028-9a6e-cd15ca2a5f2e
2025-08-10 12:15:15,467 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-10 12:15:15,467 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e68ff593-de84-4271-ac0f-44ed24c8784b
2025-08-10 12:15:15,475 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/275d44c7-7aef-407d-ad45-fa1ec5910fbe
2025-08-10 12:15:15,492 - INFO - Verified VN network id 15 for VN e68ff593-de84-4271-ac0f-44ed24c8784b
2025-08-10 12:15:15,492 - INFO - Verifications in API Server for VN ctest-vn-72406316 passed
2025-08-10 12:15:15,492 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e68ff593-de84-4271-ac0f-44ed24c8784b
2025-08-10 12:15:15,502 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/275d44c7-7aef-407d-ad45-fa1ec5910fbe
2025-08-10 12:15:15,508 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/275d44c7-7aef-407d-ad45-fa1ec5910fbe
2025-08-10 12:15:15,515 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/c4642678-0cce-4028-9a6e-cd15ca2a5f2e
2025-08-10 12:15:15,529 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-25251841', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16613767565835256433', 'uuid-lslong': '12398204084489320523'}, 'enable': 'true', 'created': '2025-08-10T12:15:14', 'last-modified': '2025-08-10T12:15:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.656117'}
2025-08-10 12:15:15,534 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-10 12:15:15,540 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-25251841', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16613767565835256433', 'uuid-lslong': '12398204084489320523'}, 'enable': 'true', 'created': '2025-08-10T12:15:14', 'last-modified': '2025-08-10T12:15:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.667120'}
2025-08-10 12:15:15,546 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-10 12:15:15,554 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-25251841', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16613767565835256433', 'uuid-lslong': '12398204084489320523'}, 'enable': 'true', 'created': '2025-08-10T12:15:14', 'last-modified': '2025-08-10T12:15:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.683178'}
2025-08-10 12:15:15,561 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-10 12:15:15,561 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72406316 passed
2025-08-10 12:15:15,561 - DEBUG - ====Verifying policy data for ctest-vn-72406316 in API_Server ======
2025-08-10 12:15:15,561 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-08-10 12:15:15,567 - DEBUG - Requesting: http://10.0.0.49:8082/domain/506b9682-8eb9-488e-ab69-24d332f4d228
2025-08-10 12:15:15,578 - DEBUG - Requesting: http://10.0.0.49:8082/project/b06c3845-1359-4af7-8010-c61b0ac3354b
2025-08-10 12:15:15,664 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e68ff593-de84-4271-ac0f-44ed24c8784b
2025-08-10 12:15:15,677 - DEBUG - =>VN ctest-vn-72406316 has no policy to be verified
2025-08-10 12:15:15,677 - DEBUG - Verifying the vn in opserver
2025-08-10 12:15:15,677 - DEBUG - Verifying the default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 virtual network link through opserver 10.0.0.49
2025-08-10 12:15:15,678 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks
2025-08-10 12:15:15,966 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks
2025-08-10 12:15:16,014 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316?flat'}
2025-08-10 12:15:16,014 - DEBUG - Verifying the default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 virtual network link through opserver 10.0.0.254
2025-08-10 12:15:16,015 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-08-10 12:15:16,299 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-08-10 12:15:16,345 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316?flat'}
2025-08-10 12:15:16,345 - DEBUG - Verifying the default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 virtual network link through opserver 10.0.0.57
2025-08-10 12:15:16,345 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks
2025-08-10 12:15:16,635 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks
2025-08-10 12:15:16,687 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316?flat'}
2025-08-10 12:15:16,687 - INFO - Validated that VN default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 is found in opserver
2025-08-10 12:15:16,709 - DEBUG - Do not have enough data to verify VN in agent
2025-08-10 12:15:16,718 - DEBUG - VRF ids for VN ctest-vn-72406316: {}
2025-08-10 12:15:16,738 - DEBUG - Services list from nova: [, , , ]
2025-08-10 12:15:16,739 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3786-1', 'an-jenkins-deploy-platform-ansible-os-3786-2']}
2025-08-10 12:15:16,739 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3786-1', 'an-jenkins-deploy-platform-ansible-os-3786-2']}
2025-08-10 12:15:17,717 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3786-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3786-1)
2025-08-10 12:15:17,717 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3786-1', 'an-jenkins-deploy-platform-ansible-os-3786-2']}
2025-08-10 12:15:18,842 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3786-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3786-1)
2025-08-10 12:15:18,842 - INFO - Waiting for VM ctest-TestvifStats-25251841-62560409 to be up..
2025-08-10 12:15:18,911 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-10 12:15:23,982 - DEBUG - VM is in ACTIVE state now
2025-08-10 12:15:23,982 - INFO - VM name : ctest-TestvifStats-25251841-62560409
2025-08-10 12:15:24,044 - DEBUG - VM ctest-TestvifStats-25251841-62560409 ID is 479097e1-9dac-43f6-a3fe-68589b4dde1e
2025-08-10 12:15:24,067 - DEBUG - VM ctest-TestvifStats-25251841-62560409 launched on Node an-jenkins-deploy-platform-ansible-os-3786-1
2025-08-10 12:15:24,130 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/479097e1-9dac-43f6-a3fe-68589b4dde1e
2025-08-10 12:15:24,416 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/479097e1-9dac-43f6-a3fe-68589b4dde1e
2025-08-10 12:15:24,444 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/b95da420-ffe5-49ec-baf3-034d49260b67
2025-08-10 12:15:27,645 - 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-08-10 12:15:27,645 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25251841-62560409 failed!
2025-08-10 12:15:27,658 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 is 189.37.169.1 and allocation pool is NOT set
2025-08-10 12:15:31,738 - 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-10 12:15:31,738 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25251841-62560409 failed!
2025-08-10 12:15:31,751 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 is 189.37.169.1 and allocation pool is NOT set
2025-08-10 12:15:35,834 - 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-08-10 12:15:35,834 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25251841-62560409 failed!
2025-08-10 12:15:35,847 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 is 189.37.169.1 and allocation pool is NOT set
2025-08-10 12:15:39,934 - 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-08-10 12:15:39,934 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25251841-62560409 failed!
2025-08-10 12:15:39,948 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 is 189.37.169.1 and allocation pool is NOT set
2025-08-10 12:15:44,031 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2025-08-10 12:15:44,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25251841-62560409 failed!
2025-08-10 12:15:44,044 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 is 189.37.169.1 and allocation pool is NOT set
2025-08-10 12:15:48,126 - 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-10 12:15:48,126 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25251841-62560409 failed!
2025-08-10 12:15:48,141 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 is 189.37.169.1 and allocation pool is NOT set
2025-08-10 12:15:52,219 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2025-08-10 12:15:52,219 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25251841-62560409 failed!
2025-08-10 12:15:52,232 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 is 189.37.169.1 and allocation pool is NOT set
2025-08-10 12:15:56,313 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2025-08-10 12:15:56,313 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25251841-62560409 failed!
2025-08-10 12:15:56,326 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 is 189.37.169.1 and allocation pool is NOT set
2025-08-10 12:16:00,411 - 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-10 12:16:00,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25251841-62560409 failed!
2025-08-10 12:16:00,424 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25251841:ctest-vn-72406316 is 189.37.169.1 and allocation pool is NOT set
2025-08-10 12:16:02,486 - 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=6.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.98 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 = 2.979/4.509/6.040/1.530 ms')
2025-08-10 12:16:02,486 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25251841-62560409 passed
2025-08-10 12:16:02,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 12:16:02,600 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25251841-62560409, IP 189.37.169.3, Port 22
2025-08-10 12:16:02,666 - 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-10 12:16:02,741 - DEBUG - VM ctest-TestvifStats-25251841-62560409 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-10 12:16:07,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 12:16:07,742 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25251841-62560409, IP 189.37.169.3, Port 22
2025-08-10 12:16:07,807 - 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-10 12:16:07,874 - DEBUG - VM ctest-TestvifStats-25251841-62560409 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-10 12:16:12,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 12:16:12,875 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25251841-62560409, IP 189.37.169.3, Port 22
2025-08-10 12:16:12,943 - 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-10 12:16:13,008 - DEBUG - VM ctest-TestvifStats-25251841-62560409 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-10 12:16:18,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 12:16:18,009 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25251841-62560409, IP 189.37.169.3, Port 22
2025-08-10 12:16:18,074 - 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-10 12:16:18,140 - DEBUG - VM ctest-TestvifStats-25251841-62560409 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-10 12:16:23,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 12:16:23,141 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25251841-62560409, IP 189.37.169.3, Port 22
2025-08-10 12:16:23,307 - DEBUG - VM ctest-TestvifStats-25251841-62560409 is ready for SSH connections
2025-08-10 12:16:23,307 - INFO - Waiting for VM ctest-TestvifStats-25251841-36907587 to be up..
2025-08-10 12:16:23,372 - DEBUG - VM is in ACTIVE state now
2025-08-10 12:16:23,372 - INFO - VM name : ctest-TestvifStats-25251841-36907587
2025-08-10 12:16:23,440 - DEBUG - VM ctest-TestvifStats-25251841-36907587 ID is 27d4e934-ac89-49f0-b750-7e76719adab0
2025-08-10 12:16:23,440 - DEBUG - VM ctest-TestvifStats-25251841-36907587 launched on Node an-jenkins-deploy-platform-ansible-os-3786-1
2025-08-10 12:16:23,519 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/27d4e934-ac89-49f0-b750-7e76719adab0
2025-08-10 12:16:23,529 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/baf113d5-b8c2-412d-9088-e73a3b86c4cc
2025-08-10 12:16:24,727 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.91 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 = 2.912/2.956/3.001/0.044 ms')
2025-08-10 12:16:24,727 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-25251841-36907587 passed
2025-08-10 12:16:24,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 12:16:24,835 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25251841-36907587, IP 189.37.169.4, Port 22
2025-08-10 12:16:25,002 - DEBUG - VM ctest-TestvifStats-25251841-36907587 is ready for SSH connections
2025-08-10 12:16:25,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 12:16:25,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.37.169.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-08-10 12:16:25,003 - DEBUG - ping -s 56 -c 3 -W 1 189.37.169.4
2025-08-10 12:16:43,513 - DEBUG - PING 189.37.169.4 (189.37.169.4) 56(84) bytes of data.
64 bytes from 189.37.169.4: icmp_req=1 ttl=64 time=10.7 ms
64 bytes from 189.37.169.4: icmp_req=2 ttl=64 time=1.16 ms
64 bytes from 189.37.169.4: icmp_req=3 ttl=64 time=0.734 ms
--- 189.37.169.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.734/4.228/10.784/4.639 ms
2025-08-10 12:16:43,513 - INFO - Ping to IP 189.37.169.4 from VM ctest-TestvifStats-25251841-62560409 passed
2025-08-10 12:16:43,513 - INFO - 10.0.0.65
2025-08-10 12:16:43,513 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-10 12:16:43,624 - INFO - 13161
2025-08-10 12:16:43,723 - INFO - TX packets:12536
2025-08-10 12:16:43,723 - INFO - 12536
2025-08-10 12:16:43,723 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-10 12:16:43,827 - INFO - 20367
2025-08-10 12:16:43,930 - INFO - TX packets:21504
2025-08-10 12:16:43,930 - INFO - 21504
2025-08-10 12:16:43,930 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-10 12:16:44,035 - INFO - 8480
2025-08-10 12:16:44,139 - INFO - TX packets:7325
2025-08-10 12:16:44,139 - INFO - 7325
2025-08-10 12:16:44,139 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-10 12:16:44,242 - INFO - 268
2025-08-10 12:16:44,347 - INFO - TX packets:324
2025-08-10 12:16:44,347 - INFO - 324
2025-08-10 12:16:44,347 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-10 12:16:44,450 - INFO - 232
2025-08-10 12:16:44,558 - INFO - TX packets:255
2025-08-10 12:16:44,558 - INFO - 255
2025-08-10 12:16:44,558 - INFO - 10.0.0.65
2025-08-10 12:16:44,662 - INFO - Vif stats cleared successfully on all cores for all interfaces
2025-08-10 12:16:44,662 - INFO - 10.0.0.65
2025-08-10 12:16:44,662 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-10 12:16:44,762 - INFO - 0
2025-08-10 12:16:44,866 - INFO - TX packets:0
2025-08-10 12:16:44,866 - INFO - 0
2025-08-10 12:16:44,866 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-10 12:16:44,971 - INFO - 0
2025-08-10 12:16:45,078 - INFO - TX packets:0
2025-08-10 12:16:45,078 - INFO - 0
2025-08-10 12:16:45,078 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-10 12:16:45,186 - INFO - 1
2025-08-10 12:16:45,292 - INFO - TX packets:1
2025-08-10 12:16:45,292 - INFO - 1
2025-08-10 12:16:45,292 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-10 12:16:45,398 - INFO - 1
2025-08-10 12:16:45,502 - INFO - TX packets:1
2025-08-10 12:16:45,502 - INFO - 1
2025-08-10 12:16:45,502 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-10 12:16:45,607 - INFO - 0
2025-08-10 12:16:45,710 - INFO - TX packets:0
2025-08-10 12:16:45,710 - INFO - 0
2025-08-10 12:16:45,710 - INFO - Deleting VM ctest-TestvifStats-25251841-36907587
2025-08-10 12:16:45,769 - INFO - Deleting VM ctest-TestvifStats-25251841-62560409
2025-08-10 12:16:45,825 - INFO - Deleting VN ctest-vn-72406316
2025-08-10 12:16:45,859 - DEBUG - VN e68ff593-de84-4271-ac0f-44ed24c8784b still in use: Unable to complete operation on network e68ff593-de84-4271-ac0f-44ed24c8784b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0fdccf65-faeb-4529-a85b-f04e213ed5d0']
2025-08-10 12:16:45,859 - WARNING - Deleting VN ctest-vn-72406316 failed..Will retry
2025-08-10 12:16:47,983 - DEBUG - Response for deleting network ()
2025-08-10 12:16:47,983 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/275d44c7-7aef-407d-ad45-fa1ec5910fbe
2025-08-10 12:16:47,987 - DEBUG - Response Code: 404
2025-08-10 12:16:47,988 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-08-10 12:16:47,999 - DEBUG - Requesting: http://10.0.0.49:8082/domain/506b9682-8eb9-488e-ab69-24d332f4d228
2025-08-10 12:16:48,054 - DEBUG - Requesting: http://10.0.0.49:8082/project/b06c3845-1359-4af7-8010-c61b0ac3354b
2025-08-10 12:16:48,138 - INFO - Validated that VN ctest-vn-72406316 is not found in API Server
2025-08-10 12:16:48,150 - DEBUG - VN ctest-vn-72406316 is not present in Agent 10.0.0.65
2025-08-10 12:16:48,160 - DEBUG - VN ctest-vn-72406316 is not present in Agent 10.0.0.56
2025-08-10 12:16:48,160 - INFO - Validated that VN ctest-vn-72406316 is not in any agent
2025-08-10 12:16:48,189 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72406316 info
2025-08-10 12:16:49,431 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 12:16:49,431 - INFO - END TEST : test_vif_statistics : PASSED[0:01:37]
2025-08-10 12:16:49,431 - INFO - --------------------------------------------------------------------------------
2025-08-10 12:16:50,099 - INFO - Deleted project: ctest-TestvifStats-25251841, ID : b06c3845-1359-4af7-8010-c61b0ac3354b