2025-10-31 00:33:37,796 - INFO - Domain Default found not creating 2025-10-31 00:33:37,973 - INFO - Project ctest-TestRouters-37767633 not found, creating it 2025-10-31 00:33:38,505 - INFO - Created Project:ctest-TestRouters-37767633, ID : cf5a0d18-e9f6-4d6a-829e-cb3a7f3729f1 2025-10-31 00:33:40,078 - INFO - ================================================================================ 2025-10-31 00:33:40,078 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-31 00:33:40,078 - 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-31 00:33:40,342 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.242': '0'}} with 2025-10-31 00:33:40,342 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:33:40,342 - INFO - 2025-10-31 00:33:41,066 - DEBUG - Response for create_network : {'network': {'id': '7f68aa68-a914-486c-a62d-e1439f1d7e22', 'name': 'ctest-vn1-57756678', 'tenant_id': 'cf5a0d18e9f64d6a829ecb3a7f3729f1', 'project_id': 'cf5a0d18e9f64d6a829ecb3a7f3729f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-37767633', 'ctest-vn1-57756678'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:33:41,289 - DEBUG - Response for create_subnet : {'subnet': {'id': 'badf2e94-6a52-46a7-a9d9-bd901b5e7eef', 'name': '', 'tenant_id': 'cf5a0d18e9f64d6a829ecb3a7f3729f1', 'network_id': '7f68aa68-a914-486c-a62d-e1439f1d7e22', 'ip_version': 4, 'cidr': '52.149.73.192/26', 'allocation_pools': [{'start': '52.149.73.194', 'end': '52.149.73.254'}], 'gateway_ip': '52.149.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.149.73.194', 'tags': [], 'project_id': 'cf5a0d18e9f64d6a829ecb3a7f3729f1'}} 2025-10-31 00:33:41,314 - INFO - Created VN ctest-vn1-57756678 2025-10-31 00:33:41,368 - DEBUG - VN ctest-vn1-57756678 UUID is 7f68aa68-a914-486c-a62d-e1439f1d7e22 2025-10-31 00:33:41,693 - DEBUG - Response for create_network : {'network': {'id': 'aac85777-f9f9-464d-9fcc-e7edaf5d97b6', 'name': 'ctest-vn2-91238372', 'tenant_id': 'cf5a0d18e9f64d6a829ecb3a7f3729f1', 'project_id': 'cf5a0d18e9f64d6a829ecb3a7f3729f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-37767633', 'ctest-vn2-91238372'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:33:41,859 - DEBUG - Response for create_subnet : {'subnet': {'id': '79bf7531-d58c-4970-b628-b48a95e69275', 'name': '', 'tenant_id': 'cf5a0d18e9f64d6a829ecb3a7f3729f1', 'network_id': 'aac85777-f9f9-464d-9fcc-e7edaf5d97b6', 'ip_version': 4, 'cidr': '100.138.144.192/26', 'allocation_pools': [{'start': '100.138.144.194', 'end': '100.138.144.254'}], 'gateway_ip': '100.138.144.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.138.144.194', 'tags': [], 'project_id': 'cf5a0d18e9f64d6a829ecb3a7f3729f1'}} 2025-10-31 00:33:41,877 - INFO - Created VN ctest-vn2-91238372 2025-10-31 00:33:41,932 - DEBUG - VN ctest-vn2-91238372 UUID is aac85777-f9f9-464d-9fcc-e7edaf5d97b6 2025-10-31 00:33:42,106 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:33:43,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4565-1) 2025-10-31 00:33:44,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4565-1) 2025-10-31 00:33:44,581 - INFO - Adding interface with subnet_id badf2e94-6a52-46a7-a9d9-bd901b5e7eef, port_id None to router 26e72aaa-b124-4909-ac93-d65f72d79368 2025-10-31 00:33:45,459 - INFO - Waiting for VM ctest-vn1-vm1-75188113 to be up.. 2025-10-31 00:33:45,661 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:33:45,661 - INFO - VM name : ctest-vn1-vm1-75188113 2025-10-31 00:33:45,833 - DEBUG - VM ctest-vn1-vm1-75188113 ID is 6aaed5fb-d0b5-4df1-86ce-eb42a8cc2863 2025-10-31 00:33:45,869 - DEBUG - VM ctest-vn1-vm1-75188113 launched on Node cn-jenkins-deploy-platform-ansible-os-4565-1 2025-10-31 00:33:46,048 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/6aaed5fb-d0b5-4df1-86ce-eb42a8cc2863 2025-10-31 00:33:46,383 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/6aaed5fb-d0b5-4df1-86ce-eb42a8cc2863 2025-10-31 00:33:46,427 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/bcdffe87-0b19-4c61-8bd1-8eda4b3e2a73 2025-10-31 00:33:49,699 - 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 1029ms') 2025-10-31 00:33:49,700 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75188113 failed! 2025-10-31 00:33:49,756 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-37767633:ctest-vn1-57756678 is 52.149.73.193 and allocation pool is NOT set 2025-10-31 00:33:53,834 - 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 1012ms') 2025-10-31 00:33:53,834 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75188113 failed! 2025-10-31 00:33:53,888 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-37767633:ctest-vn1-57756678 is 52.149.73.193 and allocation pool is NOT set 2025-10-31 00:33:55,958 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.09 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 = 1.091/2.606/4.122/1.515 ms') 2025-10-31 00:33:55,959 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75188113 passed 2025-10-31 00:33:56,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:33:56,112 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75188113, IP 52.149.73.195, Port 22 2025-10-31 00:33:56,278 - DEBUG - VM ctest-vn1-vm1-75188113 is ready for SSH connections 2025-10-31 00:33:56,279 - INFO - Waiting for VM ctest-vn2-vm1-77085950 to be up.. 2025-10-31 00:33:56,366 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:33:56,367 - INFO - VM name : ctest-vn2-vm1-77085950 2025-10-31 00:33:56,447 - DEBUG - VM ctest-vn2-vm1-77085950 ID is e93d86d1-1d47-44ee-89a1-5c2ce4bb539d 2025-10-31 00:33:56,447 - DEBUG - VM ctest-vn2-vm1-77085950 launched on Node cn-jenkins-deploy-platform-ansible-os-4565-1 2025-10-31 00:33:56,528 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/e93d86d1-1d47-44ee-89a1-5c2ce4bb539d 2025-10-31 00:33:56,537 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/3020f027-4c3e-405d-88d0-c4dabae409e2 2025-10-31 00:33:57,784 - 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=5.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.97 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.972/3.572/5.173/1.600 ms') 2025-10-31 00:33:57,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-77085950 passed 2025-10-31 00:33:57,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:33:57,937 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-77085950, IP 100.138.144.195, Port 22 2025-10-31 00:33:58,003 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 00:33:58,079 - DEBUG - VM ctest-vn2-vm1-77085950 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 00:34:03,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:34:03,080 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-77085950, IP 100.138.144.195, Port 22 2025-10-31 00:34:03,246 - DEBUG - VM ctest-vn2-vm1-77085950 is ready for SSH connections 2025-10-31 00:34:03,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:34:03,247 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.138.144.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 00:34:03,247 - DEBUG - ping -s 56 -c 3 -W 1 100.138.144.195 2025-10-31 00:34:08,298 - DEBUG - PING 100.138.144.195 (100.138.144.195): 56 data bytes --- 100.138.144.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 00:34:08,298 - WARNING - Ping to IP 100.138.144.195 from VM ctest-vn1-vm1-75188113 failed 2025-10-31 00:34:08,298 - INFO - Adding interface with subnet_id 79bf7531-d58c-4970-b628-b48a95e69275, port_id None to router 26e72aaa-b124-4909-ac93-d65f72d79368 2025-10-31 00:34:08,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:34:08,582 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.138.144.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 00:34:08,582 - DEBUG - ping -s 56 -c 3 -W 1 100.138.144.195 2025-10-31 00:34:11,814 - DEBUG - PING 100.138.144.195 (100.138.144.195): 56 data bytes 64 bytes from 100.138.144.195: seq=1 ttl=63 time=3.328 ms 64 bytes from 100.138.144.195: seq=2 ttl=63 time=1.145 ms --- 100.138.144.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.145/2.236/3.328 ms 2025-10-31 00:34:11,814 - WARNING - Ping to IP 100.138.144.195 from VM ctest-vn1-vm1-75188113 failed 2025-10-31 00:34:12,816 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.138.144.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 00:34:12,817 - DEBUG - ping -s 56 -c 3 -W 1 100.138.144.195 2025-10-31 00:34:15,050 - DEBUG - PING 100.138.144.195 (100.138.144.195): 56 data bytes 64 bytes from 100.138.144.195: seq=0 ttl=63 time=2.278 ms 64 bytes from 100.138.144.195: seq=1 ttl=63 time=1.121 ms 64 bytes from 100.138.144.195: seq=2 ttl=63 time=0.906 ms --- 100.138.144.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/1.435/2.278 ms 2025-10-31 00:34:15,051 - INFO - Ping to IP 100.138.144.195 from VM ctest-vn1-vm1-75188113 passed 2025-10-31 00:34:15,051 - INFO - Deleting interface with subnet_id badf2e94-6a52-46a7-a9d9-bd901b5e7eef, port_id None from router 26e72aaa-b124-4909-ac93-d65f72d79368 2025-10-31 00:34:15,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:34:15,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.138.144.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 00:34:15,190 - DEBUG - ping -s 56 -c 3 -W 1 100.138.144.195 2025-10-31 00:34:18,429 - DEBUG - PING 100.138.144.195 (100.138.144.195): 56 data bytes --- 100.138.144.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 00:34:18,429 - WARNING - Ping to IP 100.138.144.195 from VM ctest-vn1-vm1-75188113 failed 2025-10-31 00:34:18,430 - INFO - Adding interface with subnet_id badf2e94-6a52-46a7-a9d9-bd901b5e7eef, port_id None to router 26e72aaa-b124-4909-ac93-d65f72d79368 2025-10-31 00:34:18,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:34:18,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.138.144.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 00:34:18,645 - DEBUG - ping -s 56 -c 3 -W 1 100.138.144.195 2025-10-31 00:34:20,864 - DEBUG - PING 100.138.144.195 (100.138.144.195): 56 data bytes 64 bytes from 100.138.144.195: seq=0 ttl=63 time=1.485 ms 64 bytes from 100.138.144.195: seq=1 ttl=63 time=0.885 ms 64 bytes from 100.138.144.195: seq=2 ttl=63 time=0.830 ms --- 100.138.144.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/1.066/1.485 ms 2025-10-31 00:34:20,864 - INFO - Ping to IP 100.138.144.195 from VM ctest-vn1-vm1-75188113 passed 2025-10-31 00:34:20,864 - INFO - Deleting interface with subnet_id 79bf7531-d58c-4970-b628-b48a95e69275, port_id None from router 26e72aaa-b124-4909-ac93-d65f72d79368 2025-10-31 00:34:20,985 - INFO - Deleting interface with subnet_id badf2e94-6a52-46a7-a9d9-bd901b5e7eef, port_id None from router 26e72aaa-b124-4909-ac93-d65f72d79368 2025-10-31 00:34:21,167 - INFO - Deleting VM ctest-vn2-vm1-77085950 2025-10-31 00:34:21,245 - INFO - Deleting VM ctest-vn1-vm1-75188113 2025-10-31 00:34:21,322 - INFO - Deleting VN ctest-vn2-91238372 2025-10-31 00:34:21,359 - DEBUG - VN aac85777-f9f9-464d-9fcc-e7edaf5d97b6 still in use: Unable to complete operation on network aac85777-f9f9-464d-9fcc-e7edaf5d97b6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dec5dfc4-720b-47e3-8203-82ecfffedaa9'] 2025-10-31 00:34:21,359 - WARNING - Deleting VN ctest-vn2-91238372 failed..Will retry 2025-10-31 00:34:23,463 - DEBUG - Response for deleting network () 2025-10-31 00:34:23,463 - INFO - Deleting VN ctest-vn1-57756678 2025-10-31 00:34:23,564 - DEBUG - Response for deleting network () 2025-10-31 00:34:23,821 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:34:23,821 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-10-31 00:34:23,821 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:34:24,512 - INFO - Deleted project: ctest-TestRouters-37767633, ID : cf5a0d18-e9f6-4d6a-829e-cb3a7f3729f1