2025-12-19 17:25:11,206 - INFO - Domain Default found not creating 2025-12-19 17:25:11,408 - INFO - Project ctest-TestRouters-88107844 not found, creating it 2025-12-19 17:25:11,928 - INFO - Created Project:ctest-TestRouters-88107844, ID : a1ee37c7-77fa-496b-b2ba-89851861e0ab 2025-12-19 17:25:13,639 - INFO - ================================================================================ 2025-12-19 17:25:13,639 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-19 17:25:13,639 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs Create a router Create 2 VNs, and a VM in each Add router port from each VN Ping between VMs 2025-12-19 17:25:13,899 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-12-19 17:25:13,899 - INFO - Initial checks done. Running the testcase now 2025-12-19 17:25:13,899 - INFO - 2025-12-19 17:25:14,558 - DEBUG - Response for create_network : {'network': {'id': '185d5ed5-d818-4e95-acae-d04753ef4fa6', 'name': 'ctest-vn1-57604378', 'tenant_id': 'a1ee37c777fa496bb2ba89851861e0ab', 'project_id': 'a1ee37c777fa496bb2ba89851861e0ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88107844', 'ctest-vn1-57604378'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:25:14,782 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b56999f-7c22-4c80-92f7-3a20f36fd6d4', 'name': '', 'tenant_id': 'a1ee37c777fa496bb2ba89851861e0ab', 'network_id': '185d5ed5-d818-4e95-acae-d04753ef4fa6', 'ip_version': 4, 'cidr': '98.125.128.0/26', 'allocation_pools': [{'start': '98.125.128.2', 'end': '98.125.128.62'}], 'gateway_ip': '98.125.128.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.125.128.2', 'tags': [], 'project_id': 'a1ee37c777fa496bb2ba89851861e0ab'}} 2025-12-19 17:25:14,803 - INFO - Created VN ctest-vn1-57604378 2025-12-19 17:25:14,856 - DEBUG - VN ctest-vn1-57604378 UUID is 185d5ed5-d818-4e95-acae-d04753ef4fa6 2025-12-19 17:25:15,188 - DEBUG - Response for create_network : {'network': {'id': 'f6e68b00-b038-4119-9efe-55bb5e7e1696', 'name': 'ctest-vn2-22490783', 'tenant_id': 'a1ee37c777fa496bb2ba89851861e0ab', 'project_id': 'a1ee37c777fa496bb2ba89851861e0ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88107844', 'ctest-vn2-22490783'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:25:15,379 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f351152a-ba02-4fd9-aede-4df3728b6e8c', 'name': '', 'tenant_id': 'a1ee37c777fa496bb2ba89851861e0ab', 'network_id': 'f6e68b00-b038-4119-9efe-55bb5e7e1696', 'ip_version': 4, 'cidr': '112.13.235.64/26', 'allocation_pools': [{'start': '112.13.235.66', 'end': '112.13.235.126'}], 'gateway_ip': '112.13.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.13.235.66', 'tags': [], 'project_id': 'a1ee37c777fa496bb2ba89851861e0ab'}} 2025-12-19 17:25:15,405 - INFO - Created VN ctest-vn2-22490783 2025-12-19 17:25:15,461 - DEBUG - VN ctest-vn2-22490783 UUID is f6e68b00-b038-4119-9efe-55bb5e7e1696 2025-12-19 17:25:15,654 - DEBUG - Services list from nova: [, , ] 2025-12-19 17:25:16,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4912-1) 2025-12-19 17:25:18,255 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4912-1) 2025-12-19 17:25:18,375 - INFO - Adding interface with subnet_id 6b56999f-7c22-4c80-92f7-3a20f36fd6d4, port_id None to router f70c2b7d-e7fa-4fad-9e66-700623aed00d 2025-12-19 17:25:18,711 - INFO - Waiting for VM ctest-vn1-vm1-05641907 to be up.. 2025-12-19 17:25:18,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-19 17:25:24,022 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:25:24,022 - INFO - VM name : ctest-vn1-vm1-05641907 2025-12-19 17:25:24,142 - DEBUG - VM ctest-vn1-vm1-05641907 ID is 6ed6de3b-b432-4952-845f-c1a60aabfb19 2025-12-19 17:25:24,168 - DEBUG - VM ctest-vn1-vm1-05641907 launched on Node cn-jenkins-deploy-platform-ansible-os-4912-1 2025-12-19 17:25:24,263 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6ed6de3b-b432-4952-845f-c1a60aabfb19 2025-12-19 17:25:24,569 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6ed6de3b-b432-4952-845f-c1a60aabfb19 2025-12-19 17:25:24,614 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8d8d9176-fba8-4bfc-9456-fb033eef8375 2025-12-19 17:25:27,883 - 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-12-19 17:25:27,884 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05641907 failed! 2025-12-19 17:25:27,941 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-88107844:ctest-vn1-57604378 is 98.125.128.1 and allocation pool is NOT set 2025-12-19 17:25:29,999 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.58 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 = 1.580/3.845/6.110/2.265 ms') 2025-12-19 17:25:30,000 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05641907 passed 2025-12-19 17:25:30,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:25:30,157 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05641907, IP 98.125.128.3, Port 22 2025-12-19 17:25:30,223 - DEBUG - Error on ssh to cirros@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-12-19 17:25:30,316 - DEBUG - VM ctest-vn1-vm1-05641907 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-19 17:25:35,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:25:35,317 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05641907, IP 98.125.128.3, Port 22 2025-12-19 17:25:35,480 - DEBUG - VM ctest-vn1-vm1-05641907 is ready for SSH connections 2025-12-19 17:25:35,480 - INFO - Waiting for VM ctest-vn2-vm1-48349163 to be up.. 2025-12-19 17:25:35,567 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:25:35,567 - INFO - VM name : ctest-vn2-vm1-48349163 2025-12-19 17:25:35,663 - DEBUG - VM ctest-vn2-vm1-48349163 ID is c40a644f-66e2-4268-9605-6ccefdbe2d4d 2025-12-19 17:25:35,663 - DEBUG - VM ctest-vn2-vm1-48349163 launched on Node cn-jenkins-deploy-platform-ansible-os-4912-1 2025-12-19 17:25:35,752 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c40a644f-66e2-4268-9605-6ccefdbe2d4d 2025-12-19 17:25:35,761 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/dcb61064-7ef6-4a34-b8c5-02a904eb7016 2025-12-19 17:25:37,014 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.607 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.607/2.220/3.833/1.613 ms') 2025-12-19 17:25:37,014 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-48349163 passed 2025-12-19 17:25:37,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:25:37,169 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-48349163, IP 112.13.235.67, Port 22 2025-12-19 17:25:37,332 - DEBUG - VM ctest-vn2-vm1-48349163 is ready for SSH connections 2025-12-19 17:25:37,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:25:37,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.13.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-19 17:25:37,332 - DEBUG - ping -s 56 -c 3 -W 1 112.13.235.67 2025-12-19 17:25:42,463 - DEBUG - PING 112.13.235.67 (112.13.235.67): 56 data bytes --- 112.13.235.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-19 17:25:42,464 - WARNING - Ping to IP 112.13.235.67 from VM ctest-vn1-vm1-05641907 failed 2025-12-19 17:25:42,464 - INFO - Adding interface with subnet_id f351152a-ba02-4fd9-aede-4df3728b6e8c, port_id None to router f70c2b7d-e7fa-4fad-9e66-700623aed00d 2025-12-19 17:25:42,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:25:42,737 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.13.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-19 17:25:42,737 - DEBUG - ping -s 56 -c 3 -W 1 112.13.235.67 2025-12-19 17:25:45,993 - DEBUG - PING 112.13.235.67 (112.13.235.67): 56 data bytes 64 bytes from 112.13.235.67: seq=1 ttl=63 time=3.321 ms 64 bytes from 112.13.235.67: seq=2 ttl=63 time=1.012 ms --- 112.13.235.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.012/2.166/3.321 ms 2025-12-19 17:25:45,994 - WARNING - Ping to IP 112.13.235.67 from VM ctest-vn1-vm1-05641907 failed 2025-12-19 17:25:46,995 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.13.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-19 17:25:46,995 - DEBUG - ping -s 56 -c 3 -W 1 112.13.235.67 2025-12-19 17:25:49,243 - DEBUG - PING 112.13.235.67 (112.13.235.67): 56 data bytes 64 bytes from 112.13.235.67: seq=0 ttl=63 time=1.886 ms 64 bytes from 112.13.235.67: seq=1 ttl=63 time=1.312 ms 64 bytes from 112.13.235.67: seq=2 ttl=63 time=1.060 ms --- 112.13.235.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.060/1.419/1.886 ms 2025-12-19 17:25:49,243 - INFO - Ping to IP 112.13.235.67 from VM ctest-vn1-vm1-05641907 passed 2025-12-19 17:25:49,243 - INFO - Deleting interface with subnet_id 6b56999f-7c22-4c80-92f7-3a20f36fd6d4, port_id None from router f70c2b7d-e7fa-4fad-9e66-700623aed00d 2025-12-19 17:25:49,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:25:49,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.13.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-19 17:25:49,406 - DEBUG - ping -s 56 -c 3 -W 1 112.13.235.67 2025-12-19 17:25:52,658 - DEBUG - PING 112.13.235.67 (112.13.235.67): 56 data bytes --- 112.13.235.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-19 17:25:52,658 - WARNING - Ping to IP 112.13.235.67 from VM ctest-vn1-vm1-05641907 failed 2025-12-19 17:25:52,658 - INFO - Adding interface with subnet_id 6b56999f-7c22-4c80-92f7-3a20f36fd6d4, port_id None to router f70c2b7d-e7fa-4fad-9e66-700623aed00d 2025-12-19 17:25:52,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:25:52,910 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.13.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-19 17:25:52,910 - DEBUG - ping -s 56 -c 3 -W 1 112.13.235.67 2025-12-19 17:25:55,149 - DEBUG - PING 112.13.235.67 (112.13.235.67): 56 data bytes 64 bytes from 112.13.235.67: seq=0 ttl=63 time=1.565 ms 64 bytes from 112.13.235.67: seq=1 ttl=63 time=1.599 ms 64 bytes from 112.13.235.67: seq=2 ttl=63 time=2.898 ms --- 112.13.235.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.565/2.020/2.898 ms 2025-12-19 17:25:55,149 - INFO - Ping to IP 112.13.235.67 from VM ctest-vn1-vm1-05641907 passed 2025-12-19 17:25:55,149 - INFO - Deleting interface with subnet_id f351152a-ba02-4fd9-aede-4df3728b6e8c, port_id None from router f70c2b7d-e7fa-4fad-9e66-700623aed00d 2025-12-19 17:25:55,311 - INFO - Deleting interface with subnet_id 6b56999f-7c22-4c80-92f7-3a20f36fd6d4, port_id None from router f70c2b7d-e7fa-4fad-9e66-700623aed00d 2025-12-19 17:25:55,552 - INFO - Deleting VM ctest-vn2-vm1-48349163 2025-12-19 17:25:55,653 - INFO - Deleting VM ctest-vn1-vm1-05641907 2025-12-19 17:25:55,741 - INFO - Deleting VN ctest-vn2-22490783 2025-12-19 17:25:55,786 - DEBUG - VN f6e68b00-b038-4119-9efe-55bb5e7e1696 still in use: Unable to complete operation on network f6e68b00-b038-4119-9efe-55bb5e7e1696. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf9af21d-8094-4923-b225-e2b0078faba7'] 2025-12-19 17:25:55,787 - WARNING - Deleting VN ctest-vn2-22490783 failed..Will retry 2025-12-19 17:25:57,897 - DEBUG - Response for deleting network () 2025-12-19 17:25:57,897 - INFO - Deleting VN ctest-vn1-57604378 2025-12-19 17:25:58,017 - DEBUG - Response for deleting network () 2025-12-19 17:25:58,274 - DEBUG - No XMPP flaps were noticed during the test
2025-12-19 17:25:58,274 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-12-19 17:25:58,274 - INFO - -------------------------------------------------------------------------------- 2025-12-19 17:25:58,994 - INFO - Deleted project: ctest-TestRouters-88107844, ID : a1ee37c7-77fa-496b-b2ba-89851861e0ab