2025-11-04 22:48:04,475 - INFO - Domain Default found not creating 2025-11-04 22:48:04,626 - INFO - Project ctest-TestRouters-58863039 not found, creating it 2025-11-04 22:48:05,078 - INFO - Created Project:ctest-TestRouters-58863039, ID : 704e7dd9-2c66-4aec-8f1b-68c721561c37 2025-11-04 22:48:06,552 - INFO - ================================================================================ 2025-11-04 22:48:06,552 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-04 22:48:06,552 - 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-04 22:48:06,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-11-04 22:48:06,808 - INFO - Initial checks done. Running the testcase now 2025-11-04 22:48:06,808 - INFO - 2025-11-04 22:48:07,348 - DEBUG - Response for create_network : {'network': {'id': 'd2f5ecfb-3d4f-4a3d-9b90-4a63383faf9c', 'name': 'ctest-vn1-69059868', 'tenant_id': '704e7dd92c664aec8f1b68c721561c37', 'project_id': '704e7dd92c664aec8f1b68c721561c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58863039', 'ctest-vn1-69059868'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 22:48:07,552 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d27abd8-d738-4d3c-8b89-3a5698ec00ed', 'name': '', 'tenant_id': '704e7dd92c664aec8f1b68c721561c37', 'network_id': 'd2f5ecfb-3d4f-4a3d-9b90-4a63383faf9c', 'ip_version': 4, 'cidr': '74.53.20.0/26', 'allocation_pools': [{'start': '74.53.20.2', 'end': '74.53.20.62'}], 'gateway_ip': '74.53.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.53.20.2', 'tags': [], 'project_id': '704e7dd92c664aec8f1b68c721561c37'}} 2025-11-04 22:48:07,568 - INFO - Created VN ctest-vn1-69059868 2025-11-04 22:48:07,618 - DEBUG - VN ctest-vn1-69059868 UUID is d2f5ecfb-3d4f-4a3d-9b90-4a63383faf9c 2025-11-04 22:48:07,942 - DEBUG - Response for create_network : {'network': {'id': 'b247f8f3-72ef-42c0-8db6-504eeda4401b', 'name': 'ctest-vn2-22427827', 'tenant_id': '704e7dd92c664aec8f1b68c721561c37', 'project_id': '704e7dd92c664aec8f1b68c721561c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58863039', 'ctest-vn2-22427827'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 22:48:08,124 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b064e9bb-3a75-487e-a1f8-95006de32158', 'name': '', 'tenant_id': '704e7dd92c664aec8f1b68c721561c37', 'network_id': 'b247f8f3-72ef-42c0-8db6-504eeda4401b', 'ip_version': 4, 'cidr': '175.161.161.128/26', 'allocation_pools': [{'start': '175.161.161.130', 'end': '175.161.161.190'}], 'gateway_ip': '175.161.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.161.161.130', 'tags': [], 'project_id': '704e7dd92c664aec8f1b68c721561c37'}} 2025-11-04 22:48:08,143 - INFO - Created VN ctest-vn2-22427827 2025-11-04 22:48:08,198 - DEBUG - VN ctest-vn2-22427827 UUID is b247f8f3-72ef-42c0-8db6-504eeda4401b 2025-11-04 22:48:08,415 - DEBUG - Services list from nova: [, , ] 2025-11-04 22:48:09,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4625-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4625-1) 2025-11-04 22:48:10,636 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4625-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4625-1) 2025-11-04 22:48:10,699 - INFO - Adding interface with subnet_id 4d27abd8-d738-4d3c-8b89-3a5698ec00ed, port_id None to router 5396f279-8e9d-4087-94c7-76b273fe2e89 2025-11-04 22:48:10,972 - INFO - Waiting for VM ctest-vn1-vm1-23931190 to be up.. 2025-11-04 22:48:11,065 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 22:48:16,136 - DEBUG - VM is in ACTIVE state now 2025-11-04 22:48:16,136 - INFO - VM name : ctest-vn1-vm1-23931190 2025-11-04 22:48:16,203 - DEBUG - VM ctest-vn1-vm1-23931190 ID is 870fa2a8-8807-4866-85ef-10912d34ad15 2025-11-04 22:48:16,222 - DEBUG - VM ctest-vn1-vm1-23931190 launched on Node cn-jenkins-deploy-platform-ansible-os-4625-1 2025-11-04 22:48:16,301 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/870fa2a8-8807-4866-85ef-10912d34ad15 2025-11-04 22:48:16,602 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/870fa2a8-8807-4866-85ef-10912d34ad15 2025-11-04 22:48:16,633 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/0d16d529-0d5c-4878-9995-1ed5ce9f0cf8 2025-11-04 22:48:19,881 - 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 1007ms') 2025-11-04 22:48:19,881 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23931190 failed! 2025-11-04 22:48:19,934 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-58863039:ctest-vn1-69059868 is 74.53.20.1 and allocation pool is NOT set 2025-11-04 22:48:21,991 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.504 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 = 0.504/2.088/3.672/1.584 ms') 2025-11-04 22:48:21,991 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23931190 passed 2025-11-04 22:48:22,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:48:22,150 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23931190, IP 74.53.20.3, Port 22 2025-11-04 22:48:22,306 - DEBUG - VM ctest-vn1-vm1-23931190 is ready for SSH connections 2025-11-04 22:48:22,306 - INFO - Waiting for VM ctest-vn2-vm1-54011568 to be up.. 2025-11-04 22:48:22,380 - DEBUG - VM is in ACTIVE state now 2025-11-04 22:48:22,380 - INFO - VM name : ctest-vn2-vm1-54011568 2025-11-04 22:48:22,459 - DEBUG - VM ctest-vn2-vm1-54011568 ID is 50f0b040-c004-4947-a4f0-b7eaea4e6f4b 2025-11-04 22:48:22,459 - DEBUG - VM ctest-vn2-vm1-54011568 launched on Node cn-jenkins-deploy-platform-ansible-os-4625-1 2025-11-04 22:48:22,540 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/50f0b040-c004-4947-a4f0-b7eaea4e6f4b 2025-11-04 22:48:22,549 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/dd6ffc48-c8a6-4dad-99c7-968edcdd1154 2025-11-04 22:48:23,789 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/2.270/4.109/1.838 ms') 2025-11-04 22:48:23,789 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-54011568 passed 2025-11-04 22:48:23,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:48:23,935 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-54011568, IP 175.161.161.131, Port 22 2025-11-04 22:48:24,112 - DEBUG - VM ctest-vn2-vm1-54011568 is ready for SSH connections 2025-11-04 22:48:24,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:48:24,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.161.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-04 22:48:24,112 - DEBUG - ping -s 56 -c 3 -W 1 175.161.161.131 2025-11-04 22:48:28,750 - DEBUG - PING 175.161.161.131 (175.161.161.131): 56 data bytes --- 175.161.161.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 22:48:28,750 - WARNING - Ping to IP 175.161.161.131 from VM ctest-vn1-vm1-23931190 failed 2025-11-04 22:48:28,750 - INFO - Adding interface with subnet_id b064e9bb-3a75-487e-a1f8-95006de32158, port_id None to router 5396f279-8e9d-4087-94c7-76b273fe2e89 2025-11-04 22:48:28,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:48:28,969 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.161.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-04 22:48:28,969 - DEBUG - ping -s 56 -c 3 -W 1 175.161.161.131 2025-11-04 22:48:31,178 - DEBUG - PING 175.161.161.131 (175.161.161.131): 56 data bytes 64 bytes from 175.161.161.131: seq=0 ttl=63 time=2.335 ms 64 bytes from 175.161.161.131: seq=1 ttl=63 time=1.078 ms 64 bytes from 175.161.161.131: seq=2 ttl=63 time=0.962 ms --- 175.161.161.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.962/1.458/2.335 ms 2025-11-04 22:48:31,178 - INFO - Ping to IP 175.161.161.131 from VM ctest-vn1-vm1-23931190 passed 2025-11-04 22:48:31,178 - INFO - Deleting interface with subnet_id 4d27abd8-d738-4d3c-8b89-3a5698ec00ed, port_id None from router 5396f279-8e9d-4087-94c7-76b273fe2e89 2025-11-04 22:48:31,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:48:31,280 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.161.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-04 22:48:31,280 - DEBUG - ping -s 56 -c 3 -W 1 175.161.161.131 2025-11-04 22:48:34,501 - DEBUG - PING 175.161.161.131 (175.161.161.131): 56 data bytes --- 175.161.161.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 22:48:34,501 - WARNING - Ping to IP 175.161.161.131 from VM ctest-vn1-vm1-23931190 failed 2025-11-04 22:48:34,501 - INFO - Adding interface with subnet_id 4d27abd8-d738-4d3c-8b89-3a5698ec00ed, port_id None to router 5396f279-8e9d-4087-94c7-76b273fe2e89 2025-11-04 22:48:34,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:48:34,688 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.161.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-04 22:48:34,688 - DEBUG - ping -s 56 -c 3 -W 1 175.161.161.131 2025-11-04 22:48:37,883 - DEBUG - PING 175.161.161.131 (175.161.161.131): 56 data bytes 64 bytes from 175.161.161.131: seq=1 ttl=63 time=1.316 ms 64 bytes from 175.161.161.131: seq=2 ttl=63 time=0.778 ms --- 175.161.161.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.778/1.047/1.316 ms 2025-11-04 22:48:37,883 - WARNING - Ping to IP 175.161.161.131 from VM ctest-vn1-vm1-23931190 failed 2025-11-04 22:48:38,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.161.161.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-04 22:48:38,884 - DEBUG - ping -s 56 -c 3 -W 1 175.161.161.131 2025-11-04 22:48:41,083 - DEBUG - PING 175.161.161.131 (175.161.161.131): 56 data bytes 64 bytes from 175.161.161.131: seq=0 ttl=63 time=1.547 ms 64 bytes from 175.161.161.131: seq=1 ttl=63 time=0.868 ms 64 bytes from 175.161.161.131: seq=2 ttl=63 time=0.920 ms --- 175.161.161.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.868/1.111/1.547 ms 2025-11-04 22:48:41,083 - INFO - Ping to IP 175.161.161.131 from VM ctest-vn1-vm1-23931190 passed 2025-11-04 22:48:41,083 - INFO - Deleting interface with subnet_id b064e9bb-3a75-487e-a1f8-95006de32158, port_id None from router 5396f279-8e9d-4087-94c7-76b273fe2e89 2025-11-04 22:48:41,198 - INFO - Deleting interface with subnet_id 4d27abd8-d738-4d3c-8b89-3a5698ec00ed, port_id None from router 5396f279-8e9d-4087-94c7-76b273fe2e89 2025-11-04 22:48:41,367 - INFO - Deleting VM ctest-vn2-vm1-54011568 2025-11-04 22:48:41,434 - INFO - Deleting VM ctest-vn1-vm1-23931190 2025-11-04 22:48:41,513 - INFO - Deleting VN ctest-vn2-22427827 2025-11-04 22:48:41,549 - DEBUG - VN b247f8f3-72ef-42c0-8db6-504eeda4401b still in use: Unable to complete operation on network b247f8f3-72ef-42c0-8db6-504eeda4401b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-71fd46bc-e152-44fa-b782-9c453a7e3ac1'] 2025-11-04 22:48:41,549 - WARNING - Deleting VN ctest-vn2-22427827 failed..Will retry 2025-11-04 22:48:43,645 - DEBUG - Response for deleting network () 2025-11-04 22:48:43,645 - INFO - Deleting VN ctest-vn1-69059868 2025-11-04 22:48:43,738 - DEBUG - Response for deleting network () 2025-11-04 22:48:43,991 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 22:48:43,991 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-11-04 22:48:43,991 - INFO - -------------------------------------------------------------------------------- 2025-11-04 22:48:44,645 - INFO - Deleted project: ctest-TestRouters-58863039, ID : 704e7dd9-2c66-4aec-8f1b-68c721561c37