2025-10-15 17:15:04,990 - INFO - Domain Default found not creating
2025-10-15 17:15:05,129 - INFO - Project ctest-TestvifStats-25164726 not found, creating it
2025-10-15 17:15:05,649 - INFO - Created Project:ctest-TestvifStats-25164726, ID : ab7963cd-b62b-477f-9966-005d8cd5c9ed 
2025-10-15 17:15:07,027 - INFO - ================================================================================
2025-10-15 17:15:07,027 - INFO - STARTING TEST    : test_vif_statistics
2025-10-15 17:15:07,027 - 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-15 17:15:08,350 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.5': '0', '10.20.0.18': '0'}, '10.0.0.33': {'10.20.0.18': '0', '10.20.0.252': '0'}} with
2025-10-15 17:15:08,350 - INFO - Initial checks done. Running the testcase now
2025-10-15 17:15:08,350 - INFO - 
2025-10-15 17:15:08,994 - DEBUG - Response for create_network : {'network': {'id': '63014a07-3fc9-4972-82df-710eac4046f8', 'name': 'ctest-vn-83961041', 'tenant_id': 'ab7963cdb62b477f9966005d8cd5c9ed', 'project_id': 'ab7963cdb62b477f9966005d8cd5c9ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-25164726', 'ctest-vn-83961041'], 'port_security_enabled': True, 'description': ''}}
2025-10-15 17:15:09,215 - DEBUG - Response for create_subnet : {'subnet': {'id': '9282825d-3c03-42a7-8016-6939541f425f', 'name': '', 'tenant_id': 'ab7963cdb62b477f9966005d8cd5c9ed', 'network_id': '63014a07-3fc9-4972-82df-710eac4046f8', 'ip_version': 4, 'cidr': '145.78.245.0/26', 'allocation_pools': [{'start': '145.78.245.2', 'end': '145.78.245.62'}], 'gateway_ip': '145.78.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.78.245.2', 'tags': [], 'project_id': 'ab7963cdb62b477f9966005d8cd5c9ed'}}
2025-10-15 17:15:09,243 - INFO - Created VN ctest-vn-83961041
2025-10-15 17:15:09,254 - DEBUG - VN ctest-vn-83961041 UUID is 63014a07-3fc9-4972-82df-710eac4046f8
2025-10-15 17:15:09,330 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2025-10-15 17:15:09,623 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2025-10-15 17:15:09,651 - DEBUG - Requesting: http://10.0.0.130:8082/domain/424b027d-9a59-4bc3-a9ea-fd1131d532cb
2025-10-15 17:15:09,664 - DEBUG - Requesting: http://10.0.0.130:8082/project/ab7963cd-b62b-477f-9966-005d8cd5c9ed
2025-10-15 17:15:09,751 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/63014a07-3fc9-4972-82df-710eac4046f8
2025-10-15 17:15:09,763 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/63014a07-3fc9-4972-82df-710eac4046f8
2025-10-15 17:15:09,772 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/db091a83-ea75-4a32-9bbe-271167cc75c6
2025-10-15 17:15:09,787 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/db091a83-ea75-4a32-9bbe-271167cc75c6
2025-10-15 17:15:09,794 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/b967521c-ff22-4c31-b55a-0ef80aaf1b56
2025-10-15 17:15:09,803 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-15 17:15:09,803 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/63014a07-3fc9-4972-82df-710eac4046f8
2025-10-15 17:15:09,818 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/db091a83-ea75-4a32-9bbe-271167cc75c6
2025-10-15 17:15:09,837 - INFO - Verified VN network id 15 for VN 63014a07-3fc9-4972-82df-710eac4046f8
2025-10-15 17:15:09,837 - INFO - Verifications in API Server for VN ctest-vn-83961041 passed
2025-10-15 17:15:09,837 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/63014a07-3fc9-4972-82df-710eac4046f8
2025-10-15 17:15:09,847 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/db091a83-ea75-4a32-9bbe-271167cc75c6
2025-10-15 17:15:09,855 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/db091a83-ea75-4a32-9bbe-271167cc75c6
2025-10-15 17:15:09,862 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/b967521c-ff22-4c31-b55a-0ef80aaf1b56
2025-10-15 17:15:09,876 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-25164726', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7134064679726958962', 'uuid-lslong': '9430380452570482424'}, 'enable': 'true', 'created': '2025-10-15T17:15:08', 'last-modified': '2025-10-15T17:15:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.704678'}
2025-10-15 17:15:09,882 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-15 17:15:09,888 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-25164726', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7134064679726958962', 'uuid-lslong': '9430380452570482424'}, 'enable': 'true', 'created': '2025-10-15T17:15:08', 'last-modified': '2025-10-15T17:15:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.716845'}
2025-10-15 17:15:09,895 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-15 17:15:09,903 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-25164726', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7134064679726958962', 'uuid-lslong': '9430380452570482424'}, 'enable': 'true', 'created': '2025-10-15T17:15:08', 'last-modified': '2025-10-15T17:15:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.733619'}
2025-10-15 17:15:09,910 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-15 17:15:09,910 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83961041 passed
2025-10-15 17:15:09,910 - DEBUG - ====Verifying policy data for ctest-vn-83961041 in API_Server ======
2025-10-15 17:15:09,910 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2025-10-15 17:15:09,919 - DEBUG - Requesting: http://10.0.0.130:8082/domain/424b027d-9a59-4bc3-a9ea-fd1131d532cb
2025-10-15 17:15:09,931 - DEBUG - Requesting: http://10.0.0.130:8082/project/ab7963cd-b62b-477f-9966-005d8cd5c9ed
2025-10-15 17:15:10,018 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/63014a07-3fc9-4972-82df-710eac4046f8
2025-10-15 17:15:10,027 - DEBUG - =>VN ctest-vn-83961041 has no policy to be verified
2025-10-15 17:15:10,027 - DEBUG - Verifying the vn in opserver
2025-10-15 17:15:10,027 - DEBUG - Verifying the default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 virtual network link  through opserver 10.0.0.130
2025-10-15 17:15:10,027 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2025-10-15 17:15:10,314 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2025-10-15 17:15:10,375 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041?flat'}
2025-10-15 17:15:10,375 - DEBUG - Verifying the default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 virtual network link  through opserver 10.0.0.131
2025-10-15 17:15:10,375 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-10-15 17:15:10,669 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-10-15 17:15:10,731 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041?flat'}
2025-10-15 17:15:10,731 - DEBUG - Verifying the default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 virtual network link  through opserver 10.0.0.137
2025-10-15 17:15:10,731 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks
2025-10-15 17:15:11,024 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks
2025-10-15 17:15:11,087 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041?flat'}
2025-10-15 17:15:11,087 - INFO - Validated that VN default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 is found in opserver
2025-10-15 17:15:11,111 - DEBUG - Do not have enough data to verify VN in agent
2025-10-15 17:15:11,123 - DEBUG - VRF ids for VN ctest-vn-83961041: {}
2025-10-15 17:15:11,147 - DEBUG - Services list from nova: [, , , ]
2025-10-15 17:15:11,147 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4330-1', 'an-jenkins-deploy-platform-ansible-os-4330-2']}
2025-10-15 17:15:11,147 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4330-1', 'an-jenkins-deploy-platform-ansible-os-4330-2']}
2025-10-15 17:15:12,254 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4330-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4330-1)
2025-10-15 17:15:12,254 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4330-1', 'an-jenkins-deploy-platform-ansible-os-4330-2']}
2025-10-15 17:15:13,422 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4330-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4330-1)
2025-10-15 17:15:13,423 - INFO - Waiting for VM ctest-TestvifStats-25164726-38305559 to be up..
2025-10-15 17:15:13,514 - DEBUG - VM  is still in BUILD state, Expected: ACTIVE
2025-10-15 17:15:18,600 - DEBUG - VM  is in ACTIVE state now
2025-10-15 17:15:18,600 - INFO - VM name : ctest-TestvifStats-25164726-38305559
2025-10-15 17:15:18,693 - DEBUG - VM ctest-TestvifStats-25164726-38305559 ID is f4c961ef-bb7e-45df-9164-b17e5fd8e115
2025-10-15 17:15:18,714 - DEBUG - VM ctest-TestvifStats-25164726-38305559 launched on Node an-jenkins-deploy-platform-ansible-os-4330-1
2025-10-15 17:15:18,790 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/f4c961ef-bb7e-45df-9164-b17e5fd8e115
2025-10-15 17:15:19,083 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/f4c961ef-bb7e-45df-9164-b17e5fd8e115
2025-10-15 17:15:19,117 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/0c9bea42-5314-4e6e-b335-b642d2e8ec41
2025-10-15 17:15:22,288 - 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-10-15 17:15:22,288 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25164726-38305559 failed!
2025-10-15 17:15:22,304 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 is 145.78.245.1 and allocation pool is NOT set
2025-10-15 17:15:26,385 - 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 1012ms')
2025-10-15 17:15:26,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25164726-38305559 failed!
2025-10-15 17:15:26,407 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 is 145.78.245.1 and allocation pool is NOT set
2025-10-15 17:15:30,480 - 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-10-15 17:15:30,480 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25164726-38305559 failed!
2025-10-15 17:15:30,495 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 is 145.78.245.1 and allocation pool is NOT set
2025-10-15 17:15:34,578 - 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 1013ms')
2025-10-15 17:15:34,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25164726-38305559 failed!
2025-10-15 17:15:34,593 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 is 145.78.245.1 and allocation pool is NOT set
2025-10-15 17:15:38,676 - 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-15 17:15:38,676 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25164726-38305559 failed!
2025-10-15 17:15:38,695 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 is 145.78.245.1 and allocation pool is NOT set
2025-10-15 17:15:42,765 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms')
2025-10-15 17:15:42,765 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25164726-38305559 failed!
2025-10-15 17:15:42,782 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 is 145.78.245.1 and allocation pool is NOT set
2025-10-15 17:15:46,864 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1004ms')
2025-10-15 17:15:46,864 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25164726-38305559 failed!
2025-10-15 17:15:46,881 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 is 145.78.245.1 and allocation pool is NOT set
2025-10-15 17:15:50,952 - 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-10-15 17:15:50,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25164726-38305559 failed!
2025-10-15 17:15:50,969 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 is 145.78.245.1 and allocation pool is NOT set
2025-10-15 17:15:55,051 - 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-15 17:15:55,051 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25164726-38305559 failed!
2025-10-15 17:15:55,066 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 is 145.78.245.1 and allocation pool is NOT set
2025-10-15 17:15:59,148 - 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 1016ms')
2025-10-15 17:15:59,148 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25164726-38305559 failed!
2025-10-15 17:15:59,165 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-25164726:ctest-vn-83961041 is 145.78.245.1 and allocation pool is NOT set
2025-10-15 17:16:01,228 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.33 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 = 3.334/4.980/6.626/1.646 ms')
2025-10-15 17:16:01,228 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-25164726-38305559 passed
2025-10-15 17:16:01,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 17:16:01,300 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25164726-38305559, IP 145.78.245.3, Port 22
2025-10-15 17:16:01,368 - 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-15 17:16:01,453 - DEBUG - VM ctest-TestvifStats-25164726-38305559 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-15 17:16:06,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 17:16:06,454 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25164726-38305559, IP 145.78.245.3, Port 22
2025-10-15 17:16:06,523 - 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-15 17:16:06,620 - DEBUG - VM ctest-TestvifStats-25164726-38305559 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-15 17:16:11,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 17:16:11,621 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25164726-38305559, IP 145.78.245.3, Port 22
2025-10-15 17:16:11,687 - 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-15 17:16:11,773 - DEBUG - VM ctest-TestvifStats-25164726-38305559 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-15 17:16:16,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 17:16:16,774 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25164726-38305559, IP 145.78.245.3, Port 22
2025-10-15 17:16:16,839 - 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-15 17:16:16,922 - DEBUG - VM ctest-TestvifStats-25164726-38305559 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-15 17:16:21,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 17:16:21,922 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25164726-38305559, IP 145.78.245.3, Port 22
2025-10-15 17:16:21,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-15 17:16:22,059 - DEBUG - VM ctest-TestvifStats-25164726-38305559 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-15 17:16:27,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 17:16:27,060 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25164726-38305559, IP 145.78.245.3, Port 22
2025-10-15 17:16:27,217 - DEBUG - VM ctest-TestvifStats-25164726-38305559 is ready for SSH connections
2025-10-15 17:16:27,217 - INFO - Waiting for VM ctest-TestvifStats-25164726-42880250 to be up..
2025-10-15 17:16:27,300 - DEBUG - VM  is in ACTIVE state now
2025-10-15 17:16:27,301 - INFO - VM name : ctest-TestvifStats-25164726-42880250
2025-10-15 17:16:27,376 - DEBUG - VM ctest-TestvifStats-25164726-42880250 ID is 023c6a3b-adc2-4e53-8a5f-b38d86a28877
2025-10-15 17:16:27,376 - DEBUG - VM ctest-TestvifStats-25164726-42880250 launched on Node an-jenkins-deploy-platform-ansible-os-4330-1
2025-10-15 17:16:27,452 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/023c6a3b-adc2-4e53-8a5f-b38d86a28877
2025-10-15 17:16:27,464 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/d40d3e73-9870-4834-96ab-7605ea10b8c7
2025-10-15 17:16:28,634 - 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=4.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.16 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.157/3.088/4.020/0.931 ms')
2025-10-15 17:16:28,634 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-25164726-42880250 passed
2025-10-15 17:16:28,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 17:16:28,713 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-25164726-42880250, IP 145.78.245.4, Port 22
2025-10-15 17:16:28,883 - DEBUG - VM ctest-TestvifStats-25164726-42880250 is ready for SSH connections
2025-10-15 17:16:28,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 17:16:28,883 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  145.78.245.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-10-15 17:16:28,883 - DEBUG - ping -s 56 -c 3 -W 1  145.78.245.4
2025-10-15 17:16:50,691 - DEBUG - PING 145.78.245.4 (145.78.245.4) 56(84) bytes of data.
64 bytes from 145.78.245.4: icmp_req=1 ttl=64 time=11.8 ms
64 bytes from 145.78.245.4: icmp_req=2 ttl=64 time=1.05 ms
64 bytes from 145.78.245.4: icmp_req=3 ttl=64 time=0.627 ms
--- 145.78.245.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 0.627/4.517/11.875/5.205 ms
2025-10-15 17:16:50,691 - INFO - Ping to IP 145.78.245.4 from VM ctest-TestvifStats-25164726-38305559 passed
2025-10-15 17:16:50,691 - INFO - 10.0.0.141
2025-10-15 17:16:50,691 - INFO - vif --get 0 | grep "RX packets" | tr  -s ' ' | cut -f1-3 -d ' '
2025-10-15 17:16:50,799 - INFO - Deleting VM ctest-TestvifStats-25164726-42880250
2025-10-15 17:16:50,866 - INFO - Deleting VM ctest-TestvifStats-25164726-38305559
2025-10-15 17:16:50,933 - INFO - Deleting VN ctest-vn-83961041 
2025-10-15 17:16:50,978 - DEBUG - VN 63014a07-3fc9-4972-82df-710eac4046f8 still in use: Unable to complete operation on network 63014a07-3fc9-4972-82df-710eac4046f8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-417a6568-f92e-4bb0-9d81-0860c4db6ed6']
2025-10-15 17:16:50,979 - WARNING - Deleting VN ctest-vn-83961041 failed..Will retry
2025-10-15 17:16:53,134 - DEBUG - Response for deleting network ()
2025-10-15 17:16:53,134 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/db091a83-ea75-4a32-9bbe-271167cc75c6
2025-10-15 17:16:53,140 - DEBUG - Response Code: 404
2025-10-15 17:16:53,140 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2025-10-15 17:16:53,150 - DEBUG - Requesting: http://10.0.0.130:8082/domain/424b027d-9a59-4bc3-a9ea-fd1131d532cb
2025-10-15 17:16:53,166 - DEBUG - Requesting: http://10.0.0.130:8082/project/ab7963cd-b62b-477f-9966-005d8cd5c9ed
2025-10-15 17:16:53,255 - INFO - Validated that VN ctest-vn-83961041 is not found in API Server
2025-10-15 17:16:53,265 - DEBUG - VN ctest-vn-83961041 is not present in Agent 10.0.0.141 
2025-10-15 17:16:53,277 - DEBUG - VN ctest-vn-83961041 is not present in Agent 10.0.0.33 
2025-10-15 17:16:53,277 - INFO - Validated that VN ctest-vn-83961041 is not in any agent
2025-10-15 17:16:53,311 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83961041 info
2025-10-15 17:16:54,592 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Wed Oct 15 17:16:50 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.141'
 /contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.141')
   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-15 17:16:54,604 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 17:16:54,604 - INFO - 
2025-10-15 17:16:54,604 - INFO - END TEST : test_vif_statistics : FAILED[0:01:47]
2025-10-15 17:16:54,604 - INFO - --------------------------------------------------------------------------------
2025-10-15 17:16:55,297 - INFO - Deleted project: ctest-TestvifStats-25164726, ID : ab7963cd-b62b-477f-9966-005d8cd5c9ed