2025-10-12 07:22:02,145 - INFO - Domain Default found not creating 2025-10-12 07:22:02,332 - INFO - Project ctest-TestRouters-08812376 not found, creating it 2025-10-12 07:22:02,854 - INFO - Created Project:ctest-TestRouters-08812376, ID : f4eb6bfd-e2c1-4737-b384-48c2077bab53 2025-10-12 07:22:04,352 - INFO - ================================================================================ 2025-10-12 07:22:04,352 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-12 07:22:04,352 - 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-12 07:22:04,612 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-12 07:22:04,612 - INFO - Initial checks done. Running the testcase now 2025-10-12 07:22:04,612 - INFO - 2025-10-12 07:22:05,212 - DEBUG - Response for create_network : {'network': {'id': '635595bf-b431-44ae-aab7-18fca5c77f9b', 'name': 'ctest-vn1-08709562', 'tenant_id': 'f4eb6bfde2c14737b38448c2077bab53', 'project_id': 'f4eb6bfde2c14737b38448c2077bab53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08812376', 'ctest-vn1-08709562'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:22:05,428 - DEBUG - Response for create_subnet : {'subnet': {'id': '97b8a68b-eedc-4438-8256-cf79adafeaff', 'name': '', 'tenant_id': 'f4eb6bfde2c14737b38448c2077bab53', 'network_id': '635595bf-b431-44ae-aab7-18fca5c77f9b', 'ip_version': 4, 'cidr': '31.43.147.0/26', 'allocation_pools': [{'start': '31.43.147.2', 'end': '31.43.147.62'}], 'gateway_ip': '31.43.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.43.147.2', 'tags': [], 'project_id': 'f4eb6bfde2c14737b38448c2077bab53'}} 2025-10-12 07:22:05,454 - INFO - Created VN ctest-vn1-08709562 2025-10-12 07:22:05,511 - DEBUG - VN ctest-vn1-08709562 UUID is 635595bf-b431-44ae-aab7-18fca5c77f9b 2025-10-12 07:22:05,881 - DEBUG - Response for create_network : {'network': {'id': 'b5b92c8e-be4b-4f18-a646-1a652c090f4b', 'name': 'ctest-vn2-12613933', 'tenant_id': 'f4eb6bfde2c14737b38448c2077bab53', 'project_id': 'f4eb6bfde2c14737b38448c2077bab53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08812376', 'ctest-vn2-12613933'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:22:06,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '5206ec55-20ae-4639-99bb-14e08f3b4d42', 'name': '', 'tenant_id': 'f4eb6bfde2c14737b38448c2077bab53', 'network_id': 'b5b92c8e-be4b-4f18-a646-1a652c090f4b', 'ip_version': 4, 'cidr': '186.52.228.128/26', 'allocation_pools': [{'start': '186.52.228.130', 'end': '186.52.228.190'}], 'gateway_ip': '186.52.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.52.228.130', 'tags': [], 'project_id': 'f4eb6bfde2c14737b38448c2077bab53'}} 2025-10-12 07:22:06,082 - INFO - Created VN ctest-vn2-12613933 2025-10-12 07:22:06,135 - DEBUG - VN ctest-vn2-12613933 UUID is b5b92c8e-be4b-4f18-a646-1a652c090f4b 2025-10-12 07:22:06,329 - DEBUG - Services list from nova: [, , ] 2025-10-12 07:22:07,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4290-1) 2025-10-12 07:22:08,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4290-1) 2025-10-12 07:22:08,924 - INFO - Adding interface with subnet_id 97b8a68b-eedc-4438-8256-cf79adafeaff, port_id None to router 6617b3d9-792c-43d3-902d-7e82b7a57af6 2025-10-12 07:22:09,247 - INFO - Waiting for VM ctest-vn1-vm1-34509900 to be up.. 2025-10-12 07:22:09,345 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-12 07:22:14,434 - DEBUG - VM is in ACTIVE state now 2025-10-12 07:22:14,434 - INFO - VM name : ctest-vn1-vm1-34509900 2025-10-12 07:22:14,539 - DEBUG - VM ctest-vn1-vm1-34509900 ID is a495795a-fe9b-4256-b290-ba9ffa26f541 2025-10-12 07:22:14,567 - DEBUG - VM ctest-vn1-vm1-34509900 launched on Node cn-jenkins-deploy-platform-ansible-os-4290-1 2025-10-12 07:22:14,673 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a495795a-fe9b-4256-b290-ba9ffa26f541 2025-10-12 07:22:14,970 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a495795a-fe9b-4256-b290-ba9ffa26f541 2025-10-12 07:22:15,010 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/83efe564-1174-44ae-8e4c-e643c7b2b5f1 2025-10-12 07:22:18,276 - 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 1021ms') 2025-10-12 07:22:18,276 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34509900 failed! 2025-10-12 07:22:18,335 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-08812376:ctest-vn1-08709562 is 31.43.147.1 and allocation pool is NOT set 2025-10-12 07:22:20,398 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.85 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.853/3.733/5.614/1.880 ms') 2025-10-12 07:22:20,398 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34509900 passed 2025-10-12 07:22:20,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:22:20,551 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34509900, IP 31.43.147.3, Port 22 2025-10-12 07:22:20,617 - 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-12 07:22:20,713 - DEBUG - VM ctest-vn1-vm1-34509900 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-12 07:22:25,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:22:25,714 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34509900, IP 31.43.147.3, Port 22 2025-10-12 07:22:25,885 - DEBUG - VM ctest-vn1-vm1-34509900 is ready for SSH connections 2025-10-12 07:22:25,885 - INFO - Waiting for VM ctest-vn2-vm1-34189639 to be up.. 2025-10-12 07:22:25,960 - DEBUG - VM is in ACTIVE state now 2025-10-12 07:22:25,960 - INFO - VM name : ctest-vn2-vm1-34189639 2025-10-12 07:22:26,050 - DEBUG - VM ctest-vn2-vm1-34189639 ID is c7697912-6fd4-4b0d-af0b-9717c6c0b663 2025-10-12 07:22:26,050 - DEBUG - VM ctest-vn2-vm1-34189639 launched on Node cn-jenkins-deploy-platform-ansible-os-4290-1 2025-10-12 07:22:26,131 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c7697912-6fd4-4b0d-af0b-9717c6c0b663 2025-10-12 07:22:26,139 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c75336c9-8893-460a-a586-9d5ab9bfb92c 2025-10-12 07:22:27,380 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.529 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.529/1.935/3.341/1.406 ms') 2025-10-12 07:22:27,380 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-34189639 passed 2025-10-12 07:22:27,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:22:27,531 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-34189639, IP 186.52.228.131, Port 22 2025-10-12 07:22:27,690 - DEBUG - VM ctest-vn2-vm1-34189639 is ready for SSH connections 2025-10-12 07:22:27,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:22:27,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.52.228.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-12 07:22:27,691 - DEBUG - ping -s 56 -c 3 -W 1 186.52.228.131 2025-10-12 07:22:32,916 - DEBUG - PING 186.52.228.131 (186.52.228.131): 56 data bytes --- 186.52.228.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-12 07:22:32,916 - WARNING - Ping to IP 186.52.228.131 from VM ctest-vn1-vm1-34509900 failed 2025-10-12 07:22:32,916 - INFO - Adding interface with subnet_id 5206ec55-20ae-4639-99bb-14e08f3b4d42, port_id None to router 6617b3d9-792c-43d3-902d-7e82b7a57af6 2025-10-12 07:22:33,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:22:33,196 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.52.228.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-12 07:22:33,196 - DEBUG - ping -s 56 -c 3 -W 1 186.52.228.131 2025-10-12 07:22:36,411 - DEBUG - PING 186.52.228.131 (186.52.228.131): 56 data bytes 64 bytes from 186.52.228.131: seq=1 ttl=63 time=2.705 ms 64 bytes from 186.52.228.131: seq=2 ttl=63 time=1.022 ms --- 186.52.228.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.022/1.863/2.705 ms 2025-10-12 07:22:36,411 - WARNING - Ping to IP 186.52.228.131 from VM ctest-vn1-vm1-34509900 failed 2025-10-12 07:22:37,412 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.52.228.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-12 07:22:37,413 - DEBUG - ping -s 56 -c 3 -W 1 186.52.228.131 2025-10-12 07:22:39,632 - DEBUG - PING 186.52.228.131 (186.52.228.131): 56 data bytes 64 bytes from 186.52.228.131: seq=0 ttl=63 time=1.597 ms 64 bytes from 186.52.228.131: seq=1 ttl=63 time=0.929 ms 64 bytes from 186.52.228.131: seq=2 ttl=63 time=0.886 ms --- 186.52.228.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/1.137/1.597 ms 2025-10-12 07:22:39,632 - INFO - Ping to IP 186.52.228.131 from VM ctest-vn1-vm1-34509900 passed 2025-10-12 07:22:39,632 - INFO - Deleting interface with subnet_id 97b8a68b-eedc-4438-8256-cf79adafeaff, port_id None from router 6617b3d9-792c-43d3-902d-7e82b7a57af6 2025-10-12 07:22:39,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:22:39,779 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.52.228.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-12 07:22:39,779 - DEBUG - ping -s 56 -c 3 -W 1 186.52.228.131 2025-10-12 07:22:43,006 - DEBUG - PING 186.52.228.131 (186.52.228.131): 56 data bytes --- 186.52.228.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-12 07:22:43,006 - WARNING - Ping to IP 186.52.228.131 from VM ctest-vn1-vm1-34509900 failed 2025-10-12 07:22:43,006 - INFO - Adding interface with subnet_id 97b8a68b-eedc-4438-8256-cf79adafeaff, port_id None to router 6617b3d9-792c-43d3-902d-7e82b7a57af6 2025-10-12 07:22:43,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:22:43,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.52.228.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-12 07:22:43,252 - DEBUG - ping -s 56 -c 3 -W 1 186.52.228.131 2025-10-12 07:22:45,532 - DEBUG - PING 186.52.228.131 (186.52.228.131): 56 data bytes 64 bytes from 186.52.228.131: seq=0 ttl=63 time=1.833 ms 64 bytes from 186.52.228.131: seq=1 ttl=63 time=0.934 ms 64 bytes from 186.52.228.131: seq=2 ttl=63 time=0.839 ms --- 186.52.228.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.839/1.202/1.833 ms 2025-10-12 07:22:45,532 - INFO - Ping to IP 186.52.228.131 from VM ctest-vn1-vm1-34509900 passed 2025-10-12 07:22:45,532 - INFO - Deleting interface with subnet_id 5206ec55-20ae-4639-99bb-14e08f3b4d42, port_id None from router 6617b3d9-792c-43d3-902d-7e82b7a57af6 2025-10-12 07:22:45,700 - INFO - Deleting interface with subnet_id 97b8a68b-eedc-4438-8256-cf79adafeaff, port_id None from router 6617b3d9-792c-43d3-902d-7e82b7a57af6 2025-10-12 07:22:45,913 - INFO - Deleting VM ctest-vn2-vm1-34189639 2025-10-12 07:22:45,989 - INFO - Deleting VM ctest-vn1-vm1-34509900 2025-10-12 07:22:46,076 - INFO - Deleting VN ctest-vn2-12613933 2025-10-12 07:22:46,115 - DEBUG - VN b5b92c8e-be4b-4f18-a646-1a652c090f4b still in use: Unable to complete operation on network b5b92c8e-be4b-4f18-a646-1a652c090f4b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b8ff7e3-c17b-4e68-9b9d-46a0afbddde5'] 2025-10-12 07:22:46,115 - WARNING - Deleting VN ctest-vn2-12613933 failed..Will retry 2025-10-12 07:22:48,230 - DEBUG - Response for deleting network () 2025-10-12 07:22:48,230 - INFO - Deleting VN ctest-vn1-08709562 2025-10-12 07:22:48,351 - DEBUG - Response for deleting network () 2025-10-12 07:22:48,605 - DEBUG - No XMPP flaps were noticed during the test 2025-10-12 07:22:48,605 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-10-12 07:22:48,605 - INFO - -------------------------------------------------------------------------------- 2025-10-12 07:22:49,285 - INFO - Deleted project: ctest-TestRouters-08812376, ID : f4eb6bfd-e2c1-4737-b384-48c2077bab53