2026-09-02 06:07:29,896 - INFO - Domain Default found not creating
2026-09-02 06:07:30,097 - INFO - Project ctest-TestRouters-25260771 not found, creating it
2026-09-02 06:07:30,625 - INFO - Created Project:ctest-TestRouters-25260771, ID : d2700e29-0f65-41c9-9f6c-77fe9bea63e1
2026-09-02 06:07:32,414 - INFO - ================================================================================
2026-09-02 06:07:32,415 - INFO - STARTING TEST : test_basic_router_behavior
2026-09-02 06:07:32,415 - 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-09-02 06:07:32,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with
2026-09-02 06:07:32,686 - INFO - Initial checks done. Running the testcase now
2026-09-02 06:07:32,686 - INFO -
2026-09-02 06:07:34,008 - DEBUG - Response for create_network : {'network': {'id': '5a7b2076-689a-4f78-83c7-c67756e52dd2', 'name': 'ctest-vn1-03938115', 'tenant_id': 'd2700e290f6541c99f6c77fe9bea63e1', 'project_id': 'd2700e290f6541c99f6c77fe9bea63e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25260771', 'ctest-vn1-03938115'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 06:07:34,190 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f7e32ac-5d76-4341-90a9-3eb1b381634a', 'name': '', 'tenant_id': 'd2700e290f6541c99f6c77fe9bea63e1', 'network_id': '5a7b2076-689a-4f78-83c7-c67756e52dd2', 'ip_version': 4, 'cidr': '181.179.243.0/26', 'allocation_pools': [{'start': '181.179.243.2', 'end': '181.179.243.62'}], 'gateway_ip': '181.179.243.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.179.243.2', 'tags': [], 'project_id': 'd2700e290f6541c99f6c77fe9bea63e1'}}
2026-09-02 06:07:34,212 - INFO - Created VN ctest-vn1-03938115
2026-09-02 06:07:34,266 - DEBUG - VN ctest-vn1-03938115 UUID is 5a7b2076-689a-4f78-83c7-c67756e52dd2
2026-09-02 06:07:34,629 - DEBUG - Response for create_network : {'network': {'id': 'f745713f-f2c9-44b3-bead-bf91e1cf7704', 'name': 'ctest-vn2-33471947', 'tenant_id': 'd2700e290f6541c99f6c77fe9bea63e1', 'project_id': 'd2700e290f6541c99f6c77fe9bea63e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25260771', 'ctest-vn2-33471947'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 06:07:34,881 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5a6993e-5425-40b9-92de-96594fa179cf', 'name': '', 'tenant_id': 'd2700e290f6541c99f6c77fe9bea63e1', 'network_id': 'f745713f-f2c9-44b3-bead-bf91e1cf7704', 'ip_version': 4, 'cidr': '103.3.156.64/26', 'allocation_pools': [{'start': '103.3.156.66', 'end': '103.3.156.126'}], 'gateway_ip': '103.3.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.3.156.66', 'tags': [], 'project_id': 'd2700e290f6541c99f6c77fe9bea63e1'}}
2026-09-02 06:07:34,900 - INFO - Created VN ctest-vn2-33471947
2026-09-02 06:07:34,954 - DEBUG - VN ctest-vn2-33471947 UUID is f745713f-f2c9-44b3-bead-bf91e1cf7704
2026-09-02 06:07:35,240 - DEBUG - Services list from nova: [, , ]
2026-09-02 06:07:35,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6247-1)
2026-09-02 06:07:36,469 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6247-1)
2026-09-02 06:07:36,554 - INFO - Adding interface with subnet_id 5f7e32ac-5d76-4341-90a9-3eb1b381634a, port_id None to router df1bfde2-6923-40af-aa8c-d80afd9f2cea
2026-09-02 06:07:36,841 - INFO - Waiting for VM ctest-vn1-vm1-64554802 to be up..
2026-09-02 06:07:36,942 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 06:07:42,058 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 06:07:47,159 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 06:07:52,256 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 06:07:57,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 06:08:02,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 06:08:07,562 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 06:08:12,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-02 06:08:17,758 - DEBUG - VM is in ACTIVE state now
2026-09-02 06:08:17,759 - INFO - VM name : ctest-vn1-vm1-64554802
2026-09-02 06:08:17,861 - DEBUG - VM ctest-vn1-vm1-64554802 ID is d23c8d70-b2b3-494b-9906-8f609e3a6efe
2026-09-02 06:08:17,893 - DEBUG - VM ctest-vn1-vm1-64554802 launched on Node cn-jenkins-deploy-platform-ansible-os-6247-1
2026-09-02 06:08:17,992 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/d23c8d70-b2b3-494b-9906-8f609e3a6efe
2026-09-02 06:08:18,361 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/d23c8d70-b2b3-494b-9906-8f609e3a6efe
2026-09-02 06:08:18,402 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/20dbebbc-4a4a-4377-a558-afd5bd3c6232
2026-09-02 06:08:21,672 - 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 1012ms')
2026-09-02 06:08:21,672 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64554802 failed!
2026-09-02 06:08:21,730 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-25260771:ctest-vn1-03938115 is 181.179.243.1 and allocation pool is NOT set
2026-09-02 06:08:23,801 - 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=17.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.24 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 = 4.242/10.833/17.425/6.591 ms')
2026-09-02 06:08:23,801 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64554802 passed
2026-09-02 06:08:23,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 06:08:23,955 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64554802, IP 181.179.243.3, Port 22
2026-09-02 06:08:24,021 - 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': ''}
2026-09-02 06:08:24,121 - DEBUG - VM ctest-vn1-vm1-64554802 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-02 06:08:29,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 06:08:29,122 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64554802, IP 181.179.243.3, Port 22
2026-09-02 06:08:29,288 - DEBUG - VM ctest-vn1-vm1-64554802 is ready for SSH connections
2026-09-02 06:08:29,289 - INFO - Waiting for VM ctest-vn2-vm1-23340002 to be up..
2026-09-02 06:08:29,401 - DEBUG - VM is in ACTIVE state now
2026-09-02 06:08:29,401 - INFO - VM name : ctest-vn2-vm1-23340002
2026-09-02 06:08:29,500 - DEBUG - VM ctest-vn2-vm1-23340002 ID is 841bb659-1c07-4864-8f42-6c2d5f85157d
2026-09-02 06:08:29,500 - DEBUG - VM ctest-vn2-vm1-23340002 launched on Node cn-jenkins-deploy-platform-ansible-os-6247-1
2026-09-02 06:08:29,597 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/841bb659-1c07-4864-8f42-6c2d5f85157d
2026-09-02 06:08:29,608 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/afbe744c-befc-4d70-bfdc-828185e66fce
2026-09-02 06:08:30,870 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.600 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.600/2.178/3.756/1.578 ms')
2026-09-02 06:08:30,870 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-23340002 passed
2026-09-02 06:08:31,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 06:08:31,027 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-23340002, IP 103.3.156.67, Port 22
2026-09-02 06:08:31,197 - DEBUG - VM ctest-vn2-vm1-23340002 is ready for SSH connections
2026-09-02 06:08:31,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 06:08:31,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.3.156.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-09-02 06:08:31,198 - DEBUG - ping -s 56 -c 3 -W 1 103.3.156.67
2026-09-02 06:08:36,253 - DEBUG - PING 103.3.156.67 (103.3.156.67): 56 data bytes
--- 103.3.156.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2026-09-02 06:08:36,253 - WARNING - Ping to IP 103.3.156.67 from VM ctest-vn1-vm1-64554802 failed
2026-09-02 06:08:36,253 - INFO - Adding interface with subnet_id b5a6993e-5425-40b9-92de-96594fa179cf, port_id None to router df1bfde2-6923-40af-aa8c-d80afd9f2cea
2026-09-02 06:08:36,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 06:08:36,609 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.3.156.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-09-02 06:08:36,609 - DEBUG - ping -s 56 -c 3 -W 1 103.3.156.67
2026-09-02 06:08:39,751 - DEBUG - PING 103.3.156.67 (103.3.156.67): 56 data bytes
64 bytes from 103.3.156.67: seq=1 ttl=63 time=4.305 ms
64 bytes from 103.3.156.67: seq=2 ttl=63 time=1.189 ms
--- 103.3.156.67 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.189/2.747/4.305 ms
2026-09-02 06:08:39,751 - WARNING - Ping to IP 103.3.156.67 from VM ctest-vn1-vm1-64554802 failed
2026-09-02 06:08:40,752 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.3.156.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-09-02 06:08:40,752 - DEBUG - ping -s 56 -c 3 -W 1 103.3.156.67
2026-09-02 06:08:42,900 - DEBUG - PING 103.3.156.67 (103.3.156.67): 56 data bytes
64 bytes from 103.3.156.67: seq=0 ttl=63 time=1.664 ms
64 bytes from 103.3.156.67: seq=1 ttl=63 time=1.133 ms
64 bytes from 103.3.156.67: seq=2 ttl=63 time=1.020 ms
--- 103.3.156.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.020/1.272/1.664 ms
2026-09-02 06:08:42,900 - INFO - Ping to IP 103.3.156.67 from VM ctest-vn1-vm1-64554802 passed
2026-09-02 06:08:42,900 - INFO - Deleting interface with subnet_id 5f7e32ac-5d76-4341-90a9-3eb1b381634a, port_id None from router df1bfde2-6923-40af-aa8c-d80afd9f2cea
2026-09-02 06:08:43,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 06:08:43,062 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.3.156.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-09-02 06:08:43,062 - DEBUG - ping -s 56 -c 3 -W 1 103.3.156.67
2026-09-02 06:08:46,209 - DEBUG - PING 103.3.156.67 (103.3.156.67): 56 data bytes
--- 103.3.156.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2026-09-02 06:08:46,209 - WARNING - Ping to IP 103.3.156.67 from VM ctest-vn1-vm1-64554802 failed
2026-09-02 06:08:46,210 - INFO - Adding interface with subnet_id 5f7e32ac-5d76-4341-90a9-3eb1b381634a, port_id None to router df1bfde2-6923-40af-aa8c-d80afd9f2cea
2026-09-02 06:08:46,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-02 06:08:46,535 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.3.156.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123
2026-09-02 06:08:46,535 - DEBUG - ping -s 56 -c 3 -W 1 103.3.156.67
2026-09-02 06:08:48,735 - DEBUG - PING 103.3.156.67 (103.3.156.67): 56 data bytes
64 bytes from 103.3.156.67: seq=0 ttl=63 time=1.780 ms
64 bytes from 103.3.156.67: seq=1 ttl=63 time=1.009 ms
64 bytes from 103.3.156.67: seq=2 ttl=63 time=1.066 ms
--- 103.3.156.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.009/1.285/1.780 ms
2026-09-02 06:08:48,736 - INFO - Ping to IP 103.3.156.67 from VM ctest-vn1-vm1-64554802 passed
2026-09-02 06:08:48,736 - INFO - Deleting interface with subnet_id b5a6993e-5425-40b9-92de-96594fa179cf, port_id None from router df1bfde2-6923-40af-aa8c-d80afd9f2cea
2026-09-02 06:08:48,904 - INFO - Deleting interface with subnet_id 5f7e32ac-5d76-4341-90a9-3eb1b381634a, port_id None from router df1bfde2-6923-40af-aa8c-d80afd9f2cea
2026-09-02 06:08:49,181 - INFO - Deleting VM ctest-vn2-vm1-23340002
2026-09-02 06:08:49,301 - INFO - Deleting VM ctest-vn1-vm1-64554802
2026-09-02 06:08:49,406 - INFO - Deleting VN ctest-vn2-33471947
2026-09-02 06:08:49,447 - DEBUG - VN f745713f-f2c9-44b3-bead-bf91e1cf7704 still in use: Unable to complete operation on network f745713f-f2c9-44b3-bead-bf91e1cf7704. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-79f0600e-8f03-4546-b07c-902bb3ff65fc']
2026-09-02 06:08:49,447 - WARNING - Deleting VN ctest-vn2-33471947 failed..Will retry
2026-09-02 06:08:51,496 - DEBUG - VN f745713f-f2c9-44b3-bead-bf91e1cf7704 still in use: Unable to complete operation on network f745713f-f2c9-44b3-bead-bf91e1cf7704. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2adc62b1-9f18-4954-bab3-624366988d8c']
2026-09-02 06:08:51,496 - WARNING - Deleting VN ctest-vn2-33471947 failed..Will retry
2026-09-02 06:08:53,637 - DEBUG - Response for deleting network ()
2026-09-02 06:08:53,638 - INFO - Deleting VN ctest-vn1-03938115
2026-09-02 06:08:53,771 - DEBUG - Response for deleting network ()
2026-09-02 06:08:54,048 - DEBUG - No XMPP flaps were noticed during the test
2026-09-02 06:08:54,048 - INFO - END TEST : test_basic_router_behavior : PASSED[0:01:22]
2026-09-02 06:08:54,048 - INFO - --------------------------------------------------------------------------------
2026-09-02 06:08:54,892 - INFO - Deleted project: ctest-TestRouters-25260771, ID : d2700e29-0f65-41c9-9f6c-77fe9bea63e1