2025-08-11 02:51:13,143 - INFO - Domain Default found not creating 2025-08-11 02:51:13,289 - INFO - Project ctest-TestRouters-80484972 not found, creating it 2025-08-11 02:51:13,777 - INFO - Created Project:ctest-TestRouters-80484972, ID : d0aaa6fa-ba45-4115-aebb-57ebbf2bc139 2025-08-11 02:51:15,160 - INFO - ================================================================================ 2025-08-11 02:51:15,160 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 02:51:15,160 - 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-11 02:51:15,417 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-08-11 02:51:15,417 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:51:15,417 - INFO - 2025-08-11 02:51:15,936 - DEBUG - Response for create_network : {'network': {'id': '6bb5b71c-00bb-4183-9c57-7b76b9c2d967', 'name': 'ctest-vn1-40723186', 'tenant_id': 'd0aaa6faba454115aebb57ebbf2bc139', 'project_id': 'd0aaa6faba454115aebb57ebbf2bc139', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-80484972', 'ctest-vn1-40723186'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:51:16,111 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fec03137-ea9e-40d1-9f6d-6e550db06a97', 'name': '', 'tenant_id': 'd0aaa6faba454115aebb57ebbf2bc139', 'network_id': '6bb5b71c-00bb-4183-9c57-7b76b9c2d967', 'ip_version': 4, 'cidr': '183.255.190.64/26', 'allocation_pools': [{'start': '183.255.190.66', 'end': '183.255.190.126'}], 'gateway_ip': '183.255.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.255.190.66', 'tags': [], 'project_id': 'd0aaa6faba454115aebb57ebbf2bc139'}} 2025-08-11 02:51:16,127 - INFO - Created VN ctest-vn1-40723186 2025-08-11 02:51:16,179 - DEBUG - VN ctest-vn1-40723186 UUID is 6bb5b71c-00bb-4183-9c57-7b76b9c2d967 2025-08-11 02:51:16,515 - DEBUG - Response for create_network : {'network': {'id': 'e6666b33-6809-4774-be4c-0ce9512650e0', 'name': 'ctest-vn2-88718127', 'tenant_id': 'd0aaa6faba454115aebb57ebbf2bc139', 'project_id': 'd0aaa6faba454115aebb57ebbf2bc139', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-80484972', 'ctest-vn2-88718127'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:51:16,782 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de1e763c-7e38-4eaf-a203-bb166ad1bdfe', 'name': '', 'tenant_id': 'd0aaa6faba454115aebb57ebbf2bc139', 'network_id': 'e6666b33-6809-4774-be4c-0ce9512650e0', 'ip_version': 4, 'cidr': '17.181.34.192/26', 'allocation_pools': [{'start': '17.181.34.194', 'end': '17.181.34.254'}], 'gateway_ip': '17.181.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.181.34.194', 'tags': [], 'project_id': 'd0aaa6faba454115aebb57ebbf2bc139'}} 2025-08-11 02:51:16,804 - INFO - Created VN ctest-vn2-88718127 2025-08-11 02:51:16,859 - DEBUG - VN ctest-vn2-88718127 UUID is e6666b33-6809-4774-be4c-0ce9512650e0 2025-08-11 02:51:17,092 - DEBUG - Services list from nova: [, , ] 2025-08-11 02:51:18,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3796-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3796-1) 2025-08-11 02:51:19,279 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3796-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3796-1) 2025-08-11 02:51:19,357 - INFO - Adding interface with subnet_id fec03137-ea9e-40d1-9f6d-6e550db06a97, port_id None to router 30b6805a-1cb0-42c9-a769-3029e67375d7 2025-08-11 02:51:19,725 - INFO - Waiting for VM ctest-vn1-vm1-12336376 to be up.. 2025-08-11 02:51:19,829 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:51:24,911 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:51:24,912 - INFO - VM name : ctest-vn1-vm1-12336376 2025-08-11 02:51:24,986 - DEBUG - VM ctest-vn1-vm1-12336376 ID is bdf9b69d-7a9d-47f8-a2ba-00076fde5d6e 2025-08-11 02:51:25,011 - DEBUG - VM ctest-vn1-vm1-12336376 launched on Node cn-jenkins-deploy-platform-ansible-os-3796-1 2025-08-11 02:51:25,088 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bdf9b69d-7a9d-47f8-a2ba-00076fde5d6e 2025-08-11 02:51:25,347 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bdf9b69d-7a9d-47f8-a2ba-00076fde5d6e 2025-08-11 02:51:25,380 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/339871c5-53f4-4a64-8ee6-2400c1c8844f 2025-08-11 02:51:28,640 - 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=2 ttl=63 time=3.82 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 3.816/3.816/3.816/0.000 ms') 2025-08-11 02:51:28,641 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12336376 passed 2025-08-11 02:51:28,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:51:28,795 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12336376, IP 183.255.190.67, Port 22 2025-08-11 02:51:28,957 - DEBUG - VM ctest-vn1-vm1-12336376 is ready for SSH connections 2025-08-11 02:51:28,958 - INFO - Waiting for VM ctest-vn2-vm1-09223184 to be up.. 2025-08-11 02:51:29,025 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:51:29,025 - INFO - VM name : ctest-vn2-vm1-09223184 2025-08-11 02:51:29,088 - DEBUG - VM ctest-vn2-vm1-09223184 ID is 95fed1f2-b1da-4a93-92bb-271b6dcfd944 2025-08-11 02:51:29,088 - DEBUG - VM ctest-vn2-vm1-09223184 launched on Node cn-jenkins-deploy-platform-ansible-os-3796-1 2025-08-11 02:51:29,149 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/95fed1f2-b1da-4a93-92bb-271b6dcfd944 2025-08-11 02:51:29,157 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8badcde7-8164-46bd-a185-bee8452a9ce6 2025-08-11 02:51:30,388 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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 = 0.416/1.440/2.464/1.024 ms') 2025-08-11 02:51:30,388 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-09223184 passed 2025-08-11 02:51:30,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:51:30,543 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-09223184, IP 17.181.34.195, Port 22 2025-08-11 02:51:30,698 - DEBUG - VM ctest-vn2-vm1-09223184 is ready for SSH connections 2025-08-11 02:51:30,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:51:30,698 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.181.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 02:51:30,699 - DEBUG - ping -s 56 -c 3 -W 1 17.181.34.195 2025-08-11 02:51:35,288 - DEBUG - PING 17.181.34.195 (17.181.34.195): 56 data bytes --- 17.181.34.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 02:51:35,288 - WARNING - Ping to IP 17.181.34.195 from VM ctest-vn1-vm1-12336376 failed 2025-08-11 02:51:35,288 - INFO - Adding interface with subnet_id de1e763c-7e38-4eaf-a203-bb166ad1bdfe, port_id None to router 30b6805a-1cb0-42c9-a769-3029e67375d7 2025-08-11 02:51:35,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:51:35,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.181.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 02:51:35,528 - DEBUG - ping -s 56 -c 3 -W 1 17.181.34.195 2025-08-11 02:51:37,712 - DEBUG - PING 17.181.34.195 (17.181.34.195): 56 data bytes 64 bytes from 17.181.34.195: seq=0 ttl=63 time=2.150 ms 64 bytes from 17.181.34.195: seq=1 ttl=63 time=0.809 ms 64 bytes from 17.181.34.195: seq=2 ttl=63 time=0.823 ms --- 17.181.34.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/1.260/2.150 ms 2025-08-11 02:51:37,712 - INFO - Ping to IP 17.181.34.195 from VM ctest-vn1-vm1-12336376 passed 2025-08-11 02:51:37,712 - INFO - Deleting interface with subnet_id fec03137-ea9e-40d1-9f6d-6e550db06a97, port_id None from router 30b6805a-1cb0-42c9-a769-3029e67375d7 2025-08-11 02:51:37,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:51:37,816 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.181.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 02:51:37,816 - DEBUG - ping -s 56 -c 3 -W 1 17.181.34.195 2025-08-11 02:51:41,003 - DEBUG - PING 17.181.34.195 (17.181.34.195): 56 data bytes --- 17.181.34.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 02:51:41,004 - WARNING - Ping to IP 17.181.34.195 from VM ctest-vn1-vm1-12336376 failed 2025-08-11 02:51:41,004 - INFO - Adding interface with subnet_id fec03137-ea9e-40d1-9f6d-6e550db06a97, port_id None to router 30b6805a-1cb0-42c9-a769-3029e67375d7 2025-08-11 02:51:41,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:51:41,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.181.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 02:51:41,221 - DEBUG - ping -s 56 -c 3 -W 1 17.181.34.195 2025-08-11 02:51:43,401 - DEBUG - PING 17.181.34.195 (17.181.34.195): 56 data bytes 64 bytes from 17.181.34.195: seq=0 ttl=63 time=1.382 ms 64 bytes from 17.181.34.195: seq=1 ttl=63 time=0.909 ms 64 bytes from 17.181.34.195: seq=2 ttl=63 time=0.747 ms --- 17.181.34.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.747/1.012/1.382 ms 2025-08-11 02:51:43,401 - INFO - Ping to IP 17.181.34.195 from VM ctest-vn1-vm1-12336376 passed 2025-08-11 02:51:43,402 - INFO - Deleting interface with subnet_id de1e763c-7e38-4eaf-a203-bb166ad1bdfe, port_id None from router 30b6805a-1cb0-42c9-a769-3029e67375d7 2025-08-11 02:51:43,503 - INFO - Deleting interface with subnet_id fec03137-ea9e-40d1-9f6d-6e550db06a97, port_id None from router 30b6805a-1cb0-42c9-a769-3029e67375d7 2025-08-11 02:51:43,665 - INFO - Deleting VM ctest-vn2-vm1-09223184 2025-08-11 02:51:43,728 - INFO - Deleting VM ctest-vn1-vm1-12336376 2025-08-11 02:51:43,797 - INFO - Deleting VN ctest-vn2-88718127 2025-08-11 02:51:43,830 - DEBUG - VN e6666b33-6809-4774-be4c-0ce9512650e0 still in use: Unable to complete operation on network e6666b33-6809-4774-be4c-0ce9512650e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-39820c21-cf8a-40d9-9595-a4a430b973c4'] 2025-08-11 02:51:43,831 - WARNING - Deleting VN ctest-vn2-88718127 failed..Will retry 2025-08-11 02:51:45,928 - DEBUG - Response for deleting network () 2025-08-11 02:51:45,928 - INFO - Deleting VN ctest-vn1-40723186 2025-08-11 02:51:46,024 - DEBUG - Response for deleting network () 2025-08-11 02:51:46,289 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 02:51:46,289 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31] 2025-08-11 02:51:46,289 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:51:46,941 - INFO - Deleted project: ctest-TestRouters-80484972, ID : d0aaa6fa-ba45-4115-aebb-57ebbf2bc139