2025-10-30 03:44:48,554 - INFO - Domain Default found not creating
2025-10-30 03:44:48,700 - INFO - Project ctest-TestvifStats-34218419 not found, creating it
2025-10-30 03:44:49,253 - INFO - Created Project:ctest-TestvifStats-34218419, ID : 44e0de05-e2d4-453d-8765-dad38b2ca51a
2025-10-30 03:44:50,807 - INFO - ================================================================================
2025-10-30 03:44:50,808 - INFO - STARTING TEST : test_vif_statistics
2025-10-30 03:44:50,808 - 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-30 03:44:52,074 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.131': '0', '10.20.0.254': '0'}, '10.0.0.65': {'10.20.0.254': '0', '10.20.0.131': '0'}} with
2025-10-30 03:44:52,074 - INFO - Initial checks done. Running the testcase now
2025-10-30 03:44:52,074 - INFO -
2025-10-30 03:44:52,793 - DEBUG - Response for create_network : {'network': {'id': '4d4e7bea-237a-4a99-9746-1697b71c7b85', 'name': 'ctest-vn-27036530', 'tenant_id': '44e0de05e2d4453d8765dad38b2ca51a', 'project_id': '44e0de05e2d4453d8765dad38b2ca51a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-34218419', 'ctest-vn-27036530'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 03:44:53,060 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd612c4d2-73e1-4785-b3e4-4d7abe40254f', 'name': '', 'tenant_id': '44e0de05e2d4453d8765dad38b2ca51a', 'network_id': '4d4e7bea-237a-4a99-9746-1697b71c7b85', 'ip_version': 4, 'cidr': '105.24.59.0/26', 'allocation_pools': [{'start': '105.24.59.2', 'end': '105.24.59.62'}], 'gateway_ip': '105.24.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.24.59.2', 'tags': [], 'project_id': '44e0de05e2d4453d8765dad38b2ca51a'}}
2025-10-30 03:44:53,086 - INFO - Created VN ctest-vn-27036530
2025-10-30 03:44:53,101 - DEBUG - VN ctest-vn-27036530 UUID is 4d4e7bea-237a-4a99-9746-1697b71c7b85
2025-10-30 03:44:53,181 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-30 03:44:53,485 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-30 03:44:53,519 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2be6ea5e-665d-4a78-a8ec-f940f567f06f
2025-10-30 03:44:53,535 - DEBUG - Requesting: http://10.0.0.242:8082/project/44e0de05-e2d4-453d-8765-dad38b2ca51a
2025-10-30 03:44:53,625 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4d4e7bea-237a-4a99-9746-1697b71c7b85
2025-10-30 03:44:53,640 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4d4e7bea-237a-4a99-9746-1697b71c7b85
2025-10-30 03:44:53,649 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2b837408-4a90-4f4d-9bd7-d3ca666dc42d
2025-10-30 03:44:53,659 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2b837408-4a90-4f4d-9bd7-d3ca666dc42d
2025-10-30 03:44:53,666 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/c897344b-2274-4f5a-ac68-e407a5e22a76
2025-10-30 03:44:53,679 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 03:44:53,679 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4d4e7bea-237a-4a99-9746-1697b71c7b85
2025-10-30 03:44:53,694 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2b837408-4a90-4f4d-9bd7-d3ca666dc42d
2025-10-30 03:44:53,712 - INFO - Verified VN network id 13 for VN 4d4e7bea-237a-4a99-9746-1697b71c7b85
2025-10-30 03:44:53,713 - INFO - Verifications in API Server for VN ctest-vn-27036530 passed
2025-10-30 03:44:53,713 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4d4e7bea-237a-4a99-9746-1697b71c7b85
2025-10-30 03:44:53,723 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2b837408-4a90-4f4d-9bd7-d3ca666dc42d
2025-10-30 03:44:53,733 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2b837408-4a90-4f4d-9bd7-d3ca666dc42d
2025-10-30 03:44:53,741 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/c897344b-2274-4f5a-ac68-e407a5e22a76
2025-10-30 03:44:53,757 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-34218419', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5570526034651663001', 'uuid-lslong': '10900424788964834181'}, 'enable': 'true', 'created': '2025-10-30T03:44:52', 'last-modified': '2025-10-30T03:44:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.748646'}
2025-10-30 03:44:53,764 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 03:44:53,770 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-34218419', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5570526034651663001', 'uuid-lslong': '10900424788964834181'}, 'enable': 'true', 'created': '2025-10-30T03:44:52', 'last-modified': '2025-10-30T03:44:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.761758'}
2025-10-30 03:44:53,777 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 03:44:53,782 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-34218419', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5570526034651663001', 'uuid-lslong': '10900424788964834181'}, 'enable': 'true', 'created': '2025-10-30T03:44:52', 'last-modified': '2025-10-30T03:44:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.774350'}
2025-10-30 03:44:53,788 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-30 03:44:53,789 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27036530 passed
2025-10-30 03:44:53,789 - DEBUG - ====Verifying policy data for ctest-vn-27036530 in API_Server ======
2025-10-30 03:44:53,789 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-30 03:44:53,798 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2be6ea5e-665d-4a78-a8ec-f940f567f06f
2025-10-30 03:44:53,812 - DEBUG - Requesting: http://10.0.0.242:8082/project/44e0de05-e2d4-453d-8765-dad38b2ca51a
2025-10-30 03:44:53,908 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4d4e7bea-237a-4a99-9746-1697b71c7b85
2025-10-30 03:44:53,923 - DEBUG - =>VN ctest-vn-27036530 has no policy to be verified
2025-10-30 03:44:53,923 - DEBUG - Verifying the vn in opserver
2025-10-30 03:44:53,923 - DEBUG - Verifying the default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 virtual network link through opserver 10.0.0.242
2025-10-30 03:44:53,923 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-30 03:44:54,224 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-30 03:44:54,292 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530?flat'}
2025-10-30 03:44:54,292 - DEBUG - Verifying the default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 virtual network link through opserver 10.0.0.254
2025-10-30 03:44:54,292 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-30 03:44:54,595 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-30 03:44:54,655 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530?flat'}
2025-10-30 03:44:54,655 - DEBUG - Verifying the default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 virtual network link through opserver 10.0.0.240
2025-10-30 03:44:54,655 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2025-10-30 03:44:54,950 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2025-10-30 03:44:55,007 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530?flat'}
2025-10-30 03:44:55,007 - INFO - Validated that VN default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 is found in opserver
2025-10-30 03:44:55,030 - DEBUG - Do not have enough data to verify VN in agent
2025-10-30 03:44:55,041 - DEBUG - VRF ids for VN ctest-vn-27036530: {}
2025-10-30 03:44:55,068 - DEBUG - Services list from nova: [, , , ]
2025-10-30 03:44:55,069 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4535-2', 'an-jenkins-deploy-platform-ansible-os-4535-1']}
2025-10-30 03:44:55,069 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4535-2', 'an-jenkins-deploy-platform-ansible-os-4535-1']}
2025-10-30 03:44:56,215 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4535-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4535-2)
2025-10-30 03:44:56,216 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4535-2', 'an-jenkins-deploy-platform-ansible-os-4535-1']}
2025-10-30 03:44:57,475 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4535-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4535-2)
2025-10-30 03:44:57,475 - INFO - Waiting for VM ctest-TestvifStats-34218419-85407655 to be up..
2025-10-30 03:44:57,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-30 03:45:02,663 - DEBUG - VM is in ACTIVE state now
2025-10-30 03:45:02,663 - INFO - VM name : ctest-TestvifStats-34218419-85407655
2025-10-30 03:45:02,745 - DEBUG - VM ctest-TestvifStats-34218419-85407655 ID is 3087f9a8-90f7-4784-9c75-4604507178d7
2025-10-30 03:45:02,768 - DEBUG - VM ctest-TestvifStats-34218419-85407655 launched on Node an-jenkins-deploy-platform-ansible-os-4535-2
2025-10-30 03:45:02,848 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/3087f9a8-90f7-4784-9c75-4604507178d7
2025-10-30 03:45:03,146 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/3087f9a8-90f7-4784-9c75-4604507178d7
2025-10-30 03:45:03,180 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/ff73385c-5cba-4d22-8761-ac650419bcbc
2025-10-30 03:45:06,379 - 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 1029ms')
2025-10-30 03:45:06,379 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-34218419-85407655 failed!
2025-10-30 03:45:06,398 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 is 105.24.59.1 and allocation pool is NOT set
2025-10-30 03:45:10,472 - 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-30 03:45:10,473 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-34218419-85407655 failed!
2025-10-30 03:45:10,487 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 is 105.24.59.1 and allocation pool is NOT set
2025-10-30 03:45:14,572 - 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-30 03:45:14,572 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-34218419-85407655 failed!
2025-10-30 03:45:14,590 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 is 105.24.59.1 and allocation pool is NOT set
2025-10-30 03:45:18,664 - 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-30 03:45:18,664 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-34218419-85407655 failed!
2025-10-30 03:45:18,679 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 is 105.24.59.1 and allocation pool is NOT set
2025-10-30 03:45:22,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 1015ms')
2025-10-30 03:45:22,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-34218419-85407655 failed!
2025-10-30 03:45:22,777 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 is 105.24.59.1 and allocation pool is NOT set
2025-10-30 03:45:26,854 - 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-30 03:45:26,854 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-34218419-85407655 failed!
2025-10-30 03:45:26,871 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 is 105.24.59.1 and allocation pool is NOT set
2025-10-30 03:45:30,949 - 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-30 03:45:30,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-34218419-85407655 failed!
2025-10-30 03:45:30,966 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 is 105.24.59.1 and allocation pool is NOT set
2025-10-30 03:45:35,042 - 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-30 03:45:35,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-34218419-85407655 failed!
2025-10-30 03:45:35,059 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 is 105.24.59.1 and allocation pool is NOT set
2025-10-30 03:45:39,141 - 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-30 03:45:39,141 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-34218419-85407655 failed!
2025-10-30 03:45:39,158 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-34218419:ctest-vn-27036530 is 105.24.59.1 and allocation pool is NOT set
2025-10-30 03:45:43,240 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=7.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 7.176/7.176/7.176/0.000 ms')
2025-10-30 03:45:43,240 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-34218419-85407655 passed
2025-10-30 03:45:43,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:45:43,316 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-34218419-85407655, IP 105.24.59.3, Port 22
2025-10-30 03:45:43,384 - 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-30 03:45:43,469 - DEBUG - VM ctest-TestvifStats-34218419-85407655 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 03:45:48,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:45:48,470 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-34218419-85407655, IP 105.24.59.3, Port 22
2025-10-30 03:45:48,536 - 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-30 03:45:48,624 - DEBUG - VM ctest-TestvifStats-34218419-85407655 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 03:45:53,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:45:53,625 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-34218419-85407655, IP 105.24.59.3, Port 22
2025-10-30 03:45:53,682 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-30 03:45:53,775 - DEBUG - VM ctest-TestvifStats-34218419-85407655 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 03:45:58,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:45:58,776 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-34218419-85407655, IP 105.24.59.3, Port 22
2025-10-30 03:45:58,834 - 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-30 03:45:58,926 - DEBUG - VM ctest-TestvifStats-34218419-85407655 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 03:46:03,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:46:03,926 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-34218419-85407655, IP 105.24.59.3, Port 22
2025-10-30 03:46:04,096 - DEBUG - VM ctest-TestvifStats-34218419-85407655 is ready for SSH connections
2025-10-30 03:46:04,096 - INFO - Waiting for VM ctest-TestvifStats-34218419-96446450 to be up..
2025-10-30 03:46:04,185 - DEBUG - VM is in ACTIVE state now
2025-10-30 03:46:04,185 - INFO - VM name : ctest-TestvifStats-34218419-96446450
2025-10-30 03:46:04,275 - DEBUG - VM ctest-TestvifStats-34218419-96446450 ID is 608ab6ef-b895-4645-87b7-5d881e17375e
2025-10-30 03:46:04,275 - DEBUG - VM ctest-TestvifStats-34218419-96446450 launched on Node an-jenkins-deploy-platform-ansible-os-4535-2
2025-10-30 03:46:04,371 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/608ab6ef-b895-4645-87b7-5d881e17375e
2025-10-30 03:46:04,382 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/b114a9a9-b8b6-4b1d-95ee-d6446c8d9805
2025-10-30 03:46:05,540 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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 = 0.543/1.953/3.364/1.410 ms')
2025-10-30 03:46:05,541 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-34218419-96446450 passed
2025-10-30 03:46:05,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:46:05,616 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-34218419-96446450, IP 105.24.59.4, Port 22
2025-10-30 03:46:05,784 - DEBUG - VM ctest-TestvifStats-34218419-96446450 is ready for SSH connections
2025-10-30 03:46:05,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 03:46:05,784 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.24.59.4, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-10-30 03:46:05,785 - DEBUG - ping -s 56 -c 3 -W 1 105.24.59.4
2025-10-30 03:46:27,451 - DEBUG - PING 105.24.59.4 (105.24.59.4) 56(84) bytes of data.
64 bytes from 105.24.59.4: icmp_req=1 ttl=64 time=11.5 ms
64 bytes from 105.24.59.4: icmp_req=2 ttl=64 time=0.914 ms
64 bytes from 105.24.59.4: icmp_req=3 ttl=64 time=0.940 ms
--- 105.24.59.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.914/4.479/11.585/5.024 ms
2025-10-30 03:46:27,451 - INFO - Ping to IP 105.24.59.4 from VM ctest-TestvifStats-34218419-85407655 passed
2025-10-30 03:46:27,452 - INFO - 10.0.0.65
2025-10-30 03:46:27,452 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-10-30 03:46:27,561 - INFO - Deleting VM ctest-TestvifStats-34218419-96446450
2025-10-30 03:46:27,633 - INFO - Deleting VM ctest-TestvifStats-34218419-85407655
2025-10-30 03:46:27,706 - INFO - Deleting VN ctest-vn-27036530
2025-10-30 03:46:27,751 - DEBUG - VN 4d4e7bea-237a-4a99-9746-1697b71c7b85 still in use: Unable to complete operation on network 4d4e7bea-237a-4a99-9746-1697b71c7b85. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-708330ac-45a5-4907-8c79-ebaa88bf644b']
2025-10-30 03:46:27,752 - WARNING - Deleting VN ctest-vn-27036530 failed..Will retry
2025-10-30 03:46:29,898 - DEBUG - Response for deleting network ()
2025-10-30 03:46:29,898 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2b837408-4a90-4f4d-9bd7-d3ca666dc42d
2025-10-30 03:46:29,904 - DEBUG - Response Code: 404
2025-10-30 03:46:29,905 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-30 03:46:29,910 - DEBUG - Requesting: http://10.0.0.242:8082/domain/2be6ea5e-665d-4a78-a8ec-f940f567f06f
2025-10-30 03:46:29,935 - DEBUG - Requesting: http://10.0.0.242:8082/project/44e0de05-e2d4-453d-8765-dad38b2ca51a
2025-10-30 03:46:30,031 - INFO - Validated that VN ctest-vn-27036530 is not found in API Server
2025-10-30 03:46:30,042 - DEBUG - VN ctest-vn-27036530 is not present in Agent 10.0.0.129
2025-10-30 03:46:30,051 - DEBUG - VN ctest-vn-27036530 is not present in Agent 10.0.0.65
2025-10-30 03:46:30,051 - INFO - Validated that VN ctest-vn-27036530 is not in any agent
2025-10-30 03:46:30,084 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27036530 info
2025-10-30 03:46:31,342 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Thu Oct 30 03:46:27 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.65'
/contrail-test/scripts/vrouter/test_vif_stats.py in get_vif_stats(self=, compute_ip='10.0.0.65')
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-30 03:46:31,354 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 03:46:31,354 - INFO -
2025-10-30 03:46:31,354 - INFO - END TEST : test_vif_statistics : FAILED[0:01:41]
2025-10-30 03:46:31,354 - INFO - --------------------------------------------------------------------------------
2025-10-30 03:46:32,070 - INFO - Deleted project: ctest-TestvifStats-34218419, ID : 44e0de05-e2d4-453d-8765-dad38b2ca51a