2025-10-27 07:52:20,741 - INFO - Domain Default found not creating 2025-10-27 07:52:20,906 - INFO - Project ctest-TestRouters-03943989 not found, creating it 2025-10-27 07:52:21,377 - INFO - Created Project:ctest-TestRouters-03943989, ID : a5619bfe-64cf-4d24-a2a5-ea76b40377bb 2025-10-27 07:52:22,967 - INFO - ================================================================================ 2025-10-27 07:52:22,968 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-27 07:52:22,968 - 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-27 07:52:23,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-27 07:52:23,229 - INFO - Initial checks done. Running the testcase now 2025-10-27 07:52:23,229 - INFO - 2025-10-27 07:52:23,851 - DEBUG - Response for create_network : {'network': {'id': 'f8077952-30b8-4178-a978-cdebfe4de369', 'name': 'ctest-vn1-04914931', 'tenant_id': 'a5619bfe64cf4d24a2a5ea76b40377bb', 'project_id': 'a5619bfe64cf4d24a2a5ea76b40377bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03943989', 'ctest-vn1-04914931'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 07:52:24,079 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cec2e38-bd06-4fff-96e1-2faa8a03f150', 'name': '', 'tenant_id': 'a5619bfe64cf4d24a2a5ea76b40377bb', 'network_id': 'f8077952-30b8-4178-a978-cdebfe4de369', 'ip_version': 4, 'cidr': '91.77.94.64/26', 'allocation_pools': [{'start': '91.77.94.66', 'end': '91.77.94.126'}], 'gateway_ip': '91.77.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.77.94.66', 'tags': [], 'project_id': 'a5619bfe64cf4d24a2a5ea76b40377bb'}} 2025-10-27 07:52:24,099 - INFO - Created VN ctest-vn1-04914931 2025-10-27 07:52:24,150 - DEBUG - VN ctest-vn1-04914931 UUID is f8077952-30b8-4178-a978-cdebfe4de369 2025-10-27 07:52:24,482 - DEBUG - Response for create_network : {'network': {'id': '19b2db47-9f57-4fcc-96fd-3f34e68a9d07', 'name': 'ctest-vn2-45799387', 'tenant_id': 'a5619bfe64cf4d24a2a5ea76b40377bb', 'project_id': 'a5619bfe64cf4d24a2a5ea76b40377bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03943989', 'ctest-vn2-45799387'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 07:52:24,676 - DEBUG - Response for create_subnet : {'subnet': {'id': '198315fd-e2b1-46ed-8745-afb4700501c5', 'name': '', 'tenant_id': 'a5619bfe64cf4d24a2a5ea76b40377bb', 'network_id': '19b2db47-9f57-4fcc-96fd-3f34e68a9d07', 'ip_version': 4, 'cidr': '158.78.14.192/26', 'allocation_pools': [{'start': '158.78.14.194', 'end': '158.78.14.254'}], 'gateway_ip': '158.78.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.78.14.194', 'tags': [], 'project_id': 'a5619bfe64cf4d24a2a5ea76b40377bb'}} 2025-10-27 07:52:24,693 - INFO - Created VN ctest-vn2-45799387 2025-10-27 07:52:24,746 - DEBUG - VN ctest-vn2-45799387 UUID is 19b2db47-9f57-4fcc-96fd-3f34e68a9d07 2025-10-27 07:52:24,954 - DEBUG - Services list from nova: [, , ] 2025-10-27 07:52:26,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4495-1) 2025-10-27 07:52:27,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4495-1) 2025-10-27 07:52:27,453 - INFO - Adding interface with subnet_id 2cec2e38-bd06-4fff-96e1-2faa8a03f150, port_id None to router 7f0d2092-8e1f-481d-8f11-e804bbf0bb59 2025-10-27 07:52:27,750 - INFO - Waiting for VM ctest-vn1-vm1-03262202 to be up.. 2025-10-27 07:52:27,876 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 07:52:32,968 - DEBUG - VM is in ACTIVE state now 2025-10-27 07:52:32,968 - INFO - VM name : ctest-vn1-vm1-03262202 2025-10-27 07:52:33,060 - DEBUG - VM ctest-vn1-vm1-03262202 ID is 01113ecc-bd2a-4eed-9bed-a22b9cc74ce7 2025-10-27 07:52:33,083 - DEBUG - VM ctest-vn1-vm1-03262202 launched on Node cn-jenkins-deploy-platform-ansible-os-4495-1 2025-10-27 07:52:33,179 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/01113ecc-bd2a-4eed-9bed-a22b9cc74ce7 2025-10-27 07:52:33,534 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/01113ecc-bd2a-4eed-9bed-a22b9cc74ce7 2025-10-27 07:52:33,568 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/95253d35-6cdd-49c3-9015-9447a59ba774 2025-10-27 07:52:36,811 - 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 1007ms') 2025-10-27 07:52:36,811 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03262202 failed! 2025-10-27 07:52:36,870 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-03943989:ctest-vn1-04914931 is 91.77.94.65 and allocation pool is NOT set 2025-10-27 07:52:38,927 - 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=2.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 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.391/1.659/2.928/1.268 ms') 2025-10-27 07:52:38,928 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03262202 passed 2025-10-27 07:52:39,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:52:39,078 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03262202, IP 91.77.94.67, Port 22 2025-10-27 07:52:39,233 - DEBUG - VM ctest-vn1-vm1-03262202 is ready for SSH connections 2025-10-27 07:52:39,234 - INFO - Waiting for VM ctest-vn2-vm1-75100261 to be up.. 2025-10-27 07:52:39,318 - DEBUG - VM is in ACTIVE state now 2025-10-27 07:52:39,319 - INFO - VM name : ctest-vn2-vm1-75100261 2025-10-27 07:52:39,397 - DEBUG - VM ctest-vn2-vm1-75100261 ID is f9c88763-dca3-4204-9c73-9a2702b1998a 2025-10-27 07:52:39,397 - DEBUG - VM ctest-vn2-vm1-75100261 launched on Node cn-jenkins-deploy-platform-ansible-os-4495-1 2025-10-27 07:52:39,484 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f9c88763-dca3-4204-9c73-9a2702b1998a 2025-10-27 07:52:39,493 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7fb8ae7c-2677-43fd-9043-8089aa388c92 2025-10-27 07:52:40,735 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 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.480/1.808/3.136/1.328 ms') 2025-10-27 07:52:40,735 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-75100261 passed 2025-10-27 07:52:40,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:52:40,894 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-75100261, IP 158.78.14.195, Port 22 2025-10-27 07:52:41,054 - DEBUG - VM ctest-vn2-vm1-75100261 is ready for SSH connections 2025-10-27 07:52:41,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:52:41,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.78.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-27 07:52:41,054 - DEBUG - ping -s 56 -c 3 -W 1 158.78.14.195 2025-10-27 07:52:46,121 - DEBUG - PING 158.78.14.195 (158.78.14.195): 56 data bytes --- 158.78.14.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 07:52:46,122 - WARNING - Ping to IP 158.78.14.195 from VM ctest-vn1-vm1-03262202 failed 2025-10-27 07:52:46,122 - INFO - Adding interface with subnet_id 198315fd-e2b1-46ed-8745-afb4700501c5, port_id None to router 7f0d2092-8e1f-481d-8f11-e804bbf0bb59 2025-10-27 07:52:46,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:52:46,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.78.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-27 07:52:46,376 - DEBUG - ping -s 56 -c 3 -W 1 158.78.14.195 2025-10-27 07:52:49,608 - DEBUG - PING 158.78.14.195 (158.78.14.195): 56 data bytes 64 bytes from 158.78.14.195: seq=1 ttl=63 time=2.665 ms 64 bytes from 158.78.14.195: seq=2 ttl=63 time=0.781 ms --- 158.78.14.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.781/1.723/2.665 ms 2025-10-27 07:52:49,609 - WARNING - Ping to IP 158.78.14.195 from VM ctest-vn1-vm1-03262202 failed 2025-10-27 07:52:50,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.78.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-27 07:52:50,610 - DEBUG - ping -s 56 -c 3 -W 1 158.78.14.195 2025-10-27 07:52:52,833 - DEBUG - PING 158.78.14.195 (158.78.14.195): 56 data bytes 64 bytes from 158.78.14.195: seq=0 ttl=63 time=1.688 ms 64 bytes from 158.78.14.195: seq=1 ttl=63 time=0.922 ms 64 bytes from 158.78.14.195: seq=2 ttl=63 time=0.897 ms --- 158.78.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.897/1.169/1.688 ms 2025-10-27 07:52:52,833 - INFO - Ping to IP 158.78.14.195 from VM ctest-vn1-vm1-03262202 passed 2025-10-27 07:52:52,833 - INFO - Deleting interface with subnet_id 2cec2e38-bd06-4fff-96e1-2faa8a03f150, port_id None from router 7f0d2092-8e1f-481d-8f11-e804bbf0bb59 2025-10-27 07:52:52,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:52:52,964 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.78.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-27 07:52:52,964 - DEBUG - ping -s 56 -c 3 -W 1 158.78.14.195 2025-10-27 07:52:56,260 - DEBUG - PING 158.78.14.195 (158.78.14.195): 56 data bytes --- 158.78.14.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 07:52:56,260 - WARNING - Ping to IP 158.78.14.195 from VM ctest-vn1-vm1-03262202 failed 2025-10-27 07:52:56,260 - INFO - Adding interface with subnet_id 2cec2e38-bd06-4fff-96e1-2faa8a03f150, port_id None to router 7f0d2092-8e1f-481d-8f11-e804bbf0bb59 2025-10-27 07:52:56,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 07:52:56,472 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.78.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-27 07:52:56,472 - DEBUG - ping -s 56 -c 3 -W 1 158.78.14.195 2025-10-27 07:52:58,705 - DEBUG - PING 158.78.14.195 (158.78.14.195): 56 data bytes 64 bytes from 158.78.14.195: seq=0 ttl=63 time=1.411 ms 64 bytes from 158.78.14.195: seq=1 ttl=63 time=0.837 ms 64 bytes from 158.78.14.195: seq=2 ttl=63 time=0.830 ms --- 158.78.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/1.026/1.411 ms 2025-10-27 07:52:58,705 - INFO - Ping to IP 158.78.14.195 from VM ctest-vn1-vm1-03262202 passed 2025-10-27 07:52:58,706 - INFO - Deleting interface with subnet_id 198315fd-e2b1-46ed-8745-afb4700501c5, port_id None from router 7f0d2092-8e1f-481d-8f11-e804bbf0bb59 2025-10-27 07:52:58,832 - INFO - Deleting interface with subnet_id 2cec2e38-bd06-4fff-96e1-2faa8a03f150, port_id None from router 7f0d2092-8e1f-481d-8f11-e804bbf0bb59 2025-10-27 07:52:59,017 - INFO - Deleting VM ctest-vn2-vm1-75100261 2025-10-27 07:52:59,102 - INFO - Deleting VM ctest-vn1-vm1-03262202 2025-10-27 07:52:59,188 - INFO - Deleting VN ctest-vn2-45799387 2025-10-27 07:52:59,228 - DEBUG - VN 19b2db47-9f57-4fcc-96fd-3f34e68a9d07 still in use: Unable to complete operation on network 19b2db47-9f57-4fcc-96fd-3f34e68a9d07. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11efd092-c96d-4070-929a-89b2f9e13ac2'] 2025-10-27 07:52:59,228 - WARNING - Deleting VN ctest-vn2-45799387 failed..Will retry 2025-10-27 07:53:01,336 - DEBUG - Response for deleting network () 2025-10-27 07:53:01,337 - INFO - Deleting VN ctest-vn1-04914931 2025-10-27 07:53:01,446 - DEBUG - Response for deleting network () 2025-10-27 07:53:01,714 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 07:53:01,714 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-27 07:53:01,714 - INFO - -------------------------------------------------------------------------------- 2025-10-27 07:53:02,437 - INFO - Deleted project: ctest-TestRouters-03943989, ID : a5619bfe-64cf-4d24-a2a5-ea76b40377bb