2025-10-22 14:58:43,510 - INFO - Reading existing Domain with UUID 8c582771-8b31-4700-9720-69718950e5ce 2025-10-22 14:58:43,522 - INFO - Using existing domain ['admin_domain'](8c582771-8b31-4700-9720-69718950e5ce) 2025-10-22 14:58:43,740 - INFO - Project ctest-TestRouters-84285039 not found, creating it 2025-10-22 14:58:44,309 - INFO - Created Project:ctest-TestRouters-84285039, ID : d782b653-dc02-4883-8e7b-e0df745db13a 2025-10-22 14:58:46,166 - INFO - ================================================================================ 2025-10-22 14:58:46,166 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-22 14:58:46,166 - 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-22 14:58:46,560 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2025-10-22 14:58:46,560 - INFO - Initial checks done. Running the testcase now 2025-10-22 14:58:46,560 - INFO - 2025-10-22 14:58:47,419 - DEBUG - Response for create_network : {'network': {'id': 'd21b6c27-c3af-43d3-9092-01f3037e88ca', 'name': 'ctest-vn1-12465446', 'tenant_id': 'd782b653dc0248838e7be0df745db13a', 'project_id': 'd782b653dc0248838e7be0df745db13a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-84285039', 'ctest-vn1-12465446'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 14:58:47,648 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d9b6fed-0d00-4bdc-99d1-97c51fe5fdb1', 'name': '', 'tenant_id': 'd782b653dc0248838e7be0df745db13a', 'network_id': 'd21b6c27-c3af-43d3-9092-01f3037e88ca', 'ip_version': 4, 'cidr': '71.190.95.64/26', 'allocation_pools': [{'start': '71.190.95.66', 'end': '71.190.95.126'}], 'gateway_ip': '71.190.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T14:58:47.527185', 'updated_at': '2025-10-22T14:58:47.527185', 'dns_server_address': '71.190.95.66', 'tags': [], 'project_id': 'd782b653dc0248838e7be0df745db13a'}} 2025-10-22 14:58:47,720 - INFO - Created VN ctest-vn1-12465446 2025-10-22 14:58:47,778 - DEBUG - VN ctest-vn1-12465446 UUID is d21b6c27-c3af-43d3-9092-01f3037e88ca 2025-10-22 14:58:48,327 - DEBUG - Response for create_network : {'network': {'id': '992f59dc-73d4-4dc9-a320-26fc595daf04', 'name': 'ctest-vn2-13392565', 'tenant_id': 'd782b653dc0248838e7be0df745db13a', 'project_id': 'd782b653dc0248838e7be0df745db13a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-84285039', 'ctest-vn2-13392565'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 14:58:48,547 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe081dfd-d0d2-4f0c-9f23-86e2cdfbb206', 'name': '', 'tenant_id': 'd782b653dc0248838e7be0df745db13a', 'network_id': '992f59dc-73d4-4dc9-a320-26fc595daf04', 'ip_version': 4, 'cidr': '42.96.144.0/26', 'allocation_pools': [{'start': '42.96.144.2', 'end': '42.96.144.62'}], 'gateway_ip': '42.96.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T14:58:48.434973', 'updated_at': '2025-10-22T14:58:48.434973', 'dns_server_address': '42.96.144.2', 'tags': [], 'project_id': 'd782b653dc0248838e7be0df745db13a'}} 2025-10-22 14:58:48,617 - INFO - Created VN ctest-vn2-13392565 2025-10-22 14:58:48,670 - DEBUG - VN ctest-vn2-13392565 UUID is 992f59dc-73d4-4dc9-a320-26fc595daf04 2025-10-22 14:58:48,969 - DEBUG - Services list from nova: [, , ] 2025-10-22 14:58:50,192 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-601-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-601-1) 2025-10-22 14:58:51,666 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-601-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-601-1) 2025-10-22 14:58:51,830 - INFO - Adding interface with subnet_id 4d9b6fed-0d00-4bdc-99d1-97c51fe5fdb1, port_id None to router c83a5625-0a23-40ba-9f5a-8677d9c30162 2025-10-22 14:58:52,353 - INFO - Waiting for VM ctest-vn1-vm1-08253797 to be up.. 2025-10-22 14:58:52,514 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 14:58:57,785 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:58:57,785 - INFO - VM name : ctest-vn1-vm1-08253797 2025-10-22 14:58:57,921 - DEBUG - VM ctest-vn1-vm1-08253797 ID is 8617150a-f6a9-4bdd-b5b5-125364280009 2025-10-22 14:58:57,945 - DEBUG - VM ctest-vn1-vm1-08253797 launched on Node cn-jenkins-deploy-platform-juju-os-601-1 2025-10-22 14:58:58,202 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/8617150a-f6a9-4bdd-b5b5-125364280009 2025-10-22 14:58:58,565 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/8617150a-f6a9-4bdd-b5b5-125364280009 2025-10-22 14:58:58,655 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/7e5faadc-15d6-45ae-9fcc-aecb37f37ffc 2025-10-22 14:59:02,207 - 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 1020ms') 2025-10-22 14:59:02,207 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08253797 failed! 2025-10-22 14:59:02,262 - DEBUG - Gateway for vn admin_domain:ctest-TestRouters-84285039:ctest-vn1-12465446 is 71.190.95.65 and allocation pool is NOT set 2025-10-22 14:59:04,358 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.15 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.061/3.106/3.152/0.045 ms') 2025-10-22 14:59:04,358 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08253797 passed 2025-10-22 14:59:04,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:59:04,526 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08253797, IP 71.190.95.67, Port 22 2025-10-22 14:59:04,757 - DEBUG - VM ctest-vn1-vm1-08253797 is ready for SSH connections 2025-10-22 14:59:04,757 - INFO - Waiting for VM ctest-vn2-vm1-42493972 to be up.. 2025-10-22 14:59:04,943 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:59:04,944 - INFO - VM name : ctest-vn2-vm1-42493972 2025-10-22 14:59:05,082 - DEBUG - VM ctest-vn2-vm1-42493972 ID is d7c9778c-1c2f-4490-af53-646bbd29bff7 2025-10-22 14:59:05,082 - DEBUG - VM ctest-vn2-vm1-42493972 launched on Node cn-jenkins-deploy-platform-juju-os-601-1 2025-10-22 14:59:05,246 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/d7c9778c-1c2f-4490-af53-646bbd29bff7 2025-10-22 14:59:05,312 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/568d6c79-b120-4201-b164-645ff4d79a38 2025-10-22 14:59:06,789 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.05 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 = 1.052/3.362/5.673/2.310 ms') 2025-10-22 14:59:06,790 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-42493972 passed 2025-10-22 14:59:06,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:59:06,946 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-42493972, IP 42.96.144.3, Port 22 2025-10-22 14:59:07,167 - DEBUG - VM ctest-vn2-vm1-42493972 is ready for SSH connections 2025-10-22 14:59:07,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:59:07,168 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.96.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 14:59:07,168 - DEBUG - ping -s 56 -c 3 -W 1 42.96.144.3 2025-10-22 14:59:12,288 - DEBUG - PING 42.96.144.3 (42.96.144.3): 56 data bytes --- 42.96.144.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 14:59:12,289 - WARNING - Ping to IP 42.96.144.3 from VM ctest-vn1-vm1-08253797 failed 2025-10-22 14:59:12,289 - INFO - Adding interface with subnet_id fe081dfd-d0d2-4f0c-9f23-86e2cdfbb206, port_id None to router c83a5625-0a23-40ba-9f5a-8677d9c30162 2025-10-22 14:59:12,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:59:12,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.96.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 14:59:12,739 - DEBUG - ping -s 56 -c 3 -W 1 42.96.144.3 2025-10-22 14:59:14,939 - DEBUG - PING 42.96.144.3 (42.96.144.3): 56 data bytes 64 bytes from 42.96.144.3: seq=0 ttl=63 time=2.661 ms 64 bytes from 42.96.144.3: seq=1 ttl=63 time=0.985 ms 64 bytes from 42.96.144.3: seq=2 ttl=63 time=0.855 ms --- 42.96.144.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/1.500/2.661 ms 2025-10-22 14:59:14,939 - INFO - Ping to IP 42.96.144.3 from VM ctest-vn1-vm1-08253797 passed 2025-10-22 14:59:14,939 - INFO - Deleting interface with subnet_id 4d9b6fed-0d00-4bdc-99d1-97c51fe5fdb1, port_id None from router c83a5625-0a23-40ba-9f5a-8677d9c30162 2025-10-22 14:59:15,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:59:15,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.96.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 14:59:15,221 - DEBUG - ping -s 56 -c 3 -W 1 42.96.144.3 2025-10-22 14:59:18,449 - DEBUG - PING 42.96.144.3 (42.96.144.3): 56 data bytes --- 42.96.144.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 14:59:18,450 - WARNING - Ping to IP 42.96.144.3 from VM ctest-vn1-vm1-08253797 failed 2025-10-22 14:59:18,450 - INFO - Adding interface with subnet_id 4d9b6fed-0d00-4bdc-99d1-97c51fe5fdb1, port_id None to router c83a5625-0a23-40ba-9f5a-8677d9c30162 2025-10-22 14:59:18,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:59:18,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.96.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 14:59:18,813 - DEBUG - ping -s 56 -c 3 -W 1 42.96.144.3 2025-10-22 14:59:21,073 - DEBUG - PING 42.96.144.3 (42.96.144.3): 56 data bytes 64 bytes from 42.96.144.3: seq=0 ttl=63 time=1.688 ms 64 bytes from 42.96.144.3: seq=1 ttl=63 time=0.980 ms 64 bytes from 42.96.144.3: seq=2 ttl=63 time=0.896 ms --- 42.96.144.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.896/1.188/1.688 ms 2025-10-22 14:59:21,073 - INFO - Ping to IP 42.96.144.3 from VM ctest-vn1-vm1-08253797 passed 2025-10-22 14:59:21,073 - INFO - Deleting interface with subnet_id fe081dfd-d0d2-4f0c-9f23-86e2cdfbb206, port_id None from router c83a5625-0a23-40ba-9f5a-8677d9c30162 2025-10-22 14:59:21,849 - INFO - Deleting interface with subnet_id 4d9b6fed-0d00-4bdc-99d1-97c51fe5fdb1, port_id None from router c83a5625-0a23-40ba-9f5a-8677d9c30162 2025-10-22 14:59:23,023 - INFO - Deleting VM ctest-vn2-vm1-42493972 2025-10-22 14:59:23,180 - INFO - Deleting VM ctest-vn1-vm1-08253797 2025-10-22 14:59:23,335 - INFO - Deleting VN ctest-vn2-13392565 2025-10-22 14:59:23,516 - DEBUG - VN 992f59dc-73d4-4dc9-a320-26fc595daf04 still in use: Unable to complete operation on network 992f59dc-73d4-4dc9-a320-26fc595daf04. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14965227-100d-4f3d-a271-d9077f4e1489'] 2025-10-22 14:59:23,516 - WARNING - Deleting VN ctest-vn2-13392565 failed..Will retry 2025-10-22 14:59:25,824 - DEBUG - VN 992f59dc-73d4-4dc9-a320-26fc595daf04 still in use: Unable to complete operation on network 992f59dc-73d4-4dc9-a320-26fc595daf04. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-800d807f-3398-4224-83d0-bbcaa8326741'] 2025-10-22 14:59:25,824 - WARNING - Deleting VN ctest-vn2-13392565 failed..Will retry 2025-10-22 14:59:28,067 - DEBUG - Response for deleting network () 2025-10-22 14:59:28,067 - INFO - Deleting VN ctest-vn1-12465446 2025-10-22 14:59:28,308 - DEBUG - Response for deleting network () 2025-10-22 14:59:28,737 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 14:59:28,738 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42] 2025-10-22 14:59:28,738 - INFO - -------------------------------------------------------------------------------- 2025-10-22 14:59:29,744 - INFO - Deleted project: ctest-TestRouters-84285039, ID : d782b653-dc02-4883-8e7b-e0df745db13a