2025-08-07 02:42:45,804 - INFO - Domain Default found not creating 2025-08-07 02:42:45,961 - INFO - Project ctest-TestRouters-08293370 not found, creating it 2025-08-07 02:42:46,659 - INFO - Created Project:ctest-TestRouters-08293370, ID : b605a8bd-898b-4c33-845d-ea69d0c64ce5 2025-08-07 02:42:48,231 - INFO - ================================================================================ 2025-08-07 02:42:48,231 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-07 02:42:48,231 - 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-08-07 02:42:49,544 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-07 02:42:49,544 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:42:49,544 - INFO - 2025-08-07 02:42:50,330 - DEBUG - Response for create_network : {'network': {'id': '7c099cfc-af89-4739-9992-c0d465f98899', 'name': 'ctest-vn1-48844462', 'tenant_id': 'b605a8bd898b4c33845dea69d0c64ce5', 'project_id': 'b605a8bd898b4c33845dea69d0c64ce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08293370', 'ctest-vn1-48844462'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:42:50,730 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3193eb0-05cd-49a9-b102-517110bc48b6', 'name': '', 'tenant_id': 'b605a8bd898b4c33845dea69d0c64ce5', 'network_id': '7c099cfc-af89-4739-9992-c0d465f98899', 'ip_version': 4, 'cidr': '119.189.185.192/26', 'allocation_pools': [{'start': '119.189.185.194', 'end': '119.189.185.254'}], 'gateway_ip': '119.189.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.189.185.194', 'tags': [], 'project_id': 'b605a8bd898b4c33845dea69d0c64ce5'}} 2025-08-07 02:42:50,756 - INFO - Created VN ctest-vn1-48844462 2025-08-07 02:42:50,771 - DEBUG - VN ctest-vn1-48844462 UUID is 7c099cfc-af89-4739-9992-c0d465f98899 2025-08-07 02:42:51,185 - DEBUG - Response for create_network : {'network': {'id': 'a19c9722-b6a7-4a6a-b327-05b4854a0b71', 'name': 'ctest-vn2-00596436', 'tenant_id': 'b605a8bd898b4c33845dea69d0c64ce5', 'project_id': 'b605a8bd898b4c33845dea69d0c64ce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08293370', 'ctest-vn2-00596436'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:42:51,505 - DEBUG - Response for create_subnet : {'subnet': {'id': '667d868b-6ec0-4522-a669-f401346c16f6', 'name': '', 'tenant_id': 'b605a8bd898b4c33845dea69d0c64ce5', 'network_id': 'a19c9722-b6a7-4a6a-b327-05b4854a0b71', 'ip_version': 4, 'cidr': '111.106.4.192/26', 'allocation_pools': [{'start': '111.106.4.194', 'end': '111.106.4.254'}], 'gateway_ip': '111.106.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.106.4.194', 'tags': [], 'project_id': 'b605a8bd898b4c33845dea69d0c64ce5'}} 2025-08-07 02:42:51,534 - INFO - Created VN ctest-vn2-00596436 2025-08-07 02:42:51,552 - DEBUG - VN ctest-vn2-00596436 UUID is a19c9722-b6a7-4a6a-b327-05b4854a0b71 2025-08-07 02:42:51,722 - DEBUG - Services list from nova: [, , , ] 2025-08-07 02:42:52,896 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 02:42:54,285 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-1) 2025-08-07 02:42:54,448 - INFO - Adding interface with subnet_id d3193eb0-05cd-49a9-b102-517110bc48b6, port_id None to router 078276fb-5a11-453d-9a06-9e558d9a4929 2025-08-07 02:42:54,923 - INFO - Waiting for VM ctest-vn1-vm1-63198014 to be up.. 2025-08-07 02:42:55,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:43:00,190 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:43:00,190 - INFO - VM name : ctest-vn1-vm1-63198014 2025-08-07 02:43:00,285 - DEBUG - VM ctest-vn1-vm1-63198014 ID is e8e912e8-27df-4cd2-bfc3-478af22a9f9c 2025-08-07 02:43:00,314 - DEBUG - VM ctest-vn1-vm1-63198014 launched on Node an-jenkins-deploy-platform-ansible-os-3767-2 2025-08-07 02:43:00,405 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e8e912e8-27df-4cd2-bfc3-478af22a9f9c 2025-08-07 02:43:00,706 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e8e912e8-27df-4cd2-bfc3-478af22a9f9c 2025-08-07 02:43:00,757 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/20968b94-7f47-45ce-8829-0434d21175c7 2025-08-07 02:43:03,997 - 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 1002ms') 2025-08-07 02:43:03,998 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63198014 failed! 2025-08-07 02:43:04,016 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-08293370:ctest-vn1-48844462 is 119.189.185.193 and allocation pool is NOT set 2025-08-07 02:43:08,099 - 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=8.26 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 8.264/8.264/8.264/0.000 ms') 2025-08-07 02:43:08,099 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63198014 passed 2025-08-07 02:43:08,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:43:08,216 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63198014, IP 119.189.185.195, Port 22 2025-08-07 02:43:08,387 - DEBUG - VM ctest-vn1-vm1-63198014 is ready for SSH connections 2025-08-07 02:43:08,387 - INFO - Waiting for VM ctest-vn2-vm1-55063236 to be up.. 2025-08-07 02:43:08,495 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:43:08,495 - INFO - VM name : ctest-vn2-vm1-55063236 2025-08-07 02:43:08,595 - DEBUG - VM ctest-vn2-vm1-55063236 ID is 391027e0-a045-42f2-9c16-5f1370439909 2025-08-07 02:43:08,595 - DEBUG - VM ctest-vn2-vm1-55063236 launched on Node an-jenkins-deploy-platform-ansible-os-3767-1 2025-08-07 02:43:08,689 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/391027e0-a045-42f2-9c16-5f1370439909 2025-08-07 02:43:08,705 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ba9d6d32-e4c4-4f23-b50d-6144f068215a 2025-08-07 02:43:09,941 - 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=9.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.484 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 = 0.484/5.099/9.715/4.615 ms') 2025-08-07 02:43:09,941 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-55063236 passed 2025-08-07 02:43:10,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:43:10,065 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-55063236, IP 111.106.4.195, Port 22 2025-08-07 02:43:10,133 - 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-08-07 02:43:10,229 - DEBUG - VM ctest-vn2-vm1-55063236 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:43:15,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:43:15,229 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-55063236, IP 111.106.4.195, Port 22 2025-08-07 02:43:15,408 - DEBUG - VM ctest-vn2-vm1-55063236 is ready for SSH connections 2025-08-07 02:43:15,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:43:15,409 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.106.4.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 02:43:15,409 - DEBUG - ping -s 56 -c 3 -W 1 111.106.4.195 2025-08-07 02:43:20,140 - DEBUG - PING 111.106.4.195 (111.106.4.195): 56 data bytes --- 111.106.4.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 02:43:20,140 - WARNING - Ping to IP 111.106.4.195 from VM ctest-vn1-vm1-63198014 failed 2025-08-07 02:43:20,140 - INFO - Adding interface with subnet_id 667d868b-6ec0-4522-a669-f401346c16f6, port_id None to router 078276fb-5a11-453d-9a06-9e558d9a4929 2025-08-07 02:43:20,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:43:20,604 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.106.4.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 02:43:20,604 - DEBUG - ping -s 56 -c 3 -W 1 111.106.4.195 2025-08-07 02:43:23,826 - DEBUG - PING 111.106.4.195 (111.106.4.195): 56 data bytes 64 bytes from 111.106.4.195: seq=1 ttl=63 time=5.591 ms 64 bytes from 111.106.4.195: seq=2 ttl=63 time=1.334 ms --- 111.106.4.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.334/3.462/5.591 ms 2025-08-07 02:43:23,826 - WARNING - Ping to IP 111.106.4.195 from VM ctest-vn1-vm1-63198014 failed 2025-08-07 02:43:24,827 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.106.4.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 02:43:24,827 - DEBUG - ping -s 56 -c 3 -W 1 111.106.4.195 2025-08-07 02:43:27,044 - DEBUG - PING 111.106.4.195 (111.106.4.195): 56 data bytes 64 bytes from 111.106.4.195: seq=0 ttl=63 time=3.796 ms 64 bytes from 111.106.4.195: seq=1 ttl=63 time=1.230 ms 64 bytes from 111.106.4.195: seq=2 ttl=63 time=1.311 ms --- 111.106.4.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.230/2.112/3.796 ms 2025-08-07 02:43:27,044 - INFO - Ping to IP 111.106.4.195 from VM ctest-vn1-vm1-63198014 passed 2025-08-07 02:43:27,044 - INFO - Deleting interface with subnet_id d3193eb0-05cd-49a9-b102-517110bc48b6, port_id None from router 078276fb-5a11-453d-9a06-9e558d9a4929 2025-08-07 02:43:27,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:43:27,334 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.106.4.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 02:43:27,335 - DEBUG - ping -s 56 -c 3 -W 1 111.106.4.195 2025-08-07 02:43:30,557 - DEBUG - PING 111.106.4.195 (111.106.4.195): 56 data bytes --- 111.106.4.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 02:43:30,557 - WARNING - Ping to IP 111.106.4.195 from VM ctest-vn1-vm1-63198014 failed 2025-08-07 02:43:30,557 - INFO - Adding interface with subnet_id d3193eb0-05cd-49a9-b102-517110bc48b6, port_id None to router 078276fb-5a11-453d-9a06-9e558d9a4929 2025-08-07 02:43:30,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:43:30,972 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.106.4.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 02:43:30,972 - DEBUG - ping -s 56 -c 3 -W 1 111.106.4.195 2025-08-07 02:43:33,195 - DEBUG - PING 111.106.4.195 (111.106.4.195): 56 data bytes 64 bytes from 111.106.4.195: seq=0 ttl=63 time=3.477 ms 64 bytes from 111.106.4.195: seq=1 ttl=63 time=1.201 ms 64 bytes from 111.106.4.195: seq=2 ttl=63 time=1.562 ms --- 111.106.4.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.201/2.080/3.477 ms 2025-08-07 02:43:33,195 - INFO - Ping to IP 111.106.4.195 from VM ctest-vn1-vm1-63198014 passed 2025-08-07 02:43:33,196 - INFO - Deleting interface with subnet_id 667d868b-6ec0-4522-a669-f401346c16f6, port_id None from router 078276fb-5a11-453d-9a06-9e558d9a4929 2025-08-07 02:43:33,462 - INFO - Deleting interface with subnet_id d3193eb0-05cd-49a9-b102-517110bc48b6, port_id None from router 078276fb-5a11-453d-9a06-9e558d9a4929 2025-08-07 02:43:33,827 - INFO - Deleting VM ctest-vn2-vm1-55063236 2025-08-07 02:43:33,923 - INFO - Deleting VM ctest-vn1-vm1-63198014 2025-08-07 02:43:33,989 - INFO - Deleting VN ctest-vn2-00596436 2025-08-07 02:43:34,050 - DEBUG - VN a19c9722-b6a7-4a6a-b327-05b4854a0b71 still in use: Unable to complete operation on network a19c9722-b6a7-4a6a-b327-05b4854a0b71. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4246d093-ada0-41d3-afd7-e59e8c6d682d'] 2025-08-07 02:43:34,051 - WARNING - Deleting VN ctest-vn2-00596436 failed..Will retry 2025-08-07 02:43:36,259 - DEBUG - Response for deleting network () 2025-08-07 02:43:36,259 - INFO - Deleting VN ctest-vn1-48844462 2025-08-07 02:43:36,456 - DEBUG - Response for deleting network () 2025-08-07 02:43:37,724 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:43:37,724 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:49] 2025-08-07 02:43:37,724 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:43:38,519 - INFO - Deleted project: ctest-TestRouters-08293370, ID : b605a8bd-898b-4c33-845d-ea69d0c64ce5