2025-09-29 18:16:21,929 - INFO - Domain Default found not creating 2025-09-29 18:16:22,093 - INFO - Project ctest-TestRouters-34031598 not found, creating it 2025-09-29 18:16:22,597 - INFO - Created Project:ctest-TestRouters-34031598, ID : 0ac7b14e-5da2-4f8f-9071-8741d391b272 2025-09-29 18:16:24,185 - INFO - ================================================================================ 2025-09-29 18:16:24,185 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-29 18:16:24,185 - 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-29 18:16:24,441 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-29 18:16:24,441 - INFO - Initial checks done. Running the testcase now 2025-09-29 18:16:24,441 - INFO - 2025-09-29 18:16:25,032 - DEBUG - Response for create_network : {'network': {'id': '17640d4e-ad4c-44d6-a3f1-f72475e2b0b5', 'name': 'ctest-vn1-60615418', 'tenant_id': '0ac7b14e5da24f8f90718741d391b272', 'project_id': '0ac7b14e5da24f8f90718741d391b272', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34031598', 'ctest-vn1-60615418'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 18:16:25,248 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb635811-4820-41cf-be80-217533c0c663', 'name': '', 'tenant_id': '0ac7b14e5da24f8f90718741d391b272', 'network_id': '17640d4e-ad4c-44d6-a3f1-f72475e2b0b5', 'ip_version': 4, 'cidr': '191.72.195.0/26', 'allocation_pools': [{'start': '191.72.195.2', 'end': '191.72.195.62'}], 'gateway_ip': '191.72.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.72.195.2', 'tags': [], 'project_id': '0ac7b14e5da24f8f90718741d391b272'}} 2025-09-29 18:16:25,268 - INFO - Created VN ctest-vn1-60615418 2025-09-29 18:16:25,327 - DEBUG - VN ctest-vn1-60615418 UUID is 17640d4e-ad4c-44d6-a3f1-f72475e2b0b5 2025-09-29 18:16:25,653 - DEBUG - Response for create_network : {'network': {'id': '2a42f2fb-05e7-4a90-b9ff-73ec0a896e5e', 'name': 'ctest-vn2-76450070', 'tenant_id': '0ac7b14e5da24f8f90718741d391b272', 'project_id': '0ac7b14e5da24f8f90718741d391b272', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34031598', 'ctest-vn2-76450070'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 18:16:25,816 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ae0553d-b02f-4541-bc2f-3bc7861dc0da', 'name': '', 'tenant_id': '0ac7b14e5da24f8f90718741d391b272', 'network_id': '2a42f2fb-05e7-4a90-b9ff-73ec0a896e5e', 'ip_version': 4, 'cidr': '112.34.227.192/26', 'allocation_pools': [{'start': '112.34.227.194', 'end': '112.34.227.254'}], 'gateway_ip': '112.34.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.34.227.194', 'tags': [], 'project_id': '0ac7b14e5da24f8f90718741d391b272'}} 2025-09-29 18:16:25,832 - INFO - Created VN ctest-vn2-76450070 2025-09-29 18:16:25,883 - DEBUG - VN ctest-vn2-76450070 UUID is 2a42f2fb-05e7-4a90-b9ff-73ec0a896e5e 2025-09-29 18:16:26,051 - DEBUG - Services list from nova: [, , ] 2025-09-29 18:16:27,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4205-1) 2025-09-29 18:16:28,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4205-1) 2025-09-29 18:16:28,571 - INFO - Adding interface with subnet_id fb635811-4820-41cf-be80-217533c0c663, port_id None to router 8f906f81-57ec-4b4c-9314-49ffeb1a79e1 2025-09-29 18:16:28,849 - INFO - Waiting for VM ctest-vn1-vm1-95723531 to be up.. 2025-09-29 18:16:28,960 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 18:16:34,109 - DEBUG - VM is in ACTIVE state now 2025-09-29 18:16:34,109 - INFO - VM name : ctest-vn1-vm1-95723531 2025-09-29 18:16:34,294 - DEBUG - VM ctest-vn1-vm1-95723531 ID is 2363124a-bc33-460d-9d85-cd7e23de6e51 2025-09-29 18:16:34,320 - DEBUG - VM ctest-vn1-vm1-95723531 launched on Node cn-jenkins-deploy-platform-ansible-os-4205-1 2025-09-29 18:16:34,463 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2363124a-bc33-460d-9d85-cd7e23de6e51 2025-09-29 18:16:34,847 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2363124a-bc33-460d-9d85-cd7e23de6e51 2025-09-29 18:16:34,880 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e59c6335-be15-4977-a294-e610e71aac1a 2025-09-29 18:16:38,120 - 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 1001ms') 2025-09-29 18:16:38,120 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95723531 failed! 2025-09-29 18:16:38,176 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-34031598:ctest-vn1-60615418 is 191.72.195.1 and allocation pool is NOT set 2025-09-29 18:16:40,241 - 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=6.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 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.007/3.827/6.648/2.820 ms') 2025-09-29 18:16:40,241 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95723531 passed 2025-09-29 18:16:40,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:16:40,399 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95723531, IP 191.72.195.3, Port 22 2025-09-29 18:16:40,569 - DEBUG - VM ctest-vn1-vm1-95723531 is ready for SSH connections 2025-09-29 18:16:40,569 - INFO - Waiting for VM ctest-vn2-vm1-76075436 to be up.. 2025-09-29 18:16:40,660 - DEBUG - VM is in ACTIVE state now 2025-09-29 18:16:40,660 - INFO - VM name : ctest-vn2-vm1-76075436 2025-09-29 18:16:40,743 - DEBUG - VM ctest-vn2-vm1-76075436 ID is 46fd719f-05ba-4c14-b164-dfae60b77f2d 2025-09-29 18:16:40,743 - DEBUG - VM ctest-vn2-vm1-76075436 launched on Node cn-jenkins-deploy-platform-ansible-os-4205-1 2025-09-29 18:16:40,834 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/46fd719f-05ba-4c14-b164-dfae60b77f2d 2025-09-29 18:16:40,843 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4afd41ad-9ac1-4d8d-a359-c5d53db2579e 2025-09-29 18:16:42,099 - 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=6.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.20 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 = 2.195/4.386/6.578/2.191 ms') 2025-09-29 18:16:42,100 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-76075436 passed 2025-09-29 18:16:42,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:16:42,247 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-76075436, IP 112.34.227.195, Port 22 2025-09-29 18:16:42,307 - 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-29 18:16:42,379 - DEBUG - VM ctest-vn2-vm1-76075436 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 18:16:47,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:16:47,380 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-76075436, IP 112.34.227.195, Port 22 2025-09-29 18:16:47,535 - DEBUG - VM ctest-vn2-vm1-76075436 is ready for SSH connections 2025-09-29 18:16:47,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:16:47,535 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.34.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 18:16:47,535 - DEBUG - ping -s 56 -c 3 -W 1 112.34.227.195 2025-09-29 18:16:52,622 - DEBUG - PING 112.34.227.195 (112.34.227.195): 56 data bytes --- 112.34.227.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-29 18:16:52,622 - WARNING - Ping to IP 112.34.227.195 from VM ctest-vn1-vm1-95723531 failed 2025-09-29 18:16:52,622 - INFO - Adding interface with subnet_id 0ae0553d-b02f-4541-bc2f-3bc7861dc0da, port_id None to router 8f906f81-57ec-4b4c-9314-49ffeb1a79e1 2025-09-29 18:16:52,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:16:52,871 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.34.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 18:16:52,871 - DEBUG - ping -s 56 -c 3 -W 1 112.34.227.195 2025-09-29 18:16:56,098 - DEBUG - PING 112.34.227.195 (112.34.227.195): 56 data bytes 64 bytes from 112.34.227.195: seq=1 ttl=63 time=3.455 ms 64 bytes from 112.34.227.195: seq=2 ttl=63 time=0.846 ms --- 112.34.227.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.846/2.150/3.455 ms 2025-09-29 18:16:56,098 - WARNING - Ping to IP 112.34.227.195 from VM ctest-vn1-vm1-95723531 failed 2025-09-29 18:16:57,099 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.34.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 18:16:57,099 - DEBUG - ping -s 56 -c 3 -W 1 112.34.227.195 2025-09-29 18:16:59,329 - DEBUG - PING 112.34.227.195 (112.34.227.195): 56 data bytes 64 bytes from 112.34.227.195: seq=0 ttl=63 time=1.534 ms 64 bytes from 112.34.227.195: seq=1 ttl=63 time=0.808 ms 64 bytes from 112.34.227.195: seq=2 ttl=63 time=0.714 ms --- 112.34.227.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.714/1.018/1.534 ms 2025-09-29 18:16:59,329 - INFO - Ping to IP 112.34.227.195 from VM ctest-vn1-vm1-95723531 passed 2025-09-29 18:16:59,329 - INFO - Deleting interface with subnet_id fb635811-4820-41cf-be80-217533c0c663, port_id None from router 8f906f81-57ec-4b4c-9314-49ffeb1a79e1 2025-09-29 18:16:59,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:16:59,437 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.34.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 18:16:59,437 - DEBUG - ping -s 56 -c 3 -W 1 112.34.227.195 2025-09-29 18:17:02,649 - DEBUG - PING 112.34.227.195 (112.34.227.195): 56 data bytes --- 112.34.227.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-29 18:17:02,649 - WARNING - Ping to IP 112.34.227.195 from VM ctest-vn1-vm1-95723531 failed 2025-09-29 18:17:02,650 - INFO - Adding interface with subnet_id fb635811-4820-41cf-be80-217533c0c663, port_id None to router 8f906f81-57ec-4b4c-9314-49ffeb1a79e1 2025-09-29 18:17:02,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:17:02,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.34.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 18:17:02,880 - DEBUG - ping -s 56 -c 3 -W 1 112.34.227.195 2025-09-29 18:17:05,115 - DEBUG - PING 112.34.227.195 (112.34.227.195): 56 data bytes 64 bytes from 112.34.227.195: seq=0 ttl=63 time=1.597 ms 64 bytes from 112.34.227.195: seq=1 ttl=63 time=0.842 ms 64 bytes from 112.34.227.195: seq=2 ttl=63 time=0.850 ms --- 112.34.227.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.842/1.096/1.597 ms 2025-09-29 18:17:05,116 - INFO - Ping to IP 112.34.227.195 from VM ctest-vn1-vm1-95723531 passed 2025-09-29 18:17:05,116 - INFO - Deleting interface with subnet_id 0ae0553d-b02f-4541-bc2f-3bc7861dc0da, port_id None from router 8f906f81-57ec-4b4c-9314-49ffeb1a79e1 2025-09-29 18:17:05,224 - INFO - Deleting interface with subnet_id fb635811-4820-41cf-be80-217533c0c663, port_id None from router 8f906f81-57ec-4b4c-9314-49ffeb1a79e1 2025-09-29 18:17:05,385 - INFO - Deleting VM ctest-vn2-vm1-76075436 2025-09-29 18:17:05,459 - INFO - Deleting VM ctest-vn1-vm1-95723531 2025-09-29 18:17:05,530 - INFO - Deleting VN ctest-vn2-76450070 2025-09-29 18:17:05,567 - DEBUG - VN 2a42f2fb-05e7-4a90-b9ff-73ec0a896e5e still in use: Unable to complete operation on network 2a42f2fb-05e7-4a90-b9ff-73ec0a896e5e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb52751e-478e-43eb-823f-d2dbc0227c93'] 2025-09-29 18:17:05,567 - WARNING - Deleting VN ctest-vn2-76450070 failed..Will retry 2025-09-29 18:17:07,667 - DEBUG - Response for deleting network () 2025-09-29 18:17:07,667 - INFO - Deleting VN ctest-vn1-60615418 2025-09-29 18:17:07,770 - DEBUG - Response for deleting network () 2025-09-29 18:17:08,028 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 18:17:08,028 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-09-29 18:17:08,029 - INFO - -------------------------------------------------------------------------------- 2025-09-29 18:17:08,733 - INFO - Deleted project: ctest-TestRouters-34031598, ID : 0ac7b14e-5da2-4f8f-9071-8741d391b272