2025-11-12 18:15:31,575 - INFO - Domain Default found not creating 2025-11-12 18:15:31,729 - INFO - Project ctest-TestRouters-39672706 not found, creating it 2025-11-12 18:15:32,180 - INFO - Created Project:ctest-TestRouters-39672706, ID : 73c20e28-0818-4615-afde-4af05387462f 2025-11-12 18:15:33,672 - INFO - ================================================================================ 2025-11-12 18:15:33,672 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-12 18:15:33,672 - 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 18:15:33,921 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-11-12 18:15:33,921 - INFO - Initial checks done. Running the testcase now 2025-11-12 18:15:33,921 - INFO - 2025-11-12 18:15:34,496 - DEBUG - Response for create_network : {'network': {'id': 'f84aa61a-3a76-4ae8-bea0-37a6c7c95347', 'name': 'ctest-vn1-50683181', 'tenant_id': '73c20e2808184615afde4af05387462f', 'project_id': '73c20e2808184615afde4af05387462f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-39672706', 'ctest-vn1-50683181'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:15:34,668 - DEBUG - Response for create_subnet : {'subnet': {'id': '089668ae-d4b5-436d-8308-1f3134445c66', 'name': '', 'tenant_id': '73c20e2808184615afde4af05387462f', 'network_id': 'f84aa61a-3a76-4ae8-bea0-37a6c7c95347', 'ip_version': 4, 'cidr': '51.217.168.0/26', 'allocation_pools': [{'start': '51.217.168.2', 'end': '51.217.168.62'}], 'gateway_ip': '51.217.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.217.168.2', 'tags': [], 'project_id': '73c20e2808184615afde4af05387462f'}} 2025-11-12 18:15:34,683 - INFO - Created VN ctest-vn1-50683181 2025-11-12 18:15:34,732 - DEBUG - VN ctest-vn1-50683181 UUID is f84aa61a-3a76-4ae8-bea0-37a6c7c95347 2025-11-12 18:15:35,071 - DEBUG - Response for create_network : {'network': {'id': 'ba0157e4-6041-4e05-bc99-d79e238a4b53', 'name': 'ctest-vn2-22682644', 'tenant_id': '73c20e2808184615afde4af05387462f', 'project_id': '73c20e2808184615afde4af05387462f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-39672706', 'ctest-vn2-22682644'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:15:35,283 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca506ce9-9df7-4706-bec0-a9e14c4c966f', 'name': '', 'tenant_id': '73c20e2808184615afde4af05387462f', 'network_id': 'ba0157e4-6041-4e05-bc99-d79e238a4b53', 'ip_version': 4, 'cidr': '161.78.95.0/26', 'allocation_pools': [{'start': '161.78.95.2', 'end': '161.78.95.62'}], 'gateway_ip': '161.78.95.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.78.95.2', 'tags': [], 'project_id': '73c20e2808184615afde4af05387462f'}} 2025-11-12 18:15:35,301 - INFO - Created VN ctest-vn2-22682644 2025-11-12 18:15:35,352 - DEBUG - VN ctest-vn2-22682644 UUID is ba0157e4-6041-4e05-bc99-d79e238a4b53 2025-11-12 18:15:35,562 - DEBUG - Services list from nova: [, , ] 2025-11-12 18:15:36,533 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4708-1) 2025-11-12 18:15:37,740 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4708-1) 2025-11-12 18:15:37,808 - INFO - Adding interface with subnet_id 089668ae-d4b5-436d-8308-1f3134445c66, port_id None to router 0f0c4175-1855-404e-aea7-a4b20edabcd1 2025-11-12 18:15:38,070 - INFO - Waiting for VM ctest-vn1-vm1-36363264 to be up.. 2025-11-12 18:15:38,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 18:15:43,227 - DEBUG - VM is in ACTIVE state now 2025-11-12 18:15:43,227 - INFO - VM name : ctest-vn1-vm1-36363264 2025-11-12 18:15:43,296 - DEBUG - VM ctest-vn1-vm1-36363264 ID is d98d497a-33e5-4faf-be6d-1e3bb7d6cfbc 2025-11-12 18:15:43,314 - DEBUG - VM ctest-vn1-vm1-36363264 launched on Node cn-jenkins-deploy-platform-ansible-os-4708-1 2025-11-12 18:15:43,389 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d98d497a-33e5-4faf-be6d-1e3bb7d6cfbc 2025-11-12 18:15:43,692 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d98d497a-33e5-4faf-be6d-1e3bb7d6cfbc 2025-11-12 18:15:43,720 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b8ae809b-c567-475f-9639-527359e080d5 2025-11-12 18:15:46,970 - 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 1027ms') 2025-11-12 18:15:46,970 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36363264 failed! 2025-11-12 18:15:47,024 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-39672706:ctest-vn1-50683181 is 51.217.168.1 and allocation pool is NOT set 2025-11-12 18:15:49,078 - 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=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.786 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.786/1.863/2.941/1.077 ms') 2025-11-12 18:15:49,078 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36363264 passed 2025-11-12 18:15:49,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:15:49,224 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36363264, IP 51.217.168.3, Port 22 2025-11-12 18:15:49,384 - DEBUG - VM ctest-vn1-vm1-36363264 is ready for SSH connections 2025-11-12 18:15:49,384 - INFO - Waiting for VM ctest-vn2-vm1-50330759 to be up.. 2025-11-12 18:15:49,450 - DEBUG - VM is in ACTIVE state now 2025-11-12 18:15:49,450 - INFO - VM name : ctest-vn2-vm1-50330759 2025-11-12 18:15:49,515 - DEBUG - VM ctest-vn2-vm1-50330759 ID is f852408f-58a0-4526-8bf4-76cc56ab28d8 2025-11-12 18:15:49,515 - DEBUG - VM ctest-vn2-vm1-50330759 launched on Node cn-jenkins-deploy-platform-ansible-os-4708-1 2025-11-12 18:15:49,578 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f852408f-58a0-4526-8bf4-76cc56ab28d8 2025-11-12 18:15:49,585 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bac50686-6af5-45d7-8b55-0c6a5f204328 2025-11-12 18:15:50,814 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/1.597/2.775/1.177 ms') 2025-11-12 18:15:50,814 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-50330759 passed 2025-11-12 18:15:50,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:15:50,960 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-50330759, IP 161.78.95.3, Port 22 2025-11-12 18:15:51,111 - DEBUG - VM ctest-vn2-vm1-50330759 is ready for SSH connections 2025-11-12 18:15:51,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:15:51,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.78.95.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-12 18:15:51,112 - DEBUG - ping -s 56 -c 3 -W 1 161.78.95.3 2025-11-12 18:15:56,055 - DEBUG - PING 161.78.95.3 (161.78.95.3): 56 data bytes --- 161.78.95.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 18:15:56,055 - WARNING - Ping to IP 161.78.95.3 from VM ctest-vn1-vm1-36363264 failed 2025-11-12 18:15:56,055 - INFO - Adding interface with subnet_id ca506ce9-9df7-4706-bec0-a9e14c4c966f, port_id None to router 0f0c4175-1855-404e-aea7-a4b20edabcd1 2025-11-12 18:15:56,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:15:56,297 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.78.95.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-12 18:15:56,297 - DEBUG - ping -s 56 -c 3 -W 1 161.78.95.3 2025-11-12 18:15:58,506 - DEBUG - PING 161.78.95.3 (161.78.95.3): 56 data bytes 64 bytes from 161.78.95.3: seq=0 ttl=63 time=2.633 ms 64 bytes from 161.78.95.3: seq=1 ttl=63 time=0.781 ms 64 bytes from 161.78.95.3: seq=2 ttl=63 time=0.762 ms --- 161.78.95.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.762/1.392/2.633 ms 2025-11-12 18:15:58,506 - INFO - Ping to IP 161.78.95.3 from VM ctest-vn1-vm1-36363264 passed 2025-11-12 18:15:58,506 - INFO - Deleting interface with subnet_id 089668ae-d4b5-436d-8308-1f3134445c66, port_id None from router 0f0c4175-1855-404e-aea7-a4b20edabcd1 2025-11-12 18:15:58,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:15:58,617 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.78.95.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-12 18:15:58,617 - DEBUG - ping -s 56 -c 3 -W 1 161.78.95.3 2025-11-12 18:16:01,811 - DEBUG - PING 161.78.95.3 (161.78.95.3): 56 data bytes --- 161.78.95.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 18:16:01,811 - WARNING - Ping to IP 161.78.95.3 from VM ctest-vn1-vm1-36363264 failed 2025-11-12 18:16:01,811 - INFO - Adding interface with subnet_id 089668ae-d4b5-436d-8308-1f3134445c66, port_id None to router 0f0c4175-1855-404e-aea7-a4b20edabcd1 2025-11-12 18:16:02,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:16:02,023 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.78.95.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-12 18:16:02,023 - DEBUG - ping -s 56 -c 3 -W 1 161.78.95.3 2025-11-12 18:16:04,229 - DEBUG - PING 161.78.95.3 (161.78.95.3): 56 data bytes 64 bytes from 161.78.95.3: seq=0 ttl=63 time=1.454 ms 64 bytes from 161.78.95.3: seq=1 ttl=63 time=0.852 ms 64 bytes from 161.78.95.3: seq=2 ttl=63 time=0.937 ms --- 161.78.95.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.852/1.081/1.454 ms 2025-11-12 18:16:04,229 - INFO - Ping to IP 161.78.95.3 from VM ctest-vn1-vm1-36363264 passed 2025-11-12 18:16:04,229 - INFO - Deleting interface with subnet_id ca506ce9-9df7-4706-bec0-a9e14c4c966f, port_id None from router 0f0c4175-1855-404e-aea7-a4b20edabcd1 2025-11-12 18:16:04,328 - INFO - Deleting interface with subnet_id 089668ae-d4b5-436d-8308-1f3134445c66, port_id None from router 0f0c4175-1855-404e-aea7-a4b20edabcd1 2025-11-12 18:16:04,482 - INFO - Deleting VM ctest-vn2-vm1-50330759 2025-11-12 18:16:04,541 - INFO - Deleting VM ctest-vn1-vm1-36363264 2025-11-12 18:16:04,603 - INFO - Deleting VN ctest-vn2-22682644 2025-11-12 18:16:04,635 - DEBUG - VN ba0157e4-6041-4e05-bc99-d79e238a4b53 still in use: Unable to complete operation on network ba0157e4-6041-4e05-bc99-d79e238a4b53. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c5644993-0648-47e2-a175-720a383c7dee'] 2025-11-12 18:16:04,635 - WARNING - Deleting VN ctest-vn2-22682644 failed..Will retry 2025-11-12 18:16:06,722 - DEBUG - Response for deleting network () 2025-11-12 18:16:06,723 - INFO - Deleting VN ctest-vn1-50683181 2025-11-12 18:16:06,818 - DEBUG - Response for deleting network () 2025-11-12 18:16:07,077 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 18:16:07,077 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:34]
2025-11-12 18:16:07,077 - INFO - -------------------------------------------------------------------------------- 2025-11-12 18:16:07,773 - INFO - Deleted project: ctest-TestRouters-39672706, ID : 73c20e28-0818-4615-afde-4af05387462f