2026-08-21 15:13:45,319 - INFO - Domain Default found not creating 2026-08-21 15:13:45,476 - INFO - Project ctest-TestRouters-19027809 not found, creating it 2026-08-21 15:13:45,941 - INFO - Created Project:ctest-TestRouters-19027809, ID : dc46fdb7-cfb0-4ab5-b515-485b1aa401ad 2026-08-21 15:13:47,662 - INFO - ================================================================================ 2026-08-21 15:13:47,663 - INFO - STARTING TEST : test_basic_router_behavior 2026-08-21 15:13:47,663 - 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-21 15:13:47,931 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-08-21 15:13:47,931 - INFO - Initial checks done. Running the testcase now 2026-08-21 15:13:47,931 - INFO - 2026-08-21 15:13:48,687 - DEBUG - Response for create_network : {'network': {'id': '764c7ca6-9fc2-4fbd-a3bd-c1caeb48985e', 'name': 'ctest-vn1-31900067', 'tenant_id': 'dc46fdb7cfb04ab5b515485b1aa401ad', 'project_id': 'dc46fdb7cfb04ab5b515485b1aa401ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19027809', 'ctest-vn1-31900067'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 15:13:48,917 - DEBUG - Response for create_subnet : {'subnet': {'id': '463478d0-5ed8-4355-8f80-7839eb0674e3', 'name': '', 'tenant_id': 'dc46fdb7cfb04ab5b515485b1aa401ad', 'network_id': '764c7ca6-9fc2-4fbd-a3bd-c1caeb48985e', 'ip_version': 4, 'cidr': '3.160.117.0/26', 'allocation_pools': [{'start': '3.160.117.2', 'end': '3.160.117.62'}], 'gateway_ip': '3.160.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.160.117.2', 'tags': [], 'project_id': 'dc46fdb7cfb04ab5b515485b1aa401ad'}} 2026-08-21 15:13:48,938 - INFO - Created VN ctest-vn1-31900067 2026-08-21 15:13:48,992 - DEBUG - VN ctest-vn1-31900067 UUID is 764c7ca6-9fc2-4fbd-a3bd-c1caeb48985e 2026-08-21 15:13:49,315 - DEBUG - Response for create_network : {'network': {'id': '9d25d6aa-5857-4fc4-ab74-f063cb50060b', 'name': 'ctest-vn2-83081078', 'tenant_id': 'dc46fdb7cfb04ab5b515485b1aa401ad', 'project_id': 'dc46fdb7cfb04ab5b515485b1aa401ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19027809', 'ctest-vn2-83081078'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 15:13:49,501 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7f28b97-f069-4e71-8470-c9ffeddb5127', 'name': '', 'tenant_id': 'dc46fdb7cfb04ab5b515485b1aa401ad', 'network_id': '9d25d6aa-5857-4fc4-ab74-f063cb50060b', 'ip_version': 4, 'cidr': '130.40.7.0/26', 'allocation_pools': [{'start': '130.40.7.2', 'end': '130.40.7.62'}], 'gateway_ip': '130.40.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.40.7.2', 'tags': [], 'project_id': 'dc46fdb7cfb04ab5b515485b1aa401ad'}} 2026-08-21 15:13:49,517 - INFO - Created VN ctest-vn2-83081078 2026-08-21 15:13:49,568 - DEBUG - VN ctest-vn2-83081078 UUID is 9d25d6aa-5857-4fc4-ab74-f063cb50060b 2026-08-21 15:13:49,823 - DEBUG - Services list from nova: [, , ] 2026-08-21 15:13:50,220 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6204-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6204-1) 2026-08-21 15:13:50,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6204-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6204-1) 2026-08-21 15:13:50,920 - INFO - Adding interface with subnet_id 463478d0-5ed8-4355-8f80-7839eb0674e3, port_id None to router 6a254376-96c0-45e2-a3af-cc730210262d 2026-08-21 15:13:51,192 - INFO - Waiting for VM ctest-vn1-vm1-64557429 to be up.. 2026-08-21 15:13:51,258 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:13:56,314 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:14:01,392 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:14:06,474 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:14:11,561 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:14:16,640 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:14:21,716 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:14:26,798 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:14:31,881 - DEBUG - VM is in ACTIVE state now 2026-08-21 15:14:31,881 - INFO - VM name : ctest-vn1-vm1-64557429 2026-08-21 15:14:31,958 - DEBUG - VM ctest-vn1-vm1-64557429 ID is adfe1dda-0ea8-46eb-8a6f-eb7ce3adcd61 2026-08-21 15:14:31,978 - DEBUG - VM ctest-vn1-vm1-64557429 launched on Node cn-jenkins-deploy-platform-ansible-os-6204-1 2026-08-21 15:14:32,054 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/adfe1dda-0ea8-46eb-8a6f-eb7ce3adcd61 2026-08-21 15:14:32,424 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/adfe1dda-0ea8-46eb-8a6f-eb7ce3adcd61 2026-08-21 15:14:32,454 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/00e59137-0bff-4512-83e9-690304a71d34 2026-08-21 15:14:35,697 - 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=9.37 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 9.368/9.368/9.368/0.000 ms') 2026-08-21 15:14:35,697 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64557429 passed 2026-08-21 15:14:35,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 15:14:35,852 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64557429, IP 3.160.117.3, Port 22 2026-08-21 15:14:36,007 - DEBUG - VM ctest-vn1-vm1-64557429 is ready for SSH connections 2026-08-21 15:14:36,007 - INFO - Waiting for VM ctest-vn2-vm1-44302260 to be up.. 2026-08-21 15:14:36,082 - DEBUG - VM is in ACTIVE state now 2026-08-21 15:14:36,082 - INFO - VM name : ctest-vn2-vm1-44302260 2026-08-21 15:14:36,155 - DEBUG - VM ctest-vn2-vm1-44302260 ID is 15ef5ed7-9784-425e-989e-8a7cdb484727 2026-08-21 15:14:36,155 - DEBUG - VM ctest-vn2-vm1-44302260 launched on Node cn-jenkins-deploy-platform-ansible-os-6204-1 2026-08-21 15:14:36,229 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/15ef5ed7-9784-425e-989e-8a7cdb484727 2026-08-21 15:14:36,237 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6ff3bbd2-5635-4708-aa86-137767c65156 2026-08-21 15:14:39,510 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2026-08-21 15:14:39,510 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-44302260 failed! 2026-08-21 15:14:39,568 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-19027809:ctest-vn2-83081078 is 130.40.7.1 and allocation pool is NOT set 2026-08-21 15:14:41,647 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.41 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.405/4.318/6.231/1.913 ms') 2026-08-21 15:14:41,647 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-44302260 passed 2026-08-21 15:14:41,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 15:14:41,796 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-44302260, IP 130.40.7.3, Port 22 2026-08-21 15:14:41,863 - 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-21 15:14:41,939 - DEBUG - VM ctest-vn2-vm1-44302260 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-21 15:14:46,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 15:14:46,939 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-44302260, IP 130.40.7.3, Port 22 2026-08-21 15:14:47,106 - DEBUG - VM ctest-vn2-vm1-44302260 is ready for SSH connections 2026-08-21 15:14:47,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 15:14:47,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.40.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-21 15:14:47,107 - DEBUG - ping -s 56 -c 3 -W 1 130.40.7.3 2026-08-21 15:14:52,104 - DEBUG - PING 130.40.7.3 (130.40.7.3): 56 data bytes --- 130.40.7.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-08-21 15:14:52,105 - WARNING - Ping to IP 130.40.7.3 from VM ctest-vn1-vm1-64557429 failed 2026-08-21 15:14:52,105 - INFO - Adding interface with subnet_id c7f28b97-f069-4e71-8470-c9ffeddb5127, port_id None to router 6a254376-96c0-45e2-a3af-cc730210262d 2026-08-21 15:14:52,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 15:14:52,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.40.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-21 15:14:52,386 - DEBUG - ping -s 56 -c 3 -W 1 130.40.7.3 2026-08-21 15:14:55,512 - DEBUG - PING 130.40.7.3 (130.40.7.3): 56 data bytes 64 bytes from 130.40.7.3: seq=1 ttl=63 time=4.093 ms 64 bytes from 130.40.7.3: seq=2 ttl=63 time=1.496 ms --- 130.40.7.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.496/2.794/4.093 ms 2026-08-21 15:14:55,512 - WARNING - Ping to IP 130.40.7.3 from VM ctest-vn1-vm1-64557429 failed 2026-08-21 15:14:56,513 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.40.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-21 15:14:56,513 - DEBUG - ping -s 56 -c 3 -W 1 130.40.7.3 2026-08-21 15:14:58,642 - DEBUG - PING 130.40.7.3 (130.40.7.3): 56 data bytes 64 bytes from 130.40.7.3: seq=0 ttl=63 time=2.067 ms 64 bytes from 130.40.7.3: seq=1 ttl=63 time=1.098 ms 64 bytes from 130.40.7.3: seq=2 ttl=63 time=1.191 ms --- 130.40.7.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.098/1.452/2.067 ms 2026-08-21 15:14:58,642 - INFO - Ping to IP 130.40.7.3 from VM ctest-vn1-vm1-64557429 passed 2026-08-21 15:14:58,642 - INFO - Deleting interface with subnet_id 463478d0-5ed8-4355-8f80-7839eb0674e3, port_id None from router 6a254376-96c0-45e2-a3af-cc730210262d 2026-08-21 15:14:58,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 15:14:58,790 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.40.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-21 15:14:58,790 - DEBUG - ping -s 56 -c 3 -W 1 130.40.7.3 2026-08-21 15:15:01,933 - DEBUG - PING 130.40.7.3 (130.40.7.3): 56 data bytes --- 130.40.7.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-08-21 15:15:01,933 - WARNING - Ping to IP 130.40.7.3 from VM ctest-vn1-vm1-64557429 failed 2026-08-21 15:15:01,933 - INFO - Adding interface with subnet_id 463478d0-5ed8-4355-8f80-7839eb0674e3, port_id None to router 6a254376-96c0-45e2-a3af-cc730210262d 2026-08-21 15:15:02,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 15:15:02,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.40.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-21 15:15:02,184 - DEBUG - ping -s 56 -c 3 -W 1 130.40.7.3 2026-08-21 15:15:04,313 - DEBUG - PING 130.40.7.3 (130.40.7.3): 56 data bytes 64 bytes from 130.40.7.3: seq=0 ttl=63 time=1.387 ms 64 bytes from 130.40.7.3: seq=1 ttl=63 time=1.089 ms 64 bytes from 130.40.7.3: seq=2 ttl=63 time=0.995 ms --- 130.40.7.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.995/1.157/1.387 ms 2026-08-21 15:15:04,313 - INFO - Ping to IP 130.40.7.3 from VM ctest-vn1-vm1-64557429 passed 2026-08-21 15:15:04,313 - INFO - Deleting interface with subnet_id c7f28b97-f069-4e71-8470-c9ffeddb5127, port_id None from router 6a254376-96c0-45e2-a3af-cc730210262d 2026-08-21 15:15:04,450 - INFO - Deleting interface with subnet_id 463478d0-5ed8-4355-8f80-7839eb0674e3, port_id None from router 6a254376-96c0-45e2-a3af-cc730210262d 2026-08-21 15:15:04,681 - INFO - Deleting VM ctest-vn2-vm1-44302260 2026-08-21 15:15:04,766 - INFO - Deleting VM ctest-vn1-vm1-64557429 2026-08-21 15:15:04,842 - INFO - Deleting VN ctest-vn2-83081078 2026-08-21 15:15:04,880 - DEBUG - VN 9d25d6aa-5857-4fc4-ab74-f063cb50060b still in use: Unable to complete operation on network 9d25d6aa-5857-4fc4-ab74-f063cb50060b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7d561fde-d60e-4119-82d7-8c5a9fbd5637'] 2026-08-21 15:15:04,880 - WARNING - Deleting VN ctest-vn2-83081078 failed..Will retry 2026-08-21 15:15:07,078 - DEBUG - Response for deleting network () 2026-08-21 15:15:07,078 - INFO - Deleting VN ctest-vn1-31900067 2026-08-21 15:15:07,203 - DEBUG - Response for deleting network () 2026-08-21 15:15:07,478 - DEBUG - No XMPP flaps were noticed during the test
2026-08-21 15:15:07,478 - INFO - END TEST : test_basic_router_behavior : PASSED[0:01:20]
2026-08-21 15:15:07,478 - INFO - -------------------------------------------------------------------------------- 2026-08-21 15:15:08,244 - INFO - Deleted project: ctest-TestRouters-19027809, ID : dc46fdb7-cfb0-4ab5-b515-485b1aa401ad