2025-09-24 05:39:20,498 - INFO - Domain Default found not creating 2025-09-24 05:39:20,657 - INFO - Project ctest-TestRouters-60650065 not found, creating it 2025-09-24 05:39:21,108 - INFO - Created Project:ctest-TestRouters-60650065, ID : a8132afd-a371-4bf6-919c-70337de59481 2025-09-24 05:39:22,635 - INFO - ================================================================================ 2025-09-24 05:39:22,635 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-24 05:39:22,635 - 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-09-24 05:39:22,896 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-24 05:39:22,896 - INFO - Initial checks done. Running the testcase now 2025-09-24 05:39:22,896 - INFO - 2025-09-24 05:39:23,457 - DEBUG - Response for create_network : {'network': {'id': '189de2bf-2d3a-4c94-87d6-1b4498971927', 'name': 'ctest-vn1-96053188', 'tenant_id': 'a8132afda3714bf6919c70337de59481', 'project_id': 'a8132afda3714bf6919c70337de59481', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-60650065', 'ctest-vn1-96053188'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 05:39:23,671 - DEBUG - Response for create_subnet : {'subnet': {'id': '3aa6ba09-811d-4ad4-8f24-2daeb57120bd', 'name': '', 'tenant_id': 'a8132afda3714bf6919c70337de59481', 'network_id': '189de2bf-2d3a-4c94-87d6-1b4498971927', 'ip_version': 4, 'cidr': '124.17.139.0/26', 'allocation_pools': [{'start': '124.17.139.2', 'end': '124.17.139.62'}], 'gateway_ip': '124.17.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.17.139.2', 'tags': [], 'project_id': 'a8132afda3714bf6919c70337de59481'}} 2025-09-24 05:39:23,688 - INFO - Created VN ctest-vn1-96053188 2025-09-24 05:39:23,738 - DEBUG - VN ctest-vn1-96053188 UUID is 189de2bf-2d3a-4c94-87d6-1b4498971927 2025-09-24 05:39:24,093 - DEBUG - Response for create_network : {'network': {'id': '0f61229f-2ba6-4bc7-bb0e-0d2ac3618445', 'name': 'ctest-vn2-65387934', 'tenant_id': 'a8132afda3714bf6919c70337de59481', 'project_id': 'a8132afda3714bf6919c70337de59481', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-60650065', 'ctest-vn2-65387934'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 05:39:24,316 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb007e2d-d339-4bce-9ea3-343c54faeb1a', 'name': '', 'tenant_id': 'a8132afda3714bf6919c70337de59481', 'network_id': '0f61229f-2ba6-4bc7-bb0e-0d2ac3618445', 'ip_version': 4, 'cidr': '81.185.37.128/26', 'allocation_pools': [{'start': '81.185.37.130', 'end': '81.185.37.190'}], 'gateway_ip': '81.185.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.185.37.130', 'tags': [], 'project_id': 'a8132afda3714bf6919c70337de59481'}} 2025-09-24 05:39:24,332 - INFO - Created VN ctest-vn2-65387934 2025-09-24 05:39:24,382 - DEBUG - VN ctest-vn2-65387934 UUID is 0f61229f-2ba6-4bc7-bb0e-0d2ac3618445 2025-09-24 05:39:24,625 - DEBUG - Services list from nova: [, , ] 2025-09-24 05:39:25,749 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4180-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4180-1) 2025-09-24 05:39:26,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4180-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4180-1) 2025-09-24 05:39:26,939 - INFO - Adding interface with subnet_id 3aa6ba09-811d-4ad4-8f24-2daeb57120bd, port_id None to router 977ca198-ad26-454a-a4a7-87d9f790c3b1 2025-09-24 05:39:27,216 - INFO - Waiting for VM ctest-vn1-vm1-08913252 to be up.. 2025-09-24 05:39:27,346 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-24 05:39:32,414 - DEBUG - VM is in ACTIVE state now 2025-09-24 05:39:32,414 - INFO - VM name : ctest-vn1-vm1-08913252 2025-09-24 05:39:32,488 - DEBUG - VM ctest-vn1-vm1-08913252 ID is 13a24af5-22f3-497b-b64c-c78318c410cd 2025-09-24 05:39:32,507 - DEBUG - VM ctest-vn1-vm1-08913252 launched on Node cn-jenkins-deploy-platform-ansible-os-4180-1 2025-09-24 05:39:32,589 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/13a24af5-22f3-497b-b64c-c78318c410cd 2025-09-24 05:39:32,885 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/13a24af5-22f3-497b-b64c-c78318c410cd 2025-09-24 05:39:32,921 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/aa64b191-8acb-4469-81b0-11873bc91667 2025-09-24 05:39:36,201 - 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 1014ms') 2025-09-24 05:39:36,201 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08913252 failed! 2025-09-24 05:39:36,258 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-60650065:ctest-vn1-96053188 is 124.17.139.1 and allocation pool is NOT set 2025-09-24 05:39:38,327 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=6.24 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 = 3.948/5.094/6.240/1.146 ms') 2025-09-24 05:39:38,327 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08913252 passed 2025-09-24 05:39:38,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 05:39:38,482 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08913252, IP 124.17.139.3, Port 22 2025-09-24 05:39:38,646 - DEBUG - VM ctest-vn1-vm1-08913252 is ready for SSH connections 2025-09-24 05:39:38,646 - INFO - Waiting for VM ctest-vn2-vm1-37605465 to be up.. 2025-09-24 05:39:38,722 - DEBUG - VM is in ACTIVE state now 2025-09-24 05:39:38,722 - INFO - VM name : ctest-vn2-vm1-37605465 2025-09-24 05:39:38,790 - DEBUG - VM ctest-vn2-vm1-37605465 ID is b6daafb9-6d13-46ae-aa4d-856a176fd7e9 2025-09-24 05:39:38,790 - DEBUG - VM ctest-vn2-vm1-37605465 launched on Node cn-jenkins-deploy-platform-ansible-os-4180-1 2025-09-24 05:39:38,872 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/b6daafb9-6d13-46ae-aa4d-856a176fd7e9 2025-09-24 05:39:38,880 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f04629ec-23ba-4e37-a87d-0c52f2a85122 2025-09-24 05:39:40,119 - 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=4.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.496/2.269/4.042/1.773 ms') 2025-09-24 05:39:40,119 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-37605465 passed 2025-09-24 05:39:40,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 05:39:40,267 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-37605465, IP 81.185.37.131, Port 22 2025-09-24 05:39:40,426 - DEBUG - VM ctest-vn2-vm1-37605465 is ready for SSH connections 2025-09-24 05:39:40,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 05:39:40,426 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.185.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 05:39:40,426 - DEBUG - ping -s 56 -c 3 -W 1 81.185.37.131 2025-09-24 05:39:45,402 - DEBUG - PING 81.185.37.131 (81.185.37.131): 56 data bytes --- 81.185.37.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-24 05:39:45,402 - WARNING - Ping to IP 81.185.37.131 from VM ctest-vn1-vm1-08913252 failed 2025-09-24 05:39:45,402 - INFO - Adding interface with subnet_id bb007e2d-d339-4bce-9ea3-343c54faeb1a, port_id None to router 977ca198-ad26-454a-a4a7-87d9f790c3b1 2025-09-24 05:39:45,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 05:39:45,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.185.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 05:39:45,646 - DEBUG - ping -s 56 -c 3 -W 1 81.185.37.131 2025-09-24 05:39:48,850 - DEBUG - PING 81.185.37.131 (81.185.37.131): 56 data bytes 64 bytes from 81.185.37.131: seq=1 ttl=63 time=2.681 ms 64 bytes from 81.185.37.131: seq=2 ttl=63 time=1.040 ms --- 81.185.37.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.040/1.860/2.681 ms 2025-09-24 05:39:48,851 - WARNING - Ping to IP 81.185.37.131 from VM ctest-vn1-vm1-08913252 failed 2025-09-24 05:39:49,851 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.185.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 05:39:49,851 - DEBUG - ping -s 56 -c 3 -W 1 81.185.37.131 2025-09-24 05:39:52,065 - DEBUG - PING 81.185.37.131 (81.185.37.131): 56 data bytes 64 bytes from 81.185.37.131: seq=0 ttl=63 time=1.695 ms 64 bytes from 81.185.37.131: seq=1 ttl=63 time=1.081 ms 64 bytes from 81.185.37.131: seq=2 ttl=63 time=0.929 ms --- 81.185.37.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.929/1.235/1.695 ms 2025-09-24 05:39:52,065 - INFO - Ping to IP 81.185.37.131 from VM ctest-vn1-vm1-08913252 passed 2025-09-24 05:39:52,065 - INFO - Deleting interface with subnet_id 3aa6ba09-811d-4ad4-8f24-2daeb57120bd, port_id None from router 977ca198-ad26-454a-a4a7-87d9f790c3b1 2025-09-24 05:39:52,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 05:39:52,172 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.185.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 05:39:52,173 - DEBUG - ping -s 56 -c 3 -W 1 81.185.37.131 2025-09-24 05:39:55,365 - DEBUG - PING 81.185.37.131 (81.185.37.131): 56 data bytes --- 81.185.37.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-24 05:39:55,366 - WARNING - Ping to IP 81.185.37.131 from VM ctest-vn1-vm1-08913252 failed 2025-09-24 05:39:55,366 - INFO - Adding interface with subnet_id 3aa6ba09-811d-4ad4-8f24-2daeb57120bd, port_id None to router 977ca198-ad26-454a-a4a7-87d9f790c3b1 2025-09-24 05:39:55,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 05:39:55,611 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.185.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 05:39:55,611 - DEBUG - ping -s 56 -c 3 -W 1 81.185.37.131 2025-09-24 05:39:57,805 - DEBUG - PING 81.185.37.131 (81.185.37.131): 56 data bytes 64 bytes from 81.185.37.131: seq=0 ttl=63 time=1.526 ms 64 bytes from 81.185.37.131: seq=1 ttl=63 time=1.043 ms 64 bytes from 81.185.37.131: seq=2 ttl=63 time=0.905 ms --- 81.185.37.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.905/1.158/1.526 ms 2025-09-24 05:39:57,806 - INFO - Ping to IP 81.185.37.131 from VM ctest-vn1-vm1-08913252 passed 2025-09-24 05:39:57,806 - INFO - Deleting interface with subnet_id bb007e2d-d339-4bce-9ea3-343c54faeb1a, port_id None from router 977ca198-ad26-454a-a4a7-87d9f790c3b1 2025-09-24 05:39:57,942 - INFO - Deleting interface with subnet_id 3aa6ba09-811d-4ad4-8f24-2daeb57120bd, port_id None from router 977ca198-ad26-454a-a4a7-87d9f790c3b1 2025-09-24 05:39:58,108 - INFO - Deleting VM ctest-vn2-vm1-37605465 2025-09-24 05:39:58,197 - INFO - Deleting VM ctest-vn1-vm1-08913252 2025-09-24 05:39:58,269 - INFO - Deleting VN ctest-vn2-65387934 2025-09-24 05:39:58,305 - DEBUG - VN 0f61229f-2ba6-4bc7-bb0e-0d2ac3618445 still in use: Unable to complete operation on network 0f61229f-2ba6-4bc7-bb0e-0d2ac3618445. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf3aadf8-6752-4f2f-9bf1-94fb431ceb30'] 2025-09-24 05:39:58,305 - WARNING - Deleting VN ctest-vn2-65387934 failed..Will retry 2025-09-24 05:40:00,397 - DEBUG - Response for deleting network () 2025-09-24 05:40:00,398 - INFO - Deleting VN ctest-vn1-96053188 2025-09-24 05:40:00,500 - DEBUG - Response for deleting network () 2025-09-24 05:40:00,759 - DEBUG - No XMPP flaps were noticed during the test 2025-09-24 05:40:00,759 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-24 05:40:00,759 - INFO - -------------------------------------------------------------------------------- 2025-09-24 05:40:01,400 - INFO - Deleted project: ctest-TestRouters-60650065, ID : a8132afd-a371-4bf6-919c-70337de59481