2025-10-06 03:12:36,429 - INFO - Domain Default found not creating 2025-10-06 03:12:36,661 - INFO - Project ctest-TestvifStats-73049579 not found, creating it 2025-10-06 03:12:37,587 - INFO - Created Project:ctest-TestvifStats-73049579, ID : 2137d3f3-a66c-4d34-83cf-38c9e6bceb6c 2025-10-06 03:12:39,092 - INFO - ================================================================================ 2025-10-06 03:12:39,092 - INFO - STARTING TEST : test_vif_statistics 2025-10-06 03:12:39,092 - 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-06 03:12:40,367 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.193': '0', '10.20.0.25': '0'}, '10.0.0.19': {'10.20.0.25': '0', '10.20.0.17': '0'}} with 2025-10-06 03:12:40,367 - INFO - Initial checks done. Running the testcase now 2025-10-06 03:12:40,368 - INFO - 2025-10-06 03:12:40,991 - DEBUG - Response for create_network : {'network': {'id': '6fcf24db-bd9d-4a9f-980f-5ca98884f07a', 'name': 'ctest-vn-67581400', 'tenant_id': '2137d3f3a66c4d3483cf38c9e6bceb6c', 'project_id': '2137d3f3a66c4d3483cf38c9e6bceb6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-73049579', 'ctest-vn-67581400'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 03:12:41,220 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec0cfaa6-1de8-43d2-9352-d77e8d66a6f8', 'name': '', 'tenant_id': '2137d3f3a66c4d3483cf38c9e6bceb6c', 'network_id': '6fcf24db-bd9d-4a9f-980f-5ca98884f07a', 'ip_version': 4, 'cidr': '129.234.210.0/26', 'allocation_pools': [{'start': '129.234.210.2', 'end': '129.234.210.62'}], 'gateway_ip': '129.234.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.234.210.2', 'tags': [], 'project_id': '2137d3f3a66c4d3483cf38c9e6bceb6c'}} 2025-10-06 03:12:41,245 - INFO - Created VN ctest-vn-67581400 2025-10-06 03:12:41,268 - DEBUG - VN ctest-vn-67581400 UUID is 6fcf24db-bd9d-4a9f-980f-5ca98884f07a 2025-10-06 03:12:41,339 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-06 03:12:41,627 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-06 03:12:41,651 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8177ca4a-5181-4745-ae27-f33c0972392c 2025-10-06 03:12:41,664 - DEBUG - Requesting: http://10.0.0.33:8082/project/2137d3f3-a66c-4d34-83cf-38c9e6bceb6c 2025-10-06 03:12:41,764 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6fcf24db-bd9d-4a9f-980f-5ca98884f07a 2025-10-06 03:12:41,776 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6fcf24db-bd9d-4a9f-980f-5ca98884f07a 2025-10-06 03:12:41,790 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93189e15-7bc3-466e-9308-be697e03b0b2 2025-10-06 03:12:41,800 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93189e15-7bc3-466e-9308-be697e03b0b2 2025-10-06 03:12:41,807 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7bcc02fc-fb47-4eb8-90e5-ad0c2ceaf81d 2025-10-06 03:12:41,813 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 03:12:41,813 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6fcf24db-bd9d-4a9f-980f-5ca98884f07a 2025-10-06 03:12:41,822 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93189e15-7bc3-466e-9308-be697e03b0b2 2025-10-06 03:12:41,837 - INFO - Verified VN network id 10 for VN 6fcf24db-bd9d-4a9f-980f-5ca98884f07a 2025-10-06 03:12:41,837 - INFO - Verifications in API Server for VN ctest-vn-67581400 passed 2025-10-06 03:12:41,838 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6fcf24db-bd9d-4a9f-980f-5ca98884f07a 2025-10-06 03:12:41,846 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93189e15-7bc3-466e-9308-be697e03b0b2 2025-10-06 03:12:41,853 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93189e15-7bc3-466e-9308-be697e03b0b2 2025-10-06 03:12:41,860 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7bcc02fc-fb47-4eb8-90e5-ad0c2ceaf81d 2025-10-06 03:12:41,878 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-73049579', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8056698784586746527', 'uuid-lslong': '10957078301625348218'}, 'enable': 'true', 'created': '2025-10-06T03:12:40', 'last-modified': '2025-10-06T03:12:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.707440'} 2025-10-06 03:12:41,888 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 03:12:41,892 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-73049579', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8056698784586746527', 'uuid-lslong': '10957078301625348218'}, 'enable': 'true', 'created': '2025-10-06T03:12:40', 'last-modified': '2025-10-06T03:12:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.730732'} 2025-10-06 03:12:41,897 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 03:12:41,902 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-73049579', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8056698784586746527', 'uuid-lslong': '10957078301625348218'}, 'enable': 'true', 'created': '2025-10-06T03:12:40', 'last-modified': '2025-10-06T03:12:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.717729'} 2025-10-06 03:12:41,907 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 03:12:41,907 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67581400 passed 2025-10-06 03:12:41,907 - DEBUG - ====Verifying policy data for ctest-vn-67581400 in API_Server ====== 2025-10-06 03:12:41,908 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-06 03:12:41,913 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8177ca4a-5181-4745-ae27-f33c0972392c 2025-10-06 03:12:41,926 - DEBUG - Requesting: http://10.0.0.33:8082/project/2137d3f3-a66c-4d34-83cf-38c9e6bceb6c 2025-10-06 03:12:42,039 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6fcf24db-bd9d-4a9f-980f-5ca98884f07a 2025-10-06 03:12:42,049 - DEBUG - =>VN ctest-vn-67581400 has no policy to be verified 2025-10-06 03:12:42,049 - DEBUG - Verifying the vn in opserver 2025-10-06 03:12:42,049 - DEBUG - Verifying the default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 virtual network link through opserver 10.0.0.33 2025-10-06 03:12:42,049 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-06 03:12:42,367 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-06 03:12:42,424 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400?flat'} 2025-10-06 03:12:42,424 - DEBUG - Verifying the default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 virtual network link through opserver 10.0.0.38 2025-10-06 03:12:42,425 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-06 03:12:42,721 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-06 03:12:42,776 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400?flat'} 2025-10-06 03:12:42,776 - DEBUG - Verifying the default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 virtual network link through opserver 10.0.0.249 2025-10-06 03:12:42,776 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-06 03:12:43,066 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-06 03:12:43,125 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400?flat'} 2025-10-06 03:12:43,125 - INFO - Validated that VN default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 is found in opserver 2025-10-06 03:12:43,152 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 03:12:43,160 - DEBUG - VRF ids for VN ctest-vn-67581400: {} 2025-10-06 03:12:43,184 - DEBUG - Services list from nova: [, , , ] 2025-10-06 03:12:43,184 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4219-1', 'an-jenkins-deploy-platform-ansible-os-4219-2']} 2025-10-06 03:12:43,184 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4219-1', 'an-jenkins-deploy-platform-ansible-os-4219-2']} 2025-10-06 03:12:44,394 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4219-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4219-1) 2025-10-06 03:12:44,394 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4219-1', 'an-jenkins-deploy-platform-ansible-os-4219-2']} 2025-10-06 03:12:45,666 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4219-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4219-1) 2025-10-06 03:12:45,666 - INFO - Waiting for VM ctest-TestvifStats-73049579-74354493 to be up.. 2025-10-06 03:12:45,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 03:12:50,821 - DEBUG - VM is in ACTIVE state now 2025-10-06 03:12:50,821 - INFO - VM name : ctest-TestvifStats-73049579-74354493 2025-10-06 03:12:50,895 - DEBUG - VM ctest-TestvifStats-73049579-74354493 ID is fab9ad92-6a36-42f0-a215-1d183f9f871d 2025-10-06 03:12:50,923 - DEBUG - VM ctest-TestvifStats-73049579-74354493 launched on Node an-jenkins-deploy-platform-ansible-os-4219-1 2025-10-06 03:12:51,004 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fab9ad92-6a36-42f0-a215-1d183f9f871d 2025-10-06 03:12:51,295 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fab9ad92-6a36-42f0-a215-1d183f9f871d 2025-10-06 03:12:51,325 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/936a2d59-1696-4bc5-b1a5-9bf121d64e0b 2025-10-06 03:12:54,477 - 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-06 03:12:54,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-73049579-74354493 failed! 2025-10-06 03:12:54,496 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 is 129.234.210.1 and allocation pool is NOT set 2025-10-06 03:12:58,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-06 03:12:58,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-73049579-74354493 failed! 2025-10-06 03:12:58,594 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 is 129.234.210.1 and allocation pool is NOT set 2025-10-06 03:13:02,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 1009ms') 2025-10-06 03:13:02,668 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-73049579-74354493 failed! 2025-10-06 03:13:02,683 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 is 129.234.210.1 and allocation pool is NOT set 2025-10-06 03:13:06,764 - 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-06 03:13:06,765 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-73049579-74354493 failed! 2025-10-06 03:13:06,779 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 is 129.234.210.1 and allocation pool is NOT set 2025-10-06 03:13:10,859 - 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-06 03:13:10,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-73049579-74354493 failed! 2025-10-06 03:13:10,873 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 is 129.234.210.1 and allocation pool is NOT set 2025-10-06 03:13:14,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 1020ms') 2025-10-06 03:13:14,955 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-73049579-74354493 failed! 2025-10-06 03:13:14,969 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 is 129.234.210.1 and allocation pool is NOT set 2025-10-06 03:13:19,045 - 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-06 03:13:19,045 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-73049579-74354493 failed! 2025-10-06 03:13:19,059 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 is 129.234.210.1 and allocation pool is NOT set 2025-10-06 03:13:23,151 - 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 1024ms') 2025-10-06 03:13:23,151 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-73049579-74354493 failed! 2025-10-06 03:13:23,166 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 is 129.234.210.1 and allocation pool is NOT set 2025-10-06 03:13:27,241 - 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-06 03:13:27,241 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-73049579-74354493 failed! 2025-10-06 03:13:27,254 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-73049579:ctest-vn-67581400 is 129.234.210.1 and allocation pool is NOT set 2025-10-06 03:13:29,319 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.672 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 = 0.672/3.487/6.302/2.815 ms') 2025-10-06 03:13:29,319 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-73049579-74354493 passed 2025-10-06 03:13:29,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 03:13:29,385 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-73049579-74354493, IP 129.234.210.3, Port 22 2025-10-06 03:13:29,456 - 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-06 03:13:29,536 - DEBUG - VM ctest-TestvifStats-73049579-74354493 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 03:13:34,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 03:13:34,537 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-73049579-74354493, IP 129.234.210.3, Port 22 2025-10-06 03:13:34,605 - 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-06 03:13:34,696 - DEBUG - VM ctest-TestvifStats-73049579-74354493 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 03:13:39,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 03:13:39,698 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-73049579-74354493, IP 129.234.210.3, Port 22 2025-10-06 03:13:39,765 - 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-06 03:13:39,844 - DEBUG - VM ctest-TestvifStats-73049579-74354493 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 03:13:44,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 03:13:44,844 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-73049579-74354493, IP 129.234.210.3, Port 22 2025-10-06 03:13:44,909 - 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-06 03:13:44,981 - DEBUG - VM ctest-TestvifStats-73049579-74354493 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-06 03:13:49,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 03:13:49,982 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-73049579-74354493, IP 129.234.210.3, Port 22 2025-10-06 03:13:50,138 - DEBUG - VM ctest-TestvifStats-73049579-74354493 is ready for SSH connections 2025-10-06 03:13:50,138 - INFO - Waiting for VM ctest-TestvifStats-73049579-81814807 to be up.. 2025-10-06 03:13:50,212 - DEBUG - VM is in ACTIVE state now 2025-10-06 03:13:50,212 - INFO - VM name : ctest-TestvifStats-73049579-81814807 2025-10-06 03:13:50,285 - DEBUG - VM ctest-TestvifStats-73049579-81814807 ID is 114faef5-4094-4425-b910-2f75ee2006fb 2025-10-06 03:13:50,285 - DEBUG - VM ctest-TestvifStats-73049579-81814807 launched on Node an-jenkins-deploy-platform-ansible-os-4219-1 2025-10-06 03:13:50,356 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/114faef5-4094-4425-b910-2f75ee2006fb 2025-10-06 03:13:50,366 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/306da788-2a5f-4340-9f00-1b8b54d6da40 2025-10-06 03:13:51,519 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.680 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.680/2.122/3.564/1.442 ms') 2025-10-06 03:13:51,519 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-73049579-81814807 passed 2025-10-06 03:13:51,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 03:13:51,589 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-73049579-81814807, IP 129.234.210.4, Port 22 2025-10-06 03:13:51,757 - DEBUG - VM ctest-TestvifStats-73049579-81814807 is ready for SSH connections 2025-10-06 03:13:51,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 03:13:51,757 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.234.210.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-06 03:13:51,757 - DEBUG - ping -s 56 -c 3 -W 1 129.234.210.4 2025-10-06 03:14:13,786 - DEBUG - PING 129.234.210.4 (129.234.210.4) 56(84) bytes of data. 64 bytes from 129.234.210.4: icmp_req=1 ttl=64 time=15.0 ms 64 bytes from 129.234.210.4: icmp_req=2 ttl=64 time=1.41 ms 64 bytes from 129.234.210.4: icmp_req=3 ttl=64 time=0.688 ms --- 129.234.210.4 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.688/5.702/15.006/6.585 ms 2025-10-06 03:14:13,787 - INFO - Ping to IP 129.234.210.4 from VM ctest-TestvifStats-73049579-74354493 passed 2025-10-06 03:14:13,787 - INFO - 10.0.0.49 2025-10-06 03:14:13,787 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' ' 2025-10-06 03:14:13,889 - INFO - Deleting VM ctest-TestvifStats-73049579-81814807 2025-10-06 03:14:13,960 - INFO - Deleting VM ctest-TestvifStats-73049579-74354493 2025-10-06 03:14:14,134 - INFO - Deleting VN ctest-vn-67581400 2025-10-06 03:14:14,171 - DEBUG - VN 6fcf24db-bd9d-4a9f-980f-5ca98884f07a still in use: Unable to complete operation on network 6fcf24db-bd9d-4a9f-980f-5ca98884f07a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-180d8e79-2f3c-421e-b151-e7b94c8f491c'] 2025-10-06 03:14:14,171 - WARNING - Deleting VN ctest-vn-67581400 failed..Will retry 2025-10-06 03:14:16,311 - DEBUG - Response for deleting network () 2025-10-06 03:14:16,311 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93189e15-7bc3-466e-9308-be697e03b0b2 2025-10-06 03:14:16,323 - DEBUG - Response Code: 404 2025-10-06 03:14:16,323 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-06 03:14:16,329 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8177ca4a-5181-4745-ae27-f33c0972392c 2025-10-06 03:14:16,383 - DEBUG - Requesting: http://10.0.0.33:8082/project/2137d3f3-a66c-4d34-83cf-38c9e6bceb6c 2025-10-06 03:14:16,468 - INFO - Validated that VN ctest-vn-67581400 is not found in API Server 2025-10-06 03:14:16,478 - DEBUG - VN ctest-vn-67581400 is not present in Agent 10.0.0.49 2025-10-06 03:14:16,485 - DEBUG - VN ctest-vn-67581400 is not present in Agent 10.0.0.19 2025-10-06 03:14:16,486 - INFO - Validated that VN ctest-vn-67581400 is not in any agent 2025-10-06 03:14:16,512 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67581400 info 2025-10-06 03:14:17,759 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Mon Oct 6 03:14:13 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.49' /contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.49') 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-06 03:14:17,772 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 03:14:17,772 - INFO -
2025-10-06 03:14:17,772 - INFO - END TEST : test_vif_statistics : FAILED[0:01:38]
2025-10-06 03:14:17,772 - INFO - -------------------------------------------------------------------------------- 2025-10-06 03:14:18,484 - INFO - Deleted project: ctest-TestvifStats-73049579, ID : 2137d3f3-a66c-4d34-83cf-38c9e6bceb6c