2025-11-12 09:10:57,917 - INFO - Domain Default found not creating 2025-11-12 09:10:58,066 - INFO - Project ctest-TestRouters-46903286 not found, creating it 2025-11-12 09:10:58,530 - INFO - Created Project:ctest-TestRouters-46903286, ID : 0ee0d541-fa32-4b4d-9d11-4127c70da141 2025-11-12 09:11:00,250 - INFO - ================================================================================ 2025-11-12 09:11:00,250 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-12 09:11:00,250 - 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-12 09:11:00,505 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-11-12 09:11:00,506 - INFO - Initial checks done. Running the testcase now 2025-11-12 09:11:00,506 - INFO - 2025-11-12 09:11:01,142 - DEBUG - Response for create_network : {'network': {'id': '3a2eb199-afac-403c-9eea-805153236c60', 'name': 'ctest-vn1-06012868', 'tenant_id': '0ee0d541fa324b4d9d114127c70da141', 'project_id': '0ee0d541fa324b4d9d114127c70da141', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-46903286', 'ctest-vn1-06012868'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:11:01,483 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a12f923d-cead-4284-a621-d277bf030a8d', 'name': '', 'tenant_id': '0ee0d541fa324b4d9d114127c70da141', 'network_id': '3a2eb199-afac-403c-9eea-805153236c60', 'ip_version': 4, 'cidr': '159.181.158.192/26', 'allocation_pools': [{'start': '159.181.158.194', 'end': '159.181.158.254'}], 'gateway_ip': '159.181.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.181.158.194', 'tags': [], 'project_id': '0ee0d541fa324b4d9d114127c70da141'}} 2025-11-12 09:11:01,504 - INFO - Created VN ctest-vn1-06012868 2025-11-12 09:11:01,560 - DEBUG - VN ctest-vn1-06012868 UUID is 3a2eb199-afac-403c-9eea-805153236c60 2025-11-12 09:11:01,879 - DEBUG - Response for create_network : {'network': {'id': '58abed05-d990-4879-b5df-3e67a3a405cf', 'name': 'ctest-vn2-05639027', 'tenant_id': '0ee0d541fa324b4d9d114127c70da141', 'project_id': '0ee0d541fa324b4d9d114127c70da141', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-46903286', 'ctest-vn2-05639027'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:11:02,137 - DEBUG - Response for create_subnet : {'subnet': {'id': '07cf4c31-325e-4416-8909-8a3869dce32c', 'name': '', 'tenant_id': '0ee0d541fa324b4d9d114127c70da141', 'network_id': '58abed05-d990-4879-b5df-3e67a3a405cf', 'ip_version': 4, 'cidr': '78.117.54.128/26', 'allocation_pools': [{'start': '78.117.54.130', 'end': '78.117.54.190'}], 'gateway_ip': '78.117.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.117.54.130', 'tags': [], 'project_id': '0ee0d541fa324b4d9d114127c70da141'}} 2025-11-12 09:11:02,155 - INFO - Created VN ctest-vn2-05639027 2025-11-12 09:11:02,208 - DEBUG - VN ctest-vn2-05639027 UUID is 58abed05-d990-4879-b5df-3e67a3a405cf 2025-11-12 09:11:02,397 - DEBUG - Services list from nova: [, , ] 2025-11-12 09:11:03,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4703-1) 2025-11-12 09:11:04,853 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4703-1) 2025-11-12 09:11:04,931 - INFO - Adding interface with subnet_id a12f923d-cead-4284-a621-d277bf030a8d, port_id None to router 73785b6c-2476-42fa-9725-c66eab947c1f 2025-11-12 09:11:05,237 - INFO - Waiting for VM ctest-vn1-vm1-45043477 to be up.. 2025-11-12 09:11:05,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 09:11:10,434 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:11:10,434 - INFO - VM name : ctest-vn1-vm1-45043477 2025-11-12 09:11:10,506 - DEBUG - VM ctest-vn1-vm1-45043477 ID is d58de020-ecfd-43c6-bf71-dd8b878a9677 2025-11-12 09:11:10,529 - DEBUG - VM ctest-vn1-vm1-45043477 launched on Node cn-jenkins-deploy-platform-ansible-os-4703-1 2025-11-12 09:11:10,603 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d58de020-ecfd-43c6-bf71-dd8b878a9677 2025-11-12 09:11:10,936 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d58de020-ecfd-43c6-bf71-dd8b878a9677 2025-11-12 09:11:10,967 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3b60f1b7-d541-4550-8a20-e987aab357af 2025-11-12 09:11:14,214 - 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 1010ms') 2025-11-12 09:11:14,214 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45043477 failed! 2025-11-12 09:11:14,268 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-46903286:ctest-vn1-06012868 is 159.181.158.193 and allocation pool is NOT set 2025-11-12 09:11:16,339 - 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=5.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 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 = 1.511/3.645/5.780/2.134 ms') 2025-11-12 09:11:16,339 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45043477 passed 2025-11-12 09:11:16,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:16,493 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45043477, IP 159.181.158.195, Port 22 2025-11-12 09:11:16,558 - 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-12 09:11:16,632 - DEBUG - VM ctest-vn1-vm1-45043477 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 09:11:21,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:21,632 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45043477, IP 159.181.158.195, Port 22 2025-11-12 09:11:21,792 - DEBUG - VM ctest-vn1-vm1-45043477 is ready for SSH connections 2025-11-12 09:11:21,792 - INFO - Waiting for VM ctest-vn2-vm1-27038018 to be up.. 2025-11-12 09:11:21,867 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:11:21,867 - INFO - VM name : ctest-vn2-vm1-27038018 2025-11-12 09:11:21,942 - DEBUG - VM ctest-vn2-vm1-27038018 ID is e2665667-4b2d-4b5e-a096-5c123d34056b 2025-11-12 09:11:21,942 - DEBUG - VM ctest-vn2-vm1-27038018 launched on Node cn-jenkins-deploy-platform-ansible-os-4703-1 2025-11-12 09:11:22,011 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e2665667-4b2d-4b5e-a096-5c123d34056b 2025-11-12 09:11:22,027 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1b9d83b7-3bd9-491f-b9f9-6fb29c58c31c 2025-11-12 09:11:23,264 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.509 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.509/1.854/3.199/1.345 ms') 2025-11-12 09:11:23,264 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-27038018 passed 2025-11-12 09:11:23,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:23,420 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-27038018, IP 78.117.54.131, Port 22 2025-11-12 09:11:23,603 - DEBUG - VM ctest-vn2-vm1-27038018 is ready for SSH connections 2025-11-12 09:11:23,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:23,603 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.117.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 09:11:23,603 - DEBUG - ping -s 56 -c 3 -W 1 78.117.54.131 2025-11-12 09:11:28,310 - DEBUG - PING 78.117.54.131 (78.117.54.131): 56 data bytes --- 78.117.54.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 09:11:28,310 - WARNING - Ping to IP 78.117.54.131 from VM ctest-vn1-vm1-45043477 failed 2025-11-12 09:11:28,310 - INFO - Adding interface with subnet_id 07cf4c31-325e-4416-8909-8a3869dce32c, port_id None to router 73785b6c-2476-42fa-9725-c66eab947c1f 2025-11-12 09:11:28,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:28,550 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.117.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 09:11:28,550 - DEBUG - ping -s 56 -c 3 -W 1 78.117.54.131 2025-11-12 09:11:31,778 - DEBUG - PING 78.117.54.131 (78.117.54.131): 56 data bytes 64 bytes from 78.117.54.131: seq=1 ttl=63 time=2.819 ms 64 bytes from 78.117.54.131: seq=2 ttl=63 time=0.817 ms --- 78.117.54.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.817/1.818/2.819 ms 2025-11-12 09:11:31,779 - WARNING - Ping to IP 78.117.54.131 from VM ctest-vn1-vm1-45043477 failed 2025-11-12 09:11:32,780 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.117.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 09:11:32,780 - DEBUG - ping -s 56 -c 3 -W 1 78.117.54.131 2025-11-12 09:11:35,000 - DEBUG - PING 78.117.54.131 (78.117.54.131): 56 data bytes 64 bytes from 78.117.54.131: seq=0 ttl=63 time=1.591 ms 64 bytes from 78.117.54.131: seq=1 ttl=63 time=0.783 ms 64 bytes from 78.117.54.131: seq=2 ttl=63 time=0.982 ms --- 78.117.54.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/1.118/1.591 ms 2025-11-12 09:11:35,001 - INFO - Ping to IP 78.117.54.131 from VM ctest-vn1-vm1-45043477 passed 2025-11-12 09:11:35,001 - INFO - Deleting interface with subnet_id a12f923d-cead-4284-a621-d277bf030a8d, port_id None from router 73785b6c-2476-42fa-9725-c66eab947c1f 2025-11-12 09:11:35,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:35,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.117.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 09:11:35,136 - DEBUG - ping -s 56 -c 3 -W 1 78.117.54.131 2025-11-12 09:11:38,351 - DEBUG - PING 78.117.54.131 (78.117.54.131): 56 data bytes --- 78.117.54.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 09:11:38,351 - WARNING - Ping to IP 78.117.54.131 from VM ctest-vn1-vm1-45043477 failed 2025-11-12 09:11:38,352 - INFO - Adding interface with subnet_id a12f923d-cead-4284-a621-d277bf030a8d, port_id None to router 73785b6c-2476-42fa-9725-c66eab947c1f 2025-11-12 09:11:38,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:11:38,559 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.117.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 09:11:38,559 - DEBUG - ping -s 56 -c 3 -W 1 78.117.54.131 2025-11-12 09:11:40,791 - DEBUG - PING 78.117.54.131 (78.117.54.131): 56 data bytes 64 bytes from 78.117.54.131: seq=0 ttl=63 time=1.391 ms 64 bytes from 78.117.54.131: seq=1 ttl=63 time=0.922 ms 64 bytes from 78.117.54.131: seq=2 ttl=63 time=0.690 ms --- 78.117.54.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.690/1.001/1.391 ms 2025-11-12 09:11:40,791 - INFO - Ping to IP 78.117.54.131 from VM ctest-vn1-vm1-45043477 passed 2025-11-12 09:11:40,791 - INFO - Deleting interface with subnet_id 07cf4c31-325e-4416-8909-8a3869dce32c, port_id None from router 73785b6c-2476-42fa-9725-c66eab947c1f 2025-11-12 09:11:40,918 - INFO - Deleting interface with subnet_id a12f923d-cead-4284-a621-d277bf030a8d, port_id None from router 73785b6c-2476-42fa-9725-c66eab947c1f 2025-11-12 09:11:41,072 - INFO - Deleting VM ctest-vn2-vm1-27038018 2025-11-12 09:11:41,140 - INFO - Deleting VM ctest-vn1-vm1-45043477 2025-11-12 09:11:41,209 - INFO - Deleting VN ctest-vn2-05639027 2025-11-12 09:11:41,245 - DEBUG - VN 58abed05-d990-4879-b5df-3e67a3a405cf still in use: Unable to complete operation on network 58abed05-d990-4879-b5df-3e67a3a405cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f8894fd1-67a3-4a1a-abf1-19627eb95642'] 2025-11-12 09:11:41,246 - WARNING - Deleting VN ctest-vn2-05639027 failed..Will retry 2025-11-12 09:11:43,344 - DEBUG - Response for deleting network () 2025-11-12 09:11:43,344 - INFO - Deleting VN ctest-vn1-06012868 2025-11-12 09:11:43,442 - DEBUG - Response for deleting network () 2025-11-12 09:11:43,697 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 09:11:43,697 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-11-12 09:11:43,697 - INFO - -------------------------------------------------------------------------------- 2025-11-12 09:11:44,445 - INFO - Deleted project: ctest-TestRouters-46903286, ID : 0ee0d541-fa32-4b4d-9d11-4127c70da141