2025-10-24 20:21:58,906 - INFO - Domain Default found not creating
2025-10-24 20:21:59,103 - INFO - Project ctest-TestRouters-14017301 not found, creating it
2025-10-24 20:21:59,646 - INFO - Created Project:ctest-TestRouters-14017301, ID : 58c9c927-5bfb-4c9d-8e49-6f5e16821313
2025-10-24 20:22:01,445 - INFO - ================================================================================
2025-10-24 20:22:01,445 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-24 20:22:01,445 - 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-24 20:22:01,719 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2025-10-24 20:22:01,719 - INFO - Initial checks done. Running the testcase now
2025-10-24 20:22:01,719 - INFO -
2025-10-24 20:22:02,322 - DEBUG - Response for create_network : {'network': {'id': 'f53d2ee2-7adc-4f5b-8989-7659345d509c', 'name': 'ctest-vn1-43312254', 'tenant_id': '58c9c9275bfb4c9d8e496f5e16821313', 'project_id': '58c9c9275bfb4c9d8e496f5e16821313', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-14017301', 'ctest-vn1-43312254'], 'port_security_enabled': True, 'description': ''}}
2025-10-24 20:22:02,649 - DEBUG - Response for create_subnet : {'subnet': {'id': '120c40c4-31ef-47ac-b6ac-68c2d4fe145e', 'name': '', 'tenant_id': '58c9c9275bfb4c9d8e496f5e16821313', 'network_id': 'f53d2ee2-7adc-4f5b-8989-7659345d509c', 'ip_version': 4, 'cidr': '1.111.189.0/26', 'allocation_pools': [{'start': '1.111.189.2', 'end': '1.111.189.62'}], 'gateway_ip': '1.111.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.111.189.2', 'tags': [], 'project_id': '58c9c9275bfb4c9d8e496f5e16821313'}}
2025-10-24 20:22:02,670 - INFO - Created VN ctest-vn1-43312254
2025-10-24 20:22:02,727 - DEBUG - VN ctest-vn1-43312254 UUID is f53d2ee2-7adc-4f5b-8989-7659345d509c
2025-10-24 20:22:03,053 - DEBUG - Response for create_network : {'network': {'id': '5b18b463-d0b2-4ca2-b2b8-16e3605f4cc8', 'name': 'ctest-vn2-53831953', 'tenant_id': '58c9c9275bfb4c9d8e496f5e16821313', 'project_id': '58c9c9275bfb4c9d8e496f5e16821313', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-14017301', 'ctest-vn2-53831953'], 'port_security_enabled': True, 'description': ''}}
2025-10-24 20:22:03,249 - DEBUG - Response for create_subnet : {'subnet': {'id': '6988e701-e096-4a05-8725-3f244a38e872', 'name': '', 'tenant_id': '58c9c9275bfb4c9d8e496f5e16821313', 'network_id': '5b18b463-d0b2-4ca2-b2b8-16e3605f4cc8', 'ip_version': 4, 'cidr': '85.122.50.192/26', 'allocation_pools': [{'start': '85.122.50.194', 'end': '85.122.50.254'}], 'gateway_ip': '85.122.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.122.50.194', 'tags': [], 'project_id': '58c9c9275bfb4c9d8e496f5e16821313'}}
2025-10-24 20:22:03,269 - INFO - Created VN ctest-vn2-53831953
2025-10-24 20:22:03,323 - DEBUG - VN ctest-vn2-53831953 UUID is 5b18b463-d0b2-4ca2-b2b8-16e3605f4cc8
2025-10-24 20:22:03,501 - DEBUG - Services list from nova: [, , ]
2025-10-24 20:22:04,637 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4481-1)
2025-10-24 20:22:05,985 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4481-1)
2025-10-24 20:22:06,078 - INFO - Adding interface with subnet_id 120c40c4-31ef-47ac-b6ac-68c2d4fe145e, port_id None to router 5f16e644-b28e-4d76-80d0-af575f9dacca
2025-10-24 20:22:06,428 - INFO - Waiting for VM ctest-vn1-vm1-29147916 to be up..
2025-10-24 20:22:06,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-24 20:22:11,705 - DEBUG - VM is in ACTIVE state now
2025-10-24 20:22:11,705 - INFO - VM name : ctest-vn1-vm1-29147916
2025-10-24 20:22:11,804 - DEBUG - VM ctest-vn1-vm1-29147916 ID is 11b8ad25-aff8-4f45-9aff-8b2d5ea56db8
2025-10-24 20:22:11,828 - DEBUG - VM ctest-vn1-vm1-29147916 launched on Node cn-jenkins-deploy-platform-ansible-os-4481-1
2025-10-24 20:22:11,922 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/11b8ad25-aff8-4f45-9aff-8b2d5ea56db8
2025-10-24 20:22:12,223 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/11b8ad25-aff8-4f45-9aff-8b2d5ea56db8
2025-10-24 20:22:12,259 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/382726dc-9123-4ff8-a232-3aa2c4102498
2025-10-24 20:22:15,557 - 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 1032ms')
2025-10-24 20:22:15,558 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29147916 failed!
2025-10-24 20:22:15,619 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-14017301:ctest-vn1-43312254 is 1.111.189.1 and allocation pool is NOT set
2025-10-24 20:22:17,698 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/5.258/10.092/4.834 ms')
2025-10-24 20:22:17,698 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29147916 passed
2025-10-24 20:22:17,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:22:17,855 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29147916, IP 1.111.189.3, Port 22
2025-10-24 20:22:17,940 - 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-10-24 20:22:18,102 - DEBUG - VM ctest-vn1-vm1-29147916 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-24 20:22:23,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:22:23,103 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29147916, IP 1.111.189.3, Port 22
2025-10-24 20:22:23,301 - DEBUG - VM ctest-vn1-vm1-29147916 is ready for SSH connections
2025-10-24 20:22:23,301 - INFO - Waiting for VM ctest-vn2-vm1-11860424 to be up..
2025-10-24 20:22:23,487 - DEBUG - VM is in ACTIVE state now
2025-10-24 20:22:23,487 - INFO - VM name : ctest-vn2-vm1-11860424
2025-10-24 20:22:23,645 - DEBUG - VM ctest-vn2-vm1-11860424 ID is 3a1642ab-9a67-4d7a-8013-1d5b58e7cebc
2025-10-24 20:22:23,645 - DEBUG - VM ctest-vn2-vm1-11860424 launched on Node cn-jenkins-deploy-platform-ansible-os-4481-1
2025-10-24 20:22:23,781 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3a1642ab-9a67-4d7a-8013-1d5b58e7cebc
2025-10-24 20:22:23,796 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/61a26306-e97a-4d20-b5c1-79d170d12b24
2025-10-24 20:22:25,112 - 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=9.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.911 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 = 0.911/4.992/9.073/4.081 ms')
2025-10-24 20:22:25,112 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-11860424 passed
2025-10-24 20:22:25,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:22:25,300 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-11860424, IP 85.122.50.195, Port 22
2025-10-24 20:22:25,506 - DEBUG - VM ctest-vn2-vm1-11860424 is ready for SSH connections
2025-10-24 20:22:25,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:22:25,507 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.122.50.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-24 20:22:25,508 - DEBUG - ping -s 56 -c 3 -W 1 85.122.50.195
2025-10-24 20:22:30,929 - DEBUG - PING 85.122.50.195 (85.122.50.195): 56 data bytes
--- 85.122.50.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-24 20:22:30,930 - WARNING - Ping to IP 85.122.50.195 from VM ctest-vn1-vm1-29147916 failed
2025-10-24 20:22:30,930 - INFO - Adding interface with subnet_id 6988e701-e096-4a05-8725-3f244a38e872, port_id None to router 5f16e644-b28e-4d76-80d0-af575f9dacca
2025-10-24 20:22:31,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:22:31,356 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.122.50.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-24 20:22:31,357 - DEBUG - ping -s 56 -c 3 -W 1 85.122.50.195
2025-10-24 20:22:33,587 - DEBUG - PING 85.122.50.195 (85.122.50.195): 56 data bytes
64 bytes from 85.122.50.195: seq=0 ttl=63 time=3.999 ms
64 bytes from 85.122.50.195: seq=1 ttl=63 time=1.093 ms
64 bytes from 85.122.50.195: seq=2 ttl=63 time=1.295 ms
--- 85.122.50.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.093/2.129/3.999 ms
2025-10-24 20:22:33,587 - INFO - Ping to IP 85.122.50.195 from VM ctest-vn1-vm1-29147916 passed
2025-10-24 20:22:33,587 - INFO - Deleting interface with subnet_id 120c40c4-31ef-47ac-b6ac-68c2d4fe145e, port_id None from router 5f16e644-b28e-4d76-80d0-af575f9dacca
2025-10-24 20:22:33,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:22:33,804 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.122.50.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-24 20:22:33,804 - DEBUG - ping -s 56 -c 3 -W 1 85.122.50.195
2025-10-24 20:22:37,036 - DEBUG - PING 85.122.50.195 (85.122.50.195): 56 data bytes
--- 85.122.50.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-24 20:22:37,036 - WARNING - Ping to IP 85.122.50.195 from VM ctest-vn1-vm1-29147916 failed
2025-10-24 20:22:37,036 - INFO - Adding interface with subnet_id 120c40c4-31ef-47ac-b6ac-68c2d4fe145e, port_id None to router 5f16e644-b28e-4d76-80d0-af575f9dacca
2025-10-24 20:22:37,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 20:22:37,389 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.122.50.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-24 20:22:37,389 - DEBUG - ping -s 56 -c 3 -W 1 85.122.50.195
2025-10-24 20:22:39,625 - DEBUG - PING 85.122.50.195 (85.122.50.195): 56 data bytes
64 bytes from 85.122.50.195: seq=0 ttl=63 time=1.794 ms
64 bytes from 85.122.50.195: seq=1 ttl=63 time=2.099 ms
64 bytes from 85.122.50.195: seq=2 ttl=63 time=1.267 ms
--- 85.122.50.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.267/1.720/2.099 ms
2025-10-24 20:22:39,625 - INFO - Ping to IP 85.122.50.195 from VM ctest-vn1-vm1-29147916 passed
2025-10-24 20:22:39,625 - INFO - Deleting interface with subnet_id 6988e701-e096-4a05-8725-3f244a38e872, port_id None from router 5f16e644-b28e-4d76-80d0-af575f9dacca
2025-10-24 20:22:39,836 - INFO - Deleting interface with subnet_id 120c40c4-31ef-47ac-b6ac-68c2d4fe145e, port_id None from router 5f16e644-b28e-4d76-80d0-af575f9dacca
2025-10-24 20:22:40,017 - INFO - Deleting VM ctest-vn2-vm1-11860424
2025-10-24 20:22:40,097 - INFO - Deleting VM ctest-vn1-vm1-29147916
2025-10-24 20:22:40,173 - INFO - Deleting VN ctest-vn2-53831953
2025-10-24 20:22:40,217 - DEBUG - VN 5b18b463-d0b2-4ca2-b2b8-16e3605f4cc8 still in use: Unable to complete operation on network 5b18b463-d0b2-4ca2-b2b8-16e3605f4cc8. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1963d8c1-dac4-42bc-8d0d-03fb60e1c1bf']
2025-10-24 20:22:40,218 - WARNING - Deleting VN ctest-vn2-53831953 failed..Will retry
2025-10-24 20:22:42,434 - DEBUG - Response for deleting network ()
2025-10-24 20:22:42,434 - INFO - Deleting VN ctest-vn1-43312254
2025-10-24 20:22:42,573 - DEBUG - Response for deleting network ()
2025-10-24 20:22:42,879 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 20:22:42,880 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41]
2025-10-24 20:22:42,880 - INFO - --------------------------------------------------------------------------------
2025-10-24 20:22:43,795 - INFO - Deleted project: ctest-TestRouters-14017301, ID : 58c9c927-5bfb-4c9d-8e49-6f5e16821313