2025-10-30 10:19:41,707 - INFO - Domain Default found not creating 2025-10-30 10:19:41,876 - INFO - Project ctest-TestRouters-62828050 not found, creating it 2025-10-30 10:19:42,536 - INFO - Created Project:ctest-TestRouters-62828050, ID : 6d7dfc8d-9f38-4b20-b499-13595081ea5f 2025-10-30 10:19:44,102 - INFO - ================================================================================ 2025-10-30 10:19:44,102 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 10:19:44,102 - 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-30 10:19:45,420 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.131': '0', '10.20.0.128': '0'}, '10.0.0.27': {'10.20.0.145': '0', '10.20.0.128': '0'}} with 2025-10-30 10:19:45,420 - INFO - Initial checks done. Running the testcase now 2025-10-30 10:19:45,420 - INFO - 2025-10-30 10:19:46,177 - DEBUG - Response for create_network : {'network': {'id': '9325814e-449f-4d9b-bc1f-375067da5e07', 'name': 'ctest-vn1-87005945', 'tenant_id': '6d7dfc8d9f384b20b49913595081ea5f', 'project_id': '6d7dfc8d9f384b20b49913595081ea5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62828050', 'ctest-vn1-87005945'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 10:19:46,535 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f2c2f3d-24dd-4a65-8c96-bcacdb3e1bf7', 'name': '', 'tenant_id': '6d7dfc8d9f384b20b49913595081ea5f', 'network_id': '9325814e-449f-4d9b-bc1f-375067da5e07', 'ip_version': 4, 'cidr': '183.244.195.128/26', 'allocation_pools': [{'start': '183.244.195.130', 'end': '183.244.195.190'}], 'gateway_ip': '183.244.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.244.195.130', 'tags': [], 'project_id': '6d7dfc8d9f384b20b49913595081ea5f'}} 2025-10-30 10:19:46,560 - INFO - Created VN ctest-vn1-87005945 2025-10-30 10:19:46,573 - DEBUG - VN ctest-vn1-87005945 UUID is 9325814e-449f-4d9b-bc1f-375067da5e07 2025-10-30 10:19:46,987 - DEBUG - Response for create_network : {'network': {'id': '2c9ca068-6862-4d25-a2a0-15afa016fc03', 'name': 'ctest-vn2-56297419', 'tenant_id': '6d7dfc8d9f384b20b49913595081ea5f', 'project_id': '6d7dfc8d9f384b20b49913595081ea5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62828050', 'ctest-vn2-56297419'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 10:19:47,254 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd396721b-7136-40f7-8e7c-d5f6d9e01662', 'name': '', 'tenant_id': '6d7dfc8d9f384b20b49913595081ea5f', 'network_id': '2c9ca068-6862-4d25-a2a0-15afa016fc03', 'ip_version': 4, 'cidr': '112.201.55.128/26', 'allocation_pools': [{'start': '112.201.55.130', 'end': '112.201.55.190'}], 'gateway_ip': '112.201.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.201.55.130', 'tags': [], 'project_id': '6d7dfc8d9f384b20b49913595081ea5f'}} 2025-10-30 10:19:47,278 - INFO - Created VN ctest-vn2-56297419 2025-10-30 10:19:47,295 - DEBUG - VN ctest-vn2-56297419 UUID is 2c9ca068-6862-4d25-a2a0-15afa016fc03 2025-10-30 10:19:47,450 - DEBUG - Services list from nova: [, , , ] 2025-10-30 10:19:48,805 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4541-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4541-1) 2025-10-30 10:19:50,212 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4541-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4541-2) 2025-10-30 10:19:50,399 - INFO - Adding interface with subnet_id 3f2c2f3d-24dd-4a65-8c96-bcacdb3e1bf7, port_id None to router 530e6b74-1f83-46cc-8e0f-f1ea6072be8c 2025-10-30 10:19:50,880 - INFO - Waiting for VM ctest-vn1-vm1-83489240 to be up.. 2025-10-30 10:19:51,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 10:19:56,154 - DEBUG - VM is in ACTIVE state now 2025-10-30 10:19:56,154 - INFO - VM name : ctest-vn1-vm1-83489240 2025-10-30 10:19:56,258 - DEBUG - VM ctest-vn1-vm1-83489240 ID is ff8a7d20-fe7e-4171-8658-cfdf3746419a 2025-10-30 10:19:56,294 - DEBUG - VM ctest-vn1-vm1-83489240 launched on Node an-jenkins-deploy-platform-ansible-os-4541-1 2025-10-30 10:19:56,392 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ff8a7d20-fe7e-4171-8658-cfdf3746419a 2025-10-30 10:19:56,703 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ff8a7d20-fe7e-4171-8658-cfdf3746419a 2025-10-30 10:19:56,739 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e798446a-3522-491e-b7e8-195df9b9e364 2025-10-30 10:19:59,941 - 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 1023ms') 2025-10-30 10:19:59,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83489240 failed! 2025-10-30 10:19:59,956 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-62828050:ctest-vn1-87005945 is 183.244.195.129 and allocation pool is NOT set 2025-10-30 10:20:04,061 - 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=2 ttl=63 time=16.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 16.104/16.104/16.104/0.000 ms') 2025-10-30 10:20:04,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83489240 passed 2025-10-30 10:20:04,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:20:04,135 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83489240, IP 183.244.195.131, Port 22 2025-10-30 10:20:04,204 - 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-30 10:20:04,293 - DEBUG - VM ctest-vn1-vm1-83489240 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 10:20:09,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:20:09,294 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83489240, IP 183.244.195.131, Port 22 2025-10-30 10:20:09,472 - DEBUG - VM ctest-vn1-vm1-83489240 is ready for SSH connections 2025-10-30 10:20:09,472 - INFO - Waiting for VM ctest-vn2-vm1-05626471 to be up.. 2025-10-30 10:20:09,567 - DEBUG - VM is in ACTIVE state now 2025-10-30 10:20:09,567 - INFO - VM name : ctest-vn2-vm1-05626471 2025-10-30 10:20:09,660 - DEBUG - VM ctest-vn2-vm1-05626471 ID is 4ecd4cab-1405-4550-abfc-93efbcd3abe8 2025-10-30 10:20:09,660 - DEBUG - VM ctest-vn2-vm1-05626471 launched on Node an-jenkins-deploy-platform-ansible-os-4541-2 2025-10-30 10:20:09,760 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4ecd4cab-1405-4550-abfc-93efbcd3abe8 2025-10-30 10:20:09,776 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5fca2354-cfda-49d4-ae58-00722b908ef3 2025-10-30 10:20:10,958 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.534 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.534/2.834/5.135/2.300 ms') 2025-10-30 10:20:10,958 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-05626471 passed 2025-10-30 10:20:11,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:20:11,030 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-05626471, IP 112.201.55.131, Port 22 2025-10-30 10:20:11,204 - DEBUG - VM ctest-vn2-vm1-05626471 is ready for SSH connections 2025-10-30 10:20:11,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:20:11,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.201.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-30 10:20:11,205 - DEBUG - ping -s 56 -c 3 -W 1 112.201.55.131 2025-10-30 10:20:15,257 - DEBUG - PING 112.201.55.131 (112.201.55.131): 56 data bytes --- 112.201.55.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 10:20:15,257 - WARNING - Ping to IP 112.201.55.131 from VM ctest-vn1-vm1-83489240 failed 2025-10-30 10:20:15,257 - INFO - Adding interface with subnet_id d396721b-7136-40f7-8e7c-d5f6d9e01662, port_id None to router 530e6b74-1f83-46cc-8e0f-f1ea6072be8c 2025-10-30 10:20:15,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:20:15,693 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.201.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-30 10:20:15,693 - DEBUG - ping -s 56 -c 3 -W 1 112.201.55.131 2025-10-30 10:20:18,956 - DEBUG - PING 112.201.55.131 (112.201.55.131): 56 data bytes 64 bytes from 112.201.55.131: seq=1 ttl=63 time=6.005 ms 64 bytes from 112.201.55.131: seq=2 ttl=63 time=1.451 ms --- 112.201.55.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.451/3.728/6.005 ms 2025-10-30 10:20:18,957 - WARNING - Ping to IP 112.201.55.131 from VM ctest-vn1-vm1-83489240 failed 2025-10-30 10:20:19,957 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.201.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-30 10:20:19,957 - DEBUG - ping -s 56 -c 3 -W 1 112.201.55.131 2025-10-30 10:20:22,238 - DEBUG - PING 112.201.55.131 (112.201.55.131): 56 data bytes 64 bytes from 112.201.55.131: seq=0 ttl=63 time=4.157 ms 64 bytes from 112.201.55.131: seq=1 ttl=63 time=1.995 ms 64 bytes from 112.201.55.131: seq=2 ttl=63 time=1.431 ms --- 112.201.55.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.431/2.527/4.157 ms 2025-10-30 10:20:22,239 - INFO - Ping to IP 112.201.55.131 from VM ctest-vn1-vm1-83489240 passed 2025-10-30 10:20:22,239 - INFO - Deleting interface with subnet_id 3f2c2f3d-24dd-4a65-8c96-bcacdb3e1bf7, port_id None from router 530e6b74-1f83-46cc-8e0f-f1ea6072be8c 2025-10-30 10:20:22,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:20:22,525 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.201.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-30 10:20:22,525 - DEBUG - ping -s 56 -c 3 -W 1 112.201.55.131 2025-10-30 10:20:25,760 - DEBUG - PING 112.201.55.131 (112.201.55.131): 56 data bytes --- 112.201.55.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 10:20:25,761 - WARNING - Ping to IP 112.201.55.131 from VM ctest-vn1-vm1-83489240 failed 2025-10-30 10:20:25,761 - INFO - Adding interface with subnet_id 3f2c2f3d-24dd-4a65-8c96-bcacdb3e1bf7, port_id None to router 530e6b74-1f83-46cc-8e0f-f1ea6072be8c 2025-10-30 10:20:26,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:20:26,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.201.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-30 10:20:26,140 - DEBUG - ping -s 56 -c 3 -W 1 112.201.55.131 2025-10-30 10:20:28,377 - DEBUG - PING 112.201.55.131 (112.201.55.131): 56 data bytes 64 bytes from 112.201.55.131: seq=0 ttl=63 time=4.045 ms 64 bytes from 112.201.55.131: seq=1 ttl=63 time=1.179 ms 64 bytes from 112.201.55.131: seq=2 ttl=63 time=1.543 ms --- 112.201.55.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.179/2.255/4.045 ms 2025-10-30 10:20:28,377 - INFO - Ping to IP 112.201.55.131 from VM ctest-vn1-vm1-83489240 passed 2025-10-30 10:20:28,377 - INFO - Deleting interface with subnet_id d396721b-7136-40f7-8e7c-d5f6d9e01662, port_id None from router 530e6b74-1f83-46cc-8e0f-f1ea6072be8c 2025-10-30 10:20:28,625 - INFO - Deleting interface with subnet_id 3f2c2f3d-24dd-4a65-8c96-bcacdb3e1bf7, port_id None from router 530e6b74-1f83-46cc-8e0f-f1ea6072be8c 2025-10-30 10:20:28,976 - INFO - Deleting VM ctest-vn2-vm1-05626471 2025-10-30 10:20:29,077 - INFO - Deleting VM ctest-vn1-vm1-83489240 2025-10-30 10:20:29,151 - INFO - Deleting VN ctest-vn2-56297419 2025-10-30 10:20:29,198 - DEBUG - VN 2c9ca068-6862-4d25-a2a0-15afa016fc03 still in use: Unable to complete operation on network 2c9ca068-6862-4d25-a2a0-15afa016fc03. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8bfa2030-af0c-4c46-b619-6c78d3bb4ae9'] 2025-10-30 10:20:29,198 - WARNING - Deleting VN ctest-vn2-56297419 failed..Will retry 2025-10-30 10:20:31,396 - DEBUG - Response for deleting network () 2025-10-30 10:20:31,396 - INFO - Deleting VN ctest-vn1-87005945 2025-10-30 10:20:31,591 - DEBUG - Response for deleting network () 2025-10-30 10:20:32,879 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 10:20:32,879 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:48] 2025-10-30 10:20:32,879 - INFO - -------------------------------------------------------------------------------- 2025-10-30 10:20:33,652 - INFO - Deleted project: ctest-TestRouters-62828050, ID : 6d7dfc8d-9f38-4b20-b499-13595081ea5f