2025-11-05 22:30:12,637 - INFO - Domain Default found not creating
2025-11-05 22:30:12,784 - INFO - Project ctest-TestRouters-08583343 not found, creating it
2025-11-05 22:30:13,263 - INFO - Created Project:ctest-TestRouters-08583343, ID : 97d52669-970c-47b5-9783-3503fb441107
2025-11-05 22:30:14,766 - INFO - ================================================================================
2025-11-05 22:30:14,766 - INFO - STARTING TEST : test_basic_router_behavior
2025-11-05 22:30:14,766 - 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-11-05 22:30:15,021 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-11-05 22:30:15,021 - INFO - Initial checks done. Running the testcase now
2025-11-05 22:30:15,021 - INFO -
2025-11-05 22:30:15,577 - DEBUG - Response for create_network : {'network': {'id': 'fb8b03ab-b0da-41bf-bc12-372d200cdf46', 'name': 'ctest-vn1-47636231', 'tenant_id': '97d52669970c47b597833503fb441107', 'project_id': '97d52669970c47b597833503fb441107', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08583343', 'ctest-vn1-47636231'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 22:30:15,816 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e57a9f89-2782-4920-be11-74e4e1c507b0', 'name': '', 'tenant_id': '97d52669970c47b597833503fb441107', 'network_id': 'fb8b03ab-b0da-41bf-bc12-372d200cdf46', 'ip_version': 4, 'cidr': '5.191.131.192/26', 'allocation_pools': [{'start': '5.191.131.194', 'end': '5.191.131.254'}], 'gateway_ip': '5.191.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.191.131.194', 'tags': [], 'project_id': '97d52669970c47b597833503fb441107'}}
2025-11-05 22:30:15,833 - INFO - Created VN ctest-vn1-47636231
2025-11-05 22:30:15,883 - DEBUG - VN ctest-vn1-47636231 UUID is fb8b03ab-b0da-41bf-bc12-372d200cdf46
2025-11-05 22:30:16,206 - DEBUG - Response for create_network : {'network': {'id': '81a28adb-db83-4bf5-9070-60b84fa18eb3', 'name': 'ctest-vn2-49231204', 'tenant_id': '97d52669970c47b597833503fb441107', 'project_id': '97d52669970c47b597833503fb441107', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08583343', 'ctest-vn2-49231204'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 22:30:16,432 - DEBUG - Response for create_subnet : {'subnet': {'id': '9077cf06-020b-4b2a-b09e-56f020a84b81', 'name': '', 'tenant_id': '97d52669970c47b597833503fb441107', 'network_id': '81a28adb-db83-4bf5-9070-60b84fa18eb3', 'ip_version': 4, 'cidr': '11.108.94.192/26', 'allocation_pools': [{'start': '11.108.94.194', 'end': '11.108.94.254'}], 'gateway_ip': '11.108.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.108.94.194', 'tags': [], 'project_id': '97d52669970c47b597833503fb441107'}}
2025-11-05 22:30:16,457 - INFO - Created VN ctest-vn2-49231204
2025-11-05 22:30:16,507 - DEBUG - VN ctest-vn2-49231204 UUID is 81a28adb-db83-4bf5-9070-60b84fa18eb3
2025-11-05 22:30:16,725 - DEBUG - Services list from nova: [, , ]
2025-11-05 22:30:17,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4658-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4658-1)
2025-11-05 22:30:18,985 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4658-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4658-1)
2025-11-05 22:30:19,068 - INFO - Adding interface with subnet_id e57a9f89-2782-4920-be11-74e4e1c507b0, port_id None to router 7d664756-164a-46cf-97c0-54657ed408b8
2025-11-05 22:30:19,360 - INFO - Waiting for VM ctest-vn1-vm1-67581480 to be up..
2025-11-05 22:30:19,465 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 22:30:24,545 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 22:30:29,625 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 22:30:34,705 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 22:30:39,787 - DEBUG - VM is in ACTIVE state now
2025-11-05 22:30:39,787 - INFO - VM name : ctest-vn1-vm1-67581480
2025-11-05 22:30:39,869 - DEBUG - VM ctest-vn1-vm1-67581480 ID is 5220c381-82bf-48a0-94f7-b8fbfcea2f60
2025-11-05 22:30:39,890 - DEBUG - VM ctest-vn1-vm1-67581480 launched on Node cn-jenkins-deploy-platform-ansible-os-4658-1
2025-11-05 22:30:39,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5220c381-82bf-48a0-94f7-b8fbfcea2f60
2025-11-05 22:30:40,275 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5220c381-82bf-48a0-94f7-b8fbfcea2f60
2025-11-05 22:30:40,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/12ae6496-be5f-4495-86c1-c4eeffddb49f
2025-11-05 22:30:43,573 - 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 1018ms')
2025-11-05 22:30:43,573 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67581480 failed!
2025-11-05 22:30:43,627 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-08583343:ctest-vn1-47636231 is 5.191.131.193 and allocation pool is NOT set
2025-11-05 22:30:47,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=12.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 12.553/12.553/12.553/0.000 ms')
2025-11-05 22:30:47,697 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67581480 passed
2025-11-05 22:30:47,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 22:30:47,852 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67581480, IP 5.191.131.195, Port 22
2025-11-05 22:30:48,018 - DEBUG - VM ctest-vn1-vm1-67581480 is ready for SSH connections
2025-11-05 22:30:48,018 - INFO - Waiting for VM ctest-vn2-vm1-32869323 to be up..
2025-11-05 22:30:48,094 - DEBUG - VM is in ACTIVE state now
2025-11-05 22:30:48,094 - INFO - VM name : ctest-vn2-vm1-32869323
2025-11-05 22:30:48,166 - DEBUG - VM ctest-vn2-vm1-32869323 ID is ff2958fc-0d4d-4d87-92a6-76948c2c1ad0
2025-11-05 22:30:48,167 - DEBUG - VM ctest-vn2-vm1-32869323 launched on Node cn-jenkins-deploy-platform-ansible-os-4658-1
2025-11-05 22:30:48,240 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ff2958fc-0d4d-4d87-92a6-76948c2c1ad0
2025-11-05 22:30:48,249 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1a75c9b4-9544-4299-8148-698ab7cf87aa
2025-11-05 22:30:49,482 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/2.051/3.675/1.624 ms')
2025-11-05 22:30:49,482 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-32869323 passed
2025-11-05 22:30:49,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 22:30:49,631 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-32869323, IP 11.108.94.195, Port 22
2025-11-05 22:30:49,810 - DEBUG - VM ctest-vn2-vm1-32869323 is ready for SSH connections
2025-11-05 22:30:49,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 22:30:49,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.108.94.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-05 22:30:49,810 - DEBUG - ping -s 56 -c 3 -W 1 11.108.94.195
2025-11-05 22:30:54,837 - DEBUG - PING 11.108.94.195 (11.108.94.195): 56 data bytes
--- 11.108.94.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-05 22:30:54,837 - WARNING - Ping to IP 11.108.94.195 from VM ctest-vn1-vm1-67581480 failed
2025-11-05 22:30:54,837 - INFO - Adding interface with subnet_id 9077cf06-020b-4b2a-b09e-56f020a84b81, port_id None to router 7d664756-164a-46cf-97c0-54657ed408b8
2025-11-05 22:30:55,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 22:30:55,111 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.108.94.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-05 22:30:55,111 - DEBUG - ping -s 56 -c 3 -W 1 11.108.94.195
2025-11-05 22:30:57,334 - DEBUG - PING 11.108.94.195 (11.108.94.195): 56 data bytes
64 bytes from 11.108.94.195: seq=0 ttl=63 time=2.839 ms
64 bytes from 11.108.94.195: seq=1 ttl=63 time=1.323 ms
64 bytes from 11.108.94.195: seq=2 ttl=63 time=1.061 ms
--- 11.108.94.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.061/1.741/2.839 ms
2025-11-05 22:30:57,334 - INFO - Ping to IP 11.108.94.195 from VM ctest-vn1-vm1-67581480 passed
2025-11-05 22:30:57,334 - INFO - Deleting interface with subnet_id e57a9f89-2782-4920-be11-74e4e1c507b0, port_id None from router 7d664756-164a-46cf-97c0-54657ed408b8
2025-11-05 22:30:57,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 22:30:57,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.108.94.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-05 22:30:57,449 - DEBUG - ping -s 56 -c 3 -W 1 11.108.94.195
2025-11-05 22:31:00,660 - DEBUG - PING 11.108.94.195 (11.108.94.195): 56 data bytes
--- 11.108.94.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-05 22:31:00,661 - WARNING - Ping to IP 11.108.94.195 from VM ctest-vn1-vm1-67581480 failed
2025-11-05 22:31:00,661 - INFO - Adding interface with subnet_id e57a9f89-2782-4920-be11-74e4e1c507b0, port_id None to router 7d664756-164a-46cf-97c0-54657ed408b8
2025-11-05 22:31:00,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 22:31:00,928 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.108.94.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-05 22:31:00,929 - DEBUG - ping -s 56 -c 3 -W 1 11.108.94.195
2025-11-05 22:31:03,149 - DEBUG - PING 11.108.94.195 (11.108.94.195): 56 data bytes
64 bytes from 11.108.94.195: seq=0 ttl=63 time=1.848 ms
64 bytes from 11.108.94.195: seq=1 ttl=63 time=1.436 ms
64 bytes from 11.108.94.195: seq=2 ttl=63 time=0.853 ms
--- 11.108.94.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.853/1.379/1.848 ms
2025-11-05 22:31:03,149 - INFO - Ping to IP 11.108.94.195 from VM ctest-vn1-vm1-67581480 passed
2025-11-05 22:31:03,149 - INFO - Deleting interface with subnet_id 9077cf06-020b-4b2a-b09e-56f020a84b81, port_id None from router 7d664756-164a-46cf-97c0-54657ed408b8
2025-11-05 22:31:03,273 - INFO - Deleting interface with subnet_id e57a9f89-2782-4920-be11-74e4e1c507b0, port_id None from router 7d664756-164a-46cf-97c0-54657ed408b8
2025-11-05 22:31:03,471 - INFO - Deleting VM ctest-vn2-vm1-32869323
2025-11-05 22:31:03,559 - INFO - Deleting VM ctest-vn1-vm1-67581480
2025-11-05 22:31:03,635 - INFO - Deleting VN ctest-vn2-49231204
2025-11-05 22:31:03,677 - DEBUG - VN 81a28adb-db83-4bf5-9070-60b84fa18eb3 still in use: Unable to complete operation on network 81a28adb-db83-4bf5-9070-60b84fa18eb3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-05658dfa-83e4-484e-81c6-611a0b292956']
2025-11-05 22:31:03,677 - WARNING - Deleting VN ctest-vn2-49231204 failed..Will retry
2025-11-05 22:31:05,787 - DEBUG - Response for deleting network ()
2025-11-05 22:31:05,787 - INFO - Deleting VN ctest-vn1-47636231
2025-11-05 22:31:05,892 - DEBUG - Response for deleting network ()
2025-11-05 22:31:06,149 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 22:31:06,149 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:52]
2025-11-05 22:31:06,149 - INFO - --------------------------------------------------------------------------------
2025-11-05 22:31:06,833 - INFO - Deleted project: ctest-TestRouters-08583343, ID : 97d52669-970c-47b5-9783-3503fb441107