2025-08-26 01:28:28,307 - INFO - Domain Default found not creating
2025-08-26 01:28:28,515 - INFO - Project ctest-TestvifStats-53635895 not found, creating it
2025-08-26 01:28:29,241 - INFO - Created Project:ctest-TestvifStats-53635895, ID : 0848e057-8121-47e4-9f71-4aa954bf1326
2025-08-26 01:28:30,952 - INFO - ================================================================================
2025-08-26 01:28:30,952 - INFO - STARTING TEST : test_vif_statistics
2025-08-26 01:28:30,953 - 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-26 01:28:32,365 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.41': {'10.20.0.25': '0', '10.20.0.14': '0'}} with
2025-08-26 01:28:32,365 - INFO - Initial checks done. Running the testcase now
2025-08-26 01:28:32,367 - INFO -
2025-08-26 01:28:33,179 - DEBUG - Response for create_network : {'network': {'id': '47592169-553f-4a2a-bbba-00c54fc9cf28', 'name': 'ctest-vn-80685333', 'tenant_id': '0848e057812147e49f714aa954bf1326', 'project_id': '0848e057812147e49f714aa954bf1326', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-53635895', 'ctest-vn-80685333'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 01:28:33,544 - DEBUG - Response for create_subnet : {'subnet': {'id': '9585d88c-49ce-4db4-b8e5-0971e9fc48fa', 'name': '', 'tenant_id': '0848e057812147e49f714aa954bf1326', 'network_id': '47592169-553f-4a2a-bbba-00c54fc9cf28', 'ip_version': 4, 'cidr': '7.204.82.0/26', 'allocation_pools': [{'start': '7.204.82.2', 'end': '7.204.82.62'}], 'gateway_ip': '7.204.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.204.82.2', 'tags': [], 'project_id': '0848e057812147e49f714aa954bf1326'}}
2025-08-26 01:28:33,571 - INFO - Created VN ctest-vn-80685333
2025-08-26 01:28:33,590 - DEBUG - VN ctest-vn-80685333 UUID is 47592169-553f-4a2a-bbba-00c54fc9cf28
2025-08-26 01:28:33,684 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-08-26 01:28:34,008 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-08-26 01:28:34,047 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ef4dcfcd-b3c2-4159-a2f0-815ca79e3b02
2025-08-26 01:28:34,068 - DEBUG - Requesting: http://10.0.0.49:8082/project/0848e057-8121-47e4-9f71-4aa954bf1326
2025-08-26 01:28:34,176 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/47592169-553f-4a2a-bbba-00c54fc9cf28
2025-08-26 01:28:34,199 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/47592169-553f-4a2a-bbba-00c54fc9cf28
2025-08-26 01:28:34,213 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c324e0e8-5b64-4a0c-883f-9576ab97b325
2025-08-26 01:28:34,224 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c324e0e8-5b64-4a0c-883f-9576ab97b325
2025-08-26 01:28:34,236 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/ced5e16b-c270-4f79-9368-ca4cc7f0f468
2025-08-26 01:28:34,248 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-26 01:28:34,248 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/47592169-553f-4a2a-bbba-00c54fc9cf28
2025-08-26 01:28:34,259 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c324e0e8-5b64-4a0c-883f-9576ab97b325
2025-08-26 01:28:34,278 - INFO - Verified VN network id 11 for VN 47592169-553f-4a2a-bbba-00c54fc9cf28
2025-08-26 01:28:34,279 - INFO - Verifications in API Server for VN ctest-vn-80685333 passed
2025-08-26 01:28:34,280 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/47592169-553f-4a2a-bbba-00c54fc9cf28
2025-08-26 01:28:34,293 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c324e0e8-5b64-4a0c-883f-9576ab97b325
2025-08-26 01:28:34,301 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c324e0e8-5b64-4a0c-883f-9576ab97b325
2025-08-26 01:28:34,315 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/ced5e16b-c270-4f79-9368-ca4cc7f0f468
2025-08-26 01:28:34,338 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-53635895', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5141177185905625642', 'uuid-lslong': '13527125278207889192'}, 'enable': 'true', 'created': '2025-08-26T01:28:33', 'last-modified': '2025-08-26T01:28:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.887350'}
2025-08-26 01:28:34,348 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-26 01:28:34,355 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-53635895', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5141177185905625642', 'uuid-lslong': '13527125278207889192'}, 'enable': 'true', 'created': '2025-08-26T01:28:33', 'last-modified': '2025-08-26T01:28:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.910637'}
2025-08-26 01:28:34,375 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-26 01:28:34,385 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-53635895', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5141177185905625642', 'uuid-lslong': '13527125278207889192'}, 'enable': 'true', 'created': '2025-08-26T01:28:33', 'last-modified': '2025-08-26T01:28:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942964'}
2025-08-26 01:28:34,393 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-26 01:28:34,393 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80685333 passed
2025-08-26 01:28:34,393 - DEBUG - ====Verifying policy data for ctest-vn-80685333 in API_Server ======
2025-08-26 01:28:34,393 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-08-26 01:28:34,401 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ef4dcfcd-b3c2-4159-a2f0-815ca79e3b02
2025-08-26 01:28:34,417 - DEBUG - Requesting: http://10.0.0.49:8082/project/0848e057-8121-47e4-9f71-4aa954bf1326
2025-08-26 01:28:34,545 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/47592169-553f-4a2a-bbba-00c54fc9cf28
2025-08-26 01:28:34,557 - DEBUG - =>VN ctest-vn-80685333 has no policy to be verified
2025-08-26 01:28:34,558 - DEBUG - Verifying the vn in opserver
2025-08-26 01:28:34,558 - DEBUG - Verifying the default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 virtual network link through opserver 10.0.0.49
2025-08-26 01:28:34,558 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks
2025-08-26 01:28:34,999 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks
2025-08-26 01:28:35,065 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333?flat'}
2025-08-26 01:28:35,065 - DEBUG - Verifying the default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 virtual network link through opserver 10.0.0.33
2025-08-26 01:28:35,065 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-08-26 01:28:35,370 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-08-26 01:28:35,444 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333?flat'}
2025-08-26 01:28:35,444 - DEBUG - Verifying the default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 virtual network link through opserver 10.0.0.254
2025-08-26 01:28:35,444 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-08-26 01:28:35,773 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-08-26 01:28:35,839 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333?flat'}
2025-08-26 01:28:35,839 - INFO - Validated that VN default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 is found in opserver
2025-08-26 01:28:35,880 - DEBUG - Do not have enough data to verify VN in agent
2025-08-26 01:28:35,901 - DEBUG - VRF ids for VN ctest-vn-80685333: {}
2025-08-26 01:28:35,931 - DEBUG - Services list from nova: [, , , ]
2025-08-26 01:28:35,931 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3931-1', 'an-jenkins-deploy-platform-ansible-os-3931-2']}
2025-08-26 01:28:35,931 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3931-1', 'an-jenkins-deploy-platform-ansible-os-3931-2']}
2025-08-26 01:28:37,259 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3931-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3931-1)
2025-08-26 01:28:37,260 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3931-1', 'an-jenkins-deploy-platform-ansible-os-3931-2']}
2025-08-26 01:28:39,420 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3931-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3931-1)
2025-08-26 01:28:39,420 - INFO - Waiting for VM ctest-TestvifStats-53635895-77701283 to be up..
2025-08-26 01:28:39,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-26 01:28:44,669 - DEBUG - VM is in ACTIVE state now
2025-08-26 01:28:44,669 - INFO - VM name : ctest-TestvifStats-53635895-77701283
2025-08-26 01:28:44,760 - DEBUG - VM ctest-TestvifStats-53635895-77701283 ID is 97ce2d16-227d-457e-941e-9245dbf7abdf
2025-08-26 01:28:44,811 - DEBUG - VM ctest-TestvifStats-53635895-77701283 launched on Node an-jenkins-deploy-platform-ansible-os-3931-1
2025-08-26 01:28:44,935 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/97ce2d16-227d-457e-941e-9245dbf7abdf
2025-08-26 01:28:45,332 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/97ce2d16-227d-457e-941e-9245dbf7abdf
2025-08-26 01:28:45,372 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a2c8f6ba-e4f9-40b0-91a0-a4cdeee08471
2025-08-26 01:28:48,568 - 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 1008ms')
2025-08-26 01:28:48,569 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-53635895-77701283 failed!
2025-08-26 01:28:48,593 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 is 7.204.82.1 and allocation pool is NOT set
2025-08-26 01:28:52,668 - 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-26 01:28:52,668 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-53635895-77701283 failed!
2025-08-26 01:28:52,685 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 is 7.204.82.1 and allocation pool is NOT set
2025-08-26 01:28:56,766 - 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-26 01:28:56,766 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-53635895-77701283 failed!
2025-08-26 01:28:56,784 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 is 7.204.82.1 and allocation pool is NOT set
2025-08-26 01:29:00,862 - 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-08-26 01:29:00,862 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-53635895-77701283 failed!
2025-08-26 01:29:00,882 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 is 7.204.82.1 and allocation pool is NOT set
2025-08-26 01:29:04,990 - 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 1031ms')
2025-08-26 01:29:04,990 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-53635895-77701283 failed!
2025-08-26 01:29:05,028 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 is 7.204.82.1 and allocation pool is NOT set
2025-08-26 01:29:09,114 - 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-26 01:29:09,114 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-53635895-77701283 failed!
2025-08-26 01:29:09,144 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 is 7.204.82.1 and allocation pool is NOT set
2025-08-26 01:29:13,240 - 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 1031ms')
2025-08-26 01:29:13,240 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-53635895-77701283 failed!
2025-08-26 01:29:13,255 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 is 7.204.82.1 and allocation pool is NOT set
2025-08-26 01:29:17,350 - 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-26 01:29:17,350 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-53635895-77701283 failed!
2025-08-26 01:29:17,378 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 is 7.204.82.1 and allocation pool is NOT set
2025-08-26 01:29:21,471 - 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-26 01:29:21,471 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-53635895-77701283 failed!
2025-08-26 01:29:21,508 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-53635895:ctest-vn-80685333 is 7.204.82.1 and allocation pool is NOT set
2025-08-26 01:29:23,583 - 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=5.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=12.5 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 = 5.478/9.012/12.546/3.534 ms')
2025-08-26 01:29:23,583 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-53635895-77701283 passed
2025-08-26 01:29:23,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:29:23,658 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-53635895-77701283, IP 7.204.82.3, Port 22
2025-08-26 01:29:23,726 - 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-26 01:29:23,880 - DEBUG - VM ctest-TestvifStats-53635895-77701283 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:29:28,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:29:28,882 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-53635895-77701283, IP 7.204.82.3, Port 22
2025-08-26 01:29:28,950 - 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-26 01:29:29,096 - DEBUG - VM ctest-TestvifStats-53635895-77701283 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:29:34,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:29:34,097 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-53635895-77701283, IP 7.204.82.3, Port 22
2025-08-26 01:29:34,165 - 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-26 01:29:34,269 - DEBUG - VM ctest-TestvifStats-53635895-77701283 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:29:39,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:29:39,270 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-53635895-77701283, IP 7.204.82.3, Port 22
2025-08-26 01:29:39,338 - 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-26 01:29:39,499 - DEBUG - VM ctest-TestvifStats-53635895-77701283 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:29:44,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:29:44,499 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-53635895-77701283, IP 7.204.82.3, Port 22
2025-08-26 01:29:44,673 - DEBUG - VM ctest-TestvifStats-53635895-77701283 is ready for SSH connections
2025-08-26 01:29:44,673 - INFO - Waiting for VM ctest-TestvifStats-53635895-98728141 to be up..
2025-08-26 01:29:44,786 - DEBUG - VM is in ACTIVE state now
2025-08-26 01:29:44,786 - INFO - VM name : ctest-TestvifStats-53635895-98728141
2025-08-26 01:29:44,888 - DEBUG - VM ctest-TestvifStats-53635895-98728141 ID is 3550e81a-ee24-4167-9152-07188df10d41
2025-08-26 01:29:44,888 - DEBUG - VM ctest-TestvifStats-53635895-98728141 launched on Node an-jenkins-deploy-platform-ansible-os-3931-1
2025-08-26 01:29:44,997 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3550e81a-ee24-4167-9152-07188df10d41
2025-08-26 01:29:45,007 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6551bd17-1759-41f4-bf21-107784a8e785
2025-08-26 01:29:46,182 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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 = 1.186/2.235/3.284/1.049 ms')
2025-08-26 01:29:46,183 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-53635895-98728141 passed
2025-08-26 01:29:46,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:29:46,273 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-53635895-98728141, IP 7.204.82.4, Port 22
2025-08-26 01:29:46,343 - 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-26 01:29:46,434 - DEBUG - VM ctest-TestvifStats-53635895-98728141 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-26 01:29:51,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:29:51,435 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-53635895-98728141, IP 7.204.82.4, Port 22
2025-08-26 01:29:51,596 - DEBUG - VM ctest-TestvifStats-53635895-98728141 is ready for SSH connections
2025-08-26 01:29:51,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 01:29:51,597 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.204.82.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-08-26 01:29:51,597 - DEBUG - ping -s 56 -c 3 -W 1 7.204.82.4
2025-08-26 01:30:09,694 - DEBUG - PING 7.204.82.4 (7.204.82.4) 56(84) bytes of data.
64 bytes from 7.204.82.4: icmp_req=1 ttl=64 time=6.26 ms
64 bytes from 7.204.82.4: icmp_req=2 ttl=64 time=1.76 ms
64 bytes from 7.204.82.4: icmp_req=3 ttl=64 time=2.42 ms
--- 7.204.82.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.768/3.486/6.263/1.981 ms
2025-08-26 01:30:09,694 - INFO - Ping to IP 7.204.82.4 from VM ctest-TestvifStats-53635895-77701283 passed
2025-08-26 01:30:09,694 - INFO - 10.0.0.137
2025-08-26 01:30:09,694 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-26 01:30:09,794 - INFO - 13495
2025-08-26 01:30:09,905 - INFO - TX packets:14824
2025-08-26 01:30:09,906 - INFO - 14824
2025-08-26 01:30:09,907 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-26 01:30:10,010 - INFO - 23178
2025-08-26 01:30:10,124 - INFO - TX packets:22527
2025-08-26 01:30:10,125 - INFO - 22527
2025-08-26 01:30:10,125 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-26 01:30:10,241 - INFO - 9524
2025-08-26 01:30:10,341 - INFO - TX packets:8158
2025-08-26 01:30:10,341 - INFO - 8158
2025-08-26 01:30:10,342 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-26 01:30:10,449 - INFO - 287
2025-08-26 01:30:10,569 - INFO - TX packets:335
2025-08-26 01:30:10,569 - INFO - 335
2025-08-26 01:30:10,569 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-26 01:30:10,684 - INFO - 225
2025-08-26 01:30:10,782 - INFO - TX packets:265
2025-08-26 01:30:10,782 - INFO - 265
2025-08-26 01:30:10,782 - INFO - 10.0.0.137
2025-08-26 01:30:10,890 - INFO - Vif stats cleared successfully on all cores for all interfaces
2025-08-26 01:30:10,890 - INFO - 10.0.0.137
2025-08-26 01:30:10,890 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-26 01:30:11,001 - INFO - 0
2025-08-26 01:30:11,116 - INFO - TX packets:0
2025-08-26 01:30:11,117 - INFO - 0
2025-08-26 01:30:11,117 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-26 01:30:11,229 - INFO - 0
2025-08-26 01:30:11,359 - INFO - TX packets:0
2025-08-26 01:30:11,360 - INFO - 0
2025-08-26 01:30:11,362 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-26 01:30:11,457 - INFO - 0
2025-08-26 01:30:11,564 - INFO - TX packets:1
2025-08-26 01:30:11,564 - INFO - 1
2025-08-26 01:30:11,564 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-26 01:30:11,677 - INFO - 1
2025-08-26 01:30:11,779 - INFO - TX packets:1
2025-08-26 01:30:11,781 - INFO - 1
2025-08-26 01:30:11,782 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-08-26 01:30:11,889 - INFO - 1
2025-08-26 01:30:11,994 - INFO - TX packets:1
2025-08-26 01:30:11,994 - INFO - 1
2025-08-26 01:30:11,995 - INFO - Deleting VM ctest-TestvifStats-53635895-98728141
2025-08-26 01:30:12,098 - INFO - Deleting VM ctest-TestvifStats-53635895-77701283
2025-08-26 01:30:12,208 - INFO - Deleting VN ctest-vn-80685333
2025-08-26 01:30:12,265 - DEBUG - VN 47592169-553f-4a2a-bbba-00c54fc9cf28 still in use: Unable to complete operation on network 47592169-553f-4a2a-bbba-00c54fc9cf28. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0e04d9ca-0d52-46c2-87b8-9bbbaff4a15d']
2025-08-26 01:30:12,265 - WARNING - Deleting VN ctest-vn-80685333 failed..Will retry
2025-08-26 01:30:14,490 - DEBUG - Response for deleting network ()
2025-08-26 01:30:14,490 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c324e0e8-5b64-4a0c-883f-9576ab97b325
2025-08-26 01:30:14,505 - DEBUG - Response Code: 404
2025-08-26 01:30:14,505 - DEBUG - Requesting: http://10.0.0.49:8082/domains
2025-08-26 01:30:14,515 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ef4dcfcd-b3c2-4159-a2f0-815ca79e3b02
2025-08-26 01:30:14,546 - DEBUG - Requesting: http://10.0.0.49:8082/project/0848e057-8121-47e4-9f71-4aa954bf1326
2025-08-26 01:30:14,686 - INFO - Validated that VN ctest-vn-80685333 is not found in API Server
2025-08-26 01:30:14,714 - DEBUG - VN ctest-vn-80685333 is not present in Agent 10.0.0.137
2025-08-26 01:30:14,744 - DEBUG - VN ctest-vn-80685333 is not present in Agent 10.0.0.41
2025-08-26 01:30:14,744 - INFO - Validated that VN ctest-vn-80685333 is not in any agent
2025-08-26 01:30:14,791 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80685333 info
2025-08-26 01:30:16,153 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 01:30:16,153 - INFO - END TEST : test_vif_statistics : PASSED[0:01:46]
2025-08-26 01:30:16,154 - INFO - --------------------------------------------------------------------------------
2025-08-26 01:30:17,088 - INFO - Deleted project: ctest-TestvifStats-53635895, ID : 0848e057-8121-47e4-9f71-4aa954bf1326