2025-10-06 16:10:25,995 - INFO - Domain Default found not creating
2025-10-06 16:10:26,156 - INFO - Project ctest-TestRouters-40076604 not found, creating it
2025-10-06 16:10:26,678 - INFO - Created Project:ctest-TestRouters-40076604, ID : 83073bd3-684b-4d2c-bbd6-f6cdc3552e45
2025-10-06 16:10:28,192 - INFO - ================================================================================
2025-10-06 16:10:28,192 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-06 16:10:28,192 - 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-06 16:10:28,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-10-06 16:10:28,464 - INFO - Initial checks done. Running the testcase now
2025-10-06 16:10:28,464 - INFO -
2025-10-06 16:10:29,094 - DEBUG - Response for create_network : {'network': {'id': '0ac4e5f6-0e4d-44e8-9f8d-bc3450baa7c2', 'name': 'ctest-vn1-57251124', 'tenant_id': '83073bd3684b4d2cbbd6f6cdc3552e45', 'project_id': '83073bd3684b4d2cbbd6f6cdc3552e45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-40076604', 'ctest-vn1-57251124'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 16:10:29,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '4349f0df-abdd-495c-9bf4-307ff52a7b4e', 'name': '', 'tenant_id': '83073bd3684b4d2cbbd6f6cdc3552e45', 'network_id': '0ac4e5f6-0e4d-44e8-9f8d-bc3450baa7c2', 'ip_version': 4, 'cidr': '151.179.24.192/26', 'allocation_pools': [{'start': '151.179.24.194', 'end': '151.179.24.254'}], 'gateway_ip': '151.179.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.179.24.194', 'tags': [], 'project_id': '83073bd3684b4d2cbbd6f6cdc3552e45'}}
2025-10-06 16:10:29,348 - INFO - Created VN ctest-vn1-57251124
2025-10-06 16:10:29,407 - DEBUG - VN ctest-vn1-57251124 UUID is 0ac4e5f6-0e4d-44e8-9f8d-bc3450baa7c2
2025-10-06 16:10:29,743 - DEBUG - Response for create_network : {'network': {'id': 'f212519b-ea1b-476d-9eb8-2fbf402a09f0', 'name': 'ctest-vn2-82079106', 'tenant_id': '83073bd3684b4d2cbbd6f6cdc3552e45', 'project_id': '83073bd3684b4d2cbbd6f6cdc3552e45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-40076604', 'ctest-vn2-82079106'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 16:10:29,932 - DEBUG - Response for create_subnet : {'subnet': {'id': '053ac0cb-6030-45f1-8db1-493f594f569f', 'name': '', 'tenant_id': '83073bd3684b4d2cbbd6f6cdc3552e45', 'network_id': 'f212519b-ea1b-476d-9eb8-2fbf402a09f0', 'ip_version': 4, 'cidr': '38.33.160.192/26', 'allocation_pools': [{'start': '38.33.160.194', 'end': '38.33.160.254'}], 'gateway_ip': '38.33.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.33.160.194', 'tags': [], 'project_id': '83073bd3684b4d2cbbd6f6cdc3552e45'}}
2025-10-06 16:10:29,950 - INFO - Created VN ctest-vn2-82079106
2025-10-06 16:10:30,003 - DEBUG - VN ctest-vn2-82079106 UUID is f212519b-ea1b-476d-9eb8-2fbf402a09f0
2025-10-06 16:10:30,173 - DEBUG - Services list from nova: [, , ]
2025-10-06 16:10:31,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4225-1)
2025-10-06 16:10:32,558 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4225-1)
2025-10-06 16:10:32,653 - INFO - Adding interface with subnet_id 4349f0df-abdd-495c-9bf4-307ff52a7b4e, port_id None to router 9ff8eb4b-3d1f-45a2-a158-c7951e39f537
2025-10-06 16:10:32,961 - INFO - Waiting for VM ctest-vn1-vm1-37009034 to be up..
2025-10-06 16:10:33,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-06 16:10:38,139 - DEBUG - VM is in ACTIVE state now
2025-10-06 16:10:38,140 - INFO - VM name : ctest-vn1-vm1-37009034
2025-10-06 16:10:38,212 - DEBUG - VM ctest-vn1-vm1-37009034 ID is 3c5e5b38-ddad-4303-a00f-e188430b05d2
2025-10-06 16:10:38,240 - DEBUG - VM ctest-vn1-vm1-37009034 launched on Node cn-jenkins-deploy-platform-ansible-os-4225-1
2025-10-06 16:10:38,325 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3c5e5b38-ddad-4303-a00f-e188430b05d2
2025-10-06 16:10:38,620 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3c5e5b38-ddad-4303-a00f-e188430b05d2
2025-10-06 16:10:38,653 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d12928db-53c5-4681-aa3d-33f8e6057ac7
2025-10-06 16:10:41,942 - 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 1031ms')
2025-10-06 16:10:41,943 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37009034 failed!
2025-10-06 16:10:41,999 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-40076604:ctest-vn1-57251124 is 151.179.24.193 and allocation pool is NOT set
2025-10-06 16:10:44,058 - 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=3.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.517 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.517/1.866/3.215/1.349 ms')
2025-10-06 16:10:44,058 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37009034 passed
2025-10-06 16:10:44,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 16:10:44,207 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37009034, IP 151.179.24.195, Port 22
2025-10-06 16:10:44,370 - DEBUG - VM ctest-vn1-vm1-37009034 is ready for SSH connections
2025-10-06 16:10:44,370 - INFO - Waiting for VM ctest-vn2-vm1-36725382 to be up..
2025-10-06 16:10:44,448 - DEBUG - VM is in ACTIVE state now
2025-10-06 16:10:44,448 - INFO - VM name : ctest-vn2-vm1-36725382
2025-10-06 16:10:44,547 - DEBUG - VM ctest-vn2-vm1-36725382 ID is 0d085713-f13a-4592-b7ba-7e8202361d58
2025-10-06 16:10:44,547 - DEBUG - VM ctest-vn2-vm1-36725382 launched on Node cn-jenkins-deploy-platform-ansible-os-4225-1
2025-10-06 16:10:44,630 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0d085713-f13a-4592-b7ba-7e8202361d58
2025-10-06 16:10:44,640 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a2c4bbb2-cc0d-4f8a-a3fc-ae3e8729a390
2025-10-06 16:10:45,877 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/1.789/3.082/1.293 ms')
2025-10-06 16:10:45,877 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-36725382 passed
2025-10-06 16:10:46,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 16:10:46,027 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-36725382, IP 38.33.160.195, Port 22
2025-10-06 16:10:46,190 - DEBUG - VM ctest-vn2-vm1-36725382 is ready for SSH connections
2025-10-06 16:10:46,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 16:10:46,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.33.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-06 16:10:46,190 - DEBUG - ping -s 56 -c 3 -W 1 38.33.160.195
2025-10-06 16:10:51,189 - DEBUG - PING 38.33.160.195 (38.33.160.195): 56 data bytes
--- 38.33.160.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-06 16:10:51,189 - WARNING - Ping to IP 38.33.160.195 from VM ctest-vn1-vm1-37009034 failed
2025-10-06 16:10:51,189 - INFO - Adding interface with subnet_id 053ac0cb-6030-45f1-8db1-493f594f569f, port_id None to router 9ff8eb4b-3d1f-45a2-a158-c7951e39f537
2025-10-06 16:10:51,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 16:10:51,485 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.33.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-06 16:10:51,485 - DEBUG - ping -s 56 -c 3 -W 1 38.33.160.195
2025-10-06 16:10:54,690 - DEBUG - PING 38.33.160.195 (38.33.160.195): 56 data bytes
64 bytes from 38.33.160.195: seq=1 ttl=63 time=2.976 ms
64 bytes from 38.33.160.195: seq=2 ttl=63 time=0.914 ms
--- 38.33.160.195 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.914/1.945/2.976 ms
2025-10-06 16:10:54,691 - WARNING - Ping to IP 38.33.160.195 from VM ctest-vn1-vm1-37009034 failed
2025-10-06 16:10:55,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.33.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-06 16:10:55,692 - DEBUG - ping -s 56 -c 3 -W 1 38.33.160.195
2025-10-06 16:10:57,903 - DEBUG - PING 38.33.160.195 (38.33.160.195): 56 data bytes
64 bytes from 38.33.160.195: seq=0 ttl=63 time=1.884 ms
64 bytes from 38.33.160.195: seq=1 ttl=63 time=1.090 ms
64 bytes from 38.33.160.195: seq=2 ttl=63 time=1.063 ms
--- 38.33.160.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.063/1.345/1.884 ms
2025-10-06 16:10:57,903 - INFO - Ping to IP 38.33.160.195 from VM ctest-vn1-vm1-37009034 passed
2025-10-06 16:10:57,903 - INFO - Deleting interface with subnet_id 4349f0df-abdd-495c-9bf4-307ff52a7b4e, port_id None from router 9ff8eb4b-3d1f-45a2-a158-c7951e39f537
2025-10-06 16:10:58,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 16:10:58,025 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.33.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-06 16:10:58,025 - DEBUG - ping -s 56 -c 3 -W 1 38.33.160.195
2025-10-06 16:11:01,263 - DEBUG - PING 38.33.160.195 (38.33.160.195): 56 data bytes
--- 38.33.160.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-06 16:11:01,264 - WARNING - Ping to IP 38.33.160.195 from VM ctest-vn1-vm1-37009034 failed
2025-10-06 16:11:01,264 - INFO - Adding interface with subnet_id 4349f0df-abdd-495c-9bf4-307ff52a7b4e, port_id None to router 9ff8eb4b-3d1f-45a2-a158-c7951e39f537
2025-10-06 16:11:01,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 16:11:01,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.33.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-06 16:11:01,482 - DEBUG - ping -s 56 -c 3 -W 1 38.33.160.195
2025-10-06 16:11:03,697 - DEBUG - PING 38.33.160.195 (38.33.160.195): 56 data bytes
64 bytes from 38.33.160.195: seq=0 ttl=63 time=1.759 ms
64 bytes from 38.33.160.195: seq=1 ttl=63 time=1.083 ms
64 bytes from 38.33.160.195: seq=2 ttl=63 time=1.059 ms
--- 38.33.160.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.059/1.300/1.759 ms
2025-10-06 16:11:03,697 - INFO - Ping to IP 38.33.160.195 from VM ctest-vn1-vm1-37009034 passed
2025-10-06 16:11:03,697 - INFO - Deleting interface with subnet_id 053ac0cb-6030-45f1-8db1-493f594f569f, port_id None from router 9ff8eb4b-3d1f-45a2-a158-c7951e39f537
2025-10-06 16:11:03,824 - INFO - Deleting interface with subnet_id 4349f0df-abdd-495c-9bf4-307ff52a7b4e, port_id None from router 9ff8eb4b-3d1f-45a2-a158-c7951e39f537
2025-10-06 16:11:04,000 - INFO - Deleting VM ctest-vn2-vm1-36725382
2025-10-06 16:11:04,085 - INFO - Deleting VM ctest-vn1-vm1-37009034
2025-10-06 16:11:04,166 - INFO - Deleting VN ctest-vn2-82079106
2025-10-06 16:11:04,213 - DEBUG - VN f212519b-ea1b-476d-9eb8-2fbf402a09f0 still in use: Unable to complete operation on network f212519b-ea1b-476d-9eb8-2fbf402a09f0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-31fdb203-1338-4117-b656-234ae233dd32']
2025-10-06 16:11:04,213 - WARNING - Deleting VN ctest-vn2-82079106 failed..Will retry
2025-10-06 16:11:06,317 - DEBUG - Response for deleting network ()
2025-10-06 16:11:06,317 - INFO - Deleting VN ctest-vn1-57251124
2025-10-06 16:11:06,419 - DEBUG - Response for deleting network ()
2025-10-06 16:11:06,676 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 16:11:06,676 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-06 16:11:06,676 - INFO - --------------------------------------------------------------------------------
2025-10-06 16:11:07,399 - INFO - Deleted project: ctest-TestRouters-40076604, ID : 83073bd3-684b-4d2c-bbd6-f6cdc3552e45