2025-10-17 08:36:19,396 - INFO - Domain Default found not creating 2025-10-17 08:36:19,536 - INFO - Project ctest-TestRouters-37755673 not found, creating it 2025-10-17 08:36:19,965 - INFO - Created Project:ctest-TestRouters-37755673, ID : 1b0a5594-f937-4ca7-8e8c-d9da37cded33 2025-10-17 08:36:21,386 - INFO - ================================================================================ 2025-10-17 08:36:21,386 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-17 08:36:21,386 - 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-17 08:36:21,638 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-17 08:36:21,638 - INFO - Initial checks done. Running the testcase now 2025-10-17 08:36:21,638 - INFO - 2025-10-17 08:36:22,170 - DEBUG - Response for create_network : {'network': {'id': 'ef3526b0-9de7-4123-9006-6c1c5dd40afa', 'name': 'ctest-vn1-35758036', 'tenant_id': '1b0a5594f9374ca78e8cd9da37cded33', 'project_id': '1b0a5594f9374ca78e8cd9da37cded33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-37755673', 'ctest-vn1-35758036'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 08:36:22,341 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a9e5265-8200-47f5-9592-89d8881ece52', 'name': '', 'tenant_id': '1b0a5594f9374ca78e8cd9da37cded33', 'network_id': 'ef3526b0-9de7-4123-9006-6c1c5dd40afa', 'ip_version': 4, 'cidr': '160.169.32.192/26', 'allocation_pools': [{'start': '160.169.32.194', 'end': '160.169.32.254'}], 'gateway_ip': '160.169.32.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.169.32.194', 'tags': [], 'project_id': '1b0a5594f9374ca78e8cd9da37cded33'}} 2025-10-17 08:36:22,359 - INFO - Created VN ctest-vn1-35758036 2025-10-17 08:36:22,409 - DEBUG - VN ctest-vn1-35758036 UUID is ef3526b0-9de7-4123-9006-6c1c5dd40afa 2025-10-17 08:36:22,741 - DEBUG - Response for create_network : {'network': {'id': 'fde690fd-4519-4d55-a492-40b46b73290c', 'name': 'ctest-vn2-73290417', 'tenant_id': '1b0a5594f9374ca78e8cd9da37cded33', 'project_id': '1b0a5594f9374ca78e8cd9da37cded33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-37755673', 'ctest-vn2-73290417'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 08:36:22,953 - DEBUG - Response for create_subnet : {'subnet': {'id': '696a222f-8717-4243-ae78-94cc94d452cd', 'name': '', 'tenant_id': '1b0a5594f9374ca78e8cd9da37cded33', 'network_id': 'fde690fd-4519-4d55-a492-40b46b73290c', 'ip_version': 4, 'cidr': '68.57.209.64/26', 'allocation_pools': [{'start': '68.57.209.66', 'end': '68.57.209.126'}], 'gateway_ip': '68.57.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.57.209.66', 'tags': [], 'project_id': '1b0a5594f9374ca78e8cd9da37cded33'}} 2025-10-17 08:36:22,973 - INFO - Created VN ctest-vn2-73290417 2025-10-17 08:36:23,029 - DEBUG - VN ctest-vn2-73290417 UUID is fde690fd-4519-4d55-a492-40b46b73290c 2025-10-17 08:36:23,257 - DEBUG - Services list from nova: [, , ] 2025-10-17 08:36:24,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4353-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4353-1) 2025-10-17 08:36:25,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4353-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4353-1) 2025-10-17 08:36:25,558 - INFO - Adding interface with subnet_id 1a9e5265-8200-47f5-9592-89d8881ece52, port_id None to router 6ca4f94a-3053-4cb0-bf37-a4a67bdebbab 2025-10-17 08:36:25,832 - INFO - Waiting for VM ctest-vn1-vm1-64524761 to be up.. 2025-10-17 08:36:25,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 08:36:30,991 - DEBUG - VM is in ACTIVE state now 2025-10-17 08:36:30,991 - INFO - VM name : ctest-vn1-vm1-64524761 2025-10-17 08:36:31,069 - DEBUG - VM ctest-vn1-vm1-64524761 ID is b32de21a-3229-4e69-811b-db925d0ea9a5 2025-10-17 08:36:31,087 - DEBUG - VM ctest-vn1-vm1-64524761 launched on Node cn-jenkins-deploy-platform-ansible-os-4353-1 2025-10-17 08:36:31,152 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b32de21a-3229-4e69-811b-db925d0ea9a5 2025-10-17 08:36:31,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b32de21a-3229-4e69-811b-db925d0ea9a5 2025-10-17 08:36:31,472 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f34c596f-8160-4c23-bd9a-fd1294e672ed 2025-10-17 08:36:34,733 - 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 1030ms') 2025-10-17 08:36:34,733 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64524761 failed! 2025-10-17 08:36:34,786 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-37755673:ctest-vn1-35758036 is 160.169.32.193 and allocation pool is NOT set 2025-10-17 08:36:36,844 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.460 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.460/1.834/3.208/1.374 ms') 2025-10-17 08:36:36,845 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64524761 passed 2025-10-17 08:36:36,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:36:36,994 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64524761, IP 160.169.32.195, Port 22 2025-10-17 08:36:37,145 - DEBUG - VM ctest-vn1-vm1-64524761 is ready for SSH connections 2025-10-17 08:36:37,145 - INFO - Waiting for VM ctest-vn2-vm1-46549171 to be up.. 2025-10-17 08:36:37,217 - DEBUG - VM is in ACTIVE state now 2025-10-17 08:36:37,217 - INFO - VM name : ctest-vn2-vm1-46549171 2025-10-17 08:36:37,292 - DEBUG - VM ctest-vn2-vm1-46549171 ID is 3ca98f4e-e22c-4874-9288-6b2fb10d9ead 2025-10-17 08:36:37,292 - DEBUG - VM ctest-vn2-vm1-46549171 launched on Node cn-jenkins-deploy-platform-ansible-os-4353-1 2025-10-17 08:36:37,361 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3ca98f4e-e22c-4874-9288-6b2fb10d9ead 2025-10-17 08:36:37,369 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/56be733f-0433-488e-97b7-7e3409957083 2025-10-17 08:36:38,600 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.556 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.556/1.914/3.273/1.358 ms') 2025-10-17 08:36:38,600 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-46549171 passed 2025-10-17 08:36:38,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:36:38,754 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-46549171, IP 68.57.209.67, Port 22 2025-10-17 08:36:38,910 - DEBUG - VM ctest-vn2-vm1-46549171 is ready for SSH connections 2025-10-17 08:36:38,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:36:38,910 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.57.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-17 08:36:38,910 - DEBUG - ping -s 56 -c 3 -W 1 68.57.209.67 2025-10-17 08:36:43,899 - DEBUG - PING 68.57.209.67 (68.57.209.67): 56 data bytes --- 68.57.209.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-17 08:36:43,899 - WARNING - Ping to IP 68.57.209.67 from VM ctest-vn1-vm1-64524761 failed 2025-10-17 08:36:43,899 - INFO - Adding interface with subnet_id 696a222f-8717-4243-ae78-94cc94d452cd, port_id None to router 6ca4f94a-3053-4cb0-bf37-a4a67bdebbab 2025-10-17 08:36:44,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:36:44,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.57.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-17 08:36:44,187 - DEBUG - ping -s 56 -c 3 -W 1 68.57.209.67 2025-10-17 08:36:46,400 - DEBUG - PING 68.57.209.67 (68.57.209.67): 56 data bytes 64 bytes from 68.57.209.67: seq=0 ttl=63 time=2.576 ms 64 bytes from 68.57.209.67: seq=1 ttl=63 time=0.803 ms 64 bytes from 68.57.209.67: seq=2 ttl=63 time=0.957 ms --- 68.57.209.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.803/1.445/2.576 ms 2025-10-17 08:36:46,400 - INFO - Ping to IP 68.57.209.67 from VM ctest-vn1-vm1-64524761 passed 2025-10-17 08:36:46,400 - INFO - Deleting interface with subnet_id 1a9e5265-8200-47f5-9592-89d8881ece52, port_id None from router 6ca4f94a-3053-4cb0-bf37-a4a67bdebbab 2025-10-17 08:36:46,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:36:46,510 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.57.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-17 08:36:46,510 - DEBUG - ping -s 56 -c 3 -W 1 68.57.209.67 2025-10-17 08:36:49,739 - DEBUG - PING 68.57.209.67 (68.57.209.67): 56 data bytes --- 68.57.209.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-17 08:36:49,739 - WARNING - Ping to IP 68.57.209.67 from VM ctest-vn1-vm1-64524761 failed 2025-10-17 08:36:49,739 - INFO - Adding interface with subnet_id 1a9e5265-8200-47f5-9592-89d8881ece52, port_id None to router 6ca4f94a-3053-4cb0-bf37-a4a67bdebbab 2025-10-17 08:36:49,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:36:49,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.57.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-17 08:36:49,933 - DEBUG - ping -s 56 -c 3 -W 1 68.57.209.67 2025-10-17 08:36:53,138 - DEBUG - PING 68.57.209.67 (68.57.209.67): 56 data bytes 64 bytes from 68.57.209.67: seq=1 ttl=63 time=1.653 ms 64 bytes from 68.57.209.67: seq=2 ttl=63 time=0.897 ms --- 68.57.209.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.897/1.275/1.653 ms 2025-10-17 08:36:53,138 - WARNING - Ping to IP 68.57.209.67 from VM ctest-vn1-vm1-64524761 failed 2025-10-17 08:36:54,139 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.57.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-17 08:36:54,139 - DEBUG - ping -s 56 -c 3 -W 1 68.57.209.67 2025-10-17 08:36:56,379 - DEBUG - PING 68.57.209.67 (68.57.209.67): 56 data bytes 64 bytes from 68.57.209.67: seq=0 ttl=63 time=2.012 ms 64 bytes from 68.57.209.67: seq=1 ttl=63 time=0.821 ms 64 bytes from 68.57.209.67: seq=2 ttl=63 time=1.176 ms --- 68.57.209.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.821/1.336/2.012 ms 2025-10-17 08:36:56,379 - INFO - Ping to IP 68.57.209.67 from VM ctest-vn1-vm1-64524761 passed 2025-10-17 08:36:56,379 - INFO - Deleting interface with subnet_id 696a222f-8717-4243-ae78-94cc94d452cd, port_id None from router 6ca4f94a-3053-4cb0-bf37-a4a67bdebbab 2025-10-17 08:36:56,504 - INFO - Deleting interface with subnet_id 1a9e5265-8200-47f5-9592-89d8881ece52, port_id None from router 6ca4f94a-3053-4cb0-bf37-a4a67bdebbab 2025-10-17 08:36:56,675 - INFO - Deleting VM ctest-vn2-vm1-46549171 2025-10-17 08:36:56,750 - INFO - Deleting VM ctest-vn1-vm1-64524761 2025-10-17 08:36:56,827 - INFO - Deleting VN ctest-vn2-73290417 2025-10-17 08:36:56,865 - DEBUG - VN fde690fd-4519-4d55-a492-40b46b73290c still in use: Unable to complete operation on network fde690fd-4519-4d55-a492-40b46b73290c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-48c4d786-159a-4596-9b12-2308b6b3b94f'] 2025-10-17 08:36:56,865 - WARNING - Deleting VN ctest-vn2-73290417 failed..Will retry 2025-10-17 08:36:58,953 - DEBUG - Response for deleting network () 2025-10-17 08:36:58,954 - INFO - Deleting VN ctest-vn1-35758036 2025-10-17 08:36:59,049 - DEBUG - Response for deleting network () 2025-10-17 08:36:59,307 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 08:36:59,307 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-17 08:36:59,308 - INFO - -------------------------------------------------------------------------------- 2025-10-17 08:36:59,967 - INFO - Deleted project: ctest-TestRouters-37755673, ID : 1b0a5594-f937-4ca7-8e8c-d9da37cded33