2025-12-04 16:42:51,682 - INFO - Domain Default found not creating 2025-12-04 16:42:51,881 - INFO - Project ctest-TestRouters-04940893 not found, creating it 2025-12-04 16:42:52,444 - INFO - Created Project:ctest-TestRouters-04940893, ID : 87d42ac9-8d63-4fcc-9e9a-ba45f8b27014 2025-12-04 16:42:54,114 - INFO - ================================================================================ 2025-12-04 16:42:54,115 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-04 16:42:54,115 - 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-04 16:42:54,388 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-04 16:42:54,388 - INFO - Initial checks done. Running the testcase now 2025-12-04 16:42:54,388 - INFO - 2025-12-04 16:42:55,120 - DEBUG - Response for create_network : {'network': {'id': 'd457c610-1561-4be9-a3d7-4a02508b7efa', 'name': 'ctest-vn1-33316842', 'tenant_id': '87d42ac98d634fcc9e9aba45f8b27014', 'project_id': '87d42ac98d634fcc9e9aba45f8b27014', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-04940893', 'ctest-vn1-33316842'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 16:42:55,404 - DEBUG - Response for create_subnet : {'subnet': {'id': '6807dfb5-1179-44bf-a204-752382a5c6f5', 'name': '', 'tenant_id': '87d42ac98d634fcc9e9aba45f8b27014', 'network_id': 'd457c610-1561-4be9-a3d7-4a02508b7efa', 'ip_version': 4, 'cidr': '188.183.118.64/26', 'allocation_pools': [{'start': '188.183.118.66', 'end': '188.183.118.126'}], 'gateway_ip': '188.183.118.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.183.118.66', 'tags': [], 'project_id': '87d42ac98d634fcc9e9aba45f8b27014'}} 2025-12-04 16:42:55,436 - INFO - Created VN ctest-vn1-33316842 2025-12-04 16:42:55,495 - DEBUG - VN ctest-vn1-33316842 UUID is d457c610-1561-4be9-a3d7-4a02508b7efa 2025-12-04 16:42:55,842 - DEBUG - Response for create_network : {'network': {'id': 'd5c81cd9-d2af-463f-985a-58ca8b460e57', 'name': 'ctest-vn2-69626678', 'tenant_id': '87d42ac98d634fcc9e9aba45f8b27014', 'project_id': '87d42ac98d634fcc9e9aba45f8b27014', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-04940893', 'ctest-vn2-69626678'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 16:42:56,103 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef8bd7f1-23ef-4c2a-9a18-e67e4ed13cc8', 'name': '', 'tenant_id': '87d42ac98d634fcc9e9aba45f8b27014', 'network_id': 'd5c81cd9-d2af-463f-985a-58ca8b460e57', 'ip_version': 4, 'cidr': '9.34.20.64/26', 'allocation_pools': [{'start': '9.34.20.66', 'end': '9.34.20.126'}], 'gateway_ip': '9.34.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.34.20.66', 'tags': [], 'project_id': '87d42ac98d634fcc9e9aba45f8b27014'}} 2025-12-04 16:42:56,128 - INFO - Created VN ctest-vn2-69626678 2025-12-04 16:42:56,183 - DEBUG - VN ctest-vn2-69626678 UUID is d5c81cd9-d2af-463f-985a-58ca8b460e57 2025-12-04 16:42:56,386 - DEBUG - Services list from nova: [, , ] 2025-12-04 16:42:57,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4845-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4845-1) 2025-12-04 16:42:59,016 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4845-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4845-1) 2025-12-04 16:42:59,107 - INFO - Adding interface with subnet_id 6807dfb5-1179-44bf-a204-752382a5c6f5, port_id None to router 11f6d036-7dfb-49d3-80f1-a89dbcc669a8 2025-12-04 16:42:59,478 - INFO - Waiting for VM ctest-vn1-vm1-25763243 to be up.. 2025-12-04 16:42:59,585 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 16:43:04,666 - DEBUG - VM is in ACTIVE state now 2025-12-04 16:43:04,666 - INFO - VM name : ctest-vn1-vm1-25763243 2025-12-04 16:43:04,748 - DEBUG - VM ctest-vn1-vm1-25763243 ID is cddb2614-fc1c-4434-88c8-8667e82e1263 2025-12-04 16:43:04,766 - DEBUG - VM ctest-vn1-vm1-25763243 launched on Node cn-jenkins-deploy-platform-ansible-os-4845-1 2025-12-04 16:43:04,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cddb2614-fc1c-4434-88c8-8667e82e1263 2025-12-04 16:43:05,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cddb2614-fc1c-4434-88c8-8667e82e1263 2025-12-04 16:43:05,218 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/11225ed3-d39e-4850-8efa-63c6e4e61356 2025-12-04 16:43:08,486 - 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 1022ms') 2025-12-04 16:43:08,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25763243 failed! 2025-12-04 16:43:08,539 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-04940893:ctest-vn1-33316842 is 188.183.118.65 and allocation pool is NOT set 2025-12-04 16:43:10,601 - 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=5.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.28 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.284/4.113/5.943/1.829 ms') 2025-12-04 16:43:10,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25763243 passed 2025-12-04 16:43:10,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:43:10,751 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25763243, IP 188.183.118.67, Port 22 2025-12-04 16:43:10,821 - 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-04 16:43:10,899 - DEBUG - VM ctest-vn1-vm1-25763243 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 16:43:15,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:43:15,901 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25763243, IP 188.183.118.67, Port 22 2025-12-04 16:43:16,059 - DEBUG - VM ctest-vn1-vm1-25763243 is ready for SSH connections 2025-12-04 16:43:16,059 - INFO - Waiting for VM ctest-vn2-vm1-65191618 to be up.. 2025-12-04 16:43:16,148 - DEBUG - VM is in ACTIVE state now 2025-12-04 16:43:16,148 - INFO - VM name : ctest-vn2-vm1-65191618 2025-12-04 16:43:16,234 - DEBUG - VM ctest-vn2-vm1-65191618 ID is e2273651-2b5d-46da-b789-641d83b4a3ed 2025-12-04 16:43:16,234 - DEBUG - VM ctest-vn2-vm1-65191618 launched on Node cn-jenkins-deploy-platform-ansible-os-4845-1 2025-12-04 16:43:16,313 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e2273651-2b5d-46da-b789-641d83b4a3ed 2025-12-04 16:43:16,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/604ed1e0-f0a3-4cb1-b0c6-b57adc5fa479 2025-12-04 16:43:17,560 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.895/3.368/1.473 ms') 2025-12-04 16:43:17,560 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-65191618 passed 2025-12-04 16:43:17,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:43:17,707 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-65191618, IP 9.34.20.67, Port 22 2025-12-04 16:43:17,863 - DEBUG - VM ctest-vn2-vm1-65191618 is ready for SSH connections 2025-12-04 16:43:17,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:43:17,863 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.34.20.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 16:43:17,863 - DEBUG - ping -s 56 -c 3 -W 1 9.34.20.67 2025-12-04 16:43:22,947 - DEBUG - PING 9.34.20.67 (9.34.20.67): 56 data bytes --- 9.34.20.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-04 16:43:22,947 - WARNING - Ping to IP 9.34.20.67 from VM ctest-vn1-vm1-25763243 failed 2025-12-04 16:43:22,948 - INFO - Adding interface with subnet_id ef8bd7f1-23ef-4c2a-9a18-e67e4ed13cc8, port_id None to router 11f6d036-7dfb-49d3-80f1-a89dbcc669a8 2025-12-04 16:43:23,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:43:23,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.34.20.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 16:43:23,190 - DEBUG - ping -s 56 -c 3 -W 1 9.34.20.67 2025-12-04 16:43:26,442 - DEBUG - PING 9.34.20.67 (9.34.20.67): 56 data bytes 64 bytes from 9.34.20.67: seq=1 ttl=63 time=2.893 ms 64 bytes from 9.34.20.67: seq=2 ttl=63 time=0.909 ms --- 9.34.20.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.909/1.901/2.893 ms 2025-12-04 16:43:26,442 - WARNING - Ping to IP 9.34.20.67 from VM ctest-vn1-vm1-25763243 failed 2025-12-04 16:43:27,443 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.34.20.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 16:43:27,443 - DEBUG - ping -s 56 -c 3 -W 1 9.34.20.67 2025-12-04 16:43:29,668 - DEBUG - PING 9.34.20.67 (9.34.20.67): 56 data bytes 64 bytes from 9.34.20.67: seq=0 ttl=63 time=1.531 ms 64 bytes from 9.34.20.67: seq=1 ttl=63 time=0.917 ms 64 bytes from 9.34.20.67: seq=2 ttl=63 time=0.973 ms --- 9.34.20.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.917/1.140/1.531 ms 2025-12-04 16:43:29,668 - INFO - Ping to IP 9.34.20.67 from VM ctest-vn1-vm1-25763243 passed 2025-12-04 16:43:29,668 - INFO - Deleting interface with subnet_id 6807dfb5-1179-44bf-a204-752382a5c6f5, port_id None from router 11f6d036-7dfb-49d3-80f1-a89dbcc669a8 2025-12-04 16:43:29,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:43:29,808 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.34.20.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 16:43:29,808 - DEBUG - ping -s 56 -c 3 -W 1 9.34.20.67 2025-12-04 16:43:33,040 - DEBUG - PING 9.34.20.67 (9.34.20.67): 56 data bytes --- 9.34.20.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-04 16:43:33,040 - WARNING - Ping to IP 9.34.20.67 from VM ctest-vn1-vm1-25763243 failed 2025-12-04 16:43:33,040 - INFO - Adding interface with subnet_id 6807dfb5-1179-44bf-a204-752382a5c6f5, port_id None to router 11f6d036-7dfb-49d3-80f1-a89dbcc669a8 2025-12-04 16:43:33,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:43:33,248 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.34.20.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 16:43:33,248 - DEBUG - ping -s 56 -c 3 -W 1 9.34.20.67 2025-12-04 16:43:35,472 - DEBUG - PING 9.34.20.67 (9.34.20.67): 56 data bytes 64 bytes from 9.34.20.67: seq=0 ttl=63 time=1.590 ms 64 bytes from 9.34.20.67: seq=1 ttl=63 time=1.024 ms 64 bytes from 9.34.20.67: seq=2 ttl=63 time=0.848 ms --- 9.34.20.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.154/1.590 ms 2025-12-04 16:43:35,472 - INFO - Ping to IP 9.34.20.67 from VM ctest-vn1-vm1-25763243 passed 2025-12-04 16:43:35,472 - INFO - Deleting interface with subnet_id ef8bd7f1-23ef-4c2a-9a18-e67e4ed13cc8, port_id None from router 11f6d036-7dfb-49d3-80f1-a89dbcc669a8 2025-12-04 16:43:35,581 - INFO - Deleting interface with subnet_id 6807dfb5-1179-44bf-a204-752382a5c6f5, port_id None from router 11f6d036-7dfb-49d3-80f1-a89dbcc669a8 2025-12-04 16:43:35,757 - INFO - Deleting VM ctest-vn2-vm1-65191618 2025-12-04 16:43:35,839 - INFO - Deleting VM ctest-vn1-vm1-25763243 2025-12-04 16:43:35,924 - INFO - Deleting VN ctest-vn2-69626678 2025-12-04 16:43:35,971 - DEBUG - VN d5c81cd9-d2af-463f-985a-58ca8b460e57 still in use: Unable to complete operation on network d5c81cd9-d2af-463f-985a-58ca8b460e57. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1acaecd-7244-4010-95c1-5adb4e9da20d'] 2025-12-04 16:43:35,971 - WARNING - Deleting VN ctest-vn2-69626678 failed..Will retry 2025-12-04 16:43:38,110 - DEBUG - Response for deleting network () 2025-12-04 16:43:38,111 - INFO - Deleting VN ctest-vn1-33316842 2025-12-04 16:43:38,225 - DEBUG - Response for deleting network () 2025-12-04 16:43:38,482 - DEBUG - No XMPP flaps were noticed during the test 2025-12-04 16:43:38,482 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-12-04 16:43:38,482 - INFO - -------------------------------------------------------------------------------- 2025-12-04 16:43:39,259 - INFO - Deleted project: ctest-TestRouters-04940893, ID : 87d42ac9-8d63-4fcc-9e9a-ba45f8b27014