2025-08-02 08:54:48,244 - INFO - Domain Default found not creating 2025-08-02 08:54:48,395 - INFO - Project ctest-TestRouters-21976095 not found, creating it 2025-08-02 08:54:48,907 - INFO - Created Project:ctest-TestRouters-21976095, ID : 78671519-eb11-41e4-a4d1-1a3429791999 2025-08-02 08:54:50,494 - INFO - ================================================================================ 2025-08-02 08:54:50,495 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-02 08:54:50,495 - 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-02 08:54:50,758 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-02 08:54:50,758 - INFO - Initial checks done. Running the testcase now 2025-08-02 08:54:50,758 - INFO - 2025-08-02 08:54:51,333 - DEBUG - Response for create_network : {'network': {'id': '58127a42-2945-44ce-9bb8-3f243be23cf1', 'name': 'ctest-vn1-71147632', 'tenant_id': '78671519eb1141e4a4d11a3429791999', 'project_id': '78671519eb1141e4a4d11a3429791999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21976095', 'ctest-vn1-71147632'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 08:54:51,503 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fffb8944-3dfb-4e7c-b4c1-f8a082910cbd', 'name': '', 'tenant_id': '78671519eb1141e4a4d11a3429791999', 'network_id': '58127a42-2945-44ce-9bb8-3f243be23cf1', 'ip_version': 4, 'cidr': '70.153.150.0/26', 'allocation_pools': [{'start': '70.153.150.2', 'end': '70.153.150.62'}], 'gateway_ip': '70.153.150.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.153.150.2', 'tags': [], 'project_id': '78671519eb1141e4a4d11a3429791999'}} 2025-08-02 08:54:51,528 - INFO - Created VN ctest-vn1-71147632 2025-08-02 08:54:51,583 - DEBUG - VN ctest-vn1-71147632 UUID is 58127a42-2945-44ce-9bb8-3f243be23cf1 2025-08-02 08:54:51,963 - DEBUG - Response for create_network : {'network': {'id': '5e19cd38-adc4-46c6-bb2b-8c039ab53f06', 'name': 'ctest-vn2-74126958', 'tenant_id': '78671519eb1141e4a4d11a3429791999', 'project_id': '78671519eb1141e4a4d11a3429791999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21976095', 'ctest-vn2-74126958'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 08:54:52,195 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd169bbc0-24f3-4b44-8cb8-3c58da6fabd1', 'name': '', 'tenant_id': '78671519eb1141e4a4d11a3429791999', 'network_id': '5e19cd38-adc4-46c6-bb2b-8c039ab53f06', 'ip_version': 4, 'cidr': '145.175.34.128/26', 'allocation_pools': [{'start': '145.175.34.130', 'end': '145.175.34.190'}], 'gateway_ip': '145.175.34.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.175.34.130', 'tags': [], 'project_id': '78671519eb1141e4a4d11a3429791999'}} 2025-08-02 08:54:52,214 - INFO - Created VN ctest-vn2-74126958 2025-08-02 08:54:52,271 - DEBUG - VN ctest-vn2-74126958 UUID is 5e19cd38-adc4-46c6-bb2b-8c039ab53f06 2025-08-02 08:54:52,439 - DEBUG - Services list from nova: [, , ] 2025-08-02 08:54:53,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3740-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3740-1) 2025-08-02 08:54:54,655 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3740-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3740-1) 2025-08-02 08:54:54,744 - INFO - Adding interface with subnet_id fffb8944-3dfb-4e7c-b4c1-f8a082910cbd, port_id None to router 93705d82-b6e3-48ae-9684-dcb7d1926234 2025-08-02 08:54:55,132 - INFO - Waiting for VM ctest-vn1-vm1-53558691 to be up.. 2025-08-02 08:54:55,323 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-02 08:55:00,395 - DEBUG - VM is in ACTIVE state now 2025-08-02 08:55:00,395 - INFO - VM name : ctest-vn1-vm1-53558691 2025-08-02 08:55:00,465 - DEBUG - VM ctest-vn1-vm1-53558691 ID is 14794c44-57f3-4e3f-9269-066ed205bd2d 2025-08-02 08:55:00,483 - DEBUG - VM ctest-vn1-vm1-53558691 launched on Node cn-jenkins-deploy-platform-ansible-os-3740-1 2025-08-02 08:55:00,567 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/14794c44-57f3-4e3f-9269-066ed205bd2d 2025-08-02 08:55:00,889 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/14794c44-57f3-4e3f-9269-066ed205bd2d 2025-08-02 08:55:00,928 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/17c16d26-9b54-4dff-8c82-289313a5997c 2025-08-02 08:55:04,180 - 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 1003ms') 2025-08-02 08:55:04,180 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53558691 failed! 2025-08-02 08:55:04,239 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-21976095:ctest-vn1-71147632 is 70.153.150.1 and allocation pool is NOT set 2025-08-02 08:55:06,302 - 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=2.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/1.703/2.953/1.250 ms') 2025-08-02 08:55:06,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53558691 passed 2025-08-02 08:55:06,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:55:06,455 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53558691, IP 70.153.150.3, Port 22 2025-08-02 08:55:06,607 - DEBUG - VM ctest-vn1-vm1-53558691 is ready for SSH connections 2025-08-02 08:55:06,607 - INFO - Waiting for VM ctest-vn2-vm1-25450388 to be up.. 2025-08-02 08:55:06,681 - DEBUG - VM is in ACTIVE state now 2025-08-02 08:55:06,681 - INFO - VM name : ctest-vn2-vm1-25450388 2025-08-02 08:55:06,762 - DEBUG - VM ctest-vn2-vm1-25450388 ID is e88f5b64-5917-42bf-957b-b8358f5fbf83 2025-08-02 08:55:06,762 - DEBUG - VM ctest-vn2-vm1-25450388 launched on Node cn-jenkins-deploy-platform-ansible-os-3740-1 2025-08-02 08:55:06,852 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e88f5b64-5917-42bf-957b-b8358f5fbf83 2025-08-02 08:55:06,866 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c5910147-5385-4df2-abc8-be8b4e555a5a 2025-08-02 08:55:08,121 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.912/3.428/1.516 ms') 2025-08-02 08:55:08,121 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-25450388 passed 2025-08-02 08:55:08,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:55:08,283 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-25450388, IP 145.175.34.131, Port 22 2025-08-02 08:55:08,439 - DEBUG - VM ctest-vn2-vm1-25450388 is ready for SSH connections 2025-08-02 08:55:08,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:55:08,439 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.175.34.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-02 08:55:08,439 - DEBUG - ping -s 56 -c 3 -W 1 145.175.34.131 2025-08-02 08:55:13,409 - DEBUG - PING 145.175.34.131 (145.175.34.131): 56 data bytes --- 145.175.34.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-02 08:55:13,409 - WARNING - Ping to IP 145.175.34.131 from VM ctest-vn1-vm1-53558691 failed 2025-08-02 08:55:13,410 - INFO - Adding interface with subnet_id d169bbc0-24f3-4b44-8cb8-3c58da6fabd1, port_id None to router 93705d82-b6e3-48ae-9684-dcb7d1926234 2025-08-02 08:55:13,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:55:13,665 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.175.34.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-02 08:55:13,665 - DEBUG - ping -s 56 -c 3 -W 1 145.175.34.131 2025-08-02 08:55:16,866 - DEBUG - PING 145.175.34.131 (145.175.34.131): 56 data bytes 64 bytes from 145.175.34.131: seq=1 ttl=63 time=2.535 ms 64 bytes from 145.175.34.131: seq=2 ttl=63 time=0.947 ms --- 145.175.34.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.947/1.741/2.535 ms 2025-08-02 08:55:16,866 - WARNING - Ping to IP 145.175.34.131 from VM ctest-vn1-vm1-53558691 failed 2025-08-02 08:55:17,866 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.175.34.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-02 08:55:17,867 - DEBUG - ping -s 56 -c 3 -W 1 145.175.34.131 2025-08-02 08:55:20,077 - DEBUG - PING 145.175.34.131 (145.175.34.131): 56 data bytes 64 bytes from 145.175.34.131: seq=0 ttl=63 time=1.476 ms 64 bytes from 145.175.34.131: seq=1 ttl=63 time=0.984 ms 64 bytes from 145.175.34.131: seq=2 ttl=63 time=0.981 ms --- 145.175.34.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.981/1.147/1.476 ms 2025-08-02 08:55:20,077 - INFO - Ping to IP 145.175.34.131 from VM ctest-vn1-vm1-53558691 passed 2025-08-02 08:55:20,077 - INFO - Deleting interface with subnet_id fffb8944-3dfb-4e7c-b4c1-f8a082910cbd, port_id None from router 93705d82-b6e3-48ae-9684-dcb7d1926234 2025-08-02 08:55:20,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:55:20,209 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.175.34.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-02 08:55:20,210 - DEBUG - ping -s 56 -c 3 -W 1 145.175.34.131 2025-08-02 08:55:23,416 - DEBUG - PING 145.175.34.131 (145.175.34.131): 56 data bytes --- 145.175.34.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-02 08:55:23,416 - WARNING - Ping to IP 145.175.34.131 from VM ctest-vn1-vm1-53558691 failed 2025-08-02 08:55:23,416 - INFO - Adding interface with subnet_id fffb8944-3dfb-4e7c-b4c1-f8a082910cbd, port_id None to router 93705d82-b6e3-48ae-9684-dcb7d1926234 2025-08-02 08:55:23,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 08:55:23,684 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.175.34.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-02 08:55:23,684 - DEBUG - ping -s 56 -c 3 -W 1 145.175.34.131 2025-08-02 08:55:25,903 - DEBUG - PING 145.175.34.131 (145.175.34.131): 56 data bytes 64 bytes from 145.175.34.131: seq=0 ttl=63 time=1.568 ms 64 bytes from 145.175.34.131: seq=1 ttl=63 time=0.869 ms 64 bytes from 145.175.34.131: seq=2 ttl=63 time=0.838 ms --- 145.175.34.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/1.091/1.568 ms 2025-08-02 08:55:25,903 - INFO - Ping to IP 145.175.34.131 from VM ctest-vn1-vm1-53558691 passed 2025-08-02 08:55:25,903 - INFO - Deleting interface with subnet_id d169bbc0-24f3-4b44-8cb8-3c58da6fabd1, port_id None from router 93705d82-b6e3-48ae-9684-dcb7d1926234 2025-08-02 08:55:26,034 - INFO - Deleting interface with subnet_id fffb8944-3dfb-4e7c-b4c1-f8a082910cbd, port_id None from router 93705d82-b6e3-48ae-9684-dcb7d1926234 2025-08-02 08:55:26,266 - INFO - Deleting VM ctest-vn2-vm1-25450388 2025-08-02 08:55:26,341 - INFO - Deleting VM ctest-vn1-vm1-53558691 2025-08-02 08:55:26,431 - INFO - Deleting VN ctest-vn2-74126958 2025-08-02 08:55:26,469 - DEBUG - VN 5e19cd38-adc4-46c6-bb2b-8c039ab53f06 still in use: Unable to complete operation on network 5e19cd38-adc4-46c6-bb2b-8c039ab53f06. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-92983cbd-46f2-46bf-ac9f-df9f4a1d409c'] 2025-08-02 08:55:26,469 - WARNING - Deleting VN ctest-vn2-74126958 failed..Will retry 2025-08-02 08:55:28,582 - DEBUG - Response for deleting network () 2025-08-02 08:55:28,582 - INFO - Deleting VN ctest-vn1-71147632 2025-08-02 08:55:28,696 - DEBUG - Response for deleting network () 2025-08-02 08:55:28,948 - DEBUG - No XMPP flaps were noticed during the test
2025-08-02 08:55:28,949 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-08-02 08:55:28,949 - INFO - -------------------------------------------------------------------------------- 2025-08-02 08:55:29,616 - INFO - Deleted project: ctest-TestRouters-21976095, ID : 78671519-eb11-41e4-a4d1-1a3429791999