2025-10-22 16:15:02,090 - INFO - Reading existing Domain with UUID 46535b60-2514-4548-ad8b-3c79fd57b8eb 2025-10-22 16:15:02,102 - INFO - Using existing domain ['admin_domain'](46535b60-2514-4548-ad8b-3c79fd57b8eb) 2025-10-22 16:15:02,505 - INFO - Project ctest-TestRouters-70909902 not found, creating it 2025-10-22 16:15:03,380 - INFO - Created Project:ctest-TestRouters-70909902, ID : 80b7632b-0ddb-4bf1-b8d0-9502828d7127 2025-10-22 16:15:05,639 - INFO - ================================================================================ 2025-10-22 16:15:05,639 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-22 16:15:05,639 - 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 16:15:06,042 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.0.0.242': '0'}} with 2025-10-22 16:15:06,043 - INFO - Initial checks done. Running the testcase now 2025-10-22 16:15:06,043 - INFO - 2025-10-22 16:15:06,991 - DEBUG - Response for create_network : {'network': {'id': '730cc8f3-dc19-4936-9c9b-d74bca1dd1dc', 'name': 'ctest-vn1-77133574', 'tenant_id': '80b7632b0ddb4bf1b8d09502828d7127', 'project_id': '80b7632b0ddb4bf1b8d09502828d7127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-70909902', 'ctest-vn1-77133574'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 16:15:07,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '38f29c52-e16b-4268-92c7-44417140db79', 'name': '', 'tenant_id': '80b7632b0ddb4bf1b8d09502828d7127', 'network_id': '730cc8f3-dc19-4936-9c9b-d74bca1dd1dc', 'ip_version': 4, 'cidr': '41.128.99.0/26', 'allocation_pools': [{'start': '41.128.99.2', 'end': '41.128.99.62'}], 'gateway_ip': '41.128.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T16:15:07.180592', 'updated_at': '2025-10-22T16:15:07.180592', 'dns_server_address': '41.128.99.2', 'tags': [], 'project_id': '80b7632b0ddb4bf1b8d09502828d7127'}} 2025-10-22 16:15:07,383 - INFO - Created VN ctest-vn1-77133574 2025-10-22 16:15:07,445 - DEBUG - VN ctest-vn1-77133574 UUID is 730cc8f3-dc19-4936-9c9b-d74bca1dd1dc 2025-10-22 16:15:08,098 - DEBUG - Response for create_network : {'network': {'id': 'c02a62a1-02c7-431d-9893-c7cdc52b6da2', 'name': 'ctest-vn2-08567363', 'tenant_id': '80b7632b0ddb4bf1b8d09502828d7127', 'project_id': '80b7632b0ddb4bf1b8d09502828d7127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-70909902', 'ctest-vn2-08567363'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 16:15:08,410 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdb98e29-f73b-4476-b420-29b239d88f77', 'name': '', 'tenant_id': '80b7632b0ddb4bf1b8d09502828d7127', 'network_id': 'c02a62a1-02c7-431d-9893-c7cdc52b6da2', 'ip_version': 4, 'cidr': '105.63.88.0/26', 'allocation_pools': [{'start': '105.63.88.2', 'end': '105.63.88.62'}], 'gateway_ip': '105.63.88.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T16:15:08.282768', 'updated_at': '2025-10-22T16:15:08.282768', 'dns_server_address': '105.63.88.2', 'tags': [], 'project_id': '80b7632b0ddb4bf1b8d09502828d7127'}} 2025-10-22 16:15:08,483 - INFO - Created VN ctest-vn2-08567363 2025-10-22 16:15:08,537 - DEBUG - VN ctest-vn2-08567363 UUID is c02a62a1-02c7-431d-9893-c7cdc52b6da2 2025-10-22 16:15:08,949 - DEBUG - Services list from nova: [, , ] 2025-10-22 16:15:10,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-602-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-602-1) 2025-10-22 16:15:11,708 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-602-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-602-1) 2025-10-22 16:15:11,881 - INFO - Adding interface with subnet_id 38f29c52-e16b-4268-92c7-44417140db79, port_id None to router cb708ce4-9616-498e-be08-10fcc18e4eeb 2025-10-22 16:15:12,404 - INFO - Waiting for VM ctest-vn1-vm1-41974590 to be up.. 2025-10-22 16:15:12,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 16:15:17,729 - DEBUG - VM is in ACTIVE state now 2025-10-22 16:15:17,730 - INFO - VM name : ctest-vn1-vm1-41974590 2025-10-22 16:15:17,866 - DEBUG - VM ctest-vn1-vm1-41974590 ID is 4ce86796-42e8-435b-8cdc-de281f5acf3e 2025-10-22 16:15:17,891 - DEBUG - VM ctest-vn1-vm1-41974590 launched on Node cn-jenkins-deploy-platform-juju-os-602-1 2025-10-22 16:15:18,078 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine/4ce86796-42e8-435b-8cdc-de281f5acf3e 2025-10-22 16:15:18,420 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine/4ce86796-42e8-435b-8cdc-de281f5acf3e 2025-10-22 16:15:18,502 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine-interface/f3441453-0cf5-4649-90e2-b93a999a823f 2025-10-22 16:15:22,011 - 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 1032ms') 2025-10-22 16:15:22,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41974590 failed! 2025-10-22 16:15:22,073 - DEBUG - Gateway for vn admin_domain:ctest-TestRouters-70909902:ctest-vn1-77133574 is 41.128.99.1 and allocation pool is NOT set 2025-10-22 16:15:24,160 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 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.515/4.421/8.327/3.906 ms') 2025-10-22 16:15:24,160 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41974590 passed 2025-10-22 16:15:24,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:15:24,317 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41974590, IP 41.128.99.3, Port 22 2025-10-22 16:15:24,531 - DEBUG - VM ctest-vn1-vm1-41974590 is ready for SSH connections 2025-10-22 16:15:24,531 - INFO - Waiting for VM ctest-vn2-vm1-20937994 to be up.. 2025-10-22 16:15:24,771 - DEBUG - VM is in ACTIVE state now 2025-10-22 16:15:24,771 - INFO - VM name : ctest-vn2-vm1-20937994 2025-10-22 16:15:24,897 - DEBUG - VM ctest-vn2-vm1-20937994 ID is 2fd0653a-f96c-49b6-bc9b-be3e5c0c09cf 2025-10-22 16:15:24,897 - DEBUG - VM ctest-vn2-vm1-20937994 launched on Node cn-jenkins-deploy-platform-juju-os-602-1 2025-10-22 16:15:25,032 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine/2fd0653a-f96c-49b6-bc9b-be3e5c0c09cf 2025-10-22 16:15:25,089 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine-interface/2562c031-9395-47a9-9e95-c4f699f84d25 2025-10-22 16:15:26,536 - 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=2.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 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.491/1.697/2.903/1.206 ms') 2025-10-22 16:15:26,537 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-20937994 passed 2025-10-22 16:15:26,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:15:26,685 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-20937994, IP 105.63.88.3, Port 22 2025-10-22 16:15:26,899 - DEBUG - VM ctest-vn2-vm1-20937994 is ready for SSH connections 2025-10-22 16:15:26,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:15:26,899 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.63.88.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-22 16:15:26,899 - DEBUG - ping -s 56 -c 3 -W 1 105.63.88.3 2025-10-22 16:15:31,571 - DEBUG - PING 105.63.88.3 (105.63.88.3): 56 data bytes --- 105.63.88.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 16:15:31,572 - WARNING - Ping to IP 105.63.88.3 from VM ctest-vn1-vm1-41974590 failed 2025-10-22 16:15:31,572 - INFO - Adding interface with subnet_id bdb98e29-f73b-4476-b420-29b239d88f77, port_id None to router cb708ce4-9616-498e-be08-10fcc18e4eeb 2025-10-22 16:15:31,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:15:31,924 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.63.88.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-22 16:15:31,924 - DEBUG - ping -s 56 -c 3 -W 1 105.63.88.3 2025-10-22 16:15:34,137 - DEBUG - PING 105.63.88.3 (105.63.88.3): 56 data bytes 64 bytes from 105.63.88.3: seq=0 ttl=63 time=2.515 ms 64 bytes from 105.63.88.3: seq=1 ttl=63 time=0.853 ms 64 bytes from 105.63.88.3: seq=2 ttl=63 time=0.919 ms --- 105.63.88.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/1.429/2.515 ms 2025-10-22 16:15:34,137 - INFO - Ping to IP 105.63.88.3 from VM ctest-vn1-vm1-41974590 passed 2025-10-22 16:15:34,138 - INFO - Deleting interface with subnet_id 38f29c52-e16b-4268-92c7-44417140db79, port_id None from router cb708ce4-9616-498e-be08-10fcc18e4eeb 2025-10-22 16:15:34,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:15:34,361 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.63.88.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-22 16:15:34,361 - DEBUG - ping -s 56 -c 3 -W 1 105.63.88.3 2025-10-22 16:15:37,565 - DEBUG - PING 105.63.88.3 (105.63.88.3): 56 data bytes --- 105.63.88.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 16:15:37,565 - WARNING - Ping to IP 105.63.88.3 from VM ctest-vn1-vm1-41974590 failed 2025-10-22 16:15:37,565 - INFO - Adding interface with subnet_id 38f29c52-e16b-4268-92c7-44417140db79, port_id None to router cb708ce4-9616-498e-be08-10fcc18e4eeb 2025-10-22 16:15:37,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:15:37,915 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.63.88.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-22 16:15:37,916 - DEBUG - ping -s 56 -c 3 -W 1 105.63.88.3 2025-10-22 16:15:40,125 - DEBUG - PING 105.63.88.3 (105.63.88.3): 56 data bytes 64 bytes from 105.63.88.3: seq=0 ttl=63 time=1.611 ms 64 bytes from 105.63.88.3: seq=1 ttl=63 time=0.948 ms 64 bytes from 105.63.88.3: seq=2 ttl=63 time=0.837 ms --- 105.63.88.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.837/1.132/1.611 ms 2025-10-22 16:15:40,125 - INFO - Ping to IP 105.63.88.3 from VM ctest-vn1-vm1-41974590 passed 2025-10-22 16:15:40,125 - INFO - Deleting interface with subnet_id bdb98e29-f73b-4476-b420-29b239d88f77, port_id None from router cb708ce4-9616-498e-be08-10fcc18e4eeb 2025-10-22 16:15:40,363 - INFO - Deleting interface with subnet_id 38f29c52-e16b-4268-92c7-44417140db79, port_id None from router cb708ce4-9616-498e-be08-10fcc18e4eeb 2025-10-22 16:15:40,713 - INFO - Deleting VM ctest-vn2-vm1-20937994 2025-10-22 16:15:40,820 - INFO - Deleting VM ctest-vn1-vm1-41974590 2025-10-22 16:15:40,961 - INFO - Deleting VN ctest-vn2-08567363 2025-10-22 16:15:41,096 - DEBUG - VN c02a62a1-02c7-431d-9893-c7cdc52b6da2 still in use: Unable to complete operation on network c02a62a1-02c7-431d-9893-c7cdc52b6da2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0e9e46f5-6b87-496c-b4b6-cdc19fd14b2b'] 2025-10-22 16:15:41,096 - WARNING - Deleting VN ctest-vn2-08567363 failed..Will retry 2025-10-22 16:15:43,275 - DEBUG - Response for deleting network () 2025-10-22 16:15:43,276 - INFO - Deleting VN ctest-vn1-77133574 2025-10-22 16:15:43,461 - DEBUG - Response for deleting network () 2025-10-22 16:15:43,858 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 16:15:43,858 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-22 16:15:43,858 - INFO - -------------------------------------------------------------------------------- 2025-10-22 16:15:44,682 - INFO - Deleted project: ctest-TestRouters-70909902, ID : 80b7632b-0ddb-4bf1-b8d0-9502828d7127