2025-12-22 16:58:19,560 - INFO - Domain Default found not creating 2025-12-22 16:58:19,854 - INFO - Project ctest-TestRouters-95322540 not found, creating it 2025-12-22 16:58:20,394 - INFO - Created Project:ctest-TestRouters-95322540, ID : 6e0b1443-d8e0-4891-ae56-646f446a7ba8 2025-12-22 16:58:22,538 - INFO - ================================================================================ 2025-12-22 16:58:22,538 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-22 16:58:22,538 - 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-12-22 16:58:22,796 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-22 16:58:22,796 - INFO - Initial checks done. Running the testcase now 2025-12-22 16:58:22,796 - INFO - 2025-12-22 16:58:23,390 - DEBUG - Response for create_network : {'network': {'id': '366d1d79-0c32-4b2a-ae4b-ba03a5eed4c6', 'name': 'ctest-vn1-28802807', 'tenant_id': '6e0b1443d8e04891ae56646f446a7ba8', 'project_id': '6e0b1443d8e04891ae56646f446a7ba8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-95322540', 'ctest-vn1-28802807'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 16:58:23,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '74489090-7696-41e7-bce4-c38852e89a90', 'name': '', 'tenant_id': '6e0b1443d8e04891ae56646f446a7ba8', 'network_id': '366d1d79-0c32-4b2a-ae4b-ba03a5eed4c6', 'ip_version': 4, 'cidr': '71.81.117.128/26', 'allocation_pools': [{'start': '71.81.117.130', 'end': '71.81.117.190'}], 'gateway_ip': '71.81.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.81.117.130', 'tags': [], 'project_id': '6e0b1443d8e04891ae56646f446a7ba8'}} 2025-12-22 16:58:23,631 - INFO - Created VN ctest-vn1-28802807 2025-12-22 16:58:23,683 - DEBUG - VN ctest-vn1-28802807 UUID is 366d1d79-0c32-4b2a-ae4b-ba03a5eed4c6 2025-12-22 16:58:23,970 - DEBUG - Response for create_network : {'network': {'id': '465e4bf5-6229-43bf-82d5-171fb0a98ea6', 'name': 'ctest-vn2-99339239', 'tenant_id': '6e0b1443d8e04891ae56646f446a7ba8', 'project_id': '6e0b1443d8e04891ae56646f446a7ba8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-95322540', 'ctest-vn2-99339239'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 16:58:24,203 - DEBUG - Response for create_subnet : {'subnet': {'id': '77977afa-7382-4073-b089-faaebfae0500', 'name': '', 'tenant_id': '6e0b1443d8e04891ae56646f446a7ba8', 'network_id': '465e4bf5-6229-43bf-82d5-171fb0a98ea6', 'ip_version': 4, 'cidr': '85.220.119.192/26', 'allocation_pools': [{'start': '85.220.119.194', 'end': '85.220.119.254'}], 'gateway_ip': '85.220.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.220.119.194', 'tags': [], 'project_id': '6e0b1443d8e04891ae56646f446a7ba8'}} 2025-12-22 16:58:24,222 - INFO - Created VN ctest-vn2-99339239 2025-12-22 16:58:24,275 - DEBUG - VN ctest-vn2-99339239 UUID is 465e4bf5-6229-43bf-82d5-171fb0a98ea6 2025-12-22 16:58:24,454 - DEBUG - Services list from nova: [, , ] 2025-12-22 16:58:25,582 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4921-1) 2025-12-22 16:58:26,966 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4921-1) 2025-12-22 16:58:27,049 - INFO - Adding interface with subnet_id 74489090-7696-41e7-bce4-c38852e89a90, port_id None to router 81d2bc0b-bd8a-42c4-9a71-84720de58bd6 2025-12-22 16:58:27,401 - INFO - Waiting for VM ctest-vn1-vm1-94888748 to be up.. 2025-12-22 16:58:27,577 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 16:58:32,659 - DEBUG - VM is in ACTIVE state now 2025-12-22 16:58:32,659 - INFO - VM name : ctest-vn1-vm1-94888748 2025-12-22 16:58:32,739 - DEBUG - VM ctest-vn1-vm1-94888748 ID is 43144abd-d349-413e-bbf3-4f576e214fd4 2025-12-22 16:58:32,758 - DEBUG - VM ctest-vn1-vm1-94888748 launched on Node cn-jenkins-deploy-platform-ansible-os-4921-1 2025-12-22 16:58:32,843 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/43144abd-d349-413e-bbf3-4f576e214fd4 2025-12-22 16:58:33,201 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/43144abd-d349-413e-bbf3-4f576e214fd4 2025-12-22 16:58:33,240 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/205ff2e6-eb6e-43ce-89c3-3e685ead3aa1 2025-12-22 16:58:36,493 - 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 1002ms') 2025-12-22 16:58:36,493 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94888748 failed! 2025-12-22 16:58:36,547 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-95322540:ctest-vn1-28802807 is 71.81.117.129 and allocation pool is NOT set 2025-12-22 16:58:38,609 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.538 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.538/2.130/3.723/1.592 ms') 2025-12-22 16:58:38,610 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94888748 passed 2025-12-22 16:58:38,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 16:58:38,759 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94888748, IP 71.81.117.131, Port 22 2025-12-22 16:58:38,918 - DEBUG - VM ctest-vn1-vm1-94888748 is ready for SSH connections 2025-12-22 16:58:38,919 - INFO - Waiting for VM ctest-vn2-vm1-68110404 to be up.. 2025-12-22 16:58:39,030 - DEBUG - VM is in ACTIVE state now 2025-12-22 16:58:39,031 - INFO - VM name : ctest-vn2-vm1-68110404 2025-12-22 16:58:39,112 - DEBUG - VM ctest-vn2-vm1-68110404 ID is 8f1d0017-5950-416a-bf4e-2c68f81c4136 2025-12-22 16:58:39,113 - DEBUG - VM ctest-vn2-vm1-68110404 launched on Node cn-jenkins-deploy-platform-ansible-os-4921-1 2025-12-22 16:58:39,218 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8f1d0017-5950-416a-bf4e-2c68f81c4136 2025-12-22 16:58:39,230 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b476bf78-9458-4e9f-93f3-8734c04fc817 2025-12-22 16:58:40,483 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/2.090/3.747/1.656 ms') 2025-12-22 16:58:40,483 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-68110404 passed 2025-12-22 16:58:40,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 16:58:40,635 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-68110404, IP 85.220.119.195, Port 22 2025-12-22 16:58:40,809 - DEBUG - VM ctest-vn2-vm1-68110404 is ready for SSH connections 2025-12-22 16:58:40,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 16:58:40,809 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.220.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-22 16:58:40,809 - DEBUG - ping -s 56 -c 3 -W 1 85.220.119.195 2025-12-22 16:58:45,905 - DEBUG - PING 85.220.119.195 (85.220.119.195): 56 data bytes --- 85.220.119.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 16:58:45,905 - WARNING - Ping to IP 85.220.119.195 from VM ctest-vn1-vm1-94888748 failed 2025-12-22 16:58:45,906 - INFO - Adding interface with subnet_id 77977afa-7382-4073-b089-faaebfae0500, port_id None to router 81d2bc0b-bd8a-42c4-9a71-84720de58bd6 2025-12-22 16:58:46,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 16:58:46,148 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.220.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-22 16:58:46,148 - DEBUG - ping -s 56 -c 3 -W 1 85.220.119.195 2025-12-22 16:58:49,403 - DEBUG - PING 85.220.119.195 (85.220.119.195): 56 data bytes 64 bytes from 85.220.119.195: seq=1 ttl=63 time=2.881 ms 64 bytes from 85.220.119.195: seq=2 ttl=63 time=1.065 ms --- 85.220.119.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.065/1.973/2.881 ms 2025-12-22 16:58:49,403 - WARNING - Ping to IP 85.220.119.195 from VM ctest-vn1-vm1-94888748 failed 2025-12-22 16:58:50,404 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.220.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-22 16:58:50,404 - DEBUG - ping -s 56 -c 3 -W 1 85.220.119.195 2025-12-22 16:58:52,631 - DEBUG - PING 85.220.119.195 (85.220.119.195): 56 data bytes 64 bytes from 85.220.119.195: seq=0 ttl=63 time=1.501 ms 64 bytes from 85.220.119.195: seq=1 ttl=63 time=1.108 ms 64 bytes from 85.220.119.195: seq=2 ttl=63 time=0.899 ms --- 85.220.119.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.899/1.169/1.501 ms 2025-12-22 16:58:52,632 - INFO - Ping to IP 85.220.119.195 from VM ctest-vn1-vm1-94888748 passed 2025-12-22 16:58:52,632 - INFO - Deleting interface with subnet_id 74489090-7696-41e7-bce4-c38852e89a90, port_id None from router 81d2bc0b-bd8a-42c4-9a71-84720de58bd6 2025-12-22 16:58:52,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 16:58:52,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.220.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-22 16:58:52,758 - DEBUG - ping -s 56 -c 3 -W 1 85.220.119.195 2025-12-22 16:58:56,005 - DEBUG - PING 85.220.119.195 (85.220.119.195): 56 data bytes --- 85.220.119.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 16:58:56,005 - WARNING - Ping to IP 85.220.119.195 from VM ctest-vn1-vm1-94888748 failed 2025-12-22 16:58:56,006 - INFO - Adding interface with subnet_id 74489090-7696-41e7-bce4-c38852e89a90, port_id None to router 81d2bc0b-bd8a-42c4-9a71-84720de58bd6 2025-12-22 16:58:56,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 16:58:56,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.220.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-22 16:58:56,215 - DEBUG - ping -s 56 -c 3 -W 1 85.220.119.195 2025-12-22 16:58:58,458 - DEBUG - PING 85.220.119.195 (85.220.119.195): 56 data bytes 64 bytes from 85.220.119.195: seq=0 ttl=63 time=1.757 ms 64 bytes from 85.220.119.195: seq=1 ttl=63 time=0.900 ms 64 bytes from 85.220.119.195: seq=2 ttl=63 time=1.054 ms --- 85.220.119.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.900/1.237/1.757 ms 2025-12-22 16:58:58,459 - INFO - Ping to IP 85.220.119.195 from VM ctest-vn1-vm1-94888748 passed 2025-12-22 16:58:58,459 - INFO - Deleting interface with subnet_id 77977afa-7382-4073-b089-faaebfae0500, port_id None from router 81d2bc0b-bd8a-42c4-9a71-84720de58bd6 2025-12-22 16:58:58,593 - INFO - Deleting interface with subnet_id 74489090-7696-41e7-bce4-c38852e89a90, port_id None from router 81d2bc0b-bd8a-42c4-9a71-84720de58bd6 2025-12-22 16:58:58,780 - INFO - Deleting VM ctest-vn2-vm1-68110404 2025-12-22 16:58:58,876 - INFO - Deleting VM ctest-vn1-vm1-94888748 2025-12-22 16:58:58,974 - INFO - Deleting VN ctest-vn2-99339239 2025-12-22 16:58:59,017 - DEBUG - VN 465e4bf5-6229-43bf-82d5-171fb0a98ea6 still in use: Unable to complete operation on network 465e4bf5-6229-43bf-82d5-171fb0a98ea6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-634b6015-77de-4726-8672-782776421107'] 2025-12-22 16:58:59,017 - WARNING - Deleting VN ctest-vn2-99339239 failed..Will retry 2025-12-22 16:59:01,120 - DEBUG - Response for deleting network () 2025-12-22 16:59:01,121 - INFO - Deleting VN ctest-vn1-28802807 2025-12-22 16:59:01,228 - DEBUG - Response for deleting network () 2025-12-22 16:59:01,485 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 16:59:01,485 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-12-22 16:59:01,485 - INFO - -------------------------------------------------------------------------------- 2025-12-22 16:59:02,202 - INFO - Deleted project: ctest-TestRouters-95322540, ID : 6e0b1443-d8e0-4891-ae56-646f446a7ba8