2025-09-04 02:22:10,582 - INFO - Domain Default found not creating 2025-09-04 02:22:10,745 - INFO - Project ctest-TestRouters-52056450 not found, creating it 2025-09-04 02:22:11,318 - INFO - Created Project:ctest-TestRouters-52056450, ID : 128b0c64-dffd-4caf-a7e7-6abb0a5d3208 2025-09-04 02:22:12,755 - INFO - ================================================================================ 2025-09-04 02:22:12,755 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-04 02:22:12,755 - 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-09-04 02:22:14,044 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.242': {'10.20.0.25': '0', '10.20.0.254': '0'}} with 2025-09-04 02:22:14,044 - INFO - Initial checks done. Running the testcase now 2025-09-04 02:22:14,044 - INFO - 2025-09-04 02:22:14,747 - DEBUG - Response for create_network : {'network': {'id': 'b4f2b7b3-32ae-42d3-8fc0-db932d004d3a', 'name': 'ctest-vn1-96158840', 'tenant_id': '128b0c64dffd4cafa7e76abb0a5d3208', 'project_id': '128b0c64dffd4cafa7e76abb0a5d3208', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-52056450', 'ctest-vn1-96158840'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:22:14,994 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3e7bfc6-8b2a-42fb-a683-9d0d6e12c12c', 'name': '', 'tenant_id': '128b0c64dffd4cafa7e76abb0a5d3208', 'network_id': 'b4f2b7b3-32ae-42d3-8fc0-db932d004d3a', 'ip_version': 4, 'cidr': '75.22.211.0/26', 'allocation_pools': [{'start': '75.22.211.2', 'end': '75.22.211.62'}], 'gateway_ip': '75.22.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.22.211.2', 'tags': [], 'project_id': '128b0c64dffd4cafa7e76abb0a5d3208'}} 2025-09-04 02:22:15,021 - INFO - Created VN ctest-vn1-96158840 2025-09-04 02:22:15,032 - DEBUG - VN ctest-vn1-96158840 UUID is b4f2b7b3-32ae-42d3-8fc0-db932d004d3a 2025-09-04 02:22:15,430 - DEBUG - Response for create_network : {'network': {'id': '991e73a9-4887-4869-abef-59eecda0ce8e', 'name': 'ctest-vn2-07263040', 'tenant_id': '128b0c64dffd4cafa7e76abb0a5d3208', 'project_id': '128b0c64dffd4cafa7e76abb0a5d3208', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-52056450', 'ctest-vn2-07263040'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:22:15,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4590eff-865d-4f72-af10-d133d73cbdf1', 'name': '', 'tenant_id': '128b0c64dffd4cafa7e76abb0a5d3208', 'network_id': '991e73a9-4887-4869-abef-59eecda0ce8e', 'ip_version': 4, 'cidr': '25.9.12.64/26', 'allocation_pools': [{'start': '25.9.12.66', 'end': '25.9.12.126'}], 'gateway_ip': '25.9.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.9.12.66', 'tags': [], 'project_id': '128b0c64dffd4cafa7e76abb0a5d3208'}} 2025-09-04 02:22:15,664 - INFO - Created VN ctest-vn2-07263040 2025-09-04 02:22:15,678 - DEBUG - VN ctest-vn2-07263040 UUID is 991e73a9-4887-4869-abef-59eecda0ce8e 2025-09-04 02:22:15,816 - DEBUG - Services list from nova: [, , , ] 2025-09-04 02:22:16,837 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4012-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4012-1) 2025-09-04 02:22:18,229 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4012-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4012-2) 2025-09-04 02:22:18,345 - INFO - Adding interface with subnet_id f3e7bfc6-8b2a-42fb-a683-9d0d6e12c12c, port_id None to router 72aaf466-d80f-4b74-b806-94522036495d 2025-09-04 02:22:18,727 - INFO - Waiting for VM ctest-vn1-vm1-22905268 to be up.. 2025-09-04 02:22:18,871 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 02:22:23,971 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:22:23,971 - INFO - VM name : ctest-vn1-vm1-22905268 2025-09-04 02:22:24,060 - DEBUG - VM ctest-vn1-vm1-22905268 ID is 363cd869-950a-4f6d-983b-53754b74cbf8 2025-09-04 02:22:24,085 - DEBUG - VM ctest-vn1-vm1-22905268 launched on Node an-jenkins-deploy-platform-ansible-os-4012-1 2025-09-04 02:22:24,166 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/363cd869-950a-4f6d-983b-53754b74cbf8 2025-09-04 02:22:24,471 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/363cd869-950a-4f6d-983b-53754b74cbf8 2025-09-04 02:22:24,507 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/25550915-76db-477b-90d9-2889c5b2a914 2025-09-04 02:22:27,685 - 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 1023ms') 2025-09-04 02:22:27,686 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22905268 failed! 2025-09-04 02:22:27,701 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-52056450:ctest-vn1-96158840 is 75.22.211.1 and allocation pool is NOT set 2025-09-04 02:22:29,762 - 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=12.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.438/6.578/12.718/6.140 ms') 2025-09-04 02:22:29,762 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22905268 passed 2025-09-04 02:22:29,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:22:29,835 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22905268, IP 75.22.211.3, Port 22 2025-09-04 02:22:29,903 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-04 02:22:29,982 - DEBUG - VM ctest-vn1-vm1-22905268 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 02:22:34,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:22:34,984 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22905268, IP 75.22.211.3, Port 22 2025-09-04 02:22:35,159 - DEBUG - VM ctest-vn1-vm1-22905268 is ready for SSH connections 2025-09-04 02:22:35,159 - INFO - Waiting for VM ctest-vn2-vm1-05600217 to be up.. 2025-09-04 02:22:35,257 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:22:35,257 - INFO - VM name : ctest-vn2-vm1-05600217 2025-09-04 02:22:35,340 - DEBUG - VM ctest-vn2-vm1-05600217 ID is a67bfe5f-dab4-4d60-afbc-46fc8a005846 2025-09-04 02:22:35,340 - DEBUG - VM ctest-vn2-vm1-05600217 launched on Node an-jenkins-deploy-platform-ansible-os-4012-2 2025-09-04 02:22:35,422 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/a67bfe5f-dab4-4d60-afbc-46fc8a005846 2025-09-04 02:22:35,432 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8e27b8f2-5f5f-41c8-b71b-3f7249228020 2025-09-04 02:22:36,599 - 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=5.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.589 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.589/3.008/5.428/2.419 ms') 2025-09-04 02:22:36,599 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-05600217 passed 2025-09-04 02:22:36,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:22:36,672 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-05600217, IP 25.9.12.67, Port 22 2025-09-04 02:22:36,862 - DEBUG - VM ctest-vn2-vm1-05600217 is ready for SSH connections 2025-09-04 02:22:36,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:22:36,862 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.9.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-09-04 02:22:36,862 - DEBUG - ping -s 56 -c 3 -W 1 25.9.12.67 2025-09-04 02:22:40,856 - DEBUG - PING 25.9.12.67 (25.9.12.67): 56 data bytes --- 25.9.12.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 02:22:40,856 - WARNING - Ping to IP 25.9.12.67 from VM ctest-vn1-vm1-22905268 failed 2025-09-04 02:22:40,857 - INFO - Adding interface with subnet_id a4590eff-865d-4f72-af10-d133d73cbdf1, port_id None to router 72aaf466-d80f-4b74-b806-94522036495d 2025-09-04 02:22:41,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:22:41,278 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.9.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-09-04 02:22:41,278 - DEBUG - ping -s 56 -c 3 -W 1 25.9.12.67 2025-09-04 02:22:43,494 - DEBUG - PING 25.9.12.67 (25.9.12.67): 56 data bytes 64 bytes from 25.9.12.67: seq=0 ttl=63 time=5.204 ms 64 bytes from 25.9.12.67: seq=1 ttl=63 time=1.210 ms 64 bytes from 25.9.12.67: seq=2 ttl=63 time=1.163 ms --- 25.9.12.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.163/2.525/5.204 ms 2025-09-04 02:22:43,495 - INFO - Ping to IP 25.9.12.67 from VM ctest-vn1-vm1-22905268 passed 2025-09-04 02:22:43,495 - INFO - Deleting interface with subnet_id f3e7bfc6-8b2a-42fb-a683-9d0d6e12c12c, port_id None from router 72aaf466-d80f-4b74-b806-94522036495d 2025-09-04 02:22:43,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:22:43,712 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.9.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-09-04 02:22:43,712 - DEBUG - ping -s 56 -c 3 -W 1 25.9.12.67 2025-09-04 02:22:46,914 - DEBUG - PING 25.9.12.67 (25.9.12.67): 56 data bytes --- 25.9.12.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 02:22:46,914 - WARNING - Ping to IP 25.9.12.67 from VM ctest-vn1-vm1-22905268 failed 2025-09-04 02:22:46,914 - INFO - Adding interface with subnet_id f3e7bfc6-8b2a-42fb-a683-9d0d6e12c12c, port_id None to router 72aaf466-d80f-4b74-b806-94522036495d 2025-09-04 02:22:47,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:22:47,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.9.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-09-04 02:22:47,342 - DEBUG - ping -s 56 -c 3 -W 1 25.9.12.67 2025-09-04 02:22:49,563 - DEBUG - PING 25.9.12.67 (25.9.12.67): 56 data bytes 64 bytes from 25.9.12.67: seq=0 ttl=63 time=3.211 ms 64 bytes from 25.9.12.67: seq=1 ttl=63 time=1.270 ms 64 bytes from 25.9.12.67: seq=2 ttl=63 time=1.369 ms --- 25.9.12.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.270/1.950/3.211 ms 2025-09-04 02:22:49,563 - INFO - Ping to IP 25.9.12.67 from VM ctest-vn1-vm1-22905268 passed 2025-09-04 02:22:49,563 - INFO - Deleting interface with subnet_id a4590eff-865d-4f72-af10-d133d73cbdf1, port_id None from router 72aaf466-d80f-4b74-b806-94522036495d 2025-09-04 02:22:49,815 - INFO - Deleting interface with subnet_id f3e7bfc6-8b2a-42fb-a683-9d0d6e12c12c, port_id None from router 72aaf466-d80f-4b74-b806-94522036495d 2025-09-04 02:22:50,152 - INFO - Deleting VM ctest-vn2-vm1-05600217 2025-09-04 02:22:50,249 - INFO - Deleting VM ctest-vn1-vm1-22905268 2025-09-04 02:22:50,317 - INFO - Deleting VN ctest-vn2-07263040 2025-09-04 02:22:50,355 - DEBUG - VN 991e73a9-4887-4869-abef-59eecda0ce8e still in use: Unable to complete operation on network 991e73a9-4887-4869-abef-59eecda0ce8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50c85a9b-e97f-46c8-b704-2a244ff00ef9'] 2025-09-04 02:22:50,356 - WARNING - Deleting VN ctest-vn2-07263040 failed..Will retry 2025-09-04 02:22:52,552 - DEBUG - Response for deleting network () 2025-09-04 02:22:52,552 - INFO - Deleting VN ctest-vn1-96158840 2025-09-04 02:22:52,750 - DEBUG - Response for deleting network () 2025-09-04 02:22:54,042 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 02:22:54,042 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-09-04 02:22:54,042 - INFO - -------------------------------------------------------------------------------- 2025-09-04 02:22:54,893 - INFO - Deleted project: ctest-TestRouters-52056450, ID : 128b0c64-dffd-4caf-a7e7-6abb0a5d3208