2026-08-04 06:14:48,934 - INFO - Domain Default found not creating 2026-08-04 06:14:49,139 - INFO - Project ctest-TestRouters-96417187 not found, creating it 2026-08-04 06:14:49,677 - INFO - Created Project:ctest-TestRouters-96417187, ID : a3bef4ee-5a03-41ed-aca3-f07b9c00eae7 2026-08-04 06:14:51,585 - INFO - ================================================================================ 2026-08-04 06:14:51,585 - INFO - STARTING TEST : test_basic_router_behavior 2026-08-04 06:14:51,586 - 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 2026-08-04 06:14:51,870 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-08-04 06:14:51,870 - INFO - Initial checks done. Running the testcase now 2026-08-04 06:14:51,870 - INFO - 2026-08-04 06:14:52,616 - DEBUG - Response for create_network : {'network': {'id': 'd53820b7-55e8-4c24-b6e8-d72e33d25f42', 'name': 'ctest-vn1-75856296', 'tenant_id': 'a3bef4ee5a0341edaca3f07b9c00eae7', 'project_id': 'a3bef4ee5a0341edaca3f07b9c00eae7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-96417187', 'ctest-vn1-75856296'], 'port_security_enabled': True, 'description': ''}} 2026-08-04 06:14:52,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '18cbd5d4-61ca-44b0-a0d0-60a59cfcb9a1', 'name': '', 'tenant_id': 'a3bef4ee5a0341edaca3f07b9c00eae7', 'network_id': 'd53820b7-55e8-4c24-b6e8-d72e33d25f42', 'ip_version': 4, 'cidr': '61.14.175.64/26', 'allocation_pools': [{'start': '61.14.175.66', 'end': '61.14.175.126'}], 'gateway_ip': '61.14.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.14.175.66', 'tags': [], 'project_id': 'a3bef4ee5a0341edaca3f07b9c00eae7'}} 2026-08-04 06:14:52,906 - INFO - Created VN ctest-vn1-75856296 2026-08-04 06:14:52,966 - DEBUG - VN ctest-vn1-75856296 UUID is d53820b7-55e8-4c24-b6e8-d72e33d25f42 2026-08-04 06:14:53,301 - DEBUG - Response for create_network : {'network': {'id': '64608d00-747d-4233-a34d-a7be2bed3014', 'name': 'ctest-vn2-45958444', 'tenant_id': 'a3bef4ee5a0341edaca3f07b9c00eae7', 'project_id': 'a3bef4ee5a0341edaca3f07b9c00eae7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-96417187', 'ctest-vn2-45958444'], 'port_security_enabled': True, 'description': ''}} 2026-08-04 06:14:53,515 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bb3af6c-4f8d-4521-a7b2-f9d174c250d1', 'name': '', 'tenant_id': 'a3bef4ee5a0341edaca3f07b9c00eae7', 'network_id': '64608d00-747d-4233-a34d-a7be2bed3014', 'ip_version': 4, 'cidr': '34.211.209.128/26', 'allocation_pools': [{'start': '34.211.209.130', 'end': '34.211.209.190'}], 'gateway_ip': '34.211.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.211.209.130', 'tags': [], 'project_id': 'a3bef4ee5a0341edaca3f07b9c00eae7'}} 2026-08-04 06:14:53,536 - INFO - Created VN ctest-vn2-45958444 2026-08-04 06:14:53,593 - DEBUG - VN ctest-vn2-45958444 UUID is 64608d00-747d-4233-a34d-a7be2bed3014 2026-08-04 06:14:54,099 - DEBUG - Services list from nova: [, , ] 2026-08-04 06:14:54,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6130-1) 2026-08-04 06:14:55,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6130-1) 2026-08-04 06:14:55,181 - INFO - Adding interface with subnet_id 18cbd5d4-61ca-44b0-a0d0-60a59cfcb9a1, port_id None to router 1c4ca805-7409-49f0-a0c3-1ab940237911 2026-08-04 06:14:55,497 - INFO - Waiting for VM ctest-vn1-vm1-86244690 to be up.. 2026-08-04 06:14:55,574 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:15:00,686 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:15:05,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:15:10,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:15:15,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:15:21,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:15:26,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:15:31,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:15:36,381 - DEBUG - VM is in ACTIVE state now 2026-08-04 06:15:36,382 - INFO - VM name : ctest-vn1-vm1-86244690 2026-08-04 06:15:36,475 - DEBUG - VM ctest-vn1-vm1-86244690 ID is 34e15ec2-7480-4e8a-bc07-9200b37dce3b 2026-08-04 06:15:36,500 - DEBUG - VM ctest-vn1-vm1-86244690 launched on Node cn-jenkins-deploy-platform-ansible-os-6130-1 2026-08-04 06:15:36,609 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/34e15ec2-7480-4e8a-bc07-9200b37dce3b 2026-08-04 06:15:36,997 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/34e15ec2-7480-4e8a-bc07-9200b37dce3b 2026-08-04 06:15:37,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bbccd947-8176-4e3b-b105-e6cc0ecacf0c 2026-08-04 06:15:40,295 - 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 1005ms') 2026-08-04 06:15:40,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86244690 failed! 2026-08-04 06:15:40,353 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-96417187:ctest-vn1-75856296 is 61.14.175.65 and allocation pool is NOT set 2026-08-04 06:15:44,432 - 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=5.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 5.807/5.807/5.807/0.000 ms') 2026-08-04 06:15:44,432 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86244690 passed 2026-08-04 06:15:44,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 06:15:44,590 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86244690, IP 61.14.175.67, Port 22 2026-08-04 06:15:44,760 - DEBUG - VM ctest-vn1-vm1-86244690 is ready for SSH connections 2026-08-04 06:15:44,760 - INFO - Waiting for VM ctest-vn2-vm1-05398303 to be up.. 2026-08-04 06:15:44,863 - DEBUG - VM is in ACTIVE state now 2026-08-04 06:15:44,863 - INFO - VM name : ctest-vn2-vm1-05398303 2026-08-04 06:15:44,961 - DEBUG - VM ctest-vn2-vm1-05398303 ID is 4455ea7d-be67-4da7-8a40-80c79c77e986 2026-08-04 06:15:44,961 - DEBUG - VM ctest-vn2-vm1-05398303 launched on Node cn-jenkins-deploy-platform-ansible-os-6130-1 2026-08-04 06:15:45,062 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4455ea7d-be67-4da7-8a40-80c79c77e986 2026-08-04 06:15:45,074 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c51b181c-a3a6-47f9-bb05-354799e22653 2026-08-04 06:15:46,329 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.21 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.214/4.094/5.975/1.880 ms') 2026-08-04 06:15:46,329 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-05398303 passed 2026-08-04 06:15:46,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 06:15:46,486 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-05398303, IP 34.211.209.131, Port 22 2026-08-04 06:15:46,552 - 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': ''} 2026-08-04 06:15:46,640 - DEBUG - VM ctest-vn2-vm1-05398303 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-04 06:15:51,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 06:15:51,641 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-05398303, IP 34.211.209.131, Port 22 2026-08-04 06:15:51,812 - DEBUG - VM ctest-vn2-vm1-05398303 is ready for SSH connections 2026-08-04 06:15:51,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 06:15:51,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.211.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-04 06:15:51,813 - DEBUG - ping -s 56 -c 3 -W 1 34.211.209.131 2026-08-04 06:15:56,884 - DEBUG - PING 34.211.209.131 (34.211.209.131): 56 data bytes --- 34.211.209.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-08-04 06:15:56,885 - WARNING - Ping to IP 34.211.209.131 from VM ctest-vn1-vm1-86244690 failed 2026-08-04 06:15:56,885 - INFO - Adding interface with subnet_id 8bb3af6c-4f8d-4521-a7b2-f9d174c250d1, port_id None to router 1c4ca805-7409-49f0-a0c3-1ab940237911 2026-08-04 06:15:57,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 06:15:57,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.211.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-04 06:15:57,201 - DEBUG - ping -s 56 -c 3 -W 1 34.211.209.131 2026-08-04 06:16:00,346 - DEBUG - PING 34.211.209.131 (34.211.209.131): 56 data bytes 64 bytes from 34.211.209.131: seq=1 ttl=63 time=4.075 ms 64 bytes from 34.211.209.131: seq=2 ttl=63 time=1.267 ms --- 34.211.209.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.267/2.671/4.075 ms 2026-08-04 06:16:00,346 - WARNING - Ping to IP 34.211.209.131 from VM ctest-vn1-vm1-86244690 failed 2026-08-04 06:16:01,347 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.211.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-04 06:16:01,347 - DEBUG - ping -s 56 -c 3 -W 1 34.211.209.131 2026-08-04 06:16:03,494 - DEBUG - PING 34.211.209.131 (34.211.209.131): 56 data bytes 64 bytes from 34.211.209.131: seq=0 ttl=63 time=1.825 ms 64 bytes from 34.211.209.131: seq=1 ttl=63 time=1.150 ms 64 bytes from 34.211.209.131: seq=2 ttl=63 time=1.215 ms --- 34.211.209.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.150/1.396/1.825 ms 2026-08-04 06:16:03,495 - INFO - Ping to IP 34.211.209.131 from VM ctest-vn1-vm1-86244690 passed 2026-08-04 06:16:03,495 - INFO - Deleting interface with subnet_id 18cbd5d4-61ca-44b0-a0d0-60a59cfcb9a1, port_id None from router 1c4ca805-7409-49f0-a0c3-1ab940237911 2026-08-04 06:16:03,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 06:16:03,694 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.211.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-04 06:16:03,694 - DEBUG - ping -s 56 -c 3 -W 1 34.211.209.131 2026-08-04 06:16:06,834 - DEBUG - PING 34.211.209.131 (34.211.209.131): 56 data bytes --- 34.211.209.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-08-04 06:16:06,834 - WARNING - Ping to IP 34.211.209.131 from VM ctest-vn1-vm1-86244690 failed 2026-08-04 06:16:06,834 - INFO - Adding interface with subnet_id 18cbd5d4-61ca-44b0-a0d0-60a59cfcb9a1, port_id None to router 1c4ca805-7409-49f0-a0c3-1ab940237911 2026-08-04 06:16:07,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 06:16:07,143 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.211.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-04 06:16:07,143 - DEBUG - ping -s 56 -c 3 -W 1 34.211.209.131 2026-08-04 06:16:09,282 - DEBUG - PING 34.211.209.131 (34.211.209.131): 56 data bytes 64 bytes from 34.211.209.131: seq=0 ttl=63 time=1.819 ms 64 bytes from 34.211.209.131: seq=1 ttl=63 time=1.282 ms 64 bytes from 34.211.209.131: seq=2 ttl=63 time=1.520 ms --- 34.211.209.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.282/1.540/1.819 ms 2026-08-04 06:16:09,283 - INFO - Ping to IP 34.211.209.131 from VM ctest-vn1-vm1-86244690 passed 2026-08-04 06:16:09,283 - INFO - Deleting interface with subnet_id 8bb3af6c-4f8d-4521-a7b2-f9d174c250d1, port_id None from router 1c4ca805-7409-49f0-a0c3-1ab940237911 2026-08-04 06:16:09,452 - INFO - Deleting interface with subnet_id 18cbd5d4-61ca-44b0-a0d0-60a59cfcb9a1, port_id None from router 1c4ca805-7409-49f0-a0c3-1ab940237911 2026-08-04 06:16:09,707 - INFO - Deleting VM ctest-vn2-vm1-05398303 2026-08-04 06:16:09,805 - INFO - Deleting VM ctest-vn1-vm1-86244690 2026-08-04 06:16:09,884 - INFO - Deleting VN ctest-vn2-45958444 2026-08-04 06:16:09,935 - DEBUG - VN 64608d00-747d-4233-a34d-a7be2bed3014 still in use: Unable to complete operation on network 64608d00-747d-4233-a34d-a7be2bed3014. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3923301a-2ef5-4f7c-8ab9-dddaf91453b5'] 2026-08-04 06:16:09,935 - WARNING - Deleting VN ctest-vn2-45958444 failed..Will retry 2026-08-04 06:16:12,158 - DEBUG - Response for deleting network () 2026-08-04 06:16:12,158 - INFO - Deleting VN ctest-vn1-75856296 2026-08-04 06:16:12,290 - DEBUG - Response for deleting network () 2026-08-04 06:16:12,562 - DEBUG - No XMPP flaps were noticed during the test
2026-08-04 06:16:12,562 - INFO - END TEST : test_basic_router_behavior : PASSED[0:01:21]
2026-08-04 06:16:12,562 - INFO - -------------------------------------------------------------------------------- 2026-08-04 06:16:13,400 - INFO - Deleted project: ctest-TestRouters-96417187, ID : a3bef4ee-5a03-41ed-aca3-f07b9c00eae7