2025-10-09 17:53:34,006 - INFO - Domain Default found not creating 2025-10-09 17:53:34,160 - INFO - Project ctest-TestRouters-21150988 not found, creating it 2025-10-09 17:53:34,613 - INFO - Created Project:ctest-TestRouters-21150988, ID : 6b14fc0f-05d3-4025-87a1-fafe5ff415bb 2025-10-09 17:53:36,160 - INFO - ================================================================================ 2025-10-09 17:53:36,160 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 17:53:36,160 - 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-09 17:53:36,415 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.17': '0'}} with 2025-10-09 17:53:36,415 - INFO - Initial checks done. Running the testcase now 2025-10-09 17:53:36,416 - INFO - 2025-10-09 17:53:37,162 - DEBUG - Response for create_network : {'network': {'id': '8615de1a-b322-4c69-86ab-7895be69ecd2', 'name': 'ctest-vn1-80154810', 'tenant_id': '6b14fc0f05d3402587a1fafe5ff415bb', 'project_id': '6b14fc0f05d3402587a1fafe5ff415bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21150988', 'ctest-vn1-80154810'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 17:53:37,381 - DEBUG - Response for create_subnet : {'subnet': {'id': '1731a05b-d0ba-4970-b66c-ac027f9fba16', 'name': '', 'tenant_id': '6b14fc0f05d3402587a1fafe5ff415bb', 'network_id': '8615de1a-b322-4c69-86ab-7895be69ecd2', 'ip_version': 4, 'cidr': '149.131.126.0/26', 'allocation_pools': [{'start': '149.131.126.2', 'end': '149.131.126.62'}], 'gateway_ip': '149.131.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.131.126.2', 'tags': [], 'project_id': '6b14fc0f05d3402587a1fafe5ff415bb'}} 2025-10-09 17:53:37,399 - INFO - Created VN ctest-vn1-80154810 2025-10-09 17:53:37,452 - DEBUG - VN ctest-vn1-80154810 UUID is 8615de1a-b322-4c69-86ab-7895be69ecd2 2025-10-09 17:53:37,807 - DEBUG - Response for create_network : {'network': {'id': '9b1dc5bc-bb04-41ca-a96c-55576ece7228', 'name': 'ctest-vn2-28904796', 'tenant_id': '6b14fc0f05d3402587a1fafe5ff415bb', 'project_id': '6b14fc0f05d3402587a1fafe5ff415bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21150988', 'ctest-vn2-28904796'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 17:53:38,002 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a57d7942-0a26-4734-938c-1fc39a9f913e', 'name': '', 'tenant_id': '6b14fc0f05d3402587a1fafe5ff415bb', 'network_id': '9b1dc5bc-bb04-41ca-a96c-55576ece7228', 'ip_version': 4, 'cidr': '152.145.92.0/26', 'allocation_pools': [{'start': '152.145.92.2', 'end': '152.145.92.62'}], 'gateway_ip': '152.145.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.145.92.2', 'tags': [], 'project_id': '6b14fc0f05d3402587a1fafe5ff415bb'}} 2025-10-09 17:53:38,019 - INFO - Created VN ctest-vn2-28904796 2025-10-09 17:53:38,076 - DEBUG - VN ctest-vn2-28904796 UUID is 9b1dc5bc-bb04-41ca-a96c-55576ece7228 2025-10-09 17:53:38,252 - DEBUG - Services list from nova: [, , ] 2025-10-09 17:53:39,299 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4271-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4271-1) 2025-10-09 17:53:40,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4271-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4271-1) 2025-10-09 17:53:40,685 - INFO - Adding interface with subnet_id 1731a05b-d0ba-4970-b66c-ac027f9fba16, port_id None to router 0df5acc7-d7c5-4cb4-b079-1c9afb3be2ae 2025-10-09 17:53:40,992 - INFO - Waiting for VM ctest-vn1-vm1-43822597 to be up.. 2025-10-09 17:53:41,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 17:53:46,211 - DEBUG - VM is in ACTIVE state now 2025-10-09 17:53:46,211 - INFO - VM name : ctest-vn1-vm1-43822597 2025-10-09 17:53:46,305 - DEBUG - VM ctest-vn1-vm1-43822597 ID is cdaef763-5a4d-4bff-af32-c1237293c14c 2025-10-09 17:53:46,329 - DEBUG - VM ctest-vn1-vm1-43822597 launched on Node cn-jenkins-deploy-platform-ansible-os-4271-1 2025-10-09 17:53:46,416 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/cdaef763-5a4d-4bff-af32-c1237293c14c 2025-10-09 17:53:46,711 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/cdaef763-5a4d-4bff-af32-c1237293c14c 2025-10-09 17:53:46,740 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/1b41cb4a-7586-4ac2-8e83-bb46c8ab7f19 2025-10-09 17:53:49,984 - 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 1006ms') 2025-10-09 17:53:49,984 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43822597 failed! 2025-10-09 17:53:50,040 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-21150988:ctest-vn1-80154810 is 149.131.126.1 and allocation pool is NOT set 2025-10-09 17:53:52,100 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/2.830/5.207/2.376 ms') 2025-10-09 17:53:52,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43822597 passed 2025-10-09 17:53:52,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:53:52,248 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43822597, IP 149.131.126.3, Port 22 2025-10-09 17:53:52,403 - DEBUG - VM ctest-vn1-vm1-43822597 is ready for SSH connections 2025-10-09 17:53:52,403 - INFO - Waiting for VM ctest-vn2-vm1-35760116 to be up.. 2025-10-09 17:53:52,486 - DEBUG - VM is in ACTIVE state now 2025-10-09 17:53:52,486 - INFO - VM name : ctest-vn2-vm1-35760116 2025-10-09 17:53:52,560 - DEBUG - VM ctest-vn2-vm1-35760116 ID is 0cd9492d-9467-408b-ad1d-9fb8d48dfd78 2025-10-09 17:53:52,560 - DEBUG - VM ctest-vn2-vm1-35760116 launched on Node cn-jenkins-deploy-platform-ansible-os-4271-1 2025-10-09 17:53:52,632 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/0cd9492d-9467-408b-ad1d-9fb8d48dfd78 2025-10-09 17:53:52,641 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/f4382cf1-cc8c-49ee-9726-df286d3b0ab6 2025-10-09 17:53:53,890 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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.470/2.060/3.650/1.590 ms') 2025-10-09 17:53:53,890 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-35760116 passed 2025-10-09 17:53:54,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:53:54,044 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-35760116, IP 152.145.92.3, Port 22 2025-10-09 17:53:54,203 - DEBUG - VM ctest-vn2-vm1-35760116 is ready for SSH connections 2025-10-09 17:53:54,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:53:54,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.145.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-09 17:53:54,203 - DEBUG - ping -s 56 -c 3 -W 1 152.145.92.3 2025-10-09 17:53:59,277 - DEBUG - PING 152.145.92.3 (152.145.92.3): 56 data bytes --- 152.145.92.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 17:53:59,277 - WARNING - Ping to IP 152.145.92.3 from VM ctest-vn1-vm1-43822597 failed 2025-10-09 17:53:59,277 - INFO - Adding interface with subnet_id a57d7942-0a26-4734-938c-1fc39a9f913e, port_id None to router 0df5acc7-d7c5-4cb4-b079-1c9afb3be2ae 2025-10-09 17:53:59,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:53:59,563 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.145.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-09 17:53:59,563 - DEBUG - ping -s 56 -c 3 -W 1 152.145.92.3 2025-10-09 17:54:02,758 - DEBUG - PING 152.145.92.3 (152.145.92.3): 56 data bytes 64 bytes from 152.145.92.3: seq=1 ttl=63 time=3.481 ms 64 bytes from 152.145.92.3: seq=2 ttl=63 time=0.877 ms --- 152.145.92.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.877/2.179/3.481 ms 2025-10-09 17:54:02,759 - WARNING - Ping to IP 152.145.92.3 from VM ctest-vn1-vm1-43822597 failed 2025-10-09 17:54:03,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.145.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-09 17:54:03,760 - DEBUG - ping -s 56 -c 3 -W 1 152.145.92.3 2025-10-09 17:54:05,970 - DEBUG - PING 152.145.92.3 (152.145.92.3): 56 data bytes 64 bytes from 152.145.92.3: seq=0 ttl=63 time=1.506 ms 64 bytes from 152.145.92.3: seq=1 ttl=63 time=0.868 ms 64 bytes from 152.145.92.3: seq=2 ttl=63 time=0.793 ms --- 152.145.92.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.793/1.055/1.506 ms 2025-10-09 17:54:05,970 - INFO - Ping to IP 152.145.92.3 from VM ctest-vn1-vm1-43822597 passed 2025-10-09 17:54:05,970 - INFO - Deleting interface with subnet_id 1731a05b-d0ba-4970-b66c-ac027f9fba16, port_id None from router 0df5acc7-d7c5-4cb4-b079-1c9afb3be2ae 2025-10-09 17:54:06,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:54:06,120 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.145.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-09 17:54:06,120 - DEBUG - ping -s 56 -c 3 -W 1 152.145.92.3 2025-10-09 17:54:09,331 - DEBUG - PING 152.145.92.3 (152.145.92.3): 56 data bytes --- 152.145.92.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 17:54:09,331 - WARNING - Ping to IP 152.145.92.3 from VM ctest-vn1-vm1-43822597 failed 2025-10-09 17:54:09,331 - INFO - Adding interface with subnet_id 1731a05b-d0ba-4970-b66c-ac027f9fba16, port_id None to router 0df5acc7-d7c5-4cb4-b079-1c9afb3be2ae 2025-10-09 17:54:09,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 17:54:09,570 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.145.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-09 17:54:09,570 - DEBUG - ping -s 56 -c 3 -W 1 152.145.92.3 2025-10-09 17:54:11,781 - DEBUG - PING 152.145.92.3 (152.145.92.3): 56 data bytes 64 bytes from 152.145.92.3: seq=0 ttl=63 time=1.393 ms 64 bytes from 152.145.92.3: seq=1 ttl=63 time=0.928 ms 64 bytes from 152.145.92.3: seq=2 ttl=63 time=0.821 ms --- 152.145.92.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.821/1.047/1.393 ms 2025-10-09 17:54:11,781 - INFO - Ping to IP 152.145.92.3 from VM ctest-vn1-vm1-43822597 passed 2025-10-09 17:54:11,781 - INFO - Deleting interface with subnet_id a57d7942-0a26-4734-938c-1fc39a9f913e, port_id None from router 0df5acc7-d7c5-4cb4-b079-1c9afb3be2ae 2025-10-09 17:54:11,914 - INFO - Deleting interface with subnet_id 1731a05b-d0ba-4970-b66c-ac027f9fba16, port_id None from router 0df5acc7-d7c5-4cb4-b079-1c9afb3be2ae 2025-10-09 17:54:12,112 - INFO - Deleting VM ctest-vn2-vm1-35760116 2025-10-09 17:54:12,195 - INFO - Deleting VM ctest-vn1-vm1-43822597 2025-10-09 17:54:12,263 - INFO - Deleting VN ctest-vn2-28904796 2025-10-09 17:54:12,306 - DEBUG - VN 9b1dc5bc-bb04-41ca-a96c-55576ece7228 still in use: Unable to complete operation on network 9b1dc5bc-bb04-41ca-a96c-55576ece7228. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8ff9289c-ca64-4d27-b220-a190b954ee90'] 2025-10-09 17:54:12,306 - WARNING - Deleting VN ctest-vn2-28904796 failed..Will retry 2025-10-09 17:54:14,435 - DEBUG - Response for deleting network () 2025-10-09 17:54:14,435 - INFO - Deleting VN ctest-vn1-80154810 2025-10-09 17:54:14,554 - DEBUG - Response for deleting network () 2025-10-09 17:54:14,809 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 17:54:14,809 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-09 17:54:14,809 - INFO - -------------------------------------------------------------------------------- 2025-10-09 17:54:15,488 - INFO - Deleted project: ctest-TestRouters-21150988, ID : 6b14fc0f-05d3-4025-87a1-fafe5ff415bb