2025-09-08 02:10:58,026 - INFO - Domain Default found not creating 2025-09-08 02:10:58,157 - INFO - Project ctest-TestRouters-56283683 not found, creating it 2025-09-08 02:10:58,599 - INFO - Created Project:ctest-TestRouters-56283683, ID : 30c3b6e3-2409-4298-96e8-3b42ad50ddf7 2025-09-08 02:11:00,002 - INFO - ================================================================================ 2025-09-08 02:11:00,003 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-08 02:11:00,003 - 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-09-08 02:11:00,257 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-08 02:11:00,257 - INFO - Initial checks done. Running the testcase now 2025-09-08 02:11:00,257 - INFO - 2025-09-08 02:11:00,808 - DEBUG - Response for create_network : {'network': {'id': 'e2ca2d49-7a8c-46c9-919b-69e253e84cb6', 'name': 'ctest-vn1-10213602', 'tenant_id': '30c3b6e32409429896e83b42ad50ddf7', 'project_id': '30c3b6e32409429896e83b42ad50ddf7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-56283683', 'ctest-vn1-10213602'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:11:01,052 - DEBUG - Response for create_subnet : {'subnet': {'id': '517d7ef3-1ad5-42d8-9d93-223a145c288b', 'name': '', 'tenant_id': '30c3b6e32409429896e83b42ad50ddf7', 'network_id': 'e2ca2d49-7a8c-46c9-919b-69e253e84cb6', 'ip_version': 4, 'cidr': '116.1.47.192/26', 'allocation_pools': [{'start': '116.1.47.194', 'end': '116.1.47.254'}], 'gateway_ip': '116.1.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.1.47.194', 'tags': [], 'project_id': '30c3b6e32409429896e83b42ad50ddf7'}} 2025-09-08 02:11:01,072 - INFO - Created VN ctest-vn1-10213602 2025-09-08 02:11:01,126 - DEBUG - VN ctest-vn1-10213602 UUID is e2ca2d49-7a8c-46c9-919b-69e253e84cb6 2025-09-08 02:11:01,412 - DEBUG - Response for create_network : {'network': {'id': '2d60953e-496f-4e5a-aaf5-79570c380154', 'name': 'ctest-vn2-31829068', 'tenant_id': '30c3b6e32409429896e83b42ad50ddf7', 'project_id': '30c3b6e32409429896e83b42ad50ddf7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-56283683', 'ctest-vn2-31829068'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:11:01,602 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba39d026-848f-4d40-bf50-c894de60def1', 'name': '', 'tenant_id': '30c3b6e32409429896e83b42ad50ddf7', 'network_id': '2d60953e-496f-4e5a-aaf5-79570c380154', 'ip_version': 4, 'cidr': '71.162.176.128/26', 'allocation_pools': [{'start': '71.162.176.130', 'end': '71.162.176.190'}], 'gateway_ip': '71.162.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.162.176.130', 'tags': [], 'project_id': '30c3b6e32409429896e83b42ad50ddf7'}} 2025-09-08 02:11:01,624 - INFO - Created VN ctest-vn2-31829068 2025-09-08 02:11:01,674 - DEBUG - VN ctest-vn2-31829068 UUID is 2d60953e-496f-4e5a-aaf5-79570c380154 2025-09-08 02:11:01,926 - DEBUG - Services list from nova: [, , ] 2025-09-08 02:11:02,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4038-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4038-1) 2025-09-08 02:11:04,175 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4038-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4038-1) 2025-09-08 02:11:04,236 - INFO - Adding interface with subnet_id 517d7ef3-1ad5-42d8-9d93-223a145c288b, port_id None to router dddfe033-398f-4b0c-8a43-6a1c067d6d88 2025-09-08 02:11:04,504 - INFO - Waiting for VM ctest-vn1-vm1-51335977 to be up.. 2025-09-08 02:11:04,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 02:11:09,663 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:11:09,663 - INFO - VM name : ctest-vn1-vm1-51335977 2025-09-08 02:11:09,736 - DEBUG - VM ctest-vn1-vm1-51335977 ID is 4363ee4f-f747-4693-beb2-cbf7f05df68a 2025-09-08 02:11:09,754 - DEBUG - VM ctest-vn1-vm1-51335977 launched on Node cn-jenkins-deploy-platform-ansible-os-4038-1 2025-09-08 02:11:09,827 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4363ee4f-f747-4693-beb2-cbf7f05df68a 2025-09-08 02:11:10,133 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4363ee4f-f747-4693-beb2-cbf7f05df68a 2025-09-08 02:11:10,163 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a9f270bd-8f8c-4538-8a4d-03813b4dd3ad 2025-09-08 02:11:13,404 - 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 1006ms') 2025-09-08 02:11:13,404 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51335977 failed! 2025-09-08 02:11:13,458 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-56283683:ctest-vn1-10213602 is 116.1.47.193 and allocation pool is NOT set 2025-09-08 02:11:15,517 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/2.379/4.339/1.960 ms') 2025-09-08 02:11:15,517 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51335977 passed 2025-09-08 02:11:15,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:15,666 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51335977, IP 116.1.47.195, Port 22 2025-09-08 02:11:15,821 - DEBUG - VM ctest-vn1-vm1-51335977 is ready for SSH connections 2025-09-08 02:11:15,821 - INFO - Waiting for VM ctest-vn2-vm1-43297394 to be up.. 2025-09-08 02:11:15,888 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:11:15,888 - INFO - VM name : ctest-vn2-vm1-43297394 2025-09-08 02:11:15,954 - DEBUG - VM ctest-vn2-vm1-43297394 ID is a006b427-d06a-4582-8647-f76daad41774 2025-09-08 02:11:15,954 - DEBUG - VM ctest-vn2-vm1-43297394 launched on Node cn-jenkins-deploy-platform-ansible-os-4038-1 2025-09-08 02:11:16,018 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a006b427-d06a-4582-8647-f76daad41774 2025-09-08 02:11:16,026 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/54c9c334-5880-4b87-b201-ddc3d3ceeb38 2025-09-08 02:11:17,264 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.335 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.335/1.481/2.628/1.146 ms') 2025-09-08 02:11:17,264 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-43297394 passed 2025-09-08 02:11:17,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:17,410 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-43297394, IP 71.162.176.131, Port 22 2025-09-08 02:11:17,565 - DEBUG - VM ctest-vn2-vm1-43297394 is ready for SSH connections 2025-09-08 02:11:17,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:17,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.162.176.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 02:11:17,566 - DEBUG - ping -s 56 -c 3 -W 1 71.162.176.131 2025-09-08 02:11:22,241 - DEBUG - PING 71.162.176.131 (71.162.176.131): 56 data bytes --- 71.162.176.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 02:11:22,241 - WARNING - Ping to IP 71.162.176.131 from VM ctest-vn1-vm1-51335977 failed 2025-09-08 02:11:22,241 - INFO - Adding interface with subnet_id ba39d026-848f-4d40-bf50-c894de60def1, port_id None to router dddfe033-398f-4b0c-8a43-6a1c067d6d88 2025-09-08 02:11:22,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:22,468 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.162.176.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 02:11:22,468 - DEBUG - ping -s 56 -c 3 -W 1 71.162.176.131 2025-09-08 02:11:25,671 - DEBUG - PING 71.162.176.131 (71.162.176.131): 56 data bytes 64 bytes from 71.162.176.131: seq=1 ttl=63 time=3.169 ms 64 bytes from 71.162.176.131: seq=2 ttl=63 time=0.781 ms --- 71.162.176.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.781/1.975/3.169 ms 2025-09-08 02:11:25,671 - WARNING - Ping to IP 71.162.176.131 from VM ctest-vn1-vm1-51335977 failed 2025-09-08 02:11:26,672 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.162.176.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 02:11:26,672 - DEBUG - ping -s 56 -c 3 -W 1 71.162.176.131 2025-09-08 02:11:28,875 - DEBUG - PING 71.162.176.131 (71.162.176.131): 56 data bytes 64 bytes from 71.162.176.131: seq=0 ttl=63 time=1.586 ms 64 bytes from 71.162.176.131: seq=1 ttl=63 time=0.973 ms 64 bytes from 71.162.176.131: seq=2 ttl=63 time=0.828 ms --- 71.162.176.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/1.129/1.586 ms 2025-09-08 02:11:28,875 - INFO - Ping to IP 71.162.176.131 from VM ctest-vn1-vm1-51335977 passed 2025-09-08 02:11:28,875 - INFO - Deleting interface with subnet_id 517d7ef3-1ad5-42d8-9d93-223a145c288b, port_id None from router dddfe033-398f-4b0c-8a43-6a1c067d6d88 2025-09-08 02:11:28,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:28,991 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.162.176.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 02:11:28,991 - DEBUG - ping -s 56 -c 3 -W 1 71.162.176.131 2025-09-08 02:11:32,185 - DEBUG - PING 71.162.176.131 (71.162.176.131): 56 data bytes --- 71.162.176.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 02:11:32,185 - WARNING - Ping to IP 71.162.176.131 from VM ctest-vn1-vm1-51335977 failed 2025-09-08 02:11:32,186 - INFO - Adding interface with subnet_id 517d7ef3-1ad5-42d8-9d93-223a145c288b, port_id None to router dddfe033-398f-4b0c-8a43-6a1c067d6d88 2025-09-08 02:11:32,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:32,379 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.162.176.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 02:11:32,379 - DEBUG - ping -s 56 -c 3 -W 1 71.162.176.131 2025-09-08 02:11:34,617 - DEBUG - PING 71.162.176.131 (71.162.176.131): 56 data bytes 64 bytes from 71.162.176.131: seq=0 ttl=63 time=1.271 ms 64 bytes from 71.162.176.131: seq=1 ttl=63 time=0.748 ms 64 bytes from 71.162.176.131: seq=2 ttl=63 time=1.114 ms --- 71.162.176.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.748/1.044/1.271 ms 2025-09-08 02:11:34,617 - INFO - Ping to IP 71.162.176.131 from VM ctest-vn1-vm1-51335977 passed 2025-09-08 02:11:34,617 - INFO - Deleting interface with subnet_id ba39d026-848f-4d40-bf50-c894de60def1, port_id None from router dddfe033-398f-4b0c-8a43-6a1c067d6d88 2025-09-08 02:11:34,720 - INFO - Deleting interface with subnet_id 517d7ef3-1ad5-42d8-9d93-223a145c288b, port_id None from router dddfe033-398f-4b0c-8a43-6a1c067d6d88 2025-09-08 02:11:34,878 - INFO - Deleting VM ctest-vn2-vm1-43297394 2025-09-08 02:11:34,946 - INFO - Deleting VM ctest-vn1-vm1-51335977 2025-09-08 02:11:35,010 - INFO - Deleting VN ctest-vn2-31829068 2025-09-08 02:11:35,044 - DEBUG - VN 2d60953e-496f-4e5a-aaf5-79570c380154 still in use: Unable to complete operation on network 2d60953e-496f-4e5a-aaf5-79570c380154. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13079078-c393-487d-9a55-05f6779031d3'] 2025-09-08 02:11:35,044 - WARNING - Deleting VN ctest-vn2-31829068 failed..Will retry 2025-09-08 02:11:37,144 - DEBUG - Response for deleting network () 2025-09-08 02:11:37,144 - INFO - Deleting VN ctest-vn1-10213602 2025-09-08 02:11:37,253 - DEBUG - Response for deleting network () 2025-09-08 02:11:37,517 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 02:11:37,517 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-09-08 02:11:37,517 - INFO - -------------------------------------------------------------------------------- 2025-09-08 02:11:38,523 - INFO - Deleted project: ctest-TestRouters-56283683, ID : 30c3b6e3-2409-4298-96e8-3b42ad50ddf7