2025-11-04 18:00:26,138 - INFO - Domain Default found not creating 2025-11-04 18:00:26,327 - INFO - Project ctest-TestRouters-36261609 not found, creating it 2025-11-04 18:00:27,001 - INFO - Created Project:ctest-TestRouters-36261609, ID : 2e7007b8-15aa-4846-867a-c5be5d7ace86 2025-11-04 18:00:28,682 - INFO - ================================================================================ 2025-11-04 18:00:28,682 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-04 18:00:28,682 - 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-04 18:00:28,963 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-04 18:00:28,963 - INFO - Initial checks done. Running the testcase now 2025-11-04 18:00:28,964 - INFO - 2025-11-04 18:00:29,651 - DEBUG - Response for create_network : {'network': {'id': '69668b2f-e7a9-4123-a976-87f867d74f4c', 'name': 'ctest-vn1-50221133', 'tenant_id': '2e7007b815aa4846867ac5be5d7ace86', 'project_id': '2e7007b815aa4846867ac5be5d7ace86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-36261609', 'ctest-vn1-50221133'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 18:00:29,865 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd57a8e9a-2f1e-424f-ab7f-a08442b68b36', 'name': '', 'tenant_id': '2e7007b815aa4846867ac5be5d7ace86', 'network_id': '69668b2f-e7a9-4123-a976-87f867d74f4c', 'ip_version': 4, 'cidr': '129.87.103.0/26', 'allocation_pools': [{'start': '129.87.103.2', 'end': '129.87.103.62'}], 'gateway_ip': '129.87.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.87.103.2', 'tags': [], 'project_id': '2e7007b815aa4846867ac5be5d7ace86'}} 2025-11-04 18:00:29,887 - INFO - Created VN ctest-vn1-50221133 2025-11-04 18:00:29,942 - DEBUG - VN ctest-vn1-50221133 UUID is 69668b2f-e7a9-4123-a976-87f867d74f4c 2025-11-04 18:00:30,328 - DEBUG - Response for create_network : {'network': {'id': 'da07d95d-241d-448a-bae1-d9babefd2429', 'name': 'ctest-vn2-11665932', 'tenant_id': '2e7007b815aa4846867ac5be5d7ace86', 'project_id': '2e7007b815aa4846867ac5be5d7ace86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-36261609', 'ctest-vn2-11665932'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 18:00:30,532 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e889fce8-f7b8-4a4c-9d28-7d1eec77a08d', 'name': '', 'tenant_id': '2e7007b815aa4846867ac5be5d7ace86', 'network_id': 'da07d95d-241d-448a-bae1-d9babefd2429', 'ip_version': 4, 'cidr': '152.127.187.64/26', 'allocation_pools': [{'start': '152.127.187.66', 'end': '152.127.187.126'}], 'gateway_ip': '152.127.187.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.127.187.66', 'tags': [], 'project_id': '2e7007b815aa4846867ac5be5d7ace86'}} 2025-11-04 18:00:30,552 - INFO - Created VN ctest-vn2-11665932 2025-11-04 18:00:30,611 - DEBUG - VN ctest-vn2-11665932 UUID is da07d95d-241d-448a-bae1-d9babefd2429 2025-11-04 18:00:30,797 - DEBUG - Services list from nova: [, , ] 2025-11-04 18:00:31,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4620-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4620-1) 2025-11-04 18:00:33,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4620-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4620-1) 2025-11-04 18:00:33,385 - INFO - Adding interface with subnet_id d57a8e9a-2f1e-424f-ab7f-a08442b68b36, port_id None to router ea89f2df-d2b6-4517-8cdf-f012cf946a0b 2025-11-04 18:00:33,723 - INFO - Waiting for VM ctest-vn1-vm1-81371060 to be up.. 2025-11-04 18:00:33,858 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 18:00:38,949 - DEBUG - VM is in ACTIVE state now 2025-11-04 18:00:38,949 - INFO - VM name : ctest-vn1-vm1-81371060 2025-11-04 18:00:39,043 - DEBUG - VM ctest-vn1-vm1-81371060 ID is 8b748df5-7b04-4b10-a3e9-9896e23eee14 2025-11-04 18:00:39,071 - DEBUG - VM ctest-vn1-vm1-81371060 launched on Node cn-jenkins-deploy-platform-ansible-os-4620-1 2025-11-04 18:00:39,168 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8b748df5-7b04-4b10-a3e9-9896e23eee14 2025-11-04 18:00:39,491 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8b748df5-7b04-4b10-a3e9-9896e23eee14 2025-11-04 18:00:39,534 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f53a0a3d-e9c1-453a-bd96-6f85b9e4eb50 2025-11-04 18:00:42,808 - 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 1012ms') 2025-11-04 18:00:42,809 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81371060 failed! 2025-11-04 18:00:42,862 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-36261609:ctest-vn1-50221133 is 129.87.103.1 and allocation pool is NOT set 2025-11-04 18:00:44,922 - 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=4.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.675 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.675/2.404/4.134/1.729 ms') 2025-11-04 18:00:44,922 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81371060 passed 2025-11-04 18:00:45,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:00:45,086 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81371060, IP 129.87.103.3, Port 22 2025-11-04 18:00:45,253 - DEBUG - VM ctest-vn1-vm1-81371060 is ready for SSH connections 2025-11-04 18:00:45,253 - INFO - Waiting for VM ctest-vn2-vm1-58667294 to be up.. 2025-11-04 18:00:45,346 - DEBUG - VM is in ACTIVE state now 2025-11-04 18:00:45,346 - INFO - VM name : ctest-vn2-vm1-58667294 2025-11-04 18:00:45,430 - DEBUG - VM ctest-vn2-vm1-58667294 ID is c6a68e08-79ca-41b4-99af-59713daabc67 2025-11-04 18:00:45,431 - DEBUG - VM ctest-vn2-vm1-58667294 launched on Node cn-jenkins-deploy-platform-ansible-os-4620-1 2025-11-04 18:00:45,508 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c6a68e08-79ca-41b4-99af-59713daabc67 2025-11-04 18:00:45,517 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/17aeb791-2029-43ef-8284-327fcd109d88 2025-11-04 18:00:46,760 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.981 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.981/2.656/4.331/1.675 ms') 2025-11-04 18:00:46,761 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-58667294 passed 2025-11-04 18:00:46,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:00:46,910 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-58667294, IP 152.127.187.67, Port 22 2025-11-04 18:00:47,066 - DEBUG - VM ctest-vn2-vm1-58667294 is ready for SSH connections 2025-11-04 18:00:47,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:00:47,066 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.127.187.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 18:00:47,066 - DEBUG - ping -s 56 -c 3 -W 1 152.127.187.67 2025-11-04 18:00:52,148 - DEBUG - PING 152.127.187.67 (152.127.187.67): 56 data bytes --- 152.127.187.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 18:00:52,149 - WARNING - Ping to IP 152.127.187.67 from VM ctest-vn1-vm1-81371060 failed 2025-11-04 18:00:52,149 - INFO - Adding interface with subnet_id e889fce8-f7b8-4a4c-9d28-7d1eec77a08d, port_id None to router ea89f2df-d2b6-4517-8cdf-f012cf946a0b 2025-11-04 18:00:52,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:00:52,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.127.187.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 18:00:52,411 - DEBUG - ping -s 56 -c 3 -W 1 152.127.187.67 2025-11-04 18:00:55,624 - DEBUG - PING 152.127.187.67 (152.127.187.67): 56 data bytes 64 bytes from 152.127.187.67: seq=1 ttl=63 time=3.053 ms 64 bytes from 152.127.187.67: seq=2 ttl=63 time=1.533 ms --- 152.127.187.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.533/2.293/3.053 ms 2025-11-04 18:00:55,625 - WARNING - Ping to IP 152.127.187.67 from VM ctest-vn1-vm1-81371060 failed 2025-11-04 18:00:56,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.127.187.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 18:00:56,626 - DEBUG - ping -s 56 -c 3 -W 1 152.127.187.67 2025-11-04 18:00:58,854 - DEBUG - PING 152.127.187.67 (152.127.187.67): 56 data bytes 64 bytes from 152.127.187.67: seq=0 ttl=63 time=1.794 ms 64 bytes from 152.127.187.67: seq=1 ttl=63 time=0.849 ms 64 bytes from 152.127.187.67: seq=2 ttl=63 time=0.875 ms --- 152.127.187.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/1.172/1.794 ms 2025-11-04 18:00:58,854 - INFO - Ping to IP 152.127.187.67 from VM ctest-vn1-vm1-81371060 passed 2025-11-04 18:00:58,855 - INFO - Deleting interface with subnet_id d57a8e9a-2f1e-424f-ab7f-a08442b68b36, port_id None from router ea89f2df-d2b6-4517-8cdf-f012cf946a0b 2025-11-04 18:00:58,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:00:58,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.127.187.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 18:00:58,973 - DEBUG - ping -s 56 -c 3 -W 1 152.127.187.67 2025-11-04 18:01:02,259 - DEBUG - PING 152.127.187.67 (152.127.187.67): 56 data bytes --- 152.127.187.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 18:01:02,259 - WARNING - Ping to IP 152.127.187.67 from VM ctest-vn1-vm1-81371060 failed 2025-11-04 18:01:02,259 - INFO - Adding interface with subnet_id d57a8e9a-2f1e-424f-ab7f-a08442b68b36, port_id None to router ea89f2df-d2b6-4517-8cdf-f012cf946a0b 2025-11-04 18:01:02,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:01:02,498 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.127.187.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 18:01:02,498 - DEBUG - ping -s 56 -c 3 -W 1 152.127.187.67 2025-11-04 18:01:04,730 - DEBUG - PING 152.127.187.67 (152.127.187.67): 56 data bytes 64 bytes from 152.127.187.67: seq=0 ttl=63 time=1.906 ms 64 bytes from 152.127.187.67: seq=1 ttl=63 time=1.208 ms 64 bytes from 152.127.187.67: seq=2 ttl=63 time=1.181 ms --- 152.127.187.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.181/1.431/1.906 ms 2025-11-04 18:01:04,730 - INFO - Ping to IP 152.127.187.67 from VM ctest-vn1-vm1-81371060 passed 2025-11-04 18:01:04,730 - INFO - Deleting interface with subnet_id e889fce8-f7b8-4a4c-9d28-7d1eec77a08d, port_id None from router ea89f2df-d2b6-4517-8cdf-f012cf946a0b 2025-11-04 18:01:04,887 - INFO - Deleting interface with subnet_id d57a8e9a-2f1e-424f-ab7f-a08442b68b36, port_id None from router ea89f2df-d2b6-4517-8cdf-f012cf946a0b 2025-11-04 18:01:05,110 - INFO - Deleting VM ctest-vn2-vm1-58667294 2025-11-04 18:01:05,191 - INFO - Deleting VM ctest-vn1-vm1-81371060 2025-11-04 18:01:05,271 - INFO - Deleting VN ctest-vn2-11665932 2025-11-04 18:01:05,315 - DEBUG - VN da07d95d-241d-448a-bae1-d9babefd2429 still in use: Unable to complete operation on network da07d95d-241d-448a-bae1-d9babefd2429. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f4f72499-8a41-4b0a-97c0-94bf02ec8582'] 2025-11-04 18:01:05,315 - WARNING - Deleting VN ctest-vn2-11665932 failed..Will retry 2025-11-04 18:01:07,441 - DEBUG - Response for deleting network () 2025-11-04 18:01:07,441 - INFO - Deleting VN ctest-vn1-50221133 2025-11-04 18:01:07,548 - DEBUG - Response for deleting network () 2025-11-04 18:01:07,817 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 18:01:07,817 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-11-04 18:01:07,817 - INFO - -------------------------------------------------------------------------------- 2025-11-04 18:01:08,542 - INFO - Deleted project: ctest-TestRouters-36261609, ID : 2e7007b8-15aa-4846-867a-c5be5d7ace86