2025-10-02 03:19:10,961 - INFO - Domain Default found not creating
2025-10-02 03:19:11,107 - INFO - Project ctest-TestvifStats-14498398 not found, creating it
2025-10-02 03:19:11,655 - INFO - Created Project:ctest-TestvifStats-14498398, ID : c0bfb7af-b2ec-4e45-b58e-33d6ca7fb6c0
2025-10-02 03:19:13,018 - INFO - ================================================================================
2025-10-02 03:19:13,018 - INFO - STARTING TEST : test_vif_statistics
2025-10-02 03:19:13,019 - 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-02 03:19:14,319 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.130': {'10.20.0.254': '0', '10.20.0.14': '0'}} with
2025-10-02 03:19:14,319 - INFO - Initial checks done. Running the testcase now
2025-10-02 03:19:14,319 - INFO -
2025-10-02 03:19:14,966 - DEBUG - Response for create_network : {'network': {'id': '187d2ffa-8a4b-42f8-b0b9-c99a8ef9868f', 'name': 'ctest-vn-92307476', 'tenant_id': 'c0bfb7afb2ec4e45b58e33d6ca7fb6c0', 'project_id': 'c0bfb7afb2ec4e45b58e33d6ca7fb6c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-14498398', 'ctest-vn-92307476'], 'port_security_enabled': True, 'description': ''}}
2025-10-02 03:19:15,188 - DEBUG - Response for create_subnet : {'subnet': {'id': '55debb7a-45c0-4656-b861-bd54e98b5ce2', 'name': '', 'tenant_id': 'c0bfb7afb2ec4e45b58e33d6ca7fb6c0', 'network_id': '187d2ffa-8a4b-42f8-b0b9-c99a8ef9868f', 'ip_version': 4, 'cidr': '49.166.32.0/26', 'allocation_pools': [{'start': '49.166.32.2', 'end': '49.166.32.62'}], 'gateway_ip': '49.166.32.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.166.32.2', 'tags': [], 'project_id': 'c0bfb7afb2ec4e45b58e33d6ca7fb6c0'}}
2025-10-02 03:19:15,210 - INFO - Created VN ctest-vn-92307476
2025-10-02 03:19:15,224 - DEBUG - VN ctest-vn-92307476 UUID is 187d2ffa-8a4b-42f8-b0b9-c99a8ef9868f
2025-10-02 03:19:15,289 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2025-10-02 03:19:15,580 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2025-10-02 03:19:15,607 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b0543e69-2184-4be1-8e23-ac5840233bc6
2025-10-02 03:19:15,620 - DEBUG - Requesting: http://10.0.0.56:8082/project/c0bfb7af-b2ec-4e45-b58e-33d6ca7fb6c0
2025-10-02 03:19:15,721 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/187d2ffa-8a4b-42f8-b0b9-c99a8ef9868f
2025-10-02 03:19:15,743 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/187d2ffa-8a4b-42f8-b0b9-c99a8ef9868f
2025-10-02 03:19:15,753 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/313ef79e-d4a3-49bc-8182-2f7aa7cdc704
2025-10-02 03:19:15,761 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/313ef79e-d4a3-49bc-8182-2f7aa7cdc704
2025-10-02 03:19:15,768 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/1f272abb-94ac-434e-b1fe-3c8c1861cbb3
2025-10-02 03:19:15,775 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-02 03:19:15,775 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/187d2ffa-8a4b-42f8-b0b9-c99a8ef9868f
2025-10-02 03:19:15,783 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/313ef79e-d4a3-49bc-8182-2f7aa7cdc704
2025-10-02 03:19:15,800 - INFO - Verified VN network id 13 for VN 187d2ffa-8a4b-42f8-b0b9-c99a8ef9868f
2025-10-02 03:19:15,800 - INFO - Verifications in API Server for VN ctest-vn-92307476 passed
2025-10-02 03:19:15,800 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/187d2ffa-8a4b-42f8-b0b9-c99a8ef9868f
2025-10-02 03:19:15,810 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/313ef79e-d4a3-49bc-8182-2f7aa7cdc704
2025-10-02 03:19:15,818 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/313ef79e-d4a3-49bc-8182-2f7aa7cdc704
2025-10-02 03:19:15,825 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/1f272abb-94ac-434e-b1fe-3c8c1861cbb3
2025-10-02 03:19:15,837 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-14498398', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1764619382107620088', 'uuid-lslong': '12734431087027652239'}, 'enable': 'true', 'created': '2025-10-02T03:19:14', 'last-modified': '2025-10-02T03:19:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.702535'}
2025-10-02 03:19:15,843 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-02 03:19:15,849 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-14498398', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1764619382107620088', 'uuid-lslong': '12734431087027652239'}, 'enable': 'true', 'created': '2025-10-02T03:19:14', 'last-modified': '2025-10-02T03:19:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.713834'}
2025-10-02 03:19:15,855 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-02 03:19:15,861 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-14498398', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1764619382107620088', 'uuid-lslong': '12734431087027652239'}, 'enable': 'true', 'created': '2025-10-02T03:19:14', 'last-modified': '2025-10-02T03:19:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.725237'}
2025-10-02 03:19:15,868 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-02 03:19:15,868 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92307476 passed
2025-10-02 03:19:15,869 - DEBUG - ====Verifying policy data for ctest-vn-92307476 in API_Server ======
2025-10-02 03:19:15,869 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2025-10-02 03:19:15,875 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b0543e69-2184-4be1-8e23-ac5840233bc6
2025-10-02 03:19:15,888 - DEBUG - Requesting: http://10.0.0.56:8082/project/c0bfb7af-b2ec-4e45-b58e-33d6ca7fb6c0
2025-10-02 03:19:15,976 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/187d2ffa-8a4b-42f8-b0b9-c99a8ef9868f
2025-10-02 03:19:15,999 - DEBUG - =>VN ctest-vn-92307476 has no policy to be verified
2025-10-02 03:19:15,999 - DEBUG - Verifying the vn in opserver
2025-10-02 03:19:15,999 - DEBUG - Verifying the default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 virtual network link through opserver 10.0.0.56
2025-10-02 03:19:15,999 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks
2025-10-02 03:19:16,319 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks
2025-10-02 03:19:16,377 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476?flat'}
2025-10-02 03:19:16,377 - DEBUG - Verifying the default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 virtual network link through opserver 10.0.0.38
2025-10-02 03:19:16,377 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-02 03:19:16,667 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-02 03:19:16,717 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476?flat'}
2025-10-02 03:19:16,717 - DEBUG - Verifying the default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 virtual network link through opserver 10.0.0.49
2025-10-02 03:19:16,717 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks
2025-10-02 03:19:17,023 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks
2025-10-02 03:19:17,075 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476?flat'}
2025-10-02 03:19:17,075 - INFO - Validated that VN default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 is found in opserver
2025-10-02 03:19:17,094 - DEBUG - Do not have enough data to verify VN in agent
2025-10-02 03:19:17,102 - DEBUG - VRF ids for VN ctest-vn-92307476: {}
2025-10-02 03:19:17,124 - DEBUG - Services list from nova: [, , , ]
2025-10-02 03:19:17,124 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4210-2', 'an-jenkins-deploy-platform-ansible-os-4210-1']}
2025-10-02 03:19:17,124 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4210-2', 'an-jenkins-deploy-platform-ansible-os-4210-1']}
2025-10-02 03:19:18,255 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4210-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4210-2)
2025-10-02 03:19:18,255 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4210-2', 'an-jenkins-deploy-platform-ansible-os-4210-1']}
2025-10-02 03:19:19,576 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4210-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4210-2)
2025-10-02 03:19:19,576 - INFO - Waiting for VM ctest-TestvifStats-14498398-29327617 to be up..
2025-10-02 03:19:19,689 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-02 03:19:24,768 - DEBUG - VM is in ACTIVE state now
2025-10-02 03:19:24,769 - INFO - VM name : ctest-TestvifStats-14498398-29327617
2025-10-02 03:19:24,849 - DEBUG - VM ctest-TestvifStats-14498398-29327617 ID is 67a1ec4d-7b4d-4c78-85c8-ddfa1b50e4bb
2025-10-02 03:19:24,872 - DEBUG - VM ctest-TestvifStats-14498398-29327617 launched on Node an-jenkins-deploy-platform-ansible-os-4210-2
2025-10-02 03:19:24,948 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/67a1ec4d-7b4d-4c78-85c8-ddfa1b50e4bb
2025-10-02 03:19:25,256 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/67a1ec4d-7b4d-4c78-85c8-ddfa1b50e4bb
2025-10-02 03:19:25,290 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/b6081779-8136-4d24-a725-b249d935353d
2025-10-02 03:19:28,451 - 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 1005ms')
2025-10-02 03:19:28,451 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-14498398-29327617 failed!
2025-10-02 03:19:28,464 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 is 49.166.32.1 and allocation pool is NOT set
2025-10-02 03:19:32,549 - 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-02 03:19:32,549 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-14498398-29327617 failed!
2025-10-02 03:19:32,565 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 is 49.166.32.1 and allocation pool is NOT set
2025-10-02 03:19:36,643 - 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-02 03:19:36,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-14498398-29327617 failed!
2025-10-02 03:19:36,657 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 is 49.166.32.1 and allocation pool is NOT set
2025-10-02 03:19:40,743 - 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-02 03:19:40,743 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-14498398-29327617 failed!
2025-10-02 03:19:40,757 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 is 49.166.32.1 and allocation pool is NOT set
2025-10-02 03:19:44,842 - 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-02 03:19:44,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-14498398-29327617 failed!
2025-10-02 03:19:44,855 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 is 49.166.32.1 and allocation pool is NOT set
2025-10-02 03:19:48,934 - 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-02 03:19:48,934 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-14498398-29327617 failed!
2025-10-02 03:19:48,948 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 is 49.166.32.1 and allocation pool is NOT set
2025-10-02 03:19:53,034 - 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-02 03:19:53,034 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-14498398-29327617 failed!
2025-10-02 03:19:53,048 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 is 49.166.32.1 and allocation pool is NOT set
2025-10-02 03:19:57,129 - 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-02 03:19:57,130 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-14498398-29327617 failed!
2025-10-02 03:19:57,145 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 is 49.166.32.1 and allocation pool is NOT set
2025-10-02 03:20:01,225 - 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-02 03:20:01,225 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-14498398-29327617 failed!
2025-10-02 03:20:01,243 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 is 49.166.32.1 and allocation pool is NOT set
2025-10-02 03:20:05,323 - 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-02 03:20:05,323 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-14498398-29327617 failed!
2025-10-02 03:20:05,337 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-14498398:ctest-vn-92307476 is 49.166.32.1 and allocation pool is NOT set
2025-10-02 03:20:07,403 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.72 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 5.721/6.001/6.282/0.280 ms')
2025-10-02 03:20:07,403 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-14498398-29327617 passed
2025-10-02 03:20:07,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 03:20:07,478 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-14498398-29327617, IP 49.166.32.3, Port 22
2025-10-02 03:20:07,545 - 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-02 03:20:07,622 - DEBUG - VM ctest-TestvifStats-14498398-29327617 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-02 03:20:12,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 03:20:12,623 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-14498398-29327617, IP 49.166.32.3, Port 22
2025-10-02 03:20:12,689 - 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-02 03:20:12,762 - DEBUG - VM ctest-TestvifStats-14498398-29327617 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-02 03:20:17,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 03:20:17,762 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-14498398-29327617, IP 49.166.32.3, Port 22
2025-10-02 03:20:17,830 - 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-02 03:20:17,924 - DEBUG - VM ctest-TestvifStats-14498398-29327617 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-02 03:20:22,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 03:20:22,925 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-14498398-29327617, IP 49.166.32.3, Port 22
2025-10-02 03:20:22,994 - 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-02 03:20:23,092 - DEBUG - VM ctest-TestvifStats-14498398-29327617 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-02 03:20:28,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 03:20:28,093 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-14498398-29327617, IP 49.166.32.3, Port 22
2025-10-02 03:20:28,268 - DEBUG - VM ctest-TestvifStats-14498398-29327617 is ready for SSH connections
2025-10-02 03:20:28,268 - INFO - Waiting for VM ctest-TestvifStats-14498398-74420117 to be up..
2025-10-02 03:20:28,352 - DEBUG - VM is in ACTIVE state now
2025-10-02 03:20:28,352 - INFO - VM name : ctest-TestvifStats-14498398-74420117
2025-10-02 03:20:28,428 - DEBUG - VM ctest-TestvifStats-14498398-74420117 ID is 6149844a-5125-4e2f-9861-872cdae5c886
2025-10-02 03:20:28,428 - DEBUG - VM ctest-TestvifStats-14498398-74420117 launched on Node an-jenkins-deploy-platform-ansible-os-4210-2
2025-10-02 03:20:28,511 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/6149844a-5125-4e2f-9861-872cdae5c886
2025-10-02 03:20:28,521 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/038db7cc-a370-4188-b6a9-265e3437ea7e
2025-10-02 03:20:29,681 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.568 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.568/1.917/3.267/1.349 ms')
2025-10-02 03:20:29,681 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-14498398-74420117 passed
2025-10-02 03:20:29,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 03:20:29,749 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-14498398-74420117, IP 49.166.32.4, Port 22
2025-10-02 03:20:29,925 - DEBUG - VM ctest-TestvifStats-14498398-74420117 is ready for SSH connections
2025-10-02 03:20:29,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-02 03:20:29,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.166.32.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-02 03:20:29,926 - DEBUG - ping -s 56 -c 3 -W 1 49.166.32.4
2025-10-02 03:20:54,742 - DEBUG - PING 49.166.32.4 (49.166.32.4) 56(84) bytes of data.
64 bytes from 49.166.32.4: icmp_req=1 ttl=64 time=11.4 ms
64 bytes from 49.166.32.4: icmp_req=2 ttl=64 time=1.06 ms
64 bytes from 49.166.32.4: icmp_req=3 ttl=64 time=1.18 ms
--- 49.166.32.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 1.061/4.558/11.428/4.858 ms
2025-10-02 03:20:54,742 - INFO - Ping to IP 49.166.32.4 from VM ctest-TestvifStats-14498398-29327617 passed
2025-10-02 03:20:54,742 - INFO - 10.0.0.130
2025-10-02 03:20:54,742 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-02 03:20:54,859 - INFO - Deleting VM ctest-TestvifStats-14498398-74420117
2025-10-02 03:20:54,934 - INFO - Deleting VM ctest-TestvifStats-14498398-29327617
2025-10-02 03:20:55,002 - INFO - Deleting VN ctest-vn-92307476
2025-10-02 03:20:55,046 - DEBUG - VN 187d2ffa-8a4b-42f8-b0b9-c99a8ef9868f still in use: Unable to complete operation on network 187d2ffa-8a4b-42f8-b0b9-c99a8ef9868f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c8d0f349-8657-4c2a-b8d2-1bcc94be2dd6']
2025-10-02 03:20:55,046 - WARNING - Deleting VN ctest-vn-92307476 failed..Will retry
2025-10-02 03:20:57,190 - DEBUG - Response for deleting network ()
2025-10-02 03:20:57,190 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/313ef79e-d4a3-49bc-8182-2f7aa7cdc704
2025-10-02 03:20:57,195 - DEBUG - Response Code: 404
2025-10-02 03:20:57,195 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2025-10-02 03:20:57,201 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b0543e69-2184-4be1-8e23-ac5840233bc6
2025-10-02 03:20:57,227 - DEBUG - Requesting: http://10.0.0.56:8082/project/c0bfb7af-b2ec-4e45-b58e-33d6ca7fb6c0
2025-10-02 03:20:57,330 - INFO - Validated that VN ctest-vn-92307476 is not found in API Server
2025-10-02 03:20:57,341 - DEBUG - VN ctest-vn-92307476 is not present in Agent 10.0.0.33
2025-10-02 03:20:57,352 - DEBUG - VN ctest-vn-92307476 is not present in Agent 10.0.0.130
2025-10-02 03:20:57,352 - INFO - Validated that VN ctest-vn-92307476 is not in any agent
2025-10-02 03:20:57,385 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92307476 info
2025-10-02 03:20:58,644 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Thu Oct 2 03:20:54 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.130'
/contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.130')
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-02 03:20:58,655 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 03:20:58,656 - INFO -
2025-10-02 03:20:58,656 - INFO - END TEST : test_vif_statistics : FAILED[0:01:45]
2025-10-02 03:20:58,656 - INFO - --------------------------------------------------------------------------------
2025-10-02 03:20:59,357 - INFO - Deleted project: ctest-TestvifStats-14498398, ID : c0bfb7af-b2ec-4e45-b58e-33d6ca7fb6c0