2025-09-01 15:07:46,654 - INFO - Domain Default found not creating 2025-09-01 15:07:46,826 - INFO - Project ctest-TestRouters-97411434 not found, creating it 2025-09-01 15:07:47,262 - INFO - Created Project:ctest-TestRouters-97411434, ID : da0c5c48-9862-485d-af26-3f1e966d218c 2025-09-01 15:07:48,821 - INFO - ================================================================================ 2025-09-01 15:07:48,821 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-01 15:07:48,821 - 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-01 15:07:49,077 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-01 15:07:49,077 - INFO - Initial checks done. Running the testcase now 2025-09-01 15:07:49,077 - INFO - 2025-09-01 15:07:49,701 - DEBUG - Response for create_network : {'network': {'id': 'd5ca3db3-ad69-498c-b534-cd0d6a493564', 'name': 'ctest-vn1-54224593', 'tenant_id': 'da0c5c489862485daf263f1e966d218c', 'project_id': 'da0c5c489862485daf263f1e966d218c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97411434', 'ctest-vn1-54224593'], 'port_security_enabled': True, 'description': ''}} 2025-09-01 15:07:49,981 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e52a783d-02a8-46a6-a820-c1e6ab4ffa84', 'name': '', 'tenant_id': 'da0c5c489862485daf263f1e966d218c', 'network_id': 'd5ca3db3-ad69-498c-b534-cd0d6a493564', 'ip_version': 4, 'cidr': '9.41.219.192/26', 'allocation_pools': [{'start': '9.41.219.194', 'end': '9.41.219.254'}], 'gateway_ip': '9.41.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.41.219.194', 'tags': [], 'project_id': 'da0c5c489862485daf263f1e966d218c'}} 2025-09-01 15:07:50,000 - INFO - Created VN ctest-vn1-54224593 2025-09-01 15:07:50,052 - DEBUG - VN ctest-vn1-54224593 UUID is d5ca3db3-ad69-498c-b534-cd0d6a493564 2025-09-01 15:07:50,381 - DEBUG - Response for create_network : {'network': {'id': '585bb55f-67e3-45bb-9b64-4ed16291bab4', 'name': 'ctest-vn2-07301843', 'tenant_id': 'da0c5c489862485daf263f1e966d218c', 'project_id': 'da0c5c489862485daf263f1e966d218c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97411434', 'ctest-vn2-07301843'], 'port_security_enabled': True, 'description': ''}} 2025-09-01 15:07:50,568 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa6ac464-b1df-4c36-ab8d-805c2c1b41e3', 'name': '', 'tenant_id': 'da0c5c489862485daf263f1e966d218c', 'network_id': '585bb55f-67e3-45bb-9b64-4ed16291bab4', 'ip_version': 4, 'cidr': '90.51.207.0/26', 'allocation_pools': [{'start': '90.51.207.2', 'end': '90.51.207.62'}], 'gateway_ip': '90.51.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.51.207.2', 'tags': [], 'project_id': 'da0c5c489862485daf263f1e966d218c'}} 2025-09-01 15:07:50,584 - INFO - Created VN ctest-vn2-07301843 2025-09-01 15:07:50,636 - DEBUG - VN ctest-vn2-07301843 UUID is 585bb55f-67e3-45bb-9b64-4ed16291bab4 2025-09-01 15:07:50,822 - DEBUG - Services list from nova: [, , ] 2025-09-01 15:07:51,914 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3997-1) 2025-09-01 15:07:53,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3997-1) 2025-09-01 15:07:53,338 - INFO - Adding interface with subnet_id e52a783d-02a8-46a6-a820-c1e6ab4ffa84, port_id None to router 4601e5bb-03cb-4093-bafd-e6bfe45b3e66 2025-09-01 15:07:53,625 - INFO - Waiting for VM ctest-vn1-vm1-60736006 to be up.. 2025-09-01 15:07:53,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-01 15:07:58,839 - DEBUG - VM is in ACTIVE state now 2025-09-01 15:07:58,839 - INFO - VM name : ctest-vn1-vm1-60736006 2025-09-01 15:07:58,934 - DEBUG - VM ctest-vn1-vm1-60736006 ID is 85ef45fa-f10e-4a66-b16d-9fd631728d91 2025-09-01 15:07:58,956 - DEBUG - VM ctest-vn1-vm1-60736006 launched on Node cn-jenkins-deploy-platform-ansible-os-3997-1 2025-09-01 15:07:59,036 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/85ef45fa-f10e-4a66-b16d-9fd631728d91 2025-09-01 15:07:59,372 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/85ef45fa-f10e-4a66-b16d-9fd631728d91 2025-09-01 15:07:59,412 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e33bbfa9-ce0c-4cf5-803f-69e1e14a3bb7 2025-09-01 15:08:02,663 - 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 1007ms') 2025-09-01 15:08:02,663 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60736006 failed! 2025-09-01 15:08:02,720 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-97411434:ctest-vn1-54224593 is 9.41.219.193 and allocation pool is NOT set 2025-09-01 15:08:04,783 - 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=4.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.36 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 = 2.361/3.601/4.841/1.240 ms') 2025-09-01 15:08:04,783 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60736006 passed 2025-09-01 15:08:04,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:08:04,932 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60736006, IP 9.41.219.195, Port 22 2025-09-01 15:08:05,101 - DEBUG - VM ctest-vn1-vm1-60736006 is ready for SSH connections 2025-09-01 15:08:05,102 - INFO - Waiting for VM ctest-vn2-vm1-52231034 to be up.. 2025-09-01 15:08:05,182 - DEBUG - VM is in ACTIVE state now 2025-09-01 15:08:05,182 - INFO - VM name : ctest-vn2-vm1-52231034 2025-09-01 15:08:05,251 - DEBUG - VM ctest-vn2-vm1-52231034 ID is 3248f7e4-5f36-4556-a9ea-cf75a475701d 2025-09-01 15:08:05,252 - DEBUG - VM ctest-vn2-vm1-52231034 launched on Node cn-jenkins-deploy-platform-ansible-os-3997-1 2025-09-01 15:08:05,318 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3248f7e4-5f36-4556-a9ea-cf75a475701d 2025-09-01 15:08:05,325 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1a56e6d2-caf8-4b4e-a06e-88acf84733b0 2025-09-01 15:08:06,561 - 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=6.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.718 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.718/3.434/6.151/2.716 ms') 2025-09-01 15:08:06,561 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-52231034 passed 2025-09-01 15:08:06,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:08:06,708 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-52231034, IP 90.51.207.3, Port 22 2025-09-01 15:08:06,863 - DEBUG - VM ctest-vn2-vm1-52231034 is ready for SSH connections 2025-09-01 15:08:06,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:08:06,864 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.51.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 15:08:06,864 - DEBUG - ping -s 56 -c 3 -W 1 90.51.207.3 2025-09-01 15:08:11,922 - DEBUG - PING 90.51.207.3 (90.51.207.3): 56 data bytes --- 90.51.207.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-01 15:08:11,922 - WARNING - Ping to IP 90.51.207.3 from VM ctest-vn1-vm1-60736006 failed 2025-09-01 15:08:11,922 - INFO - Adding interface with subnet_id fa6ac464-b1df-4c36-ab8d-805c2c1b41e3, port_id None to router 4601e5bb-03cb-4093-bafd-e6bfe45b3e66 2025-09-01 15:08:12,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:08:12,196 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.51.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 15:08:12,196 - DEBUG - ping -s 56 -c 3 -W 1 90.51.207.3 2025-09-01 15:08:15,426 - DEBUG - PING 90.51.207.3 (90.51.207.3): 56 data bytes 64 bytes from 90.51.207.3: seq=1 ttl=63 time=2.820 ms 64 bytes from 90.51.207.3: seq=2 ttl=63 time=0.814 ms --- 90.51.207.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.814/1.817/2.820 ms 2025-09-01 15:08:15,426 - WARNING - Ping to IP 90.51.207.3 from VM ctest-vn1-vm1-60736006 failed 2025-09-01 15:08:16,427 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.51.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 15:08:16,427 - DEBUG - ping -s 56 -c 3 -W 1 90.51.207.3 2025-09-01 15:08:18,652 - DEBUG - PING 90.51.207.3 (90.51.207.3): 56 data bytes 64 bytes from 90.51.207.3: seq=0 ttl=63 time=1.561 ms 64 bytes from 90.51.207.3: seq=1 ttl=63 time=0.919 ms 64 bytes from 90.51.207.3: seq=2 ttl=63 time=0.776 ms --- 90.51.207.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.776/1.085/1.561 ms 2025-09-01 15:08:18,652 - INFO - Ping to IP 90.51.207.3 from VM ctest-vn1-vm1-60736006 passed 2025-09-01 15:08:18,652 - INFO - Deleting interface with subnet_id e52a783d-02a8-46a6-a820-c1e6ab4ffa84, port_id None from router 4601e5bb-03cb-4093-bafd-e6bfe45b3e66 2025-09-01 15:08:18,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:08:18,772 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.51.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 15:08:18,772 - DEBUG - ping -s 56 -c 3 -W 1 90.51.207.3 2025-09-01 15:08:21,990 - DEBUG - PING 90.51.207.3 (90.51.207.3): 56 data bytes --- 90.51.207.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-01 15:08:21,990 - WARNING - Ping to IP 90.51.207.3 from VM ctest-vn1-vm1-60736006 failed 2025-09-01 15:08:21,990 - INFO - Adding interface with subnet_id e52a783d-02a8-46a6-a820-c1e6ab4ffa84, port_id None to router 4601e5bb-03cb-4093-bafd-e6bfe45b3e66 2025-09-01 15:08:22,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 15:08:22,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.51.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 15:08:22,228 - DEBUG - ping -s 56 -c 3 -W 1 90.51.207.3 2025-09-01 15:08:24,453 - DEBUG - PING 90.51.207.3 (90.51.207.3): 56 data bytes 64 bytes from 90.51.207.3: seq=0 ttl=63 time=1.306 ms 64 bytes from 90.51.207.3: seq=1 ttl=63 time=0.768 ms 64 bytes from 90.51.207.3: seq=2 ttl=63 time=0.985 ms --- 90.51.207.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.768/1.019/1.306 ms 2025-09-01 15:08:24,453 - INFO - Ping to IP 90.51.207.3 from VM ctest-vn1-vm1-60736006 passed 2025-09-01 15:08:24,453 - INFO - Deleting interface with subnet_id fa6ac464-b1df-4c36-ab8d-805c2c1b41e3, port_id None from router 4601e5bb-03cb-4093-bafd-e6bfe45b3e66 2025-09-01 15:08:24,581 - INFO - Deleting interface with subnet_id e52a783d-02a8-46a6-a820-c1e6ab4ffa84, port_id None from router 4601e5bb-03cb-4093-bafd-e6bfe45b3e66 2025-09-01 15:08:24,765 - INFO - Deleting VM ctest-vn2-vm1-52231034 2025-09-01 15:08:24,837 - INFO - Deleting VM ctest-vn1-vm1-60736006 2025-09-01 15:08:24,907 - INFO - Deleting VN ctest-vn2-07301843 2025-09-01 15:08:24,941 - DEBUG - VN 585bb55f-67e3-45bb-9b64-4ed16291bab4 still in use: Unable to complete operation on network 585bb55f-67e3-45bb-9b64-4ed16291bab4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f844518c-01f9-425b-8252-6cded440c31d'] 2025-09-01 15:08:24,941 - WARNING - Deleting VN ctest-vn2-07301843 failed..Will retry 2025-09-01 15:08:27,037 - DEBUG - Response for deleting network () 2025-09-01 15:08:27,037 - INFO - Deleting VN ctest-vn1-54224593 2025-09-01 15:08:27,129 - DEBUG - Response for deleting network () 2025-09-01 15:08:27,381 - DEBUG - No XMPP flaps were noticed during the test 2025-09-01 15:08:27,382 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-09-01 15:08:27,382 - INFO - -------------------------------------------------------------------------------- 2025-09-01 15:08:28,092 - INFO - Deleted project: ctest-TestRouters-97411434, ID : da0c5c48-9862-485d-af26-3f1e966d218c