2025-11-10 18:50:22,829 - INFO - Domain Default found not creating 2025-11-10 18:50:23,031 - INFO - Project ctest-TestRouters-62923562 not found, creating it 2025-11-10 18:50:23,560 - INFO - Created Project:ctest-TestRouters-62923562, ID : 973c5be7-7d93-400e-980c-973f415f20cf 2025-11-10 18:50:25,416 - INFO - ================================================================================ 2025-11-10 18:50:25,416 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-10 18:50:25,416 - 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-10 18:50:25,693 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-11-10 18:50:25,693 - INFO - Initial checks done. Running the testcase now 2025-11-10 18:50:25,693 - INFO - 2025-11-10 18:50:26,319 - DEBUG - Response for create_network : {'network': {'id': 'c0a6d768-fdab-4d25-9345-8a81c4cb8830', 'name': 'ctest-vn1-36330529', 'tenant_id': '973c5be77d93400e980c973f415f20cf', 'project_id': '973c5be77d93400e980c973f415f20cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62923562', 'ctest-vn1-36330529'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:50:26,576 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cbf0f565-b3eb-4cf8-8d68-47c35d728b87', 'name': '', 'tenant_id': '973c5be77d93400e980c973f415f20cf', 'network_id': 'c0a6d768-fdab-4d25-9345-8a81c4cb8830', 'ip_version': 4, 'cidr': '72.109.162.128/26', 'allocation_pools': [{'start': '72.109.162.130', 'end': '72.109.162.190'}], 'gateway_ip': '72.109.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.109.162.130', 'tags': [], 'project_id': '973c5be77d93400e980c973f415f20cf'}} 2025-11-10 18:50:26,596 - INFO - Created VN ctest-vn1-36330529 2025-11-10 18:50:26,654 - DEBUG - VN ctest-vn1-36330529 UUID is c0a6d768-fdab-4d25-9345-8a81c4cb8830 2025-11-10 18:50:26,948 - DEBUG - Response for create_network : {'network': {'id': 'b8425e77-e1fa-4297-99e4-327f17ba11f6', 'name': 'ctest-vn2-09608677', 'tenant_id': '973c5be77d93400e980c973f415f20cf', 'project_id': '973c5be77d93400e980c973f415f20cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62923562', 'ctest-vn2-09608677'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:50:27,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e76d85f-bd78-4482-9fce-7f144e247681', 'name': '', 'tenant_id': '973c5be77d93400e980c973f415f20cf', 'network_id': 'b8425e77-e1fa-4297-99e4-327f17ba11f6', 'ip_version': 4, 'cidr': '138.187.123.0/26', 'allocation_pools': [{'start': '138.187.123.2', 'end': '138.187.123.62'}], 'gateway_ip': '138.187.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.187.123.2', 'tags': [], 'project_id': '973c5be77d93400e980c973f415f20cf'}} 2025-11-10 18:50:27,211 - INFO - Created VN ctest-vn2-09608677 2025-11-10 18:50:27,262 - DEBUG - VN ctest-vn2-09608677 UUID is b8425e77-e1fa-4297-99e4-327f17ba11f6 2025-11-10 18:50:27,440 - DEBUG - Services list from nova: [, , ] 2025-11-10 18:50:28,583 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4685-1) 2025-11-10 18:50:29,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4685-1) 2025-11-10 18:50:30,029 - INFO - Adding interface with subnet_id cbf0f565-b3eb-4cf8-8d68-47c35d728b87, port_id None to router 6d35bf5f-6a87-43fd-a554-fb8258cc9e53 2025-11-10 18:50:30,326 - INFO - Waiting for VM ctest-vn1-vm1-63469769 to be up.. 2025-11-10 18:50:30,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 18:50:35,518 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:50:35,518 - INFO - VM name : ctest-vn1-vm1-63469769 2025-11-10 18:50:35,605 - DEBUG - VM ctest-vn1-vm1-63469769 ID is c070e543-6309-4866-88ba-18876d399f20 2025-11-10 18:50:35,630 - DEBUG - VM ctest-vn1-vm1-63469769 launched on Node cn-jenkins-deploy-platform-ansible-os-4685-1 2025-11-10 18:50:35,711 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c070e543-6309-4866-88ba-18876d399f20 2025-11-10 18:50:36,016 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c070e543-6309-4866-88ba-18876d399f20 2025-11-10 18:50:36,050 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/42a9026a-c6ad-4a7e-bdda-e72deba2dfb9 2025-11-10 18:50:39,309 - 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 1010ms') 2025-11-10 18:50:39,309 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63469769 failed! 2025-11-10 18:50:39,366 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-62923562:ctest-vn1-36330529 is 72.109.162.129 and allocation pool is NOT set 2025-11-10 18:50:41,430 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 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.113/3.019/4.925/1.906 ms') 2025-11-10 18:50:41,431 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63469769 passed 2025-11-10 18:50:41,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:41,591 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63469769, IP 72.109.162.131, Port 22 2025-11-10 18:50:41,777 - DEBUG - VM ctest-vn1-vm1-63469769 is ready for SSH connections 2025-11-10 18:50:41,777 - INFO - Waiting for VM ctest-vn2-vm1-77621395 to be up.. 2025-11-10 18:50:41,889 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:50:41,889 - INFO - VM name : ctest-vn2-vm1-77621395 2025-11-10 18:50:41,981 - DEBUG - VM ctest-vn2-vm1-77621395 ID is febdfe0f-ef13-4111-852c-a38233642d44 2025-11-10 18:50:41,981 - DEBUG - VM ctest-vn2-vm1-77621395 launched on Node cn-jenkins-deploy-platform-ansible-os-4685-1 2025-11-10 18:50:42,066 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/febdfe0f-ef13-4111-852c-a38233642d44 2025-11-10 18:50:42,075 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2925f3d9-d7c0-496a-aa5f-f350aebce614 2025-11-10 18:50:43,322 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.26 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 = 1.261/2.980/4.700/1.719 ms') 2025-11-10 18:50:43,322 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-77621395 passed 2025-11-10 18:50:43,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:43,487 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-77621395, IP 138.187.123.3, Port 22 2025-11-10 18:50:43,657 - DEBUG - VM ctest-vn2-vm1-77621395 is ready for SSH connections 2025-11-10 18:50:43,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:43,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.187.123.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-10 18:50:43,658 - DEBUG - ping -s 56 -c 3 -W 1 138.187.123.3 2025-11-10 18:50:48,839 - DEBUG - PING 138.187.123.3 (138.187.123.3): 56 data bytes --- 138.187.123.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 18:50:48,840 - WARNING - Ping to IP 138.187.123.3 from VM ctest-vn1-vm1-63469769 failed 2025-11-10 18:50:48,840 - INFO - Adding interface with subnet_id 6e76d85f-bd78-4482-9fce-7f144e247681, port_id None to router 6d35bf5f-6a87-43fd-a554-fb8258cc9e53 2025-11-10 18:50:49,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:49,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.187.123.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-10 18:50:49,112 - DEBUG - ping -s 56 -c 3 -W 1 138.187.123.3 2025-11-10 18:50:52,330 - DEBUG - PING 138.187.123.3 (138.187.123.3): 56 data bytes 64 bytes from 138.187.123.3: seq=1 ttl=63 time=5.406 ms 64 bytes from 138.187.123.3: seq=2 ttl=63 time=0.937 ms --- 138.187.123.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.937/3.171/5.406 ms 2025-11-10 18:50:52,331 - WARNING - Ping to IP 138.187.123.3 from VM ctest-vn1-vm1-63469769 failed 2025-11-10 18:50:53,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.187.123.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-10 18:50:53,332 - DEBUG - ping -s 56 -c 3 -W 1 138.187.123.3 2025-11-10 18:50:55,601 - DEBUG - PING 138.187.123.3 (138.187.123.3): 56 data bytes 64 bytes from 138.187.123.3: seq=0 ttl=63 time=2.096 ms 64 bytes from 138.187.123.3: seq=1 ttl=63 time=1.076 ms 64 bytes from 138.187.123.3: seq=2 ttl=63 time=1.069 ms --- 138.187.123.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.069/1.413/2.096 ms 2025-11-10 18:50:55,601 - INFO - Ping to IP 138.187.123.3 from VM ctest-vn1-vm1-63469769 passed 2025-11-10 18:50:55,601 - INFO - Deleting interface with subnet_id cbf0f565-b3eb-4cf8-8d68-47c35d728b87, port_id None from router 6d35bf5f-6a87-43fd-a554-fb8258cc9e53 2025-11-10 18:50:55,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:55,772 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.187.123.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-10 18:50:55,772 - DEBUG - ping -s 56 -c 3 -W 1 138.187.123.3 2025-11-10 18:50:59,022 - DEBUG - PING 138.187.123.3 (138.187.123.3): 56 data bytes --- 138.187.123.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 18:50:59,023 - WARNING - Ping to IP 138.187.123.3 from VM ctest-vn1-vm1-63469769 failed 2025-11-10 18:50:59,023 - INFO - Adding interface with subnet_id cbf0f565-b3eb-4cf8-8d68-47c35d728b87, port_id None to router 6d35bf5f-6a87-43fd-a554-fb8258cc9e53 2025-11-10 18:50:59,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:59,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.187.123.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-10 18:50:59,252 - DEBUG - ping -s 56 -c 3 -W 1 138.187.123.3 2025-11-10 18:51:01,479 - DEBUG - PING 138.187.123.3 (138.187.123.3): 56 data bytes 64 bytes from 138.187.123.3: seq=0 ttl=63 time=1.943 ms 64 bytes from 138.187.123.3: seq=1 ttl=63 time=0.872 ms 64 bytes from 138.187.123.3: seq=2 ttl=63 time=1.301 ms --- 138.187.123.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/1.372/1.943 ms 2025-11-10 18:51:01,479 - INFO - Ping to IP 138.187.123.3 from VM ctest-vn1-vm1-63469769 passed 2025-11-10 18:51:01,479 - INFO - Deleting interface with subnet_id 6e76d85f-bd78-4482-9fce-7f144e247681, port_id None from router 6d35bf5f-6a87-43fd-a554-fb8258cc9e53 2025-11-10 18:51:01,603 - INFO - Deleting interface with subnet_id cbf0f565-b3eb-4cf8-8d68-47c35d728b87, port_id None from router 6d35bf5f-6a87-43fd-a554-fb8258cc9e53 2025-11-10 18:51:01,810 - INFO - Deleting VM ctest-vn2-vm1-77621395 2025-11-10 18:51:01,888 - INFO - Deleting VM ctest-vn1-vm1-63469769 2025-11-10 18:51:01,982 - INFO - Deleting VN ctest-vn2-09608677 2025-11-10 18:51:02,027 - DEBUG - VN b8425e77-e1fa-4297-99e4-327f17ba11f6 still in use: Unable to complete operation on network b8425e77-e1fa-4297-99e4-327f17ba11f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cc14e59c-5622-4dea-802d-f35f99b149c1'] 2025-11-10 18:51:02,027 - WARNING - Deleting VN ctest-vn2-09608677 failed..Will retry 2025-11-10 18:51:04,159 - DEBUG - Response for deleting network () 2025-11-10 18:51:04,159 - INFO - Deleting VN ctest-vn1-36330529 2025-11-10 18:51:04,279 - DEBUG - Response for deleting network () 2025-11-10 18:51:04,553 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 18:51:04,553 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-11-10 18:51:04,553 - INFO - -------------------------------------------------------------------------------- 2025-11-10 18:51:05,237 - INFO - Deleted project: ctest-TestRouters-62923562, ID : 973c5be7-7d93-400e-980c-973f415f20cf