2025-11-05 16:21:32,980 - INFO - Domain Default found not creating 2025-11-05 16:21:33,168 - INFO - Project ctest-TestRouters-79031280 not found, creating it 2025-11-05 16:21:33,707 - INFO - Created Project:ctest-TestRouters-79031280, ID : 635acb2a-fe81-4e69-a4f7-73ab57b6f36e 2025-11-05 16:21:35,461 - INFO - ================================================================================ 2025-11-05 16:21:35,461 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 16:21:35,461 - 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-11-05 16:21:35,727 - DEBUG - Nothing to compare xmpp stats {'10.0.0.147': {'10.20.0.249': '0'}} with 2025-11-05 16:21:35,727 - INFO - Initial checks done. Running the testcase now 2025-11-05 16:21:35,727 - INFO - 2025-11-05 16:21:36,402 - DEBUG - Response for create_network : {'network': {'id': '44a051f2-51bd-493b-8f5d-fdf14b87a996', 'name': 'ctest-vn1-25365636', 'tenant_id': '635acb2afe814e69a4f773ab57b6f36e', 'project_id': '635acb2afe814e69a4f773ab57b6f36e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-79031280', 'ctest-vn1-25365636'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:21:36,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '69c1d5c7-cd43-4003-a1c5-bafc31971fa7', 'name': '', 'tenant_id': '635acb2afe814e69a4f773ab57b6f36e', 'network_id': '44a051f2-51bd-493b-8f5d-fdf14b87a996', 'ip_version': 4, 'cidr': '78.96.4.0/26', 'allocation_pools': [{'start': '78.96.4.2', 'end': '78.96.4.62'}], 'gateway_ip': '78.96.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.96.4.2', 'tags': [], 'project_id': '635acb2afe814e69a4f773ab57b6f36e'}} 2025-11-05 16:21:36,684 - INFO - Created VN ctest-vn1-25365636 2025-11-05 16:21:36,743 - DEBUG - VN ctest-vn1-25365636 UUID is 44a051f2-51bd-493b-8f5d-fdf14b87a996 2025-11-05 16:21:37,064 - DEBUG - Response for create_network : {'network': {'id': '36dcd615-0716-4695-9b39-c94b2e11f751', 'name': 'ctest-vn2-71247013', 'tenant_id': '635acb2afe814e69a4f773ab57b6f36e', 'project_id': '635acb2afe814e69a4f773ab57b6f36e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-79031280', 'ctest-vn2-71247013'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:21:37,248 - DEBUG - Response for create_subnet : {'subnet': {'id': '5622a7b9-1922-4b9c-8c49-f9666c45ebbf', 'name': '', 'tenant_id': '635acb2afe814e69a4f773ab57b6f36e', 'network_id': '36dcd615-0716-4695-9b39-c94b2e11f751', 'ip_version': 4, 'cidr': '159.112.175.64/26', 'allocation_pools': [{'start': '159.112.175.66', 'end': '159.112.175.126'}], 'gateway_ip': '159.112.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.112.175.66', 'tags': [], 'project_id': '635acb2afe814e69a4f773ab57b6f36e'}} 2025-11-05 16:21:37,269 - INFO - Created VN ctest-vn2-71247013 2025-11-05 16:21:37,323 - DEBUG - VN ctest-vn2-71247013 UUID is 36dcd615-0716-4695-9b39-c94b2e11f751 2025-11-05 16:21:37,514 - DEBUG - Services list from nova: [, , ] 2025-11-05 16:21:38,706 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4649-1) 2025-11-05 16:21:40,124 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4649-1) 2025-11-05 16:21:40,226 - INFO - Adding interface with subnet_id 69c1d5c7-cd43-4003-a1c5-bafc31971fa7, port_id None to router 8aa1aea4-895d-48b8-9038-5327a3e62208 2025-11-05 16:21:40,572 - INFO - Waiting for VM ctest-vn1-vm1-38294680 to be up.. 2025-11-05 16:21:40,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 16:21:45,793 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:21:45,794 - INFO - VM name : ctest-vn1-vm1-38294680 2025-11-05 16:21:45,893 - DEBUG - VM ctest-vn1-vm1-38294680 ID is 3a9f3911-38ef-4f67-b26c-7bf139f0eec7 2025-11-05 16:21:45,919 - DEBUG - VM ctest-vn1-vm1-38294680 launched on Node cn-jenkins-deploy-platform-ansible-os-4649-1 2025-11-05 16:21:46,015 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine/3a9f3911-38ef-4f67-b26c-7bf139f0eec7 2025-11-05 16:21:46,358 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine/3a9f3911-38ef-4f67-b26c-7bf139f0eec7 2025-11-05 16:21:46,401 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine-interface/9037c85d-208e-4400-8be4-9d55607d8dcd 2025-11-05 16:21:49,679 - 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-11-05 16:21:49,680 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38294680 failed! 2025-11-05 16:21:49,743 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-79031280:ctest-vn1-25365636 is 78.96.4.1 and allocation pool is NOT set 2025-11-05 16:21:51,801 - 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=4.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.775 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.775/2.474/4.174/1.699 ms') 2025-11-05 16:21:51,801 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38294680 passed 2025-11-05 16:21:51,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:21:51,963 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38294680, IP 78.96.4.3, Port 22 2025-11-05 16:21:52,028 - 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-11-05 16:21:52,119 - DEBUG - VM ctest-vn1-vm1-38294680 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-05 16:21:57,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:21:57,120 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38294680, IP 78.96.4.3, Port 22 2025-11-05 16:21:57,282 - DEBUG - VM ctest-vn1-vm1-38294680 is ready for SSH connections 2025-11-05 16:21:57,282 - INFO - Waiting for VM ctest-vn2-vm1-59721104 to be up.. 2025-11-05 16:21:57,367 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:21:57,367 - INFO - VM name : ctest-vn2-vm1-59721104 2025-11-05 16:21:57,456 - DEBUG - VM ctest-vn2-vm1-59721104 ID is 02b9c0ac-943b-46f0-9112-b2674412735d 2025-11-05 16:21:57,456 - DEBUG - VM ctest-vn2-vm1-59721104 launched on Node cn-jenkins-deploy-platform-ansible-os-4649-1 2025-11-05 16:21:57,544 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine/02b9c0ac-943b-46f0-9112-b2674412735d 2025-11-05 16:21:57,554 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine-interface/a2086af7-b443-48f2-9955-f2541fbc823e 2025-11-05 16:21:58,807 - 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.26 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.901/3.260/1.358 ms') 2025-11-05 16:21:58,807 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-59721104 passed 2025-11-05 16:21:58,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:21:58,967 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-59721104, IP 159.112.175.67, Port 22 2025-11-05 16:21:59,132 - DEBUG - VM ctest-vn2-vm1-59721104 is ready for SSH connections 2025-11-05 16:21:59,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:21:59,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.112.175.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.147, gateway password: c0ntrail123 2025-11-05 16:21:59,133 - DEBUG - ping -s 56 -c 3 -W 1 159.112.175.67 2025-11-05 16:22:04,268 - DEBUG - PING 159.112.175.67 (159.112.175.67): 56 data bytes --- 159.112.175.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 16:22:04,268 - WARNING - Ping to IP 159.112.175.67 from VM ctest-vn1-vm1-38294680 failed 2025-11-05 16:22:04,269 - INFO - Adding interface with subnet_id 5622a7b9-1922-4b9c-8c49-f9666c45ebbf, port_id None to router 8aa1aea4-895d-48b8-9038-5327a3e62208 2025-11-05 16:22:04,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:22:04,533 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.112.175.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.147, gateway password: c0ntrail123 2025-11-05 16:22:04,533 - DEBUG - ping -s 56 -c 3 -W 1 159.112.175.67 2025-11-05 16:22:07,788 - DEBUG - PING 159.112.175.67 (159.112.175.67): 56 data bytes 64 bytes from 159.112.175.67: seq=1 ttl=63 time=3.150 ms 64 bytes from 159.112.175.67: seq=2 ttl=63 time=0.984 ms --- 159.112.175.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.984/2.067/3.150 ms 2025-11-05 16:22:07,789 - WARNING - Ping to IP 159.112.175.67 from VM ctest-vn1-vm1-38294680 failed 2025-11-05 16:22:08,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.112.175.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.147, gateway password: c0ntrail123 2025-11-05 16:22:08,790 - DEBUG - ping -s 56 -c 3 -W 1 159.112.175.67 2025-11-05 16:22:11,050 - DEBUG - PING 159.112.175.67 (159.112.175.67): 56 data bytes 64 bytes from 159.112.175.67: seq=0 ttl=63 time=1.861 ms 64 bytes from 159.112.175.67: seq=1 ttl=63 time=1.133 ms 64 bytes from 159.112.175.67: seq=2 ttl=63 time=1.004 ms --- 159.112.175.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.004/1.332/1.861 ms 2025-11-05 16:22:11,050 - INFO - Ping to IP 159.112.175.67 from VM ctest-vn1-vm1-38294680 passed 2025-11-05 16:22:11,050 - INFO - Deleting interface with subnet_id 69c1d5c7-cd43-4003-a1c5-bafc31971fa7, port_id None from router 8aa1aea4-895d-48b8-9038-5327a3e62208 2025-11-05 16:22:11,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:22:11,191 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.112.175.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.147, gateway password: c0ntrail123 2025-11-05 16:22:11,191 - DEBUG - ping -s 56 -c 3 -W 1 159.112.175.67 2025-11-05 16:22:14,460 - DEBUG - PING 159.112.175.67 (159.112.175.67): 56 data bytes --- 159.112.175.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 16:22:14,460 - WARNING - Ping to IP 159.112.175.67 from VM ctest-vn1-vm1-38294680 failed 2025-11-05 16:22:14,460 - INFO - Adding interface with subnet_id 69c1d5c7-cd43-4003-a1c5-bafc31971fa7, port_id None to router 8aa1aea4-895d-48b8-9038-5327a3e62208 2025-11-05 16:22:14,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:22:14,713 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.112.175.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.147, gateway password: c0ntrail123 2025-11-05 16:22:14,713 - DEBUG - ping -s 56 -c 3 -W 1 159.112.175.67 2025-11-05 16:22:16,967 - DEBUG - PING 159.112.175.67 (159.112.175.67): 56 data bytes 64 bytes from 159.112.175.67: seq=0 ttl=63 time=1.858 ms 64 bytes from 159.112.175.67: seq=1 ttl=63 time=1.305 ms 64 bytes from 159.112.175.67: seq=2 ttl=63 time=0.943 ms --- 159.112.175.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.943/1.368/1.858 ms 2025-11-05 16:22:16,968 - INFO - Ping to IP 159.112.175.67 from VM ctest-vn1-vm1-38294680 passed 2025-11-05 16:22:16,968 - INFO - Deleting interface with subnet_id 5622a7b9-1922-4b9c-8c49-f9666c45ebbf, port_id None from router 8aa1aea4-895d-48b8-9038-5327a3e62208 2025-11-05 16:22:17,098 - INFO - Deleting interface with subnet_id 69c1d5c7-cd43-4003-a1c5-bafc31971fa7, port_id None from router 8aa1aea4-895d-48b8-9038-5327a3e62208 2025-11-05 16:22:17,297 - INFO - Deleting VM ctest-vn2-vm1-59721104 2025-11-05 16:22:17,380 - INFO - Deleting VM ctest-vn1-vm1-38294680 2025-11-05 16:22:17,474 - INFO - Deleting VN ctest-vn2-71247013 2025-11-05 16:22:17,524 - DEBUG - VN 36dcd615-0716-4695-9b39-c94b2e11f751 still in use: Unable to complete operation on network 36dcd615-0716-4695-9b39-c94b2e11f751. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-37e7b609-61c1-497c-854e-2b0605736eb5'] 2025-11-05 16:22:17,524 - WARNING - Deleting VN ctest-vn2-71247013 failed..Will retry 2025-11-05 16:22:19,639 - DEBUG - Response for deleting network () 2025-11-05 16:22:19,639 - INFO - Deleting VN ctest-vn1-25365636 2025-11-05 16:22:19,780 - DEBUG - Response for deleting network () 2025-11-05 16:22:20,042 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 16:22:20,042 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45] 2025-11-05 16:22:20,042 - INFO - -------------------------------------------------------------------------------- 2025-11-05 16:22:20,954 - INFO - Deleted project: ctest-TestRouters-79031280, ID : 635acb2a-fe81-4e69-a4f7-73ab57b6f36e