2025-10-13 03:34:34,841 - INFO - Domain Default found not creating
2025-10-13 03:34:34,994 - INFO - Project ctest-TestvifStats-38530602 not found, creating it
2025-10-13 03:34:35,588 - INFO - Created Project:ctest-TestvifStats-38530602, ID : a670308b-d036-4bc3-a62b-7f77efb38903
2025-10-13 03:34:37,036 - INFO - ================================================================================
2025-10-13 03:34:37,036 - INFO - STARTING TEST : test_vif_statistics
2025-10-13 03:34:37,036 - 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-10-13 03:34:38,300 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.27': {'10.20.0.18': '0', '10.20.0.129': '0'}} with
2025-10-13 03:34:38,300 - INFO - Initial checks done. Running the testcase now
2025-10-13 03:34:38,300 - INFO -
2025-10-13 03:34:38,970 - DEBUG - Response for create_network : {'network': {'id': '39072ce9-1948-4fca-9bfe-d9d37dc89391', 'name': 'ctest-vn-65940448', 'tenant_id': 'a670308bd0364bc3a62b7f77efb38903', 'project_id': 'a670308bd0364bc3a62b7f77efb38903', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-38530602', 'ctest-vn-65940448'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 03:34:39,235 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4003e92-e71c-4a18-9afd-cd1d0858dc45', 'name': '', 'tenant_id': 'a670308bd0364bc3a62b7f77efb38903', 'network_id': '39072ce9-1948-4fca-9bfe-d9d37dc89391', 'ip_version': 4, 'cidr': '130.130.133.0/26', 'allocation_pools': [{'start': '130.130.133.2', 'end': '130.130.133.62'}], 'gateway_ip': '130.130.133.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.130.133.2', 'tags': [], 'project_id': 'a670308bd0364bc3a62b7f77efb38903'}}
2025-10-13 03:34:39,254 - INFO - Created VN ctest-vn-65940448
2025-10-13 03:34:39,267 - DEBUG - VN ctest-vn-65940448 UUID is 39072ce9-1948-4fca-9bfe-d9d37dc89391
2025-10-13 03:34:39,339 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-13 03:34:39,635 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-13 03:34:39,663 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3f9f083c-1111-458a-a630-ac922d5b730c
2025-10-13 03:34:39,678 - DEBUG - Requesting: http://10.0.0.22:8082/project/a670308b-d036-4bc3-a62b-7f77efb38903
2025-10-13 03:34:39,787 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/39072ce9-1948-4fca-9bfe-d9d37dc89391
2025-10-13 03:34:39,799 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/39072ce9-1948-4fca-9bfe-d9d37dc89391
2025-10-13 03:34:39,808 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/134b7f3b-b899-47f9-bbbb-f23037b4ca6e
2025-10-13 03:34:39,816 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/134b7f3b-b899-47f9-bbbb-f23037b4ca6e
2025-10-13 03:34:39,821 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bdab64a3-e395-4bdc-a3dd-14116b9202e0
2025-10-13 03:34:39,827 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-13 03:34:39,827 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/39072ce9-1948-4fca-9bfe-d9d37dc89391
2025-10-13 03:34:39,838 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/134b7f3b-b899-47f9-bbbb-f23037b4ca6e
2025-10-13 03:34:39,854 - INFO - Verified VN network id 13 for VN 39072ce9-1948-4fca-9bfe-d9d37dc89391
2025-10-13 03:34:39,854 - INFO - Verifications in API Server for VN ctest-vn-65940448 passed
2025-10-13 03:34:39,854 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/39072ce9-1948-4fca-9bfe-d9d37dc89391
2025-10-13 03:34:39,862 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/134b7f3b-b899-47f9-bbbb-f23037b4ca6e
2025-10-13 03:34:39,869 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/134b7f3b-b899-47f9-bbbb-f23037b4ca6e
2025-10-13 03:34:39,875 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bdab64a3-e395-4bdc-a3dd-14116b9202e0
2025-10-13 03:34:39,903 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-38530602', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4109302564662038474', 'uuid-lslong': '11240661222334960529'}, 'enable': 'true', 'created': '2025-10-13T03:34:38', 'last-modified': '2025-10-13T03:34:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.714000'}
2025-10-13 03:34:39,911 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-13 03:34:39,916 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-38530602', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4109302564662038474', 'uuid-lslong': '11240661222334960529'}, 'enable': 'true', 'created': '2025-10-13T03:34:38', 'last-modified': '2025-10-13T03:34:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.726285'}
2025-10-13 03:34:39,922 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-13 03:34:39,928 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-38530602', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4109302564662038474', 'uuid-lslong': '11240661222334960529'}, 'enable': 'true', 'created': '2025-10-13T03:34:38', 'last-modified': '2025-10-13T03:34:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.735896'}
2025-10-13 03:34:39,935 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-13 03:34:39,935 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65940448 passed
2025-10-13 03:34:39,935 - DEBUG - ====Verifying policy data for ctest-vn-65940448 in API_Server ======
2025-10-13 03:34:39,935 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-13 03:34:39,943 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3f9f083c-1111-458a-a630-ac922d5b730c
2025-10-13 03:34:39,955 - DEBUG - Requesting: http://10.0.0.22:8082/project/a670308b-d036-4bc3-a62b-7f77efb38903
2025-10-13 03:34:40,047 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/39072ce9-1948-4fca-9bfe-d9d37dc89391
2025-10-13 03:34:40,058 - DEBUG - =>VN ctest-vn-65940448 has no policy to be verified
2025-10-13 03:34:40,058 - DEBUG - Verifying the vn in opserver
2025-10-13 03:34:40,058 - DEBUG - Verifying the default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 virtual network link through opserver 10.0.0.22
2025-10-13 03:34:40,058 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2025-10-13 03:34:40,360 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2025-10-13 03:34:40,424 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448?flat'}
2025-10-13 03:34:40,424 - DEBUG - Verifying the default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 virtual network link through opserver 10.0.0.19
2025-10-13 03:34:40,425 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-13 03:34:40,730 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-13 03:34:40,783 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448?flat'}
2025-10-13 03:34:40,783 - DEBUG - Verifying the default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 virtual network link through opserver 10.0.0.41
2025-10-13 03:34:40,783 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-10-13 03:34:41,082 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2025-10-13 03:34:41,133 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448?flat'}
2025-10-13 03:34:41,133 - INFO - Validated that VN default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 is found in opserver
2025-10-13 03:34:41,152 - DEBUG - Do not have enough data to verify VN in agent
2025-10-13 03:34:41,160 - DEBUG - VRF ids for VN ctest-vn-65940448: {}
2025-10-13 03:34:41,187 - DEBUG - Services list from nova: [, , , ]
2025-10-13 03:34:41,187 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4296-1', 'an-jenkins-deploy-platform-ansible-os-4296-2']}
2025-10-13 03:34:41,187 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4296-1', 'an-jenkins-deploy-platform-ansible-os-4296-2']}
2025-10-13 03:34:42,302 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4296-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4296-1)
2025-10-13 03:34:42,302 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4296-1', 'an-jenkins-deploy-platform-ansible-os-4296-2']}
2025-10-13 03:34:43,624 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4296-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4296-1)
2025-10-13 03:34:43,624 - INFO - Waiting for VM ctest-TestvifStats-38530602-16699733 to be up..
2025-10-13 03:34:43,718 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-13 03:34:48,796 - DEBUG - VM is in ACTIVE state now
2025-10-13 03:34:48,796 - INFO - VM name : ctest-TestvifStats-38530602-16699733
2025-10-13 03:34:48,876 - DEBUG - VM ctest-TestvifStats-38530602-16699733 ID is fb61bc81-3fc1-4770-a804-e1e4a97ddda9
2025-10-13 03:34:48,907 - DEBUG - VM ctest-TestvifStats-38530602-16699733 launched on Node an-jenkins-deploy-platform-ansible-os-4296-1
2025-10-13 03:34:48,995 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/fb61bc81-3fc1-4770-a804-e1e4a97ddda9
2025-10-13 03:34:49,296 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/fb61bc81-3fc1-4770-a804-e1e4a97ddda9
2025-10-13 03:34:49,327 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/8f9f308f-69d4-4806-abf8-3ee59bf42c3c
2025-10-13 03:34:52,505 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms')
2025-10-13 03:34:52,505 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-38530602-16699733 failed!
2025-10-13 03:34:52,519 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 is 130.130.133.1 and allocation pool is NOT set
2025-10-13 03:34:56,607 - 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-10-13 03:34:56,607 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-38530602-16699733 failed!
2025-10-13 03:34:56,623 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 is 130.130.133.1 and allocation pool is NOT set
2025-10-13 03:35:00,703 - 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-10-13 03:35:00,703 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-38530602-16699733 failed!
2025-10-13 03:35:00,719 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 is 130.130.133.1 and allocation pool is NOT set
2025-10-13 03:35:04,802 - 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-10-13 03:35:04,802 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-38530602-16699733 failed!
2025-10-13 03:35:04,816 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 is 130.130.133.1 and allocation pool is NOT set
2025-10-13 03:35:08,889 - 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-10-13 03:35:08,889 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-38530602-16699733 failed!
2025-10-13 03:35:08,903 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 is 130.130.133.1 and allocation pool is NOT set
2025-10-13 03:35:12,987 - 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-10-13 03:35:12,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-38530602-16699733 failed!
2025-10-13 03:35:13,001 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 is 130.130.133.1 and allocation pool is NOT set
2025-10-13 03:35:17,086 - 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-10-13 03:35:17,086 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-38530602-16699733 failed!
2025-10-13 03:35:17,099 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 is 130.130.133.1 and allocation pool is NOT set
2025-10-13 03:35:21,187 - 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 1027ms')
2025-10-13 03:35:21,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-38530602-16699733 failed!
2025-10-13 03:35:21,201 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 is 130.130.133.1 and allocation pool is NOT set
2025-10-13 03:35:25,274 - 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-10-13 03:35:25,274 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-38530602-16699733 failed!
2025-10-13 03:35:25,287 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-38530602:ctest-vn-65940448 is 130.130.133.1 and allocation pool is NOT set
2025-10-13 03:35:29,378 - 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=2 ttl=63 time=14.5 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 14.455/14.455/14.455/0.000 ms')
2025-10-13 03:35:29,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-38530602-16699733 passed
2025-10-13 03:35:29,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:35:29,449 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-38530602-16699733, IP 130.130.133.3, Port 22
2025-10-13 03:35:29,521 - 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-10-13 03:35:29,613 - DEBUG - VM ctest-TestvifStats-38530602-16699733 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 03:35:34,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:35:34,614 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-38530602-16699733, IP 130.130.133.3, Port 22
2025-10-13 03:35:34,682 - 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-10-13 03:35:34,762 - DEBUG - VM ctest-TestvifStats-38530602-16699733 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 03:35:39,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:35:39,763 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-38530602-16699733, IP 130.130.133.3, Port 22
2025-10-13 03:35:39,829 - 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-10-13 03:35:39,911 - DEBUG - VM ctest-TestvifStats-38530602-16699733 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 03:35:44,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:35:44,912 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-38530602-16699733, IP 130.130.133.3, Port 22
2025-10-13 03:35:44,977 - 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-10-13 03:35:45,055 - DEBUG - VM ctest-TestvifStats-38530602-16699733 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-13 03:35:50,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:35:50,056 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-38530602-16699733, IP 130.130.133.3, Port 22
2025-10-13 03:35:50,226 - DEBUG - VM ctest-TestvifStats-38530602-16699733 is ready for SSH connections
2025-10-13 03:35:50,226 - INFO - Waiting for VM ctest-TestvifStats-38530602-31714505 to be up..
2025-10-13 03:35:50,316 - DEBUG - VM is in ACTIVE state now
2025-10-13 03:35:50,316 - INFO - VM name : ctest-TestvifStats-38530602-31714505
2025-10-13 03:35:50,412 - DEBUG - VM ctest-TestvifStats-38530602-31714505 ID is 788b8d3b-6372-424c-825e-87c977c0a7eb
2025-10-13 03:35:50,412 - DEBUG - VM ctest-TestvifStats-38530602-31714505 launched on Node an-jenkins-deploy-platform-ansible-os-4296-1
2025-10-13 03:35:50,498 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/788b8d3b-6372-424c-825e-87c977c0a7eb
2025-10-13 03:35:50,508 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e823a093-19ca-4626-9272-1933d450c8b2
2025-10-13 03:35:51,669 - 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=7.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.43 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.430/4.772/7.115/2.342 ms')
2025-10-13 03:35:51,670 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-38530602-31714505 passed
2025-10-13 03:35:51,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:35:51,737 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-38530602-31714505, IP 130.130.133.4, Port 22
2025-10-13 03:35:51,902 - DEBUG - VM ctest-TestvifStats-38530602-31714505 is ready for SSH connections
2025-10-13 03:35:51,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-13 03:35:51,902 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.130.133.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-10-13 03:35:51,902 - DEBUG - ping -s 56 -c 3 -W 1 130.130.133.4
2025-10-13 03:36:15,391 - DEBUG - PING 130.130.133.4 (130.130.133.4) 56(84) bytes of data.
64 bytes from 130.130.133.4: icmp_req=1 ttl=64 time=7.93 ms
64 bytes from 130.130.133.4: icmp_req=2 ttl=64 time=0.808 ms
64 bytes from 130.130.133.4: icmp_req=3 ttl=64 time=0.808 ms
--- 130.130.133.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.808/3.182/7.930/3.357 ms
2025-10-13 03:36:15,391 - INFO - Ping to IP 130.130.133.4 from VM ctest-TestvifStats-38530602-16699733 passed
2025-10-13 03:36:15,391 - INFO - 10.0.0.249
2025-10-13 03:36:15,391 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-13 03:36:15,495 - INFO - Deleting VM ctest-TestvifStats-38530602-31714505
2025-10-13 03:36:15,581 - INFO - Deleting VM ctest-TestvifStats-38530602-16699733
2025-10-13 03:36:15,648 - INFO - Deleting VN ctest-vn-65940448
2025-10-13 03:36:15,722 - DEBUG - VN 39072ce9-1948-4fca-9bfe-d9d37dc89391 still in use: Unable to complete operation on network 39072ce9-1948-4fca-9bfe-d9d37dc89391. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-287013d0-de58-483c-987c-488e73e9df88']
2025-10-13 03:36:15,722 - WARNING - Deleting VN ctest-vn-65940448 failed..Will retry
2025-10-13 03:36:17,875 - DEBUG - Response for deleting network ()
2025-10-13 03:36:17,875 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/134b7f3b-b899-47f9-bbbb-f23037b4ca6e
2025-10-13 03:36:17,881 - DEBUG - Response Code: 404
2025-10-13 03:36:17,881 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2025-10-13 03:36:17,887 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3f9f083c-1111-458a-a630-ac922d5b730c
2025-10-13 03:36:17,914 - DEBUG - Requesting: http://10.0.0.22:8082/project/a670308b-d036-4bc3-a62b-7f77efb38903
2025-10-13 03:36:18,005 - INFO - Validated that VN ctest-vn-65940448 is not found in API Server
2025-10-13 03:36:18,015 - DEBUG - VN ctest-vn-65940448 is not present in Agent 10.0.0.249
2025-10-13 03:36:18,026 - DEBUG - VN ctest-vn-65940448 is not present in Agent 10.0.0.27
2025-10-13 03:36:18,026 - INFO - Validated that VN ctest-vn-65940448 is not in any agent
2025-10-13 03:36:18,054 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65940448 info
2025-10-13 03:36:19,318 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Mon Oct 13 03:36:15 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/scripts/vrouter/test_vif_stats.py in test_vif_statistics(self=)
89 assert client_fixtures[0].ping_with_certainty(server_fixtures[0].vm_ip, expectation=True), "ping failed"
90 compute_ip = server_fixtures[0].vm_node_ip
91 stats_pre_clr = self.get_vif_stats(compute_ip)
92 self.clear_vif_stats(compute_ip)
93 stats_post_clr = self.get_vif_stats(compute_ip)
stats_pre_clr undefined
self =
self.get_vif_stats = >
compute_ip = '10.0.0.249'
/contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.249')
28 assert vif_out, "vif stats for %s is not working" % vif_rx_cmd
29 if not "RX packets" in vif_out:
30 assert False, "RX packets is not available"
31 else:
32 result = vif_out.split()
AssertionError: RX packets is not available
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Assertion failed.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ('RX packets is not available',)
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/vrouter/test_vif_stats.py", line 91, in test_vif_statistics
stats_pre_clr = self.get_vif_stats(compute_ip)
File "/contrail-test/scripts/vrouter/test_vif_stats.py", line 30, in get_vif_stats
assert False, "RX packets is not available"
AssertionError: RX packets is not available
2025-10-13 03:36:19,331 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 03:36:19,331 - INFO -
2025-10-13 03:36:19,331 - INFO - END TEST : test_vif_statistics : FAILED[0:01:42]
2025-10-13 03:36:19,332 - INFO - --------------------------------------------------------------------------------
2025-10-13 03:36:20,034 - INFO - Deleted project: ctest-TestvifStats-38530602, ID : a670308b-d036-4bc3-a62b-7f77efb38903