2025-07-31 12:50:01,291 - INFO - Domain Default found not creating 2025-07-31 12:50:01,487 - INFO - Project ctest-TestRouters-29214678 not found, creating it 2025-07-31 12:50:02,044 - INFO - Created Project:ctest-TestRouters-29214678, ID : d2d48462-6bb5-48d8-88de-e825e7eb468b 2025-07-31 12:50:03,586 - INFO - ================================================================================ 2025-07-31 12:50:03,586 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-31 12:50:03,586 - 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-07-31 12:50:03,846 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-07-31 12:50:03,847 - INFO - Initial checks done. Running the testcase now 2025-07-31 12:50:03,847 - INFO - 2025-07-31 12:50:04,462 - DEBUG - Response for create_network : {'network': {'id': '75233307-4b13-4934-ba42-df2d5534df9e', 'name': 'ctest-vn1-93137776', 'tenant_id': 'd2d484626bb548d888dee825e7eb468b', 'project_id': 'd2d484626bb548d888dee825e7eb468b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-29214678', 'ctest-vn1-93137776'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 12:50:04,718 - DEBUG - Response for create_subnet : {'subnet': {'id': '851f736b-b518-4ee2-831a-27cee5416a41', 'name': '', 'tenant_id': 'd2d484626bb548d888dee825e7eb468b', 'network_id': '75233307-4b13-4934-ba42-df2d5534df9e', 'ip_version': 4, 'cidr': '103.196.66.0/26', 'allocation_pools': [{'start': '103.196.66.2', 'end': '103.196.66.62'}], 'gateway_ip': '103.196.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.196.66.2', 'tags': [], 'project_id': 'd2d484626bb548d888dee825e7eb468b'}} 2025-07-31 12:50:04,747 - INFO - Created VN ctest-vn1-93137776 2025-07-31 12:50:04,802 - DEBUG - VN ctest-vn1-93137776 UUID is 75233307-4b13-4934-ba42-df2d5534df9e 2025-07-31 12:50:05,211 - DEBUG - Response for create_network : {'network': {'id': 'ab3e5f48-922a-4ef0-a889-1598cefc0bd4', 'name': 'ctest-vn2-95720630', 'tenant_id': 'd2d484626bb548d888dee825e7eb468b', 'project_id': 'd2d484626bb548d888dee825e7eb468b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-29214678', 'ctest-vn2-95720630'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 12:50:05,383 - DEBUG - Response for create_subnet : {'subnet': {'id': '45753799-4bc1-4d9b-a662-eb3ea386c56c', 'name': '', 'tenant_id': 'd2d484626bb548d888dee825e7eb468b', 'network_id': 'ab3e5f48-922a-4ef0-a889-1598cefc0bd4', 'ip_version': 4, 'cidr': '19.39.125.64/26', 'allocation_pools': [{'start': '19.39.125.66', 'end': '19.39.125.126'}], 'gateway_ip': '19.39.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.39.125.66', 'tags': [], 'project_id': 'd2d484626bb548d888dee825e7eb468b'}} 2025-07-31 12:50:05,404 - INFO - Created VN ctest-vn2-95720630 2025-07-31 12:50:05,462 - DEBUG - VN ctest-vn2-95720630 UUID is ab3e5f48-922a-4ef0-a889-1598cefc0bd4 2025-07-31 12:50:05,633 - DEBUG - Services list from nova: [, , ] 2025-07-31 12:50:06,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3735-1) 2025-07-31 12:50:07,956 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3735-1) 2025-07-31 12:50:08,039 - INFO - Adding interface with subnet_id 851f736b-b518-4ee2-831a-27cee5416a41, port_id None to router 92d11976-f77a-4311-8c01-1b9617fca90f 2025-07-31 12:50:08,344 - INFO - Waiting for VM ctest-vn1-vm1-56009907 to be up.. 2025-07-31 12:50:08,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 12:50:13,541 - DEBUG - VM is in ACTIVE state now 2025-07-31 12:50:13,541 - INFO - VM name : ctest-vn1-vm1-56009907 2025-07-31 12:50:13,624 - DEBUG - VM ctest-vn1-vm1-56009907 ID is a807d3d6-b290-4e9f-b11c-a83be7a9e6cb 2025-07-31 12:50:13,646 - DEBUG - VM ctest-vn1-vm1-56009907 launched on Node cn-jenkins-deploy-platform-ansible-os-3735-1 2025-07-31 12:50:13,722 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a807d3d6-b290-4e9f-b11c-a83be7a9e6cb 2025-07-31 12:50:14,027 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a807d3d6-b290-4e9f-b11c-a83be7a9e6cb 2025-07-31 12:50:14,068 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b921aac1-80ef-41e0-87fe-d18f7a52ef5e 2025-07-31 12:50:17,342 - 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 1022ms') 2025-07-31 12:50:17,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56009907 failed! 2025-07-31 12:50:17,402 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-29214678:ctest-vn1-93137776 is 103.196.66.1 and allocation pool is NOT set 2025-07-31 12:50:19,465 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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.038/2.979/3.920/0.941 ms') 2025-07-31 12:50:19,465 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56009907 passed 2025-07-31 12:50:19,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:50:19,618 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56009907, IP 103.196.66.3, Port 22 2025-07-31 12:50:19,782 - DEBUG - VM ctest-vn1-vm1-56009907 is ready for SSH connections 2025-07-31 12:50:19,782 - INFO - Waiting for VM ctest-vn2-vm1-86362388 to be up.. 2025-07-31 12:50:19,855 - DEBUG - VM is in ACTIVE state now 2025-07-31 12:50:19,855 - INFO - VM name : ctest-vn2-vm1-86362388 2025-07-31 12:50:19,927 - DEBUG - VM ctest-vn2-vm1-86362388 ID is 40ef76ac-3248-47a0-88ac-2f8956ad751f 2025-07-31 12:50:19,927 - DEBUG - VM ctest-vn2-vm1-86362388 launched on Node cn-jenkins-deploy-platform-ansible-os-3735-1 2025-07-31 12:50:20,003 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/40ef76ac-3248-47a0-88ac-2f8956ad751f 2025-07-31 12:50:20,013 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b870aae2-13b8-4aab-85b6-62c7f7695677 2025-07-31 12:50:21,286 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 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.474/1.663/2.853/1.189 ms') 2025-07-31 12:50:21,287 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-86362388 passed 2025-07-31 12:50:21,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:50:21,438 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-86362388, IP 19.39.125.67, Port 22 2025-07-31 12:50:21,605 - DEBUG - VM ctest-vn2-vm1-86362388 is ready for SSH connections 2025-07-31 12:50:21,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:50:21,605 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.39.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-31 12:50:21,605 - DEBUG - ping -s 56 -c 3 -W 1 19.39.125.67 2025-07-31 12:50:26,566 - DEBUG - PING 19.39.125.67 (19.39.125.67): 56 data bytes --- 19.39.125.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-31 12:50:26,567 - WARNING - Ping to IP 19.39.125.67 from VM ctest-vn1-vm1-56009907 failed 2025-07-31 12:50:26,567 - INFO - Adding interface with subnet_id 45753799-4bc1-4d9b-a662-eb3ea386c56c, port_id None to router 92d11976-f77a-4311-8c01-1b9617fca90f 2025-07-31 12:50:26,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:50:26,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.39.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-31 12:50:26,839 - DEBUG - ping -s 56 -c 3 -W 1 19.39.125.67 2025-07-31 12:50:30,044 - DEBUG - PING 19.39.125.67 (19.39.125.67): 56 data bytes 64 bytes from 19.39.125.67: seq=1 ttl=63 time=2.923 ms 64 bytes from 19.39.125.67: seq=2 ttl=63 time=1.037 ms --- 19.39.125.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.037/1.980/2.923 ms 2025-07-31 12:50:30,044 - WARNING - Ping to IP 19.39.125.67 from VM ctest-vn1-vm1-56009907 failed 2025-07-31 12:50:31,044 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.39.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-31 12:50:31,045 - DEBUG - ping -s 56 -c 3 -W 1 19.39.125.67 2025-07-31 12:50:33,249 - DEBUG - PING 19.39.125.67 (19.39.125.67): 56 data bytes 64 bytes from 19.39.125.67: seq=0 ttl=63 time=1.608 ms 64 bytes from 19.39.125.67: seq=1 ttl=63 time=0.877 ms 64 bytes from 19.39.125.67: seq=2 ttl=63 time=0.901 ms --- 19.39.125.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/1.128/1.608 ms 2025-07-31 12:50:33,249 - INFO - Ping to IP 19.39.125.67 from VM ctest-vn1-vm1-56009907 passed 2025-07-31 12:50:33,249 - INFO - Deleting interface with subnet_id 851f736b-b518-4ee2-831a-27cee5416a41, port_id None from router 92d11976-f77a-4311-8c01-1b9617fca90f 2025-07-31 12:50:33,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:50:33,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.39.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-31 12:50:33,392 - DEBUG - ping -s 56 -c 3 -W 1 19.39.125.67 2025-07-31 12:50:36,600 - DEBUG - PING 19.39.125.67 (19.39.125.67): 56 data bytes --- 19.39.125.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-31 12:50:36,600 - WARNING - Ping to IP 19.39.125.67 from VM ctest-vn1-vm1-56009907 failed 2025-07-31 12:50:36,600 - INFO - Adding interface with subnet_id 851f736b-b518-4ee2-831a-27cee5416a41, port_id None to router 92d11976-f77a-4311-8c01-1b9617fca90f 2025-07-31 12:50:36,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:50:36,866 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.39.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-31 12:50:36,866 - DEBUG - ping -s 56 -c 3 -W 1 19.39.125.67 2025-07-31 12:50:39,065 - DEBUG - PING 19.39.125.67 (19.39.125.67): 56 data bytes 64 bytes from 19.39.125.67: seq=0 ttl=63 time=3.123 ms 64 bytes from 19.39.125.67: seq=1 ttl=63 time=0.954 ms 64 bytes from 19.39.125.67: seq=2 ttl=63 time=0.950 ms --- 19.39.125.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.950/1.675/3.123 ms 2025-07-31 12:50:39,065 - INFO - Ping to IP 19.39.125.67 from VM ctest-vn1-vm1-56009907 passed 2025-07-31 12:50:39,065 - INFO - Deleting interface with subnet_id 45753799-4bc1-4d9b-a662-eb3ea386c56c, port_id None from router 92d11976-f77a-4311-8c01-1b9617fca90f 2025-07-31 12:50:39,187 - INFO - Deleting interface with subnet_id 851f736b-b518-4ee2-831a-27cee5416a41, port_id None from router 92d11976-f77a-4311-8c01-1b9617fca90f 2025-07-31 12:50:39,387 - INFO - Deleting VM ctest-vn2-vm1-86362388 2025-07-31 12:50:39,468 - INFO - Deleting VM ctest-vn1-vm1-56009907 2025-07-31 12:50:39,543 - INFO - Deleting VN ctest-vn2-95720630 2025-07-31 12:50:39,588 - DEBUG - VN ab3e5f48-922a-4ef0-a889-1598cefc0bd4 still in use: Unable to complete operation on network ab3e5f48-922a-4ef0-a889-1598cefc0bd4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9daa0fe3-aaae-4293-875d-c87f61acb80f'] 2025-07-31 12:50:39,588 - WARNING - Deleting VN ctest-vn2-95720630 failed..Will retry 2025-07-31 12:50:41,695 - DEBUG - Response for deleting network () 2025-07-31 12:50:41,695 - INFO - Deleting VN ctest-vn1-93137776 2025-07-31 12:50:41,827 - DEBUG - Response for deleting network () 2025-07-31 12:50:42,087 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 12:50:42,087 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-07-31 12:50:42,087 - INFO - -------------------------------------------------------------------------------- 2025-07-31 12:50:42,790 - INFO - Deleted project: ctest-TestRouters-29214678, ID : d2d48462-6bb5-48d8-88de-e825e7eb468b