2025-10-22 14:07:00,811 - INFO - Domain Default found not creating
2025-10-22 14:07:01,041 - INFO - Project ctest-TestRouters-17880841 not found, creating it
2025-10-22 14:07:01,656 - INFO - Created Project:ctest-TestRouters-17880841, ID : 407d2585-744c-461c-824f-772b66d0b1f0
2025-10-22 14:07:03,522 - INFO - ================================================================================
2025-10-22 14:07:03,522 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-22 14:07:03,522 - 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-22 14:07:03,813 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with
2025-10-22 14:07:03,813 - INFO - Initial checks done. Running the testcase now
2025-10-22 14:07:03,813 - INFO -
2025-10-22 14:07:04,484 - DEBUG - Response for create_network : {'network': {'id': '80e7ca79-c08c-44da-9b21-12c6590be9d2', 'name': 'ctest-vn1-39050621', 'tenant_id': '407d2585744c461c824f772b66d0b1f0', 'project_id': '407d2585744c461c824f772b66d0b1f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17880841', 'ctest-vn1-39050621'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 14:07:04,752 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dea3119c-b29a-406e-9df0-d17dd91a0aa9', 'name': '', 'tenant_id': '407d2585744c461c824f772b66d0b1f0', 'network_id': '80e7ca79-c08c-44da-9b21-12c6590be9d2', 'ip_version': 4, 'cidr': '32.167.147.192/26', 'allocation_pools': [{'start': '32.167.147.194', 'end': '32.167.147.254'}], 'gateway_ip': '32.167.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.167.147.194', 'tags': [], 'project_id': '407d2585744c461c824f772b66d0b1f0'}}
2025-10-22 14:07:04,781 - INFO - Created VN ctest-vn1-39050621
2025-10-22 14:07:04,836 - DEBUG - VN ctest-vn1-39050621 UUID is 80e7ca79-c08c-44da-9b21-12c6590be9d2
2025-10-22 14:07:05,187 - DEBUG - Response for create_network : {'network': {'id': '36a70463-0b65-4918-b098-ef0798facfd0', 'name': 'ctest-vn2-44922504', 'tenant_id': '407d2585744c461c824f772b66d0b1f0', 'project_id': '407d2585744c461c824f772b66d0b1f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17880841', 'ctest-vn2-44922504'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 14:07:05,359 - DEBUG - Response for create_subnet : {'subnet': {'id': '42d3c605-fac3-47c8-bed6-e530debc7f1b', 'name': '', 'tenant_id': '407d2585744c461c824f772b66d0b1f0', 'network_id': '36a70463-0b65-4918-b098-ef0798facfd0', 'ip_version': 4, 'cidr': '102.61.16.192/26', 'allocation_pools': [{'start': '102.61.16.194', 'end': '102.61.16.254'}], 'gateway_ip': '102.61.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.61.16.194', 'tags': [], 'project_id': '407d2585744c461c824f772b66d0b1f0'}}
2025-10-22 14:07:05,386 - INFO - Created VN ctest-vn2-44922504
2025-10-22 14:07:05,444 - DEBUG - VN ctest-vn2-44922504 UUID is 36a70463-0b65-4918-b098-ef0798facfd0
2025-10-22 14:07:05,653 - DEBUG - Services list from nova: [, , ]
2025-10-22 14:07:06,950 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4429-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4429-1)
2025-10-22 14:07:08,423 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4429-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4429-1)
2025-10-22 14:07:08,522 - INFO - Adding interface with subnet_id dea3119c-b29a-406e-9df0-d17dd91a0aa9, port_id None to router c6548737-e423-4329-8117-1fdb99264e3f
2025-10-22 14:07:08,902 - INFO - Waiting for VM ctest-vn1-vm1-65374066 to be up..
2025-10-22 14:07:09,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-22 14:07:14,221 - DEBUG - VM is in ACTIVE state now
2025-10-22 14:07:14,221 - INFO - VM name : ctest-vn1-vm1-65374066
2025-10-22 14:07:14,305 - DEBUG - VM ctest-vn1-vm1-65374066 ID is 00289105-d1b0-4ca3-953e-edd7b0592fc1
2025-10-22 14:07:14,326 - DEBUG - VM ctest-vn1-vm1-65374066 launched on Node cn-jenkins-deploy-platform-ansible-os-4429-1
2025-10-22 14:07:14,416 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/00289105-d1b0-4ca3-953e-edd7b0592fc1
2025-10-22 14:07:14,719 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/00289105-d1b0-4ca3-953e-edd7b0592fc1
2025-10-22 14:07:14,753 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f27796f3-224f-489d-b7c7-cc9db2a3bdc5
2025-10-22 14:07:18,037 - 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 1011ms')
2025-10-22 14:07:18,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65374066 failed!
2025-10-22 14:07:18,097 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-17880841:ctest-vn1-39050621 is 32.167.147.193 and allocation pool is NOT set
2025-10-22 14:07:20,164 - 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=4.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.944/3.598/4.252/0.654 ms')
2025-10-22 14:07:20,164 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65374066 passed
2025-10-22 14:07:20,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:07:20,332 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65374066, IP 32.167.147.195, Port 22
2025-10-22 14:07:20,511 - DEBUG - VM ctest-vn1-vm1-65374066 is ready for SSH connections
2025-10-22 14:07:20,511 - INFO - Waiting for VM ctest-vn2-vm1-87528579 to be up..
2025-10-22 14:07:20,656 - DEBUG - VM is in ACTIVE state now
2025-10-22 14:07:20,656 - INFO - VM name : ctest-vn2-vm1-87528579
2025-10-22 14:07:20,783 - DEBUG - VM ctest-vn2-vm1-87528579 ID is 1836b000-8dba-4c42-bf8e-952e611ad510
2025-10-22 14:07:20,784 - DEBUG - VM ctest-vn2-vm1-87528579 launched on Node cn-jenkins-deploy-platform-ansible-os-4429-1
2025-10-22 14:07:20,950 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/1836b000-8dba-4c42-bf8e-952e611ad510
2025-10-22 14:07:20,961 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/2f8d420e-451d-443e-a4e2-77f410619036
2025-10-22 14:07:22,226 - 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=4.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.52 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 = 1.519/3.185/4.851/1.666 ms')
2025-10-22 14:07:22,227 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-87528579 passed
2025-10-22 14:07:22,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:07:22,396 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-87528579, IP 102.61.16.195, Port 22
2025-10-22 14:07:22,462 - 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-10-22 14:07:22,567 - DEBUG - VM ctest-vn2-vm1-87528579 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-22 14:07:27,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:07:27,568 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-87528579, IP 102.61.16.195, Port 22
2025-10-22 14:07:27,752 - DEBUG - VM ctest-vn2-vm1-87528579 is ready for SSH connections
2025-10-22 14:07:27,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:07:27,752 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.61.16.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-22 14:07:27,752 - DEBUG - ping -s 56 -c 3 -W 1 102.61.16.195
2025-10-22 14:07:33,123 - DEBUG - PING 102.61.16.195 (102.61.16.195): 56 data bytes
--- 102.61.16.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-22 14:07:33,124 - WARNING - Ping to IP 102.61.16.195 from VM ctest-vn1-vm1-65374066 failed
2025-10-22 14:07:33,124 - INFO - Adding interface with subnet_id 42d3c605-fac3-47c8-bed6-e530debc7f1b, port_id None to router c6548737-e423-4329-8117-1fdb99264e3f
2025-10-22 14:07:33,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:07:33,467 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.61.16.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-22 14:07:33,468 - DEBUG - ping -s 56 -c 3 -W 1 102.61.16.195
2025-10-22 14:07:35,701 - DEBUG - PING 102.61.16.195 (102.61.16.195): 56 data bytes
64 bytes from 102.61.16.195: seq=0 ttl=63 time=4.436 ms
64 bytes from 102.61.16.195: seq=1 ttl=63 time=0.830 ms
64 bytes from 102.61.16.195: seq=2 ttl=63 time=1.543 ms
--- 102.61.16.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.830/2.269/4.436 ms
2025-10-22 14:07:35,701 - INFO - Ping to IP 102.61.16.195 from VM ctest-vn1-vm1-65374066 passed
2025-10-22 14:07:35,701 - INFO - Deleting interface with subnet_id dea3119c-b29a-406e-9df0-d17dd91a0aa9, port_id None from router c6548737-e423-4329-8117-1fdb99264e3f
2025-10-22 14:07:35,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:07:35,893 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.61.16.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-22 14:07:35,894 - DEBUG - ping -s 56 -c 3 -W 1 102.61.16.195
2025-10-22 14:07:39,129 - DEBUG - PING 102.61.16.195 (102.61.16.195): 56 data bytes
--- 102.61.16.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-22 14:07:39,129 - WARNING - Ping to IP 102.61.16.195 from VM ctest-vn1-vm1-65374066 failed
2025-10-22 14:07:39,129 - INFO - Adding interface with subnet_id dea3119c-b29a-406e-9df0-d17dd91a0aa9, port_id None to router c6548737-e423-4329-8117-1fdb99264e3f
2025-10-22 14:07:39,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:07:39,441 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.61.16.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-22 14:07:39,441 - DEBUG - ping -s 56 -c 3 -W 1 102.61.16.195
2025-10-22 14:07:41,669 - DEBUG - PING 102.61.16.195 (102.61.16.195): 56 data bytes
64 bytes from 102.61.16.195: seq=0 ttl=63 time=1.787 ms
64 bytes from 102.61.16.195: seq=1 ttl=63 time=1.673 ms
64 bytes from 102.61.16.195: seq=2 ttl=63 time=2.035 ms
--- 102.61.16.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.673/1.831/2.035 ms
2025-10-22 14:07:41,669 - INFO - Ping to IP 102.61.16.195 from VM ctest-vn1-vm1-65374066 passed
2025-10-22 14:07:41,670 - INFO - Deleting interface with subnet_id 42d3c605-fac3-47c8-bed6-e530debc7f1b, port_id None from router c6548737-e423-4329-8117-1fdb99264e3f
2025-10-22 14:07:41,860 - INFO - Deleting interface with subnet_id dea3119c-b29a-406e-9df0-d17dd91a0aa9, port_id None from router c6548737-e423-4329-8117-1fdb99264e3f
2025-10-22 14:07:42,077 - INFO - Deleting VM ctest-vn2-vm1-87528579
2025-10-22 14:07:42,158 - INFO - Deleting VM ctest-vn1-vm1-65374066
2025-10-22 14:07:42,249 - INFO - Deleting VN ctest-vn2-44922504
2025-10-22 14:07:42,304 - DEBUG - VN 36a70463-0b65-4918-b098-ef0798facfd0 still in use: Unable to complete operation on network 36a70463-0b65-4918-b098-ef0798facfd0. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-98ad073e-859d-4c4f-9cce-4022d570fc5a']
2025-10-22 14:07:42,304 - WARNING - Deleting VN ctest-vn2-44922504 failed..Will retry
2025-10-22 14:07:44,483 - DEBUG - Response for deleting network ()
2025-10-22 14:07:44,483 - INFO - Deleting VN ctest-vn1-39050621
2025-10-22 14:07:44,620 - DEBUG - Response for deleting network ()
2025-10-22 14:07:44,894 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:07:44,894 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41]
2025-10-22 14:07:44,894 - INFO - --------------------------------------------------------------------------------
2025-10-22 14:07:45,724 - INFO - Deleted project: ctest-TestRouters-17880841, ID : 407d2585-744c-461c-824f-772b66d0b1f0