2025-08-08 00:37:12,951 - INFO - Domain Default found not creating 2025-08-08 00:37:13,108 - INFO - Project ctest-TestRouters-24953840 not found, creating it 2025-08-08 00:37:13,626 - INFO - Created Project:ctest-TestRouters-24953840, ID : 2293686d-e85e-4538-a7f9-56a7fa886a8e 2025-08-08 00:37:15,109 - INFO - ================================================================================ 2025-08-08 00:37:15,109 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-08 00:37:15,110 - 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-08 00:37:15,370 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-08 00:37:15,370 - INFO - Initial checks done. Running the testcase now 2025-08-08 00:37:15,370 - INFO - 2025-08-08 00:37:16,012 - DEBUG - Response for create_network : {'network': {'id': '8a6cc5da-9c5d-41fb-a8f2-d3d9f8b3a2db', 'name': 'ctest-vn1-21063028', 'tenant_id': '2293686de85e4538a7f956a7fa886a8e', 'project_id': '2293686de85e4538a7f956a7fa886a8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-24953840', 'ctest-vn1-21063028'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 00:37:16,267 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9742a92-b335-48f2-a3c1-c5e8e4a44eef', 'name': '', 'tenant_id': '2293686de85e4538a7f956a7fa886a8e', 'network_id': '8a6cc5da-9c5d-41fb-a8f2-d3d9f8b3a2db', 'ip_version': 4, 'cidr': '40.4.253.0/26', 'allocation_pools': [{'start': '40.4.253.2', 'end': '40.4.253.62'}], 'gateway_ip': '40.4.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.4.253.2', 'tags': [], 'project_id': '2293686de85e4538a7f956a7fa886a8e'}} 2025-08-08 00:37:16,293 - INFO - Created VN ctest-vn1-21063028 2025-08-08 00:37:16,348 - DEBUG - VN ctest-vn1-21063028 UUID is 8a6cc5da-9c5d-41fb-a8f2-d3d9f8b3a2db 2025-08-08 00:37:16,739 - DEBUG - Response for create_network : {'network': {'id': 'cc25962a-0298-4ea2-98de-9bafbe700e71', 'name': 'ctest-vn2-28215159', 'tenant_id': '2293686de85e4538a7f956a7fa886a8e', 'project_id': '2293686de85e4538a7f956a7fa886a8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-24953840', 'ctest-vn2-28215159'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 00:37:16,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '4279ecbf-12e9-4c38-b219-507f331c6d91', 'name': '', 'tenant_id': '2293686de85e4538a7f956a7fa886a8e', 'network_id': 'cc25962a-0298-4ea2-98de-9bafbe700e71', 'ip_version': 4, 'cidr': '107.211.114.64/26', 'allocation_pools': [{'start': '107.211.114.66', 'end': '107.211.114.126'}], 'gateway_ip': '107.211.114.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.211.114.66', 'tags': [], 'project_id': '2293686de85e4538a7f956a7fa886a8e'}} 2025-08-08 00:37:16,971 - INFO - Created VN ctest-vn2-28215159 2025-08-08 00:37:17,032 - DEBUG - VN ctest-vn2-28215159 UUID is cc25962a-0298-4ea2-98de-9bafbe700e71 2025-08-08 00:37:17,211 - DEBUG - Services list from nova: [, , ] 2025-08-08 00:37:18,398 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3778-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3778-1) 2025-08-08 00:37:19,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3778-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3778-1) 2025-08-08 00:37:19,658 - INFO - Adding interface with subnet_id a9742a92-b335-48f2-a3c1-c5e8e4a44eef, port_id None to router 62b3c865-758c-4035-b316-c3ad7e674d93 2025-08-08 00:37:19,960 - INFO - Waiting for VM ctest-vn1-vm1-74847931 to be up.. 2025-08-08 00:37:20,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 00:37:25,161 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 00:37:30,239 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 00:37:35,346 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 00:37:40,423 - DEBUG - VM is in ACTIVE state now 2025-08-08 00:37:40,423 - INFO - VM name : ctest-vn1-vm1-74847931 2025-08-08 00:37:40,522 - DEBUG - VM ctest-vn1-vm1-74847931 ID is d6d8916e-f06f-4cc2-b942-6559d4beb9d1 2025-08-08 00:37:40,546 - DEBUG - VM ctest-vn1-vm1-74847931 launched on Node cn-jenkins-deploy-platform-ansible-os-3778-1 2025-08-08 00:37:40,644 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d6d8916e-f06f-4cc2-b942-6559d4beb9d1 2025-08-08 00:37:40,938 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d6d8916e-f06f-4cc2-b942-6559d4beb9d1 2025-08-08 00:37:40,971 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ae0f987d-30f5-45e5-8a7f-a80b66226162 2025-08-08 00:37:44,232 - 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-08-08 00:37:44,232 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74847931 failed! 2025-08-08 00:37:44,288 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-24953840:ctest-vn1-21063028 is 40.4.253.1 and allocation pool is NOT set 2025-08-08 00:37:46,353 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.938 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.938/5.557/10.176/4.619 ms') 2025-08-08 00:37:46,354 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74847931 passed 2025-08-08 00:37:46,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:37:46,508 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74847931, IP 40.4.253.3, Port 22 2025-08-08 00:37:46,664 - DEBUG - VM ctest-vn1-vm1-74847931 is ready for SSH connections 2025-08-08 00:37:46,664 - INFO - Waiting for VM ctest-vn2-vm1-80517109 to be up.. 2025-08-08 00:37:46,746 - DEBUG - VM is in ACTIVE state now 2025-08-08 00:37:46,746 - INFO - VM name : ctest-vn2-vm1-80517109 2025-08-08 00:37:46,826 - DEBUG - VM ctest-vn2-vm1-80517109 ID is c33794d9-ccfd-42e0-b368-7cacdd4d4657 2025-08-08 00:37:46,826 - DEBUG - VM ctest-vn2-vm1-80517109 launched on Node cn-jenkins-deploy-platform-ansible-os-3778-1 2025-08-08 00:37:46,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c33794d9-ccfd-42e0-b368-7cacdd4d4657 2025-08-08 00:37:46,942 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/18dea89c-4cdc-4cca-af83-949068257550 2025-08-08 00:37:48,192 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.96 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 = 2.959/4.083/5.207/1.124 ms') 2025-08-08 00:37:48,193 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-80517109 passed 2025-08-08 00:37:48,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:37:48,352 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-80517109, IP 107.211.114.67, Port 22 2025-08-08 00:37:48,511 - DEBUG - VM ctest-vn2-vm1-80517109 is ready for SSH connections 2025-08-08 00:37:48,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:37:48,512 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.211.114.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 00:37:48,512 - DEBUG - ping -s 56 -c 3 -W 1 107.211.114.67 2025-08-08 00:37:53,489 - DEBUG - PING 107.211.114.67 (107.211.114.67): 56 data bytes --- 107.211.114.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-08 00:37:53,489 - WARNING - Ping to IP 107.211.114.67 from VM ctest-vn1-vm1-74847931 failed 2025-08-08 00:37:53,489 - INFO - Adding interface with subnet_id 4279ecbf-12e9-4c38-b219-507f331c6d91, port_id None to router 62b3c865-758c-4035-b316-c3ad7e674d93 2025-08-08 00:37:53,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:37:53,918 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.211.114.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 00:37:53,918 - DEBUG - ping -s 56 -c 3 -W 1 107.211.114.67 2025-08-08 00:37:56,125 - DEBUG - PING 107.211.114.67 (107.211.114.67): 56 data bytes 64 bytes from 107.211.114.67: seq=0 ttl=63 time=3.063 ms 64 bytes from 107.211.114.67: seq=1 ttl=63 time=0.942 ms 64 bytes from 107.211.114.67: seq=2 ttl=63 time=0.814 ms --- 107.211.114.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.606/3.063 ms 2025-08-08 00:37:56,126 - INFO - Ping to IP 107.211.114.67 from VM ctest-vn1-vm1-74847931 passed 2025-08-08 00:37:56,126 - INFO - Deleting interface with subnet_id a9742a92-b335-48f2-a3c1-c5e8e4a44eef, port_id None from router 62b3c865-758c-4035-b316-c3ad7e674d93 2025-08-08 00:37:56,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:37:56,297 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.211.114.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 00:37:56,297 - DEBUG - ping -s 56 -c 3 -W 1 107.211.114.67 2025-08-08 00:37:59,502 - DEBUG - PING 107.211.114.67 (107.211.114.67): 56 data bytes --- 107.211.114.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-08 00:37:59,502 - WARNING - Ping to IP 107.211.114.67 from VM ctest-vn1-vm1-74847931 failed 2025-08-08 00:37:59,502 - INFO - Adding interface with subnet_id a9742a92-b335-48f2-a3c1-c5e8e4a44eef, port_id None to router 62b3c865-758c-4035-b316-c3ad7e674d93 2025-08-08 00:37:59,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 00:37:59,805 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.211.114.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 00:37:59,805 - DEBUG - ping -s 56 -c 3 -W 1 107.211.114.67 2025-08-08 00:38:02,019 - DEBUG - PING 107.211.114.67 (107.211.114.67): 56 data bytes 64 bytes from 107.211.114.67: seq=0 ttl=63 time=2.262 ms 64 bytes from 107.211.114.67: seq=1 ttl=63 time=0.929 ms 64 bytes from 107.211.114.67: seq=2 ttl=63 time=0.936 ms --- 107.211.114.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.929/1.375/2.262 ms 2025-08-08 00:38:02,020 - INFO - Ping to IP 107.211.114.67 from VM ctest-vn1-vm1-74847931 passed 2025-08-08 00:38:02,020 - INFO - Deleting interface with subnet_id 4279ecbf-12e9-4c38-b219-507f331c6d91, port_id None from router 62b3c865-758c-4035-b316-c3ad7e674d93 2025-08-08 00:38:02,161 - INFO - Deleting interface with subnet_id a9742a92-b335-48f2-a3c1-c5e8e4a44eef, port_id None from router 62b3c865-758c-4035-b316-c3ad7e674d93 2025-08-08 00:38:02,389 - INFO - Deleting VM ctest-vn2-vm1-80517109 2025-08-08 00:38:02,489 - INFO - Deleting VM ctest-vn1-vm1-74847931 2025-08-08 00:38:02,576 - INFO - Deleting VN ctest-vn2-28215159 2025-08-08 00:38:02,632 - DEBUG - VN cc25962a-0298-4ea2-98de-9bafbe700e71 still in use: Unable to complete operation on network cc25962a-0298-4ea2-98de-9bafbe700e71. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab6f5993-9913-463e-93c5-be2b0f8b4f5e'] 2025-08-08 00:38:02,632 - WARNING - Deleting VN ctest-vn2-28215159 failed..Will retry 2025-08-08 00:38:04,771 - DEBUG - Response for deleting network () 2025-08-08 00:38:04,771 - INFO - Deleting VN ctest-vn1-21063028 2025-08-08 00:38:04,915 - DEBUG - Response for deleting network () 2025-08-08 00:38:05,178 - DEBUG - No XMPP flaps were noticed during the test 2025-08-08 00:38:05,178 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:50] 2025-08-08 00:38:05,178 - INFO - -------------------------------------------------------------------------------- 2025-08-08 00:38:05,924 - INFO - Deleted project: ctest-TestRouters-24953840, ID : 2293686d-e85e-4538-a7f9-56a7fa886a8e