2025-11-13 10:48:02,478 - INFO - Domain Default found not creating 2025-11-13 10:48:02,647 - INFO - Project ctest-TestRouters-53243562 not found, creating it 2025-11-13 10:48:03,460 - INFO - Created Project:ctest-TestRouters-53243562, ID : 45dda71a-558e-4577-9068-7f9938f40732 2025-11-13 10:48:05,092 - INFO - ================================================================================ 2025-11-13 10:48:05,092 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-13 10:48:05,092 - 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-13 10:48:05,345 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 10:48:05,345 - INFO - Initial checks done. Running the testcase now 2025-11-13 10:48:05,346 - INFO - 2025-11-13 10:48:05,933 - DEBUG - Response for create_network : {'network': {'id': '72e1b299-7084-44f8-9855-8b8640a5ea5a', 'name': 'ctest-vn1-94152740', 'tenant_id': '45dda71a558e457790687f9938f40732', 'project_id': '45dda71a558e457790687f9938f40732', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-53243562', 'ctest-vn1-94152740'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 10:48:06,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '46217993-f132-4309-aa61-90c7f89360aa', 'name': '', 'tenant_id': '45dda71a558e457790687f9938f40732', 'network_id': '72e1b299-7084-44f8-9855-8b8640a5ea5a', 'ip_version': 4, 'cidr': '206.109.43.64/26', 'allocation_pools': [{'start': '206.109.43.66', 'end': '206.109.43.126'}], 'gateway_ip': '206.109.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.109.43.66', 'tags': [], 'project_id': '45dda71a558e457790687f9938f40732'}} 2025-11-13 10:48:06,124 - INFO - Created VN ctest-vn1-94152740 2025-11-13 10:48:06,183 - DEBUG - VN ctest-vn1-94152740 UUID is 72e1b299-7084-44f8-9855-8b8640a5ea5a 2025-11-13 10:48:06,474 - DEBUG - Response for create_network : {'network': {'id': '604c81d0-fbfa-4155-8e9a-53c24cc4d77b', 'name': 'ctest-vn2-58365653', 'tenant_id': '45dda71a558e457790687f9938f40732', 'project_id': '45dda71a558e457790687f9938f40732', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-53243562', 'ctest-vn2-58365653'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 10:48:06,641 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc98df2a-5a1a-4487-844a-a24f2b27eeb2', 'name': '', 'tenant_id': '45dda71a558e457790687f9938f40732', 'network_id': '604c81d0-fbfa-4155-8e9a-53c24cc4d77b', 'ip_version': 4, 'cidr': '218.45.232.0/26', 'allocation_pools': [{'start': '218.45.232.2', 'end': '218.45.232.62'}], 'gateway_ip': '218.45.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.45.232.2', 'tags': [], 'project_id': '45dda71a558e457790687f9938f40732'}} 2025-11-13 10:48:06,657 - INFO - Created VN ctest-vn2-58365653 2025-11-13 10:48:06,708 - DEBUG - VN ctest-vn2-58365653 UUID is 604c81d0-fbfa-4155-8e9a-53c24cc4d77b 2025-11-13 10:48:06,920 - DEBUG - Services list from nova: [, , ] 2025-11-13 10:48:08,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4718-1) 2025-11-13 10:48:09,204 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4718-1) 2025-11-13 10:48:09,273 - INFO - Adding interface with subnet_id 46217993-f132-4309-aa61-90c7f89360aa, port_id None to router dc5ade6b-44ed-4499-9853-91ef8c9f3b9f 2025-11-13 10:48:09,571 - INFO - Waiting for VM ctest-vn1-vm1-07920080 to be up.. 2025-11-13 10:48:09,773 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 10:48:14,849 - DEBUG - VM is in ACTIVE state now 2025-11-13 10:48:14,849 - INFO - VM name : ctest-vn1-vm1-07920080 2025-11-13 10:48:14,929 - DEBUG - VM ctest-vn1-vm1-07920080 ID is 2b0dfe06-ee36-422e-9f23-54e966fd4613 2025-11-13 10:48:14,953 - DEBUG - VM ctest-vn1-vm1-07920080 launched on Node cn-jenkins-deploy-platform-ansible-os-4718-1 2025-11-13 10:48:15,048 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2b0dfe06-ee36-422e-9f23-54e966fd4613 2025-11-13 10:48:15,376 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2b0dfe06-ee36-422e-9f23-54e966fd4613 2025-11-13 10:48:15,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f1d2d024-1156-40cc-b229-893eb119f86a 2025-11-13 10:48:16,668 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.688 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.688/5.476/10.265/4.788 ms') 2025-11-13 10:48:16,669 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07920080 passed 2025-11-13 10:48:16,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:48:16,820 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07920080, IP 206.109.43.67, Port 22 2025-11-13 10:48:16,886 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-13 10:48:16,967 - DEBUG - VM ctest-vn1-vm1-07920080 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 10:48:21,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:48:21,969 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07920080, IP 206.109.43.67, Port 22 2025-11-13 10:48:22,127 - DEBUG - VM ctest-vn1-vm1-07920080 is ready for SSH connections 2025-11-13 10:48:22,127 - INFO - Waiting for VM ctest-vn2-vm1-05880124 to be up.. 2025-11-13 10:48:22,203 - DEBUG - VM is in ACTIVE state now 2025-11-13 10:48:22,203 - INFO - VM name : ctest-vn2-vm1-05880124 2025-11-13 10:48:22,275 - DEBUG - VM ctest-vn2-vm1-05880124 ID is c605b944-7bd6-4603-b26e-ddd0ace2eb08 2025-11-13 10:48:22,275 - DEBUG - VM ctest-vn2-vm1-05880124 launched on Node cn-jenkins-deploy-platform-ansible-os-4718-1 2025-11-13 10:48:22,351 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c605b944-7bd6-4603-b26e-ddd0ace2eb08 2025-11-13 10:48:22,358 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cf70f0c0-113a-4f54-871c-5c2ede9d6eb7 2025-11-13 10:48:23,591 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.872/3.262/1.390 ms') 2025-11-13 10:48:23,591 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-05880124 passed 2025-11-13 10:48:23,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:48:23,744 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-05880124, IP 218.45.232.3, Port 22 2025-11-13 10:48:23,899 - DEBUG - VM ctest-vn2-vm1-05880124 is ready for SSH connections 2025-11-13 10:48:23,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:48:23,900 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.45.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 10:48:23,900 - DEBUG - ping -s 56 -c 3 -W 1 218.45.232.3 2025-11-13 10:48:28,477 - DEBUG - PING 218.45.232.3 (218.45.232.3): 56 data bytes --- 218.45.232.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 10:48:28,477 - WARNING - Ping to IP 218.45.232.3 from VM ctest-vn1-vm1-07920080 failed 2025-11-13 10:48:28,477 - INFO - Adding interface with subnet_id bc98df2a-5a1a-4487-844a-a24f2b27eeb2, port_id None to router dc5ade6b-44ed-4499-9853-91ef8c9f3b9f 2025-11-13 10:48:28,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:48:28,704 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.45.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 10:48:28,704 - DEBUG - ping -s 56 -c 3 -W 1 218.45.232.3 2025-11-13 10:48:31,813 - DEBUG - PING 218.45.232.3 (218.45.232.3): 56 data bytes 64 bytes from 218.45.232.3: seq=1 ttl=63 time=2.592 ms 64 bytes from 218.45.232.3: seq=2 ttl=63 time=1.024 ms --- 218.45.232.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.024/1.808/2.592 ms 2025-11-13 10:48:31,813 - WARNING - Ping to IP 218.45.232.3 from VM ctest-vn1-vm1-07920080 failed 2025-11-13 10:48:32,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.45.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 10:48:32,813 - DEBUG - ping -s 56 -c 3 -W 1 218.45.232.3 2025-11-13 10:48:34,926 - DEBUG - PING 218.45.232.3 (218.45.232.3): 56 data bytes 64 bytes from 218.45.232.3: seq=0 ttl=63 time=1.568 ms 64 bytes from 218.45.232.3: seq=1 ttl=63 time=0.941 ms 64 bytes from 218.45.232.3: seq=2 ttl=63 time=0.909 ms --- 218.45.232.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.909/1.139/1.568 ms 2025-11-13 10:48:34,926 - INFO - Ping to IP 218.45.232.3 from VM ctest-vn1-vm1-07920080 passed 2025-11-13 10:48:34,926 - INFO - Deleting interface with subnet_id 46217993-f132-4309-aa61-90c7f89360aa, port_id None from router dc5ade6b-44ed-4499-9853-91ef8c9f3b9f 2025-11-13 10:48:35,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:48:35,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.45.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 10:48:35,042 - DEBUG - ping -s 56 -c 3 -W 1 218.45.232.3 2025-11-13 10:48:38,162 - DEBUG - PING 218.45.232.3 (218.45.232.3): 56 data bytes --- 218.45.232.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 10:48:38,162 - WARNING - Ping to IP 218.45.232.3 from VM ctest-vn1-vm1-07920080 failed 2025-11-13 10:48:38,162 - INFO - Adding interface with subnet_id 46217993-f132-4309-aa61-90c7f89360aa, port_id None to router dc5ade6b-44ed-4499-9853-91ef8c9f3b9f 2025-11-13 10:48:38,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 10:48:38,389 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.45.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 10:48:38,389 - DEBUG - ping -s 56 -c 3 -W 1 218.45.232.3 2025-11-13 10:48:40,513 - DEBUG - PING 218.45.232.3 (218.45.232.3): 56 data bytes 64 bytes from 218.45.232.3: seq=0 ttl=63 time=1.452 ms 64 bytes from 218.45.232.3: seq=1 ttl=63 time=1.199 ms 64 bytes from 218.45.232.3: seq=2 ttl=63 time=0.917 ms --- 218.45.232.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.917/1.189/1.452 ms 2025-11-13 10:48:40,513 - INFO - Ping to IP 218.45.232.3 from VM ctest-vn1-vm1-07920080 passed 2025-11-13 10:48:40,513 - INFO - Deleting interface with subnet_id bc98df2a-5a1a-4487-844a-a24f2b27eeb2, port_id None from router dc5ade6b-44ed-4499-9853-91ef8c9f3b9f 2025-11-13 10:48:40,630 - INFO - Deleting interface with subnet_id 46217993-f132-4309-aa61-90c7f89360aa, port_id None from router dc5ade6b-44ed-4499-9853-91ef8c9f3b9f 2025-11-13 10:48:40,798 - INFO - Deleting VM ctest-vn2-vm1-05880124 2025-11-13 10:48:40,879 - INFO - Deleting VM ctest-vn1-vm1-07920080 2025-11-13 10:48:40,952 - INFO - Deleting VN ctest-vn2-58365653 2025-11-13 10:48:40,985 - DEBUG - VN 604c81d0-fbfa-4155-8e9a-53c24cc4d77b still in use: Unable to complete operation on network 604c81d0-fbfa-4155-8e9a-53c24cc4d77b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a4a26a69-4640-4698-b9e7-249519a289a2'] 2025-11-13 10:48:40,985 - WARNING - Deleting VN ctest-vn2-58365653 failed..Will retry 2025-11-13 10:48:43,098 - DEBUG - Response for deleting network () 2025-11-13 10:48:43,098 - INFO - Deleting VN ctest-vn1-94152740 2025-11-13 10:48:43,213 - DEBUG - Response for deleting network () 2025-11-13 10:48:43,473 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 10:48:43,473 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-13 10:48:43,473 - INFO - -------------------------------------------------------------------------------- 2025-11-13 10:48:44,177 - INFO - Deleted project: ctest-TestRouters-53243562, ID : 45dda71a-558e-4577-9068-7f9938f40732