2025-10-27 14:58:04,601 - INFO - Domain Default found not creating 2025-10-27 14:58:04,766 - INFO - Project ctest-TestRouters-48197750 not found, creating it 2025-10-27 14:58:05,255 - INFO - Created Project:ctest-TestRouters-48197750, ID : 27b8be5e-8356-436e-9d9c-58d876fc5840 2025-10-27 14:58:07,161 - INFO - ================================================================================ 2025-10-27 14:58:07,162 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-27 14:58:07,162 - 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-27 14:58:07,416 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-27 14:58:07,416 - INFO - Initial checks done. Running the testcase now 2025-10-27 14:58:07,416 - INFO - 2025-10-27 14:58:08,129 - DEBUG - Response for create_network : {'network': {'id': '15dcb928-a398-422d-b298-aaf1a9653d0b', 'name': 'ctest-vn1-23460242', 'tenant_id': '27b8be5e8356436e9d9c58d876fc5840', 'project_id': '27b8be5e8356436e9d9c58d876fc5840', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48197750', 'ctest-vn1-23460242'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 14:58:08,322 - DEBUG - Response for create_subnet : {'subnet': {'id': '95e9faf9-207c-47dd-aca1-7d8fd91cfaf1', 'name': '', 'tenant_id': '27b8be5e8356436e9d9c58d876fc5840', 'network_id': '15dcb928-a398-422d-b298-aaf1a9653d0b', 'ip_version': 4, 'cidr': '105.93.79.0/26', 'allocation_pools': [{'start': '105.93.79.2', 'end': '105.93.79.62'}], 'gateway_ip': '105.93.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.93.79.2', 'tags': [], 'project_id': '27b8be5e8356436e9d9c58d876fc5840'}} 2025-10-27 14:58:08,344 - INFO - Created VN ctest-vn1-23460242 2025-10-27 14:58:08,399 - DEBUG - VN ctest-vn1-23460242 UUID is 15dcb928-a398-422d-b298-aaf1a9653d0b 2025-10-27 14:58:08,700 - DEBUG - Response for create_network : {'network': {'id': '742395c0-e59d-4d0a-adf6-a8798ca93f36', 'name': 'ctest-vn2-77980136', 'tenant_id': '27b8be5e8356436e9d9c58d876fc5840', 'project_id': '27b8be5e8356436e9d9c58d876fc5840', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48197750', 'ctest-vn2-77980136'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 14:58:08,924 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de30f81e-cd59-42a5-b90d-8729d41b9770', 'name': '', 'tenant_id': '27b8be5e8356436e9d9c58d876fc5840', 'network_id': '742395c0-e59d-4d0a-adf6-a8798ca93f36', 'ip_version': 4, 'cidr': '78.215.157.0/26', 'allocation_pools': [{'start': '78.215.157.2', 'end': '78.215.157.62'}], 'gateway_ip': '78.215.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.215.157.2', 'tags': [], 'project_id': '27b8be5e8356436e9d9c58d876fc5840'}} 2025-10-27 14:58:08,944 - INFO - Created VN ctest-vn2-77980136 2025-10-27 14:58:08,995 - DEBUG - VN ctest-vn2-77980136 UUID is 742395c0-e59d-4d0a-adf6-a8798ca93f36 2025-10-27 14:58:09,171 - DEBUG - Services list from nova: [, , ] 2025-10-27 14:58:10,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4505-1) 2025-10-27 14:58:11,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4505-1) 2025-10-27 14:58:11,963 - INFO - Adding interface with subnet_id 95e9faf9-207c-47dd-aca1-7d8fd91cfaf1, port_id None to router 0d74898a-f511-4069-b7cb-ff3bb60cd99b 2025-10-27 14:58:12,282 - INFO - Waiting for VM ctest-vn1-vm1-38983620 to be up.. 2025-10-27 14:58:12,406 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 14:58:17,502 - DEBUG - VM is in ACTIVE state now 2025-10-27 14:58:17,502 - INFO - VM name : ctest-vn1-vm1-38983620 2025-10-27 14:58:17,598 - DEBUG - VM ctest-vn1-vm1-38983620 ID is 7effd1ea-fcfc-4649-b74a-cc67fd9a9e25 2025-10-27 14:58:17,621 - DEBUG - VM ctest-vn1-vm1-38983620 launched on Node cn-jenkins-deploy-platform-ansible-os-4505-1 2025-10-27 14:58:17,727 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7effd1ea-fcfc-4649-b74a-cc67fd9a9e25 2025-10-27 14:58:18,088 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7effd1ea-fcfc-4649-b74a-cc67fd9a9e25 2025-10-27 14:58:18,130 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d66f533b-8637-41ad-9087-a7f858f3dbff 2025-10-27 14:58:21,402 - 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 1006ms') 2025-10-27 14:58:21,403 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38983620 failed! 2025-10-27 14:58:21,458 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-48197750:ctest-vn1-23460242 is 105.93.79.1 and allocation pool is NOT set 2025-10-27 14:58:23,520 - 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=6.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.47 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.470/4.248/6.027/1.778 ms') 2025-10-27 14:58:23,520 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38983620 passed 2025-10-27 14:58:23,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:58:23,675 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38983620, IP 105.93.79.3, Port 22 2025-10-27 14:58:23,740 - 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-10-27 14:58:23,815 - DEBUG - VM ctest-vn1-vm1-38983620 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 14:58:28,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:58:28,816 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38983620, IP 105.93.79.3, Port 22 2025-10-27 14:58:28,974 - DEBUG - VM ctest-vn1-vm1-38983620 is ready for SSH connections 2025-10-27 14:58:28,974 - INFO - Waiting for VM ctest-vn2-vm1-32019789 to be up.. 2025-10-27 14:58:29,052 - DEBUG - VM is in ACTIVE state now 2025-10-27 14:58:29,052 - INFO - VM name : ctest-vn2-vm1-32019789 2025-10-27 14:58:29,149 - DEBUG - VM ctest-vn2-vm1-32019789 ID is 4058a657-531c-4d9c-a647-a6fdc63747a3 2025-10-27 14:58:29,149 - DEBUG - VM ctest-vn2-vm1-32019789 launched on Node cn-jenkins-deploy-platform-ansible-os-4505-1 2025-10-27 14:58:29,237 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4058a657-531c-4d9c-a647-a6fdc63747a3 2025-10-27 14:58:29,245 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/399cbbfa-2ce8-4e9d-8af2-8183c52c9d63 2025-10-27 14:58:30,483 - 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=3.17 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/1.795/3.165/1.369 ms') 2025-10-27 14:58:30,484 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-32019789 passed 2025-10-27 14:58:30,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:58:30,635 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-32019789, IP 78.215.157.3, Port 22 2025-10-27 14:58:30,798 - DEBUG - VM ctest-vn2-vm1-32019789 is ready for SSH connections 2025-10-27 14:58:30,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:58:30,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.215.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 14:58:30,799 - DEBUG - ping -s 56 -c 3 -W 1 78.215.157.3 2025-10-27 14:58:35,958 - DEBUG - PING 78.215.157.3 (78.215.157.3): 56 data bytes --- 78.215.157.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 14:58:35,959 - WARNING - Ping to IP 78.215.157.3 from VM ctest-vn1-vm1-38983620 failed 2025-10-27 14:58:35,959 - INFO - Adding interface with subnet_id de30f81e-cd59-42a5-b90d-8729d41b9770, port_id None to router 0d74898a-f511-4069-b7cb-ff3bb60cd99b 2025-10-27 14:58:36,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:58:36,225 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.215.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 14:58:36,225 - DEBUG - ping -s 56 -c 3 -W 1 78.215.157.3 2025-10-27 14:58:39,453 - DEBUG - PING 78.215.157.3 (78.215.157.3): 56 data bytes 64 bytes from 78.215.157.3: seq=1 ttl=63 time=3.539 ms 64 bytes from 78.215.157.3: seq=2 ttl=63 time=0.859 ms --- 78.215.157.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.859/2.199/3.539 ms 2025-10-27 14:58:39,453 - WARNING - Ping to IP 78.215.157.3 from VM ctest-vn1-vm1-38983620 failed 2025-10-27 14:58:40,454 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.215.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 14:58:40,454 - DEBUG - ping -s 56 -c 3 -W 1 78.215.157.3 2025-10-27 14:58:42,690 - DEBUG - PING 78.215.157.3 (78.215.157.3): 56 data bytes 64 bytes from 78.215.157.3: seq=0 ttl=63 time=1.693 ms 64 bytes from 78.215.157.3: seq=1 ttl=63 time=0.727 ms 64 bytes from 78.215.157.3: seq=2 ttl=63 time=1.024 ms --- 78.215.157.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.727/1.148/1.693 ms 2025-10-27 14:58:42,690 - INFO - Ping to IP 78.215.157.3 from VM ctest-vn1-vm1-38983620 passed 2025-10-27 14:58:42,690 - INFO - Deleting interface with subnet_id 95e9faf9-207c-47dd-aca1-7d8fd91cfaf1, port_id None from router 0d74898a-f511-4069-b7cb-ff3bb60cd99b 2025-10-27 14:58:42,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:58:42,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.215.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 14:58:42,814 - DEBUG - ping -s 56 -c 3 -W 1 78.215.157.3 2025-10-27 14:58:46,041 - DEBUG - PING 78.215.157.3 (78.215.157.3): 56 data bytes --- 78.215.157.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 14:58:46,041 - WARNING - Ping to IP 78.215.157.3 from VM ctest-vn1-vm1-38983620 failed 2025-10-27 14:58:46,041 - INFO - Adding interface with subnet_id 95e9faf9-207c-47dd-aca1-7d8fd91cfaf1, port_id None to router 0d74898a-f511-4069-b7cb-ff3bb60cd99b 2025-10-27 14:58:46,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:58:46,248 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.215.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 14:58:46,248 - DEBUG - ping -s 56 -c 3 -W 1 78.215.157.3 2025-10-27 14:58:48,467 - DEBUG - PING 78.215.157.3 (78.215.157.3): 56 data bytes 64 bytes from 78.215.157.3: seq=0 ttl=63 time=1.794 ms 64 bytes from 78.215.157.3: seq=1 ttl=63 time=0.805 ms 64 bytes from 78.215.157.3: seq=2 ttl=63 time=0.852 ms --- 78.215.157.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.150/1.794 ms 2025-10-27 14:58:48,467 - INFO - Ping to IP 78.215.157.3 from VM ctest-vn1-vm1-38983620 passed 2025-10-27 14:58:48,467 - INFO - Deleting interface with subnet_id de30f81e-cd59-42a5-b90d-8729d41b9770, port_id None from router 0d74898a-f511-4069-b7cb-ff3bb60cd99b 2025-10-27 14:58:48,570 - INFO - Deleting interface with subnet_id 95e9faf9-207c-47dd-aca1-7d8fd91cfaf1, port_id None from router 0d74898a-f511-4069-b7cb-ff3bb60cd99b 2025-10-27 14:58:48,740 - INFO - Deleting VM ctest-vn2-vm1-32019789 2025-10-27 14:58:48,808 - INFO - Deleting VM ctest-vn1-vm1-38983620 2025-10-27 14:58:48,881 - INFO - Deleting VN ctest-vn2-77980136 2025-10-27 14:58:48,915 - DEBUG - VN 742395c0-e59d-4d0a-adf6-a8798ca93f36 still in use: Unable to complete operation on network 742395c0-e59d-4d0a-adf6-a8798ca93f36. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d7fa394-ecc9-497c-8932-5427a2ce38f0'] 2025-10-27 14:58:48,915 - WARNING - Deleting VN ctest-vn2-77980136 failed..Will retry 2025-10-27 14:58:51,033 - DEBUG - Response for deleting network () 2025-10-27 14:58:51,033 - INFO - Deleting VN ctest-vn1-23460242 2025-10-27 14:58:51,147 - DEBUG - Response for deleting network () 2025-10-27 14:58:51,415 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 14:58:51,415 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-10-27 14:58:51,415 - INFO - -------------------------------------------------------------------------------- 2025-10-27 14:58:52,144 - INFO - Deleted project: ctest-TestRouters-48197750, ID : 27b8be5e-8356-436e-9d9c-58d876fc5840