2025-10-27 11:50:44,799 - INFO - Domain Default found not creating 2025-10-27 11:50:44,969 - INFO - Project ctest-TestRouters-82428532 not found, creating it 2025-10-27 11:50:45,448 - INFO - Created Project:ctest-TestRouters-82428532, ID : b4379039-1446-4049-abd4-754066ddc179 2025-10-27 11:50:47,157 - INFO - ================================================================================ 2025-10-27 11:50:47,157 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-27 11:50:47,157 - 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-27 11:50:47,417 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.25': '0'}} with 2025-10-27 11:50:47,417 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:50:47,417 - INFO - 2025-10-27 11:50:48,129 - DEBUG - Response for create_network : {'network': {'id': '27d16fba-87df-494a-bb9e-72924449b06c', 'name': 'ctest-vn1-83727000', 'tenant_id': 'b437903914464049abd4754066ddc179', 'project_id': 'b437903914464049abd4754066ddc179', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-82428532', 'ctest-vn1-83727000'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:50:48,320 - DEBUG - Response for create_subnet : {'subnet': {'id': '68abce2a-1cbc-40cb-af1d-d0a7e2ac3f7b', 'name': '', 'tenant_id': 'b437903914464049abd4754066ddc179', 'network_id': '27d16fba-87df-494a-bb9e-72924449b06c', 'ip_version': 4, 'cidr': '174.169.251.64/26', 'allocation_pools': [{'start': '174.169.251.66', 'end': '174.169.251.126'}], 'gateway_ip': '174.169.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.169.251.66', 'tags': [], 'project_id': 'b437903914464049abd4754066ddc179'}} 2025-10-27 11:50:48,340 - INFO - Created VN ctest-vn1-83727000 2025-10-27 11:50:48,394 - DEBUG - VN ctest-vn1-83727000 UUID is 27d16fba-87df-494a-bb9e-72924449b06c 2025-10-27 11:50:48,703 - DEBUG - Response for create_network : {'network': {'id': '4f40b338-b3be-431b-9fb0-b6d4da5aed3e', 'name': 'ctest-vn2-12210550', 'tenant_id': 'b437903914464049abd4754066ddc179', 'project_id': 'b437903914464049abd4754066ddc179', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-82428532', 'ctest-vn2-12210550'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:50:48,907 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f510094f-f1b7-4331-afc9-aa454f62c737', 'name': '', 'tenant_id': 'b437903914464049abd4754066ddc179', 'network_id': '4f40b338-b3be-431b-9fb0-b6d4da5aed3e', 'ip_version': 4, 'cidr': '192.21.103.64/26', 'allocation_pools': [{'start': '192.21.103.66', 'end': '192.21.103.126'}], 'gateway_ip': '192.21.103.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.21.103.66', 'tags': [], 'project_id': 'b437903914464049abd4754066ddc179'}} 2025-10-27 11:50:48,929 - INFO - Created VN ctest-vn2-12210550 2025-10-27 11:50:48,982 - DEBUG - VN ctest-vn2-12210550 UUID is 4f40b338-b3be-431b-9fb0-b6d4da5aed3e 2025-10-27 11:50:49,151 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:50:50,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4502-1) 2025-10-27 11:50:51,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4502-1) 2025-10-27 11:50:51,747 - INFO - Adding interface with subnet_id 68abce2a-1cbc-40cb-af1d-d0a7e2ac3f7b, port_id None to router 354d248b-8235-49d2-bae2-016c7cffc1ac 2025-10-27 11:50:52,051 - INFO - Waiting for VM ctest-vn1-vm1-73174650 to be up.. 2025-10-27 11:50:52,144 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:50:57,227 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:50:57,228 - INFO - VM name : ctest-vn1-vm1-73174650 2025-10-27 11:50:57,316 - DEBUG - VM ctest-vn1-vm1-73174650 ID is 2b6ac85e-9797-4b7d-86b7-39759c1df57d 2025-10-27 11:50:57,340 - DEBUG - VM ctest-vn1-vm1-73174650 launched on Node cn-jenkins-deploy-platform-ansible-os-4502-1 2025-10-27 11:50:57,423 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/2b6ac85e-9797-4b7d-86b7-39759c1df57d 2025-10-27 11:50:57,765 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/2b6ac85e-9797-4b7d-86b7-39759c1df57d 2025-10-27 11:50:57,797 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/8ab2898f-ea1d-47a8-8437-8cbe39705d58 2025-10-27 11:51:01,063 - 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 1025ms') 2025-10-27 11:51:01,063 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73174650 failed! 2025-10-27 11:51:01,118 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-82428532:ctest-vn1-83727000 is 174.169.251.65 and allocation pool is NOT set 2025-10-27 11:51:03,184 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.38 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 = 3.384/4.368/5.352/0.984 ms') 2025-10-27 11:51:03,184 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73174650 passed 2025-10-27 11:51:03,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:51:03,334 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73174650, IP 174.169.251.67, Port 22 2025-10-27 11:51:03,400 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-27 11:51:03,483 - DEBUG - VM ctest-vn1-vm1-73174650 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 11:51:08,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:51:08,485 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73174650, IP 174.169.251.67, Port 22 2025-10-27 11:51:08,660 - DEBUG - VM ctest-vn1-vm1-73174650 is ready for SSH connections 2025-10-27 11:51:08,660 - INFO - Waiting for VM ctest-vn2-vm1-78628000 to be up.. 2025-10-27 11:51:08,742 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:51:08,742 - INFO - VM name : ctest-vn2-vm1-78628000 2025-10-27 11:51:08,824 - DEBUG - VM ctest-vn2-vm1-78628000 ID is 7551ad3a-67a8-421d-a9fa-0d982349b591 2025-10-27 11:51:08,824 - DEBUG - VM ctest-vn2-vm1-78628000 launched on Node cn-jenkins-deploy-platform-ansible-os-4502-1 2025-10-27 11:51:08,910 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/7551ad3a-67a8-421d-a9fa-0d982349b591 2025-10-27 11:51:08,921 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/75062bfc-d711-407d-80d4-fdbf99e67454 2025-10-27 11:51:10,172 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 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.458/1.872/3.286/1.414 ms') 2025-10-27 11:51:10,172 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-78628000 passed 2025-10-27 11:51:10,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:51:10,322 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-78628000, IP 192.21.103.67, Port 22 2025-10-27 11:51:10,498 - DEBUG - VM ctest-vn2-vm1-78628000 is ready for SSH connections 2025-10-27 11:51:10,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:51:10,498 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.21.103.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-27 11:51:10,498 - DEBUG - ping -s 56 -c 3 -W 1 192.21.103.67 2025-10-27 11:51:15,616 - DEBUG - PING 192.21.103.67 (192.21.103.67): 56 data bytes --- 192.21.103.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 11:51:15,616 - WARNING - Ping to IP 192.21.103.67 from VM ctest-vn1-vm1-73174650 failed 2025-10-27 11:51:15,616 - INFO - Adding interface with subnet_id f510094f-f1b7-4331-afc9-aa454f62c737, port_id None to router 354d248b-8235-49d2-bae2-016c7cffc1ac 2025-10-27 11:51:15,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:51:15,908 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.21.103.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-27 11:51:15,908 - DEBUG - ping -s 56 -c 3 -W 1 192.21.103.67 2025-10-27 11:51:19,133 - DEBUG - PING 192.21.103.67 (192.21.103.67): 56 data bytes 64 bytes from 192.21.103.67: seq=1 ttl=63 time=3.174 ms 64 bytes from 192.21.103.67: seq=2 ttl=63 time=1.188 ms --- 192.21.103.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.188/2.181/3.174 ms 2025-10-27 11:51:19,133 - WARNING - Ping to IP 192.21.103.67 from VM ctest-vn1-vm1-73174650 failed 2025-10-27 11:51:20,134 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.21.103.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-27 11:51:20,134 - DEBUG - ping -s 56 -c 3 -W 1 192.21.103.67 2025-10-27 11:51:22,372 - DEBUG - PING 192.21.103.67 (192.21.103.67): 56 data bytes 64 bytes from 192.21.103.67: seq=0 ttl=63 time=1.844 ms 64 bytes from 192.21.103.67: seq=1 ttl=63 time=1.289 ms 64 bytes from 192.21.103.67: seq=2 ttl=63 time=1.141 ms --- 192.21.103.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.141/1.424/1.844 ms 2025-10-27 11:51:22,373 - INFO - Ping to IP 192.21.103.67 from VM ctest-vn1-vm1-73174650 passed 2025-10-27 11:51:22,373 - INFO - Deleting interface with subnet_id 68abce2a-1cbc-40cb-af1d-d0a7e2ac3f7b, port_id None from router 354d248b-8235-49d2-bae2-016c7cffc1ac 2025-10-27 11:51:22,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:51:22,514 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.21.103.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-27 11:51:22,514 - DEBUG - ping -s 56 -c 3 -W 1 192.21.103.67 2025-10-27 11:51:25,757 - DEBUG - PING 192.21.103.67 (192.21.103.67): 56 data bytes --- 192.21.103.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 11:51:25,758 - WARNING - Ping to IP 192.21.103.67 from VM ctest-vn1-vm1-73174650 failed 2025-10-27 11:51:25,758 - INFO - Adding interface with subnet_id 68abce2a-1cbc-40cb-af1d-d0a7e2ac3f7b, port_id None to router 354d248b-8235-49d2-bae2-016c7cffc1ac 2025-10-27 11:51:25,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:51:25,982 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.21.103.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-27 11:51:25,982 - DEBUG - ping -s 56 -c 3 -W 1 192.21.103.67 2025-10-27 11:51:28,226 - DEBUG - PING 192.21.103.67 (192.21.103.67): 56 data bytes 64 bytes from 192.21.103.67: seq=0 ttl=63 time=1.704 ms 64 bytes from 192.21.103.67: seq=1 ttl=63 time=1.516 ms 64 bytes from 192.21.103.67: seq=2 ttl=63 time=1.116 ms --- 192.21.103.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.116/1.445/1.704 ms 2025-10-27 11:51:28,227 - INFO - Ping to IP 192.21.103.67 from VM ctest-vn1-vm1-73174650 passed 2025-10-27 11:51:28,227 - INFO - Deleting interface with subnet_id f510094f-f1b7-4331-afc9-aa454f62c737, port_id None from router 354d248b-8235-49d2-bae2-016c7cffc1ac 2025-10-27 11:51:28,364 - INFO - Deleting interface with subnet_id 68abce2a-1cbc-40cb-af1d-d0a7e2ac3f7b, port_id None from router 354d248b-8235-49d2-bae2-016c7cffc1ac 2025-10-27 11:51:28,564 - INFO - Deleting VM ctest-vn2-vm1-78628000 2025-10-27 11:51:28,645 - INFO - Deleting VM ctest-vn1-vm1-73174650 2025-10-27 11:51:28,722 - INFO - Deleting VN ctest-vn2-12210550 2025-10-27 11:51:28,771 - DEBUG - VN 4f40b338-b3be-431b-9fb0-b6d4da5aed3e still in use: Unable to complete operation on network 4f40b338-b3be-431b-9fb0-b6d4da5aed3e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3fa7e6aa-70d2-46b0-a633-60c25f7a4b87'] 2025-10-27 11:51:28,772 - WARNING - Deleting VN ctest-vn2-12210550 failed..Will retry 2025-10-27 11:51:30,874 - DEBUG - Response for deleting network () 2025-10-27 11:51:30,874 - INFO - Deleting VN ctest-vn1-83727000 2025-10-27 11:51:30,981 - DEBUG - Response for deleting network () 2025-10-27 11:51:31,237 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 11:51:31,237 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-10-27 11:51:31,237 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:51:31,973 - INFO - Deleted project: ctest-TestRouters-82428532, ID : b4379039-1446-4049-abd4-754066ddc179