2025-12-09 10:59:26,698 - INFO - Domain Default found not creating 2025-12-09 10:59:26,874 - INFO - Project ctest-TestRouters-07997853 not found, creating it 2025-12-09 10:59:27,371 - INFO - Created Project:ctest-TestRouters-07997853, ID : db28b2f9-8aab-4b6f-a7de-f4304e72ab9e 2025-12-09 10:59:28,931 - INFO - ================================================================================ 2025-12-09 10:59:28,931 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-09 10:59:28,931 - 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-12-09 10:59:29,199 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-09 10:59:29,199 - INFO - Initial checks done. Running the testcase now 2025-12-09 10:59:29,199 - INFO - 2025-12-09 10:59:29,821 - DEBUG - Response for create_network : {'network': {'id': '522599b3-e566-416a-b5a7-c2729d84f312', 'name': 'ctest-vn1-43600164', 'tenant_id': 'db28b2f98aab4b6fa7def4304e72ab9e', 'project_id': 'db28b2f98aab4b6fa7def4304e72ab9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-07997853', 'ctest-vn1-43600164'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 10:59:30,059 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e797c234-53d4-4ceb-80fc-3cf5597787e3', 'name': '', 'tenant_id': 'db28b2f98aab4b6fa7def4304e72ab9e', 'network_id': '522599b3-e566-416a-b5a7-c2729d84f312', 'ip_version': 4, 'cidr': '19.224.174.0/26', 'allocation_pools': [{'start': '19.224.174.2', 'end': '19.224.174.62'}], 'gateway_ip': '19.224.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.224.174.2', 'tags': [], 'project_id': 'db28b2f98aab4b6fa7def4304e72ab9e'}} 2025-12-09 10:59:30,081 - INFO - Created VN ctest-vn1-43600164 2025-12-09 10:59:30,137 - DEBUG - VN ctest-vn1-43600164 UUID is 522599b3-e566-416a-b5a7-c2729d84f312 2025-12-09 10:59:30,486 - DEBUG - Response for create_network : {'network': {'id': 'f6ee021a-3aa2-4b17-bd8b-624b39205245', 'name': 'ctest-vn2-10695615', 'tenant_id': 'db28b2f98aab4b6fa7def4304e72ab9e', 'project_id': 'db28b2f98aab4b6fa7def4304e72ab9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-07997853', 'ctest-vn2-10695615'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 10:59:30,673 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e60baf47-c2ce-411b-bddf-33be10fcff8b', 'name': '', 'tenant_id': 'db28b2f98aab4b6fa7def4304e72ab9e', 'network_id': 'f6ee021a-3aa2-4b17-bd8b-624b39205245', 'ip_version': 4, 'cidr': '35.193.37.0/26', 'allocation_pools': [{'start': '35.193.37.2', 'end': '35.193.37.62'}], 'gateway_ip': '35.193.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.193.37.2', 'tags': [], 'project_id': 'db28b2f98aab4b6fa7def4304e72ab9e'}} 2025-12-09 10:59:30,721 - INFO - Created VN ctest-vn2-10695615 2025-12-09 10:59:30,793 - DEBUG - VN ctest-vn2-10695615 UUID is f6ee021a-3aa2-4b17-bd8b-624b39205245 2025-12-09 10:59:31,022 - DEBUG - Services list from nova: [, , ] 2025-12-09 10:59:32,297 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4868-1) 2025-12-09 10:59:33,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4868-1) 2025-12-09 10:59:33,587 - INFO - Adding interface with subnet_id e797c234-53d4-4ceb-80fc-3cf5597787e3, port_id None to router 079b675e-187d-49b6-b4ed-534f999b4515 2025-12-09 10:59:33,858 - INFO - Waiting for VM ctest-vn1-vm1-64689658 to be up.. 2025-12-09 10:59:33,946 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 10:59:39,024 - DEBUG - VM is in ACTIVE state now 2025-12-09 10:59:39,024 - INFO - VM name : ctest-vn1-vm1-64689658 2025-12-09 10:59:39,100 - DEBUG - VM ctest-vn1-vm1-64689658 ID is d2d054ea-0983-42d2-adba-f2a25da110a3 2025-12-09 10:59:39,120 - DEBUG - VM ctest-vn1-vm1-64689658 launched on Node cn-jenkins-deploy-platform-ansible-os-4868-1 2025-12-09 10:59:39,208 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d2d054ea-0983-42d2-adba-f2a25da110a3 2025-12-09 10:59:39,522 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d2d054ea-0983-42d2-adba-f2a25da110a3 2025-12-09 10:59:39,557 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1746adb7-3d1f-4f46-a27e-440f550d032a 2025-12-09 10:59:42,811 - 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 1012ms') 2025-12-09 10:59:42,811 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64689658 failed! 2025-12-09 10:59:42,865 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-07997853:ctest-vn1-43600164 is 19.224.174.1 and allocation pool is NOT set 2025-12-09 10:59:44,927 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.00 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 = 2.002/3.271/4.540/1.269 ms') 2025-12-09 10:59:44,927 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64689658 passed 2025-12-09 10:59:45,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 10:59:45,091 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64689658, IP 19.224.174.3, Port 22 2025-12-09 10:59:45,163 - 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-12-09 10:59:45,245 - DEBUG - VM ctest-vn1-vm1-64689658 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-09 10:59:50,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 10:59:50,246 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64689658, IP 19.224.174.3, Port 22 2025-12-09 10:59:50,415 - DEBUG - VM ctest-vn1-vm1-64689658 is ready for SSH connections 2025-12-09 10:59:50,415 - INFO - Waiting for VM ctest-vn2-vm1-85669565 to be up.. 2025-12-09 10:59:50,501 - DEBUG - VM is in ACTIVE state now 2025-12-09 10:59:50,501 - INFO - VM name : ctest-vn2-vm1-85669565 2025-12-09 10:59:50,580 - DEBUG - VM ctest-vn2-vm1-85669565 ID is f3ac9a35-a9fe-49b5-afad-bc2d72569e75 2025-12-09 10:59:50,581 - DEBUG - VM ctest-vn2-vm1-85669565 launched on Node cn-jenkins-deploy-platform-ansible-os-4868-1 2025-12-09 10:59:50,654 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f3ac9a35-a9fe-49b5-afad-bc2d72569e75 2025-12-09 10:59:50,663 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7f9685be-c71a-446a-b2f8-b51258cb21cc 2025-12-09 10:59:51,899 - 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=4.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/2.336/4.246/1.910 ms') 2025-12-09 10:59:51,899 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-85669565 passed 2025-12-09 10:59:52,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 10:59:52,053 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-85669565, IP 35.193.37.3, Port 22 2025-12-09 10:59:52,208 - DEBUG - VM ctest-vn2-vm1-85669565 is ready for SSH connections 2025-12-09 10:59:52,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 10:59:52,209 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.193.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 10:59:52,209 - DEBUG - ping -s 56 -c 3 -W 1 35.193.37.3 2025-12-09 10:59:57,267 - DEBUG - PING 35.193.37.3 (35.193.37.3): 56 data bytes --- 35.193.37.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 10:59:57,267 - WARNING - Ping to IP 35.193.37.3 from VM ctest-vn1-vm1-64689658 failed 2025-12-09 10:59:57,267 - INFO - Adding interface with subnet_id e60baf47-c2ce-411b-bddf-33be10fcff8b, port_id None to router 079b675e-187d-49b6-b4ed-534f999b4515 2025-12-09 10:59:57,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 10:59:57,545 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.193.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 10:59:57,546 - DEBUG - ping -s 56 -c 3 -W 1 35.193.37.3 2025-12-09 11:00:00,771 - DEBUG - PING 35.193.37.3 (35.193.37.3): 56 data bytes 64 bytes from 35.193.37.3: seq=1 ttl=63 time=3.025 ms 64 bytes from 35.193.37.3: seq=2 ttl=63 time=1.145 ms --- 35.193.37.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.145/2.085/3.025 ms 2025-12-09 11:00:00,771 - WARNING - Ping to IP 35.193.37.3 from VM ctest-vn1-vm1-64689658 failed 2025-12-09 11:00:01,772 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.193.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 11:00:01,772 - DEBUG - ping -s 56 -c 3 -W 1 35.193.37.3 2025-12-09 11:00:04,016 - DEBUG - PING 35.193.37.3 (35.193.37.3): 56 data bytes 64 bytes from 35.193.37.3: seq=0 ttl=63 time=2.494 ms 64 bytes from 35.193.37.3: seq=1 ttl=63 time=1.079 ms 64 bytes from 35.193.37.3: seq=2 ttl=63 time=1.131 ms --- 35.193.37.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.079/1.568/2.494 ms 2025-12-09 11:00:04,016 - INFO - Ping to IP 35.193.37.3 from VM ctest-vn1-vm1-64689658 passed 2025-12-09 11:00:04,017 - INFO - Deleting interface with subnet_id e797c234-53d4-4ceb-80fc-3cf5597787e3, port_id None from router 079b675e-187d-49b6-b4ed-534f999b4515 2025-12-09 11:00:04,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 11:00:04,141 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.193.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 11:00:04,141 - DEBUG - ping -s 56 -c 3 -W 1 35.193.37.3 2025-12-09 11:00:07,367 - DEBUG - PING 35.193.37.3 (35.193.37.3): 56 data bytes --- 35.193.37.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 11:00:07,367 - WARNING - Ping to IP 35.193.37.3 from VM ctest-vn1-vm1-64689658 failed 2025-12-09 11:00:07,367 - INFO - Adding interface with subnet_id e797c234-53d4-4ceb-80fc-3cf5597787e3, port_id None to router 079b675e-187d-49b6-b4ed-534f999b4515 2025-12-09 11:00:07,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 11:00:07,596 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.193.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 11:00:07,596 - DEBUG - ping -s 56 -c 3 -W 1 35.193.37.3 2025-12-09 11:00:09,814 - DEBUG - PING 35.193.37.3 (35.193.37.3): 56 data bytes 64 bytes from 35.193.37.3: seq=0 ttl=63 time=1.598 ms 64 bytes from 35.193.37.3: seq=1 ttl=63 time=1.090 ms 64 bytes from 35.193.37.3: seq=2 ttl=63 time=1.126 ms --- 35.193.37.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.090/1.271/1.598 ms 2025-12-09 11:00:09,814 - INFO - Ping to IP 35.193.37.3 from VM ctest-vn1-vm1-64689658 passed 2025-12-09 11:00:09,814 - INFO - Deleting interface with subnet_id e60baf47-c2ce-411b-bddf-33be10fcff8b, port_id None from router 079b675e-187d-49b6-b4ed-534f999b4515 2025-12-09 11:00:09,930 - INFO - Deleting interface with subnet_id e797c234-53d4-4ceb-80fc-3cf5597787e3, port_id None from router 079b675e-187d-49b6-b4ed-534f999b4515 2025-12-09 11:00:10,104 - INFO - Deleting VM ctest-vn2-vm1-85669565 2025-12-09 11:00:10,183 - INFO - Deleting VM ctest-vn1-vm1-64689658 2025-12-09 11:00:10,276 - INFO - Deleting VN ctest-vn2-10695615 2025-12-09 11:00:10,325 - DEBUG - VN f6ee021a-3aa2-4b17-bd8b-624b39205245 still in use: Unable to complete operation on network f6ee021a-3aa2-4b17-bd8b-624b39205245. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-69d01fe3-d60b-4329-8ad0-322279708007'] 2025-12-09 11:00:10,326 - WARNING - Deleting VN ctest-vn2-10695615 failed..Will retry 2025-12-09 11:00:12,437 - DEBUG - Response for deleting network () 2025-12-09 11:00:12,437 - INFO - Deleting VN ctest-vn1-43600164 2025-12-09 11:00:12,557 - DEBUG - Response for deleting network () 2025-12-09 11:00:12,812 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 11:00:12,812 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-12-09 11:00:12,812 - INFO - -------------------------------------------------------------------------------- 2025-12-09 11:00:13,572 - INFO - Deleted project: ctest-TestRouters-07997853, ID : db28b2f9-8aab-4b6f-a7de-f4304e72ab9e