2025-11-07 15:50:34,901 - INFO - Domain Default found not creating 2025-11-07 15:50:35,089 - INFO - Project ctest-TestRouters-15663116 not found, creating it 2025-11-07 15:50:35,597 - INFO - Created Project:ctest-TestRouters-15663116, ID : 0df26b82-8c0e-40ae-a36e-e14832bd8fd5 2025-11-07 15:50:37,235 - INFO - ================================================================================ 2025-11-07 15:50:37,235 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-07 15:50:37,235 - 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-07 15:50:37,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-11-07 15:50:37,495 - INFO - Initial checks done. Running the testcase now 2025-11-07 15:50:37,495 - INFO - 2025-11-07 15:50:38,081 - DEBUG - Response for create_network : {'network': {'id': '6138d93d-2e5a-4a7b-916f-a215cfb0eb81', 'name': 'ctest-vn1-27372306', 'tenant_id': '0df26b828c0e40aea36ee14832bd8fd5', 'project_id': '0df26b828c0e40aea36ee14832bd8fd5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-15663116', 'ctest-vn1-27372306'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 15:50:38,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '9313814a-f3cc-48ab-88d5-fa8e2da72c18', 'name': '', 'tenant_id': '0df26b828c0e40aea36ee14832bd8fd5', 'network_id': '6138d93d-2e5a-4a7b-916f-a215cfb0eb81', 'ip_version': 4, 'cidr': '71.28.146.128/26', 'allocation_pools': [{'start': '71.28.146.130', 'end': '71.28.146.190'}], 'gateway_ip': '71.28.146.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.28.146.130', 'tags': [], 'project_id': '0df26b828c0e40aea36ee14832bd8fd5'}} 2025-11-07 15:50:38,305 - INFO - Created VN ctest-vn1-27372306 2025-11-07 15:50:38,361 - DEBUG - VN ctest-vn1-27372306 UUID is 6138d93d-2e5a-4a7b-916f-a215cfb0eb81 2025-11-07 15:50:38,720 - DEBUG - Response for create_network : {'network': {'id': 'a40d7434-833e-408b-a62d-f3e6c4c9797c', 'name': 'ctest-vn2-84849909', 'tenant_id': '0df26b828c0e40aea36ee14832bd8fd5', 'project_id': '0df26b828c0e40aea36ee14832bd8fd5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-15663116', 'ctest-vn2-84849909'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 15:50:38,970 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b27fe0b3-ccec-4172-8e1f-b4e2de2d88bf', 'name': '', 'tenant_id': '0df26b828c0e40aea36ee14832bd8fd5', 'network_id': 'a40d7434-833e-408b-a62d-f3e6c4c9797c', 'ip_version': 4, 'cidr': '193.94.217.64/26', 'allocation_pools': [{'start': '193.94.217.66', 'end': '193.94.217.126'}], 'gateway_ip': '193.94.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.94.217.66', 'tags': [], 'project_id': '0df26b828c0e40aea36ee14832bd8fd5'}} 2025-11-07 15:50:38,991 - INFO - Created VN ctest-vn2-84849909 2025-11-07 15:50:39,045 - DEBUG - VN ctest-vn2-84849909 UUID is a40d7434-833e-408b-a62d-f3e6c4c9797c 2025-11-07 15:50:39,220 - DEBUG - Services list from nova: [, , ] 2025-11-07 15:50:40,295 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4670-1) 2025-11-07 15:50:41,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4670-1) 2025-11-07 15:50:41,820 - INFO - Adding interface with subnet_id 9313814a-f3cc-48ab-88d5-fa8e2da72c18, port_id None to router 9a833d25-8ae7-4f95-8c3e-ecaa323df98d 2025-11-07 15:50:42,157 - INFO - Waiting for VM ctest-vn1-vm1-91033618 to be up.. 2025-11-07 15:50:42,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 15:50:47,402 - DEBUG - VM is in ACTIVE state now 2025-11-07 15:50:47,402 - INFO - VM name : ctest-vn1-vm1-91033618 2025-11-07 15:50:47,583 - DEBUG - VM ctest-vn1-vm1-91033618 ID is d65995c2-fe9d-4cd1-88df-16cc9ad82716 2025-11-07 15:50:47,636 - DEBUG - VM ctest-vn1-vm1-91033618 launched on Node cn-jenkins-deploy-platform-ansible-os-4670-1 2025-11-07 15:50:47,765 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d65995c2-fe9d-4cd1-88df-16cc9ad82716 2025-11-07 15:50:48,123 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d65995c2-fe9d-4cd1-88df-16cc9ad82716 2025-11-07 15:50:48,159 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2f03fd5c-9b5e-4cc9-b86f-0e7788a7ef60 2025-11-07 15:50:51,436 - 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 1021ms') 2025-11-07 15:50:51,436 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91033618 failed! 2025-11-07 15:50:51,497 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-15663116:ctest-vn1-27372306 is 71.28.146.129 and allocation pool is NOT set 2025-11-07 15:50:53,560 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.567 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.567/2.225/3.884/1.658 ms') 2025-11-07 15:50:53,560 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91033618 passed 2025-11-07 15:50:53,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:50:53,713 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-91033618, IP 71.28.146.131, Port 22 2025-11-07 15:50:53,887 - DEBUG - VM ctest-vn1-vm1-91033618 is ready for SSH connections 2025-11-07 15:50:53,887 - INFO - Waiting for VM ctest-vn2-vm1-76966605 to be up.. 2025-11-07 15:50:53,970 - DEBUG - VM is in ACTIVE state now 2025-11-07 15:50:53,970 - INFO - VM name : ctest-vn2-vm1-76966605 2025-11-07 15:50:54,047 - DEBUG - VM ctest-vn2-vm1-76966605 ID is 9c477f4a-12cf-4269-bad6-7745b078783f 2025-11-07 15:50:54,047 - DEBUG - VM ctest-vn2-vm1-76966605 launched on Node cn-jenkins-deploy-platform-ansible-os-4670-1 2025-11-07 15:50:54,127 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9c477f4a-12cf-4269-bad6-7745b078783f 2025-11-07 15:50:54,135 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e2791220-e1ef-48de-871a-acc2ab049569 2025-11-07 15:50:55,377 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/1.689/2.913/1.223 ms') 2025-11-07 15:50:55,377 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-76966605 passed 2025-11-07 15:50:55,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:50:55,529 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-76966605, IP 193.94.217.67, Port 22 2025-11-07 15:50:55,695 - DEBUG - VM ctest-vn2-vm1-76966605 is ready for SSH connections 2025-11-07 15:50:55,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:50:55,695 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.94.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-07 15:50:55,695 - DEBUG - ping -s 56 -c 3 -W 1 193.94.217.67 2025-11-07 15:51:00,458 - DEBUG - PING 193.94.217.67 (193.94.217.67): 56 data bytes --- 193.94.217.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 15:51:00,458 - WARNING - Ping to IP 193.94.217.67 from VM ctest-vn1-vm1-91033618 failed 2025-11-07 15:51:00,458 - INFO - Adding interface with subnet_id b27fe0b3-ccec-4172-8e1f-b4e2de2d88bf, port_id None to router 9a833d25-8ae7-4f95-8c3e-ecaa323df98d 2025-11-07 15:51:00,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:51:00,790 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.94.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-07 15:51:00,790 - DEBUG - ping -s 56 -c 3 -W 1 193.94.217.67 2025-11-07 15:51:04,007 - DEBUG - PING 193.94.217.67 (193.94.217.67): 56 data bytes 64 bytes from 193.94.217.67: seq=1 ttl=63 time=4.488 ms 64 bytes from 193.94.217.67: seq=2 ttl=63 time=1.531 ms --- 193.94.217.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.531/3.009/4.488 ms 2025-11-07 15:51:04,007 - WARNING - Ping to IP 193.94.217.67 from VM ctest-vn1-vm1-91033618 failed 2025-11-07 15:51:05,008 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.94.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-07 15:51:05,009 - DEBUG - ping -s 56 -c 3 -W 1 193.94.217.67 2025-11-07 15:51:07,259 - DEBUG - PING 193.94.217.67 (193.94.217.67): 56 data bytes 64 bytes from 193.94.217.67: seq=0 ttl=63 time=2.738 ms 64 bytes from 193.94.217.67: seq=1 ttl=63 time=1.116 ms 64 bytes from 193.94.217.67: seq=2 ttl=63 time=0.928 ms --- 193.94.217.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/1.594/2.738 ms 2025-11-07 15:51:07,260 - INFO - Ping to IP 193.94.217.67 from VM ctest-vn1-vm1-91033618 passed 2025-11-07 15:51:07,260 - INFO - Deleting interface with subnet_id 9313814a-f3cc-48ab-88d5-fa8e2da72c18, port_id None from router 9a833d25-8ae7-4f95-8c3e-ecaa323df98d 2025-11-07 15:51:07,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:51:07,382 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.94.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-07 15:51:07,382 - DEBUG - ping -s 56 -c 3 -W 1 193.94.217.67 2025-11-07 15:51:10,597 - DEBUG - PING 193.94.217.67 (193.94.217.67): 56 data bytes --- 193.94.217.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 15:51:10,597 - WARNING - Ping to IP 193.94.217.67 from VM ctest-vn1-vm1-91033618 failed 2025-11-07 15:51:10,597 - INFO - Adding interface with subnet_id 9313814a-f3cc-48ab-88d5-fa8e2da72c18, port_id None to router 9a833d25-8ae7-4f95-8c3e-ecaa323df98d 2025-11-07 15:51:10,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 15:51:10,816 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.94.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-07 15:51:10,816 - DEBUG - ping -s 56 -c 3 -W 1 193.94.217.67 2025-11-07 15:51:13,037 - DEBUG - PING 193.94.217.67 (193.94.217.67): 56 data bytes 64 bytes from 193.94.217.67: seq=0 ttl=63 time=2.502 ms 64 bytes from 193.94.217.67: seq=1 ttl=63 time=0.950 ms 64 bytes from 193.94.217.67: seq=2 ttl=63 time=1.015 ms --- 193.94.217.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.950/1.489/2.502 ms 2025-11-07 15:51:13,037 - INFO - Ping to IP 193.94.217.67 from VM ctest-vn1-vm1-91033618 passed 2025-11-07 15:51:13,038 - INFO - Deleting interface with subnet_id b27fe0b3-ccec-4172-8e1f-b4e2de2d88bf, port_id None from router 9a833d25-8ae7-4f95-8c3e-ecaa323df98d 2025-11-07 15:51:13,156 - INFO - Deleting interface with subnet_id 9313814a-f3cc-48ab-88d5-fa8e2da72c18, port_id None from router 9a833d25-8ae7-4f95-8c3e-ecaa323df98d 2025-11-07 15:51:13,340 - INFO - Deleting VM ctest-vn2-vm1-76966605 2025-11-07 15:51:13,432 - INFO - Deleting VM ctest-vn1-vm1-91033618 2025-11-07 15:51:13,512 - INFO - Deleting VN ctest-vn2-84849909 2025-11-07 15:51:13,569 - DEBUG - VN a40d7434-833e-408b-a62d-f3e6c4c9797c still in use: Unable to complete operation on network a40d7434-833e-408b-a62d-f3e6c4c9797c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fe7dfa55-7686-41b4-adc9-a3f527c34164'] 2025-11-07 15:51:13,570 - WARNING - Deleting VN ctest-vn2-84849909 failed..Will retry 2025-11-07 15:51:15,683 - DEBUG - Response for deleting network () 2025-11-07 15:51:15,683 - INFO - Deleting VN ctest-vn1-27372306 2025-11-07 15:51:15,822 - DEBUG - Response for deleting network () 2025-11-07 15:51:16,082 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 15:51:16,082 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-11-07 15:51:16,082 - INFO - -------------------------------------------------------------------------------- 2025-11-07 15:51:16,783 - INFO - Deleted project: ctest-TestRouters-15663116, ID : 0df26b82-8c0e-40ae-a36e-e14832bd8fd5