2025-08-29 20:33:02,971 - INFO - Domain Default found not creating 2025-08-29 20:33:03,138 - INFO - Project ctest-TestRouters-87575855 not found, creating it 2025-08-29 20:33:03,622 - INFO - Created Project:ctest-TestRouters-87575855, ID : 1c34cae4-146c-4913-9f78-1ee29a460995 2025-08-29 20:33:05,046 - INFO - ================================================================================ 2025-08-29 20:33:05,046 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-29 20:33:05,046 - 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-29 20:33:05,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-29 20:33:05,303 - INFO - Initial checks done. Running the testcase now 2025-08-29 20:33:05,303 - INFO - 2025-08-29 20:33:05,842 - DEBUG - Response for create_network : {'network': {'id': 'c1572f2f-b023-4ab8-b829-a43f2cd10d40', 'name': 'ctest-vn1-75555844', 'tenant_id': '1c34cae4146c49139f781ee29a460995', 'project_id': '1c34cae4146c49139f781ee29a460995', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87575855', 'ctest-vn1-75555844'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 20:33:06,034 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dfc671c-6980-4d5f-b9fd-0c177f0a86e8', 'name': '', 'tenant_id': '1c34cae4146c49139f781ee29a460995', 'network_id': 'c1572f2f-b023-4ab8-b829-a43f2cd10d40', 'ip_version': 4, 'cidr': '135.33.177.0/26', 'allocation_pools': [{'start': '135.33.177.2', 'end': '135.33.177.62'}], 'gateway_ip': '135.33.177.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.33.177.2', 'tags': [], 'project_id': '1c34cae4146c49139f781ee29a460995'}} 2025-08-29 20:33:06,054 - INFO - Created VN ctest-vn1-75555844 2025-08-29 20:33:06,105 - DEBUG - VN ctest-vn1-75555844 UUID is c1572f2f-b023-4ab8-b829-a43f2cd10d40 2025-08-29 20:33:06,437 - DEBUG - Response for create_network : {'network': {'id': '5d1cb6de-751a-4403-8ff0-4261c76745cb', 'name': 'ctest-vn2-24326091', 'tenant_id': '1c34cae4146c49139f781ee29a460995', 'project_id': '1c34cae4146c49139f781ee29a460995', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87575855', 'ctest-vn2-24326091'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 20:33:06,678 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca062175-abd3-4cde-a1d4-7562dc0987bb', 'name': '', 'tenant_id': '1c34cae4146c49139f781ee29a460995', 'network_id': '5d1cb6de-751a-4403-8ff0-4261c76745cb', 'ip_version': 4, 'cidr': '112.26.56.64/26', 'allocation_pools': [{'start': '112.26.56.66', 'end': '112.26.56.126'}], 'gateway_ip': '112.26.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.26.56.66', 'tags': [], 'project_id': '1c34cae4146c49139f781ee29a460995'}} 2025-08-29 20:33:06,698 - INFO - Created VN ctest-vn2-24326091 2025-08-29 20:33:06,749 - DEBUG - VN ctest-vn2-24326091 UUID is 5d1cb6de-751a-4403-8ff0-4261c76745cb 2025-08-29 20:33:07,008 - DEBUG - Services list from nova: [, , ] 2025-08-29 20:33:08,117 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3978-1) 2025-08-29 20:33:09,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3978-1) 2025-08-29 20:33:09,326 - INFO - Adding interface with subnet_id 4dfc671c-6980-4d5f-b9fd-0c177f0a86e8, port_id None to router e651c31c-0a2b-4694-bcf6-534bac301f8c 2025-08-29 20:33:09,580 - INFO - Waiting for VM ctest-vn1-vm1-85888577 to be up.. 2025-08-29 20:33:09,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-29 20:33:14,739 - DEBUG - VM is in ACTIVE state now 2025-08-29 20:33:14,739 - INFO - VM name : ctest-vn1-vm1-85888577 2025-08-29 20:33:14,815 - DEBUG - VM ctest-vn1-vm1-85888577 ID is 7879ed05-2879-4c52-a5fd-1906fc2d9d8c 2025-08-29 20:33:14,835 - DEBUG - VM ctest-vn1-vm1-85888577 launched on Node cn-jenkins-deploy-platform-ansible-os-3978-1 2025-08-29 20:33:14,907 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7879ed05-2879-4c52-a5fd-1906fc2d9d8c 2025-08-29 20:33:15,198 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7879ed05-2879-4c52-a5fd-1906fc2d9d8c 2025-08-29 20:33:15,230 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6e76de09-bd74-4b60-831c-ea31c8c3884b 2025-08-29 20:33:18,493 - 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 1019ms') 2025-08-29 20:33:18,493 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85888577 failed! 2025-08-29 20:33:18,553 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-87575855:ctest-vn1-75555844 is 135.33.177.1 and allocation pool is NOT set 2025-08-29 20:33:20,620 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/2.102/3.792/1.690 ms') 2025-08-29 20:33:20,621 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85888577 passed 2025-08-29 20:33:20,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:33:20,782 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85888577, IP 135.33.177.3, Port 22 2025-08-29 20:33:20,961 - DEBUG - VM ctest-vn1-vm1-85888577 is ready for SSH connections 2025-08-29 20:33:20,961 - INFO - Waiting for VM ctest-vn2-vm1-74380341 to be up.. 2025-08-29 20:33:21,036 - DEBUG - VM is in ACTIVE state now 2025-08-29 20:33:21,036 - INFO - VM name : ctest-vn2-vm1-74380341 2025-08-29 20:33:21,115 - DEBUG - VM ctest-vn2-vm1-74380341 ID is a030cb20-a301-4353-bf53-ee3416f79045 2025-08-29 20:33:21,115 - DEBUG - VM ctest-vn2-vm1-74380341 launched on Node cn-jenkins-deploy-platform-ansible-os-3978-1 2025-08-29 20:33:21,184 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a030cb20-a301-4353-bf53-ee3416f79045 2025-08-29 20:33:21,193 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9dd91665-ed27-4015-afd2-b6f9046b2295 2025-08-29 20:33:22,427 - 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=4.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 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.511/2.602/4.694/2.091 ms') 2025-08-29 20:33:22,427 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-74380341 passed 2025-08-29 20:33:22,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:33:22,582 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-74380341, IP 112.26.56.67, Port 22 2025-08-29 20:33:22,756 - DEBUG - VM ctest-vn2-vm1-74380341 is ready for SSH connections 2025-08-29 20:33:22,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:33:22,757 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.26.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 20:33:22,757 - DEBUG - ping -s 56 -c 3 -W 1 112.26.56.67 2025-08-29 20:33:27,713 - DEBUG - PING 112.26.56.67 (112.26.56.67): 56 data bytes --- 112.26.56.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-29 20:33:27,714 - WARNING - Ping to IP 112.26.56.67 from VM ctest-vn1-vm1-85888577 failed 2025-08-29 20:33:27,714 - INFO - Adding interface with subnet_id ca062175-abd3-4cde-a1d4-7562dc0987bb, port_id None to router e651c31c-0a2b-4694-bcf6-534bac301f8c 2025-08-29 20:33:27,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:33:27,934 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.26.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 20:33:27,934 - DEBUG - ping -s 56 -c 3 -W 1 112.26.56.67 2025-08-29 20:33:31,132 - DEBUG - PING 112.26.56.67 (112.26.56.67): 56 data bytes 64 bytes from 112.26.56.67: seq=1 ttl=63 time=2.686 ms 64 bytes from 112.26.56.67: seq=2 ttl=63 time=0.861 ms --- 112.26.56.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.861/1.773/2.686 ms 2025-08-29 20:33:31,133 - WARNING - Ping to IP 112.26.56.67 from VM ctest-vn1-vm1-85888577 failed 2025-08-29 20:33:32,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.26.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 20:33:32,133 - DEBUG - ping -s 56 -c 3 -W 1 112.26.56.67 2025-08-29 20:33:34,339 - DEBUG - PING 112.26.56.67 (112.26.56.67): 56 data bytes 64 bytes from 112.26.56.67: seq=0 ttl=63 time=2.025 ms 64 bytes from 112.26.56.67: seq=1 ttl=63 time=1.024 ms 64 bytes from 112.26.56.67: seq=2 ttl=63 time=0.992 ms --- 112.26.56.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.992/1.347/2.025 ms 2025-08-29 20:33:34,339 - INFO - Ping to IP 112.26.56.67 from VM ctest-vn1-vm1-85888577 passed 2025-08-29 20:33:34,339 - INFO - Deleting interface with subnet_id 4dfc671c-6980-4d5f-b9fd-0c177f0a86e8, port_id None from router e651c31c-0a2b-4694-bcf6-534bac301f8c 2025-08-29 20:33:34,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:33:34,459 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.26.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 20:33:34,459 - DEBUG - ping -s 56 -c 3 -W 1 112.26.56.67 2025-08-29 20:33:37,658 - DEBUG - PING 112.26.56.67 (112.26.56.67): 56 data bytes --- 112.26.56.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-29 20:33:37,658 - WARNING - Ping to IP 112.26.56.67 from VM ctest-vn1-vm1-85888577 failed 2025-08-29 20:33:37,658 - INFO - Adding interface with subnet_id 4dfc671c-6980-4d5f-b9fd-0c177f0a86e8, port_id None to router e651c31c-0a2b-4694-bcf6-534bac301f8c 2025-08-29 20:33:37,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:33:37,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.26.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 20:33:37,872 - DEBUG - ping -s 56 -c 3 -W 1 112.26.56.67 2025-08-29 20:33:40,090 - DEBUG - PING 112.26.56.67 (112.26.56.67): 56 data bytes 64 bytes from 112.26.56.67: seq=0 ttl=63 time=1.921 ms 64 bytes from 112.26.56.67: seq=1 ttl=63 time=1.004 ms 64 bytes from 112.26.56.67: seq=2 ttl=63 time=2.246 ms --- 112.26.56.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.004/1.723/2.246 ms 2025-08-29 20:33:40,090 - INFO - Ping to IP 112.26.56.67 from VM ctest-vn1-vm1-85888577 passed 2025-08-29 20:33:40,090 - INFO - Deleting interface with subnet_id ca062175-abd3-4cde-a1d4-7562dc0987bb, port_id None from router e651c31c-0a2b-4694-bcf6-534bac301f8c 2025-08-29 20:33:40,231 - INFO - Deleting interface with subnet_id 4dfc671c-6980-4d5f-b9fd-0c177f0a86e8, port_id None from router e651c31c-0a2b-4694-bcf6-534bac301f8c 2025-08-29 20:33:40,437 - INFO - Deleting VM ctest-vn2-vm1-74380341 2025-08-29 20:33:40,527 - INFO - Deleting VM ctest-vn1-vm1-85888577 2025-08-29 20:33:40,625 - INFO - Deleting VN ctest-vn2-24326091 2025-08-29 20:33:40,679 - DEBUG - VN 5d1cb6de-751a-4403-8ff0-4261c76745cb still in use: Unable to complete operation on network 5d1cb6de-751a-4403-8ff0-4261c76745cb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3838093d-781a-4231-9ea9-a5d668baaaf5'] 2025-08-29 20:33:40,679 - WARNING - Deleting VN ctest-vn2-24326091 failed..Will retry 2025-08-29 20:33:42,780 - DEBUG - Response for deleting network () 2025-08-29 20:33:42,780 - INFO - Deleting VN ctest-vn1-75555844 2025-08-29 20:33:42,872 - DEBUG - Response for deleting network () 2025-08-29 20:33:43,135 - DEBUG - No XMPP flaps were noticed during the test 2025-08-29 20:33:43,135 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-29 20:33:43,135 - INFO - -------------------------------------------------------------------------------- 2025-08-29 20:33:43,791 - INFO - Deleted project: ctest-TestRouters-87575855, ID : 1c34cae4-146c-4913-9f78-1ee29a460995