2025-10-22 19:47:27,586 - INFO - Reading existing Domain with UUID cc7bf0c9-b3f5-4805-bbd2-f13c8e4f2bc8 2025-10-22 19:47:27,603 - INFO - Using existing domain ['admin_domain'](cc7bf0c9-b3f5-4805-bbd2-f13c8e4f2bc8) 2025-10-22 19:47:27,873 - INFO - Project ctest-TestRouters-60768019 not found, creating it 2025-10-22 19:47:28,533 - INFO - Created Project:ctest-TestRouters-60768019, ID : 7fb636ee-21e0-4128-a754-2a87653447c5 2025-10-22 19:47:30,615 - INFO - ================================================================================ 2025-10-22 19:47:30,615 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-22 19:47:30,616 - 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-22 19:47:31,025 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.0.0.141': '0'}} with 2025-10-22 19:47:31,025 - INFO - Initial checks done. Running the testcase now 2025-10-22 19:47:31,025 - INFO - 2025-10-22 19:47:31,888 - DEBUG - Response for create_network : {'network': {'id': '6261c68b-5af4-4983-b59b-1a499aeeef94', 'name': 'ctest-vn1-78431983', 'tenant_id': '7fb636ee21e04128a7542a87653447c5', 'project_id': '7fb636ee21e04128a7542a87653447c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-60768019', 'ctest-vn1-78431983'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 19:47:32,134 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff5e4f97-11ee-4c37-9cb0-7163fb9d1be1', 'name': '', 'tenant_id': '7fb636ee21e04128a7542a87653447c5', 'network_id': '6261c68b-5af4-4983-b59b-1a499aeeef94', 'ip_version': 4, 'cidr': '160.11.201.128/26', 'allocation_pools': [{'start': '160.11.201.130', 'end': '160.11.201.190'}], 'gateway_ip': '160.11.201.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T19:47:32.019269', 'updated_at': '2025-10-22T19:47:32.019269', 'dns_server_address': '160.11.201.130', 'tags': [], 'project_id': '7fb636ee21e04128a7542a87653447c5'}} 2025-10-22 19:47:32,210 - INFO - Created VN ctest-vn1-78431983 2025-10-22 19:47:32,267 - DEBUG - VN ctest-vn1-78431983 UUID is 6261c68b-5af4-4983-b59b-1a499aeeef94 2025-10-22 19:47:32,832 - DEBUG - Response for create_network : {'network': {'id': '1b8d3791-c0c2-4e50-a429-26a7756d7a85', 'name': 'ctest-vn2-64435861', 'tenant_id': '7fb636ee21e04128a7542a87653447c5', 'project_id': '7fb636ee21e04128a7542a87653447c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-60768019', 'ctest-vn2-64435861'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 19:47:33,063 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8f42b93-7d61-43e3-9abe-980c98b567d2', 'name': '', 'tenant_id': '7fb636ee21e04128a7542a87653447c5', 'network_id': '1b8d3791-c0c2-4e50-a429-26a7756d7a85', 'ip_version': 4, 'cidr': '169.109.169.192/26', 'allocation_pools': [{'start': '169.109.169.194', 'end': '169.109.169.254'}], 'gateway_ip': '169.109.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T19:47:32.950577', 'updated_at': '2025-10-22T19:47:32.950577', 'dns_server_address': '169.109.169.194', 'tags': [], 'project_id': '7fb636ee21e04128a7542a87653447c5'}} 2025-10-22 19:47:33,137 - INFO - Created VN ctest-vn2-64435861 2025-10-22 19:47:33,191 - DEBUG - VN ctest-vn2-64435861 UUID is 1b8d3791-c0c2-4e50-a429-26a7756d7a85 2025-10-22 19:47:33,514 - DEBUG - Services list from nova: [, , ] 2025-10-22 19:47:35,253 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-605-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-605-1) 2025-10-22 19:47:37,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-605-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-605-1) 2025-10-22 19:47:37,890 - INFO - Adding interface with subnet_id ff5e4f97-11ee-4c37-9cb0-7163fb9d1be1, port_id None to router ee031487-32e4-4719-b577-a872a70fe2f9 2025-10-22 19:47:38,449 - INFO - Waiting for VM ctest-vn1-vm1-69737132 to be up.. 2025-10-22 19:47:38,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 19:47:43,783 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:47:43,783 - INFO - VM name : ctest-vn1-vm1-69737132 2025-10-22 19:47:43,937 - DEBUG - VM ctest-vn1-vm1-69737132 ID is 9dee5cea-3525-4ea7-b8e1-c9a28044150f 2025-10-22 19:47:43,986 - DEBUG - VM ctest-vn1-vm1-69737132 launched on Node cn-jenkins-deploy-platform-juju-os-605-1 2025-10-22 19:47:44,169 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/9dee5cea-3525-4ea7-b8e1-c9a28044150f 2025-10-22 19:47:44,563 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/9dee5cea-3525-4ea7-b8e1-c9a28044150f 2025-10-22 19:47:44,656 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/8b541f9f-7593-4864-b3d0-5fc421e076ca 2025-10-22 19:47:48,176 - 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 1008ms') 2025-10-22 19:47:48,177 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69737132 failed! 2025-10-22 19:47:48,235 - DEBUG - Gateway for vn admin_domain:ctest-TestRouters-60768019:ctest-vn1-78431983 is 160.11.201.129 and allocation pool is NOT set 2025-10-22 19:47:50,335 - 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=3.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 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.490/2.150/3.810/1.660 ms') 2025-10-22 19:47:50,336 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69737132 passed 2025-10-22 19:47:50,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:47:50,515 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69737132, IP 160.11.201.131, Port 22 2025-10-22 19:47:50,750 - DEBUG - VM ctest-vn1-vm1-69737132 is ready for SSH connections 2025-10-22 19:47:50,750 - INFO - Waiting for VM ctest-vn2-vm1-78996867 to be up.. 2025-10-22 19:47:50,928 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:47:50,928 - INFO - VM name : ctest-vn2-vm1-78996867 2025-10-22 19:47:51,100 - DEBUG - VM ctest-vn2-vm1-78996867 ID is 94ecbcd7-5d26-4616-9d6c-e403e975de71 2025-10-22 19:47:51,100 - DEBUG - VM ctest-vn2-vm1-78996867 launched on Node cn-jenkins-deploy-platform-juju-os-605-1 2025-10-22 19:47:51,259 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/94ecbcd7-5d26-4616-9d6c-e403e975de71 2025-10-22 19:47:51,322 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/f67f020e-0da1-4a40-8029-d7713db69313 2025-10-22 19:47:52,791 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.922 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.922/2.062/3.203/1.140 ms') 2025-10-22 19:47:52,792 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-78996867 passed 2025-10-22 19:47:52,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:47:52,947 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-78996867, IP 169.109.169.195, Port 22 2025-10-22 19:47:53,044 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-22 19:47:53,206 - DEBUG - VM ctest-vn2-vm1-78996867 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 19:47:58,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:47:58,207 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-78996867, IP 169.109.169.195, Port 22 2025-10-22 19:47:58,434 - DEBUG - VM ctest-vn2-vm1-78996867 is ready for SSH connections 2025-10-22 19:47:58,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:47:58,434 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.109.169.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 19:47:58,434 - DEBUG - ping -s 56 -c 3 -W 1 169.109.169.195 2025-10-22 19:48:03,174 - DEBUG - PING 169.109.169.195 (169.109.169.195): 56 data bytes --- 169.109.169.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 19:48:03,174 - WARNING - Ping to IP 169.109.169.195 from VM ctest-vn1-vm1-69737132 failed 2025-10-22 19:48:03,175 - INFO - Adding interface with subnet_id a8f42b93-7d61-43e3-9abe-980c98b567d2, port_id None to router ee031487-32e4-4719-b577-a872a70fe2f9 2025-10-22 19:48:03,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:48:03,743 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.109.169.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 19:48:03,743 - DEBUG - ping -s 56 -c 3 -W 1 169.109.169.195 2025-10-22 19:48:06,969 - DEBUG - PING 169.109.169.195 (169.109.169.195): 56 data bytes 64 bytes from 169.109.169.195: seq=1 ttl=63 time=4.137 ms 64 bytes from 169.109.169.195: seq=2 ttl=63 time=1.381 ms --- 169.109.169.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.381/2.759/4.137 ms 2025-10-22 19:48:06,969 - WARNING - Ping to IP 169.109.169.195 from VM ctest-vn1-vm1-69737132 failed 2025-10-22 19:48:07,970 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.109.169.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 19:48:07,970 - DEBUG - ping -s 56 -c 3 -W 1 169.109.169.195 2025-10-22 19:48:10,195 - DEBUG - PING 169.109.169.195 (169.109.169.195): 56 data bytes 64 bytes from 169.109.169.195: seq=0 ttl=63 time=2.245 ms 64 bytes from 169.109.169.195: seq=1 ttl=63 time=2.394 ms 64 bytes from 169.109.169.195: seq=2 ttl=63 time=1.420 ms --- 169.109.169.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.420/2.019/2.394 ms 2025-10-22 19:48:10,195 - INFO - Ping to IP 169.109.169.195 from VM ctest-vn1-vm1-69737132 passed 2025-10-22 19:48:10,195 - INFO - Deleting interface with subnet_id ff5e4f97-11ee-4c37-9cb0-7163fb9d1be1, port_id None from router ee031487-32e4-4719-b577-a872a70fe2f9 2025-10-22 19:48:10,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:48:10,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.109.169.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 19:48:10,482 - DEBUG - ping -s 56 -c 3 -W 1 169.109.169.195 2025-10-22 19:48:13,705 - DEBUG - PING 169.109.169.195 (169.109.169.195): 56 data bytes --- 169.109.169.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 19:48:13,705 - WARNING - Ping to IP 169.109.169.195 from VM ctest-vn1-vm1-69737132 failed 2025-10-22 19:48:13,705 - INFO - Adding interface with subnet_id ff5e4f97-11ee-4c37-9cb0-7163fb9d1be1, port_id None to router ee031487-32e4-4719-b577-a872a70fe2f9 2025-10-22 19:48:14,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:48:14,170 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.109.169.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 19:48:14,170 - DEBUG - ping -s 56 -c 3 -W 1 169.109.169.195 2025-10-22 19:48:16,405 - DEBUG - PING 169.109.169.195 (169.109.169.195): 56 data bytes 64 bytes from 169.109.169.195: seq=0 ttl=63 time=1.947 ms 64 bytes from 169.109.169.195: seq=1 ttl=63 time=1.569 ms 64 bytes from 169.109.169.195: seq=2 ttl=63 time=1.194 ms --- 169.109.169.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.194/1.570/1.947 ms 2025-10-22 19:48:16,405 - INFO - Ping to IP 169.109.169.195 from VM ctest-vn1-vm1-69737132 passed 2025-10-22 19:48:16,405 - INFO - Deleting interface with subnet_id a8f42b93-7d61-43e3-9abe-980c98b567d2, port_id None from router ee031487-32e4-4719-b577-a872a70fe2f9 2025-10-22 19:48:16,734 - INFO - Deleting interface with subnet_id ff5e4f97-11ee-4c37-9cb0-7163fb9d1be1, port_id None from router ee031487-32e4-4719-b577-a872a70fe2f9 2025-10-22 19:48:17,207 - INFO - Deleting VM ctest-vn2-vm1-78996867 2025-10-22 19:48:17,347 - INFO - Deleting VM ctest-vn1-vm1-69737132 2025-10-22 19:48:17,489 - INFO - Deleting VN ctest-vn2-64435861 2025-10-22 19:48:17,659 - DEBUG - VN 1b8d3791-c0c2-4e50-a429-26a7756d7a85 still in use: Unable to complete operation on network 1b8d3791-c0c2-4e50-a429-26a7756d7a85. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91db2fdd-0b32-4b69-be1e-bcb75fdd006b'] 2025-10-22 19:48:17,659 - WARNING - Deleting VN ctest-vn2-64435861 failed..Will retry 2025-10-22 19:48:19,881 - DEBUG - Response for deleting network () 2025-10-22 19:48:19,881 - INFO - Deleting VN ctest-vn1-78431983 2025-10-22 19:48:20,126 - DEBUG - Response for deleting network () 2025-10-22 19:48:20,544 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 19:48:20,544 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:50] 2025-10-22 19:48:20,546 - INFO - -------------------------------------------------------------------------------- 2025-10-22 19:48:21,390 - INFO - Deleted project: ctest-TestRouters-60768019, ID : 7fb636ee-21e0-4128-a754-2a87653447c5