2025-09-22 21:10:08,570 - INFO - Domain Default found not creating 2025-09-22 21:10:08,693 - INFO - Project ctest-TestRouters-16872201 not found, creating it 2025-09-22 21:10:09,148 - INFO - Created Project:ctest-TestRouters-16872201, ID : 7d1ecea2-ea2a-45ad-9390-f5eeecefb7ef 2025-09-22 21:10:10,492 - INFO - ================================================================================ 2025-09-22 21:10:10,492 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-22 21:10:10,492 - 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-09-22 21:10:10,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-22 21:10:10,742 - INFO - Initial checks done. Running the testcase now 2025-09-22 21:10:10,743 - INFO - 2025-09-22 21:10:11,249 - DEBUG - Response for create_network : {'network': {'id': '71e74b02-792f-42bb-bb6b-07d2a434d38e', 'name': 'ctest-vn1-41397320', 'tenant_id': '7d1ecea2ea2a45ad9390f5eeecefb7ef', 'project_id': '7d1ecea2ea2a45ad9390f5eeecefb7ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-16872201', 'ctest-vn1-41397320'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 21:10:11,451 - DEBUG - Response for create_subnet : {'subnet': {'id': '64d3bc42-1ae1-4c75-9a70-8a6f7ac2a0d0', 'name': '', 'tenant_id': '7d1ecea2ea2a45ad9390f5eeecefb7ef', 'network_id': '71e74b02-792f-42bb-bb6b-07d2a434d38e', 'ip_version': 4, 'cidr': '74.252.224.192/26', 'allocation_pools': [{'start': '74.252.224.194', 'end': '74.252.224.254'}], 'gateway_ip': '74.252.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.252.224.194', 'tags': [], 'project_id': '7d1ecea2ea2a45ad9390f5eeecefb7ef'}} 2025-09-22 21:10:11,464 - INFO - Created VN ctest-vn1-41397320 2025-09-22 21:10:11,514 - DEBUG - VN ctest-vn1-41397320 UUID is 71e74b02-792f-42bb-bb6b-07d2a434d38e 2025-09-22 21:10:11,808 - DEBUG - Response for create_network : {'network': {'id': 'ab4a9143-f021-4527-acf6-c4ce1bc2bd0b', 'name': 'ctest-vn2-60859649', 'tenant_id': '7d1ecea2ea2a45ad9390f5eeecefb7ef', 'project_id': '7d1ecea2ea2a45ad9390f5eeecefb7ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-16872201', 'ctest-vn2-60859649'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 21:10:11,977 - DEBUG - Response for create_subnet : {'subnet': {'id': '231844b5-fc28-4d13-9aa4-d35f290cb216', 'name': '', 'tenant_id': '7d1ecea2ea2a45ad9390f5eeecefb7ef', 'network_id': 'ab4a9143-f021-4527-acf6-c4ce1bc2bd0b', 'ip_version': 4, 'cidr': '167.175.221.0/26', 'allocation_pools': [{'start': '167.175.221.2', 'end': '167.175.221.62'}], 'gateway_ip': '167.175.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.175.221.2', 'tags': [], 'project_id': '7d1ecea2ea2a45ad9390f5eeecefb7ef'}} 2025-09-22 21:10:11,992 - INFO - Created VN ctest-vn2-60859649 2025-09-22 21:10:12,042 - DEBUG - VN ctest-vn2-60859649 UUID is ab4a9143-f021-4527-acf6-c4ce1bc2bd0b 2025-09-22 21:10:12,227 - DEBUG - Services list from nova: [, , ] 2025-09-22 21:10:13,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4172-1) 2025-09-22 21:10:14,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4172-1) 2025-09-22 21:10:14,396 - INFO - Adding interface with subnet_id 64d3bc42-1ae1-4c75-9a70-8a6f7ac2a0d0, port_id None to router 3ee81996-67ec-4caa-a8c7-43af8c14a32f 2025-09-22 21:10:14,629 - INFO - Waiting for VM ctest-vn1-vm1-17344101 to be up.. 2025-09-22 21:10:14,712 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 21:10:19,782 - DEBUG - VM is in ACTIVE state now 2025-09-22 21:10:19,782 - INFO - VM name : ctest-vn1-vm1-17344101 2025-09-22 21:10:19,850 - DEBUG - VM ctest-vn1-vm1-17344101 ID is 59e98511-4f8d-45df-b3c1-c82d9623eb97 2025-09-22 21:10:19,865 - DEBUG - VM ctest-vn1-vm1-17344101 launched on Node cn-jenkins-deploy-platform-ansible-os-4172-1 2025-09-22 21:10:19,925 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/59e98511-4f8d-45df-b3c1-c82d9623eb97 2025-09-22 21:10:20,218 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/59e98511-4f8d-45df-b3c1-c82d9623eb97 2025-09-22 21:10:20,244 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e382884a-972d-4321-9245-accb42ec4539 2025-09-22 21:10:23,494 - 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 1024ms') 2025-09-22 21:10:23,494 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17344101 failed! 2025-09-22 21:10:23,546 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-16872201:ctest-vn1-41397320 is 74.252.224.193 and allocation pool is NOT set 2025-09-22 21:10:25,611 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.503 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 = 0.503/1.539/2.576/1.036 ms') 2025-09-22 21:10:25,611 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17344101 passed 2025-09-22 21:10:25,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:10:25,763 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17344101, IP 74.252.224.195, Port 22 2025-09-22 21:10:25,922 - DEBUG - VM ctest-vn1-vm1-17344101 is ready for SSH connections 2025-09-22 21:10:25,922 - INFO - Waiting for VM ctest-vn2-vm1-05665450 to be up.. 2025-09-22 21:10:25,983 - DEBUG - VM is in ACTIVE state now 2025-09-22 21:10:25,983 - INFO - VM name : ctest-vn2-vm1-05665450 2025-09-22 21:10:26,049 - DEBUG - VM ctest-vn2-vm1-05665450 ID is c408fb91-7d2d-4b3f-90bf-53a3ec9606dd 2025-09-22 21:10:26,049 - DEBUG - VM ctest-vn2-vm1-05665450 launched on Node cn-jenkins-deploy-platform-ansible-os-4172-1 2025-09-22 21:10:26,111 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c408fb91-7d2d-4b3f-90bf-53a3ec9606dd 2025-09-22 21:10:26,118 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/089a311e-81cc-4f64-ade9-a6b32b1b20f1 2025-09-22 21:10:27,347 - 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=2.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.348 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.348/1.577/2.806/1.229 ms') 2025-09-22 21:10:27,347 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-05665450 passed 2025-09-22 21:10:27,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:10:27,495 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-05665450, IP 167.175.221.3, Port 22 2025-09-22 21:10:27,646 - DEBUG - VM ctest-vn2-vm1-05665450 is ready for SSH connections 2025-09-22 21:10:27,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:10:27,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.175.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-22 21:10:27,646 - DEBUG - ping -s 56 -c 3 -W 1 167.175.221.3 2025-09-22 21:10:32,285 - DEBUG - PING 167.175.221.3 (167.175.221.3): 56 data bytes --- 167.175.221.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 21:10:32,285 - WARNING - Ping to IP 167.175.221.3 from VM ctest-vn1-vm1-17344101 failed 2025-09-22 21:10:32,285 - INFO - Adding interface with subnet_id 231844b5-fc28-4d13-9aa4-d35f290cb216, port_id None to router 3ee81996-67ec-4caa-a8c7-43af8c14a32f 2025-09-22 21:10:32,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:10:32,517 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.175.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-22 21:10:32,517 - DEBUG - ping -s 56 -c 3 -W 1 167.175.221.3 2025-09-22 21:10:34,713 - DEBUG - PING 167.175.221.3 (167.175.221.3): 56 data bytes 64 bytes from 167.175.221.3: seq=0 ttl=63 time=2.335 ms 64 bytes from 167.175.221.3: seq=1 ttl=63 time=0.767 ms 64 bytes from 167.175.221.3: seq=2 ttl=63 time=0.779 ms --- 167.175.221.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/1.293/2.335 ms 2025-09-22 21:10:34,714 - INFO - Ping to IP 167.175.221.3 from VM ctest-vn1-vm1-17344101 passed 2025-09-22 21:10:34,714 - INFO - Deleting interface with subnet_id 64d3bc42-1ae1-4c75-9a70-8a6f7ac2a0d0, port_id None from router 3ee81996-67ec-4caa-a8c7-43af8c14a32f 2025-09-22 21:10:34,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:10:34,827 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.175.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-22 21:10:34,827 - DEBUG - ping -s 56 -c 3 -W 1 167.175.221.3 2025-09-22 21:10:38,029 - DEBUG - PING 167.175.221.3 (167.175.221.3): 56 data bytes --- 167.175.221.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 21:10:38,030 - WARNING - Ping to IP 167.175.221.3 from VM ctest-vn1-vm1-17344101 failed 2025-09-22 21:10:38,030 - INFO - Adding interface with subnet_id 64d3bc42-1ae1-4c75-9a70-8a6f7ac2a0d0, port_id None to router 3ee81996-67ec-4caa-a8c7-43af8c14a32f 2025-09-22 21:10:38,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:10:38,216 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.175.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-22 21:10:38,216 - DEBUG - ping -s 56 -c 3 -W 1 167.175.221.3 2025-09-22 21:10:41,414 - DEBUG - PING 167.175.221.3 (167.175.221.3): 56 data bytes 64 bytes from 167.175.221.3: seq=1 ttl=63 time=1.319 ms 64 bytes from 167.175.221.3: seq=2 ttl=63 time=0.765 ms --- 167.175.221.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.765/1.042/1.319 ms 2025-09-22 21:10:41,414 - WARNING - Ping to IP 167.175.221.3 from VM ctest-vn1-vm1-17344101 failed 2025-09-22 21:10:42,415 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.175.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-22 21:10:42,416 - DEBUG - ping -s 56 -c 3 -W 1 167.175.221.3 2025-09-22 21:10:44,609 - DEBUG - PING 167.175.221.3 (167.175.221.3): 56 data bytes 64 bytes from 167.175.221.3: seq=0 ttl=63 time=1.394 ms 64 bytes from 167.175.221.3: seq=1 ttl=63 time=0.796 ms 64 bytes from 167.175.221.3: seq=2 ttl=63 time=0.769 ms --- 167.175.221.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/0.986/1.394 ms 2025-09-22 21:10:44,609 - INFO - Ping to IP 167.175.221.3 from VM ctest-vn1-vm1-17344101 passed 2025-09-22 21:10:44,610 - INFO - Deleting interface with subnet_id 231844b5-fc28-4d13-9aa4-d35f290cb216, port_id None from router 3ee81996-67ec-4caa-a8c7-43af8c14a32f 2025-09-22 21:10:44,703 - INFO - Deleting interface with subnet_id 64d3bc42-1ae1-4c75-9a70-8a6f7ac2a0d0, port_id None from router 3ee81996-67ec-4caa-a8c7-43af8c14a32f 2025-09-22 21:10:44,843 - INFO - Deleting VM ctest-vn2-vm1-05665450 2025-09-22 21:10:44,905 - INFO - Deleting VM ctest-vn1-vm1-17344101 2025-09-22 21:10:44,968 - INFO - Deleting VN ctest-vn2-60859649 2025-09-22 21:10:44,998 - DEBUG - VN ab4a9143-f021-4527-acf6-c4ce1bc2bd0b still in use: Unable to complete operation on network ab4a9143-f021-4527-acf6-c4ce1bc2bd0b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9a6ec7b1-4635-414b-a62d-ec8946089127'] 2025-09-22 21:10:44,998 - WARNING - Deleting VN ctest-vn2-60859649 failed..Will retry 2025-09-22 21:10:47,097 - DEBUG - Response for deleting network () 2025-09-22 21:10:47,097 - INFO - Deleting VN ctest-vn1-41397320 2025-09-22 21:10:47,176 - DEBUG - Response for deleting network () 2025-09-22 21:10:47,428 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 21:10:47,428 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-09-22 21:10:47,428 - INFO - -------------------------------------------------------------------------------- 2025-09-22 21:10:48,071 - INFO - Deleted project: ctest-TestRouters-16872201, ID : 7d1ecea2-ea2a-45ad-9390-f5eeecefb7ef