2025-07-23 00:12:36,004 - INFO - Domain Default found not creating 2025-07-23 00:12:36,289 - INFO - Project ctest-TestRouters-01486552 not found, creating it 2025-07-23 00:12:36,870 - INFO - Created Project:ctest-TestRouters-01486552, ID : 8034b602-fed2-4265-8822-87c9fcbc4de5 2025-07-23 00:12:38,656 - INFO - ================================================================================ 2025-07-23 00:12:38,657 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-23 00:12:38,657 - 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-07-23 00:12:38,917 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-23 00:12:38,917 - INFO - Initial checks done. Running the testcase now 2025-07-23 00:12:38,917 - INFO - 2025-07-23 00:12:39,544 - DEBUG - Response for create_network : {'network': {'id': '5ee6c926-54cf-4a8f-88d8-352f2ec5882e', 'name': 'ctest-vn1-52655405', 'tenant_id': '8034b602fed24265882287c9fcbc4de5', 'project_id': '8034b602fed24265882287c9fcbc4de5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-01486552', 'ctest-vn1-52655405'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 00:12:39,767 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8c17c10-37ef-4318-8f6f-ff41580d6a9d', 'name': '', 'tenant_id': '8034b602fed24265882287c9fcbc4de5', 'network_id': '5ee6c926-54cf-4a8f-88d8-352f2ec5882e', 'ip_version': 4, 'cidr': '103.62.72.192/26', 'allocation_pools': [{'start': '103.62.72.194', 'end': '103.62.72.254'}], 'gateway_ip': '103.62.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.62.72.194', 'tags': [], 'project_id': '8034b602fed24265882287c9fcbc4de5'}} 2025-07-23 00:12:39,790 - INFO - Created VN ctest-vn1-52655405 2025-07-23 00:12:39,846 - DEBUG - VN ctest-vn1-52655405 UUID is 5ee6c926-54cf-4a8f-88d8-352f2ec5882e 2025-07-23 00:12:40,174 - DEBUG - Response for create_network : {'network': {'id': 'c366156d-c5ab-46b2-b750-f614af84ea61', 'name': 'ctest-vn2-13170609', 'tenant_id': '8034b602fed24265882287c9fcbc4de5', 'project_id': '8034b602fed24265882287c9fcbc4de5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-01486552', 'ctest-vn2-13170609'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 00:12:40,371 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b33d03e7-e5c9-47bb-893e-5315c76fb4e4', 'name': '', 'tenant_id': '8034b602fed24265882287c9fcbc4de5', 'network_id': 'c366156d-c5ab-46b2-b750-f614af84ea61', 'ip_version': 4, 'cidr': '185.2.97.192/26', 'allocation_pools': [{'start': '185.2.97.194', 'end': '185.2.97.254'}], 'gateway_ip': '185.2.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.2.97.194', 'tags': [], 'project_id': '8034b602fed24265882287c9fcbc4de5'}} 2025-07-23 00:12:40,393 - INFO - Created VN ctest-vn2-13170609 2025-07-23 00:12:40,453 - DEBUG - VN ctest-vn2-13170609 UUID is c366156d-c5ab-46b2-b750-f614af84ea61 2025-07-23 00:12:40,633 - DEBUG - Services list from nova: [, , ] 2025-07-23 00:12:41,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3697-1) 2025-07-23 00:12:43,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3697-1) 2025-07-23 00:12:43,226 - INFO - Adding interface with subnet_id c8c17c10-37ef-4318-8f6f-ff41580d6a9d, port_id None to router f76bf911-cd3a-4c19-a401-20a8c7dff5e2 2025-07-23 00:12:43,543 - INFO - Waiting for VM ctest-vn1-vm1-52414676 to be up.. 2025-07-23 00:12:43,639 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 00:12:48,746 - DEBUG - VM is in ACTIVE state now 2025-07-23 00:12:48,746 - INFO - VM name : ctest-vn1-vm1-52414676 2025-07-23 00:12:48,848 - DEBUG - VM ctest-vn1-vm1-52414676 ID is b36c2789-9055-4d08-8a24-c48aafa76158 2025-07-23 00:12:48,871 - DEBUG - VM ctest-vn1-vm1-52414676 launched on Node cn-jenkins-deploy-platform-ansible-os-3697-1 2025-07-23 00:12:48,966 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b36c2789-9055-4d08-8a24-c48aafa76158 2025-07-23 00:12:49,312 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b36c2789-9055-4d08-8a24-c48aafa76158 2025-07-23 00:12:49,354 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/021ae113-2eee-4f46-bc1c-5824ca974f49 2025-07-23 00:12:52,627 - 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 1017ms') 2025-07-23 00:12:52,627 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52414676 failed! 2025-07-23 00:12:52,689 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-01486552:ctest-vn1-52655405 is 103.62.72.193 and allocation pool is NOT set 2025-07-23 00:12:54,761 - 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=4.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 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.799/3.134/4.469/1.335 ms') 2025-07-23 00:12:54,761 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52414676 passed 2025-07-23 00:12:54,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:12:54,922 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52414676, IP 103.62.72.195, Port 22 2025-07-23 00:12:55,077 - DEBUG - VM ctest-vn1-vm1-52414676 is ready for SSH connections 2025-07-23 00:12:55,077 - INFO - Waiting for VM ctest-vn2-vm1-42342344 to be up.. 2025-07-23 00:12:55,161 - DEBUG - VM is in ACTIVE state now 2025-07-23 00:12:55,162 - INFO - VM name : ctest-vn2-vm1-42342344 2025-07-23 00:12:55,248 - DEBUG - VM ctest-vn2-vm1-42342344 ID is aad98331-16af-4e50-86e2-f7ecfa8dfe19 2025-07-23 00:12:55,249 - DEBUG - VM ctest-vn2-vm1-42342344 launched on Node cn-jenkins-deploy-platform-ansible-os-3697-1 2025-07-23 00:12:55,337 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aad98331-16af-4e50-86e2-f7ecfa8dfe19 2025-07-23 00:12:55,358 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/54357aa9-2f27-4957-b3e4-217108d1e190 2025-07-23 00:12:56,614 - 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=5.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.25 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.250/3.717/5.185/1.467 ms') 2025-07-23 00:12:56,614 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-42342344 passed 2025-07-23 00:12:56,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:12:56,727 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-42342344, IP 185.2.97.195, Port 22 2025-07-23 00:12:56,796 - 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-07-23 00:12:56,885 - DEBUG - VM ctest-vn2-vm1-42342344 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-23 00:13:01,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:13:01,886 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-42342344, IP 185.2.97.195, Port 22 2025-07-23 00:13:02,045 - DEBUG - VM ctest-vn2-vm1-42342344 is ready for SSH connections 2025-07-23 00:13:02,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:13:02,045 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.2.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 00:13:02,045 - DEBUG - ping -s 56 -c 3 -W 1 185.2.97.195 2025-07-23 00:13:07,102 - DEBUG - PING 185.2.97.195 (185.2.97.195): 56 data bytes --- 185.2.97.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 00:13:07,102 - WARNING - Ping to IP 185.2.97.195 from VM ctest-vn1-vm1-52414676 failed 2025-07-23 00:13:07,102 - INFO - Adding interface with subnet_id b33d03e7-e5c9-47bb-893e-5315c76fb4e4, port_id None to router f76bf911-cd3a-4c19-a401-20a8c7dff5e2 2025-07-23 00:13:07,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:13:07,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.2.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 00:13:07,411 - DEBUG - ping -s 56 -c 3 -W 1 185.2.97.195 2025-07-23 00:13:10,645 - DEBUG - PING 185.2.97.195 (185.2.97.195): 56 data bytes 64 bytes from 185.2.97.195: seq=1 ttl=63 time=3.866 ms 64 bytes from 185.2.97.195: seq=2 ttl=63 time=1.367 ms --- 185.2.97.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.367/2.616/3.866 ms 2025-07-23 00:13:10,645 - WARNING - Ping to IP 185.2.97.195 from VM ctest-vn1-vm1-52414676 failed 2025-07-23 00:13:11,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.2.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 00:13:11,646 - DEBUG - ping -s 56 -c 3 -W 1 185.2.97.195 2025-07-23 00:13:13,898 - DEBUG - PING 185.2.97.195 (185.2.97.195): 56 data bytes 64 bytes from 185.2.97.195: seq=0 ttl=63 time=1.990 ms 64 bytes from 185.2.97.195: seq=1 ttl=63 time=1.057 ms 64 bytes from 185.2.97.195: seq=2 ttl=63 time=0.882 ms --- 185.2.97.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/1.309/1.990 ms 2025-07-23 00:13:13,898 - INFO - Ping to IP 185.2.97.195 from VM ctest-vn1-vm1-52414676 passed 2025-07-23 00:13:13,898 - INFO - Deleting interface with subnet_id c8c17c10-37ef-4318-8f6f-ff41580d6a9d, port_id None from router f76bf911-cd3a-4c19-a401-20a8c7dff5e2 2025-07-23 00:13:14,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:13:14,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.2.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 00:13:14,070 - DEBUG - ping -s 56 -c 3 -W 1 185.2.97.195 2025-07-23 00:13:17,311 - DEBUG - PING 185.2.97.195 (185.2.97.195): 56 data bytes --- 185.2.97.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 00:13:17,311 - WARNING - Ping to IP 185.2.97.195 from VM ctest-vn1-vm1-52414676 failed 2025-07-23 00:13:17,311 - INFO - Adding interface with subnet_id c8c17c10-37ef-4318-8f6f-ff41580d6a9d, port_id None to router f76bf911-cd3a-4c19-a401-20a8c7dff5e2 2025-07-23 00:13:17,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:13:17,551 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.2.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 00:13:17,551 - DEBUG - ping -s 56 -c 3 -W 1 185.2.97.195 2025-07-23 00:13:19,798 - DEBUG - PING 185.2.97.195 (185.2.97.195): 56 data bytes 64 bytes from 185.2.97.195: seq=0 ttl=63 time=1.686 ms 64 bytes from 185.2.97.195: seq=1 ttl=63 time=1.173 ms 64 bytes from 185.2.97.195: seq=2 ttl=63 time=1.094 ms --- 185.2.97.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.094/1.317/1.686 ms 2025-07-23 00:13:19,798 - INFO - Ping to IP 185.2.97.195 from VM ctest-vn1-vm1-52414676 passed 2025-07-23 00:13:19,798 - INFO - Deleting interface with subnet_id b33d03e7-e5c9-47bb-893e-5315c76fb4e4, port_id None from router f76bf911-cd3a-4c19-a401-20a8c7dff5e2 2025-07-23 00:13:19,935 - INFO - Deleting interface with subnet_id c8c17c10-37ef-4318-8f6f-ff41580d6a9d, port_id None from router f76bf911-cd3a-4c19-a401-20a8c7dff5e2 2025-07-23 00:13:20,149 - INFO - Deleting VM ctest-vn2-vm1-42342344 2025-07-23 00:13:20,234 - INFO - Deleting VM ctest-vn1-vm1-52414676 2025-07-23 00:13:20,312 - INFO - Deleting VN ctest-vn2-13170609 2025-07-23 00:13:20,360 - DEBUG - VN c366156d-c5ab-46b2-b750-f614af84ea61 still in use: Unable to complete operation on network c366156d-c5ab-46b2-b750-f614af84ea61. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-859f10ab-6de8-4d11-adea-82183652f683'] 2025-07-23 00:13:20,360 - WARNING - Deleting VN ctest-vn2-13170609 failed..Will retry 2025-07-23 00:13:22,480 - DEBUG - Response for deleting network () 2025-07-23 00:13:22,480 - INFO - Deleting VN ctest-vn1-52655405 2025-07-23 00:13:22,610 - DEBUG - Response for deleting network () 2025-07-23 00:13:22,865 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 00:13:22,865 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-07-23 00:13:22,865 - INFO - -------------------------------------------------------------------------------- 2025-07-23 00:13:23,626 - INFO - Deleted project: ctest-TestRouters-01486552, ID : 8034b602-fed2-4265-8822-87c9fcbc4de5