2025-10-08 16:14:05,859 - INFO - Domain Default found not creating 2025-10-08 16:14:06,001 - INFO - Project ctest-TestRouters-34010409 not found, creating it 2025-10-08 16:14:06,450 - INFO - Created Project:ctest-TestRouters-34010409, ID : 9a1c5004-2186-42bf-b68a-6cd66fd3827d 2025-10-08 16:14:07,874 - INFO - ================================================================================ 2025-10-08 16:14:07,874 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-08 16:14:07,874 - 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-10-08 16:14:08,131 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0'}} with 2025-10-08 16:14:08,131 - INFO - Initial checks done. Running the testcase now 2025-10-08 16:14:08,131 - INFO - 2025-10-08 16:14:08,726 - DEBUG - Response for create_network : {'network': {'id': 'c76d999e-95f2-4165-8266-4299cc3a5ccb', 'name': 'ctest-vn1-09087072', 'tenant_id': '9a1c5004218642bfb68a6cd66fd3827d', 'project_id': '9a1c5004218642bfb68a6cd66fd3827d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34010409', 'ctest-vn1-09087072'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:14:08,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a943939-0276-4849-8103-f5139ddfea2b', 'name': '', 'tenant_id': '9a1c5004218642bfb68a6cd66fd3827d', 'network_id': 'c76d999e-95f2-4165-8266-4299cc3a5ccb', 'ip_version': 4, 'cidr': '17.142.123.192/26', 'allocation_pools': [{'start': '17.142.123.194', 'end': '17.142.123.254'}], 'gateway_ip': '17.142.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.142.123.194', 'tags': [], 'project_id': '9a1c5004218642bfb68a6cd66fd3827d'}} 2025-10-08 16:14:08,967 - INFO - Created VN ctest-vn1-09087072 2025-10-08 16:14:09,019 - DEBUG - VN ctest-vn1-09087072 UUID is c76d999e-95f2-4165-8266-4299cc3a5ccb 2025-10-08 16:14:09,378 - DEBUG - Response for create_network : {'network': {'id': '33c57085-2325-49bd-8be2-c81f4aae257d', 'name': 'ctest-vn2-96783732', 'tenant_id': '9a1c5004218642bfb68a6cd66fd3827d', 'project_id': '9a1c5004218642bfb68a6cd66fd3827d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34010409', 'ctest-vn2-96783732'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:14:09,581 - DEBUG - Response for create_subnet : {'subnet': {'id': '97655e0c-b427-4f25-aa19-b79f0e3ebda0', 'name': '', 'tenant_id': '9a1c5004218642bfb68a6cd66fd3827d', 'network_id': '33c57085-2325-49bd-8be2-c81f4aae257d', 'ip_version': 4, 'cidr': '85.98.9.192/26', 'allocation_pools': [{'start': '85.98.9.194', 'end': '85.98.9.254'}], 'gateway_ip': '85.98.9.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.98.9.194', 'tags': [], 'project_id': '9a1c5004218642bfb68a6cd66fd3827d'}} 2025-10-08 16:14:09,596 - INFO - Created VN ctest-vn2-96783732 2025-10-08 16:14:09,647 - DEBUG - VN ctest-vn2-96783732 UUID is 33c57085-2325-49bd-8be2-c81f4aae257d 2025-10-08 16:14:09,906 - DEBUG - Services list from nova: [, , ] 2025-10-08 16:14:10,927 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4238-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4238-1) 2025-10-08 16:14:12,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4238-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4238-1) 2025-10-08 16:14:12,140 - INFO - Adding interface with subnet_id 4a943939-0276-4849-8103-f5139ddfea2b, port_id None to router bf247585-6c88-4091-8b9a-1d54f9c35475 2025-10-08 16:14:12,381 - INFO - Waiting for VM ctest-vn1-vm1-64508422 to be up.. 2025-10-08 16:14:12,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 16:14:17,569 - DEBUG - VM is in ACTIVE state now 2025-10-08 16:14:17,570 - INFO - VM name : ctest-vn1-vm1-64508422 2025-10-08 16:14:17,642 - DEBUG - VM ctest-vn1-vm1-64508422 ID is efc1a91a-d663-4759-b6d4-0098296589eb 2025-10-08 16:14:17,660 - DEBUG - VM ctest-vn1-vm1-64508422 launched on Node cn-jenkins-deploy-platform-ansible-os-4238-1 2025-10-08 16:14:17,727 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/efc1a91a-d663-4759-b6d4-0098296589eb 2025-10-08 16:14:18,020 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/efc1a91a-d663-4759-b6d4-0098296589eb 2025-10-08 16:14:18,047 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/66c14d56-5e71-44d9-9615-eadfb7e70481 2025-10-08 16:14:21,272 - 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 1004ms') 2025-10-08 16:14:21,272 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64508422 failed! 2025-10-08 16:14:21,327 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-34010409:ctest-vn1-09087072 is 17.142.123.193 and allocation pool is NOT set 2025-10-08 16:14:23,395 - 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=2.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.374 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 = 0.374/1.628/2.882/1.254 ms') 2025-10-08 16:14:23,395 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64508422 passed 2025-10-08 16:14:23,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:14:23,543 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64508422, IP 17.142.123.195, Port 22 2025-10-08 16:14:23,694 - DEBUG - VM ctest-vn1-vm1-64508422 is ready for SSH connections 2025-10-08 16:14:23,694 - INFO - Waiting for VM ctest-vn2-vm1-28239360 to be up.. 2025-10-08 16:14:23,761 - DEBUG - VM is in ACTIVE state now 2025-10-08 16:14:23,761 - INFO - VM name : ctest-vn2-vm1-28239360 2025-10-08 16:14:23,826 - DEBUG - VM ctest-vn2-vm1-28239360 ID is 7aafa050-b5e2-4ffc-b8e9-5fd4d1f82c43 2025-10-08 16:14:23,826 - DEBUG - VM ctest-vn2-vm1-28239360 launched on Node cn-jenkins-deploy-platform-ansible-os-4238-1 2025-10-08 16:14:23,895 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7aafa050-b5e2-4ffc-b8e9-5fd4d1f82c43 2025-10-08 16:14:23,902 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d38b9f22-3a89-4e5c-b539-c9357d339b11 2025-10-08 16:14:25,127 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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.388/1.463/2.538/1.075 ms') 2025-10-08 16:14:25,127 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-28239360 passed 2025-10-08 16:14:25,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:14:25,275 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-28239360, IP 85.98.9.195, Port 22 2025-10-08 16:14:25,431 - DEBUG - VM ctest-vn2-vm1-28239360 is ready for SSH connections 2025-10-08 16:14:25,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:14:25,431 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.98.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 16:14:25,431 - DEBUG - ping -s 56 -c 3 -W 1 85.98.9.195 2025-10-08 16:14:30,085 - DEBUG - PING 85.98.9.195 (85.98.9.195): 56 data bytes --- 85.98.9.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 16:14:30,085 - WARNING - Ping to IP 85.98.9.195 from VM ctest-vn1-vm1-64508422 failed 2025-10-08 16:14:30,085 - INFO - Adding interface with subnet_id 97655e0c-b427-4f25-aa19-b79f0e3ebda0, port_id None to router bf247585-6c88-4091-8b9a-1d54f9c35475 2025-10-08 16:14:30,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:14:30,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.98.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 16:14:30,305 - DEBUG - ping -s 56 -c 3 -W 1 85.98.9.195 2025-10-08 16:14:32,516 - DEBUG - PING 85.98.9.195 (85.98.9.195): 56 data bytes 64 bytes from 85.98.9.195: seq=0 ttl=63 time=2.462 ms 64 bytes from 85.98.9.195: seq=1 ttl=63 time=0.750 ms 64 bytes from 85.98.9.195: seq=2 ttl=63 time=0.819 ms --- 85.98.9.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.750/1.343/2.462 ms 2025-10-08 16:14:32,516 - INFO - Ping to IP 85.98.9.195 from VM ctest-vn1-vm1-64508422 passed 2025-10-08 16:14:32,516 - INFO - Deleting interface with subnet_id 4a943939-0276-4849-8103-f5139ddfea2b, port_id None from router bf247585-6c88-4091-8b9a-1d54f9c35475 2025-10-08 16:14:32,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:14:32,623 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.98.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 16:14:32,624 - DEBUG - ping -s 56 -c 3 -W 1 85.98.9.195 2025-10-08 16:14:35,838 - DEBUG - PING 85.98.9.195 (85.98.9.195): 56 data bytes --- 85.98.9.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 16:14:35,838 - WARNING - Ping to IP 85.98.9.195 from VM ctest-vn1-vm1-64508422 failed 2025-10-08 16:14:35,838 - INFO - Adding interface with subnet_id 4a943939-0276-4849-8103-f5139ddfea2b, port_id None to router bf247585-6c88-4091-8b9a-1d54f9c35475 2025-10-08 16:14:36,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:14:36,028 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.98.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 16:14:36,028 - DEBUG - ping -s 56 -c 3 -W 1 85.98.9.195 2025-10-08 16:14:39,223 - DEBUG - PING 85.98.9.195 (85.98.9.195): 56 data bytes 64 bytes from 85.98.9.195: seq=1 ttl=63 time=1.382 ms 64 bytes from 85.98.9.195: seq=2 ttl=63 time=0.802 ms --- 85.98.9.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.802/1.092/1.382 ms 2025-10-08 16:14:39,223 - WARNING - Ping to IP 85.98.9.195 from VM ctest-vn1-vm1-64508422 failed 2025-10-08 16:14:40,224 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.98.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 16:14:40,224 - DEBUG - ping -s 56 -c 3 -W 1 85.98.9.195 2025-10-08 16:14:42,430 - DEBUG - PING 85.98.9.195 (85.98.9.195): 56 data bytes 64 bytes from 85.98.9.195: seq=0 ttl=63 time=1.342 ms 64 bytes from 85.98.9.195: seq=1 ttl=63 time=0.739 ms 64 bytes from 85.98.9.195: seq=2 ttl=63 time=0.951 ms --- 85.98.9.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.739/1.010/1.342 ms 2025-10-08 16:14:42,430 - INFO - Ping to IP 85.98.9.195 from VM ctest-vn1-vm1-64508422 passed 2025-10-08 16:14:42,430 - INFO - Deleting interface with subnet_id 97655e0c-b427-4f25-aa19-b79f0e3ebda0, port_id None from router bf247585-6c88-4091-8b9a-1d54f9c35475 2025-10-08 16:14:42,536 - INFO - Deleting interface with subnet_id 4a943939-0276-4849-8103-f5139ddfea2b, port_id None from router bf247585-6c88-4091-8b9a-1d54f9c35475 2025-10-08 16:14:42,719 - INFO - Deleting VM ctest-vn2-vm1-28239360 2025-10-08 16:14:42,784 - INFO - Deleting VM ctest-vn1-vm1-64508422 2025-10-08 16:14:42,857 - INFO - Deleting VN ctest-vn2-96783732 2025-10-08 16:14:42,890 - DEBUG - VN 33c57085-2325-49bd-8be2-c81f4aae257d still in use: Unable to complete operation on network 33c57085-2325-49bd-8be2-c81f4aae257d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-247eccd7-4f5a-408d-8937-878768ee8d2d'] 2025-10-08 16:14:42,890 - WARNING - Deleting VN ctest-vn2-96783732 failed..Will retry 2025-10-08 16:14:44,978 - DEBUG - Response for deleting network () 2025-10-08 16:14:44,978 - INFO - Deleting VN ctest-vn1-09087072 2025-10-08 16:14:45,061 - DEBUG - Response for deleting network () 2025-10-08 16:14:45,316 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 16:14:45,316 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-08 16:14:45,316 - INFO - -------------------------------------------------------------------------------- 2025-10-08 16:14:45,970 - INFO - Deleted project: ctest-TestRouters-34010409, ID : 9a1c5004-2186-42bf-b68a-6cd66fd3827d