2025-07-30 20:23:22,096 - INFO - Domain Default found not creating 2025-07-30 20:23:22,257 - INFO - Project ctest-TestRouters-74510707 not found, creating it 2025-07-30 20:23:22,718 - INFO - Created Project:ctest-TestRouters-74510707, ID : c0c31f28-7f13-41c2-8c9a-02f85fd5a316 2025-07-30 20:23:24,106 - INFO - ================================================================================ 2025-07-30 20:23:24,107 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-30 20:23:24,107 - 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-07-30 20:23:24,363 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-07-30 20:23:24,363 - INFO - Initial checks done. Running the testcase now 2025-07-30 20:23:24,363 - INFO - 2025-07-30 20:23:24,944 - DEBUG - Response for create_network : {'network': {'id': '554f1292-31ae-4661-9ec3-ccebe8640cbd', 'name': 'ctest-vn1-69741379', 'tenant_id': 'c0c31f287f1341c28c9a02f85fd5a316', 'project_id': 'c0c31f287f1341c28c9a02f85fd5a316', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-74510707', 'ctest-vn1-69741379'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:23:25,154 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b96f80f-7b18-4170-8589-7d9691a14eef', 'name': '', 'tenant_id': 'c0c31f287f1341c28c9a02f85fd5a316', 'network_id': '554f1292-31ae-4661-9ec3-ccebe8640cbd', 'ip_version': 4, 'cidr': '144.139.252.192/26', 'allocation_pools': [{'start': '144.139.252.194', 'end': '144.139.252.254'}], 'gateway_ip': '144.139.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.139.252.194', 'tags': [], 'project_id': 'c0c31f287f1341c28c9a02f85fd5a316'}} 2025-07-30 20:23:25,174 - INFO - Created VN ctest-vn1-69741379 2025-07-30 20:23:25,225 - DEBUG - VN ctest-vn1-69741379 UUID is 554f1292-31ae-4661-9ec3-ccebe8640cbd 2025-07-30 20:23:25,528 - DEBUG - Response for create_network : {'network': {'id': '37950609-648a-4e34-8ee1-519e5fc2688c', 'name': 'ctest-vn2-15126571', 'tenant_id': 'c0c31f287f1341c28c9a02f85fd5a316', 'project_id': 'c0c31f287f1341c28c9a02f85fd5a316', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-74510707', 'ctest-vn2-15126571'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:23:25,782 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e510c9b3-0458-4b59-9d89-4a3eedf4c99f', 'name': '', 'tenant_id': 'c0c31f287f1341c28c9a02f85fd5a316', 'network_id': '37950609-648a-4e34-8ee1-519e5fc2688c', 'ip_version': 4, 'cidr': '207.25.152.0/26', 'allocation_pools': [{'start': '207.25.152.2', 'end': '207.25.152.62'}], 'gateway_ip': '207.25.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.25.152.2', 'tags': [], 'project_id': 'c0c31f287f1341c28c9a02f85fd5a316'}} 2025-07-30 20:23:25,800 - INFO - Created VN ctest-vn2-15126571 2025-07-30 20:23:25,857 - DEBUG - VN ctest-vn2-15126571 UUID is 37950609-648a-4e34-8ee1-519e5fc2688c 2025-07-30 20:23:26,069 - DEBUG - Services list from nova: [, , ] 2025-07-30 20:23:27,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3727-1) 2025-07-30 20:23:28,233 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3727-1) 2025-07-30 20:23:28,300 - INFO - Adding interface with subnet_id 1b96f80f-7b18-4170-8589-7d9691a14eef, port_id None to router 0c16b1e0-8373-4aca-a3c8-c750f14c9851 2025-07-30 20:23:28,607 - INFO - Waiting for VM ctest-vn1-vm1-94857189 to be up.. 2025-07-30 20:23:28,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 20:23:33,815 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:23:33,815 - INFO - VM name : ctest-vn1-vm1-94857189 2025-07-30 20:23:33,890 - DEBUG - VM ctest-vn1-vm1-94857189 ID is 0c394acf-635a-466e-a591-f64b6898c438 2025-07-30 20:23:33,909 - DEBUG - VM ctest-vn1-vm1-94857189 launched on Node cn-jenkins-deploy-platform-ansible-os-3727-1 2025-07-30 20:23:33,978 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0c394acf-635a-466e-a591-f64b6898c438 2025-07-30 20:23:34,270 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0c394acf-635a-466e-a591-f64b6898c438 2025-07-30 20:23:34,299 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/27394c95-c0ab-40d9-bd0f-936648bd9f41 2025-07-30 20:23:37,557 - 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-07-30 20:23:37,557 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94857189 failed! 2025-07-30 20:23:37,613 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-74510707:ctest-vn1-69741379 is 144.139.252.193 and allocation pool is NOT set 2025-07-30 20:23:39,669 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.411 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.411/1.756/3.101/1.345 ms') 2025-07-30 20:23:39,669 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94857189 passed 2025-07-30 20:23:39,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:23:39,825 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94857189, IP 144.139.252.195, Port 22 2025-07-30 20:23:39,981 - DEBUG - VM ctest-vn1-vm1-94857189 is ready for SSH connections 2025-07-30 20:23:39,981 - INFO - Waiting for VM ctest-vn2-vm1-28962921 to be up.. 2025-07-30 20:23:40,058 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:23:40,058 - INFO - VM name : ctest-vn2-vm1-28962921 2025-07-30 20:23:40,125 - DEBUG - VM ctest-vn2-vm1-28962921 ID is 19889a40-ce16-43a1-bc95-69c40beed140 2025-07-30 20:23:40,125 - DEBUG - VM ctest-vn2-vm1-28962921 launched on Node cn-jenkins-deploy-platform-ansible-os-3727-1 2025-07-30 20:23:40,197 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/19889a40-ce16-43a1-bc95-69c40beed140 2025-07-30 20:23:40,206 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8b10d917-6f91-417d-8324-197322d9ba0d 2025-07-30 20:23:41,445 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.309 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.309/1.639/2.970/1.330 ms') 2025-07-30 20:23:41,445 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-28962921 passed 2025-07-30 20:23:41,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:23:41,593 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-28962921, IP 207.25.152.3, Port 22 2025-07-30 20:23:41,748 - DEBUG - VM ctest-vn2-vm1-28962921 is ready for SSH connections 2025-07-30 20:23:41,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:23:41,749 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.25.152.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-30 20:23:41,749 - DEBUG - ping -s 56 -c 3 -W 1 207.25.152.3 2025-07-30 20:23:46,733 - DEBUG - PING 207.25.152.3 (207.25.152.3): 56 data bytes --- 207.25.152.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-30 20:23:46,733 - WARNING - Ping to IP 207.25.152.3 from VM ctest-vn1-vm1-94857189 failed 2025-07-30 20:23:46,733 - INFO - Adding interface with subnet_id e510c9b3-0458-4b59-9d89-4a3eedf4c99f, port_id None to router 0c16b1e0-8373-4aca-a3c8-c750f14c9851 2025-07-30 20:23:47,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:23:47,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.25.152.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-30 20:23:47,003 - DEBUG - ping -s 56 -c 3 -W 1 207.25.152.3 2025-07-30 20:23:49,203 - DEBUG - PING 207.25.152.3 (207.25.152.3): 56 data bytes 64 bytes from 207.25.152.3: seq=0 ttl=63 time=2.402 ms 64 bytes from 207.25.152.3: seq=1 ttl=63 time=0.971 ms 64 bytes from 207.25.152.3: seq=2 ttl=63 time=0.748 ms --- 207.25.152.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.748/1.373/2.402 ms 2025-07-30 20:23:49,203 - INFO - Ping to IP 207.25.152.3 from VM ctest-vn1-vm1-94857189 passed 2025-07-30 20:23:49,203 - INFO - Deleting interface with subnet_id 1b96f80f-7b18-4170-8589-7d9691a14eef, port_id None from router 0c16b1e0-8373-4aca-a3c8-c750f14c9851 2025-07-30 20:23:49,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:23:49,312 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.25.152.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-30 20:23:49,312 - DEBUG - ping -s 56 -c 3 -W 1 207.25.152.3 2025-07-30 20:23:52,513 - DEBUG - PING 207.25.152.3 (207.25.152.3): 56 data bytes --- 207.25.152.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-30 20:23:52,513 - WARNING - Ping to IP 207.25.152.3 from VM ctest-vn1-vm1-94857189 failed 2025-07-30 20:23:52,513 - INFO - Adding interface with subnet_id 1b96f80f-7b18-4170-8589-7d9691a14eef, port_id None to router 0c16b1e0-8373-4aca-a3c8-c750f14c9851 2025-07-30 20:23:52,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:23:52,721 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.25.152.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-30 20:23:52,721 - DEBUG - ping -s 56 -c 3 -W 1 207.25.152.3 2025-07-30 20:23:54,917 - DEBUG - PING 207.25.152.3 (207.25.152.3): 56 data bytes 64 bytes from 207.25.152.3: seq=0 ttl=63 time=1.336 ms 64 bytes from 207.25.152.3: seq=1 ttl=63 time=0.774 ms 64 bytes from 207.25.152.3: seq=2 ttl=63 time=0.870 ms --- 207.25.152.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.774/0.993/1.336 ms 2025-07-30 20:23:54,917 - INFO - Ping to IP 207.25.152.3 from VM ctest-vn1-vm1-94857189 passed 2025-07-30 20:23:54,917 - INFO - Deleting interface with subnet_id e510c9b3-0458-4b59-9d89-4a3eedf4c99f, port_id None from router 0c16b1e0-8373-4aca-a3c8-c750f14c9851 2025-07-30 20:23:55,022 - INFO - Deleting interface with subnet_id 1b96f80f-7b18-4170-8589-7d9691a14eef, port_id None from router 0c16b1e0-8373-4aca-a3c8-c750f14c9851 2025-07-30 20:23:55,192 - INFO - Deleting VM ctest-vn2-vm1-28962921 2025-07-30 20:23:55,252 - INFO - Deleting VM ctest-vn1-vm1-94857189 2025-07-30 20:23:55,315 - INFO - Deleting VN ctest-vn2-15126571 2025-07-30 20:23:55,349 - DEBUG - VN 37950609-648a-4e34-8ee1-519e5fc2688c still in use: Unable to complete operation on network 37950609-648a-4e34-8ee1-519e5fc2688c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-89c26a41-26d3-41e9-af89-7401143f4439'] 2025-07-30 20:23:55,349 - WARNING - Deleting VN ctest-vn2-15126571 failed..Will retry 2025-07-30 20:23:57,453 - DEBUG - Response for deleting network () 2025-07-30 20:23:57,453 - INFO - Deleting VN ctest-vn1-69741379 2025-07-30 20:23:57,555 - DEBUG - Response for deleting network () 2025-07-30 20:23:57,818 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 20:23:57,818 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33]
2025-07-30 20:23:57,818 - INFO - -------------------------------------------------------------------------------- 2025-07-30 20:23:58,504 - INFO - Deleted project: ctest-TestRouters-74510707, ID : c0c31f28-7f13-41c2-8c9a-02f85fd5a316