2025-08-31 07:21:05,737 - INFO - Domain Default found not creating 2025-08-31 07:21:05,895 - INFO - Project ctest-TestRouters-59677853 not found, creating it 2025-08-31 07:21:06,361 - INFO - Created Project:ctest-TestRouters-59677853, ID : ce79da6b-28ed-4bc4-a930-45d1b3f8313f 2025-08-31 07:21:07,958 - INFO - ================================================================================ 2025-08-31 07:21:07,958 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-31 07:21:07,958 - 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-08-31 07:21:08,216 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-08-31 07:21:08,216 - INFO - Initial checks done. Running the testcase now 2025-08-31 07:21:08,216 - INFO - 2025-08-31 07:21:08,776 - DEBUG - Response for create_network : {'network': {'id': '83db68fa-c713-4084-86c3-9d59caab8dd0', 'name': 'ctest-vn1-37302725', 'tenant_id': 'ce79da6b28ed4bc4a93045d1b3f8313f', 'project_id': 'ce79da6b28ed4bc4a93045d1b3f8313f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-59677853', 'ctest-vn1-37302725'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 07:21:08,978 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d023303-7dbc-4e0d-982c-1cfa845d5394', 'name': '', 'tenant_id': 'ce79da6b28ed4bc4a93045d1b3f8313f', 'network_id': '83db68fa-c713-4084-86c3-9d59caab8dd0', 'ip_version': 4, 'cidr': '155.253.122.128/26', 'allocation_pools': [{'start': '155.253.122.130', 'end': '155.253.122.190'}], 'gateway_ip': '155.253.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.253.122.130', 'tags': [], 'project_id': 'ce79da6b28ed4bc4a93045d1b3f8313f'}} 2025-08-31 07:21:08,994 - INFO - Created VN ctest-vn1-37302725 2025-08-31 07:21:09,045 - DEBUG - VN ctest-vn1-37302725 UUID is 83db68fa-c713-4084-86c3-9d59caab8dd0 2025-08-31 07:21:09,416 - DEBUG - Response for create_network : {'network': {'id': '4be6f82f-6823-465b-b7f9-ba16b8a294c9', 'name': 'ctest-vn2-36831330', 'tenant_id': 'ce79da6b28ed4bc4a93045d1b3f8313f', 'project_id': 'ce79da6b28ed4bc4a93045d1b3f8313f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-59677853', 'ctest-vn2-36831330'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 07:21:09,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '31d4485c-f79c-4eb0-a4dd-db50817d2b22', 'name': '', 'tenant_id': 'ce79da6b28ed4bc4a93045d1b3f8313f', 'network_id': '4be6f82f-6823-465b-b7f9-ba16b8a294c9', 'ip_version': 4, 'cidr': '178.117.78.0/26', 'allocation_pools': [{'start': '178.117.78.2', 'end': '178.117.78.62'}], 'gateway_ip': '178.117.78.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.117.78.2', 'tags': [], 'project_id': 'ce79da6b28ed4bc4a93045d1b3f8313f'}} 2025-08-31 07:21:09,659 - INFO - Created VN ctest-vn2-36831330 2025-08-31 07:21:09,713 - DEBUG - VN ctest-vn2-36831330 UUID is 4be6f82f-6823-465b-b7f9-ba16b8a294c9 2025-08-31 07:21:09,976 - DEBUG - Services list from nova: [, , ] 2025-08-31 07:21:10,992 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3989-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3989-1) 2025-08-31 07:21:12,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3989-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3989-1) 2025-08-31 07:21:12,358 - INFO - Adding interface with subnet_id 4d023303-7dbc-4e0d-982c-1cfa845d5394, port_id None to router 0753a55f-33b9-481d-9da6-984dda5d8d47 2025-08-31 07:21:12,656 - INFO - Waiting for VM ctest-vn1-vm1-77066227 to be up.. 2025-08-31 07:21:12,775 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 07:21:17,852 - DEBUG - VM is in ACTIVE state now 2025-08-31 07:21:17,852 - INFO - VM name : ctest-vn1-vm1-77066227 2025-08-31 07:21:17,932 - DEBUG - VM ctest-vn1-vm1-77066227 ID is b8179dde-d26d-4737-95e0-a00238e0fe6a 2025-08-31 07:21:17,950 - DEBUG - VM ctest-vn1-vm1-77066227 launched on Node cn-jenkins-deploy-platform-ansible-os-3989-1 2025-08-31 07:21:18,024 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b8179dde-d26d-4737-95e0-a00238e0fe6a 2025-08-31 07:21:18,325 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b8179dde-d26d-4737-95e0-a00238e0fe6a 2025-08-31 07:21:18,355 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/30cb3930-4535-48ac-bcc6-244becbe3c83 2025-08-31 07:21:21,634 - 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 1031ms') 2025-08-31 07:21:21,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77066227 failed! 2025-08-31 07:21:21,689 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-59677853:ctest-vn1-37302725 is 155.253.122.129 and allocation pool is NOT set 2025-08-31 07:21:23,757 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.439 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 = 0.439/1.833/3.228/1.394 ms') 2025-08-31 07:21:23,757 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77066227 passed 2025-08-31 07:21:23,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 07:21:23,910 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77066227, IP 155.253.122.131, Port 22 2025-08-31 07:21:24,069 - DEBUG - VM ctest-vn1-vm1-77066227 is ready for SSH connections 2025-08-31 07:21:24,069 - INFO - Waiting for VM ctest-vn2-vm1-89254376 to be up.. 2025-08-31 07:21:24,141 - DEBUG - VM is in ACTIVE state now 2025-08-31 07:21:24,141 - INFO - VM name : ctest-vn2-vm1-89254376 2025-08-31 07:21:24,215 - DEBUG - VM ctest-vn2-vm1-89254376 ID is 24217af6-ead4-4478-b1c7-d44e16076fd4 2025-08-31 07:21:24,215 - DEBUG - VM ctest-vn2-vm1-89254376 launched on Node cn-jenkins-deploy-platform-ansible-os-3989-1 2025-08-31 07:21:24,307 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/24217af6-ead4-4478-b1c7-d44e16076fd4 2025-08-31 07:21:24,318 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/898733b6-d55d-455b-82ee-4ceca6892030 2025-08-31 07:21:25,556 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 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.413/1.869/3.326/1.456 ms') 2025-08-31 07:21:25,557 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-89254376 passed 2025-08-31 07:21:25,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 07:21:25,762 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-89254376, IP 178.117.78.3, Port 22 2025-08-31 07:21:25,916 - DEBUG - VM ctest-vn2-vm1-89254376 is ready for SSH connections 2025-08-31 07:21:25,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 07:21:25,917 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.117.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-31 07:21:25,917 - DEBUG - ping -s 56 -c 3 -W 1 178.117.78.3 2025-08-31 07:21:30,926 - DEBUG - PING 178.117.78.3 (178.117.78.3): 56 data bytes --- 178.117.78.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 07:21:30,926 - WARNING - Ping to IP 178.117.78.3 from VM ctest-vn1-vm1-77066227 failed 2025-08-31 07:21:30,926 - INFO - Adding interface with subnet_id 31d4485c-f79c-4eb0-a4dd-db50817d2b22, port_id None to router 0753a55f-33b9-481d-9da6-984dda5d8d47 2025-08-31 07:21:31,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 07:21:31,162 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.117.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-31 07:21:31,162 - DEBUG - ping -s 56 -c 3 -W 1 178.117.78.3 2025-08-31 07:21:34,364 - DEBUG - PING 178.117.78.3 (178.117.78.3): 56 data bytes 64 bytes from 178.117.78.3: seq=1 ttl=63 time=2.531 ms 64 bytes from 178.117.78.3: seq=2 ttl=63 time=0.883 ms --- 178.117.78.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.883/1.707/2.531 ms 2025-08-31 07:21:34,364 - WARNING - Ping to IP 178.117.78.3 from VM ctest-vn1-vm1-77066227 failed 2025-08-31 07:21:35,365 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.117.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-31 07:21:35,365 - DEBUG - ping -s 56 -c 3 -W 1 178.117.78.3 2025-08-31 07:21:37,578 - DEBUG - PING 178.117.78.3 (178.117.78.3): 56 data bytes 64 bytes from 178.117.78.3: seq=0 ttl=63 time=1.402 ms 64 bytes from 178.117.78.3: seq=1 ttl=63 time=0.881 ms 64 bytes from 178.117.78.3: seq=2 ttl=63 time=0.737 ms --- 178.117.78.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.737/1.006/1.402 ms 2025-08-31 07:21:37,579 - INFO - Ping to IP 178.117.78.3 from VM ctest-vn1-vm1-77066227 passed 2025-08-31 07:21:37,579 - INFO - Deleting interface with subnet_id 4d023303-7dbc-4e0d-982c-1cfa845d5394, port_id None from router 0753a55f-33b9-481d-9da6-984dda5d8d47 2025-08-31 07:21:37,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 07:21:37,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.117.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-31 07:21:37,691 - DEBUG - ping -s 56 -c 3 -W 1 178.117.78.3 2025-08-31 07:21:40,913 - DEBUG - PING 178.117.78.3 (178.117.78.3): 56 data bytes --- 178.117.78.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 07:21:40,914 - WARNING - Ping to IP 178.117.78.3 from VM ctest-vn1-vm1-77066227 failed 2025-08-31 07:21:40,914 - INFO - Adding interface with subnet_id 4d023303-7dbc-4e0d-982c-1cfa845d5394, port_id None to router 0753a55f-33b9-481d-9da6-984dda5d8d47 2025-08-31 07:21:41,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 07:21:41,127 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.117.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-31 07:21:41,127 - DEBUG - ping -s 56 -c 3 -W 1 178.117.78.3 2025-08-31 07:21:43,354 - DEBUG - PING 178.117.78.3 (178.117.78.3): 56 data bytes 64 bytes from 178.117.78.3: seq=0 ttl=63 time=1.577 ms 64 bytes from 178.117.78.3: seq=1 ttl=63 time=0.827 ms 64 bytes from 178.117.78.3: seq=2 ttl=63 time=1.241 ms --- 178.117.78.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.827/1.215/1.577 ms 2025-08-31 07:21:43,354 - INFO - Ping to IP 178.117.78.3 from VM ctest-vn1-vm1-77066227 passed 2025-08-31 07:21:43,354 - INFO - Deleting interface with subnet_id 31d4485c-f79c-4eb0-a4dd-db50817d2b22, port_id None from router 0753a55f-33b9-481d-9da6-984dda5d8d47 2025-08-31 07:21:43,499 - INFO - Deleting interface with subnet_id 4d023303-7dbc-4e0d-982c-1cfa845d5394, port_id None from router 0753a55f-33b9-481d-9da6-984dda5d8d47 2025-08-31 07:21:43,688 - INFO - Deleting VM ctest-vn2-vm1-89254376 2025-08-31 07:21:43,778 - INFO - Deleting VM ctest-vn1-vm1-77066227 2025-08-31 07:21:43,851 - INFO - Deleting VN ctest-vn2-36831330 2025-08-31 07:21:43,891 - DEBUG - VN 4be6f82f-6823-465b-b7f9-ba16b8a294c9 still in use: Unable to complete operation on network 4be6f82f-6823-465b-b7f9-ba16b8a294c9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca5f4a33-5920-4490-906f-1cee6f3abce7'] 2025-08-31 07:21:43,891 - WARNING - Deleting VN ctest-vn2-36831330 failed..Will retry 2025-08-31 07:21:45,997 - DEBUG - Response for deleting network () 2025-08-31 07:21:45,997 - INFO - Deleting VN ctest-vn1-37302725 2025-08-31 07:21:46,093 - DEBUG - Response for deleting network () 2025-08-31 07:21:46,348 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 07:21:46,348 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-08-31 07:21:46,348 - INFO - -------------------------------------------------------------------------------- 2025-08-31 07:21:47,018 - INFO - Deleted project: ctest-TestRouters-59677853, ID : ce79da6b-28ed-4bc4-a930-45d1b3f8313f