2025-10-21 17:38:30,089 - INFO - Domain Default found not creating 2025-10-21 17:38:30,234 - INFO - Project ctest-TestRouters-22609434 not found, creating it 2025-10-21 17:38:30,681 - INFO - Created Project:ctest-TestRouters-22609434, ID : 12afcf4b-066d-4e70-983d-f7109ee7f37d 2025-10-21 17:38:32,253 - INFO - ================================================================================ 2025-10-21 17:38:32,254 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-21 17:38:32,254 - 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-21 17:38:32,513 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 17:38:32,514 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:38:32,514 - INFO - 2025-10-21 17:38:33,465 - DEBUG - Response for create_network : {'network': {'id': 'c620a5ab-a569-4c36-a9b9-18b321e448e2', 'name': 'ctest-vn1-98307713', 'tenant_id': '12afcf4b066d4e70983df7109ee7f37d', 'project_id': '12afcf4b066d4e70983df7109ee7f37d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-22609434', 'ctest-vn1-98307713'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:38:33,876 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7a1c1ed-cd48-4116-96b8-7e73e2d289b6', 'name': '', 'tenant_id': '12afcf4b066d4e70983df7109ee7f37d', 'network_id': 'c620a5ab-a569-4c36-a9b9-18b321e448e2', 'ip_version': 4, 'cidr': '103.84.104.192/26', 'allocation_pools': [{'start': '103.84.104.194', 'end': '103.84.104.254'}], 'gateway_ip': '103.84.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.84.104.194', 'tags': [], 'project_id': '12afcf4b066d4e70983df7109ee7f37d'}} 2025-10-21 17:38:33,897 - INFO - Created VN ctest-vn1-98307713 2025-10-21 17:38:33,957 - DEBUG - VN ctest-vn1-98307713 UUID is c620a5ab-a569-4c36-a9b9-18b321e448e2 2025-10-21 17:38:34,259 - DEBUG - Response for create_network : {'network': {'id': '2a4701cd-0696-4cd9-8600-77b20b38f45d', 'name': 'ctest-vn2-26625823', 'tenant_id': '12afcf4b066d4e70983df7109ee7f37d', 'project_id': '12afcf4b066d4e70983df7109ee7f37d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-22609434', 'ctest-vn2-26625823'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:38:34,489 - DEBUG - Response for create_subnet : {'subnet': {'id': '34303ef9-82aa-43a5-8739-ef23f137247f', 'name': '', 'tenant_id': '12afcf4b066d4e70983df7109ee7f37d', 'network_id': '2a4701cd-0696-4cd9-8600-77b20b38f45d', 'ip_version': 4, 'cidr': '131.41.129.0/26', 'allocation_pools': [{'start': '131.41.129.2', 'end': '131.41.129.62'}], 'gateway_ip': '131.41.129.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.41.129.2', 'tags': [], 'project_id': '12afcf4b066d4e70983df7109ee7f37d'}} 2025-10-21 17:38:34,510 - INFO - Created VN ctest-vn2-26625823 2025-10-21 17:38:34,561 - DEBUG - VN ctest-vn2-26625823 UUID is 2a4701cd-0696-4cd9-8600-77b20b38f45d 2025-10-21 17:38:34,744 - DEBUG - Services list from nova: [, , ] 2025-10-21 17:38:35,848 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4400-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4400-1) 2025-10-21 17:38:37,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4400-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4400-1) 2025-10-21 17:38:37,312 - INFO - Adding interface with subnet_id f7a1c1ed-cd48-4116-96b8-7e73e2d289b6, port_id None to router 9beb5d9c-ee22-42fa-bc85-427521153a82 2025-10-21 17:38:37,564 - INFO - Waiting for VM ctest-vn1-vm1-83186633 to be up.. 2025-10-21 17:38:37,672 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 17:38:42,748 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:38:42,748 - INFO - VM name : ctest-vn1-vm1-83186633 2025-10-21 17:38:42,825 - DEBUG - VM ctest-vn1-vm1-83186633 ID is 7d0d55f8-1252-4f28-b5b3-86146c94027e 2025-10-21 17:38:42,845 - DEBUG - VM ctest-vn1-vm1-83186633 launched on Node cn-jenkins-deploy-platform-ansible-os-4400-1 2025-10-21 17:38:42,916 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7d0d55f8-1252-4f28-b5b3-86146c94027e 2025-10-21 17:38:43,249 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7d0d55f8-1252-4f28-b5b3-86146c94027e 2025-10-21 17:38:43,280 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f10aead3-19a5-4b7c-9c68-ec6181241f6c 2025-10-21 17:38:46,515 - 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-10-21 17:38:46,515 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83186633 failed! 2025-10-21 17:38:46,569 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-22609434:ctest-vn1-98307713 is 103.84.104.193 and allocation pool is NOT set 2025-10-21 17:38:48,634 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.934 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.934/2.388/3.843/1.454 ms') 2025-10-21 17:38:48,634 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83186633 passed 2025-10-21 17:38:48,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:38:48,785 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83186633, IP 103.84.104.195, Port 22 2025-10-21 17:38:48,950 - DEBUG - VM ctest-vn1-vm1-83186633 is ready for SSH connections 2025-10-21 17:38:48,950 - INFO - Waiting for VM ctest-vn2-vm1-45707268 to be up.. 2025-10-21 17:38:49,035 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:38:49,035 - INFO - VM name : ctest-vn2-vm1-45707268 2025-10-21 17:38:49,109 - DEBUG - VM ctest-vn2-vm1-45707268 ID is 7d049f18-a389-4091-9b07-102d87b9e85d 2025-10-21 17:38:49,109 - DEBUG - VM ctest-vn2-vm1-45707268 launched on Node cn-jenkins-deploy-platform-ansible-os-4400-1 2025-10-21 17:38:49,182 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7d049f18-a389-4091-9b07-102d87b9e85d 2025-10-21 17:38:49,189 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f3199e8a-ec42-48ac-894b-3581a5f29fe8 2025-10-21 17:38:50,432 - 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=2.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.476 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.476/1.662/2.848/1.186 ms') 2025-10-21 17:38:50,432 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-45707268 passed 2025-10-21 17:38:50,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:38:50,585 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-45707268, IP 131.41.129.3, Port 22 2025-10-21 17:38:50,740 - DEBUG - VM ctest-vn2-vm1-45707268 is ready for SSH connections 2025-10-21 17:38:50,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:38:50,740 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.41.129.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 17:38:50,740 - DEBUG - ping -s 56 -c 3 -W 1 131.41.129.3 2025-10-21 17:38:55,797 - DEBUG - PING 131.41.129.3 (131.41.129.3): 56 data bytes --- 131.41.129.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 17:38:55,797 - WARNING - Ping to IP 131.41.129.3 from VM ctest-vn1-vm1-83186633 failed 2025-10-21 17:38:55,797 - INFO - Adding interface with subnet_id 34303ef9-82aa-43a5-8739-ef23f137247f, port_id None to router 9beb5d9c-ee22-42fa-bc85-427521153a82 2025-10-21 17:38:56,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:38:56,027 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.41.129.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 17:38:56,027 - DEBUG - ping -s 56 -c 3 -W 1 131.41.129.3 2025-10-21 17:38:59,248 - DEBUG - PING 131.41.129.3 (131.41.129.3): 56 data bytes 64 bytes from 131.41.129.3: seq=1 ttl=63 time=3.946 ms 64 bytes from 131.41.129.3: seq=2 ttl=63 time=0.954 ms --- 131.41.129.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.954/2.450/3.946 ms 2025-10-21 17:38:59,248 - WARNING - Ping to IP 131.41.129.3 from VM ctest-vn1-vm1-83186633 failed 2025-10-21 17:39:00,249 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.41.129.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 17:39:00,249 - DEBUG - ping -s 56 -c 3 -W 1 131.41.129.3 2025-10-21 17:39:02,466 - DEBUG - PING 131.41.129.3 (131.41.129.3): 56 data bytes 64 bytes from 131.41.129.3: seq=0 ttl=63 time=1.520 ms 64 bytes from 131.41.129.3: seq=1 ttl=63 time=0.802 ms 64 bytes from 131.41.129.3: seq=2 ttl=63 time=0.870 ms --- 131.41.129.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/1.064/1.520 ms 2025-10-21 17:39:02,466 - INFO - Ping to IP 131.41.129.3 from VM ctest-vn1-vm1-83186633 passed 2025-10-21 17:39:02,466 - INFO - Deleting interface with subnet_id f7a1c1ed-cd48-4116-96b8-7e73e2d289b6, port_id None from router 9beb5d9c-ee22-42fa-bc85-427521153a82 2025-10-21 17:39:02,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:39:02,595 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.41.129.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 17:39:02,595 - DEBUG - ping -s 56 -c 3 -W 1 131.41.129.3 2025-10-21 17:39:05,816 - DEBUG - PING 131.41.129.3 (131.41.129.3): 56 data bytes --- 131.41.129.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 17:39:05,816 - WARNING - Ping to IP 131.41.129.3 from VM ctest-vn1-vm1-83186633 failed 2025-10-21 17:39:05,816 - INFO - Adding interface with subnet_id f7a1c1ed-cd48-4116-96b8-7e73e2d289b6, port_id None to router 9beb5d9c-ee22-42fa-bc85-427521153a82 2025-10-21 17:39:06,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:39:06,026 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.41.129.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 17:39:06,026 - DEBUG - ping -s 56 -c 3 -W 1 131.41.129.3 2025-10-21 17:39:08,251 - DEBUG - PING 131.41.129.3 (131.41.129.3): 56 data bytes 64 bytes from 131.41.129.3: seq=0 ttl=63 time=1.556 ms 64 bytes from 131.41.129.3: seq=1 ttl=63 time=0.929 ms 64 bytes from 131.41.129.3: seq=2 ttl=63 time=0.952 ms --- 131.41.129.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.929/1.145/1.556 ms 2025-10-21 17:39:08,251 - INFO - Ping to IP 131.41.129.3 from VM ctest-vn1-vm1-83186633 passed 2025-10-21 17:39:08,251 - INFO - Deleting interface with subnet_id 34303ef9-82aa-43a5-8739-ef23f137247f, port_id None from router 9beb5d9c-ee22-42fa-bc85-427521153a82 2025-10-21 17:39:08,366 - INFO - Deleting interface with subnet_id f7a1c1ed-cd48-4116-96b8-7e73e2d289b6, port_id None from router 9beb5d9c-ee22-42fa-bc85-427521153a82 2025-10-21 17:39:08,555 - INFO - Deleting VM ctest-vn2-vm1-45707268 2025-10-21 17:39:08,636 - INFO - Deleting VM ctest-vn1-vm1-83186633 2025-10-21 17:39:08,712 - INFO - Deleting VN ctest-vn2-26625823 2025-10-21 17:39:08,755 - DEBUG - VN 2a4701cd-0696-4cd9-8600-77b20b38f45d still in use: Unable to complete operation on network 2a4701cd-0696-4cd9-8600-77b20b38f45d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-58cf70e8-adef-48ad-9f04-d9192eef17da'] 2025-10-21 17:39:08,755 - WARNING - Deleting VN ctest-vn2-26625823 failed..Will retry 2025-10-21 17:39:10,857 - DEBUG - Response for deleting network () 2025-10-21 17:39:10,858 - INFO - Deleting VN ctest-vn1-98307713 2025-10-21 17:39:10,969 - DEBUG - Response for deleting network () 2025-10-21 17:39:11,226 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:39:11,226 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-21 17:39:11,226 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:39:11,965 - INFO - Deleted project: ctest-TestRouters-22609434, ID : 12afcf4b-066d-4e70-983d-f7109ee7f37d