2025-12-08 17:19:19,425 - INFO - Domain Default found not creating 2025-12-08 17:19:19,645 - INFO - Project ctest-TestRouters-59051225 not found, creating it 2025-12-08 17:19:20,094 - INFO - Created Project:ctest-TestRouters-59051225, ID : 57155cc9-85c7-499d-ab6a-90b966f5dc9d 2025-12-08 17:19:21,517 - INFO - ================================================================================ 2025-12-08 17:19:21,517 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-08 17:19:21,517 - 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-08 17:19:21,776 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-12-08 17:19:21,776 - INFO - Initial checks done. Running the testcase now 2025-12-08 17:19:21,776 - INFO - 2025-12-08 17:19:22,323 - DEBUG - Response for create_network : {'network': {'id': 'b809558f-cc1b-4fa1-9049-617cd92e61a9', 'name': 'ctest-vn1-53586996', 'tenant_id': '57155cc985c7499dab6a90b966f5dc9d', 'project_id': '57155cc985c7499dab6a90b966f5dc9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-59051225', 'ctest-vn1-53586996'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 17:19:22,502 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2248de1-cfc5-4428-a1b7-b62bf0b292e9', 'name': '', 'tenant_id': '57155cc985c7499dab6a90b966f5dc9d', 'network_id': 'b809558f-cc1b-4fa1-9049-617cd92e61a9', 'ip_version': 4, 'cidr': '95.111.86.0/26', 'allocation_pools': [{'start': '95.111.86.2', 'end': '95.111.86.62'}], 'gateway_ip': '95.111.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.111.86.2', 'tags': [], 'project_id': '57155cc985c7499dab6a90b966f5dc9d'}} 2025-12-08 17:19:22,521 - INFO - Created VN ctest-vn1-53586996 2025-12-08 17:19:22,575 - DEBUG - VN ctest-vn1-53586996 UUID is b809558f-cc1b-4fa1-9049-617cd92e61a9 2025-12-08 17:19:22,869 - DEBUG - Response for create_network : {'network': {'id': '353ce8fe-5bcf-4e11-8011-97aa64a84146', 'name': 'ctest-vn2-79518799', 'tenant_id': '57155cc985c7499dab6a90b966f5dc9d', 'project_id': '57155cc985c7499dab6a90b966f5dc9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-59051225', 'ctest-vn2-79518799'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 17:19:23,088 - DEBUG - Response for create_subnet : {'subnet': {'id': '42845b83-8fd4-4531-bcd2-b7981f6c7270', 'name': '', 'tenant_id': '57155cc985c7499dab6a90b966f5dc9d', 'network_id': '353ce8fe-5bcf-4e11-8011-97aa64a84146', 'ip_version': 4, 'cidr': '67.143.248.192/26', 'allocation_pools': [{'start': '67.143.248.194', 'end': '67.143.248.254'}], 'gateway_ip': '67.143.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.143.248.194', 'tags': [], 'project_id': '57155cc985c7499dab6a90b966f5dc9d'}} 2025-12-08 17:19:23,104 - INFO - Created VN ctest-vn2-79518799 2025-12-08 17:19:23,155 - DEBUG - VN ctest-vn2-79518799 UUID is 353ce8fe-5bcf-4e11-8011-97aa64a84146 2025-12-08 17:19:23,371 - DEBUG - Services list from nova: [, , ] 2025-12-08 17:19:24,329 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4857-1) 2025-12-08 17:19:25,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4857-1) 2025-12-08 17:19:25,644 - INFO - Adding interface with subnet_id c2248de1-cfc5-4428-a1b7-b62bf0b292e9, port_id None to router 474e4b58-9887-4870-b45b-c81532131020 2025-12-08 17:19:25,875 - INFO - Waiting for VM ctest-vn1-vm1-18646187 to be up.. 2025-12-08 17:19:25,959 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 17:19:31,025 - DEBUG - VM is in ACTIVE state now 2025-12-08 17:19:31,025 - INFO - VM name : ctest-vn1-vm1-18646187 2025-12-08 17:19:31,090 - DEBUG - VM ctest-vn1-vm1-18646187 ID is e0d5d6b1-6d8c-4df6-9ccb-05d5f22b6319 2025-12-08 17:19:31,108 - DEBUG - VM ctest-vn1-vm1-18646187 launched on Node cn-jenkins-deploy-platform-ansible-os-4857-1 2025-12-08 17:19:31,174 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/e0d5d6b1-6d8c-4df6-9ccb-05d5f22b6319 2025-12-08 17:19:31,463 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/e0d5d6b1-6d8c-4df6-9ccb-05d5f22b6319 2025-12-08 17:19:31,493 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/7813bc76-d5fb-4b76-af1d-fb6e71afa099 2025-12-08 17:19:34,748 - 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-12-08 17:19:34,748 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18646187 failed! 2025-12-08 17:19:34,799 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-59051225:ctest-vn1-53586996 is 95.111.86.1 and allocation pool is NOT set 2025-12-08 17:19:36,865 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.794 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.794/1.996/3.198/1.202 ms') 2025-12-08 17:19:36,865 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18646187 passed 2025-12-08 17:19:37,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:19:37,011 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18646187, IP 95.111.86.3, Port 22 2025-12-08 17:19:37,173 - DEBUG - VM ctest-vn1-vm1-18646187 is ready for SSH connections 2025-12-08 17:19:37,174 - INFO - Waiting for VM ctest-vn2-vm1-79088233 to be up.. 2025-12-08 17:19:37,239 - DEBUG - VM is in ACTIVE state now 2025-12-08 17:19:37,239 - INFO - VM name : ctest-vn2-vm1-79088233 2025-12-08 17:19:37,304 - DEBUG - VM ctest-vn2-vm1-79088233 ID is 0b12b353-5256-4f5f-b0b2-05ab73d3a381 2025-12-08 17:19:37,304 - DEBUG - VM ctest-vn2-vm1-79088233 launched on Node cn-jenkins-deploy-platform-ansible-os-4857-1 2025-12-08 17:19:37,370 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/0b12b353-5256-4f5f-b0b2-05ab73d3a381 2025-12-08 17:19:37,377 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/41893631-c87d-4170-863c-66f590e0b417 2025-12-08 17:19:38,615 - 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=2.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.455/1.612/2.769/1.157 ms') 2025-12-08 17:19:38,615 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-79088233 passed 2025-12-08 17:19:38,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:19:38,763 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-79088233, IP 67.143.248.195, Port 22 2025-12-08 17:19:38,926 - DEBUG - VM ctest-vn2-vm1-79088233 is ready for SSH connections 2025-12-08 17:19:38,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:19:38,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.143.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 17:19:38,927 - DEBUG - ping -s 56 -c 3 -W 1 67.143.248.195 2025-12-08 17:19:43,631 - DEBUG - PING 67.143.248.195 (67.143.248.195): 56 data bytes --- 67.143.248.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 17:19:43,631 - WARNING - Ping to IP 67.143.248.195 from VM ctest-vn1-vm1-18646187 failed 2025-12-08 17:19:43,631 - INFO - Adding interface with subnet_id 42845b83-8fd4-4531-bcd2-b7981f6c7270, port_id None to router 474e4b58-9887-4870-b45b-c81532131020 2025-12-08 17:19:43,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:19:43,841 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.143.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 17:19:43,841 - DEBUG - ping -s 56 -c 3 -W 1 67.143.248.195 2025-12-08 17:19:47,040 - DEBUG - PING 67.143.248.195 (67.143.248.195): 56 data bytes 64 bytes from 67.143.248.195: seq=1 ttl=63 time=2.396 ms 64 bytes from 67.143.248.195: seq=2 ttl=63 time=0.815 ms --- 67.143.248.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.815/1.605/2.396 ms 2025-12-08 17:19:47,040 - WARNING - Ping to IP 67.143.248.195 from VM ctest-vn1-vm1-18646187 failed 2025-12-08 17:19:48,041 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.143.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 17:19:48,041 - DEBUG - ping -s 56 -c 3 -W 1 67.143.248.195 2025-12-08 17:19:50,296 - DEBUG - PING 67.143.248.195 (67.143.248.195): 56 data bytes 64 bytes from 67.143.248.195: seq=0 ttl=63 time=1.782 ms 64 bytes from 67.143.248.195: seq=1 ttl=63 time=1.015 ms 64 bytes from 67.143.248.195: seq=2 ttl=63 time=0.701 ms --- 67.143.248.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.701/1.166/1.782 ms 2025-12-08 17:19:50,296 - INFO - Ping to IP 67.143.248.195 from VM ctest-vn1-vm1-18646187 passed 2025-12-08 17:19:50,297 - INFO - Deleting interface with subnet_id c2248de1-cfc5-4428-a1b7-b62bf0b292e9, port_id None from router 474e4b58-9887-4870-b45b-c81532131020 2025-12-08 17:19:50,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:19:50,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.143.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 17:19:50,400 - DEBUG - ping -s 56 -c 3 -W 1 67.143.248.195 2025-12-08 17:19:53,596 - DEBUG - PING 67.143.248.195 (67.143.248.195): 56 data bytes --- 67.143.248.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 17:19:53,596 - WARNING - Ping to IP 67.143.248.195 from VM ctest-vn1-vm1-18646187 failed 2025-12-08 17:19:53,596 - INFO - Adding interface with subnet_id c2248de1-cfc5-4428-a1b7-b62bf0b292e9, port_id None to router 474e4b58-9887-4870-b45b-c81532131020 2025-12-08 17:19:53,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 17:19:53,772 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.143.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-08 17:19:53,772 - DEBUG - ping -s 56 -c 3 -W 1 67.143.248.195 2025-12-08 17:19:55,971 - DEBUG - PING 67.143.248.195 (67.143.248.195): 56 data bytes 64 bytes from 67.143.248.195: seq=0 ttl=63 time=1.666 ms 64 bytes from 67.143.248.195: seq=1 ttl=63 time=0.766 ms 64 bytes from 67.143.248.195: seq=2 ttl=63 time=0.757 ms --- 67.143.248.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/1.063/1.666 ms 2025-12-08 17:19:55,971 - INFO - Ping to IP 67.143.248.195 from VM ctest-vn1-vm1-18646187 passed 2025-12-08 17:19:55,971 - INFO - Deleting interface with subnet_id 42845b83-8fd4-4531-bcd2-b7981f6c7270, port_id None from router 474e4b58-9887-4870-b45b-c81532131020 2025-12-08 17:19:56,070 - INFO - Deleting interface with subnet_id c2248de1-cfc5-4428-a1b7-b62bf0b292e9, port_id None from router 474e4b58-9887-4870-b45b-c81532131020 2025-12-08 17:19:56,209 - INFO - Deleting VM ctest-vn2-vm1-79088233 2025-12-08 17:19:56,273 - INFO - Deleting VM ctest-vn1-vm1-18646187 2025-12-08 17:19:56,337 - INFO - Deleting VN ctest-vn2-79518799 2025-12-08 17:19:56,368 - DEBUG - VN 353ce8fe-5bcf-4e11-8011-97aa64a84146 still in use: Unable to complete operation on network 353ce8fe-5bcf-4e11-8011-97aa64a84146. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6f767a8c-bf16-4f39-ada8-a4a56233382a'] 2025-12-08 17:19:56,368 - WARNING - Deleting VN ctest-vn2-79518799 failed..Will retry 2025-12-08 17:19:58,455 - DEBUG - Response for deleting network () 2025-12-08 17:19:58,455 - INFO - Deleting VN ctest-vn1-53586996 2025-12-08 17:19:58,534 - DEBUG - Response for deleting network () 2025-12-08 17:19:58,787 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 17:19:58,787 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-12-08 17:19:58,787 - INFO - -------------------------------------------------------------------------------- 2025-12-08 17:19:59,436 - INFO - Deleted project: ctest-TestRouters-59051225, ID : 57155cc9-85c7-499d-ab6a-90b966f5dc9d