2025-08-10 20:41:46,731 - INFO - Domain Default found not creating 2025-08-10 20:41:46,876 - INFO - Project ctest-TestRouters-89235158 not found, creating it 2025-08-10 20:41:47,339 - INFO - Created Project:ctest-TestRouters-89235158, ID : 47bfd9e9-b026-4a26-bc4d-769ee2daee0a 2025-08-10 20:41:48,717 - INFO - ================================================================================ 2025-08-10 20:41:48,717 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-10 20:41:48,717 - 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-10 20:41:48,975 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with 2025-08-10 20:41:48,975 - INFO - Initial checks done. Running the testcase now 2025-08-10 20:41:48,975 - INFO - 2025-08-10 20:41:49,506 - DEBUG - Response for create_network : {'network': {'id': 'b4cedca4-9105-4466-a940-4f2e75eaeaa8', 'name': 'ctest-vn1-49033661', 'tenant_id': '47bfd9e9b0264a26bc4d769ee2daee0a', 'project_id': '47bfd9e9b0264a26bc4d769ee2daee0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-89235158', 'ctest-vn1-49033661'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:41:49,717 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4d4874b-2bb6-49f4-b07d-10d23e245df7', 'name': '', 'tenant_id': '47bfd9e9b0264a26bc4d769ee2daee0a', 'network_id': 'b4cedca4-9105-4466-a940-4f2e75eaeaa8', 'ip_version': 4, 'cidr': '26.136.43.128/26', 'allocation_pools': [{'start': '26.136.43.130', 'end': '26.136.43.190'}], 'gateway_ip': '26.136.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.136.43.130', 'tags': [], 'project_id': '47bfd9e9b0264a26bc4d769ee2daee0a'}} 2025-08-10 20:41:49,732 - INFO - Created VN ctest-vn1-49033661 2025-08-10 20:41:49,788 - DEBUG - VN ctest-vn1-49033661 UUID is b4cedca4-9105-4466-a940-4f2e75eaeaa8 2025-08-10 20:41:50,115 - DEBUG - Response for create_network : {'network': {'id': 'badae0ec-49bb-4397-b9f2-877dc903505d', 'name': 'ctest-vn2-57794439', 'tenant_id': '47bfd9e9b0264a26bc4d769ee2daee0a', 'project_id': '47bfd9e9b0264a26bc4d769ee2daee0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-89235158', 'ctest-vn2-57794439'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:41:50,331 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e8e8c74-a876-49cb-a5f3-6096d27b989d', 'name': '', 'tenant_id': '47bfd9e9b0264a26bc4d769ee2daee0a', 'network_id': 'badae0ec-49bb-4397-b9f2-877dc903505d', 'ip_version': 4, 'cidr': '85.86.206.128/26', 'allocation_pools': [{'start': '85.86.206.130', 'end': '85.86.206.190'}], 'gateway_ip': '85.86.206.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.86.206.130', 'tags': [], 'project_id': '47bfd9e9b0264a26bc4d769ee2daee0a'}} 2025-08-10 20:41:50,348 - INFO - Created VN ctest-vn2-57794439 2025-08-10 20:41:50,400 - DEBUG - VN ctest-vn2-57794439 UUID is badae0ec-49bb-4397-b9f2-877dc903505d 2025-08-10 20:41:50,648 - DEBUG - Services list from nova: [, , ] 2025-08-10 20:41:51,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3789-1) 2025-08-10 20:41:52,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3789-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3789-1) 2025-08-10 20:41:52,813 - INFO - Adding interface with subnet_id b4d4874b-2bb6-49f4-b07d-10d23e245df7, port_id None to router ca5aea0f-4645-4a6a-aefc-fde34bbcabf2 2025-08-10 20:41:53,111 - INFO - Waiting for VM ctest-vn1-vm1-48392506 to be up.. 2025-08-10 20:41:53,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 20:41:58,314 - DEBUG - VM is in ACTIVE state now 2025-08-10 20:41:58,314 - INFO - VM name : ctest-vn1-vm1-48392506 2025-08-10 20:41:58,369 - DEBUG - VM ctest-vn1-vm1-48392506 ID is fff3744c-a57c-4771-83cc-8c793c62ecc5 2025-08-10 20:41:58,385 - DEBUG - VM ctest-vn1-vm1-48392506 launched on Node cn-jenkins-deploy-platform-ansible-os-3789-1 2025-08-10 20:41:58,445 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/fff3744c-a57c-4771-83cc-8c793c62ecc5 2025-08-10 20:41:58,732 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/fff3744c-a57c-4771-83cc-8c793c62ecc5 2025-08-10 20:41:58,760 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f094b87f-9d7e-403c-bb86-b0ad6b2dda1c 2025-08-10 20:42:01,996 - 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=2 ttl=63 time=9.00 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 8.999/8.999/8.999/0.000 ms') 2025-08-10 20:42:01,996 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48392506 passed 2025-08-10 20:42:02,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:42:02,148 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48392506, IP 26.136.43.131, Port 22 2025-08-10 20:42:02,303 - DEBUG - VM ctest-vn1-vm1-48392506 is ready for SSH connections 2025-08-10 20:42:02,304 - INFO - Waiting for VM ctest-vn2-vm1-95469028 to be up.. 2025-08-10 20:42:02,367 - DEBUG - VM is in ACTIVE state now 2025-08-10 20:42:02,367 - INFO - VM name : ctest-vn2-vm1-95469028 2025-08-10 20:42:02,425 - DEBUG - VM ctest-vn2-vm1-95469028 ID is 7ef06440-68b0-46ff-aaa2-7451bd3adc0f 2025-08-10 20:42:02,425 - DEBUG - VM ctest-vn2-vm1-95469028 launched on Node cn-jenkins-deploy-platform-ansible-os-3789-1 2025-08-10 20:42:02,481 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7ef06440-68b0-46ff-aaa2-7451bd3adc0f 2025-08-10 20:42:02,489 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/93511037-7fa4-4b3e-84e6-e27e5052f384 2025-08-10 20:42:03,712 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.487/2.584/1.097 ms') 2025-08-10 20:42:03,712 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-95469028 passed 2025-08-10 20:42:03,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:42:03,864 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-95469028, IP 85.86.206.131, Port 22 2025-08-10 20:42:04,019 - DEBUG - VM ctest-vn2-vm1-95469028 is ready for SSH connections 2025-08-10 20:42:04,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:42:04,020 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.86.206.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 20:42:04,020 - DEBUG - ping -s 56 -c 3 -W 1 85.86.206.131 2025-08-10 20:42:08,644 - DEBUG - PING 85.86.206.131 (85.86.206.131): 56 data bytes --- 85.86.206.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-10 20:42:08,645 - WARNING - Ping to IP 85.86.206.131 from VM ctest-vn1-vm1-48392506 failed 2025-08-10 20:42:08,645 - INFO - Adding interface with subnet_id 7e8e8c74-a876-49cb-a5f3-6096d27b989d, port_id None to router ca5aea0f-4645-4a6a-aefc-fde34bbcabf2 2025-08-10 20:42:08,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:42:08,860 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.86.206.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 20:42:08,861 - DEBUG - ping -s 56 -c 3 -W 1 85.86.206.131 2025-08-10 20:42:11,053 - DEBUG - PING 85.86.206.131 (85.86.206.131): 56 data bytes 64 bytes from 85.86.206.131: seq=0 ttl=63 time=2.563 ms 64 bytes from 85.86.206.131: seq=1 ttl=63 time=0.749 ms 64 bytes from 85.86.206.131: seq=2 ttl=63 time=0.724 ms --- 85.86.206.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.724/1.345/2.563 ms 2025-08-10 20:42:11,053 - INFO - Ping to IP 85.86.206.131 from VM ctest-vn1-vm1-48392506 passed 2025-08-10 20:42:11,053 - INFO - Deleting interface with subnet_id b4d4874b-2bb6-49f4-b07d-10d23e245df7, port_id None from router ca5aea0f-4645-4a6a-aefc-fde34bbcabf2 2025-08-10 20:42:11,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:42:11,156 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.86.206.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 20:42:11,156 - DEBUG - ping -s 56 -c 3 -W 1 85.86.206.131 2025-08-10 20:42:14,339 - DEBUG - PING 85.86.206.131 (85.86.206.131): 56 data bytes --- 85.86.206.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-10 20:42:14,340 - WARNING - Ping to IP 85.86.206.131 from VM ctest-vn1-vm1-48392506 failed 2025-08-10 20:42:14,340 - INFO - Adding interface with subnet_id b4d4874b-2bb6-49f4-b07d-10d23e245df7, port_id None to router ca5aea0f-4645-4a6a-aefc-fde34bbcabf2 2025-08-10 20:42:14,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:42:14,545 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.86.206.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-10 20:42:14,545 - DEBUG - ping -s 56 -c 3 -W 1 85.86.206.131 2025-08-10 20:42:16,736 - DEBUG - PING 85.86.206.131 (85.86.206.131): 56 data bytes 64 bytes from 85.86.206.131: seq=0 ttl=63 time=1.324 ms 64 bytes from 85.86.206.131: seq=1 ttl=63 time=0.753 ms 64 bytes from 85.86.206.131: seq=2 ttl=63 time=0.703 ms --- 85.86.206.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.703/0.926/1.324 ms 2025-08-10 20:42:16,736 - INFO - Ping to IP 85.86.206.131 from VM ctest-vn1-vm1-48392506 passed 2025-08-10 20:42:16,737 - INFO - Deleting interface with subnet_id 7e8e8c74-a876-49cb-a5f3-6096d27b989d, port_id None from router ca5aea0f-4645-4a6a-aefc-fde34bbcabf2 2025-08-10 20:42:16,863 - INFO - Deleting interface with subnet_id b4d4874b-2bb6-49f4-b07d-10d23e245df7, port_id None from router ca5aea0f-4645-4a6a-aefc-fde34bbcabf2 2025-08-10 20:42:17,023 - INFO - Deleting VM ctest-vn2-vm1-95469028 2025-08-10 20:42:17,084 - INFO - Deleting VM ctest-vn1-vm1-48392506 2025-08-10 20:42:17,143 - INFO - Deleting VN ctest-vn2-57794439 2025-08-10 20:42:17,175 - DEBUG - VN badae0ec-49bb-4397-b9f2-877dc903505d still in use: Unable to complete operation on network badae0ec-49bb-4397-b9f2-877dc903505d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df994af7-43bb-4777-9908-2fb7811ed5c5'] 2025-08-10 20:42:17,175 - WARNING - Deleting VN ctest-vn2-57794439 failed..Will retry 2025-08-10 20:42:19,268 - DEBUG - Response for deleting network () 2025-08-10 20:42:19,268 - INFO - Deleting VN ctest-vn1-49033661 2025-08-10 20:42:19,371 - DEBUG - Response for deleting network () 2025-08-10 20:42:19,633 - DEBUG - No XMPP flaps were noticed during the test 2025-08-10 20:42:19,633 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31] 2025-08-10 20:42:19,633 - INFO - -------------------------------------------------------------------------------- 2025-08-10 20:42:20,276 - INFO - Deleted project: ctest-TestRouters-89235158, ID : 47bfd9e9-b026-4a26-bc4d-769ee2daee0a