2025-09-27 06:49:55,378 - INFO - Domain Default found not creating 2025-09-27 06:49:55,756 - INFO - Project ctest-TestRouters-39245579 not found, creating it 2025-09-27 06:49:56,452 - INFO - Created Project:ctest-TestRouters-39245579, ID : 8e1f64fb-96d2-4e42-b8d9-1616bb54056c 2025-09-27 06:49:58,411 - INFO - ================================================================================ 2025-09-27 06:49:58,411 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-27 06:49:58,411 - 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-09-27 06:49:58,717 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-27 06:49:58,717 - INFO - Initial checks done. Running the testcase now 2025-09-27 06:49:58,717 - INFO - 2025-09-27 06:49:59,542 - DEBUG - Response for create_network : {'network': {'id': '7565f48c-5af4-476b-89f5-fd9918dcb9be', 'name': 'ctest-vn1-54294844', 'tenant_id': '8e1f64fb96d24e42b8d91616bb54056c', 'project_id': '8e1f64fb96d24e42b8d91616bb54056c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-39245579', 'ctest-vn1-54294844'], 'port_security_enabled': True, 'description': ''}} 2025-09-27 06:49:59,725 - DEBUG - Response for create_subnet : {'subnet': {'id': '12a0dc28-f568-48b4-9709-f3919cdcdb50', 'name': '', 'tenant_id': '8e1f64fb96d24e42b8d91616bb54056c', 'network_id': '7565f48c-5af4-476b-89f5-fd9918dcb9be', 'ip_version': 4, 'cidr': '13.48.239.0/26', 'allocation_pools': [{'start': '13.48.239.2', 'end': '13.48.239.62'}], 'gateway_ip': '13.48.239.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.48.239.2', 'tags': [], 'project_id': '8e1f64fb96d24e42b8d91616bb54056c'}} 2025-09-27 06:49:59,745 - INFO - Created VN ctest-vn1-54294844 2025-09-27 06:49:59,802 - DEBUG - VN ctest-vn1-54294844 UUID is 7565f48c-5af4-476b-89f5-fd9918dcb9be 2025-09-27 06:50:00,228 - DEBUG - Response for create_network : {'network': {'id': 'ca2371b4-7181-423d-bf04-1cede45facec', 'name': 'ctest-vn2-58492744', 'tenant_id': '8e1f64fb96d24e42b8d91616bb54056c', 'project_id': '8e1f64fb96d24e42b8d91616bb54056c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-39245579', 'ctest-vn2-58492744'], 'port_security_enabled': True, 'description': ''}} 2025-09-27 06:50:00,490 - DEBUG - Response for create_subnet : {'subnet': {'id': '74db0af3-9350-4180-95a9-0d88b6de2c40', 'name': '', 'tenant_id': '8e1f64fb96d24e42b8d91616bb54056c', 'network_id': 'ca2371b4-7181-423d-bf04-1cede45facec', 'ip_version': 4, 'cidr': '213.227.230.0/26', 'allocation_pools': [{'start': '213.227.230.2', 'end': '213.227.230.62'}], 'gateway_ip': '213.227.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.227.230.2', 'tags': [], 'project_id': '8e1f64fb96d24e42b8d91616bb54056c'}} 2025-09-27 06:50:00,511 - INFO - Created VN ctest-vn2-58492744 2025-09-27 06:50:00,566 - DEBUG - VN ctest-vn2-58492744 UUID is ca2371b4-7181-423d-bf04-1cede45facec 2025-09-27 06:50:00,839 - DEBUG - Services list from nova: [, , ] 2025-09-27 06:50:02,090 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4198-1) 2025-09-27 06:50:03,601 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4198-1) 2025-09-27 06:50:03,687 - INFO - Adding interface with subnet_id 12a0dc28-f568-48b4-9709-f3919cdcdb50, port_id None to router bf3d7de1-f3b0-43a5-9fa5-46649a1ea6ec 2025-09-27 06:50:03,935 - INFO - Waiting for VM ctest-vn1-vm1-16151045 to be up.. 2025-09-27 06:50:04,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-27 06:50:09,203 - DEBUG - VM is in ACTIVE state now 2025-09-27 06:50:09,203 - INFO - VM name : ctest-vn1-vm1-16151045 2025-09-27 06:50:09,395 - DEBUG - VM ctest-vn1-vm1-16151045 ID is 4413ee13-7730-4535-953f-e3c708059b17 2025-09-27 06:50:09,444 - DEBUG - VM ctest-vn1-vm1-16151045 launched on Node cn-jenkins-deploy-platform-ansible-os-4198-1 2025-09-27 06:50:09,615 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4413ee13-7730-4535-953f-e3c708059b17 2025-09-27 06:50:09,916 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4413ee13-7730-4535-953f-e3c708059b17 2025-09-27 06:50:09,967 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3b91b681-3bec-4ac1-b9d9-a47404419f62 2025-09-27 06:50:13,316 - 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 1030ms') 2025-09-27 06:50:13,316 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16151045 failed! 2025-09-27 06:50:13,385 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-39245579:ctest-vn1-54294844 is 13.48.239.1 and allocation pool is NOT set 2025-09-27 06:50:15,459 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.27 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.265/3.267/4.269/1.002 ms') 2025-09-27 06:50:15,459 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16151045 passed 2025-09-27 06:50:15,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 06:50:15,643 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16151045, IP 13.48.239.3, Port 22 2025-09-27 06:50:15,847 - DEBUG - VM ctest-vn1-vm1-16151045 is ready for SSH connections 2025-09-27 06:50:15,847 - INFO - Waiting for VM ctest-vn2-vm1-17436717 to be up.. 2025-09-27 06:50:15,981 - DEBUG - VM is in ACTIVE state now 2025-09-27 06:50:15,981 - INFO - VM name : ctest-vn2-vm1-17436717 2025-09-27 06:50:16,050 - DEBUG - VM ctest-vn2-vm1-17436717 ID is 333f173e-47ab-4670-896c-33b6b7e2a735 2025-09-27 06:50:16,050 - DEBUG - VM ctest-vn2-vm1-17436717 launched on Node cn-jenkins-deploy-platform-ansible-os-4198-1 2025-09-27 06:50:16,156 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/333f173e-47ab-4670-896c-33b6b7e2a735 2025-09-27 06:50:16,166 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/35cc8edb-f256-481e-b816-f5fd2f2a5cda 2025-09-27 06:50:17,466 - 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=3.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.10 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 = 3.097/3.250/3.403/0.153 ms') 2025-09-27 06:50:17,466 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-17436717 passed 2025-09-27 06:50:17,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 06:50:17,650 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-17436717, IP 213.227.230.3, Port 22 2025-09-27 06:50:17,753 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-27 06:50:17,927 - DEBUG - VM ctest-vn2-vm1-17436717 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-27 06:50:22,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 06:50:22,928 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-17436717, IP 213.227.230.3, Port 22 2025-09-27 06:50:23,125 - DEBUG - VM ctest-vn2-vm1-17436717 is ready for SSH connections 2025-09-27 06:50:23,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 06:50:23,126 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.227.230.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-27 06:50:23,126 - DEBUG - ping -s 56 -c 3 -W 1 213.227.230.3 2025-09-27 06:50:28,632 - DEBUG - PING 213.227.230.3 (213.227.230.3): 56 data bytes --- 213.227.230.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-27 06:50:28,633 - WARNING - Ping to IP 213.227.230.3 from VM ctest-vn1-vm1-16151045 failed 2025-09-27 06:50:28,633 - INFO - Adding interface with subnet_id 74db0af3-9350-4180-95a9-0d88b6de2c40, port_id None to router bf3d7de1-f3b0-43a5-9fa5-46649a1ea6ec 2025-09-27 06:50:29,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 06:50:29,072 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.227.230.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-27 06:50:29,072 - DEBUG - ping -s 56 -c 3 -W 1 213.227.230.3 2025-09-27 06:50:31,353 - DEBUG - PING 213.227.230.3 (213.227.230.3): 56 data bytes 64 bytes from 213.227.230.3: seq=0 ttl=63 time=4.697 ms 64 bytes from 213.227.230.3: seq=1 ttl=63 time=1.148 ms 64 bytes from 213.227.230.3: seq=2 ttl=63 time=1.998 ms --- 213.227.230.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.148/2.614/4.697 ms 2025-09-27 06:50:31,353 - INFO - Ping to IP 213.227.230.3 from VM ctest-vn1-vm1-16151045 passed 2025-09-27 06:50:31,354 - INFO - Deleting interface with subnet_id 12a0dc28-f568-48b4-9709-f3919cdcdb50, port_id None from router bf3d7de1-f3b0-43a5-9fa5-46649a1ea6ec 2025-09-27 06:50:31,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 06:50:31,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.227.230.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-27 06:50:31,558 - DEBUG - ping -s 56 -c 3 -W 1 213.227.230.3 2025-09-27 06:50:34,796 - DEBUG - PING 213.227.230.3 (213.227.230.3): 56 data bytes --- 213.227.230.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-27 06:50:34,796 - WARNING - Ping to IP 213.227.230.3 from VM ctest-vn1-vm1-16151045 failed 2025-09-27 06:50:34,796 - INFO - Adding interface with subnet_id 12a0dc28-f568-48b4-9709-f3919cdcdb50, port_id None to router bf3d7de1-f3b0-43a5-9fa5-46649a1ea6ec 2025-09-27 06:50:35,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 06:50:35,179 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.227.230.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-27 06:50:35,179 - DEBUG - ping -s 56 -c 3 -W 1 213.227.230.3 2025-09-27 06:50:37,391 - DEBUG - PING 213.227.230.3 (213.227.230.3): 56 data bytes 64 bytes from 213.227.230.3: seq=0 ttl=63 time=1.326 ms 64 bytes from 213.227.230.3: seq=1 ttl=63 time=1.620 ms 64 bytes from 213.227.230.3: seq=2 ttl=63 time=1.157 ms --- 213.227.230.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.157/1.367/1.620 ms 2025-09-27 06:50:37,391 - INFO - Ping to IP 213.227.230.3 from VM ctest-vn1-vm1-16151045 passed 2025-09-27 06:50:37,391 - INFO - Deleting interface with subnet_id 74db0af3-9350-4180-95a9-0d88b6de2c40, port_id None from router bf3d7de1-f3b0-43a5-9fa5-46649a1ea6ec 2025-09-27 06:50:37,632 - INFO - Deleting interface with subnet_id 12a0dc28-f568-48b4-9709-f3919cdcdb50, port_id None from router bf3d7de1-f3b0-43a5-9fa5-46649a1ea6ec 2025-09-27 06:50:37,835 - INFO - Deleting VM ctest-vn2-vm1-17436717 2025-09-27 06:50:37,919 - INFO - Deleting VM ctest-vn1-vm1-16151045 2025-09-27 06:50:38,000 - INFO - Deleting VN ctest-vn2-58492744 2025-09-27 06:50:38,039 - DEBUG - VN ca2371b4-7181-423d-bf04-1cede45facec still in use: Unable to complete operation on network ca2371b4-7181-423d-bf04-1cede45facec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1f1b9345-ff91-4cca-a13f-d34a55611d58'] 2025-09-27 06:50:38,039 - WARNING - Deleting VN ctest-vn2-58492744 failed..Will retry 2025-09-27 06:50:40,258 - DEBUG - Response for deleting network () 2025-09-27 06:50:40,258 - INFO - Deleting VN ctest-vn1-54294844 2025-09-27 06:50:40,407 - DEBUG - Response for deleting network () 2025-09-27 06:50:40,714 - DEBUG - No XMPP flaps were noticed during the test
2025-09-27 06:50:40,714 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-09-27 06:50:40,714 - INFO - -------------------------------------------------------------------------------- 2025-09-27 06:50:41,619 - INFO - Deleted project: ctest-TestRouters-39245579, ID : 8e1f64fb-96d2-4e42-b8d9-1616bb54056c