2025-07-22 13:49:26,947 - INFO - Domain Default found not creating 2025-07-22 13:49:27,112 - INFO - Project ctest-TestRouters-48822431 not found, creating it 2025-07-22 13:49:27,599 - INFO - Created Project:ctest-TestRouters-48822431, ID : f6e2e3cd-3680-4970-90e2-b473ef26ba48 2025-07-22 13:49:29,181 - INFO - ================================================================================ 2025-07-22 13:49:29,181 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-22 13:49:29,182 - 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-22 13:49:29,461 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.18': '0'}} with 2025-07-22 13:49:29,461 - INFO - Initial checks done. Running the testcase now 2025-07-22 13:49:29,461 - INFO - 2025-07-22 13:49:30,175 - DEBUG - Response for create_network : {'network': {'id': '9f7a072e-46a5-4fdc-8ede-d49c0a501eaa', 'name': 'ctest-vn1-06131571', 'tenant_id': 'f6e2e3cd3680497090e2b473ef26ba48', 'project_id': 'f6e2e3cd3680497090e2b473ef26ba48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48822431', 'ctest-vn1-06131571'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 13:49:30,431 - DEBUG - Response for create_subnet : {'subnet': {'id': '170c99b4-b450-4bdc-8a39-c0bd6fe43f4e', 'name': '', 'tenant_id': 'f6e2e3cd3680497090e2b473ef26ba48', 'network_id': '9f7a072e-46a5-4fdc-8ede-d49c0a501eaa', 'ip_version': 4, 'cidr': '41.103.74.128/26', 'allocation_pools': [{'start': '41.103.74.130', 'end': '41.103.74.190'}], 'gateway_ip': '41.103.74.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.103.74.130', 'tags': [], 'project_id': 'f6e2e3cd3680497090e2b473ef26ba48'}} 2025-07-22 13:49:30,455 - INFO - Created VN ctest-vn1-06131571 2025-07-22 13:49:30,515 - DEBUG - VN ctest-vn1-06131571 UUID is 9f7a072e-46a5-4fdc-8ede-d49c0a501eaa 2025-07-22 13:49:30,834 - DEBUG - Response for create_network : {'network': {'id': '1e4a9287-f926-4423-af34-7809910c5874', 'name': 'ctest-vn2-58040954', 'tenant_id': 'f6e2e3cd3680497090e2b473ef26ba48', 'project_id': 'f6e2e3cd3680497090e2b473ef26ba48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48822431', 'ctest-vn2-58040954'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 13:49:31,008 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c9e1586-1530-4b0d-8c20-ef5ceeafecdd', 'name': '', 'tenant_id': 'f6e2e3cd3680497090e2b473ef26ba48', 'network_id': '1e4a9287-f926-4423-af34-7809910c5874', 'ip_version': 4, 'cidr': '90.156.214.128/26', 'allocation_pools': [{'start': '90.156.214.130', 'end': '90.156.214.190'}], 'gateway_ip': '90.156.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.156.214.130', 'tags': [], 'project_id': 'f6e2e3cd3680497090e2b473ef26ba48'}} 2025-07-22 13:49:31,026 - INFO - Created VN ctest-vn2-58040954 2025-07-22 13:49:31,082 - DEBUG - VN ctest-vn2-58040954 UUID is 1e4a9287-f926-4423-af34-7809910c5874 2025-07-22 13:49:31,254 - DEBUG - Services list from nova: [, , ] 2025-07-22 13:49:32,314 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3691-1) 2025-07-22 13:49:33,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3691-1) 2025-07-22 13:49:33,731 - INFO - Adding interface with subnet_id 170c99b4-b450-4bdc-8a39-c0bd6fe43f4e, port_id None to router 7111f0e6-36b4-46dd-a2a6-038bd24cf01c 2025-07-22 13:49:34,111 - INFO - Waiting for VM ctest-vn1-vm1-71778785 to be up.. 2025-07-22 13:49:34,259 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 13:49:39,356 - DEBUG - VM is in ACTIVE state now 2025-07-22 13:49:39,357 - INFO - VM name : ctest-vn1-vm1-71778785 2025-07-22 13:49:39,434 - DEBUG - VM ctest-vn1-vm1-71778785 ID is 2f25b7c1-7517-4fda-bc88-4e0c35be31d7 2025-07-22 13:49:39,456 - DEBUG - VM ctest-vn1-vm1-71778785 launched on Node cn-jenkins-deploy-platform-ansible-os-3691-1 2025-07-22 13:49:39,532 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/2f25b7c1-7517-4fda-bc88-4e0c35be31d7 2025-07-22 13:49:39,827 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/2f25b7c1-7517-4fda-bc88-4e0c35be31d7 2025-07-22 13:49:39,874 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/78c989df-6dfc-4bd2-9b26-956c2561545c 2025-07-22 13:49:43,145 - 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 1015ms') 2025-07-22 13:49:43,145 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71778785 failed! 2025-07-22 13:49:43,199 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-48822431:ctest-vn1-06131571 is 41.103.74.129 and allocation pool is NOT set 2025-07-22 13:49:45,262 - 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=5.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.002/3.343/5.684/2.341 ms') 2025-07-22 13:49:45,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71778785 passed 2025-07-22 13:49:45,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:49:45,427 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71778785, IP 41.103.74.131, Port 22 2025-07-22 13:49:45,592 - DEBUG - VM ctest-vn1-vm1-71778785 is ready for SSH connections 2025-07-22 13:49:45,592 - INFO - Waiting for VM ctest-vn2-vm1-14474972 to be up.. 2025-07-22 13:49:45,680 - DEBUG - VM is in ACTIVE state now 2025-07-22 13:49:45,681 - INFO - VM name : ctest-vn2-vm1-14474972 2025-07-22 13:49:45,763 - DEBUG - VM ctest-vn2-vm1-14474972 ID is e763f308-96af-49b3-9811-47a1554fe3a0 2025-07-22 13:49:45,763 - DEBUG - VM ctest-vn2-vm1-14474972 launched on Node cn-jenkins-deploy-platform-ansible-os-3691-1 2025-07-22 13:49:45,837 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/e763f308-96af-49b3-9811-47a1554fe3a0 2025-07-22 13:49:45,847 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f477ce32-15a7-447d-a559-512d2d8564eb 2025-07-22 13:49:47,107 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.746/3.100/1.354 ms') 2025-07-22 13:49:47,107 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-14474972 passed 2025-07-22 13:49:47,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:49:47,263 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-14474972, IP 90.156.214.131, Port 22 2025-07-22 13:49:47,418 - DEBUG - VM ctest-vn2-vm1-14474972 is ready for SSH connections 2025-07-22 13:49:47,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:49:47,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.156.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-07-22 13:49:47,418 - DEBUG - ping -s 56 -c 3 -W 1 90.156.214.131 2025-07-22 13:49:52,390 - DEBUG - PING 90.156.214.131 (90.156.214.131): 56 data bytes --- 90.156.214.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 13:49:52,390 - WARNING - Ping to IP 90.156.214.131 from VM ctest-vn1-vm1-71778785 failed 2025-07-22 13:49:52,390 - INFO - Adding interface with subnet_id 0c9e1586-1530-4b0d-8c20-ef5ceeafecdd, port_id None to router 7111f0e6-36b4-46dd-a2a6-038bd24cf01c 2025-07-22 13:49:52,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:49:52,730 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.156.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-07-22 13:49:52,730 - DEBUG - ping -s 56 -c 3 -W 1 90.156.214.131 2025-07-22 13:49:55,949 - DEBUG - PING 90.156.214.131 (90.156.214.131): 56 data bytes 64 bytes from 90.156.214.131: seq=1 ttl=63 time=3.030 ms 64 bytes from 90.156.214.131: seq=2 ttl=63 time=0.863 ms --- 90.156.214.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.863/1.946/3.030 ms 2025-07-22 13:49:55,949 - WARNING - Ping to IP 90.156.214.131 from VM ctest-vn1-vm1-71778785 failed 2025-07-22 13:49:56,950 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.156.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-07-22 13:49:56,950 - DEBUG - ping -s 56 -c 3 -W 1 90.156.214.131 2025-07-22 13:49:59,172 - DEBUG - PING 90.156.214.131 (90.156.214.131): 56 data bytes 64 bytes from 90.156.214.131: seq=0 ttl=63 time=1.436 ms 64 bytes from 90.156.214.131: seq=1 ttl=63 time=0.859 ms 64 bytes from 90.156.214.131: seq=2 ttl=63 time=0.995 ms --- 90.156.214.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/1.096/1.436 ms 2025-07-22 13:49:59,172 - INFO - Ping to IP 90.156.214.131 from VM ctest-vn1-vm1-71778785 passed 2025-07-22 13:49:59,172 - INFO - Deleting interface with subnet_id 170c99b4-b450-4bdc-8a39-c0bd6fe43f4e, port_id None from router 7111f0e6-36b4-46dd-a2a6-038bd24cf01c 2025-07-22 13:49:59,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:49:59,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.156.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-07-22 13:49:59,307 - DEBUG - ping -s 56 -c 3 -W 1 90.156.214.131 2025-07-22 13:50:02,527 - DEBUG - PING 90.156.214.131 (90.156.214.131): 56 data bytes --- 90.156.214.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 13:50:02,527 - WARNING - Ping to IP 90.156.214.131 from VM ctest-vn1-vm1-71778785 failed 2025-07-22 13:50:02,528 - INFO - Adding interface with subnet_id 170c99b4-b450-4bdc-8a39-c0bd6fe43f4e, port_id None to router 7111f0e6-36b4-46dd-a2a6-038bd24cf01c 2025-07-22 13:50:02,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:50:02,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.156.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-07-22 13:50:02,771 - DEBUG - ping -s 56 -c 3 -W 1 90.156.214.131 2025-07-22 13:50:04,976 - DEBUG - PING 90.156.214.131 (90.156.214.131): 56 data bytes 64 bytes from 90.156.214.131: seq=0 ttl=63 time=1.121 ms 64 bytes from 90.156.214.131: seq=1 ttl=63 time=0.873 ms 64 bytes from 90.156.214.131: seq=2 ttl=63 time=0.703 ms --- 90.156.214.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.703/0.899/1.121 ms 2025-07-22 13:50:04,976 - INFO - Ping to IP 90.156.214.131 from VM ctest-vn1-vm1-71778785 passed 2025-07-22 13:50:04,976 - INFO - Deleting interface with subnet_id 0c9e1586-1530-4b0d-8c20-ef5ceeafecdd, port_id None from router 7111f0e6-36b4-46dd-a2a6-038bd24cf01c 2025-07-22 13:50:05,117 - INFO - Deleting interface with subnet_id 170c99b4-b450-4bdc-8a39-c0bd6fe43f4e, port_id None from router 7111f0e6-36b4-46dd-a2a6-038bd24cf01c 2025-07-22 13:50:05,326 - INFO - Deleting VM ctest-vn2-vm1-14474972 2025-07-22 13:50:05,398 - INFO - Deleting VM ctest-vn1-vm1-71778785 2025-07-22 13:50:05,473 - INFO - Deleting VN ctest-vn2-58040954 2025-07-22 13:50:05,513 - DEBUG - VN 1e4a9287-f926-4423-af34-7809910c5874 still in use: Unable to complete operation on network 1e4a9287-f926-4423-af34-7809910c5874. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-30ab472d-7e91-44ed-85a2-18665b643629'] 2025-07-22 13:50:05,514 - WARNING - Deleting VN ctest-vn2-58040954 failed..Will retry 2025-07-22 13:50:07,613 - DEBUG - Response for deleting network () 2025-07-22 13:50:07,613 - INFO - Deleting VN ctest-vn1-06131571 2025-07-22 13:50:07,714 - DEBUG - Response for deleting network () 2025-07-22 13:50:07,972 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 13:50:07,972 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-07-22 13:50:07,972 - INFO - -------------------------------------------------------------------------------- 2025-07-22 13:50:08,684 - INFO - Deleted project: ctest-TestRouters-48822431, ID : f6e2e3cd-3680-4970-90e2-b473ef26ba48