2025-11-07 22:35:47,176 - INFO - Domain Default found not creating
2025-11-07 22:35:47,307 - INFO - Project ctest-TestRouters-06089988 not found, creating it
2025-11-07 22:35:47,769 - INFO - Created Project:ctest-TestRouters-06089988, ID : 60a18089-7da4-4e63-8766-7f101f818f14
2025-11-07 22:35:49,169 - INFO - ================================================================================
2025-11-07 22:35:49,169 - INFO - STARTING TEST : test_basic_router_behavior
2025-11-07 22:35:49,169 - 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-07 22:35:49,429 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-11-07 22:35:49,431 - INFO - Initial checks done. Running the testcase now
2025-11-07 22:35:49,431 - INFO -
2025-11-07 22:35:49,957 - DEBUG - Response for create_network : {'network': {'id': '5548a2b5-c529-4974-96ec-6a9b9517cdc0', 'name': 'ctest-vn1-87364193', 'tenant_id': '60a180897da44e6387667f101f818f14', 'project_id': '60a180897da44e6387667f101f818f14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06089988', 'ctest-vn1-87364193'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 22:35:50,127 - DEBUG - Response for create_subnet : {'subnet': {'id': '37841cb8-6742-4e4a-84f1-fd4c32dd9360', 'name': '', 'tenant_id': '60a180897da44e6387667f101f818f14', 'network_id': '5548a2b5-c529-4974-96ec-6a9b9517cdc0', 'ip_version': 4, 'cidr': '40.251.219.192/26', 'allocation_pools': [{'start': '40.251.219.194', 'end': '40.251.219.254'}], 'gateway_ip': '40.251.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.251.219.194', 'tags': [], 'project_id': '60a180897da44e6387667f101f818f14'}}
2025-11-07 22:35:50,143 - INFO - Created VN ctest-vn1-87364193
2025-11-07 22:35:50,196 - DEBUG - VN ctest-vn1-87364193 UUID is 5548a2b5-c529-4974-96ec-6a9b9517cdc0
2025-11-07 22:35:50,531 - DEBUG - Response for create_network : {'network': {'id': '68d84e45-a140-4d0f-b94d-64edbe2bef48', 'name': 'ctest-vn2-61989309', 'tenant_id': '60a180897da44e6387667f101f818f14', 'project_id': '60a180897da44e6387667f101f818f14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06089988', 'ctest-vn2-61989309'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 22:35:50,731 - DEBUG - Response for create_subnet : {'subnet': {'id': '816ae06e-9521-46b5-ba29-98adbf79a090', 'name': '', 'tenant_id': '60a180897da44e6387667f101f818f14', 'network_id': '68d84e45-a140-4d0f-b94d-64edbe2bef48', 'ip_version': 4, 'cidr': '58.137.163.0/26', 'allocation_pools': [{'start': '58.137.163.2', 'end': '58.137.163.62'}], 'gateway_ip': '58.137.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.137.163.2', 'tags': [], 'project_id': '60a180897da44e6387667f101f818f14'}}
2025-11-07 22:35:50,751 - INFO - Created VN ctest-vn2-61989309
2025-11-07 22:35:50,804 - DEBUG - VN ctest-vn2-61989309 UUID is 68d84e45-a140-4d0f-b94d-64edbe2bef48
2025-11-07 22:35:51,017 - DEBUG - Services list from nova: [, , ]
2025-11-07 22:35:52,145 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4673-1)
2025-11-07 22:35:53,290 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4673-1)
2025-11-07 22:35:53,357 - INFO - Adding interface with subnet_id 37841cb8-6742-4e4a-84f1-fd4c32dd9360, port_id None to router 81d8b47b-d270-4d43-85e5-0a9a40cab71c
2025-11-07 22:35:53,592 - INFO - Waiting for VM ctest-vn1-vm1-86840103 to be up..
2025-11-07 22:35:53,677 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-07 22:35:58,750 - DEBUG - VM is in ACTIVE state now
2025-11-07 22:35:58,750 - INFO - VM name : ctest-vn1-vm1-86840103
2025-11-07 22:35:58,818 - DEBUG - VM ctest-vn1-vm1-86840103 ID is eda5017a-81fe-461b-815e-bfe5cd55181f
2025-11-07 22:35:58,836 - DEBUG - VM ctest-vn1-vm1-86840103 launched on Node cn-jenkins-deploy-platform-ansible-os-4673-1
2025-11-07 22:35:58,900 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eda5017a-81fe-461b-815e-bfe5cd55181f
2025-11-07 22:35:59,294 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eda5017a-81fe-461b-815e-bfe5cd55181f
2025-11-07 22:35:59,322 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/07d13b3f-e720-4662-8a78-47bb6d7da37c
2025-11-07 22:36:02,589 - 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 1014ms')
2025-11-07 22:36:02,589 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86840103 failed!
2025-11-07 22:36:02,640 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-06089988:ctest-vn1-87364193 is 40.251.219.193 and allocation pool is NOT set
2025-11-07 22:36:04,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=3.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.400 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.400/1.817/3.234/1.417 ms')
2025-11-07 22:36:04,699 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86840103 passed
2025-11-07 22:36:04,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 22:36:04,848 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86840103, IP 40.251.219.195, Port 22
2025-11-07 22:36:05,003 - DEBUG - VM ctest-vn1-vm1-86840103 is ready for SSH connections
2025-11-07 22:36:05,003 - INFO - Waiting for VM ctest-vn2-vm1-82342004 to be up..
2025-11-07 22:36:05,083 - DEBUG - VM is in ACTIVE state now
2025-11-07 22:36:05,083 - INFO - VM name : ctest-vn2-vm1-82342004
2025-11-07 22:36:05,152 - DEBUG - VM ctest-vn2-vm1-82342004 ID is 0d2b45bf-2b97-46fd-a992-77e0b6611155
2025-11-07 22:36:05,152 - DEBUG - VM ctest-vn2-vm1-82342004 launched on Node cn-jenkins-deploy-platform-ansible-os-4673-1
2025-11-07 22:36:05,222 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0d2b45bf-2b97-46fd-a992-77e0b6611155
2025-11-07 22:36:05,229 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ffe3ecda-8d9c-48a5-bc1d-540df859490d
2025-11-07 22:36:06,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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.592 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.592/2.035/3.478/1.443 ms')
2025-11-07 22:36:06,482 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-82342004 passed
2025-11-07 22:36:06,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 22:36:06,632 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-82342004, IP 58.137.163.3, Port 22
2025-11-07 22:36:06,804 - DEBUG - VM ctest-vn2-vm1-82342004 is ready for SSH connections
2025-11-07 22:36:06,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 22:36:06,804 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.137.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-07 22:36:06,804 - DEBUG - ping -s 56 -c 3 -W 1 58.137.163.3
2025-11-07 22:36:11,750 - DEBUG - PING 58.137.163.3 (58.137.163.3): 56 data bytes
--- 58.137.163.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-07 22:36:11,750 - WARNING - Ping to IP 58.137.163.3 from VM ctest-vn1-vm1-86840103 failed
2025-11-07 22:36:11,750 - INFO - Adding interface with subnet_id 816ae06e-9521-46b5-ba29-98adbf79a090, port_id None to router 81d8b47b-d270-4d43-85e5-0a9a40cab71c
2025-11-07 22:36:12,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 22:36:12,022 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.137.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-07 22:36:12,022 - DEBUG - ping -s 56 -c 3 -W 1 58.137.163.3
2025-11-07 22:36:14,231 - DEBUG - PING 58.137.163.3 (58.137.163.3): 56 data bytes
64 bytes from 58.137.163.3: seq=0 ttl=63 time=2.624 ms
64 bytes from 58.137.163.3: seq=1 ttl=63 time=0.856 ms
64 bytes from 58.137.163.3: seq=2 ttl=63 time=0.992 ms
--- 58.137.163.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.856/1.490/2.624 ms
2025-11-07 22:36:14,231 - INFO - Ping to IP 58.137.163.3 from VM ctest-vn1-vm1-86840103 passed
2025-11-07 22:36:14,231 - INFO - Deleting interface with subnet_id 37841cb8-6742-4e4a-84f1-fd4c32dd9360, port_id None from router 81d8b47b-d270-4d43-85e5-0a9a40cab71c
2025-11-07 22:36:14,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 22:36:14,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.137.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-07 22:36:14,332 - DEBUG - ping -s 56 -c 3 -W 1 58.137.163.3
2025-11-07 22:36:17,537 - DEBUG - PING 58.137.163.3 (58.137.163.3): 56 data bytes
--- 58.137.163.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-07 22:36:17,538 - WARNING - Ping to IP 58.137.163.3 from VM ctest-vn1-vm1-86840103 failed
2025-11-07 22:36:17,538 - INFO - Adding interface with subnet_id 37841cb8-6742-4e4a-84f1-fd4c32dd9360, port_id None to router 81d8b47b-d270-4d43-85e5-0a9a40cab71c
2025-11-07 22:36:17,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 22:36:17,743 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.137.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-07 22:36:17,743 - DEBUG - ping -s 56 -c 3 -W 1 58.137.163.3
2025-11-07 22:36:20,948 - DEBUG - PING 58.137.163.3 (58.137.163.3): 56 data bytes
64 bytes from 58.137.163.3: seq=1 ttl=63 time=1.798 ms
64 bytes from 58.137.163.3: seq=2 ttl=63 time=0.858 ms
--- 58.137.163.3 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.858/1.328/1.798 ms
2025-11-07 22:36:20,948 - WARNING - Ping to IP 58.137.163.3 from VM ctest-vn1-vm1-86840103 failed
2025-11-07 22:36:21,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.137.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-07 22:36:21,949 - DEBUG - ping -s 56 -c 3 -W 1 58.137.163.3
2025-11-07 22:36:24,155 - DEBUG - PING 58.137.163.3 (58.137.163.3): 56 data bytes
64 bytes from 58.137.163.3: seq=0 ttl=63 time=1.425 ms
64 bytes from 58.137.163.3: seq=1 ttl=63 time=0.888 ms
64 bytes from 58.137.163.3: seq=2 ttl=63 time=1.085 ms
--- 58.137.163.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.888/1.132/1.425 ms
2025-11-07 22:36:24,155 - INFO - Ping to IP 58.137.163.3 from VM ctest-vn1-vm1-86840103 passed
2025-11-07 22:36:24,155 - INFO - Deleting interface with subnet_id 816ae06e-9521-46b5-ba29-98adbf79a090, port_id None from router 81d8b47b-d270-4d43-85e5-0a9a40cab71c
2025-11-07 22:36:24,252 - INFO - Deleting interface with subnet_id 37841cb8-6742-4e4a-84f1-fd4c32dd9360, port_id None from router 81d8b47b-d270-4d43-85e5-0a9a40cab71c
2025-11-07 22:36:24,402 - INFO - Deleting VM ctest-vn2-vm1-82342004
2025-11-07 22:36:24,477 - INFO - Deleting VM ctest-vn1-vm1-86840103
2025-11-07 22:36:24,539 - INFO - Deleting VN ctest-vn2-61989309
2025-11-07 22:36:24,573 - DEBUG - VN 68d84e45-a140-4d0f-b94d-64edbe2bef48 still in use: Unable to complete operation on network 68d84e45-a140-4d0f-b94d-64edbe2bef48. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b0d13f43-b275-4f40-9f9b-6622c1c76e77']
2025-11-07 22:36:24,573 - WARNING - Deleting VN ctest-vn2-61989309 failed..Will retry
2025-11-07 22:36:26,662 - DEBUG - Response for deleting network ()
2025-11-07 22:36:26,662 - INFO - Deleting VN ctest-vn1-87364193
2025-11-07 22:36:26,763 - DEBUG - Response for deleting network ()
2025-11-07 22:36:27,022 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 22:36:27,022 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-07 22:36:27,022 - INFO - --------------------------------------------------------------------------------
2025-11-07 22:36:27,710 - INFO - Deleted project: ctest-TestRouters-06089988, ID : 60a18089-7da4-4e63-8766-7f101f818f14