2025-10-27 11:57:42,114 - INFO - Domain Default found not creating 2025-10-27 11:57:42,295 - INFO - Project ctest-TestRouters-74986119 not found, creating it 2025-10-27 11:57:42,786 - INFO - Created Project:ctest-TestRouters-74986119, ID : 2c2283f3-912a-4b15-9f8e-75584daa0e8e 2025-10-27 11:57:44,999 - INFO - ================================================================================ 2025-10-27 11:57:45,000 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-27 11:57:45,000 - 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-27 11:57:45,260 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-10-27 11:57:45,260 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:57:45,260 - INFO - 2025-10-27 11:57:45,914 - DEBUG - Response for create_network : {'network': {'id': '0adedb46-29bd-4d3c-8f4f-da6a08195fbc', 'name': 'ctest-vn1-54466456', 'tenant_id': '2c2283f3912a4b159f8e75584daa0e8e', 'project_id': '2c2283f3912a4b159f8e75584daa0e8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-74986119', 'ctest-vn1-54466456'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:57:46,076 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a3025d2-547f-473d-8952-ed376cc80a48', 'name': '', 'tenant_id': '2c2283f3912a4b159f8e75584daa0e8e', 'network_id': '0adedb46-29bd-4d3c-8f4f-da6a08195fbc', 'ip_version': 4, 'cidr': '214.17.143.192/26', 'allocation_pools': [{'start': '214.17.143.194', 'end': '214.17.143.254'}], 'gateway_ip': '214.17.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.17.143.194', 'tags': [], 'project_id': '2c2283f3912a4b159f8e75584daa0e8e'}} 2025-10-27 11:57:46,095 - INFO - Created VN ctest-vn1-54466456 2025-10-27 11:57:46,150 - DEBUG - VN ctest-vn1-54466456 UUID is 0adedb46-29bd-4d3c-8f4f-da6a08195fbc 2025-10-27 11:57:46,474 - DEBUG - Response for create_network : {'network': {'id': '376584f0-9c19-40c4-832f-a1962c495fa4', 'name': 'ctest-vn2-16362573', 'tenant_id': '2c2283f3912a4b159f8e75584daa0e8e', 'project_id': '2c2283f3912a4b159f8e75584daa0e8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-74986119', 'ctest-vn2-16362573'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:57:46,652 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd57beca-4cb6-4dba-a76c-9204eb5bcd97', 'name': '', 'tenant_id': '2c2283f3912a4b159f8e75584daa0e8e', 'network_id': '376584f0-9c19-40c4-832f-a1962c495fa4', 'ip_version': 4, 'cidr': '141.103.178.0/26', 'allocation_pools': [{'start': '141.103.178.2', 'end': '141.103.178.62'}], 'gateway_ip': '141.103.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.103.178.2', 'tags': [], 'project_id': '2c2283f3912a4b159f8e75584daa0e8e'}} 2025-10-27 11:57:46,671 - INFO - Created VN ctest-vn2-16362573 2025-10-27 11:57:46,722 - DEBUG - VN ctest-vn2-16362573 UUID is 376584f0-9c19-40c4-832f-a1962c495fa4 2025-10-27 11:57:46,896 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:57:48,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4501-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4501-1) 2025-10-27 11:57:49,533 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4501-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4501-1) 2025-10-27 11:57:49,611 - INFO - Adding interface with subnet_id 2a3025d2-547f-473d-8952-ed376cc80a48, port_id None to router a3e61dae-76a3-42eb-9457-2233d20dbee6 2025-10-27 11:57:49,936 - INFO - Waiting for VM ctest-vn1-vm1-45843308 to be up.. 2025-10-27 11:57:50,034 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:57:55,124 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:57:55,124 - INFO - VM name : ctest-vn1-vm1-45843308 2025-10-27 11:57:55,208 - DEBUG - VM ctest-vn1-vm1-45843308 ID is 5265d5b0-b2ae-4136-8a89-8532371a3f7f 2025-10-27 11:57:55,230 - DEBUG - VM ctest-vn1-vm1-45843308 launched on Node cn-jenkins-deploy-platform-ansible-os-4501-1 2025-10-27 11:57:55,314 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5265d5b0-b2ae-4136-8a89-8532371a3f7f 2025-10-27 11:57:55,618 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5265d5b0-b2ae-4136-8a89-8532371a3f7f 2025-10-27 11:57:55,653 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/49f33e53-c99b-4bea-b448-d75216d63aa2 2025-10-27 11:57:58,893 - 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 1001ms') 2025-10-27 11:57:58,893 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45843308 failed! 2025-10-27 11:57:58,951 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-74986119:ctest-vn1-54466456 is 214.17.143.193 and allocation pool is NOT set 2025-10-27 11:58:01,022 - 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=6.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.965 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.965/3.674/6.383/2.709 ms') 2025-10-27 11:58:01,022 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45843308 passed 2025-10-27 11:58:01,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:58:01,179 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45843308, IP 214.17.143.195, Port 22 2025-10-27 11:58:01,349 - DEBUG - VM ctest-vn1-vm1-45843308 is ready for SSH connections 2025-10-27 11:58:01,349 - INFO - Waiting for VM ctest-vn2-vm1-62259557 to be up.. 2025-10-27 11:58:01,441 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:58:01,441 - INFO - VM name : ctest-vn2-vm1-62259557 2025-10-27 11:58:01,522 - DEBUG - VM ctest-vn2-vm1-62259557 ID is b018b471-4d78-4764-b1ec-9bee9880bbfa 2025-10-27 11:58:01,523 - DEBUG - VM ctest-vn2-vm1-62259557 launched on Node cn-jenkins-deploy-platform-ansible-os-4501-1 2025-10-27 11:58:01,606 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b018b471-4d78-4764-b1ec-9bee9880bbfa 2025-10-27 11:58:01,616 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/939fe95f-5c9d-43e1-b952-6f72841b00de 2025-10-27 11:58:02,871 - 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=3.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.541 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.541/1.981/3.422/1.440 ms') 2025-10-27 11:58:02,871 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-62259557 passed 2025-10-27 11:58:03,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:58:03,031 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-62259557, IP 141.103.178.3, Port 22 2025-10-27 11:58:03,201 - DEBUG - VM ctest-vn2-vm1-62259557 is ready for SSH connections 2025-10-27 11:58:03,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:58:03,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.103.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-27 11:58:03,202 - DEBUG - ping -s 56 -c 3 -W 1 141.103.178.3 2025-10-27 11:58:08,320 - DEBUG - PING 141.103.178.3 (141.103.178.3): 56 data bytes --- 141.103.178.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 11:58:08,321 - WARNING - Ping to IP 141.103.178.3 from VM ctest-vn1-vm1-45843308 failed 2025-10-27 11:58:08,321 - INFO - Adding interface with subnet_id bd57beca-4cb6-4dba-a76c-9204eb5bcd97, port_id None to router a3e61dae-76a3-42eb-9457-2233d20dbee6 2025-10-27 11:58:08,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:58:08,604 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.103.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-27 11:58:08,604 - DEBUG - ping -s 56 -c 3 -W 1 141.103.178.3 2025-10-27 11:58:11,895 - DEBUG - PING 141.103.178.3 (141.103.178.3): 56 data bytes 64 bytes from 141.103.178.3: seq=1 ttl=63 time=2.841 ms 64 bytes from 141.103.178.3: seq=2 ttl=63 time=0.996 ms --- 141.103.178.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.996/1.918/2.841 ms 2025-10-27 11:58:11,895 - WARNING - Ping to IP 141.103.178.3 from VM ctest-vn1-vm1-45843308 failed 2025-10-27 11:58:12,896 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.103.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-27 11:58:12,896 - DEBUG - ping -s 56 -c 3 -W 1 141.103.178.3 2025-10-27 11:58:15,116 - DEBUG - PING 141.103.178.3 (141.103.178.3): 56 data bytes 64 bytes from 141.103.178.3: seq=0 ttl=63 time=1.356 ms 64 bytes from 141.103.178.3: seq=1 ttl=63 time=0.768 ms 64 bytes from 141.103.178.3: seq=2 ttl=63 time=1.083 ms --- 141.103.178.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.768/1.069/1.356 ms 2025-10-27 11:58:15,116 - INFO - Ping to IP 141.103.178.3 from VM ctest-vn1-vm1-45843308 passed 2025-10-27 11:58:15,116 - INFO - Deleting interface with subnet_id 2a3025d2-547f-473d-8952-ed376cc80a48, port_id None from router a3e61dae-76a3-42eb-9457-2233d20dbee6 2025-10-27 11:58:15,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:58:15,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.103.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-27 11:58:15,242 - DEBUG - ping -s 56 -c 3 -W 1 141.103.178.3 2025-10-27 11:58:18,469 - DEBUG - PING 141.103.178.3 (141.103.178.3): 56 data bytes --- 141.103.178.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 11:58:18,469 - WARNING - Ping to IP 141.103.178.3 from VM ctest-vn1-vm1-45843308 failed 2025-10-27 11:58:18,469 - INFO - Adding interface with subnet_id 2a3025d2-547f-473d-8952-ed376cc80a48, port_id None to router a3e61dae-76a3-42eb-9457-2233d20dbee6 2025-10-27 11:58:18,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:58:18,725 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.103.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-27 11:58:18,725 - DEBUG - ping -s 56 -c 3 -W 1 141.103.178.3 2025-10-27 11:58:20,984 - DEBUG - PING 141.103.178.3 (141.103.178.3): 56 data bytes 64 bytes from 141.103.178.3: seq=0 ttl=63 time=2.073 ms 64 bytes from 141.103.178.3: seq=1 ttl=63 time=1.146 ms 64 bytes from 141.103.178.3: seq=2 ttl=63 time=1.252 ms --- 141.103.178.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.146/1.490/2.073 ms 2025-10-27 11:58:20,984 - INFO - Ping to IP 141.103.178.3 from VM ctest-vn1-vm1-45843308 passed 2025-10-27 11:58:20,984 - INFO - Deleting interface with subnet_id bd57beca-4cb6-4dba-a76c-9204eb5bcd97, port_id None from router a3e61dae-76a3-42eb-9457-2233d20dbee6 2025-10-27 11:58:21,173 - INFO - Deleting interface with subnet_id 2a3025d2-547f-473d-8952-ed376cc80a48, port_id None from router a3e61dae-76a3-42eb-9457-2233d20dbee6 2025-10-27 11:58:21,409 - INFO - Deleting VM ctest-vn2-vm1-62259557 2025-10-27 11:58:21,518 - INFO - Deleting VM ctest-vn1-vm1-45843308 2025-10-27 11:58:21,606 - INFO - Deleting VN ctest-vn2-16362573 2025-10-27 11:58:21,651 - DEBUG - VN 376584f0-9c19-40c4-832f-a1962c495fa4 still in use: Unable to complete operation on network 376584f0-9c19-40c4-832f-a1962c495fa4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-600c9a4f-c716-496e-a487-cdceaa94921e'] 2025-10-27 11:58:21,651 - WARNING - Deleting VN ctest-vn2-16362573 failed..Will retry 2025-10-27 11:58:23,778 - DEBUG - Response for deleting network () 2025-10-27 11:58:23,778 - INFO - Deleting VN ctest-vn1-54466456 2025-10-27 11:58:23,900 - DEBUG - Response for deleting network () 2025-10-27 11:58:24,155 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 11:58:24,155 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-27 11:58:24,155 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:58:24,841 - INFO - Deleted project: ctest-TestRouters-74986119, ID : 2c2283f3-912a-4b15-9f8e-75584daa0e8e