2025-12-25 02:38:22,528 - INFO - Domain Default found not creating 2025-12-25 02:38:22,738 - INFO - Project ctest-TestRouters-88144503 not found, creating it 2025-12-25 02:38:23,306 - INFO - Created Project:ctest-TestRouters-88144503, ID : a54a1a0c-025a-437b-b93c-36f2e8ddc217 2025-12-25 02:38:25,143 - INFO - ================================================================================ 2025-12-25 02:38:25,143 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-25 02:38:25,143 - 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-25 02:38:26,447 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.18': '0', '10.20.0.14': '0'}, '10.0.0.130': {'10.20.0.14': '0', '10.20.0.209': '0'}} with 2025-12-25 02:38:26,447 - INFO - Initial checks done. Running the testcase now 2025-12-25 02:38:26,447 - INFO - 2025-12-25 02:38:27,258 - DEBUG - Response for create_network : {'network': {'id': '8f6d3a18-23d5-4b8e-bb40-55da1d454aef', 'name': 'ctest-vn1-14618173', 'tenant_id': 'a54a1a0c025a437bb93c36f2e8ddc217', 'project_id': 'a54a1a0c025a437bb93c36f2e8ddc217', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88144503', 'ctest-vn1-14618173'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:38:27,620 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab652850-6ce2-497e-8ec4-a0db5e42d42a', 'name': '', 'tenant_id': 'a54a1a0c025a437bb93c36f2e8ddc217', 'network_id': '8f6d3a18-23d5-4b8e-bb40-55da1d454aef', 'ip_version': 4, 'cidr': '85.182.248.64/26', 'allocation_pools': [{'start': '85.182.248.66', 'end': '85.182.248.126'}], 'gateway_ip': '85.182.248.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.182.248.66', 'tags': [], 'project_id': 'a54a1a0c025a437bb93c36f2e8ddc217'}} 2025-12-25 02:38:27,643 - INFO - Created VN ctest-vn1-14618173 2025-12-25 02:38:27,660 - DEBUG - VN ctest-vn1-14618173 UUID is 8f6d3a18-23d5-4b8e-bb40-55da1d454aef 2025-12-25 02:38:28,070 - DEBUG - Response for create_network : {'network': {'id': '0dcc4df1-b368-45e0-807d-e06f29945a17', 'name': 'ctest-vn2-86290764', 'tenant_id': 'a54a1a0c025a437bb93c36f2e8ddc217', 'project_id': 'a54a1a0c025a437bb93c36f2e8ddc217', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88144503', 'ctest-vn2-86290764'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:38:28,321 - DEBUG - Response for create_subnet : {'subnet': {'id': '79ad9cd2-8120-410c-a416-9d2c6ae7a85a', 'name': '', 'tenant_id': 'a54a1a0c025a437bb93c36f2e8ddc217', 'network_id': '0dcc4df1-b368-45e0-807d-e06f29945a17', 'ip_version': 4, 'cidr': '82.41.106.128/26', 'allocation_pools': [{'start': '82.41.106.130', 'end': '82.41.106.190'}], 'gateway_ip': '82.41.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.41.106.130', 'tags': [], 'project_id': 'a54a1a0c025a437bb93c36f2e8ddc217'}} 2025-12-25 02:38:28,353 - INFO - Created VN ctest-vn2-86290764 2025-12-25 02:38:28,366 - DEBUG - VN ctest-vn2-86290764 UUID is 0dcc4df1-b368-45e0-807d-e06f29945a17 2025-12-25 02:38:28,516 - DEBUG - Services list from nova: [, , , ] 2025-12-25 02:38:29,799 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4927-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4927-1) 2025-12-25 02:38:31,370 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4927-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4927-2) 2025-12-25 02:38:31,484 - INFO - Adding interface with subnet_id ab652850-6ce2-497e-8ec4-a0db5e42d42a, port_id None to router 2b85b39c-0700-4978-a30c-29741301fd95 2025-12-25 02:38:31,848 - INFO - Waiting for VM ctest-vn1-vm1-55378096 to be up.. 2025-12-25 02:38:32,059 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-25 02:38:37,156 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:38:37,156 - INFO - VM name : ctest-vn1-vm1-55378096 2025-12-25 02:38:37,252 - DEBUG - VM ctest-vn1-vm1-55378096 ID is 6bd8fd76-6438-4b1f-8350-4929d6bcba56 2025-12-25 02:38:37,282 - DEBUG - VM ctest-vn1-vm1-55378096 launched on Node an-jenkins-deploy-platform-ansible-os-4927-1 2025-12-25 02:38:37,391 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6bd8fd76-6438-4b1f-8350-4929d6bcba56 2025-12-25 02:38:37,845 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6bd8fd76-6438-4b1f-8350-4929d6bcba56 2025-12-25 02:38:37,885 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5731a1b7-eaec-45e2-865a-8e48b73421f1 2025-12-25 02:38:41,072 - 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-25 02:38:41,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55378096 failed! 2025-12-25 02:38:41,090 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-88144503:ctest-vn1-14618173 is 85.182.248.65 and allocation pool is NOT set 2025-12-25 02:38:43,152 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.67 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.668/3.516/4.365/0.848 ms') 2025-12-25 02:38:43,152 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55378096 passed 2025-12-25 02:38:43,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:38:43,221 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55378096, IP 85.182.248.67, Port 22 2025-12-25 02:38:43,287 - 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-25 02:38:43,382 - DEBUG - VM ctest-vn1-vm1-55378096 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-25 02:38:48,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:38:48,383 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55378096, IP 85.182.248.67, Port 22 2025-12-25 02:38:48,541 - DEBUG - VM ctest-vn1-vm1-55378096 is ready for SSH connections 2025-12-25 02:38:48,542 - INFO - Waiting for VM ctest-vn2-vm1-14537926 to be up.. 2025-12-25 02:38:48,635 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:38:48,635 - INFO - VM name : ctest-vn2-vm1-14537926 2025-12-25 02:38:48,725 - DEBUG - VM ctest-vn2-vm1-14537926 ID is fd93fd31-4ac7-4f8f-bf1e-383d2e25017f 2025-12-25 02:38:48,725 - DEBUG - VM ctest-vn2-vm1-14537926 launched on Node an-jenkins-deploy-platform-ansible-os-4927-2 2025-12-25 02:38:48,819 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/fd93fd31-4ac7-4f8f-bf1e-383d2e25017f 2025-12-25 02:38:48,831 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/dc8ab79e-da03-4099-845e-6f91b956875d 2025-12-25 02:38:49,996 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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 = 0.447/2.353/4.259/1.906 ms') 2025-12-25 02:38:49,997 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-14537926 passed 2025-12-25 02:38:50,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:38:50,073 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-14537926, IP 82.41.106.131, Port 22 2025-12-25 02:38:50,249 - DEBUG - VM ctest-vn2-vm1-14537926 is ready for SSH connections 2025-12-25 02:38:50,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:38:50,250 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.41.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-25 02:38:50,250 - DEBUG - ping -s 56 -c 3 -W 1 82.41.106.131 2025-12-25 02:38:54,266 - DEBUG - PING 82.41.106.131 (82.41.106.131): 56 data bytes --- 82.41.106.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-25 02:38:54,266 - WARNING - Ping to IP 82.41.106.131 from VM ctest-vn1-vm1-55378096 failed 2025-12-25 02:38:54,266 - INFO - Adding interface with subnet_id 79ad9cd2-8120-410c-a416-9d2c6ae7a85a, port_id None to router 2b85b39c-0700-4978-a30c-29741301fd95 2025-12-25 02:38:54,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:38:54,777 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.41.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-25 02:38:54,777 - DEBUG - ping -s 56 -c 3 -W 1 82.41.106.131 2025-12-25 02:38:57,990 - DEBUG - PING 82.41.106.131 (82.41.106.131): 56 data bytes 64 bytes from 82.41.106.131: seq=1 ttl=63 time=3.807 ms 64 bytes from 82.41.106.131: seq=2 ttl=63 time=1.564 ms --- 82.41.106.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.564/2.685/3.807 ms 2025-12-25 02:38:57,990 - WARNING - Ping to IP 82.41.106.131 from VM ctest-vn1-vm1-55378096 failed 2025-12-25 02:38:58,991 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.41.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-25 02:38:58,991 - DEBUG - ping -s 56 -c 3 -W 1 82.41.106.131 2025-12-25 02:39:01,194 - DEBUG - PING 82.41.106.131 (82.41.106.131): 56 data bytes 64 bytes from 82.41.106.131: seq=0 ttl=63 time=3.575 ms 64 bytes from 82.41.106.131: seq=1 ttl=63 time=1.537 ms 64 bytes from 82.41.106.131: seq=2 ttl=63 time=1.236 ms --- 82.41.106.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.236/2.116/3.575 ms 2025-12-25 02:39:01,194 - INFO - Ping to IP 82.41.106.131 from VM ctest-vn1-vm1-55378096 passed 2025-12-25 02:39:01,194 - INFO - Deleting interface with subnet_id ab652850-6ce2-497e-8ec4-a0db5e42d42a, port_id None from router 2b85b39c-0700-4978-a30c-29741301fd95 2025-12-25 02:39:01,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:39:01,498 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.41.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-25 02:39:01,498 - DEBUG - ping -s 56 -c 3 -W 1 82.41.106.131 2025-12-25 02:39:04,718 - DEBUG - PING 82.41.106.131 (82.41.106.131): 56 data bytes --- 82.41.106.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-25 02:39:04,718 - WARNING - Ping to IP 82.41.106.131 from VM ctest-vn1-vm1-55378096 failed 2025-12-25 02:39:04,718 - INFO - Adding interface with subnet_id ab652850-6ce2-497e-8ec4-a0db5e42d42a, port_id None to router 2b85b39c-0700-4978-a30c-29741301fd95 2025-12-25 02:39:05,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:39:05,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.41.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-25 02:39:05,056 - DEBUG - ping -s 56 -c 3 -W 1 82.41.106.131 2025-12-25 02:39:07,283 - DEBUG - PING 82.41.106.131 (82.41.106.131): 56 data bytes 64 bytes from 82.41.106.131: seq=0 ttl=63 time=2.771 ms 64 bytes from 82.41.106.131: seq=1 ttl=63 time=1.547 ms 64 bytes from 82.41.106.131: seq=2 ttl=63 time=1.247 ms --- 82.41.106.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.247/1.855/2.771 ms 2025-12-25 02:39:07,283 - INFO - Ping to IP 82.41.106.131 from VM ctest-vn1-vm1-55378096 passed 2025-12-25 02:39:07,283 - INFO - Deleting interface with subnet_id 79ad9cd2-8120-410c-a416-9d2c6ae7a85a, port_id None from router 2b85b39c-0700-4978-a30c-29741301fd95 2025-12-25 02:39:07,544 - INFO - Deleting interface with subnet_id ab652850-6ce2-497e-8ec4-a0db5e42d42a, port_id None from router 2b85b39c-0700-4978-a30c-29741301fd95 2025-12-25 02:39:07,900 - INFO - Deleting VM ctest-vn2-vm1-14537926 2025-12-25 02:39:08,065 - INFO - Deleting VM ctest-vn1-vm1-55378096 2025-12-25 02:39:08,197 - INFO - Deleting VN ctest-vn2-86290764 2025-12-25 02:39:08,257 - DEBUG - VN 0dcc4df1-b368-45e0-807d-e06f29945a17 still in use: Unable to complete operation on network 0dcc4df1-b368-45e0-807d-e06f29945a17. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0008bafb-7bfa-4782-a92b-a78e0b0e8be4'] 2025-12-25 02:39:08,257 - WARNING - Deleting VN ctest-vn2-86290764 failed..Will retry 2025-12-25 02:39:10,434 - DEBUG - Response for deleting network () 2025-12-25 02:39:10,434 - INFO - Deleting VN ctest-vn1-14618173 2025-12-25 02:39:10,602 - DEBUG - Response for deleting network () 2025-12-25 02:39:11,917 - DEBUG - No XMPP flaps were noticed during the test 2025-12-25 02:39:11,917 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:46] 2025-12-25 02:39:11,917 - INFO - -------------------------------------------------------------------------------- 2025-12-25 02:39:12,752 - INFO - Deleted project: ctest-TestRouters-88144503, ID : a54a1a0c-025a-437b-b93c-36f2e8ddc217