2025-11-12 05:26:05,251 - INFO - Domain Default found not creating 2025-11-12 05:26:05,404 - INFO - Project ctest-TestRouters-33108261 not found, creating it 2025-11-12 05:26:05,853 - INFO - Created Project:ctest-TestRouters-33108261, ID : e0fb4ab6-9a5a-4bae-86f6-afa76cb7980b 2025-11-12 05:26:07,277 - INFO - ================================================================================ 2025-11-12 05:26:07,277 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-12 05:26:07,278 - 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-12 05:26:07,537 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-11-12 05:26:07,538 - INFO - Initial checks done. Running the testcase now 2025-11-12 05:26:07,538 - INFO - 2025-11-12 05:26:08,075 - DEBUG - Response for create_network : {'network': {'id': '349a6591-786a-4942-ab82-d95efece9051', 'name': 'ctest-vn1-36168322', 'tenant_id': 'e0fb4ab69a5a4bae86f6afa76cb7980b', 'project_id': 'e0fb4ab69a5a4bae86f6afa76cb7980b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33108261', 'ctest-vn1-36168322'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:26:08,238 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db1c8126-a442-4686-9d91-2014fa384d73', 'name': '', 'tenant_id': 'e0fb4ab69a5a4bae86f6afa76cb7980b', 'network_id': '349a6591-786a-4942-ab82-d95efece9051', 'ip_version': 4, 'cidr': '163.198.73.128/26', 'allocation_pools': [{'start': '163.198.73.130', 'end': '163.198.73.190'}], 'gateway_ip': '163.198.73.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.198.73.130', 'tags': [], 'project_id': 'e0fb4ab69a5a4bae86f6afa76cb7980b'}} 2025-11-12 05:26:08,255 - INFO - Created VN ctest-vn1-36168322 2025-11-12 05:26:08,306 - DEBUG - VN ctest-vn1-36168322 UUID is 349a6591-786a-4942-ab82-d95efece9051 2025-11-12 05:26:08,639 - DEBUG - Response for create_network : {'network': {'id': '02e39503-67dd-4728-90c6-a6660c24f47e', 'name': 'ctest-vn2-17556095', 'tenant_id': 'e0fb4ab69a5a4bae86f6afa76cb7980b', 'project_id': 'e0fb4ab69a5a4bae86f6afa76cb7980b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33108261', 'ctest-vn2-17556095'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:26:08,792 - DEBUG - Response for create_subnet : {'subnet': {'id': '341f5252-8a7c-4729-a234-7b3a27552f82', 'name': '', 'tenant_id': 'e0fb4ab69a5a4bae86f6afa76cb7980b', 'network_id': '02e39503-67dd-4728-90c6-a6660c24f47e', 'ip_version': 4, 'cidr': '36.62.157.128/26', 'allocation_pools': [{'start': '36.62.157.130', 'end': '36.62.157.190'}], 'gateway_ip': '36.62.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.62.157.130', 'tags': [], 'project_id': 'e0fb4ab69a5a4bae86f6afa76cb7980b'}} 2025-11-12 05:26:08,810 - INFO - Created VN ctest-vn2-17556095 2025-11-12 05:26:08,862 - DEBUG - VN ctest-vn2-17556095 UUID is 02e39503-67dd-4728-90c6-a6660c24f47e 2025-11-12 05:26:09,038 - DEBUG - Services list from nova: [, , ] 2025-11-12 05:26:10,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4699-1) 2025-11-12 05:26:11,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4699-1) 2025-11-12 05:26:11,395 - INFO - Adding interface with subnet_id db1c8126-a442-4686-9d91-2014fa384d73, port_id None to router 72ae575b-a2b5-4837-a6d4-42beef22c960 2025-11-12 05:26:11,665 - INFO - Waiting for VM ctest-vn1-vm1-80386949 to be up.. 2025-11-12 05:26:11,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 05:26:16,843 - DEBUG - VM is in ACTIVE state now 2025-11-12 05:26:16,843 - INFO - VM name : ctest-vn1-vm1-80386949 2025-11-12 05:26:16,914 - DEBUG - VM ctest-vn1-vm1-80386949 ID is cd4c06b1-51a4-49c2-9262-ecbea845ddd0 2025-11-12 05:26:16,937 - DEBUG - VM ctest-vn1-vm1-80386949 launched on Node cn-jenkins-deploy-platform-ansible-os-4699-1 2025-11-12 05:26:17,006 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/cd4c06b1-51a4-49c2-9262-ecbea845ddd0 2025-11-12 05:26:17,301 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/cd4c06b1-51a4-49c2-9262-ecbea845ddd0 2025-11-12 05:26:17,336 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/8460075d-cf92-4b4a-a1a8-0c2a88cdae45 2025-11-12 05:26:20,585 - 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 1015ms') 2025-11-12 05:26:20,585 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80386949 failed! 2025-11-12 05:26:20,642 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-33108261:ctest-vn1-36168322 is 163.198.73.129 and allocation pool is NOT set 2025-11-12 05:26:22,702 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 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 = 1.841/3.065/4.289/1.224 ms') 2025-11-12 05:26:22,702 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80386949 passed 2025-11-12 05:26:22,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:26:22,854 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80386949, IP 163.198.73.131, Port 22 2025-11-12 05:26:23,013 - DEBUG - VM ctest-vn1-vm1-80386949 is ready for SSH connections 2025-11-12 05:26:23,013 - INFO - Waiting for VM ctest-vn2-vm1-41516802 to be up.. 2025-11-12 05:26:23,102 - DEBUG - VM is in ACTIVE state now 2025-11-12 05:26:23,102 - INFO - VM name : ctest-vn2-vm1-41516802 2025-11-12 05:26:23,177 - DEBUG - VM ctest-vn2-vm1-41516802 ID is 2fac9d9f-aa7e-4548-b968-8dfc044a8e35 2025-11-12 05:26:23,178 - DEBUG - VM ctest-vn2-vm1-41516802 launched on Node cn-jenkins-deploy-platform-ansible-os-4699-1 2025-11-12 05:26:23,248 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/2fac9d9f-aa7e-4548-b968-8dfc044a8e35 2025-11-12 05:26:23,257 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/5125fc15-7454-42c9-a5c7-7d569e0bdc00 2025-11-12 05:26:24,499 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.892/3.360/1.468 ms') 2025-11-12 05:26:24,500 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-41516802 passed 2025-11-12 05:26:24,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:26:24,646 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-41516802, IP 36.62.157.131, Port 22 2025-11-12 05:26:24,810 - DEBUG - VM ctest-vn2-vm1-41516802 is ready for SSH connections 2025-11-12 05:26:24,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:26:24,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.62.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 05:26:24,810 - DEBUG - ping -s 56 -c 3 -W 1 36.62.157.131 2025-11-12 05:26:29,805 - DEBUG - PING 36.62.157.131 (36.62.157.131): 56 data bytes --- 36.62.157.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 05:26:29,805 - WARNING - Ping to IP 36.62.157.131 from VM ctest-vn1-vm1-80386949 failed 2025-11-12 05:26:29,806 - INFO - Adding interface with subnet_id 341f5252-8a7c-4729-a234-7b3a27552f82, port_id None to router 72ae575b-a2b5-4837-a6d4-42beef22c960 2025-11-12 05:26:30,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:26:30,032 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.62.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 05:26:30,032 - DEBUG - ping -s 56 -c 3 -W 1 36.62.157.131 2025-11-12 05:26:32,236 - DEBUG - PING 36.62.157.131 (36.62.157.131): 56 data bytes 64 bytes from 36.62.157.131: seq=0 ttl=63 time=2.769 ms 64 bytes from 36.62.157.131: seq=1 ttl=63 time=1.004 ms 64 bytes from 36.62.157.131: seq=2 ttl=63 time=0.996 ms --- 36.62.157.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.996/1.589/2.769 ms 2025-11-12 05:26:32,236 - INFO - Ping to IP 36.62.157.131 from VM ctest-vn1-vm1-80386949 passed 2025-11-12 05:26:32,236 - INFO - Deleting interface with subnet_id db1c8126-a442-4686-9d91-2014fa384d73, port_id None from router 72ae575b-a2b5-4837-a6d4-42beef22c960 2025-11-12 05:26:32,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:26:32,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.62.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 05:26:32,410 - DEBUG - ping -s 56 -c 3 -W 1 36.62.157.131 2025-11-12 05:26:35,632 - DEBUG - PING 36.62.157.131 (36.62.157.131): 56 data bytes --- 36.62.157.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 05:26:35,632 - WARNING - Ping to IP 36.62.157.131 from VM ctest-vn1-vm1-80386949 failed 2025-11-12 05:26:35,632 - INFO - Adding interface with subnet_id db1c8126-a442-4686-9d91-2014fa384d73, port_id None to router 72ae575b-a2b5-4837-a6d4-42beef22c960 2025-11-12 05:26:35,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:26:35,828 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.62.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 05:26:35,828 - DEBUG - ping -s 56 -c 3 -W 1 36.62.157.131 2025-11-12 05:26:39,050 - DEBUG - PING 36.62.157.131 (36.62.157.131): 56 data bytes 64 bytes from 36.62.157.131: seq=1 ttl=63 time=1.892 ms 64 bytes from 36.62.157.131: seq=2 ttl=63 time=1.039 ms --- 36.62.157.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.039/1.465/1.892 ms 2025-11-12 05:26:39,050 - WARNING - Ping to IP 36.62.157.131 from VM ctest-vn1-vm1-80386949 failed 2025-11-12 05:26:40,051 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.62.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 05:26:40,051 - DEBUG - ping -s 56 -c 3 -W 1 36.62.157.131 2025-11-12 05:26:42,258 - DEBUG - PING 36.62.157.131 (36.62.157.131): 56 data bytes 64 bytes from 36.62.157.131: seq=0 ttl=63 time=1.687 ms 64 bytes from 36.62.157.131: seq=1 ttl=63 time=1.028 ms 64 bytes from 36.62.157.131: seq=2 ttl=63 time=1.249 ms --- 36.62.157.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.028/1.321/1.687 ms 2025-11-12 05:26:42,258 - INFO - Ping to IP 36.62.157.131 from VM ctest-vn1-vm1-80386949 passed 2025-11-12 05:26:42,258 - INFO - Deleting interface with subnet_id 341f5252-8a7c-4729-a234-7b3a27552f82, port_id None from router 72ae575b-a2b5-4837-a6d4-42beef22c960 2025-11-12 05:26:42,375 - INFO - Deleting interface with subnet_id db1c8126-a442-4686-9d91-2014fa384d73, port_id None from router 72ae575b-a2b5-4837-a6d4-42beef22c960 2025-11-12 05:26:42,580 - INFO - Deleting VM ctest-vn2-vm1-41516802 2025-11-12 05:26:42,679 - INFO - Deleting VM ctest-vn1-vm1-80386949 2025-11-12 05:26:42,775 - INFO - Deleting VN ctest-vn2-17556095 2025-11-12 05:26:42,811 - DEBUG - VN 02e39503-67dd-4728-90c6-a6660c24f47e still in use: Unable to complete operation on network 02e39503-67dd-4728-90c6-a6660c24f47e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-35ae830e-c9f6-4482-b914-d89d157fe483'] 2025-11-12 05:26:42,811 - WARNING - Deleting VN ctest-vn2-17556095 failed..Will retry 2025-11-12 05:26:44,909 - DEBUG - Response for deleting network () 2025-11-12 05:26:44,909 - INFO - Deleting VN ctest-vn1-36168322 2025-11-12 05:26:45,007 - DEBUG - Response for deleting network () 2025-11-12 05:26:45,268 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 05:26:45,268 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-12 05:26:45,268 - INFO - -------------------------------------------------------------------------------- 2025-11-12 05:26:45,967 - INFO - Deleted project: ctest-TestRouters-33108261, ID : e0fb4ab6-9a5a-4bae-86f6-afa76cb7980b