2025-10-09 05:50:37,585 - INFO - Domain Default found not creating 2025-10-09 05:50:37,754 - INFO - Project ctest-TestRouters-32668305 not found, creating it 2025-10-09 05:50:38,229 - INFO - Created Project:ctest-TestRouters-32668305, ID : b4e92bef-d899-4ea2-abbe-41f90ce447d8 2025-10-09 05:50:40,340 - INFO - ================================================================================ 2025-10-09 05:50:40,340 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 05:50:40,340 - 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-10-09 05:50:40,599 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 05:50:40,599 - INFO - Initial checks done. Running the testcase now 2025-10-09 05:50:40,600 - INFO - 2025-10-09 05:50:41,350 - DEBUG - Response for create_network : {'network': {'id': '2afa5c2d-ba16-4803-888e-9da7f189b582', 'name': 'ctest-vn1-80144557', 'tenant_id': 'b4e92befd8994ea2abbe41f90ce447d8', 'project_id': 'b4e92befd8994ea2abbe41f90ce447d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32668305', 'ctest-vn1-80144557'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 05:50:41,604 - DEBUG - Response for create_subnet : {'subnet': {'id': '61ce0f5e-e5c4-4e9b-ae95-7978eccd45be', 'name': '', 'tenant_id': 'b4e92befd8994ea2abbe41f90ce447d8', 'network_id': '2afa5c2d-ba16-4803-888e-9da7f189b582', 'ip_version': 4, 'cidr': '2.100.54.0/26', 'allocation_pools': [{'start': '2.100.54.2', 'end': '2.100.54.62'}], 'gateway_ip': '2.100.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.100.54.2', 'tags': [], 'project_id': 'b4e92befd8994ea2abbe41f90ce447d8'}} 2025-10-09 05:50:41,623 - INFO - Created VN ctest-vn1-80144557 2025-10-09 05:50:41,677 - DEBUG - VN ctest-vn1-80144557 UUID is 2afa5c2d-ba16-4803-888e-9da7f189b582 2025-10-09 05:50:42,006 - DEBUG - Response for create_network : {'network': {'id': '33819c7a-e361-4e9c-9fdc-2e0ad0302612', 'name': 'ctest-vn2-02799365', 'tenant_id': 'b4e92befd8994ea2abbe41f90ce447d8', 'project_id': 'b4e92befd8994ea2abbe41f90ce447d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32668305', 'ctest-vn2-02799365'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 05:50:42,197 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a3b7917-d3b9-4d90-a241-5e323376c52a', 'name': '', 'tenant_id': 'b4e92befd8994ea2abbe41f90ce447d8', 'network_id': '33819c7a-e361-4e9c-9fdc-2e0ad0302612', 'ip_version': 4, 'cidr': '85.177.194.192/26', 'allocation_pools': [{'start': '85.177.194.194', 'end': '85.177.194.254'}], 'gateway_ip': '85.177.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.177.194.194', 'tags': [], 'project_id': 'b4e92befd8994ea2abbe41f90ce447d8'}} 2025-10-09 05:50:42,216 - INFO - Created VN ctest-vn2-02799365 2025-10-09 05:50:42,269 - DEBUG - VN ctest-vn2-02799365 UUID is 33819c7a-e361-4e9c-9fdc-2e0ad0302612 2025-10-09 05:50:42,451 - DEBUG - Services list from nova: [, , ] 2025-10-09 05:50:43,615 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4253-1) 2025-10-09 05:50:45,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4253-1) 2025-10-09 05:50:45,076 - INFO - Adding interface with subnet_id 61ce0f5e-e5c4-4e9b-ae95-7978eccd45be, port_id None to router 8c26b7b8-c5e0-4976-bdae-6275554b7975 2025-10-09 05:50:45,369 - INFO - Waiting for VM ctest-vn1-vm1-77815605 to be up.. 2025-10-09 05:50:45,469 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 05:50:50,571 - DEBUG - VM is in ACTIVE state now 2025-10-09 05:50:50,571 - INFO - VM name : ctest-vn1-vm1-77815605 2025-10-09 05:50:50,695 - DEBUG - VM ctest-vn1-vm1-77815605 ID is 912c1dd7-cade-48dd-9761-6d55d6f89fb0 2025-10-09 05:50:50,731 - DEBUG - VM ctest-vn1-vm1-77815605 launched on Node cn-jenkins-deploy-platform-ansible-os-4253-1 2025-10-09 05:50:50,840 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/912c1dd7-cade-48dd-9761-6d55d6f89fb0 2025-10-09 05:50:51,200 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/912c1dd7-cade-48dd-9761-6d55d6f89fb0 2025-10-09 05:50:51,240 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/efb5c9b4-5950-4a3f-a799-e571425ccb87 2025-10-09 05:50:54,510 - 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 1030ms') 2025-10-09 05:50:54,511 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77815605 failed! 2025-10-09 05:50:54,569 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-32668305:ctest-vn1-80144557 is 2.100.54.1 and allocation pool is NOT set 2025-10-09 05:50:56,636 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.169/3.044/4.919/1.875 ms') 2025-10-09 05:50:56,636 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77815605 passed 2025-10-09 05:50:56,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:50:56,789 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77815605, IP 2.100.54.3, Port 22 2025-10-09 05:50:56,948 - DEBUG - VM ctest-vn1-vm1-77815605 is ready for SSH connections 2025-10-09 05:50:56,948 - INFO - Waiting for VM ctest-vn2-vm1-24744585 to be up.. 2025-10-09 05:50:57,031 - DEBUG - VM is in ACTIVE state now 2025-10-09 05:50:57,031 - INFO - VM name : ctest-vn2-vm1-24744585 2025-10-09 05:50:57,108 - DEBUG - VM ctest-vn2-vm1-24744585 ID is 1933239a-b80b-4770-b3e0-2df1dc6d53aa 2025-10-09 05:50:57,108 - DEBUG - VM ctest-vn2-vm1-24744585 launched on Node cn-jenkins-deploy-platform-ansible-os-4253-1 2025-10-09 05:50:57,187 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1933239a-b80b-4770-b3e0-2df1dc6d53aa 2025-10-09 05:50:57,197 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/812e7066-704d-40c9-81fd-ba39c49305d7 2025-10-09 05:50:58,442 - 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=4.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.06 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 = 1.055/2.622/4.189/1.567 ms') 2025-10-09 05:50:58,443 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-24744585 passed 2025-10-09 05:50:58,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:50:58,597 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-24744585, IP 85.177.194.195, Port 22 2025-10-09 05:50:58,763 - DEBUG - VM ctest-vn2-vm1-24744585 is ready for SSH connections 2025-10-09 05:50:58,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:50:58,763 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.177.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 05:50:58,763 - DEBUG - ping -s 56 -c 3 -W 1 85.177.194.195 2025-10-09 05:51:03,849 - DEBUG - PING 85.177.194.195 (85.177.194.195): 56 data bytes --- 85.177.194.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 05:51:03,850 - WARNING - Ping to IP 85.177.194.195 from VM ctest-vn1-vm1-77815605 failed 2025-10-09 05:51:03,850 - INFO - Adding interface with subnet_id 5a3b7917-d3b9-4d90-a241-5e323376c52a, port_id None to router 8c26b7b8-c5e0-4976-bdae-6275554b7975 2025-10-09 05:51:04,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:51:04,115 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.177.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 05:51:04,115 - DEBUG - ping -s 56 -c 3 -W 1 85.177.194.195 2025-10-09 05:51:07,340 - DEBUG - PING 85.177.194.195 (85.177.194.195): 56 data bytes 64 bytes from 85.177.194.195: seq=1 ttl=63 time=3.213 ms 64 bytes from 85.177.194.195: seq=2 ttl=63 time=1.240 ms --- 85.177.194.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.240/2.226/3.213 ms 2025-10-09 05:51:07,340 - WARNING - Ping to IP 85.177.194.195 from VM ctest-vn1-vm1-77815605 failed 2025-10-09 05:51:08,341 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.177.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 05:51:08,341 - DEBUG - ping -s 56 -c 3 -W 1 85.177.194.195 2025-10-09 05:51:10,573 - DEBUG - PING 85.177.194.195 (85.177.194.195): 56 data bytes 64 bytes from 85.177.194.195: seq=0 ttl=63 time=1.667 ms 64 bytes from 85.177.194.195: seq=1 ttl=63 time=0.904 ms 64 bytes from 85.177.194.195: seq=2 ttl=63 time=0.997 ms --- 85.177.194.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.904/1.189/1.667 ms 2025-10-09 05:51:10,573 - INFO - Ping to IP 85.177.194.195 from VM ctest-vn1-vm1-77815605 passed 2025-10-09 05:51:10,573 - INFO - Deleting interface with subnet_id 61ce0f5e-e5c4-4e9b-ae95-7978eccd45be, port_id None from router 8c26b7b8-c5e0-4976-bdae-6275554b7975 2025-10-09 05:51:10,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:51:10,702 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.177.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 05:51:10,702 - DEBUG - ping -s 56 -c 3 -W 1 85.177.194.195 2025-10-09 05:51:13,927 - DEBUG - PING 85.177.194.195 (85.177.194.195): 56 data bytes --- 85.177.194.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 05:51:13,927 - WARNING - Ping to IP 85.177.194.195 from VM ctest-vn1-vm1-77815605 failed 2025-10-09 05:51:13,927 - INFO - Adding interface with subnet_id 61ce0f5e-e5c4-4e9b-ae95-7978eccd45be, port_id None to router 8c26b7b8-c5e0-4976-bdae-6275554b7975 2025-10-09 05:51:14,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 05:51:14,137 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.177.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 05:51:14,137 - DEBUG - ping -s 56 -c 3 -W 1 85.177.194.195 2025-10-09 05:51:16,364 - DEBUG - PING 85.177.194.195 (85.177.194.195): 56 data bytes 64 bytes from 85.177.194.195: seq=0 ttl=63 time=1.973 ms 64 bytes from 85.177.194.195: seq=1 ttl=63 time=1.011 ms 64 bytes from 85.177.194.195: seq=2 ttl=63 time=0.935 ms --- 85.177.194.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.935/1.306/1.973 ms 2025-10-09 05:51:16,364 - INFO - Ping to IP 85.177.194.195 from VM ctest-vn1-vm1-77815605 passed 2025-10-09 05:51:16,364 - INFO - Deleting interface with subnet_id 5a3b7917-d3b9-4d90-a241-5e323376c52a, port_id None from router 8c26b7b8-c5e0-4976-bdae-6275554b7975 2025-10-09 05:51:16,498 - INFO - Deleting interface with subnet_id 61ce0f5e-e5c4-4e9b-ae95-7978eccd45be, port_id None from router 8c26b7b8-c5e0-4976-bdae-6275554b7975 2025-10-09 05:51:16,727 - INFO - Deleting VM ctest-vn2-vm1-24744585 2025-10-09 05:51:16,807 - INFO - Deleting VM ctest-vn1-vm1-77815605 2025-10-09 05:51:16,890 - INFO - Deleting VN ctest-vn2-02799365 2025-10-09 05:51:16,927 - DEBUG - VN 33819c7a-e361-4e9c-9fdc-2e0ad0302612 still in use: Unable to complete operation on network 33819c7a-e361-4e9c-9fdc-2e0ad0302612. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-76434ae8-5906-4734-b4ba-ce70980aac72'] 2025-10-09 05:51:16,927 - WARNING - Deleting VN ctest-vn2-02799365 failed..Will retry 2025-10-09 05:51:19,043 - DEBUG - Response for deleting network () 2025-10-09 05:51:19,043 - INFO - Deleting VN ctest-vn1-80144557 2025-10-09 05:51:19,151 - DEBUG - Response for deleting network () 2025-10-09 05:51:19,416 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 05:51:19,416 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-09 05:51:19,416 - INFO - -------------------------------------------------------------------------------- 2025-10-09 05:51:20,161 - INFO - Deleted project: ctest-TestRouters-32668305, ID : b4e92bef-d899-4ea2-abbe-41f90ce447d8