2025-10-08 14:54:23,158 - INFO - Domain Default found not creating
2025-10-08 14:54:23,306 - INFO - Project ctest-TestvifStats-84115973 not found, creating it
2025-10-08 14:54:23,844 - INFO - Created Project:ctest-TestvifStats-84115973, ID : f16c58b8-751f-4b73-b668-c558ce8d962a
2025-10-08 14:54:25,244 - INFO - ================================================================================
2025-10-08 14:54:25,244 - INFO - STARTING TEST : test_vif_statistics
2025-10-08 14:54:25,244 - 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-08 14:54:26,510 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.131': {'10.20.0.14': '0', '10.20.0.25': '0'}} with
2025-10-08 14:54:26,510 - INFO - Initial checks done. Running the testcase now
2025-10-08 14:54:26,510 - INFO -
2025-10-08 14:54:27,182 - DEBUG - Response for create_network : {'network': {'id': '39f84c3e-9baf-4c28-8104-12a802598c4f', 'name': 'ctest-vn-02619302', 'tenant_id': 'f16c58b8751f4b73b668c558ce8d962a', 'project_id': 'f16c58b8751f4b73b668c558ce8d962a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-84115973', 'ctest-vn-02619302'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 14:54:27,413 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e3f3989-8056-4dbc-a2f0-904bd55f690c', 'name': '', 'tenant_id': 'f16c58b8751f4b73b668c558ce8d962a', 'network_id': '39f84c3e-9baf-4c28-8104-12a802598c4f', 'ip_version': 4, 'cidr': '72.119.253.64/26', 'allocation_pools': [{'start': '72.119.253.66', 'end': '72.119.253.126'}], 'gateway_ip': '72.119.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.119.253.66', 'tags': [], 'project_id': 'f16c58b8751f4b73b668c558ce8d962a'}}
2025-10-08 14:54:27,434 - INFO - Created VN ctest-vn-02619302
2025-10-08 14:54:27,444 - DEBUG - VN ctest-vn-02619302 UUID is 39f84c3e-9baf-4c28-8104-12a802598c4f
2025-10-08 14:54:27,509 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-08 14:54:27,797 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-08 14:54:27,821 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e655d23d-1695-42cd-a914-8836b4a49568
2025-10-08 14:54:27,835 - DEBUG - Requesting: http://10.0.0.33:8082/project/f16c58b8-751f-4b73-b668-c558ce8d962a
2025-10-08 14:54:27,926 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/39f84c3e-9baf-4c28-8104-12a802598c4f
2025-10-08 14:54:27,939 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/39f84c3e-9baf-4c28-8104-12a802598c4f
2025-10-08 14:54:27,948 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/378757d1-9506-4a72-93a9-a9a508c52649
2025-10-08 14:54:27,954 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/378757d1-9506-4a72-93a9-a9a508c52649
2025-10-08 14:54:27,960 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4438e2c2-47f4-44c2-b154-5570256b30db
2025-10-08 14:54:27,965 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-08 14:54:27,966 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/39f84c3e-9baf-4c28-8104-12a802598c4f
2025-10-08 14:54:27,973 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/378757d1-9506-4a72-93a9-a9a508c52649
2025-10-08 14:54:27,987 - INFO - Verified VN network id 14 for VN 39f84c3e-9baf-4c28-8104-12a802598c4f
2025-10-08 14:54:27,987 - INFO - Verifications in API Server for VN ctest-vn-02619302 passed
2025-10-08 14:54:27,987 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/39f84c3e-9baf-4c28-8104-12a802598c4f
2025-10-08 14:54:27,996 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/378757d1-9506-4a72-93a9-a9a508c52649
2025-10-08 14:54:28,003 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/378757d1-9506-4a72-93a9-a9a508c52649
2025-10-08 14:54:28,008 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4438e2c2-47f4-44c2-b154-5570256b30db
2025-10-08 14:54:28,018 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-84115973', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4177172486169775144', 'uuid-lslong': '9296576043602775119'}, 'enable': 'true', 'created': '2025-10-08T14:54:27', 'last-modified': '2025-10-08T14:54:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.651253'}
2025-10-08 14:54:28,024 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-08 14:54:28,029 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-84115973', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4177172486169775144', 'uuid-lslong': '9296576043602775119'}, 'enable': 'true', 'created': '2025-10-08T14:54:27', 'last-modified': '2025-10-08T14:54:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.662273'}
2025-10-08 14:54:28,034 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-08 14:54:28,039 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-84115973', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4177172486169775144', 'uuid-lslong': '9296576043602775119'}, 'enable': 'true', 'created': '2025-10-08T14:54:27', 'last-modified': '2025-10-08T14:54:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.667462'}
2025-10-08 14:54:28,043 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-08 14:54:28,043 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02619302 passed
2025-10-08 14:54:28,044 - DEBUG - ====Verifying policy data for ctest-vn-02619302 in API_Server ======
2025-10-08 14:54:28,044 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-08 14:54:28,055 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e655d23d-1695-42cd-a914-8836b4a49568
2025-10-08 14:54:28,064 - DEBUG - Requesting: http://10.0.0.33:8082/project/f16c58b8-751f-4b73-b668-c558ce8d962a
2025-10-08 14:54:28,157 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/39f84c3e-9baf-4c28-8104-12a802598c4f
2025-10-08 14:54:28,168 - DEBUG - =>VN ctest-vn-02619302 has no policy to be verified
2025-10-08 14:54:28,168 - DEBUG - Verifying the vn in opserver
2025-10-08 14:54:28,168 - DEBUG - Verifying the default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 virtual network link through opserver 10.0.0.33
2025-10-08 14:54:28,168 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-10-08 14:54:28,466 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-10-08 14:54:28,517 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302?flat'}
2025-10-08 14:54:28,517 - DEBUG - Verifying the default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 virtual network link through opserver 10.0.0.19
2025-10-08 14:54:28,517 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-08 14:54:28,807 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-08 14:54:28,870 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302?flat'}
2025-10-08 14:54:28,870 - DEBUG - Verifying the default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 virtual network link through opserver 10.0.0.129
2025-10-08 14:54:28,870 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2025-10-08 14:54:29,185 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2025-10-08 14:54:29,253 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302?flat'}
2025-10-08 14:54:29,253 - INFO - Validated that VN default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is found in opserver
2025-10-08 14:54:29,288 - DEBUG - Do not have enough data to verify VN in agent
2025-10-08 14:54:29,302 - DEBUG - VRF ids for VN ctest-vn-02619302: {}
2025-10-08 14:54:29,346 - DEBUG - Services list from nova: [, , , ]
2025-10-08 14:54:29,346 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4234-2', 'an-jenkins-deploy-platform-ansible-os-4234-1']}
2025-10-08 14:54:29,346 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4234-2', 'an-jenkins-deploy-platform-ansible-os-4234-1']}
2025-10-08 14:54:30,618 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4234-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4234-2)
2025-10-08 14:54:30,618 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4234-2', 'an-jenkins-deploy-platform-ansible-os-4234-1']}
2025-10-08 14:54:31,894 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4234-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4234-2)
2025-10-08 14:54:31,894 - INFO - Waiting for VM ctest-TestvifStats-84115973-49906146 to be up..
2025-10-08 14:54:32,000 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 14:54:37,078 - DEBUG - VM is in ACTIVE state now
2025-10-08 14:54:37,078 - INFO - VM name : ctest-TestvifStats-84115973-49906146
2025-10-08 14:54:37,162 - DEBUG - VM ctest-TestvifStats-84115973-49906146 ID is 31f8358d-99ea-4d68-937e-88207e0c38e0
2025-10-08 14:54:37,189 - DEBUG - VM ctest-TestvifStats-84115973-49906146 launched on Node an-jenkins-deploy-platform-ansible-os-4234-2
2025-10-08 14:54:37,267 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/31f8358d-99ea-4d68-937e-88207e0c38e0
2025-10-08 14:54:37,557 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/31f8358d-99ea-4d68-937e-88207e0c38e0
2025-10-08 14:54:37,588 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/de85c36b-19c9-46dd-bfe0-5716634d6b69
2025-10-08 14:54:40,761 - 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-08 14:54:40,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 failed!
2025-10-08 14:54:40,774 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is 72.119.253.65 and allocation pool is NOT set
2025-10-08 14:54:44,863 - 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 1025ms')
2025-10-08 14:54:44,864 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 failed!
2025-10-08 14:54:44,876 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is 72.119.253.65 and allocation pool is NOT set
2025-10-08 14:54:48,955 - 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-08 14:54:48,956 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 failed!
2025-10-08 14:54:48,968 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is 72.119.253.65 and allocation pool is NOT set
2025-10-08 14:54:53,060 - 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-08 14:54:53,060 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 failed!
2025-10-08 14:54:53,074 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is 72.119.253.65 and allocation pool is NOT set
2025-10-08 14:54:57,150 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms')
2025-10-08 14:54:57,150 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 failed!
2025-10-08 14:54:57,162 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is 72.119.253.65 and allocation pool is NOT set
2025-10-08 14:55:01,243 - 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-08 14:55:01,244 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 failed!
2025-10-08 14:55:01,256 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is 72.119.253.65 and allocation pool is NOT set
2025-10-08 14:55:05,345 - 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-08 14:55:05,345 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 failed!
2025-10-08 14:55:05,360 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is 72.119.253.65 and allocation pool is NOT set
2025-10-08 14:55:09,436 - 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-10-08 14:55:09,437 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 failed!
2025-10-08 14:55:09,452 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is 72.119.253.65 and allocation pool is NOT set
2025-10-08 14:55:13,533 - 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 1007ms')
2025-10-08 14:55:13,533 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 failed!
2025-10-08 14:55:13,551 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is 72.119.253.65 and allocation pool is NOT set
2025-10-08 14:55:17,632 - 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-10-08 14:55:17,632 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 failed!
2025-10-08 14:55:17,646 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is 72.119.253.65 and allocation pool is NOT set
2025-10-08 14:55:21,723 - 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-08 14:55:21,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 failed!
2025-10-08 14:55:21,738 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is 72.119.253.65 and allocation pool is NOT set
2025-10-08 14:55:25,815 - 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-08 14:55:25,816 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 failed!
2025-10-08 14:55:25,829 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-84115973:ctest-vn-02619302 is 72.119.253.65 and allocation pool is NOT set
2025-10-08 14:55:27,894 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.73 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.726/4.710/5.694/0.984 ms')
2025-10-08 14:55:27,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-84115973-49906146 passed
2025-10-08 14:55:27,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 14:55:27,963 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-84115973-49906146, IP 72.119.253.67, Port 22
2025-10-08 14:55:28,028 - 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-08 14:55:28,102 - DEBUG - VM ctest-TestvifStats-84115973-49906146 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 14:55:33,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 14:55:33,103 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-84115973-49906146, IP 72.119.253.67, Port 22
2025-10-08 14:55:33,168 - 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-08 14:55:33,242 - DEBUG - VM ctest-TestvifStats-84115973-49906146 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 14:55:38,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 14:55:38,243 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-84115973-49906146, IP 72.119.253.67, Port 22
2025-10-08 14:55:38,312 - 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-08 14:55:38,387 - DEBUG - VM ctest-TestvifStats-84115973-49906146 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 14:55:43,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 14:55:43,388 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-84115973-49906146, IP 72.119.253.67, Port 22
2025-10-08 14:55:43,455 - 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-08 14:55:43,527 - DEBUG - VM ctest-TestvifStats-84115973-49906146 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 14:55:48,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 14:55:48,528 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-84115973-49906146, IP 72.119.253.67, Port 22
2025-10-08 14:55:48,595 - 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-08 14:55:48,673 - DEBUG - VM ctest-TestvifStats-84115973-49906146 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 14:55:53,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 14:55:53,673 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-84115973-49906146, IP 72.119.253.67, Port 22
2025-10-08 14:55:53,839 - DEBUG - VM ctest-TestvifStats-84115973-49906146 is ready for SSH connections
2025-10-08 14:55:53,839 - INFO - Waiting for VM ctest-TestvifStats-84115973-12805912 to be up..
2025-10-08 14:55:53,910 - DEBUG - VM is in ACTIVE state now
2025-10-08 14:55:53,910 - INFO - VM name : ctest-TestvifStats-84115973-12805912
2025-10-08 14:55:53,982 - DEBUG - VM ctest-TestvifStats-84115973-12805912 ID is 151fb6fe-8b0e-4929-981f-3449ddd08e29
2025-10-08 14:55:53,983 - DEBUG - VM ctest-TestvifStats-84115973-12805912 launched on Node an-jenkins-deploy-platform-ansible-os-4234-2
2025-10-08 14:55:54,059 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/151fb6fe-8b0e-4929-981f-3449ddd08e29
2025-10-08 14:55:54,069 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/c968efd5-5336-45b6-90c0-284bec4970e7
2025-10-08 14:55:55,217 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.23 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.228/3.165/4.103/0.937 ms')
2025-10-08 14:55:55,217 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-84115973-12805912 passed
2025-10-08 14:55:55,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 14:55:55,284 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-84115973-12805912, IP 72.119.253.68, Port 22
2025-10-08 14:55:55,455 - DEBUG - VM ctest-TestvifStats-84115973-12805912 is ready for SSH connections
2025-10-08 14:55:55,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 14:55:55,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.119.253.68, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-10-08 14:55:55,455 - DEBUG - ping -s 56 -c 3 -W 1 72.119.253.68
2025-10-08 14:56:21,034 - DEBUG - PING 72.119.253.68 (72.119.253.68) 56(84) bytes of data.
64 bytes from 72.119.253.68: icmp_req=1 ttl=64 time=12.3 ms
64 bytes from 72.119.253.68: icmp_req=2 ttl=64 time=0.923 ms
64 bytes from 72.119.253.68: icmp_req=3 ttl=64 time=0.828 ms
--- 72.119.253.68 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.828/4.705/12.364/5.415 ms
2025-10-08 14:56:21,034 - INFO - Ping to IP 72.119.253.68 from VM ctest-TestvifStats-84115973-49906146 passed
2025-10-08 14:56:21,035 - INFO - 10.0.0.131
2025-10-08 14:56:21,035 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-08 14:56:21,132 - INFO - Deleting VM ctest-TestvifStats-84115973-12805912
2025-10-08 14:56:21,207 - INFO - Deleting VM ctest-TestvifStats-84115973-49906146
2025-10-08 14:56:21,265 - INFO - Deleting VN ctest-vn-02619302
2025-10-08 14:56:21,305 - DEBUG - VN 39f84c3e-9baf-4c28-8104-12a802598c4f still in use: Unable to complete operation on network 39f84c3e-9baf-4c28-8104-12a802598c4f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-aac33673-13dd-4316-86c7-25a93b7f1554']
2025-10-08 14:56:21,305 - WARNING - Deleting VN ctest-vn-02619302 failed..Will retry
2025-10-08 14:56:23,462 - DEBUG - Response for deleting network ()
2025-10-08 14:56:23,462 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/378757d1-9506-4a72-93a9-a9a508c52649
2025-10-08 14:56:23,467 - DEBUG - Response Code: 404
2025-10-08 14:56:23,467 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-08 14:56:23,473 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e655d23d-1695-42cd-a914-8836b4a49568
2025-10-08 14:56:23,530 - DEBUG - Requesting: http://10.0.0.33:8082/project/f16c58b8-751f-4b73-b668-c558ce8d962a
2025-10-08 14:56:23,616 - INFO - Validated that VN ctest-vn-02619302 is not found in API Server
2025-10-08 14:56:23,628 - DEBUG - VN ctest-vn-02619302 is not present in Agent 10.0.0.130
2025-10-08 14:56:23,637 - DEBUG - VN ctest-vn-02619302 is not present in Agent 10.0.0.131
2025-10-08 14:56:23,637 - INFO - Validated that VN ctest-vn-02619302 is not in any agent
2025-10-08 14:56:23,663 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02619302 info
2025-10-08 14:56:24,929 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Wed Oct 8 14:56:21 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.131'
/contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.131')
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-08 14:56:24,942 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 14:56:24,943 - INFO -
2025-10-08 14:56:24,943 - INFO - END TEST : test_vif_statistics : FAILED[0:01:59]
2025-10-08 14:56:24,943 - INFO - --------------------------------------------------------------------------------
2025-10-08 14:56:25,644 - INFO - Deleted project: ctest-TestvifStats-84115973, ID : f16c58b8-751f-4b73-b668-c558ce8d962a