2025-08-06 14:16:07,244 - INFO - Domain Default found not creating 2025-08-06 14:16:07,422 - INFO - Project ctest-TestRouters-27724137 not found, creating it 2025-08-06 14:16:08,117 - INFO - Created Project:ctest-TestRouters-27724137, ID : d2231c1c-d414-4ad0-b90c-8e5ecd647097 2025-08-06 14:16:09,844 - INFO - ================================================================================ 2025-08-06 14:16:09,844 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-06 14:16:09,844 - 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-06 14:16:10,108 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-06 14:16:10,108 - INFO - Initial checks done. Running the testcase now 2025-08-06 14:16:10,108 - INFO - 2025-08-06 14:16:10,808 - DEBUG - Response for create_network : {'network': {'id': '28d93cac-b802-4b9c-b2cc-04744515aac8', 'name': 'ctest-vn1-52005893', 'tenant_id': 'd2231c1cd4144ad0b90c8e5ecd647097', 'project_id': 'd2231c1cd4144ad0b90c8e5ecd647097', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27724137', 'ctest-vn1-52005893'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 14:16:11,064 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6759020-c317-4cca-8128-b56a5333b6c5', 'name': '', 'tenant_id': 'd2231c1cd4144ad0b90c8e5ecd647097', 'network_id': '28d93cac-b802-4b9c-b2cc-04744515aac8', 'ip_version': 4, 'cidr': '169.6.218.0/26', 'allocation_pools': [{'start': '169.6.218.2', 'end': '169.6.218.62'}], 'gateway_ip': '169.6.218.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.6.218.2', 'tags': [], 'project_id': 'd2231c1cd4144ad0b90c8e5ecd647097'}} 2025-08-06 14:16:11,088 - INFO - Created VN ctest-vn1-52005893 2025-08-06 14:16:11,144 - DEBUG - VN ctest-vn1-52005893 UUID is 28d93cac-b802-4b9c-b2cc-04744515aac8 2025-08-06 14:16:11,480 - DEBUG - Response for create_network : {'network': {'id': '0cd41a32-70d1-4058-918e-77b104a6250a', 'name': 'ctest-vn2-50350422', 'tenant_id': 'd2231c1cd4144ad0b90c8e5ecd647097', 'project_id': 'd2231c1cd4144ad0b90c8e5ecd647097', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27724137', 'ctest-vn2-50350422'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 14:16:11,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '48a1d369-bb5e-4c86-87d8-cc4d91cc1086', 'name': '', 'tenant_id': 'd2231c1cd4144ad0b90c8e5ecd647097', 'network_id': '0cd41a32-70d1-4058-918e-77b104a6250a', 'ip_version': 4, 'cidr': '171.81.213.64/26', 'allocation_pools': [{'start': '171.81.213.66', 'end': '171.81.213.126'}], 'gateway_ip': '171.81.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.81.213.66', 'tags': [], 'project_id': 'd2231c1cd4144ad0b90c8e5ecd647097'}} 2025-08-06 14:16:11,702 - INFO - Created VN ctest-vn2-50350422 2025-08-06 14:16:11,761 - DEBUG - VN ctest-vn2-50350422 UUID is 0cd41a32-70d1-4058-918e-77b104a6250a 2025-08-06 14:16:11,975 - DEBUG - Services list from nova: [, , ] 2025-08-06 14:16:13,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3762-1) 2025-08-06 14:16:14,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3762-1) 2025-08-06 14:16:14,739 - INFO - Adding interface with subnet_id b6759020-c317-4cca-8128-b56a5333b6c5, port_id None to router 32cb7d5b-35f7-4643-9dea-c589e565f381 2025-08-06 14:16:15,050 - INFO - Waiting for VM ctest-vn1-vm1-92814101 to be up.. 2025-08-06 14:16:15,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 14:16:20,326 - DEBUG - VM is in ACTIVE state now 2025-08-06 14:16:20,326 - INFO - VM name : ctest-vn1-vm1-92814101 2025-08-06 14:16:20,466 - DEBUG - VM ctest-vn1-vm1-92814101 ID is 26eef68a-85dc-4fec-b072-352d4aa47f9f 2025-08-06 14:16:20,490 - DEBUG - VM ctest-vn1-vm1-92814101 launched on Node cn-jenkins-deploy-platform-ansible-os-3762-1 2025-08-06 14:16:20,597 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/26eef68a-85dc-4fec-b072-352d4aa47f9f 2025-08-06 14:16:20,955 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/26eef68a-85dc-4fec-b072-352d4aa47f9f 2025-08-06 14:16:20,999 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e5fdbb91-1bfd-40cd-ae59-0c1bb5712b0a 2025-08-06 14:16:24,296 - 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 1025ms') 2025-08-06 14:16:24,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92814101 failed! 2025-08-06 14:16:24,352 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-27724137:ctest-vn1-52005893 is 169.6.218.1 and allocation pool is NOT set 2025-08-06 14:16:26,418 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.949 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.949/2.829/4.709/1.880 ms') 2025-08-06 14:16:26,418 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92814101 passed 2025-08-06 14:16:26,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:16:26,577 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92814101, IP 169.6.218.3, Port 22 2025-08-06 14:16:26,748 - DEBUG - VM ctest-vn1-vm1-92814101 is ready for SSH connections 2025-08-06 14:16:26,748 - INFO - Waiting for VM ctest-vn2-vm1-11124417 to be up.. 2025-08-06 14:16:26,832 - DEBUG - VM is in ACTIVE state now 2025-08-06 14:16:26,832 - INFO - VM name : ctest-vn2-vm1-11124417 2025-08-06 14:16:26,925 - DEBUG - VM ctest-vn2-vm1-11124417 ID is 7fce708e-72e9-45a2-b735-c702d42c263f 2025-08-06 14:16:26,925 - DEBUG - VM ctest-vn2-vm1-11124417 launched on Node cn-jenkins-deploy-platform-ansible-os-3762-1 2025-08-06 14:16:27,010 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7fce708e-72e9-45a2-b735-c702d42c263f 2025-08-06 14:16:27,022 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b5f5b523-26cf-4a43-8b1a-7ae1d333e42c 2025-08-06 14:16:28,273 - 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=2.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/1.758/2.988/1.230 ms') 2025-08-06 14:16:28,273 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-11124417 passed 2025-08-06 14:16:28,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:16:28,449 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-11124417, IP 171.81.213.67, Port 22 2025-08-06 14:16:28,623 - DEBUG - VM ctest-vn2-vm1-11124417 is ready for SSH connections 2025-08-06 14:16:28,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:16:28,623 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.81.213.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 14:16:28,623 - DEBUG - ping -s 56 -c 3 -W 1 171.81.213.67 2025-08-06 14:16:33,804 - DEBUG - PING 171.81.213.67 (171.81.213.67): 56 data bytes --- 171.81.213.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-06 14:16:33,804 - WARNING - Ping to IP 171.81.213.67 from VM ctest-vn1-vm1-92814101 failed 2025-08-06 14:16:33,804 - INFO - Adding interface with subnet_id 48a1d369-bb5e-4c86-87d8-cc4d91cc1086, port_id None to router 32cb7d5b-35f7-4643-9dea-c589e565f381 2025-08-06 14:16:34,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:16:34,125 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.81.213.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 14:16:34,125 - DEBUG - ping -s 56 -c 3 -W 1 171.81.213.67 2025-08-06 14:16:37,356 - DEBUG - PING 171.81.213.67 (171.81.213.67): 56 data bytes 64 bytes from 171.81.213.67: seq=1 ttl=63 time=4.550 ms 64 bytes from 171.81.213.67: seq=2 ttl=63 time=1.101 ms --- 171.81.213.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.101/2.825/4.550 ms 2025-08-06 14:16:37,356 - WARNING - Ping to IP 171.81.213.67 from VM ctest-vn1-vm1-92814101 failed 2025-08-06 14:16:38,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.81.213.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 14:16:38,357 - DEBUG - ping -s 56 -c 3 -W 1 171.81.213.67 2025-08-06 14:16:40,598 - DEBUG - PING 171.81.213.67 (171.81.213.67): 56 data bytes 64 bytes from 171.81.213.67: seq=0 ttl=63 time=1.672 ms 64 bytes from 171.81.213.67: seq=1 ttl=63 time=0.886 ms 64 bytes from 171.81.213.67: seq=2 ttl=63 time=1.123 ms --- 171.81.213.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/1.227/1.672 ms 2025-08-06 14:16:40,598 - INFO - Ping to IP 171.81.213.67 from VM ctest-vn1-vm1-92814101 passed 2025-08-06 14:16:40,598 - INFO - Deleting interface with subnet_id b6759020-c317-4cca-8128-b56a5333b6c5, port_id None from router 32cb7d5b-35f7-4643-9dea-c589e565f381 2025-08-06 14:16:40,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:16:40,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.81.213.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 14:16:40,762 - DEBUG - ping -s 56 -c 3 -W 1 171.81.213.67 2025-08-06 14:16:43,994 - DEBUG - PING 171.81.213.67 (171.81.213.67): 56 data bytes --- 171.81.213.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-06 14:16:43,994 - WARNING - Ping to IP 171.81.213.67 from VM ctest-vn1-vm1-92814101 failed 2025-08-06 14:16:43,994 - INFO - Adding interface with subnet_id b6759020-c317-4cca-8128-b56a5333b6c5, port_id None to router 32cb7d5b-35f7-4643-9dea-c589e565f381 2025-08-06 14:16:44,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:16:44,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.81.213.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 14:16:44,259 - DEBUG - ping -s 56 -c 3 -W 1 171.81.213.67 2025-08-06 14:16:46,490 - DEBUG - PING 171.81.213.67 (171.81.213.67): 56 data bytes 64 bytes from 171.81.213.67: seq=0 ttl=63 time=2.076 ms 64 bytes from 171.81.213.67: seq=1 ttl=63 time=1.155 ms 64 bytes from 171.81.213.67: seq=2 ttl=63 time=0.930 ms --- 171.81.213.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/1.387/2.076 ms 2025-08-06 14:16:46,490 - INFO - Ping to IP 171.81.213.67 from VM ctest-vn1-vm1-92814101 passed 2025-08-06 14:16:46,490 - INFO - Deleting interface with subnet_id 48a1d369-bb5e-4c86-87d8-cc4d91cc1086, port_id None from router 32cb7d5b-35f7-4643-9dea-c589e565f381 2025-08-06 14:16:46,629 - INFO - Deleting interface with subnet_id b6759020-c317-4cca-8128-b56a5333b6c5, port_id None from router 32cb7d5b-35f7-4643-9dea-c589e565f381 2025-08-06 14:16:46,844 - INFO - Deleting VM ctest-vn2-vm1-11124417 2025-08-06 14:16:46,930 - INFO - Deleting VM ctest-vn1-vm1-92814101 2025-08-06 14:16:47,021 - INFO - Deleting VN ctest-vn2-50350422 2025-08-06 14:16:47,067 - DEBUG - VN 0cd41a32-70d1-4058-918e-77b104a6250a still in use: Unable to complete operation on network 0cd41a32-70d1-4058-918e-77b104a6250a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-22fb1cd2-3384-4df0-bf13-335a84a3b8ec'] 2025-08-06 14:16:47,067 - WARNING - Deleting VN ctest-vn2-50350422 failed..Will retry 2025-08-06 14:16:49,197 - DEBUG - Response for deleting network () 2025-08-06 14:16:49,198 - INFO - Deleting VN ctest-vn1-52005893 2025-08-06 14:16:49,313 - DEBUG - Response for deleting network () 2025-08-06 14:16:49,577 - DEBUG - No XMPP flaps were noticed during the test 2025-08-06 14:16:49,578 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40] 2025-08-06 14:16:49,578 - INFO - -------------------------------------------------------------------------------- 2025-08-06 14:16:50,368 - INFO - Deleted project: ctest-TestRouters-27724137, ID : d2231c1c-d414-4ad0-b90c-8e5ecd647097