2025-11-02 10:26:58,285 - INFO - Domain Default found not creating 2025-11-02 10:26:58,431 - INFO - Project ctest-TestRouters-92006715 not found, creating it 2025-11-02 10:26:58,901 - INFO - Created Project:ctest-TestRouters-92006715, ID : e0d6da99-dc6f-441a-bf32-cd22e01d0eca 2025-11-02 10:27:00,878 - INFO - ================================================================================ 2025-11-02 10:27:00,879 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-02 10:27:00,879 - 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-02 10:27:01,136 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-02 10:27:01,136 - INFO - Initial checks done. Running the testcase now 2025-11-02 10:27:01,136 - INFO - 2025-11-02 10:27:01,762 - DEBUG - Response for create_network : {'network': {'id': '6c93d3af-3876-4c22-9884-9c8a43b1040b', 'name': 'ctest-vn1-46536090', 'tenant_id': 'e0d6da99dc6f441abf32cd22e01d0eca', 'project_id': 'e0d6da99dc6f441abf32cd22e01d0eca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92006715', 'ctest-vn1-46536090'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 10:27:01,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e14a8ce-d07e-44f3-8cb2-e237e1c134e9', 'name': '', 'tenant_id': 'e0d6da99dc6f441abf32cd22e01d0eca', 'network_id': '6c93d3af-3876-4c22-9884-9c8a43b1040b', 'ip_version': 4, 'cidr': '25.218.17.128/26', 'allocation_pools': [{'start': '25.218.17.130', 'end': '25.218.17.190'}], 'gateway_ip': '25.218.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.218.17.130', 'tags': [], 'project_id': 'e0d6da99dc6f441abf32cd22e01d0eca'}} 2025-11-02 10:27:02,015 - INFO - Created VN ctest-vn1-46536090 2025-11-02 10:27:02,066 - DEBUG - VN ctest-vn1-46536090 UUID is 6c93d3af-3876-4c22-9884-9c8a43b1040b 2025-11-02 10:27:02,406 - DEBUG - Response for create_network : {'network': {'id': '8b061a07-268a-493e-8a8b-e1d9da86641e', 'name': 'ctest-vn2-87761601', 'tenant_id': 'e0d6da99dc6f441abf32cd22e01d0eca', 'project_id': 'e0d6da99dc6f441abf32cd22e01d0eca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92006715', 'ctest-vn2-87761601'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 10:27:02,609 - DEBUG - Response for create_subnet : {'subnet': {'id': '557e6325-47dd-4955-bce9-42b7ca7a9e11', 'name': '', 'tenant_id': 'e0d6da99dc6f441abf32cd22e01d0eca', 'network_id': '8b061a07-268a-493e-8a8b-e1d9da86641e', 'ip_version': 4, 'cidr': '111.195.78.64/26', 'allocation_pools': [{'start': '111.195.78.66', 'end': '111.195.78.126'}], 'gateway_ip': '111.195.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.195.78.66', 'tags': [], 'project_id': 'e0d6da99dc6f441abf32cd22e01d0eca'}} 2025-11-02 10:27:02,630 - INFO - Created VN ctest-vn2-87761601 2025-11-02 10:27:02,686 - DEBUG - VN ctest-vn2-87761601 UUID is 8b061a07-268a-493e-8a8b-e1d9da86641e 2025-11-02 10:27:02,896 - DEBUG - Services list from nova: [, , ] 2025-11-02 10:27:04,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4593-1) 2025-11-02 10:27:05,785 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4593-1) 2025-11-02 10:27:05,885 - INFO - Adding interface with subnet_id 7e14a8ce-d07e-44f3-8cb2-e237e1c134e9, port_id None to router d616ffb6-5864-4a3b-8ae6-16d2618f3a77 2025-11-02 10:27:06,235 - INFO - Waiting for VM ctest-vn1-vm1-84343978 to be up.. 2025-11-02 10:27:06,416 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 10:27:11,503 - DEBUG - VM is in ACTIVE state now 2025-11-02 10:27:11,503 - INFO - VM name : ctest-vn1-vm1-84343978 2025-11-02 10:27:11,583 - DEBUG - VM ctest-vn1-vm1-84343978 ID is 62e7a608-0fdf-44e9-917f-19f28c15d8d1 2025-11-02 10:27:11,604 - DEBUG - VM ctest-vn1-vm1-84343978 launched on Node cn-jenkins-deploy-platform-ansible-os-4593-1 2025-11-02 10:27:11,686 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/62e7a608-0fdf-44e9-917f-19f28c15d8d1 2025-11-02 10:27:12,022 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/62e7a608-0fdf-44e9-917f-19f28c15d8d1 2025-11-02 10:27:12,052 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c7be30b6-6d0c-4977-a1de-90abc0cf131c 2025-11-02 10:27:15,306 - 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-11-02 10:27:15,306 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84343978 failed! 2025-11-02 10:27:15,362 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-92006715:ctest-vn1-46536090 is 25.218.17.129 and allocation pool is NOT set 2025-11-02 10:27:17,420 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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.119/2.601/4.084/1.482 ms') 2025-11-02 10:27:17,420 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84343978 passed 2025-11-02 10:27:17,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:27:17,578 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84343978, IP 25.218.17.131, Port 22 2025-11-02 10:27:17,744 - DEBUG - VM ctest-vn1-vm1-84343978 is ready for SSH connections 2025-11-02 10:27:17,745 - INFO - Waiting for VM ctest-vn2-vm1-10284879 to be up.. 2025-11-02 10:27:17,829 - DEBUG - VM is in ACTIVE state now 2025-11-02 10:27:17,829 - INFO - VM name : ctest-vn2-vm1-10284879 2025-11-02 10:27:17,908 - DEBUG - VM ctest-vn2-vm1-10284879 ID is 5166ded0-f6ea-4e45-bc56-76b51d8ea727 2025-11-02 10:27:17,908 - DEBUG - VM ctest-vn2-vm1-10284879 launched on Node cn-jenkins-deploy-platform-ansible-os-4593-1 2025-11-02 10:27:17,984 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/5166ded0-f6ea-4e45-bc56-76b51d8ea727 2025-11-02 10:27:17,994 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/27af6b66-1a71-449d-bfa5-7fe4811271e7 2025-11-02 10:27:19,243 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.525 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.525/2.074/3.624/1.549 ms') 2025-11-02 10:27:19,243 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-10284879 passed 2025-11-02 10:27:19,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:27:19,402 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-10284879, IP 111.195.78.67, Port 22 2025-11-02 10:27:19,557 - DEBUG - VM ctest-vn2-vm1-10284879 is ready for SSH connections 2025-11-02 10:27:19,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:27:19,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.195.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 10:27:19,557 - DEBUG - ping -s 56 -c 3 -W 1 111.195.78.67 2025-11-02 10:27:24,600 - DEBUG - PING 111.195.78.67 (111.195.78.67): 56 data bytes --- 111.195.78.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-02 10:27:24,600 - WARNING - Ping to IP 111.195.78.67 from VM ctest-vn1-vm1-84343978 failed 2025-11-02 10:27:24,600 - INFO - Adding interface with subnet_id 557e6325-47dd-4955-bce9-42b7ca7a9e11, port_id None to router d616ffb6-5864-4a3b-8ae6-16d2618f3a77 2025-11-02 10:27:24,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:27:24,863 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.195.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 10:27:24,863 - DEBUG - ping -s 56 -c 3 -W 1 111.195.78.67 2025-11-02 10:27:28,106 - DEBUG - PING 111.195.78.67 (111.195.78.67): 56 data bytes 64 bytes from 111.195.78.67: seq=1 ttl=63 time=2.940 ms 64 bytes from 111.195.78.67: seq=2 ttl=63 time=1.180 ms --- 111.195.78.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.180/2.060/2.940 ms 2025-11-02 10:27:28,106 - WARNING - Ping to IP 111.195.78.67 from VM ctest-vn1-vm1-84343978 failed 2025-11-02 10:27:29,106 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.195.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 10:27:29,107 - DEBUG - ping -s 56 -c 3 -W 1 111.195.78.67 2025-11-02 10:27:31,328 - DEBUG - PING 111.195.78.67 (111.195.78.67): 56 data bytes 64 bytes from 111.195.78.67: seq=0 ttl=63 time=1.487 ms 64 bytes from 111.195.78.67: seq=1 ttl=63 time=0.966 ms 64 bytes from 111.195.78.67: seq=2 ttl=63 time=0.944 ms --- 111.195.78.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.944/1.132/1.487 ms 2025-11-02 10:27:31,328 - INFO - Ping to IP 111.195.78.67 from VM ctest-vn1-vm1-84343978 passed 2025-11-02 10:27:31,329 - INFO - Deleting interface with subnet_id 7e14a8ce-d07e-44f3-8cb2-e237e1c134e9, port_id None from router d616ffb6-5864-4a3b-8ae6-16d2618f3a77 2025-11-02 10:27:31,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:27:31,445 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.195.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 10:27:31,445 - DEBUG - ping -s 56 -c 3 -W 1 111.195.78.67 2025-11-02 10:27:34,675 - DEBUG - PING 111.195.78.67 (111.195.78.67): 56 data bytes --- 111.195.78.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-02 10:27:34,675 - WARNING - Ping to IP 111.195.78.67 from VM ctest-vn1-vm1-84343978 failed 2025-11-02 10:27:34,675 - INFO - Adding interface with subnet_id 7e14a8ce-d07e-44f3-8cb2-e237e1c134e9, port_id None to router d616ffb6-5864-4a3b-8ae6-16d2618f3a77 2025-11-02 10:27:34,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 10:27:34,875 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.195.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-02 10:27:34,875 - DEBUG - ping -s 56 -c 3 -W 1 111.195.78.67 2025-11-02 10:27:37,100 - DEBUG - PING 111.195.78.67 (111.195.78.67): 56 data bytes 64 bytes from 111.195.78.67: seq=0 ttl=63 time=1.452 ms 64 bytes from 111.195.78.67: seq=1 ttl=63 time=0.817 ms 64 bytes from 111.195.78.67: seq=2 ttl=63 time=1.105 ms --- 111.195.78.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.817/1.124/1.452 ms 2025-11-02 10:27:37,100 - INFO - Ping to IP 111.195.78.67 from VM ctest-vn1-vm1-84343978 passed 2025-11-02 10:27:37,100 - INFO - Deleting interface with subnet_id 557e6325-47dd-4955-bce9-42b7ca7a9e11, port_id None from router d616ffb6-5864-4a3b-8ae6-16d2618f3a77 2025-11-02 10:27:37,222 - INFO - Deleting interface with subnet_id 7e14a8ce-d07e-44f3-8cb2-e237e1c134e9, port_id None from router d616ffb6-5864-4a3b-8ae6-16d2618f3a77 2025-11-02 10:27:37,392 - INFO - Deleting VM ctest-vn2-vm1-10284879 2025-11-02 10:27:37,467 - INFO - Deleting VM ctest-vn1-vm1-84343978 2025-11-02 10:27:37,539 - INFO - Deleting VN ctest-vn2-87761601 2025-11-02 10:27:37,578 - DEBUG - VN 8b061a07-268a-493e-8a8b-e1d9da86641e still in use: Unable to complete operation on network 8b061a07-268a-493e-8a8b-e1d9da86641e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-381b47f8-4bfa-44de-867a-96be486f7980'] 2025-11-02 10:27:37,578 - WARNING - Deleting VN ctest-vn2-87761601 failed..Will retry 2025-11-02 10:27:39,683 - DEBUG - Response for deleting network () 2025-11-02 10:27:39,683 - INFO - Deleting VN ctest-vn1-46536090 2025-11-02 10:27:39,786 - DEBUG - Response for deleting network () 2025-11-02 10:27:40,039 - DEBUG - No XMPP flaps were noticed during the test 2025-11-02 10:27:40,039 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40] 2025-11-02 10:27:40,039 - INFO - -------------------------------------------------------------------------------- 2025-11-02 10:27:40,757 - INFO - Deleted project: ctest-TestRouters-92006715, ID : e0d6da99-dc6f-441a-bf32-cd22e01d0eca