2025-10-31 00:19:42,605 - INFO - Domain Default found not creating 2025-10-31 00:19:42,762 - INFO - Project ctest-TestRouters-76337000 not found, creating it 2025-10-31 00:19:43,272 - INFO - Created Project:ctest-TestRouters-76337000, ID : 3848f11a-b9de-445a-8bf4-7a250a0ef337 2025-10-31 00:19:44,973 - INFO - ================================================================================ 2025-10-31 00:19:44,973 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-31 00:19:44,973 - 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-31 00:19:45,227 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.14': '0'}} with 2025-10-31 00:19:45,227 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:19:45,227 - INFO - 2025-10-31 00:19:45,820 - DEBUG - Response for create_network : {'network': {'id': 'ed39b422-c11f-4d05-8ac4-d55c9e6d1a40', 'name': 'ctest-vn1-43720405', 'tenant_id': '3848f11ab9de445a8bf47a250a0ef337', 'project_id': '3848f11ab9de445a8bf47a250a0ef337', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76337000', 'ctest-vn1-43720405'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:19:46,049 - DEBUG - Response for create_subnet : {'subnet': {'id': '81d4e139-4d50-45df-93c0-6976c32dd2ee', 'name': '', 'tenant_id': '3848f11ab9de445a8bf47a250a0ef337', 'network_id': 'ed39b422-c11f-4d05-8ac4-d55c9e6d1a40', 'ip_version': 4, 'cidr': '148.212.67.128/26', 'allocation_pools': [{'start': '148.212.67.130', 'end': '148.212.67.190'}], 'gateway_ip': '148.212.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.212.67.130', 'tags': [], 'project_id': '3848f11ab9de445a8bf47a250a0ef337'}} 2025-10-31 00:19:46,067 - INFO - Created VN ctest-vn1-43720405 2025-10-31 00:19:46,121 - DEBUG - VN ctest-vn1-43720405 UUID is ed39b422-c11f-4d05-8ac4-d55c9e6d1a40 2025-10-31 00:19:46,816 - DEBUG - Response for create_network : {'network': {'id': 'f081d4fb-7547-4662-8d9d-8cca2c1c9b27', 'name': 'ctest-vn2-47315230', 'tenant_id': '3848f11ab9de445a8bf47a250a0ef337', 'project_id': '3848f11ab9de445a8bf47a250a0ef337', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-76337000', 'ctest-vn2-47315230'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:19:47,167 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ed05c85-1cda-4b33-9498-a42a3ee84549', 'name': '', 'tenant_id': '3848f11ab9de445a8bf47a250a0ef337', 'network_id': 'f081d4fb-7547-4662-8d9d-8cca2c1c9b27', 'ip_version': 4, 'cidr': '27.171.155.192/26', 'allocation_pools': [{'start': '27.171.155.194', 'end': '27.171.155.254'}], 'gateway_ip': '27.171.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.171.155.194', 'tags': [], 'project_id': '3848f11ab9de445a8bf47a250a0ef337'}} 2025-10-31 00:19:47,184 - INFO - Created VN ctest-vn2-47315230 2025-10-31 00:19:47,237 - DEBUG - VN ctest-vn2-47315230 UUID is f081d4fb-7547-4662-8d9d-8cca2c1c9b27 2025-10-31 00:19:47,457 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:19:48,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4563-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4563-1) 2025-10-31 00:19:50,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4563-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4563-1) 2025-10-31 00:19:50,248 - INFO - Adding interface with subnet_id 81d4e139-4d50-45df-93c0-6976c32dd2ee, port_id None to router 00fcb4b3-8f6d-4c8f-9479-b21ff8a267d4 2025-10-31 00:19:50,645 - INFO - Waiting for VM ctest-vn1-vm1-11746330 to be up.. 2025-10-31 00:19:50,761 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:19:55,840 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:19:55,840 - INFO - VM name : ctest-vn1-vm1-11746330 2025-10-31 00:19:55,916 - DEBUG - VM ctest-vn1-vm1-11746330 ID is e276aed5-ac5a-4084-b066-da2d217cfd91 2025-10-31 00:19:55,936 - DEBUG - VM ctest-vn1-vm1-11746330 launched on Node cn-jenkins-deploy-platform-ansible-os-4563-1 2025-10-31 00:19:56,021 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/e276aed5-ac5a-4084-b066-da2d217cfd91 2025-10-31 00:19:56,357 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/e276aed5-ac5a-4084-b066-da2d217cfd91 2025-10-31 00:19:56,389 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/a3bbf0ac-6d16-4962-a1d3-203987ee872c 2025-10-31 00:19:59,660 - 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 1030ms') 2025-10-31 00:19:59,660 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11746330 failed! 2025-10-31 00:19:59,713 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-76337000:ctest-vn1-43720405 is 148.212.67.129 and allocation pool is NOT set 2025-10-31 00:20:01,777 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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 = 1.205/3.161/5.117/1.956 ms') 2025-10-31 00:20:01,777 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11746330 passed 2025-10-31 00:20:01,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:20:01,926 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11746330, IP 148.212.67.131, Port 22 2025-10-31 00:20:02,081 - DEBUG - VM ctest-vn1-vm1-11746330 is ready for SSH connections 2025-10-31 00:20:02,081 - INFO - Waiting for VM ctest-vn2-vm1-19333880 to be up.. 2025-10-31 00:20:02,167 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:20:02,168 - INFO - VM name : ctest-vn2-vm1-19333880 2025-10-31 00:20:02,249 - DEBUG - VM ctest-vn2-vm1-19333880 ID is 661b2066-6b8d-4563-8a91-f01ecc12c2ac 2025-10-31 00:20:02,249 - DEBUG - VM ctest-vn2-vm1-19333880 launched on Node cn-jenkins-deploy-platform-ansible-os-4563-1 2025-10-31 00:20:02,344 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/661b2066-6b8d-4563-8a91-f01ecc12c2ac 2025-10-31 00:20:02,353 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/f4cda7f5-e3ce-4de6-addb-5daabec412b6 2025-10-31 00:20:03,592 - 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=6.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.48 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.483/4.398/6.313/1.915 ms') 2025-10-31 00:20:03,593 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-19333880 passed 2025-10-31 00:20:03,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:20:03,750 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-19333880, IP 27.171.155.195, Port 22 2025-10-31 00:20:03,805 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 00:20:03,891 - DEBUG - VM ctest-vn2-vm1-19333880 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 00:20:08,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:20:08,893 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-19333880, IP 27.171.155.195, Port 22 2025-10-31 00:20:09,049 - DEBUG - VM ctest-vn2-vm1-19333880 is ready for SSH connections 2025-10-31 00:20:09,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:20:09,049 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.171.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-31 00:20:09,049 - DEBUG - ping -s 56 -c 3 -W 1 27.171.155.195 2025-10-31 00:20:14,149 - DEBUG - PING 27.171.155.195 (27.171.155.195): 56 data bytes --- 27.171.155.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 00:20:14,149 - WARNING - Ping to IP 27.171.155.195 from VM ctest-vn1-vm1-11746330 failed 2025-10-31 00:20:14,149 - INFO - Adding interface with subnet_id 0ed05c85-1cda-4b33-9498-a42a3ee84549, port_id None to router 00fcb4b3-8f6d-4c8f-9479-b21ff8a267d4 2025-10-31 00:20:14,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:20:14,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.171.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-31 00:20:14,406 - DEBUG - ping -s 56 -c 3 -W 1 27.171.155.195 2025-10-31 00:20:17,635 - DEBUG - PING 27.171.155.195 (27.171.155.195): 56 data bytes 64 bytes from 27.171.155.195: seq=1 ttl=63 time=3.225 ms 64 bytes from 27.171.155.195: seq=2 ttl=63 time=0.842 ms --- 27.171.155.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.842/2.033/3.225 ms 2025-10-31 00:20:17,635 - WARNING - Ping to IP 27.171.155.195 from VM ctest-vn1-vm1-11746330 failed 2025-10-31 00:20:18,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.171.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-31 00:20:18,636 - DEBUG - ping -s 56 -c 3 -W 1 27.171.155.195 2025-10-31 00:20:20,865 - DEBUG - PING 27.171.155.195 (27.171.155.195): 56 data bytes 64 bytes from 27.171.155.195: seq=0 ttl=63 time=1.561 ms 64 bytes from 27.171.155.195: seq=1 ttl=63 time=0.899 ms 64 bytes from 27.171.155.195: seq=2 ttl=63 time=0.956 ms --- 27.171.155.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.899/1.138/1.561 ms 2025-10-31 00:20:20,865 - INFO - Ping to IP 27.171.155.195 from VM ctest-vn1-vm1-11746330 passed 2025-10-31 00:20:20,865 - INFO - Deleting interface with subnet_id 81d4e139-4d50-45df-93c0-6976c32dd2ee, port_id None from router 00fcb4b3-8f6d-4c8f-9479-b21ff8a267d4 2025-10-31 00:20:20,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:20:20,984 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.171.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-31 00:20:20,984 - DEBUG - ping -s 56 -c 3 -W 1 27.171.155.195 2025-10-31 00:20:24,208 - DEBUG - PING 27.171.155.195 (27.171.155.195): 56 data bytes --- 27.171.155.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 00:20:24,208 - WARNING - Ping to IP 27.171.155.195 from VM ctest-vn1-vm1-11746330 failed 2025-10-31 00:20:24,208 - INFO - Adding interface with subnet_id 81d4e139-4d50-45df-93c0-6976c32dd2ee, port_id None to router 00fcb4b3-8f6d-4c8f-9479-b21ff8a267d4 2025-10-31 00:20:24,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:20:24,429 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.171.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-31 00:20:24,429 - DEBUG - ping -s 56 -c 3 -W 1 27.171.155.195 2025-10-31 00:20:26,678 - DEBUG - PING 27.171.155.195 (27.171.155.195): 56 data bytes 64 bytes from 27.171.155.195: seq=0 ttl=63 time=1.723 ms 64 bytes from 27.171.155.195: seq=1 ttl=63 time=1.007 ms 64 bytes from 27.171.155.195: seq=2 ttl=63 time=0.804 ms --- 27.171.155.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.804/1.178/1.723 ms 2025-10-31 00:20:26,678 - INFO - Ping to IP 27.171.155.195 from VM ctest-vn1-vm1-11746330 passed 2025-10-31 00:20:26,678 - INFO - Deleting interface with subnet_id 0ed05c85-1cda-4b33-9498-a42a3ee84549, port_id None from router 00fcb4b3-8f6d-4c8f-9479-b21ff8a267d4 2025-10-31 00:20:26,801 - INFO - Deleting interface with subnet_id 81d4e139-4d50-45df-93c0-6976c32dd2ee, port_id None from router 00fcb4b3-8f6d-4c8f-9479-b21ff8a267d4 2025-10-31 00:20:26,986 - INFO - Deleting VM ctest-vn2-vm1-19333880 2025-10-31 00:20:27,064 - INFO - Deleting VM ctest-vn1-vm1-11746330 2025-10-31 00:20:27,147 - INFO - Deleting VN ctest-vn2-47315230 2025-10-31 00:20:27,187 - DEBUG - VN f081d4fb-7547-4662-8d9d-8cca2c1c9b27 still in use: Unable to complete operation on network f081d4fb-7547-4662-8d9d-8cca2c1c9b27. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eb16e62c-9b04-4052-9e90-cded5d85538d'] 2025-10-31 00:20:27,187 - WARNING - Deleting VN ctest-vn2-47315230 failed..Will retry 2025-10-31 00:20:29,300 - DEBUG - Response for deleting network () 2025-10-31 00:20:29,300 - INFO - Deleting VN ctest-vn1-43720405 2025-10-31 00:20:29,415 - DEBUG - Response for deleting network () 2025-10-31 00:20:29,685 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 00:20:29,685 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45] 2025-10-31 00:20:29,685 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:20:30,447 - INFO - Deleted project: ctest-TestRouters-76337000, ID : 3848f11a-b9de-445a-8bf4-7a250a0ef337