2025-10-20 13:57:38,766 - INFO - Reading existing Domain with UUID 359ab6ea-20cc-44f4-9df6-3d9ae739b7c5 2025-10-20 13:57:38,790 - INFO - Using existing domain ['admin_domain'](359ab6ea-20cc-44f4-9df6-3d9ae739b7c5) 2025-10-20 13:57:39,017 - INFO - Project ctest-TestRouters-39121791 not found, creating it 2025-10-20 13:57:39,583 - INFO - Created Project:ctest-TestRouters-39121791, ID : c7575f14-7f0a-44d1-b1cd-5608ba007d89 2025-10-20 13:57:41,390 - INFO - ================================================================================ 2025-10-20 13:57:41,391 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-20 13:57:41,391 - 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-20 13:57:41,801 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.0.0.137': '0'}} with 2025-10-20 13:57:41,801 - INFO - Initial checks done. Running the testcase now 2025-10-20 13:57:41,802 - INFO - 2025-10-20 13:57:42,596 - DEBUG - Response for create_network : {'network': {'id': '246d1054-1da1-4717-b895-0b5b7df33433', 'name': 'ctest-vn1-37959620', 'tenant_id': 'c7575f147f0a44d1b1cd5608ba007d89', 'project_id': 'c7575f147f0a44d1b1cd5608ba007d89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-39121791', 'ctest-vn1-37959620'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-20 13:57:42,893 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9cf8597-15b6-4c67-8560-fa8a5514f2da', 'name': '', 'tenant_id': 'c7575f147f0a44d1b1cd5608ba007d89', 'network_id': '246d1054-1da1-4717-b895-0b5b7df33433', 'ip_version': 4, 'cidr': '213.90.104.192/26', 'allocation_pools': [{'start': '213.90.104.194', 'end': '213.90.104.254'}], 'gateway_ip': '213.90.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T13:57:42.700504', 'updated_at': '2025-10-20T13:57:42.700504', 'dns_server_address': '213.90.104.194', 'tags': [], 'project_id': 'c7575f147f0a44d1b1cd5608ba007d89'}} 2025-10-20 13:57:42,978 - INFO - Created VN ctest-vn1-37959620 2025-10-20 13:57:43,032 - DEBUG - VN ctest-vn1-37959620 UUID is 246d1054-1da1-4717-b895-0b5b7df33433 2025-10-20 13:57:43,724 - DEBUG - Response for create_network : {'network': {'id': '9cecf6b4-e26b-42ea-a850-200ca0121990', 'name': 'ctest-vn2-88912586', 'tenant_id': 'c7575f147f0a44d1b1cd5608ba007d89', 'project_id': 'c7575f147f0a44d1b1cd5608ba007d89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-39121791', 'ctest-vn2-88912586'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-20 13:57:43,973 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5c06c2a-723f-4a18-8f71-dcb16eaf563f', 'name': '', 'tenant_id': 'c7575f147f0a44d1b1cd5608ba007d89', 'network_id': '9cecf6b4-e26b-42ea-a850-200ca0121990', 'ip_version': 4, 'cidr': '180.93.195.0/26', 'allocation_pools': [{'start': '180.93.195.2', 'end': '180.93.195.62'}], 'gateway_ip': '180.93.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T13:57:43.866111', 'updated_at': '2025-10-20T13:57:43.866111', 'dns_server_address': '180.93.195.2', 'tags': [], 'project_id': 'c7575f147f0a44d1b1cd5608ba007d89'}} 2025-10-20 13:57:44,043 - INFO - Created VN ctest-vn2-88912586 2025-10-20 13:57:44,096 - DEBUG - VN ctest-vn2-88912586 UUID is 9cecf6b4-e26b-42ea-a850-200ca0121990 2025-10-20 13:57:44,389 - DEBUG - Services list from nova: [, , ] 2025-10-20 13:57:45,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-599-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-599-1) 2025-10-20 13:57:46,834 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-599-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-599-1) 2025-10-20 13:57:47,120 - INFO - Adding interface with subnet_id a9cf8597-15b6-4c67-8560-fa8a5514f2da, port_id None to router 6d3e7654-a2e0-465b-84b2-092a4f314c44 2025-10-20 13:57:47,518 - INFO - Waiting for VM ctest-vn1-vm1-66079192 to be up.. 2025-10-20 13:57:47,668 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 13:57:52,809 - DEBUG - VM is in ACTIVE state now 2025-10-20 13:57:52,809 - INFO - VM name : ctest-vn1-vm1-66079192 2025-10-20 13:57:52,946 - DEBUG - VM ctest-vn1-vm1-66079192 ID is 95bbbffd-259f-4c4a-b455-0a4524aecfb8 2025-10-20 13:57:52,969 - DEBUG - VM ctest-vn1-vm1-66079192 launched on Node cn-jenkins-deploy-platform-juju-os-599-1 2025-10-20 13:57:53,107 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine/95bbbffd-259f-4c4a-b455-0a4524aecfb8 2025-10-20 13:57:53,464 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine/95bbbffd-259f-4c4a-b455-0a4524aecfb8 2025-10-20 13:57:53,549 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine-interface/d11183f7-0b41-44ae-b19e-224d83c84a68 2025-10-20 13:57:57,042 - 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-10-20 13:57:57,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66079192 failed! 2025-10-20 13:57:57,108 - DEBUG - Gateway for vn admin_domain:ctest-TestRouters-39121791:ctest-vn1-37959620 is 213.90.104.193 and allocation pool is NOT set 2025-10-20 13:57:59,212 - 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=8.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.497 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 = 0.497/4.346/8.195/3.849 ms') 2025-10-20 13:57:59,212 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66079192 passed 2025-10-20 13:57:59,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:57:59,360 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66079192, IP 213.90.104.195, Port 22 2025-10-20 13:57:59,575 - DEBUG - VM ctest-vn1-vm1-66079192 is ready for SSH connections 2025-10-20 13:57:59,575 - INFO - Waiting for VM ctest-vn2-vm1-10601336 to be up.. 2025-10-20 13:57:59,828 - DEBUG - VM is in ACTIVE state now 2025-10-20 13:57:59,828 - INFO - VM name : ctest-vn2-vm1-10601336 2025-10-20 13:57:59,978 - DEBUG - VM ctest-vn2-vm1-10601336 ID is 7ab42447-1f14-495b-834e-83784b7048e4 2025-10-20 13:57:59,978 - DEBUG - VM ctest-vn2-vm1-10601336 launched on Node cn-jenkins-deploy-platform-juju-os-599-1 2025-10-20 13:58:00,119 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine/7ab42447-1f14-495b-834e-83784b7048e4 2025-10-20 13:58:00,173 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine-interface/90ece7e4-7e88-4021-8423-8b5bcacd47bd 2025-10-20 13:58:01,643 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/2.979/5.463/2.484 ms') 2025-10-20 13:58:01,644 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-10601336 passed 2025-10-20 13:58:01,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:58:01,792 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-10601336, IP 180.93.195.3, Port 22 2025-10-20 13:58:02,007 - DEBUG - VM ctest-vn2-vm1-10601336 is ready for SSH connections 2025-10-20 13:58:02,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:58:02,007 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.93.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-20 13:58:02,007 - DEBUG - ping -s 56 -c 3 -W 1 180.93.195.3 2025-10-20 13:58:07,004 - DEBUG - PING 180.93.195.3 (180.93.195.3): 56 data bytes --- 180.93.195.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 13:58:07,004 - WARNING - Ping to IP 180.93.195.3 from VM ctest-vn1-vm1-66079192 failed 2025-10-20 13:58:07,004 - INFO - Adding interface with subnet_id c5c06c2a-723f-4a18-8f71-dcb16eaf563f, port_id None to router 6d3e7654-a2e0-465b-84b2-092a4f314c44 2025-10-20 13:58:07,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:58:07,369 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.93.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-20 13:58:07,369 - DEBUG - ping -s 56 -c 3 -W 1 180.93.195.3 2025-10-20 13:58:09,566 - DEBUG - PING 180.93.195.3 (180.93.195.3): 56 data bytes 64 bytes from 180.93.195.3: seq=0 ttl=63 time=2.868 ms 64 bytes from 180.93.195.3: seq=1 ttl=63 time=1.062 ms 64 bytes from 180.93.195.3: seq=2 ttl=63 time=0.939 ms --- 180.93.195.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.939/1.623/2.868 ms 2025-10-20 13:58:09,566 - INFO - Ping to IP 180.93.195.3 from VM ctest-vn1-vm1-66079192 passed 2025-10-20 13:58:09,567 - INFO - Deleting interface with subnet_id a9cf8597-15b6-4c67-8560-fa8a5514f2da, port_id None from router 6d3e7654-a2e0-465b-84b2-092a4f314c44 2025-10-20 13:58:09,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:58:09,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.93.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-20 13:58:09,791 - DEBUG - ping -s 56 -c 3 -W 1 180.93.195.3 2025-10-20 13:58:13,012 - DEBUG - PING 180.93.195.3 (180.93.195.3): 56 data bytes --- 180.93.195.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 13:58:13,012 - WARNING - Ping to IP 180.93.195.3 from VM ctest-vn1-vm1-66079192 failed 2025-10-20 13:58:13,012 - INFO - Adding interface with subnet_id a9cf8597-15b6-4c67-8560-fa8a5514f2da, port_id None to router 6d3e7654-a2e0-465b-84b2-092a4f314c44 2025-10-20 13:58:13,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:58:13,351 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.93.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-20 13:58:13,351 - DEBUG - ping -s 56 -c 3 -W 1 180.93.195.3 2025-10-20 13:58:15,570 - DEBUG - PING 180.93.195.3 (180.93.195.3): 56 data bytes 64 bytes from 180.93.195.3: seq=0 ttl=63 time=1.547 ms 64 bytes from 180.93.195.3: seq=1 ttl=63 time=1.149 ms 64 bytes from 180.93.195.3: seq=2 ttl=63 time=0.755 ms --- 180.93.195.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/1.150/1.547 ms 2025-10-20 13:58:15,570 - INFO - Ping to IP 180.93.195.3 from VM ctest-vn1-vm1-66079192 passed 2025-10-20 13:58:15,570 - INFO - Deleting interface with subnet_id c5c06c2a-723f-4a18-8f71-dcb16eaf563f, port_id None from router 6d3e7654-a2e0-465b-84b2-092a4f314c44 2025-10-20 13:58:15,806 - INFO - Deleting interface with subnet_id a9cf8597-15b6-4c67-8560-fa8a5514f2da, port_id None from router 6d3e7654-a2e0-465b-84b2-092a4f314c44 2025-10-20 13:58:16,156 - INFO - Deleting VM ctest-vn2-vm1-10601336 2025-10-20 13:58:16,263 - INFO - Deleting VM ctest-vn1-vm1-66079192 2025-10-20 13:58:16,380 - INFO - Deleting VN ctest-vn2-88912586 2025-10-20 13:58:16,519 - DEBUG - VN 9cecf6b4-e26b-42ea-a850-200ca0121990 still in use: Unable to complete operation on network 9cecf6b4-e26b-42ea-a850-200ca0121990. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5bee7d6c-52a8-4919-90ec-73535a8406c2'] 2025-10-20 13:58:16,519 - WARNING - Deleting VN ctest-vn2-88912586 failed..Will retry 2025-10-20 13:58:18,690 - DEBUG - Response for deleting network () 2025-10-20 13:58:18,690 - INFO - Deleting VN ctest-vn1-37959620 2025-10-20 13:58:18,991 - DEBUG - Response for deleting network () 2025-10-20 13:58:19,377 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 13:58:19,377 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-20 13:58:19,377 - INFO - -------------------------------------------------------------------------------- 2025-10-20 13:58:20,148 - INFO - Deleted project: ctest-TestRouters-39121791, ID : c7575f14-7f0a-44d1-b1cd-5608ba007d89