2025-11-03 01:47:24,678 - INFO - Reading existing Domain with UUID 5e346e6a-000a-45ec-ad9d-44dfc9f4db48 2025-11-03 01:47:24,688 - INFO - Using existing domain ['admin_domain'](5e346e6a-000a-45ec-ad9d-44dfc9f4db48) 2025-11-03 01:47:24,885 - INFO - Project ctest-TestRouters-16950698 not found, creating it 2025-11-03 01:47:25,420 - INFO - Created Project:ctest-TestRouters-16950698, ID : f792c874-fcae-41ff-af03-893bd4edd950 2025-11-03 01:47:27,180 - INFO - ================================================================================ 2025-11-03 01:47:27,181 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-03 01:47:27,181 - 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-11-03 01:47:27,570 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with 2025-11-03 01:47:27,571 - INFO - Initial checks done. Running the testcase now 2025-11-03 01:47:27,571 - INFO - 2025-11-03 01:47:28,598 - DEBUG - Response for create_network : {'network': {'id': 'e2b21db0-6925-4c48-ab39-135828e817d1', 'name': 'ctest-vn1-33703444', 'tenant_id': 'f792c874fcae41ffaf03893bd4edd950', 'project_id': 'f792c874fcae41ffaf03893bd4edd950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-16950698', 'ctest-vn1-33703444'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-11-03 01:47:28,830 - DEBUG - Response for create_subnet : {'subnet': {'id': '77585892-a8ec-43c6-bc27-1e9cca404388', 'name': '', 'tenant_id': 'f792c874fcae41ffaf03893bd4edd950', 'network_id': 'e2b21db0-6925-4c48-ab39-135828e817d1', 'ip_version': 4, 'cidr': '126.155.207.0/26', 'allocation_pools': [{'start': '126.155.207.2', 'end': '126.155.207.62'}], 'gateway_ip': '126.155.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-03T01:47:28.718466', 'updated_at': '2025-11-03T01:47:28.718466', 'dns_server_address': '126.155.207.2', 'tags': [], 'project_id': 'f792c874fcae41ffaf03893bd4edd950'}} 2025-11-03 01:47:28,895 - INFO - Created VN ctest-vn1-33703444 2025-11-03 01:47:28,949 - DEBUG - VN ctest-vn1-33703444 UUID is e2b21db0-6925-4c48-ab39-135828e817d1 2025-11-03 01:47:29,457 - DEBUG - Response for create_network : {'network': {'id': 'dc95c110-0b3e-4023-a124-4aae1d408a00', 'name': 'ctest-vn2-62597823', 'tenant_id': 'f792c874fcae41ffaf03893bd4edd950', 'project_id': 'f792c874fcae41ffaf03893bd4edd950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-16950698', 'ctest-vn2-62597823'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-11-03 01:47:29,662 - DEBUG - Response for create_subnet : {'subnet': {'id': '5da08a0e-16b8-48ad-baec-9f09f891ba7d', 'name': '', 'tenant_id': 'f792c874fcae41ffaf03893bd4edd950', 'network_id': 'dc95c110-0b3e-4023-a124-4aae1d408a00', 'ip_version': 4, 'cidr': '103.198.82.64/26', 'allocation_pools': [{'start': '103.198.82.66', 'end': '103.198.82.126'}], 'gateway_ip': '103.198.82.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-03T01:47:29.569822', 'updated_at': '2025-11-03T01:47:29.569822', 'dns_server_address': '103.198.82.66', 'tags': [], 'project_id': 'f792c874fcae41ffaf03893bd4edd950'}} 2025-11-03 01:47:29,728 - INFO - Created VN ctest-vn2-62597823 2025-11-03 01:47:29,781 - DEBUG - VN ctest-vn2-62597823 UUID is dc95c110-0b3e-4023-a124-4aae1d408a00 2025-11-03 01:47:30,063 - DEBUG - Services list from nova: [, , ] 2025-11-03 01:47:31,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-611-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-611-1) 2025-11-03 01:47:33,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-611-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-611-1) 2025-11-03 01:47:33,638 - INFO - Adding interface with subnet_id 77585892-a8ec-43c6-bc27-1e9cca404388, port_id None to router 092eca5a-c539-4269-a689-96bfc994c78c 2025-11-03 01:47:34,080 - INFO - Waiting for VM ctest-vn1-vm1-57287684 to be up.. 2025-11-03 01:47:34,241 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 01:47:39,383 - DEBUG - VM is in ACTIVE state now 2025-11-03 01:47:39,384 - INFO - VM name : ctest-vn1-vm1-57287684 2025-11-03 01:47:39,540 - DEBUG - VM ctest-vn1-vm1-57287684 ID is 4946940a-d33f-4223-9ddd-9bbe218fc223 2025-11-03 01:47:39,692 - DEBUG - VM ctest-vn1-vm1-57287684 launched on Node cn-jenkins-deploy-platform-juju-os-611-1 2025-11-03 01:47:39,827 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/4946940a-d33f-4223-9ddd-9bbe218fc223 2025-11-03 01:47:40,183 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/4946940a-d33f-4223-9ddd-9bbe218fc223 2025-11-03 01:47:40,278 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/29c2fb18-6bbe-4546-9705-f242d15b9fbe 2025-11-03 01:47:43,761 - 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 1015ms') 2025-11-03 01:47:43,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57287684 failed! 2025-11-03 01:47:43,826 - DEBUG - Gateway for vn admin_domain:ctest-TestRouters-16950698:ctest-vn1-33703444 is 126.155.207.1 and allocation pool is NOT set 2025-11-03 01:47:45,918 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.534 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.534/2.175/3.816/1.641 ms') 2025-11-03 01:47:45,919 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57287684 passed 2025-11-03 01:47:46,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:47:46,069 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57287684, IP 126.155.207.3, Port 22 2025-11-03 01:47:46,289 - DEBUG - VM ctest-vn1-vm1-57287684 is ready for SSH connections 2025-11-03 01:47:46,290 - INFO - Waiting for VM ctest-vn2-vm1-12830812 to be up.. 2025-11-03 01:47:46,435 - DEBUG - VM is in ACTIVE state now 2025-11-03 01:47:46,435 - INFO - VM name : ctest-vn2-vm1-12830812 2025-11-03 01:47:46,582 - DEBUG - VM ctest-vn2-vm1-12830812 ID is 26ddb779-4008-429f-b815-a8619da7e9ac 2025-11-03 01:47:46,583 - DEBUG - VM ctest-vn2-vm1-12830812 launched on Node cn-jenkins-deploy-platform-juju-os-611-1 2025-11-03 01:47:46,721 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/26ddb779-4008-429f-b815-a8619da7e9ac 2025-11-03 01:47:46,782 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/9e810836-58ee-4188-8d78-e2a27f694220 2025-11-03 01:47:48,246 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.691 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.691/1.943/3.196/1.252 ms') 2025-11-03 01:47:48,246 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-12830812 passed 2025-11-03 01:47:48,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:47:48,405 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-12830812, IP 103.198.82.67, Port 22 2025-11-03 01:47:48,644 - DEBUG - VM ctest-vn2-vm1-12830812 is ready for SSH connections 2025-11-03 01:47:48,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:47:48,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.198.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 01:47:48,644 - DEBUG - ping -s 56 -c 3 -W 1 103.198.82.67 2025-11-03 01:47:53,723 - DEBUG - PING 103.198.82.67 (103.198.82.67): 56 data bytes --- 103.198.82.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 01:47:53,723 - WARNING - Ping to IP 103.198.82.67 from VM ctest-vn1-vm1-57287684 failed 2025-11-03 01:47:53,724 - INFO - Adding interface with subnet_id 5da08a0e-16b8-48ad-baec-9f09f891ba7d, port_id None to router 092eca5a-c539-4269-a689-96bfc994c78c 2025-11-03 01:47:54,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:47:54,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.198.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 01:47:54,098 - DEBUG - ping -s 56 -c 3 -W 1 103.198.82.67 2025-11-03 01:47:56,305 - DEBUG - PING 103.198.82.67 (103.198.82.67): 56 data bytes 64 bytes from 103.198.82.67: seq=0 ttl=63 time=2.627 ms 64 bytes from 103.198.82.67: seq=1 ttl=63 time=0.971 ms 64 bytes from 103.198.82.67: seq=2 ttl=63 time=0.839 ms --- 103.198.82.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.839/1.479/2.627 ms 2025-11-03 01:47:56,305 - INFO - Ping to IP 103.198.82.67 from VM ctest-vn1-vm1-57287684 passed 2025-11-03 01:47:56,305 - INFO - Deleting interface with subnet_id 77585892-a8ec-43c6-bc27-1e9cca404388, port_id None from router 092eca5a-c539-4269-a689-96bfc994c78c 2025-11-03 01:47:56,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:47:56,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.198.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 01:47:56,528 - DEBUG - ping -s 56 -c 3 -W 1 103.198.82.67 2025-11-03 01:47:59,721 - DEBUG - PING 103.198.82.67 (103.198.82.67): 56 data bytes --- 103.198.82.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 01:47:59,721 - WARNING - Ping to IP 103.198.82.67 from VM ctest-vn1-vm1-57287684 failed 2025-11-03 01:47:59,722 - INFO - Adding interface with subnet_id 77585892-a8ec-43c6-bc27-1e9cca404388, port_id None to router 092eca5a-c539-4269-a689-96bfc994c78c 2025-11-03 01:48:00,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:48:00,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.198.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 01:48:00,060 - DEBUG - ping -s 56 -c 3 -W 1 103.198.82.67 2025-11-03 01:48:03,300 - DEBUG - PING 103.198.82.67 (103.198.82.67): 56 data bytes 64 bytes from 103.198.82.67: seq=1 ttl=63 time=1.599 ms 64 bytes from 103.198.82.67: seq=2 ttl=63 time=0.818 ms --- 103.198.82.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.818/1.208/1.599 ms 2025-11-03 01:48:03,300 - WARNING - Ping to IP 103.198.82.67 from VM ctest-vn1-vm1-57287684 failed 2025-11-03 01:48:04,301 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.198.82.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 01:48:04,301 - DEBUG - ping -s 56 -c 3 -W 1 103.198.82.67 2025-11-03 01:48:06,513 - DEBUG - PING 103.198.82.67 (103.198.82.67): 56 data bytes 64 bytes from 103.198.82.67: seq=0 ttl=63 time=2.136 ms 64 bytes from 103.198.82.67: seq=1 ttl=63 time=0.808 ms 64 bytes from 103.198.82.67: seq=2 ttl=63 time=0.989 ms --- 103.198.82.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.311/2.136 ms 2025-11-03 01:48:06,514 - INFO - Ping to IP 103.198.82.67 from VM ctest-vn1-vm1-57287684 passed 2025-11-03 01:48:06,514 - INFO - Deleting interface with subnet_id 5da08a0e-16b8-48ad-baec-9f09f891ba7d, port_id None from router 092eca5a-c539-4269-a689-96bfc994c78c 2025-11-03 01:48:06,735 - INFO - Deleting interface with subnet_id 77585892-a8ec-43c6-bc27-1e9cca404388, port_id None from router 092eca5a-c539-4269-a689-96bfc994c78c 2025-11-03 01:48:07,067 - INFO - Deleting VM ctest-vn2-vm1-12830812 2025-11-03 01:48:07,156 - INFO - Deleting VM ctest-vn1-vm1-57287684 2025-11-03 01:48:07,253 - INFO - Deleting VN ctest-vn2-62597823 2025-11-03 01:48:07,408 - DEBUG - VN dc95c110-0b3e-4023-a124-4aae1d408a00 still in use: Unable to complete operation on network dc95c110-0b3e-4023-a124-4aae1d408a00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14837191-935d-4f86-9f63-337bb77fea2c'] 2025-11-03 01:48:07,409 - WARNING - Deleting VN ctest-vn2-62597823 failed..Will retry 2025-11-03 01:48:09,580 - DEBUG - Response for deleting network () 2025-11-03 01:48:09,580 - INFO - Deleting VN ctest-vn1-33703444 2025-11-03 01:48:09,751 - DEBUG - Response for deleting network () 2025-11-03 01:48:10,143 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 01:48:10,143 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43] 2025-11-03 01:48:10,143 - INFO - -------------------------------------------------------------------------------- 2025-11-03 01:48:10,890 - INFO - Deleted project: ctest-TestRouters-16950698, ID : f792c874-fcae-41ff-af03-893bd4edd950