2025-10-28 08:53:46,419 - INFO - Reading existing Domain with UUID 3e60116d-6a4a-4c62-bccd-443e6f5e662f 2025-10-28 08:53:46,429 - INFO - Using existing domain ['admin_domain'](3e60116d-6a4a-4c62-bccd-443e6f5e662f) 2025-10-28 08:53:46,632 - INFO - Project ctest-TestRouters-00886611 not found, creating it 2025-10-28 08:53:47,206 - INFO - Created Project:ctest-TestRouters-00886611, ID : e099ebca-63a5-40ac-bf96-f956a9a0fc8c 2025-10-28 08:53:49,038 - INFO - ================================================================================ 2025-10-28 08:53:49,038 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-28 08:53:49,038 - 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-28 08:53:49,442 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-10-28 08:53:49,442 - INFO - Initial checks done. Running the testcase now 2025-10-28 08:53:49,442 - INFO - 2025-10-28 08:53:50,234 - DEBUG - Response for create_network : {'network': {'id': 'dfd7464a-3ae0-45e6-928f-9d9052de56f6', 'name': 'ctest-vn1-65288493', 'tenant_id': 'e099ebca63a540acbf96f956a9a0fc8c', 'project_id': 'e099ebca63a540acbf96f956a9a0fc8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-00886611', 'ctest-vn1-65288493'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-28 08:53:50,505 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb9232ab-cc45-4f2f-b8e0-9cb23f7af0f2', 'name': '', 'tenant_id': 'e099ebca63a540acbf96f956a9a0fc8c', 'network_id': 'dfd7464a-3ae0-45e6-928f-9d9052de56f6', 'ip_version': 4, 'cidr': '131.167.63.192/26', 'allocation_pools': [{'start': '131.167.63.194', 'end': '131.167.63.254'}], 'gateway_ip': '131.167.63.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-28T08:53:50.407015', 'updated_at': '2025-10-28T08:53:50.407015', 'dns_server_address': '131.167.63.194', 'tags': [], 'project_id': 'e099ebca63a540acbf96f956a9a0fc8c'}} 2025-10-28 08:53:50,571 - INFO - Created VN ctest-vn1-65288493 2025-10-28 08:53:50,624 - DEBUG - VN ctest-vn1-65288493 UUID is dfd7464a-3ae0-45e6-928f-9d9052de56f6 2025-10-28 08:53:51,113 - DEBUG - Response for create_network : {'network': {'id': '84a78922-e3d4-42b7-a8ad-336e70a20148', 'name': 'ctest-vn2-69127302', 'tenant_id': 'e099ebca63a540acbf96f956a9a0fc8c', 'project_id': 'e099ebca63a540acbf96f956a9a0fc8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-00886611', 'ctest-vn2-69127302'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-28 08:53:51,318 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d9f3b12-24cc-4537-bc75-06f29c51b095', 'name': '', 'tenant_id': 'e099ebca63a540acbf96f956a9a0fc8c', 'network_id': '84a78922-e3d4-42b7-a8ad-336e70a20148', 'ip_version': 4, 'cidr': '18.180.171.64/26', 'allocation_pools': [{'start': '18.180.171.66', 'end': '18.180.171.126'}], 'gateway_ip': '18.180.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-28T08:53:51.212501', 'updated_at': '2025-10-28T08:53:51.212501', 'dns_server_address': '18.180.171.66', 'tags': [], 'project_id': 'e099ebca63a540acbf96f956a9a0fc8c'}} 2025-10-28 08:53:51,387 - INFO - Created VN ctest-vn2-69127302 2025-10-28 08:53:51,444 - DEBUG - VN ctest-vn2-69127302 UUID is 84a78922-e3d4-42b7-a8ad-336e70a20148 2025-10-28 08:53:51,727 - DEBUG - Services list from nova: [, , ] 2025-10-28 08:53:53,791 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-609-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-609-1) 2025-10-28 08:53:55,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-609-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-609-1) 2025-10-28 08:53:55,533 - INFO - Adding interface with subnet_id eb9232ab-cc45-4f2f-b8e0-9cb23f7af0f2, port_id None to router bd3b8d70-f470-4fbb-9e4a-fee0f5808789 2025-10-28 08:53:56,067 - INFO - Waiting for VM ctest-vn1-vm1-68321677 to be up.. 2025-10-28 08:53:56,224 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 08:54:01,358 - DEBUG - VM is in ACTIVE state now 2025-10-28 08:54:01,358 - INFO - VM name : ctest-vn1-vm1-68321677 2025-10-28 08:54:01,503 - DEBUG - VM ctest-vn1-vm1-68321677 ID is 6e719dfb-2e71-4382-af32-86c402824f7c 2025-10-28 08:54:01,542 - DEBUG - VM ctest-vn1-vm1-68321677 launched on Node cn-jenkins-deploy-platform-juju-os-609-1 2025-10-28 08:54:01,697 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/6e719dfb-2e71-4382-af32-86c402824f7c 2025-10-28 08:54:02,059 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/6e719dfb-2e71-4382-af32-86c402824f7c 2025-10-28 08:54:02,165 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/5450b7c1-36b9-4629-ac9a-1a61783fc925 2025-10-28 08:54:05,698 - 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 1017ms') 2025-10-28 08:54:05,698 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68321677 failed! 2025-10-28 08:54:05,756 - DEBUG - Gateway for vn admin_domain:ctest-TestRouters-00886611:ctest-vn1-65288493 is 131.167.63.193 and allocation pool is NOT set 2025-10-28 08:54:07,843 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.81 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 = 1.812/3.769/5.726/1.957 ms') 2025-10-28 08:54:07,843 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68321677 passed 2025-10-28 08:54:07,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:54:07,996 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68321677, IP 131.167.63.195, Port 22 2025-10-28 08:54:08,083 - 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-28 08:54:08,220 - DEBUG - VM ctest-vn1-vm1-68321677 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-28 08:54:13,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:54:13,221 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68321677, IP 131.167.63.195, Port 22 2025-10-28 08:54:13,450 - DEBUG - VM ctest-vn1-vm1-68321677 is ready for SSH connections 2025-10-28 08:54:13,451 - INFO - Waiting for VM ctest-vn2-vm1-96762845 to be up.. 2025-10-28 08:54:13,589 - DEBUG - VM is in ACTIVE state now 2025-10-28 08:54:13,589 - INFO - VM name : ctest-vn2-vm1-96762845 2025-10-28 08:54:13,736 - DEBUG - VM ctest-vn2-vm1-96762845 ID is f538c7b6-e786-425c-9d3d-a5110b7cea97 2025-10-28 08:54:13,736 - DEBUG - VM ctest-vn2-vm1-96762845 launched on Node cn-jenkins-deploy-platform-juju-os-609-1 2025-10-28 08:54:14,016 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/f538c7b6-e786-425c-9d3d-a5110b7cea97 2025-10-28 08:54:14,077 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/b9a171c4-1700-422e-a805-0f59c028b55a 2025-10-28 08:54:15,542 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/1.960/3.529/1.569 ms') 2025-10-28 08:54:15,542 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-96762845 passed 2025-10-28 08:54:15,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:54:15,692 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-96762845, IP 18.180.171.67, Port 22 2025-10-28 08:54:15,907 - DEBUG - VM ctest-vn2-vm1-96762845 is ready for SSH connections 2025-10-28 08:54:15,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:54:15,907 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.180.171.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-28 08:54:15,908 - DEBUG - ping -s 56 -c 3 -W 1 18.180.171.67 2025-10-28 08:54:20,985 - DEBUG - PING 18.180.171.67 (18.180.171.67): 56 data bytes --- 18.180.171.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 08:54:20,986 - WARNING - Ping to IP 18.180.171.67 from VM ctest-vn1-vm1-68321677 failed 2025-10-28 08:54:20,986 - INFO - Adding interface with subnet_id 8d9f3b12-24cc-4537-bc75-06f29c51b095, port_id None to router bd3b8d70-f470-4fbb-9e4a-fee0f5808789 2025-10-28 08:54:21,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:54:21,374 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.180.171.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-28 08:54:21,375 - DEBUG - ping -s 56 -c 3 -W 1 18.180.171.67 2025-10-28 08:54:23,630 - DEBUG - PING 18.180.171.67 (18.180.171.67): 56 data bytes 64 bytes from 18.180.171.67: seq=0 ttl=63 time=5.671 ms 64 bytes from 18.180.171.67: seq=1 ttl=63 time=1.007 ms 64 bytes from 18.180.171.67: seq=2 ttl=63 time=1.191 ms --- 18.180.171.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.007/2.623/5.671 ms 2025-10-28 08:54:23,630 - INFO - Ping to IP 18.180.171.67 from VM ctest-vn1-vm1-68321677 passed 2025-10-28 08:54:23,630 - INFO - Deleting interface with subnet_id eb9232ab-cc45-4f2f-b8e0-9cb23f7af0f2, port_id None from router bd3b8d70-f470-4fbb-9e4a-fee0f5808789 2025-10-28 08:54:24,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:54:24,543 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.180.171.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-28 08:54:24,543 - DEBUG - ping -s 56 -c 3 -W 1 18.180.171.67 2025-10-28 08:54:27,867 - DEBUG - PING 18.180.171.67 (18.180.171.67): 56 data bytes --- 18.180.171.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 08:54:27,868 - WARNING - Ping to IP 18.180.171.67 from VM ctest-vn1-vm1-68321677 failed 2025-10-28 08:54:27,869 - INFO - Adding interface with subnet_id eb9232ab-cc45-4f2f-b8e0-9cb23f7af0f2, port_id None to router bd3b8d70-f470-4fbb-9e4a-fee0f5808789 2025-10-28 08:54:29,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:54:29,119 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.180.171.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-28 08:54:29,119 - DEBUG - ping -s 56 -c 3 -W 1 18.180.171.67 2025-10-28 08:54:32,367 - DEBUG - PING 18.180.171.67 (18.180.171.67): 56 data bytes 64 bytes from 18.180.171.67: seq=1 ttl=63 time=2.197 ms 64 bytes from 18.180.171.67: seq=2 ttl=63 time=1.147 ms --- 18.180.171.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.147/1.672/2.197 ms 2025-10-28 08:54:32,367 - WARNING - Ping to IP 18.180.171.67 from VM ctest-vn1-vm1-68321677 failed 2025-10-28 08:54:33,368 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.180.171.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-28 08:54:33,369 - DEBUG - ping -s 56 -c 3 -W 1 18.180.171.67 2025-10-28 08:54:35,630 - DEBUG - PING 18.180.171.67 (18.180.171.67): 56 data bytes 64 bytes from 18.180.171.67: seq=0 ttl=63 time=4.579 ms 64 bytes from 18.180.171.67: seq=1 ttl=63 time=1.117 ms 64 bytes from 18.180.171.67: seq=2 ttl=63 time=0.894 ms --- 18.180.171.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.894/2.196/4.579 ms 2025-10-28 08:54:35,630 - INFO - Ping to IP 18.180.171.67 from VM ctest-vn1-vm1-68321677 passed 2025-10-28 08:54:35,630 - INFO - Deleting interface with subnet_id 8d9f3b12-24cc-4537-bc75-06f29c51b095, port_id None from router bd3b8d70-f470-4fbb-9e4a-fee0f5808789 2025-10-28 08:54:35,915 - INFO - Deleting interface with subnet_id eb9232ab-cc45-4f2f-b8e0-9cb23f7af0f2, port_id None from router bd3b8d70-f470-4fbb-9e4a-fee0f5808789 2025-10-28 08:54:36,352 - INFO - Deleting VM ctest-vn2-vm1-96762845 2025-10-28 08:54:36,495 - INFO - Deleting VM ctest-vn1-vm1-68321677 2025-10-28 08:54:36,625 - INFO - Deleting VN ctest-vn2-69127302 2025-10-28 08:54:36,784 - DEBUG - VN 84a78922-e3d4-42b7-a8ad-336e70a20148 still in use: Unable to complete operation on network 84a78922-e3d4-42b7-a8ad-336e70a20148. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3a93c14-9cea-4dcd-a435-37c3b287ed22'] 2025-10-28 08:54:36,784 - WARNING - Deleting VN ctest-vn2-69127302 failed..Will retry 2025-10-28 08:54:39,010 - DEBUG - Response for deleting network () 2025-10-28 08:54:39,010 - INFO - Deleting VN ctest-vn1-65288493 2025-10-28 08:54:39,226 - DEBUG - Response for deleting network () 2025-10-28 08:54:39,622 - DEBUG - No XMPP flaps were noticed during the test 2025-10-28 08:54:39,622 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:50] 2025-10-28 08:54:39,622 - INFO - -------------------------------------------------------------------------------- 2025-10-28 08:54:40,382 - INFO - Deleted project: ctest-TestRouters-00886611, ID : e099ebca-63a5-40ac-bf96-f956a9a0fc8c