2025-08-25 12:29:44,618 - INFO - Domain Default found not creating 2025-08-25 12:29:44,772 - INFO - Project ctest-TestRouters-62259067 not found, creating it 2025-08-25 12:29:45,348 - INFO - Created Project:ctest-TestRouters-62259067, ID : 13be3e85-613c-49cd-bc5f-3b2986e3a598 2025-08-25 12:29:47,004 - INFO - ================================================================================ 2025-08-25 12:29:47,004 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-25 12:29:47,004 - 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-08-25 12:29:47,263 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-25 12:29:47,263 - INFO - Initial checks done. Running the testcase now 2025-08-25 12:29:47,263 - INFO - 2025-08-25 12:29:47,890 - DEBUG - Response for create_network : {'network': {'id': '39d98d0c-8e08-41ae-ae74-8ece38d46d04', 'name': 'ctest-vn1-16622472', 'tenant_id': '13be3e85613c49cdbc5f3b2986e3a598', 'project_id': '13be3e85613c49cdbc5f3b2986e3a598', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62259067', 'ctest-vn1-16622472'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 12:29:48,190 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbd3b0eb-92cf-4b60-bdfe-b5d097025e26', 'name': '', 'tenant_id': '13be3e85613c49cdbc5f3b2986e3a598', 'network_id': '39d98d0c-8e08-41ae-ae74-8ece38d46d04', 'ip_version': 4, 'cidr': '17.33.67.128/26', 'allocation_pools': [{'start': '17.33.67.130', 'end': '17.33.67.190'}], 'gateway_ip': '17.33.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.33.67.130', 'tags': [], 'project_id': '13be3e85613c49cdbc5f3b2986e3a598'}} 2025-08-25 12:29:48,211 - INFO - Created VN ctest-vn1-16622472 2025-08-25 12:29:48,264 - DEBUG - VN ctest-vn1-16622472 UUID is 39d98d0c-8e08-41ae-ae74-8ece38d46d04 2025-08-25 12:29:48,585 - DEBUG - Response for create_network : {'network': {'id': 'c27d58fb-48ca-4315-806d-5bda2d2a6af5', 'name': 'ctest-vn2-16684467', 'tenant_id': '13be3e85613c49cdbc5f3b2986e3a598', 'project_id': '13be3e85613c49cdbc5f3b2986e3a598', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62259067', 'ctest-vn2-16684467'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 12:29:48,767 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffa5f37a-93e0-4eed-bb31-773a4af93f0f', 'name': '', 'tenant_id': '13be3e85613c49cdbc5f3b2986e3a598', 'network_id': 'c27d58fb-48ca-4315-806d-5bda2d2a6af5', 'ip_version': 4, 'cidr': '102.92.84.0/26', 'allocation_pools': [{'start': '102.92.84.2', 'end': '102.92.84.62'}], 'gateway_ip': '102.92.84.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.92.84.2', 'tags': [], 'project_id': '13be3e85613c49cdbc5f3b2986e3a598'}} 2025-08-25 12:29:48,787 - INFO - Created VN ctest-vn2-16684467 2025-08-25 12:29:48,840 - DEBUG - VN ctest-vn2-16684467 UUID is c27d58fb-48ca-4315-806d-5bda2d2a6af5 2025-08-25 12:29:49,000 - DEBUG - Services list from nova: [, , ] 2025-08-25 12:29:50,016 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3919-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3919-1) 2025-08-25 12:29:51,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3919-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3919-1) 2025-08-25 12:29:51,536 - INFO - Adding interface with subnet_id dbd3b0eb-92cf-4b60-bdfe-b5d097025e26, port_id None to router 0e2bbf30-cf03-4c99-a8c3-7760388b35f4 2025-08-25 12:29:51,880 - INFO - Waiting for VM ctest-vn1-vm1-42219155 to be up.. 2025-08-25 12:29:51,996 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 12:29:57,089 - DEBUG - VM is in ACTIVE state now 2025-08-25 12:29:57,089 - INFO - VM name : ctest-vn1-vm1-42219155 2025-08-25 12:29:57,171 - DEBUG - VM ctest-vn1-vm1-42219155 ID is 3360a5da-3016-4f3b-a390-b69086cc1793 2025-08-25 12:29:57,190 - DEBUG - VM ctest-vn1-vm1-42219155 launched on Node cn-jenkins-deploy-platform-ansible-os-3919-1 2025-08-25 12:29:57,271 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/3360a5da-3016-4f3b-a390-b69086cc1793 2025-08-25 12:29:57,596 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/3360a5da-3016-4f3b-a390-b69086cc1793 2025-08-25 12:29:57,629 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a36517cd-7f7b-4382-bc51-8f9d0f04e203 2025-08-25 12:30:00,914 - 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 1031ms') 2025-08-25 12:30:00,914 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42219155 failed! 2025-08-25 12:30:00,972 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-62259067:ctest-vn1-16622472 is 17.33.67.129 and allocation pool is NOT set 2025-08-25 12:30:03,039 - 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=6.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.98 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 = 2.978/4.929/6.881/1.951 ms') 2025-08-25 12:30:03,039 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42219155 passed 2025-08-25 12:30:03,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:30:03,200 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42219155, IP 17.33.67.131, Port 22 2025-08-25 12:30:03,356 - DEBUG - VM ctest-vn1-vm1-42219155 is ready for SSH connections 2025-08-25 12:30:03,356 - INFO - Waiting for VM ctest-vn2-vm1-89705298 to be up.. 2025-08-25 12:30:03,451 - DEBUG - VM is in ACTIVE state now 2025-08-25 12:30:03,451 - INFO - VM name : ctest-vn2-vm1-89705298 2025-08-25 12:30:03,546 - DEBUG - VM ctest-vn2-vm1-89705298 ID is db668d52-2770-4db0-a60f-eb16c1532fd4 2025-08-25 12:30:03,546 - DEBUG - VM ctest-vn2-vm1-89705298 launched on Node cn-jenkins-deploy-platform-ansible-os-3919-1 2025-08-25 12:30:03,640 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/db668d52-2770-4db0-a60f-eb16c1532fd4 2025-08-25 12:30:03,652 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b614da3a-de68-4366-a75f-214942918074 2025-08-25 12:30:04,914 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.560 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.560/1.846/3.133/1.286 ms') 2025-08-25 12:30:04,915 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-89705298 passed 2025-08-25 12:30:05,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:30:05,076 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-89705298, IP 102.92.84.3, Port 22 2025-08-25 12:30:05,240 - DEBUG - VM ctest-vn2-vm1-89705298 is ready for SSH connections 2025-08-25 12:30:05,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:30:05,241 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.92.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-25 12:30:05,241 - DEBUG - ping -s 56 -c 3 -W 1 102.92.84.3 2025-08-25 12:30:10,280 - DEBUG - PING 102.92.84.3 (102.92.84.3): 56 data bytes --- 102.92.84.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 12:30:10,280 - WARNING - Ping to IP 102.92.84.3 from VM ctest-vn1-vm1-42219155 failed 2025-08-25 12:30:10,280 - INFO - Adding interface with subnet_id ffa5f37a-93e0-4eed-bb31-773a4af93f0f, port_id None to router 0e2bbf30-cf03-4c99-a8c3-7760388b35f4 2025-08-25 12:30:10,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:30:10,571 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.92.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-25 12:30:10,571 - DEBUG - ping -s 56 -c 3 -W 1 102.92.84.3 2025-08-25 12:30:13,796 - DEBUG - PING 102.92.84.3 (102.92.84.3): 56 data bytes 64 bytes from 102.92.84.3: seq=1 ttl=63 time=2.988 ms 64 bytes from 102.92.84.3: seq=2 ttl=63 time=0.881 ms --- 102.92.84.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.881/1.934/2.988 ms 2025-08-25 12:30:13,796 - WARNING - Ping to IP 102.92.84.3 from VM ctest-vn1-vm1-42219155 failed 2025-08-25 12:30:14,797 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.92.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-25 12:30:14,798 - DEBUG - ping -s 56 -c 3 -W 1 102.92.84.3 2025-08-25 12:30:17,036 - DEBUG - PING 102.92.84.3 (102.92.84.3): 56 data bytes 64 bytes from 102.92.84.3: seq=0 ttl=63 time=1.954 ms 64 bytes from 102.92.84.3: seq=1 ttl=63 time=0.970 ms 64 bytes from 102.92.84.3: seq=2 ttl=63 time=0.996 ms --- 102.92.84.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.970/1.306/1.954 ms 2025-08-25 12:30:17,036 - INFO - Ping to IP 102.92.84.3 from VM ctest-vn1-vm1-42219155 passed 2025-08-25 12:30:17,036 - INFO - Deleting interface with subnet_id dbd3b0eb-92cf-4b60-bdfe-b5d097025e26, port_id None from router 0e2bbf30-cf03-4c99-a8c3-7760388b35f4 2025-08-25 12:30:17,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:30:17,195 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.92.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-25 12:30:17,195 - DEBUG - ping -s 56 -c 3 -W 1 102.92.84.3 2025-08-25 12:30:20,402 - DEBUG - PING 102.92.84.3 (102.92.84.3): 56 data bytes --- 102.92.84.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 12:30:20,402 - WARNING - Ping to IP 102.92.84.3 from VM ctest-vn1-vm1-42219155 failed 2025-08-25 12:30:20,402 - INFO - Adding interface with subnet_id dbd3b0eb-92cf-4b60-bdfe-b5d097025e26, port_id None to router 0e2bbf30-cf03-4c99-a8c3-7760388b35f4 2025-08-25 12:30:20,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:30:20,654 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.92.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-25 12:30:20,654 - DEBUG - ping -s 56 -c 3 -W 1 102.92.84.3 2025-08-25 12:30:22,893 - DEBUG - PING 102.92.84.3 (102.92.84.3): 56 data bytes 64 bytes from 102.92.84.3: seq=0 ttl=63 time=1.627 ms 64 bytes from 102.92.84.3: seq=1 ttl=63 time=0.999 ms 64 bytes from 102.92.84.3: seq=2 ttl=63 time=1.077 ms --- 102.92.84.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.999/1.234/1.627 ms 2025-08-25 12:30:22,893 - INFO - Ping to IP 102.92.84.3 from VM ctest-vn1-vm1-42219155 passed 2025-08-25 12:30:22,893 - INFO - Deleting interface with subnet_id ffa5f37a-93e0-4eed-bb31-773a4af93f0f, port_id None from router 0e2bbf30-cf03-4c99-a8c3-7760388b35f4 2025-08-25 12:30:23,079 - INFO - Deleting interface with subnet_id dbd3b0eb-92cf-4b60-bdfe-b5d097025e26, port_id None from router 0e2bbf30-cf03-4c99-a8c3-7760388b35f4 2025-08-25 12:30:23,340 - INFO - Deleting VM ctest-vn2-vm1-89705298 2025-08-25 12:30:23,420 - INFO - Deleting VM ctest-vn1-vm1-42219155 2025-08-25 12:30:23,512 - INFO - Deleting VN ctest-vn2-16684467 2025-08-25 12:30:23,563 - DEBUG - VN c27d58fb-48ca-4315-806d-5bda2d2a6af5 still in use: Unable to complete operation on network c27d58fb-48ca-4315-806d-5bda2d2a6af5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-35c41496-36c8-4e02-94c5-eafd94c9ee78'] 2025-08-25 12:30:23,563 - WARNING - Deleting VN ctest-vn2-16684467 failed..Will retry 2025-08-25 12:30:25,692 - DEBUG - Response for deleting network () 2025-08-25 12:30:25,692 - INFO - Deleting VN ctest-vn1-16622472 2025-08-25 12:30:25,808 - DEBUG - Response for deleting network () 2025-08-25 12:30:26,073 - DEBUG - No XMPP flaps were noticed during the test 2025-08-25 12:30:26,073 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-08-25 12:30:26,074 - INFO - -------------------------------------------------------------------------------- 2025-08-25 12:30:26,763 - INFO - Deleted project: ctest-TestRouters-62259067, ID : 13be3e85-613c-49cd-bc5f-3b2986e3a598