2025-11-17 02:04:53,991 - INFO - Domain Default found not creating 2025-11-17 02:04:54,152 - INFO - Project ctest-TestRouters-53096233 not found, creating it 2025-11-17 02:04:54,629 - INFO - Created Project:ctest-TestRouters-53096233, ID : 1986bf0d-c766-4aef-a4f4-c8458922f6eb 2025-11-17 02:04:56,247 - INFO - ================================================================================ 2025-11-17 02:04:56,247 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-17 02:04:56,247 - 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-17 02:04:56,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2025-11-17 02:04:56,504 - INFO - Initial checks done. Running the testcase now 2025-11-17 02:04:56,505 - INFO - 2025-11-17 02:04:57,099 - DEBUG - Response for create_network : {'network': {'id': '25524918-5cf8-4416-bdfa-9c96204c9eb7', 'name': 'ctest-vn1-58130610', 'tenant_id': '1986bf0dc7664aefa4f4c8458922f6eb', 'project_id': '1986bf0dc7664aefa4f4c8458922f6eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-53096233', 'ctest-vn1-58130610'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:04:57,242 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbe29a07-0d81-471f-8988-4ac5eee211e0', 'name': '', 'tenant_id': '1986bf0dc7664aefa4f4c8458922f6eb', 'network_id': '25524918-5cf8-4416-bdfa-9c96204c9eb7', 'ip_version': 4, 'cidr': '149.176.238.64/26', 'allocation_pools': [{'start': '149.176.238.66', 'end': '149.176.238.126'}], 'gateway_ip': '149.176.238.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.176.238.66', 'tags': [], 'project_id': '1986bf0dc7664aefa4f4c8458922f6eb'}} 2025-11-17 02:04:57,258 - INFO - Created VN ctest-vn1-58130610 2025-11-17 02:04:57,312 - DEBUG - VN ctest-vn1-58130610 UUID is 25524918-5cf8-4416-bdfa-9c96204c9eb7 2025-11-17 02:04:57,636 - DEBUG - Response for create_network : {'network': {'id': 'c7dc87a6-4b9b-4fb7-969a-789078c4beb8', 'name': 'ctest-vn2-97332256', 'tenant_id': '1986bf0dc7664aefa4f4c8458922f6eb', 'project_id': '1986bf0dc7664aefa4f4c8458922f6eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-53096233', 'ctest-vn2-97332256'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:04:57,862 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfd26928-b1cf-4a75-acfb-849a16ca4f5d', 'name': '', 'tenant_id': '1986bf0dc7664aefa4f4c8458922f6eb', 'network_id': 'c7dc87a6-4b9b-4fb7-969a-789078c4beb8', 'ip_version': 4, 'cidr': '184.123.127.64/26', 'allocation_pools': [{'start': '184.123.127.66', 'end': '184.123.127.126'}], 'gateway_ip': '184.123.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.123.127.66', 'tags': [], 'project_id': '1986bf0dc7664aefa4f4c8458922f6eb'}} 2025-11-17 02:04:57,880 - INFO - Created VN ctest-vn2-97332256 2025-11-17 02:04:57,935 - DEBUG - VN ctest-vn2-97332256 UUID is c7dc87a6-4b9b-4fb7-969a-789078c4beb8 2025-11-17 02:04:58,144 - DEBUG - Services list from nova: [, , ] 2025-11-17 02:04:59,411 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4737-1) 2025-11-17 02:05:00,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4737-1) 2025-11-17 02:05:00,899 - INFO - Adding interface with subnet_id fbe29a07-0d81-471f-8988-4ac5eee211e0, port_id None to router 963c23ea-2610-4da2-a822-fa49997d0961 2025-11-17 02:05:01,167 - INFO - Waiting for VM ctest-vn1-vm1-52778702 to be up.. 2025-11-17 02:05:01,263 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 02:05:06,345 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:05:06,345 - INFO - VM name : ctest-vn1-vm1-52778702 2025-11-17 02:05:06,422 - DEBUG - VM ctest-vn1-vm1-52778702 ID is 99d86266-3c8d-4dbb-95da-96f606272238 2025-11-17 02:05:06,441 - DEBUG - VM ctest-vn1-vm1-52778702 launched on Node cn-jenkins-deploy-platform-ansible-os-4737-1 2025-11-17 02:05:06,518 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/99d86266-3c8d-4dbb-95da-96f606272238 2025-11-17 02:05:06,875 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/99d86266-3c8d-4dbb-95da-96f606272238 2025-11-17 02:05:06,911 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e1124e7e-0a1a-42be-9f52-bf053dcd68f4 2025-11-17 02:05:10,156 - 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 1007ms') 2025-11-17 02:05:10,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52778702 failed! 2025-11-17 02:05:10,215 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-53096233:ctest-vn1-58130610 is 149.176.238.65 and allocation pool is NOT set 2025-11-17 02:05:12,277 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.868 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.868/2.233/3.599/1.365 ms') 2025-11-17 02:05:12,277 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52778702 passed 2025-11-17 02:05:12,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:05:12,427 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52778702, IP 149.176.238.67, Port 22 2025-11-17 02:05:12,604 - DEBUG - VM ctest-vn1-vm1-52778702 is ready for SSH connections 2025-11-17 02:05:12,604 - INFO - Waiting for VM ctest-vn2-vm1-51993904 to be up.. 2025-11-17 02:05:12,684 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:05:12,684 - INFO - VM name : ctest-vn2-vm1-51993904 2025-11-17 02:05:12,768 - DEBUG - VM ctest-vn2-vm1-51993904 ID is 2d20943c-18a8-4e90-93be-0dcce13dcdc9 2025-11-17 02:05:12,768 - DEBUG - VM ctest-vn2-vm1-51993904 launched on Node cn-jenkins-deploy-platform-ansible-os-4737-1 2025-11-17 02:05:12,841 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2d20943c-18a8-4e90-93be-0dcce13dcdc9 2025-11-17 02:05:12,848 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/afb6d35a-168c-43b8-b8ac-0688b483f417 2025-11-17 02:05:14,085 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.808/3.208/1.400 ms') 2025-11-17 02:05:14,085 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-51993904 passed 2025-11-17 02:05:14,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:05:14,235 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-51993904, IP 184.123.127.67, Port 22 2025-11-17 02:05:14,394 - DEBUG - VM ctest-vn2-vm1-51993904 is ready for SSH connections 2025-11-17 02:05:14,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:05:14,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.123.127.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 02:05:14,394 - DEBUG - ping -s 56 -c 3 -W 1 184.123.127.67 2025-11-17 02:05:19,475 - DEBUG - PING 184.123.127.67 (184.123.127.67): 56 data bytes --- 184.123.127.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 02:05:19,475 - WARNING - Ping to IP 184.123.127.67 from VM ctest-vn1-vm1-52778702 failed 2025-11-17 02:05:19,475 - INFO - Adding interface with subnet_id dfd26928-b1cf-4a75-acfb-849a16ca4f5d, port_id None to router 963c23ea-2610-4da2-a822-fa49997d0961 2025-11-17 02:05:19,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:05:19,715 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.123.127.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 02:05:19,715 - DEBUG - ping -s 56 -c 3 -W 1 184.123.127.67 2025-11-17 02:05:22,939 - DEBUG - PING 184.123.127.67 (184.123.127.67): 56 data bytes 64 bytes from 184.123.127.67: seq=1 ttl=63 time=3.080 ms 64 bytes from 184.123.127.67: seq=2 ttl=63 time=0.983 ms --- 184.123.127.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.983/2.031/3.080 ms 2025-11-17 02:05:22,939 - WARNING - Ping to IP 184.123.127.67 from VM ctest-vn1-vm1-52778702 failed 2025-11-17 02:05:23,940 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.123.127.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 02:05:23,940 - DEBUG - ping -s 56 -c 3 -W 1 184.123.127.67 2025-11-17 02:05:26,171 - DEBUG - PING 184.123.127.67 (184.123.127.67): 56 data bytes 64 bytes from 184.123.127.67: seq=0 ttl=63 time=1.513 ms 64 bytes from 184.123.127.67: seq=1 ttl=63 time=0.875 ms 64 bytes from 184.123.127.67: seq=2 ttl=63 time=0.826 ms --- 184.123.127.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.071/1.513 ms 2025-11-17 02:05:26,171 - INFO - Ping to IP 184.123.127.67 from VM ctest-vn1-vm1-52778702 passed 2025-11-17 02:05:26,171 - INFO - Deleting interface with subnet_id fbe29a07-0d81-471f-8988-4ac5eee211e0, port_id None from router 963c23ea-2610-4da2-a822-fa49997d0961 2025-11-17 02:05:26,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:05:26,281 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.123.127.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 02:05:26,281 - DEBUG - ping -s 56 -c 3 -W 1 184.123.127.67 2025-11-17 02:05:29,511 - DEBUG - PING 184.123.127.67 (184.123.127.67): 56 data bytes --- 184.123.127.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 02:05:29,511 - WARNING - Ping to IP 184.123.127.67 from VM ctest-vn1-vm1-52778702 failed 2025-11-17 02:05:29,511 - INFO - Adding interface with subnet_id fbe29a07-0d81-471f-8988-4ac5eee211e0, port_id None to router 963c23ea-2610-4da2-a822-fa49997d0961 2025-11-17 02:05:29,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:05:29,722 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.123.127.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 02:05:29,722 - DEBUG - ping -s 56 -c 3 -W 1 184.123.127.67 2025-11-17 02:05:31,950 - DEBUG - PING 184.123.127.67 (184.123.127.67): 56 data bytes 64 bytes from 184.123.127.67: seq=0 ttl=63 time=1.311 ms 64 bytes from 184.123.127.67: seq=1 ttl=63 time=0.766 ms 64 bytes from 184.123.127.67: seq=2 ttl=63 time=0.824 ms --- 184.123.127.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.766/0.967/1.311 ms 2025-11-17 02:05:31,950 - INFO - Ping to IP 184.123.127.67 from VM ctest-vn1-vm1-52778702 passed 2025-11-17 02:05:31,950 - INFO - Deleting interface with subnet_id dfd26928-b1cf-4a75-acfb-849a16ca4f5d, port_id None from router 963c23ea-2610-4da2-a822-fa49997d0961 2025-11-17 02:05:32,064 - INFO - Deleting interface with subnet_id fbe29a07-0d81-471f-8988-4ac5eee211e0, port_id None from router 963c23ea-2610-4da2-a822-fa49997d0961 2025-11-17 02:05:32,242 - INFO - Deleting VM ctest-vn2-vm1-51993904 2025-11-17 02:05:32,308 - INFO - Deleting VM ctest-vn1-vm1-52778702 2025-11-17 02:05:32,380 - INFO - Deleting VN ctest-vn2-97332256 2025-11-17 02:05:32,417 - DEBUG - VN c7dc87a6-4b9b-4fb7-969a-789078c4beb8 still in use: Unable to complete operation on network c7dc87a6-4b9b-4fb7-969a-789078c4beb8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-29b6dee3-e04f-4064-b9cb-44bc5af68e04'] 2025-11-17 02:05:32,417 - WARNING - Deleting VN ctest-vn2-97332256 failed..Will retry 2025-11-17 02:05:34,517 - DEBUG - Response for deleting network () 2025-11-17 02:05:34,517 - INFO - Deleting VN ctest-vn1-58130610 2025-11-17 02:05:34,619 - DEBUG - Response for deleting network () 2025-11-17 02:05:34,877 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 02:05:34,877 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-17 02:05:34,877 - INFO - -------------------------------------------------------------------------------- 2025-11-17 02:05:35,579 - INFO - Deleted project: ctest-TestRouters-53096233, ID : 1986bf0d-c766-4aef-a4f4-c8458922f6eb