2025-10-21 21:00:44,756 - INFO - Domain Default found not creating 2025-10-21 21:00:44,911 - INFO - Project ctest-TestRouters-96790800 not found, creating it 2025-10-21 21:00:45,376 - INFO - Created Project:ctest-TestRouters-96790800, ID : a1b521c6-9d97-4d33-814c-a2a4815c3c56 2025-10-21 21:00:46,856 - INFO - ================================================================================ 2025-10-21 21:00:46,856 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-21 21:00:46,856 - 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-21 21:00:47,116 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-21 21:00:47,116 - INFO - Initial checks done. Running the testcase now 2025-10-21 21:00:47,116 - INFO - 2025-10-21 21:00:47,782 - DEBUG - Response for create_network : {'network': {'id': 'f29c7cf7-1ab4-4807-baa2-cf0c776e30cf', 'name': 'ctest-vn1-20695382', 'tenant_id': 'a1b521c69d974d33814ca2a4815c3c56', 'project_id': 'a1b521c69d974d33814ca2a4815c3c56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-96790800', 'ctest-vn1-20695382'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:00:47,949 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd2d41c9-7963-40a9-b23e-460208151220', 'name': '', 'tenant_id': 'a1b521c69d974d33814ca2a4815c3c56', 'network_id': 'f29c7cf7-1ab4-4807-baa2-cf0c776e30cf', 'ip_version': 4, 'cidr': '89.46.7.192/26', 'allocation_pools': [{'start': '89.46.7.194', 'end': '89.46.7.254'}], 'gateway_ip': '89.46.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.46.7.194', 'tags': [], 'project_id': 'a1b521c69d974d33814ca2a4815c3c56'}} 2025-10-21 21:00:47,967 - INFO - Created VN ctest-vn1-20695382 2025-10-21 21:00:48,017 - DEBUG - VN ctest-vn1-20695382 UUID is f29c7cf7-1ab4-4807-baa2-cf0c776e30cf 2025-10-21 21:00:48,384 - DEBUG - Response for create_network : {'network': {'id': 'c1b8dfe2-d27a-49d1-b982-edc22acdc7b1', 'name': 'ctest-vn2-81189464', 'tenant_id': 'a1b521c69d974d33814ca2a4815c3c56', 'project_id': 'a1b521c69d974d33814ca2a4815c3c56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-96790800', 'ctest-vn2-81189464'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:00:48,575 - DEBUG - Response for create_subnet : {'subnet': {'id': '237136d0-cc5d-4b40-adeb-33032ef3cf35', 'name': '', 'tenant_id': 'a1b521c69d974d33814ca2a4815c3c56', 'network_id': 'c1b8dfe2-d27a-49d1-b982-edc22acdc7b1', 'ip_version': 4, 'cidr': '176.122.204.128/26', 'allocation_pools': [{'start': '176.122.204.130', 'end': '176.122.204.190'}], 'gateway_ip': '176.122.204.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.122.204.130', 'tags': [], 'project_id': 'a1b521c69d974d33814ca2a4815c3c56'}} 2025-10-21 21:00:48,593 - INFO - Created VN ctest-vn2-81189464 2025-10-21 21:00:48,649 - DEBUG - VN ctest-vn2-81189464 UUID is c1b8dfe2-d27a-49d1-b982-edc22acdc7b1 2025-10-21 21:00:48,888 - DEBUG - Services list from nova: [, , ] 2025-10-21 21:00:49,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4407-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4407-1) 2025-10-21 21:00:51,225 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4407-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4407-1) 2025-10-21 21:00:51,294 - INFO - Adding interface with subnet_id dd2d41c9-7963-40a9-b23e-460208151220, port_id None to router 40ef4ce8-6bc4-4c99-99f3-6337f67a4784 2025-10-21 21:00:51,635 - INFO - Waiting for VM ctest-vn1-vm1-08676445 to be up.. 2025-10-21 21:00:51,727 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 21:00:56,871 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:00:56,871 - INFO - VM name : ctest-vn1-vm1-08676445 2025-10-21 21:00:57,063 - DEBUG - VM ctest-vn1-vm1-08676445 ID is 48d35105-a660-4d8d-b8dc-cb79f83abadc 2025-10-21 21:00:57,093 - DEBUG - VM ctest-vn1-vm1-08676445 launched on Node cn-jenkins-deploy-platform-ansible-os-4407-1 2025-10-21 21:00:57,197 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/48d35105-a660-4d8d-b8dc-cb79f83abadc 2025-10-21 21:00:57,498 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/48d35105-a660-4d8d-b8dc-cb79f83abadc 2025-10-21 21:00:57,528 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/8285df70-9b20-4662-8213-096c7ba5f649 2025-10-21 21:01:00,785 - 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 1015ms') 2025-10-21 21:01:00,786 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08676445 failed! 2025-10-21 21:01:00,841 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-96790800:ctest-vn1-20695382 is 89.46.7.193 and allocation pool is NOT set 2025-10-21 21:01:02,900 - 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=3.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.757 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 = 0.757/1.990/3.224/1.233 ms') 2025-10-21 21:01:02,900 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08676445 passed 2025-10-21 21:01:03,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:01:03,053 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08676445, IP 89.46.7.195, Port 22 2025-10-21 21:01:03,209 - DEBUG - VM ctest-vn1-vm1-08676445 is ready for SSH connections 2025-10-21 21:01:03,209 - INFO - Waiting for VM ctest-vn2-vm1-43020873 to be up.. 2025-10-21 21:01:03,290 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:01:03,290 - INFO - VM name : ctest-vn2-vm1-43020873 2025-10-21 21:01:03,362 - DEBUG - VM ctest-vn2-vm1-43020873 ID is 18d6c1ee-00d0-4f7e-8386-c4ecb1b76ff4 2025-10-21 21:01:03,363 - DEBUG - VM ctest-vn2-vm1-43020873 launched on Node cn-jenkins-deploy-platform-ansible-os-4407-1 2025-10-21 21:01:03,435 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/18d6c1ee-00d0-4f7e-8386-c4ecb1b76ff4 2025-10-21 21:01:03,443 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/202de956-9406-4548-87aa-ca48f16046c0 2025-10-21 21:01:04,677 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.522 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.522/1.642/2.763/1.120 ms') 2025-10-21 21:01:04,677 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-43020873 passed 2025-10-21 21:01:04,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:01:04,829 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-43020873, IP 176.122.204.131, Port 22 2025-10-21 21:01:04,995 - DEBUG - VM ctest-vn2-vm1-43020873 is ready for SSH connections 2025-10-21 21:01:04,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:01:04,996 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.122.204.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 21:01:04,996 - DEBUG - ping -s 56 -c 3 -W 1 176.122.204.131 2025-10-21 21:01:09,994 - DEBUG - PING 176.122.204.131 (176.122.204.131): 56 data bytes --- 176.122.204.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 21:01:09,994 - WARNING - Ping to IP 176.122.204.131 from VM ctest-vn1-vm1-08676445 failed 2025-10-21 21:01:09,994 - INFO - Adding interface with subnet_id 237136d0-cc5d-4b40-adeb-33032ef3cf35, port_id None to router 40ef4ce8-6bc4-4c99-99f3-6337f67a4784 2025-10-21 21:01:10,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:01:10,241 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.122.204.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 21:01:10,241 - DEBUG - ping -s 56 -c 3 -W 1 176.122.204.131 2025-10-21 21:01:13,481 - DEBUG - PING 176.122.204.131 (176.122.204.131): 56 data bytes 64 bytes from 176.122.204.131: seq=1 ttl=63 time=2.978 ms 64 bytes from 176.122.204.131: seq=2 ttl=63 time=0.984 ms --- 176.122.204.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.984/1.981/2.978 ms 2025-10-21 21:01:13,481 - WARNING - Ping to IP 176.122.204.131 from VM ctest-vn1-vm1-08676445 failed 2025-10-21 21:01:14,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.122.204.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 21:01:14,482 - DEBUG - ping -s 56 -c 3 -W 1 176.122.204.131 2025-10-21 21:01:16,688 - DEBUG - PING 176.122.204.131 (176.122.204.131): 56 data bytes 64 bytes from 176.122.204.131: seq=0 ttl=63 time=1.470 ms 64 bytes from 176.122.204.131: seq=1 ttl=63 time=1.091 ms 64 bytes from 176.122.204.131: seq=2 ttl=63 time=1.159 ms --- 176.122.204.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.091/1.240/1.470 ms 2025-10-21 21:01:16,689 - INFO - Ping to IP 176.122.204.131 from VM ctest-vn1-vm1-08676445 passed 2025-10-21 21:01:16,689 - INFO - Deleting interface with subnet_id dd2d41c9-7963-40a9-b23e-460208151220, port_id None from router 40ef4ce8-6bc4-4c99-99f3-6337f67a4784 2025-10-21 21:01:16,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:01:16,811 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.122.204.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 21:01:16,811 - DEBUG - ping -s 56 -c 3 -W 1 176.122.204.131 2025-10-21 21:01:20,040 - DEBUG - PING 176.122.204.131 (176.122.204.131): 56 data bytes --- 176.122.204.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 21:01:20,041 - WARNING - Ping to IP 176.122.204.131 from VM ctest-vn1-vm1-08676445 failed 2025-10-21 21:01:20,041 - INFO - Adding interface with subnet_id dd2d41c9-7963-40a9-b23e-460208151220, port_id None to router 40ef4ce8-6bc4-4c99-99f3-6337f67a4784 2025-10-21 21:01:20,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:01:20,248 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.122.204.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 21:01:20,248 - DEBUG - ping -s 56 -c 3 -W 1 176.122.204.131 2025-10-21 21:01:22,466 - DEBUG - PING 176.122.204.131 (176.122.204.131): 56 data bytes 64 bytes from 176.122.204.131: seq=0 ttl=63 time=1.516 ms 64 bytes from 176.122.204.131: seq=1 ttl=63 time=1.007 ms 64 bytes from 176.122.204.131: seq=2 ttl=63 time=1.352 ms --- 176.122.204.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.007/1.291/1.516 ms 2025-10-21 21:01:22,466 - INFO - Ping to IP 176.122.204.131 from VM ctest-vn1-vm1-08676445 passed 2025-10-21 21:01:22,466 - INFO - Deleting interface with subnet_id 237136d0-cc5d-4b40-adeb-33032ef3cf35, port_id None from router 40ef4ce8-6bc4-4c99-99f3-6337f67a4784 2025-10-21 21:01:22,593 - INFO - Deleting interface with subnet_id dd2d41c9-7963-40a9-b23e-460208151220, port_id None from router 40ef4ce8-6bc4-4c99-99f3-6337f67a4784 2025-10-21 21:01:22,785 - INFO - Deleting VM ctest-vn2-vm1-43020873 2025-10-21 21:01:22,863 - INFO - Deleting VM ctest-vn1-vm1-08676445 2025-10-21 21:01:22,954 - INFO - Deleting VN ctest-vn2-81189464 2025-10-21 21:01:22,993 - DEBUG - VN c1b8dfe2-d27a-49d1-b982-edc22acdc7b1 still in use: Unable to complete operation on network c1b8dfe2-d27a-49d1-b982-edc22acdc7b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-86dca2d1-dc41-4615-89d9-d8411e60cc49'] 2025-10-21 21:01:22,994 - WARNING - Deleting VN ctest-vn2-81189464 failed..Will retry 2025-10-21 21:01:25,094 - DEBUG - Response for deleting network () 2025-10-21 21:01:25,094 - INFO - Deleting VN ctest-vn1-20695382 2025-10-21 21:01:25,201 - DEBUG - Response for deleting network () 2025-10-21 21:01:25,454 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 21:01:25,454 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-21 21:01:25,454 - INFO - -------------------------------------------------------------------------------- 2025-10-21 21:01:26,134 - INFO - Deleted project: ctest-TestRouters-96790800, ID : a1b521c6-9d97-4d33-814c-a2a4815c3c56