2025-12-18 19:31:44,792 - INFO - Domain Default found not creating 2025-12-18 19:31:44,964 - INFO - Project ctest-TestRouters-21791351 not found, creating it 2025-12-18 19:31:45,438 - INFO - Created Project:ctest-TestRouters-21791351, ID : 5fe9135c-8add-414c-9bd7-7bda848778f9 2025-12-18 19:31:47,011 - INFO - ================================================================================ 2025-12-18 19:31:47,011 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-18 19:31:47,011 - 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-18 19:31:47,265 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-12-18 19:31:47,266 - INFO - Initial checks done. Running the testcase now 2025-12-18 19:31:47,266 - INFO - 2025-12-18 19:31:47,845 - DEBUG - Response for create_network : {'network': {'id': 'b8f8bb92-de7e-410e-9fe2-fe4d04d8dcf8', 'name': 'ctest-vn1-37689247', 'tenant_id': '5fe9135c8add414c9bd77bda848778f9', 'project_id': '5fe9135c8add414c9bd77bda848778f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21791351', 'ctest-vn1-37689247'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 19:31:48,057 - DEBUG - Response for create_subnet : {'subnet': {'id': '15cc76e4-1370-4d46-9151-3c1a174d7472', 'name': '', 'tenant_id': '5fe9135c8add414c9bd77bda848778f9', 'network_id': 'b8f8bb92-de7e-410e-9fe2-fe4d04d8dcf8', 'ip_version': 4, 'cidr': '56.29.188.128/26', 'allocation_pools': [{'start': '56.29.188.130', 'end': '56.29.188.190'}], 'gateway_ip': '56.29.188.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.29.188.130', 'tags': [], 'project_id': '5fe9135c8add414c9bd77bda848778f9'}} 2025-12-18 19:31:48,080 - INFO - Created VN ctest-vn1-37689247 2025-12-18 19:31:48,136 - DEBUG - VN ctest-vn1-37689247 UUID is b8f8bb92-de7e-410e-9fe2-fe4d04d8dcf8 2025-12-18 19:31:48,496 - DEBUG - Response for create_network : {'network': {'id': 'f35148d3-1603-4b4d-99a1-762cde20516c', 'name': 'ctest-vn2-33238178', 'tenant_id': '5fe9135c8add414c9bd77bda848778f9', 'project_id': '5fe9135c8add414c9bd77bda848778f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21791351', 'ctest-vn2-33238178'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 19:31:48,695 - DEBUG - Response for create_subnet : {'subnet': {'id': '27dd574c-996c-46e7-b366-5ef0f0d1aef4', 'name': '', 'tenant_id': '5fe9135c8add414c9bd77bda848778f9', 'network_id': 'f35148d3-1603-4b4d-99a1-762cde20516c', 'ip_version': 4, 'cidr': '201.12.179.128/26', 'allocation_pools': [{'start': '201.12.179.130', 'end': '201.12.179.190'}], 'gateway_ip': '201.12.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.12.179.130', 'tags': [], 'project_id': '5fe9135c8add414c9bd77bda848778f9'}} 2025-12-18 19:31:48,715 - INFO - Created VN ctest-vn2-33238178 2025-12-18 19:31:48,768 - DEBUG - VN ctest-vn2-33238178 UUID is f35148d3-1603-4b4d-99a1-762cde20516c 2025-12-18 19:31:48,971 - DEBUG - Services list from nova: [, , ] 2025-12-18 19:31:50,005 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4906-1) 2025-12-18 19:31:51,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4906-1) 2025-12-18 19:31:51,345 - INFO - Adding interface with subnet_id 15cc76e4-1370-4d46-9151-3c1a174d7472, port_id None to router a7587014-9cbc-48ff-9d81-4d0484d63a31 2025-12-18 19:31:51,670 - INFO - Waiting for VM ctest-vn1-vm1-61039785 to be up.. 2025-12-18 19:31:51,775 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 19:31:56,850 - DEBUG - VM is in ACTIVE state now 2025-12-18 19:31:56,851 - INFO - VM name : ctest-vn1-vm1-61039785 2025-12-18 19:31:56,928 - DEBUG - VM ctest-vn1-vm1-61039785 ID is 92c86c72-6dfd-4082-b67c-df5ae5b97be7 2025-12-18 19:31:56,950 - DEBUG - VM ctest-vn1-vm1-61039785 launched on Node cn-jenkins-deploy-platform-ansible-os-4906-1 2025-12-18 19:31:57,025 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/92c86c72-6dfd-4082-b67c-df5ae5b97be7 2025-12-18 19:31:57,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/92c86c72-6dfd-4082-b67c-df5ae5b97be7 2025-12-18 19:31:57,361 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f52e060c-db09-466f-bcc4-2bf8556961f5 2025-12-18 19:32:00,609 - 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 1011ms') 2025-12-18 19:32:00,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61039785 failed! 2025-12-18 19:32:00,668 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-21791351:ctest-vn1-37689247 is 56.29.188.129 and allocation pool is NOT set 2025-12-18 19:32:02,729 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.775 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.775/2.109/3.443/1.334 ms') 2025-12-18 19:32:02,729 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61039785 passed 2025-12-18 19:32:02,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:32:02,881 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61039785, IP 56.29.188.131, Port 22 2025-12-18 19:32:02,947 - 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-18 19:32:03,024 - DEBUG - VM ctest-vn1-vm1-61039785 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 19:32:08,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:32:08,025 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61039785, IP 56.29.188.131, Port 22 2025-12-18 19:32:08,183 - DEBUG - VM ctest-vn1-vm1-61039785 is ready for SSH connections 2025-12-18 19:32:08,183 - INFO - Waiting for VM ctest-vn2-vm1-43056190 to be up.. 2025-12-18 19:32:08,272 - DEBUG - VM is in ACTIVE state now 2025-12-18 19:32:08,272 - INFO - VM name : ctest-vn2-vm1-43056190 2025-12-18 19:32:08,355 - DEBUG - VM ctest-vn2-vm1-43056190 ID is 8e8a6832-76d9-4562-8adf-e313f5eb8be2 2025-12-18 19:32:08,355 - DEBUG - VM ctest-vn2-vm1-43056190 launched on Node cn-jenkins-deploy-platform-ansible-os-4906-1 2025-12-18 19:32:08,431 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8e8a6832-76d9-4562-8adf-e313f5eb8be2 2025-12-18 19:32:08,441 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6451c969-89ae-4722-8b94-5779d17625ba 2025-12-18 19:32:09,686 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.585/2.752/1.166 ms') 2025-12-18 19:32:09,686 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-43056190 passed 2025-12-18 19:32:09,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:32:09,840 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-43056190, IP 201.12.179.131, Port 22 2025-12-18 19:32:09,996 - DEBUG - VM ctest-vn2-vm1-43056190 is ready for SSH connections 2025-12-18 19:32:09,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:32:09,996 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.12.179.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 19:32:09,996 - DEBUG - ping -s 56 -c 3 -W 1 201.12.179.131 2025-12-18 19:32:15,031 - DEBUG - PING 201.12.179.131 (201.12.179.131): 56 data bytes --- 201.12.179.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 19:32:15,031 - WARNING - Ping to IP 201.12.179.131 from VM ctest-vn1-vm1-61039785 failed 2025-12-18 19:32:15,031 - INFO - Adding interface with subnet_id 27dd574c-996c-46e7-b366-5ef0f0d1aef4, port_id None to router a7587014-9cbc-48ff-9d81-4d0484d63a31 2025-12-18 19:32:15,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:32:15,267 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.12.179.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 19:32:15,267 - DEBUG - ping -s 56 -c 3 -W 1 201.12.179.131 2025-12-18 19:32:18,499 - DEBUG - PING 201.12.179.131 (201.12.179.131): 56 data bytes 64 bytes from 201.12.179.131: seq=1 ttl=63 time=2.699 ms 64 bytes from 201.12.179.131: seq=2 ttl=63 time=1.203 ms --- 201.12.179.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.203/1.951/2.699 ms 2025-12-18 19:32:18,499 - WARNING - Ping to IP 201.12.179.131 from VM ctest-vn1-vm1-61039785 failed 2025-12-18 19:32:19,500 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.12.179.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 19:32:19,501 - DEBUG - ping -s 56 -c 3 -W 1 201.12.179.131 2025-12-18 19:32:21,722 - DEBUG - PING 201.12.179.131 (201.12.179.131): 56 data bytes 64 bytes from 201.12.179.131: seq=0 ttl=63 time=1.643 ms 64 bytes from 201.12.179.131: seq=1 ttl=63 time=0.902 ms 64 bytes from 201.12.179.131: seq=2 ttl=63 time=0.992 ms --- 201.12.179.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/1.179/1.643 ms 2025-12-18 19:32:21,722 - INFO - Ping to IP 201.12.179.131 from VM ctest-vn1-vm1-61039785 passed 2025-12-18 19:32:21,722 - INFO - Deleting interface with subnet_id 15cc76e4-1370-4d46-9151-3c1a174d7472, port_id None from router a7587014-9cbc-48ff-9d81-4d0484d63a31 2025-12-18 19:32:21,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:32:21,821 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.12.179.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 19:32:21,821 - DEBUG - ping -s 56 -c 3 -W 1 201.12.179.131 2025-12-18 19:32:25,032 - DEBUG - PING 201.12.179.131 (201.12.179.131): 56 data bytes --- 201.12.179.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 19:32:25,032 - WARNING - Ping to IP 201.12.179.131 from VM ctest-vn1-vm1-61039785 failed 2025-12-18 19:32:25,032 - INFO - Adding interface with subnet_id 15cc76e4-1370-4d46-9151-3c1a174d7472, port_id None to router a7587014-9cbc-48ff-9d81-4d0484d63a31 2025-12-18 19:32:25,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 19:32:25,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.12.179.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-18 19:32:25,242 - DEBUG - ping -s 56 -c 3 -W 1 201.12.179.131 2025-12-18 19:32:27,452 - DEBUG - PING 201.12.179.131 (201.12.179.131): 56 data bytes 64 bytes from 201.12.179.131: seq=0 ttl=63 time=1.554 ms 64 bytes from 201.12.179.131: seq=1 ttl=63 time=0.909 ms 64 bytes from 201.12.179.131: seq=2 ttl=63 time=0.933 ms --- 201.12.179.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.909/1.132/1.554 ms 2025-12-18 19:32:27,452 - INFO - Ping to IP 201.12.179.131 from VM ctest-vn1-vm1-61039785 passed 2025-12-18 19:32:27,452 - INFO - Deleting interface with subnet_id 27dd574c-996c-46e7-b366-5ef0f0d1aef4, port_id None from router a7587014-9cbc-48ff-9d81-4d0484d63a31 2025-12-18 19:32:27,568 - INFO - Deleting interface with subnet_id 15cc76e4-1370-4d46-9151-3c1a174d7472, port_id None from router a7587014-9cbc-48ff-9d81-4d0484d63a31 2025-12-18 19:32:27,737 - INFO - Deleting VM ctest-vn2-vm1-43056190 2025-12-18 19:32:27,808 - INFO - Deleting VM ctest-vn1-vm1-61039785 2025-12-18 19:32:27,884 - INFO - Deleting VN ctest-vn2-33238178 2025-12-18 19:32:27,920 - DEBUG - VN f35148d3-1603-4b4d-99a1-762cde20516c still in use: Unable to complete operation on network f35148d3-1603-4b4d-99a1-762cde20516c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-189038c7-de7e-45e1-9e21-4d6ae4cc6e8e'] 2025-12-18 19:32:27,920 - WARNING - Deleting VN ctest-vn2-33238178 failed..Will retry 2025-12-18 19:32:30,021 - DEBUG - Response for deleting network () 2025-12-18 19:32:30,021 - INFO - Deleting VN ctest-vn1-37689247 2025-12-18 19:32:30,124 - DEBUG - Response for deleting network () 2025-12-18 19:32:30,377 - DEBUG - No XMPP flaps were noticed during the test 2025-12-18 19:32:30,377 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43] 2025-12-18 19:32:30,377 - INFO - -------------------------------------------------------------------------------- 2025-12-18 19:32:31,061 - INFO - Deleted project: ctest-TestRouters-21791351, ID : 5fe9135c-8add-414c-9bd7-7bda848778f9