2025-10-16 17:11:54,321 - INFO - Domain Default found not creating 2025-10-16 17:11:54,586 - INFO - Project ctest-TestRouters-17919479 not found, creating it 2025-10-16 17:11:55,186 - INFO - Created Project:ctest-TestRouters-17919479, ID : 86d181f9-07c2-4ebb-980e-5b02ef1ef63a 2025-10-16 17:11:57,082 - INFO - ================================================================================ 2025-10-16 17:11:57,082 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-16 17:11:57,082 - 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-16 17:11:57,384 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-10-16 17:11:57,384 - INFO - Initial checks done. Running the testcase now 2025-10-16 17:11:57,384 - INFO - 2025-10-16 17:11:58,183 - DEBUG - Response for create_network : {'network': {'id': '6ed2e238-db95-427b-bdaa-f34c35962734', 'name': 'ctest-vn1-70259186', 'tenant_id': '86d181f907c24ebb980e5b02ef1ef63a', 'project_id': '86d181f907c24ebb980e5b02ef1ef63a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17919479', 'ctest-vn1-70259186'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 17:11:58,435 - DEBUG - Response for create_subnet : {'subnet': {'id': '44fd84b2-66b9-483b-970b-334de392ee13', 'name': '', 'tenant_id': '86d181f907c24ebb980e5b02ef1ef63a', 'network_id': '6ed2e238-db95-427b-bdaa-f34c35962734', 'ip_version': 4, 'cidr': '189.74.42.192/26', 'allocation_pools': [{'start': '189.74.42.194', 'end': '189.74.42.254'}], 'gateway_ip': '189.74.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.74.42.194', 'tags': [], 'project_id': '86d181f907c24ebb980e5b02ef1ef63a'}} 2025-10-16 17:11:58,452 - INFO - Created VN ctest-vn1-70259186 2025-10-16 17:11:58,502 - DEBUG - VN ctest-vn1-70259186 UUID is 6ed2e238-db95-427b-bdaa-f34c35962734 2025-10-16 17:11:59,040 - DEBUG - Response for create_network : {'network': {'id': 'e9a04bc9-13aa-4285-a533-30ae82cc93fa', 'name': 'ctest-vn2-06276196', 'tenant_id': '86d181f907c24ebb980e5b02ef1ef63a', 'project_id': '86d181f907c24ebb980e5b02ef1ef63a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17919479', 'ctest-vn2-06276196'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 17:11:59,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '30c0aaab-d50b-47fb-b84f-b044eebb4bf3', 'name': '', 'tenant_id': '86d181f907c24ebb980e5b02ef1ef63a', 'network_id': 'e9a04bc9-13aa-4285-a533-30ae82cc93fa', 'ip_version': 4, 'cidr': '90.63.201.0/26', 'allocation_pools': [{'start': '90.63.201.2', 'end': '90.63.201.62'}], 'gateway_ip': '90.63.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.63.201.2', 'tags': [], 'project_id': '86d181f907c24ebb980e5b02ef1ef63a'}} 2025-10-16 17:11:59,342 - INFO - Created VN ctest-vn2-06276196 2025-10-16 17:11:59,410 - DEBUG - VN ctest-vn2-06276196 UUID is e9a04bc9-13aa-4285-a533-30ae82cc93fa 2025-10-16 17:11:59,686 - DEBUG - Services list from nova: [, , ] 2025-10-16 17:12:01,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4349-1) 2025-10-16 17:12:02,720 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4349-1) 2025-10-16 17:12:02,803 - INFO - Adding interface with subnet_id 44fd84b2-66b9-483b-970b-334de392ee13, port_id None to router a9c45b25-15da-4bd1-b172-f6f23b747d0d 2025-10-16 17:12:03,083 - INFO - Waiting for VM ctest-vn1-vm1-52882275 to be up.. 2025-10-16 17:12:03,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 17:12:08,308 - DEBUG - VM is in ACTIVE state now 2025-10-16 17:12:08,308 - INFO - VM name : ctest-vn1-vm1-52882275 2025-10-16 17:12:08,432 - DEBUG - VM ctest-vn1-vm1-52882275 ID is d8e98041-88b1-4a73-a1de-e56c15eaeac4 2025-10-16 17:12:08,457 - DEBUG - VM ctest-vn1-vm1-52882275 launched on Node cn-jenkins-deploy-platform-ansible-os-4349-1 2025-10-16 17:12:08,568 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d8e98041-88b1-4a73-a1de-e56c15eaeac4 2025-10-16 17:12:08,866 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d8e98041-88b1-4a73-a1de-e56c15eaeac4 2025-10-16 17:12:08,955 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/448b8841-4b93-491a-a210-3e99acbce84b 2025-10-16 17:12:12,275 - 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 1023ms') 2025-10-16 17:12:12,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52882275 failed! 2025-10-16 17:12:12,330 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-17919479:ctest-vn1-70259186 is 189.74.42.193 and allocation pool is NOT set 2025-10-16 17:12:14,404 - 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=8.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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.506/4.381/8.256/3.875 ms') 2025-10-16 17:12:14,405 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52882275 passed 2025-10-16 17:12:14,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:12:14,571 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52882275, IP 189.74.42.195, Port 22 2025-10-16 17:12:14,641 - 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-10-16 17:12:14,821 - DEBUG - VM ctest-vn1-vm1-52882275 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 17:12:19,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:12:19,822 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52882275, IP 189.74.42.195, Port 22 2025-10-16 17:12:20,025 - DEBUG - VM ctest-vn1-vm1-52882275 is ready for SSH connections 2025-10-16 17:12:20,026 - INFO - Waiting for VM ctest-vn2-vm1-94829503 to be up.. 2025-10-16 17:12:20,137 - DEBUG - VM is in ACTIVE state now 2025-10-16 17:12:20,137 - INFO - VM name : ctest-vn2-vm1-94829503 2025-10-16 17:12:20,248 - DEBUG - VM ctest-vn2-vm1-94829503 ID is 3f846e2d-792a-401b-8d4b-05762d4c6f28 2025-10-16 17:12:20,249 - DEBUG - VM ctest-vn2-vm1-94829503 launched on Node cn-jenkins-deploy-platform-ansible-os-4349-1 2025-10-16 17:12:20,373 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3f846e2d-792a-401b-8d4b-05762d4c6f28 2025-10-16 17:12:20,385 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/afb6aa9a-1c5f-451b-939a-edfac9e9f2f6 2025-10-16 17:12:21,652 - 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=6.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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.098/3.891/6.684/2.793 ms') 2025-10-16 17:12:21,652 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-94829503 passed 2025-10-16 17:12:21,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:12:21,819 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94829503, IP 90.63.201.3, Port 22 2025-10-16 17:12:22,028 - DEBUG - VM ctest-vn2-vm1-94829503 is ready for SSH connections 2025-10-16 17:12:22,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:12:22,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.63.201.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-16 17:12:22,028 - DEBUG - ping -s 56 -c 3 -W 1 90.63.201.3 2025-10-16 17:12:27,303 - DEBUG - PING 90.63.201.3 (90.63.201.3): 56 data bytes --- 90.63.201.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 17:12:27,303 - WARNING - Ping to IP 90.63.201.3 from VM ctest-vn1-vm1-52882275 failed 2025-10-16 17:12:27,304 - INFO - Adding interface with subnet_id 30c0aaab-d50b-47fb-b84f-b044eebb4bf3, port_id None to router a9c45b25-15da-4bd1-b172-f6f23b747d0d 2025-10-16 17:12:27,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:12:27,605 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.63.201.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-16 17:12:27,605 - DEBUG - ping -s 56 -c 3 -W 1 90.63.201.3 2025-10-16 17:12:29,898 - DEBUG - PING 90.63.201.3 (90.63.201.3): 56 data bytes 64 bytes from 90.63.201.3: seq=0 ttl=63 time=2.903 ms 64 bytes from 90.63.201.3: seq=1 ttl=63 time=2.229 ms 64 bytes from 90.63.201.3: seq=2 ttl=63 time=1.929 ms --- 90.63.201.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.929/2.353/2.903 ms 2025-10-16 17:12:29,898 - INFO - Ping to IP 90.63.201.3 from VM ctest-vn1-vm1-52882275 passed 2025-10-16 17:12:29,899 - INFO - Deleting interface with subnet_id 44fd84b2-66b9-483b-970b-334de392ee13, port_id None from router a9c45b25-15da-4bd1-b172-f6f23b747d0d 2025-10-16 17:12:30,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:12:30,120 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.63.201.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-16 17:12:30,120 - DEBUG - ping -s 56 -c 3 -W 1 90.63.201.3 2025-10-16 17:12:33,431 - DEBUG - PING 90.63.201.3 (90.63.201.3): 56 data bytes --- 90.63.201.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 17:12:33,431 - WARNING - Ping to IP 90.63.201.3 from VM ctest-vn1-vm1-52882275 failed 2025-10-16 17:12:33,432 - INFO - Adding interface with subnet_id 44fd84b2-66b9-483b-970b-334de392ee13, port_id None to router a9c45b25-15da-4bd1-b172-f6f23b747d0d 2025-10-16 17:12:33,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:12:33,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.63.201.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-16 17:12:33,771 - DEBUG - ping -s 56 -c 3 -W 1 90.63.201.3 2025-10-16 17:12:36,031 - DEBUG - PING 90.63.201.3 (90.63.201.3): 56 data bytes 64 bytes from 90.63.201.3: seq=0 ttl=63 time=1.820 ms 64 bytes from 90.63.201.3: seq=1 ttl=63 time=1.984 ms 64 bytes from 90.63.201.3: seq=2 ttl=63 time=2.047 ms --- 90.63.201.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.820/1.950/2.047 ms 2025-10-16 17:12:36,031 - INFO - Ping to IP 90.63.201.3 from VM ctest-vn1-vm1-52882275 passed 2025-10-16 17:12:36,032 - INFO - Deleting interface with subnet_id 30c0aaab-d50b-47fb-b84f-b044eebb4bf3, port_id None from router a9c45b25-15da-4bd1-b172-f6f23b747d0d 2025-10-16 17:12:36,313 - INFO - Deleting interface with subnet_id 44fd84b2-66b9-483b-970b-334de392ee13, port_id None from router a9c45b25-15da-4bd1-b172-f6f23b747d0d 2025-10-16 17:12:36,510 - INFO - Deleting VM ctest-vn2-vm1-94829503 2025-10-16 17:12:36,618 - INFO - Deleting VM ctest-vn1-vm1-52882275 2025-10-16 17:12:36,722 - INFO - Deleting VN ctest-vn2-06276196 2025-10-16 17:12:36,767 - DEBUG - VN e9a04bc9-13aa-4285-a533-30ae82cc93fa still in use: Unable to complete operation on network e9a04bc9-13aa-4285-a533-30ae82cc93fa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b591c5c4-7dcf-4e9f-aae6-7d331e081048'] 2025-10-16 17:12:36,767 - WARNING - Deleting VN ctest-vn2-06276196 failed..Will retry 2025-10-16 17:12:38,963 - DEBUG - Response for deleting network () 2025-10-16 17:12:38,963 - INFO - Deleting VN ctest-vn1-70259186 2025-10-16 17:12:39,087 - DEBUG - Response for deleting network () 2025-10-16 17:12:39,401 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 17:12:39,401 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42] 2025-10-16 17:12:39,401 - INFO - -------------------------------------------------------------------------------- 2025-10-16 17:12:40,293 - INFO - Deleted project: ctest-TestRouters-17919479, ID : 86d181f9-07c2-4ebb-980e-5b02ef1ef63a