2025-08-15 16:31:13,171 - INFO - Domain Default found not creating 2025-08-15 16:31:13,309 - INFO - Project ctest-TestRouters-72192746 not found, creating it 2025-08-15 16:31:13,755 - INFO - Created Project:ctest-TestRouters-72192746, ID : 0b278659-6be4-4802-878f-35883f35032f 2025-08-15 16:31:15,750 - INFO - ================================================================================ 2025-08-15 16:31:15,751 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-15 16:31:15,751 - 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-08-15 16:31:16,004 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-08-15 16:31:16,004 - INFO - Initial checks done. Running the testcase now 2025-08-15 16:31:16,005 - INFO - 2025-08-15 16:31:16,533 - DEBUG - Response for create_network : {'network': {'id': '5421bba9-396b-4d96-a2a3-3102d7c09c56', 'name': 'ctest-vn1-24468515', 'tenant_id': '0b2786596be44802878f35883f35032f', 'project_id': '0b2786596be44802878f35883f35032f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72192746', 'ctest-vn1-24468515'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 16:31:16,726 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fdb727c7-89fb-4adf-8da1-41fcb0f0aab1', 'name': '', 'tenant_id': '0b2786596be44802878f35883f35032f', 'network_id': '5421bba9-396b-4d96-a2a3-3102d7c09c56', 'ip_version': 4, 'cidr': '153.227.19.0/26', 'allocation_pools': [{'start': '153.227.19.2', 'end': '153.227.19.62'}], 'gateway_ip': '153.227.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.227.19.2', 'tags': [], 'project_id': '0b2786596be44802878f35883f35032f'}} 2025-08-15 16:31:16,749 - INFO - Created VN ctest-vn1-24468515 2025-08-15 16:31:16,804 - DEBUG - VN ctest-vn1-24468515 UUID is 5421bba9-396b-4d96-a2a3-3102d7c09c56 2025-08-15 16:31:17,128 - DEBUG - Response for create_network : {'network': {'id': '44540996-b7ef-4bc7-9651-d6ec1623c83c', 'name': 'ctest-vn2-04118004', 'tenant_id': '0b2786596be44802878f35883f35032f', 'project_id': '0b2786596be44802878f35883f35032f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72192746', 'ctest-vn2-04118004'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 16:31:17,298 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a483197-dbf1-4476-a336-d36c1a2762a8', 'name': '', 'tenant_id': '0b2786596be44802878f35883f35032f', 'network_id': '44540996-b7ef-4bc7-9651-d6ec1623c83c', 'ip_version': 4, 'cidr': '184.85.189.192/26', 'allocation_pools': [{'start': '184.85.189.194', 'end': '184.85.189.254'}], 'gateway_ip': '184.85.189.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.85.189.194', 'tags': [], 'project_id': '0b2786596be44802878f35883f35032f'}} 2025-08-15 16:31:17,316 - INFO - Created VN ctest-vn2-04118004 2025-08-15 16:31:17,367 - DEBUG - VN ctest-vn2-04118004 UUID is 44540996-b7ef-4bc7-9651-d6ec1623c83c 2025-08-15 16:31:17,528 - DEBUG - Services list from nova: [, , ] 2025-08-15 16:31:18,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3866-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3866-1) 2025-08-15 16:31:19,697 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3866-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3866-1) 2025-08-15 16:31:19,762 - INFO - Adding interface with subnet_id fdb727c7-89fb-4adf-8da1-41fcb0f0aab1, port_id None to router 25bda8b6-a43c-4057-bac5-71372551de33 2025-08-15 16:31:20,053 - INFO - Waiting for VM ctest-vn1-vm1-68286678 to be up.. 2025-08-15 16:31:20,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 16:31:25,244 - DEBUG - VM is in ACTIVE state now 2025-08-15 16:31:25,244 - INFO - VM name : ctest-vn1-vm1-68286678 2025-08-15 16:31:25,315 - DEBUG - VM ctest-vn1-vm1-68286678 ID is 6cf7e2c9-0a49-489c-bdae-73d5403673b7 2025-08-15 16:31:25,332 - DEBUG - VM ctest-vn1-vm1-68286678 launched on Node cn-jenkins-deploy-platform-ansible-os-3866-1 2025-08-15 16:31:25,403 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6cf7e2c9-0a49-489c-bdae-73d5403673b7 2025-08-15 16:31:25,692 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6cf7e2c9-0a49-489c-bdae-73d5403673b7 2025-08-15 16:31:25,721 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b75891df-3fc7-499f-877e-d6f1185a59a0 2025-08-15 16:31:28,959 - 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 1004ms') 2025-08-15 16:31:28,959 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68286678 failed! 2025-08-15 16:31:29,011 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-72192746:ctest-vn1-24468515 is 153.227.19.1 and allocation pool is NOT set 2025-08-15 16:31:31,072 - 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=3.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.375 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.375/1.699/3.024/1.324 ms') 2025-08-15 16:31:31,072 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68286678 passed 2025-08-15 16:31:31,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:31:31,220 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68286678, IP 153.227.19.3, Port 22 2025-08-15 16:31:31,371 - DEBUG - VM ctest-vn1-vm1-68286678 is ready for SSH connections 2025-08-15 16:31:31,371 - INFO - Waiting for VM ctest-vn2-vm1-73010857 to be up.. 2025-08-15 16:31:31,439 - DEBUG - VM is in ACTIVE state now 2025-08-15 16:31:31,439 - INFO - VM name : ctest-vn2-vm1-73010857 2025-08-15 16:31:31,503 - DEBUG - VM ctest-vn2-vm1-73010857 ID is 843aad39-f89c-42f0-9206-70aa57306c77 2025-08-15 16:31:31,503 - DEBUG - VM ctest-vn2-vm1-73010857 launched on Node cn-jenkins-deploy-platform-ansible-os-3866-1 2025-08-15 16:31:31,573 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/843aad39-f89c-42f0-9206-70aa57306c77 2025-08-15 16:31:31,580 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e6cc64c8-2bf4-4209-8f09-2e0a2679d1ae 2025-08-15 16:31:32,826 - 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=2.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.261 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.261/1.500/2.740/1.239 ms') 2025-08-15 16:31:32,826 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-73010857 passed 2025-08-15 16:31:32,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:31:32,976 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-73010857, IP 184.85.189.195, Port 22 2025-08-15 16:31:33,142 - DEBUG - VM ctest-vn2-vm1-73010857 is ready for SSH connections 2025-08-15 16:31:33,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:31:33,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.85.189.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-15 16:31:33,142 - DEBUG - ping -s 56 -c 3 -W 1 184.85.189.195 2025-08-15 16:31:38,108 - DEBUG - PING 184.85.189.195 (184.85.189.195): 56 data bytes --- 184.85.189.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 16:31:38,109 - WARNING - Ping to IP 184.85.189.195 from VM ctest-vn1-vm1-68286678 failed 2025-08-15 16:31:38,109 - INFO - Adding interface with subnet_id 3a483197-dbf1-4476-a336-d36c1a2762a8, port_id None to router 25bda8b6-a43c-4057-bac5-71372551de33 2025-08-15 16:31:38,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:31:38,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.85.189.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-15 16:31:38,337 - DEBUG - ping -s 56 -c 3 -W 1 184.85.189.195 2025-08-15 16:31:40,533 - DEBUG - PING 184.85.189.195 (184.85.189.195): 56 data bytes 64 bytes from 184.85.189.195: seq=0 ttl=63 time=2.757 ms 64 bytes from 184.85.189.195: seq=1 ttl=63 time=0.757 ms 64 bytes from 184.85.189.195: seq=2 ttl=63 time=0.758 ms --- 184.85.189.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/1.424/2.757 ms 2025-08-15 16:31:40,533 - INFO - Ping to IP 184.85.189.195 from VM ctest-vn1-vm1-68286678 passed 2025-08-15 16:31:40,533 - INFO - Deleting interface with subnet_id fdb727c7-89fb-4adf-8da1-41fcb0f0aab1, port_id None from router 25bda8b6-a43c-4057-bac5-71372551de33 2025-08-15 16:31:40,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:31:40,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.85.189.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-15 16:31:40,662 - DEBUG - ping -s 56 -c 3 -W 1 184.85.189.195 2025-08-15 16:31:43,854 - DEBUG - PING 184.85.189.195 (184.85.189.195): 56 data bytes --- 184.85.189.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 16:31:43,854 - WARNING - Ping to IP 184.85.189.195 from VM ctest-vn1-vm1-68286678 failed 2025-08-15 16:31:43,854 - INFO - Adding interface with subnet_id fdb727c7-89fb-4adf-8da1-41fcb0f0aab1, port_id None to router 25bda8b6-a43c-4057-bac5-71372551de33 2025-08-15 16:31:44,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 16:31:44,046 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.85.189.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-15 16:31:44,046 - DEBUG - ping -s 56 -c 3 -W 1 184.85.189.195 2025-08-15 16:31:46,238 - DEBUG - PING 184.85.189.195 (184.85.189.195): 56 data bytes 64 bytes from 184.85.189.195: seq=0 ttl=63 time=1.427 ms 64 bytes from 184.85.189.195: seq=1 ttl=63 time=0.736 ms 64 bytes from 184.85.189.195: seq=2 ttl=63 time=0.711 ms --- 184.85.189.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.711/0.958/1.427 ms 2025-08-15 16:31:46,238 - INFO - Ping to IP 184.85.189.195 from VM ctest-vn1-vm1-68286678 passed 2025-08-15 16:31:46,238 - INFO - Deleting interface with subnet_id 3a483197-dbf1-4476-a336-d36c1a2762a8, port_id None from router 25bda8b6-a43c-4057-bac5-71372551de33 2025-08-15 16:31:46,340 - INFO - Deleting interface with subnet_id fdb727c7-89fb-4adf-8da1-41fcb0f0aab1, port_id None from router 25bda8b6-a43c-4057-bac5-71372551de33 2025-08-15 16:31:46,523 - INFO - Deleting VM ctest-vn2-vm1-73010857 2025-08-15 16:31:46,590 - INFO - Deleting VM ctest-vn1-vm1-68286678 2025-08-15 16:31:46,652 - INFO - Deleting VN ctest-vn2-04118004 2025-08-15 16:31:46,686 - DEBUG - VN 44540996-b7ef-4bc7-9651-d6ec1623c83c still in use: Unable to complete operation on network 44540996-b7ef-4bc7-9651-d6ec1623c83c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dccfe744-3636-422f-917e-4fc51c738a78'] 2025-08-15 16:31:46,686 - WARNING - Deleting VN ctest-vn2-04118004 failed..Will retry 2025-08-15 16:31:48,783 - DEBUG - Response for deleting network () 2025-08-15 16:31:48,783 - INFO - Deleting VN ctest-vn1-24468515 2025-08-15 16:31:48,876 - DEBUG - Response for deleting network () 2025-08-15 16:31:49,133 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 16:31:49,133 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:34]
2025-08-15 16:31:49,133 - INFO - -------------------------------------------------------------------------------- 2025-08-15 16:31:49,778 - INFO - Deleted project: ctest-TestRouters-72192746, ID : 0b278659-6be4-4802-878f-35883f35032f