2025-12-11 17:38:32,219 - INFO - Domain Default found not creating
2025-12-11 17:38:32,443 - INFO - Project ctest-TestRouters-82611793 not found, creating it
2025-12-11 17:38:33,001 - INFO - Created Project:ctest-TestRouters-82611793, ID : 4cc46d06-94ba-49c3-b5fb-e119c13d2bcb
2025-12-11 17:38:34,767 - INFO - ================================================================================
2025-12-11 17:38:34,768 - INFO - STARTING TEST : test_basic_router_behavior
2025-12-11 17:38:34,768 - 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-12-11 17:38:35,044 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.193': '0'}} with
2025-12-11 17:38:35,044 - INFO - Initial checks done. Running the testcase now
2025-12-11 17:38:35,044 - INFO -
2025-12-11 17:38:35,755 - DEBUG - Response for create_network : {'network': {'id': '428b81d0-73b4-4bff-8204-b5d03313603e', 'name': 'ctest-vn1-49954312', 'tenant_id': '4cc46d0694ba49c3b5fbe119c13d2bcb', 'project_id': '4cc46d0694ba49c3b5fbe119c13d2bcb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-82611793', 'ctest-vn1-49954312'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 17:38:35,954 - DEBUG - Response for create_subnet : {'subnet': {'id': '39522c99-c8d3-4f63-814f-282fe5be25e0', 'name': '', 'tenant_id': '4cc46d0694ba49c3b5fbe119c13d2bcb', 'network_id': '428b81d0-73b4-4bff-8204-b5d03313603e', 'ip_version': 4, 'cidr': '71.79.7.128/26', 'allocation_pools': [{'start': '71.79.7.130', 'end': '71.79.7.190'}], 'gateway_ip': '71.79.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.79.7.130', 'tags': [], 'project_id': '4cc46d0694ba49c3b5fbe119c13d2bcb'}}
2025-12-11 17:38:35,985 - INFO - Created VN ctest-vn1-49954312
2025-12-11 17:38:36,049 - DEBUG - VN ctest-vn1-49954312 UUID is 428b81d0-73b4-4bff-8204-b5d03313603e
2025-12-11 17:38:36,401 - DEBUG - Response for create_network : {'network': {'id': 'ff8a628d-4c1c-49ed-8c25-c75ec94cc4d5', 'name': 'ctest-vn2-43848588', 'tenant_id': '4cc46d0694ba49c3b5fbe119c13d2bcb', 'project_id': '4cc46d0694ba49c3b5fbe119c13d2bcb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-82611793', 'ctest-vn2-43848588'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 17:38:36,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c2801c5-3478-4bca-bcc9-c49301264332', 'name': '', 'tenant_id': '4cc46d0694ba49c3b5fbe119c13d2bcb', 'network_id': 'ff8a628d-4c1c-49ed-8c25-c75ec94cc4d5', 'ip_version': 4, 'cidr': '151.228.108.192/26', 'allocation_pools': [{'start': '151.228.108.194', 'end': '151.228.108.254'}], 'gateway_ip': '151.228.108.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.228.108.194', 'tags': [], 'project_id': '4cc46d0694ba49c3b5fbe119c13d2bcb'}}
2025-12-11 17:38:36,627 - INFO - Created VN ctest-vn2-43848588
2025-12-11 17:38:36,681 - DEBUG - VN ctest-vn2-43848588 UUID is ff8a628d-4c1c-49ed-8c25-c75ec94cc4d5
2025-12-11 17:38:36,878 - DEBUG - Services list from nova: [, , ]
2025-12-11 17:38:38,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4888-1)
2025-12-11 17:38:39,666 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4888-1)
2025-12-11 17:38:39,763 - INFO - Adding interface with subnet_id 39522c99-c8d3-4f63-814f-282fe5be25e0, port_id None to router c5170b2b-5033-4967-8020-107dce2a9295
2025-12-11 17:38:40,172 - INFO - Waiting for VM ctest-vn1-vm1-14932737 to be up..
2025-12-11 17:38:40,275 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-11 17:38:45,371 - DEBUG - VM is in ACTIVE state now
2025-12-11 17:38:45,371 - INFO - VM name : ctest-vn1-vm1-14932737
2025-12-11 17:38:45,474 - DEBUG - VM ctest-vn1-vm1-14932737 ID is 17d5f913-9496-47cb-8785-26b4900fcbac
2025-12-11 17:38:45,498 - DEBUG - VM ctest-vn1-vm1-14932737 launched on Node cn-jenkins-deploy-platform-ansible-os-4888-1
2025-12-11 17:38:45,602 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/17d5f913-9496-47cb-8785-26b4900fcbac
2025-12-11 17:38:45,918 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/17d5f913-9496-47cb-8785-26b4900fcbac
2025-12-11 17:38:45,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a927b3e3-4726-4810-98a0-25b2d4d5ec83
2025-12-11 17:38:49,278 - 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 1036ms')
2025-12-11 17:38:49,279 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14932737 failed!
2025-12-11 17:38:49,338 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-82611793:ctest-vn1-49954312 is 71.79.7.129 and allocation pool is NOT set
2025-12-11 17:38:51,409 - 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=6.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.576/4.659/6.742/2.083 ms')
2025-12-11 17:38:51,409 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14932737 passed
2025-12-11 17:38:51,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 17:38:51,569 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14932737, IP 71.79.7.131, Port 22
2025-12-11 17:38:51,741 - DEBUG - VM ctest-vn1-vm1-14932737 is ready for SSH connections
2025-12-11 17:38:51,741 - INFO - Waiting for VM ctest-vn2-vm1-55938263 to be up..
2025-12-11 17:38:51,856 - DEBUG - VM is in ACTIVE state now
2025-12-11 17:38:51,856 - INFO - VM name : ctest-vn2-vm1-55938263
2025-12-11 17:38:51,970 - DEBUG - VM ctest-vn2-vm1-55938263 ID is 5291e925-b908-402b-8065-901ee68fbe3b
2025-12-11 17:38:51,970 - DEBUG - VM ctest-vn2-vm1-55938263 launched on Node cn-jenkins-deploy-platform-ansible-os-4888-1
2025-12-11 17:38:52,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5291e925-b908-402b-8065-901ee68fbe3b
2025-12-11 17:38:52,106 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4b278c69-3a3d-4365-b15e-2bd7a4b92947
2025-12-11 17:38:53,370 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.85 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 = 3.017/3.432/3.847/0.415 ms')
2025-12-11 17:38:53,370 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-55938263 passed
2025-12-11 17:38:53,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 17:38:53,526 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-55938263, IP 151.228.108.195, Port 22
2025-12-11 17:38:53,596 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-12-11 17:38:53,693 - DEBUG - VM ctest-vn2-vm1-55938263 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-11 17:38:58,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 17:38:58,694 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-55938263, IP 151.228.108.195, Port 22
2025-12-11 17:38:58,868 - DEBUG - VM ctest-vn2-vm1-55938263 is ready for SSH connections
2025-12-11 17:38:58,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 17:38:58,869 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.228.108.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-11 17:38:58,869 - DEBUG - ping -s 56 -c 3 -W 1 151.228.108.195
2025-12-11 17:39:03,617 - DEBUG - PING 151.228.108.195 (151.228.108.195): 56 data bytes
--- 151.228.108.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-12-11 17:39:03,617 - WARNING - Ping to IP 151.228.108.195 from VM ctest-vn1-vm1-14932737 failed
2025-12-11 17:39:03,617 - INFO - Adding interface with subnet_id 3c2801c5-3478-4bca-bcc9-c49301264332, port_id None to router c5170b2b-5033-4967-8020-107dce2a9295
2025-12-11 17:39:03,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 17:39:03,917 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.228.108.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-11 17:39:03,917 - DEBUG - ping -s 56 -c 3 -W 1 151.228.108.195
2025-12-11 17:39:07,159 - DEBUG - PING 151.228.108.195 (151.228.108.195): 56 data bytes
64 bytes from 151.228.108.195: seq=1 ttl=63 time=3.957 ms
64 bytes from 151.228.108.195: seq=2 ttl=63 time=1.077 ms
--- 151.228.108.195 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.077/2.517/3.957 ms
2025-12-11 17:39:07,159 - WARNING - Ping to IP 151.228.108.195 from VM ctest-vn1-vm1-14932737 failed
2025-12-11 17:39:08,159 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.228.108.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-11 17:39:08,159 - DEBUG - ping -s 56 -c 3 -W 1 151.228.108.195
2025-12-11 17:39:10,391 - DEBUG - PING 151.228.108.195 (151.228.108.195): 56 data bytes
64 bytes from 151.228.108.195: seq=0 ttl=63 time=2.178 ms
64 bytes from 151.228.108.195: seq=1 ttl=63 time=1.383 ms
64 bytes from 151.228.108.195: seq=2 ttl=63 time=1.130 ms
--- 151.228.108.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.130/1.563/2.178 ms
2025-12-11 17:39:10,391 - INFO - Ping to IP 151.228.108.195 from VM ctest-vn1-vm1-14932737 passed
2025-12-11 17:39:10,391 - INFO - Deleting interface with subnet_id 39522c99-c8d3-4f63-814f-282fe5be25e0, port_id None from router c5170b2b-5033-4967-8020-107dce2a9295
2025-12-11 17:39:10,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 17:39:10,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.228.108.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-11 17:39:10,574 - DEBUG - ping -s 56 -c 3 -W 1 151.228.108.195
2025-12-11 17:39:13,828 - DEBUG - PING 151.228.108.195 (151.228.108.195): 56 data bytes
--- 151.228.108.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-12-11 17:39:13,829 - WARNING - Ping to IP 151.228.108.195 from VM ctest-vn1-vm1-14932737 failed
2025-12-11 17:39:13,829 - INFO - Adding interface with subnet_id 39522c99-c8d3-4f63-814f-282fe5be25e0, port_id None to router c5170b2b-5033-4967-8020-107dce2a9295
2025-12-11 17:39:14,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 17:39:14,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.228.108.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-11 17:39:14,096 - DEBUG - ping -s 56 -c 3 -W 1 151.228.108.195
2025-12-11 17:39:16,323 - DEBUG - PING 151.228.108.195 (151.228.108.195): 56 data bytes
64 bytes from 151.228.108.195: seq=0 ttl=63 time=2.522 ms
64 bytes from 151.228.108.195: seq=1 ttl=63 time=1.415 ms
64 bytes from 151.228.108.195: seq=2 ttl=63 time=0.943 ms
--- 151.228.108.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.943/1.626/2.522 ms
2025-12-11 17:39:16,324 - INFO - Ping to IP 151.228.108.195 from VM ctest-vn1-vm1-14932737 passed
2025-12-11 17:39:16,324 - INFO - Deleting interface with subnet_id 3c2801c5-3478-4bca-bcc9-c49301264332, port_id None from router c5170b2b-5033-4967-8020-107dce2a9295
2025-12-11 17:39:16,493 - INFO - Deleting interface with subnet_id 39522c99-c8d3-4f63-814f-282fe5be25e0, port_id None from router c5170b2b-5033-4967-8020-107dce2a9295
2025-12-11 17:39:16,734 - INFO - Deleting VM ctest-vn2-vm1-55938263
2025-12-11 17:39:16,829 - INFO - Deleting VM ctest-vn1-vm1-14932737
2025-12-11 17:39:16,924 - INFO - Deleting VN ctest-vn2-43848588
2025-12-11 17:39:16,968 - DEBUG - VN ff8a628d-4c1c-49ed-8c25-c75ec94cc4d5 still in use: Unable to complete operation on network ff8a628d-4c1c-49ed-8c25-c75ec94cc4d5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-608027d3-d002-40f9-b93f-6fe7045aefca']
2025-12-11 17:39:16,968 - WARNING - Deleting VN ctest-vn2-43848588 failed..Will retry
2025-12-11 17:39:19,093 - DEBUG - Response for deleting network ()
2025-12-11 17:39:19,093 - INFO - Deleting VN ctest-vn1-49954312
2025-12-11 17:39:19,231 - DEBUG - Response for deleting network ()
2025-12-11 17:39:19,492 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 17:39:19,492 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-12-11 17:39:19,492 - INFO - --------------------------------------------------------------------------------
2025-12-11 17:39:20,238 - INFO - Deleted project: ctest-TestRouters-82611793, ID : 4cc46d06-94ba-49c3-b5fb-e119c13d2bcb