2025-11-25 12:40:02,156 - INFO - Domain Default found not creating
2025-11-25 12:40:02,353 - INFO - Project ctest-TestRouters-43593020 not found, creating it
2025-11-25 12:40:03,108 - INFO - Created Project:ctest-TestRouters-43593020, ID : ba914502-66e2-4ead-838d-e010f02220c2
2025-11-25 12:40:05,073 - INFO - ================================================================================
2025-11-25 12:40:05,073 - INFO - STARTING TEST : test_basic_router_behavior
2025-11-25 12:40:05,073 - 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-25 12:40:05,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-11-25 12:40:05,349 - INFO - Initial checks done. Running the testcase now
2025-11-25 12:40:05,349 - INFO -
2025-11-25 12:40:05,979 - DEBUG - Response for create_network : {'network': {'id': '05f4788c-35f3-4731-928a-100d216523ca', 'name': 'ctest-vn1-25245804', 'tenant_id': 'ba91450266e24ead838de010f02220c2', 'project_id': 'ba91450266e24ead838de010f02220c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-43593020', 'ctest-vn1-25245804'], 'port_security_enabled': True, 'description': ''}}
2025-11-25 12:40:06,176 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3358d9f-4ce5-46b2-bb01-2a79c13d8823', 'name': '', 'tenant_id': 'ba91450266e24ead838de010f02220c2', 'network_id': '05f4788c-35f3-4731-928a-100d216523ca', 'ip_version': 4, 'cidr': '81.147.131.128/26', 'allocation_pools': [{'start': '81.147.131.130', 'end': '81.147.131.190'}], 'gateway_ip': '81.147.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.147.131.130', 'tags': [], 'project_id': 'ba91450266e24ead838de010f02220c2'}}
2025-11-25 12:40:06,204 - INFO - Created VN ctest-vn1-25245804
2025-11-25 12:40:06,263 - DEBUG - VN ctest-vn1-25245804 UUID is 05f4788c-35f3-4731-928a-100d216523ca
2025-11-25 12:40:06,598 - DEBUG - Response for create_network : {'network': {'id': '97615f58-844e-4b00-8aba-3be12879e257', 'name': 'ctest-vn2-12283152', 'tenant_id': 'ba91450266e24ead838de010f02220c2', 'project_id': 'ba91450266e24ead838de010f02220c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-43593020', 'ctest-vn2-12283152'], 'port_security_enabled': True, 'description': ''}}
2025-11-25 12:40:06,798 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd08003d1-b809-4357-b81f-3f067d678ec5', 'name': '', 'tenant_id': 'ba91450266e24ead838de010f02220c2', 'network_id': '97615f58-844e-4b00-8aba-3be12879e257', 'ip_version': 4, 'cidr': '213.78.218.64/26', 'allocation_pools': [{'start': '213.78.218.66', 'end': '213.78.218.126'}], 'gateway_ip': '213.78.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.78.218.66', 'tags': [], 'project_id': 'ba91450266e24ead838de010f02220c2'}}
2025-11-25 12:40:06,819 - INFO - Created VN ctest-vn2-12283152
2025-11-25 12:40:06,875 - DEBUG - VN ctest-vn2-12283152 UUID is 97615f58-844e-4b00-8aba-3be12879e257
2025-11-25 12:40:07,072 - DEBUG - Services list from nova: [, , ]
2025-11-25 12:40:08,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4816-1)
2025-11-25 12:40:09,733 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4816-1)
2025-11-25 12:40:09,837 - INFO - Adding interface with subnet_id a3358d9f-4ce5-46b2-bb01-2a79c13d8823, port_id None to router d4e2dd46-cde5-497f-921d-f0e1c57cff91
2025-11-25 12:40:10,231 - INFO - Waiting for VM ctest-vn1-vm1-97550276 to be up..
2025-11-25 12:40:10,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-25 12:40:15,423 - DEBUG - VM is in ACTIVE state now
2025-11-25 12:40:15,423 - INFO - VM name : ctest-vn1-vm1-97550276
2025-11-25 12:40:15,509 - DEBUG - VM ctest-vn1-vm1-97550276 ID is b6a3a8b0-284a-4819-a64f-f69b82800e1c
2025-11-25 12:40:15,532 - DEBUG - VM ctest-vn1-vm1-97550276 launched on Node cn-jenkins-deploy-platform-ansible-os-4816-1
2025-11-25 12:40:15,629 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b6a3a8b0-284a-4819-a64f-f69b82800e1c
2025-11-25 12:40:15,945 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b6a3a8b0-284a-4819-a64f-f69b82800e1c
2025-11-25 12:40:15,990 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4b94b0ca-1127-4733-9075-112369617682
2025-11-25 12:40:19,272 - 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-11-25 12:40:19,272 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97550276 failed!
2025-11-25 12:40:19,331 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-43593020:ctest-vn1-25245804 is 81.147.131.129 and allocation pool is NOT set
2025-11-25 12:40:21,394 - 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=5.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.91 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 = 1.909/3.834/5.760/1.925 ms')
2025-11-25 12:40:21,394 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97550276 passed
2025-11-25 12:40:21,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-25 12:40:21,551 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97550276, IP 81.147.131.131, Port 22
2025-11-25 12:40:21,617 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-25 12:40:21,734 - DEBUG - VM ctest-vn1-vm1-97550276 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-25 12:40:26,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-25 12:40:26,735 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97550276, IP 81.147.131.131, Port 22
2025-11-25 12:40:26,909 - DEBUG - VM ctest-vn1-vm1-97550276 is ready for SSH connections
2025-11-25 12:40:26,909 - INFO - Waiting for VM ctest-vn2-vm1-21983799 to be up..
2025-11-25 12:40:27,000 - DEBUG - VM is in ACTIVE state now
2025-11-25 12:40:27,000 - INFO - VM name : ctest-vn2-vm1-21983799
2025-11-25 12:40:27,098 - DEBUG - VM ctest-vn2-vm1-21983799 ID is 08338313-0ca9-4f08-95e6-a2bf2cf1ca0d
2025-11-25 12:40:27,098 - DEBUG - VM ctest-vn2-vm1-21983799 launched on Node cn-jenkins-deploy-platform-ansible-os-4816-1
2025-11-25 12:40:27,196 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/08338313-0ca9-4f08-95e6-a2bf2cf1ca0d
2025-11-25 12:40:27,208 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ed4537a4-4f7f-4997-932a-08480d056771
2025-11-25 12:40:28,465 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.609 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.609/2.753/4.898/2.144 ms')
2025-11-25 12:40:28,465 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-21983799 passed
2025-11-25 12:40:28,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-25 12:40:28,619 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-21983799, IP 213.78.218.67, Port 22
2025-11-25 12:40:28,790 - DEBUG - VM ctest-vn2-vm1-21983799 is ready for SSH connections
2025-11-25 12:40:28,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-25 12:40:28,790 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.78.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-25 12:40:28,790 - DEBUG - ping -s 56 -c 3 -W 1 213.78.218.67
2025-11-25 12:40:34,009 - DEBUG - PING 213.78.218.67 (213.78.218.67): 56 data bytes
--- 213.78.218.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-25 12:40:34,009 - WARNING - Ping to IP 213.78.218.67 from VM ctest-vn1-vm1-97550276 failed
2025-11-25 12:40:34,009 - INFO - Adding interface with subnet_id d08003d1-b809-4357-b81f-3f067d678ec5, port_id None to router d4e2dd46-cde5-497f-921d-f0e1c57cff91
2025-11-25 12:40:34,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-25 12:40:34,294 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.78.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-25 12:40:34,295 - DEBUG - ping -s 56 -c 3 -W 1 213.78.218.67
2025-11-25 12:40:37,586 - DEBUG - PING 213.78.218.67 (213.78.218.67): 56 data bytes
64 bytes from 213.78.218.67: seq=1 ttl=63 time=7.061 ms
64 bytes from 213.78.218.67: seq=2 ttl=63 time=1.127 ms
--- 213.78.218.67 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.127/4.094/7.061 ms
2025-11-25 12:40:37,586 - WARNING - Ping to IP 213.78.218.67 from VM ctest-vn1-vm1-97550276 failed
2025-11-25 12:40:38,588 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.78.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-25 12:40:38,588 - DEBUG - ping -s 56 -c 3 -W 1 213.78.218.67
2025-11-25 12:40:40,895 - DEBUG - PING 213.78.218.67 (213.78.218.67): 56 data bytes
64 bytes from 213.78.218.67: seq=0 ttl=63 time=1.712 ms
64 bytes from 213.78.218.67: seq=1 ttl=63 time=1.035 ms
64 bytes from 213.78.218.67: seq=2 ttl=63 time=1.094 ms
--- 213.78.218.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.035/1.280/1.712 ms
2025-11-25 12:40:40,895 - INFO - Ping to IP 213.78.218.67 from VM ctest-vn1-vm1-97550276 passed
2025-11-25 12:40:40,896 - INFO - Deleting interface with subnet_id a3358d9f-4ce5-46b2-bb01-2a79c13d8823, port_id None from router d4e2dd46-cde5-497f-921d-f0e1c57cff91
2025-11-25 12:40:41,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-25 12:40:41,057 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.78.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-25 12:40:41,057 - DEBUG - ping -s 56 -c 3 -W 1 213.78.218.67
2025-11-25 12:40:44,373 - DEBUG - PING 213.78.218.67 (213.78.218.67): 56 data bytes
--- 213.78.218.67 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-25 12:40:44,373 - WARNING - Ping to IP 213.78.218.67 from VM ctest-vn1-vm1-97550276 failed
2025-11-25 12:40:44,373 - INFO - Adding interface with subnet_id a3358d9f-4ce5-46b2-bb01-2a79c13d8823, port_id None to router d4e2dd46-cde5-497f-921d-f0e1c57cff91
2025-11-25 12:40:44,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-25 12:40:44,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.78.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-25 12:40:44,628 - DEBUG - ping -s 56 -c 3 -W 1 213.78.218.67
2025-11-25 12:40:46,940 - DEBUG - PING 213.78.218.67 (213.78.218.67): 56 data bytes
64 bytes from 213.78.218.67: seq=0 ttl=63 time=1.337 ms
64 bytes from 213.78.218.67: seq=1 ttl=63 time=1.501 ms
64 bytes from 213.78.218.67: seq=2 ttl=63 time=1.314 ms
--- 213.78.218.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.314/1.384/1.501 ms
2025-11-25 12:40:46,941 - INFO - Ping to IP 213.78.218.67 from VM ctest-vn1-vm1-97550276 passed
2025-11-25 12:40:46,941 - INFO - Deleting interface with subnet_id d08003d1-b809-4357-b81f-3f067d678ec5, port_id None from router d4e2dd46-cde5-497f-921d-f0e1c57cff91
2025-11-25 12:40:47,107 - INFO - Deleting interface with subnet_id a3358d9f-4ce5-46b2-bb01-2a79c13d8823, port_id None from router d4e2dd46-cde5-497f-921d-f0e1c57cff91
2025-11-25 12:40:47,306 - INFO - Deleting VM ctest-vn2-vm1-21983799
2025-11-25 12:40:47,406 - INFO - Deleting VM ctest-vn1-vm1-97550276
2025-11-25 12:40:47,500 - INFO - Deleting VN ctest-vn2-12283152
2025-11-25 12:40:47,557 - DEBUG - VN 97615f58-844e-4b00-8aba-3be12879e257 still in use: Unable to complete operation on network 97615f58-844e-4b00-8aba-3be12879e257. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fe995211-8b87-49e6-8faa-8d44b415fda1']
2025-11-25 12:40:47,557 - WARNING - Deleting VN ctest-vn2-12283152 failed..Will retry
2025-11-25 12:40:49,711 - DEBUG - Response for deleting network ()
2025-11-25 12:40:49,711 - INFO - Deleting VN ctest-vn1-25245804
2025-11-25 12:40:49,827 - DEBUG - Response for deleting network ()
2025-11-25 12:40:50,093 - DEBUG - No XMPP flaps were noticed during the test
2025-11-25 12:40:50,093 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-11-25 12:40:50,093 - INFO - --------------------------------------------------------------------------------
2025-11-25 12:40:50,866 - INFO - Deleted project: ctest-TestRouters-43593020, ID : ba914502-66e2-4ead-838d-e010f02220c2