2025-08-11 07:39:32,278 - INFO - Domain Default found not creating 2025-08-11 07:39:32,431 - INFO - Project ctest-TestRouters-92621066 not found, creating it 2025-08-11 07:39:32,912 - INFO - Created Project:ctest-TestRouters-92621066, ID : 26fdbf80-3641-48ad-a4f6-6f3ea7ff165a 2025-08-11 07:39:34,368 - INFO - ================================================================================ 2025-08-11 07:39:34,368 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 07:39:34,368 - 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-08-11 07:39:34,627 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-08-11 07:39:34,627 - INFO - Initial checks done. Running the testcase now 2025-08-11 07:39:34,627 - INFO - 2025-08-11 07:39:35,159 - DEBUG - Response for create_network : {'network': {'id': '765201b5-ab8a-4c8e-a68a-fb1a4b61562f', 'name': 'ctest-vn1-14911886', 'tenant_id': '26fdbf80364148ada4f66f3ea7ff165a', 'project_id': '26fdbf80364148ada4f66f3ea7ff165a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92621066', 'ctest-vn1-14911886'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 07:39:35,380 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f205e6f4-3ebc-483d-a340-2e9cb9f1bcca', 'name': '', 'tenant_id': '26fdbf80364148ada4f66f3ea7ff165a', 'network_id': '765201b5-ab8a-4c8e-a68a-fb1a4b61562f', 'ip_version': 4, 'cidr': '110.26.164.64/26', 'allocation_pools': [{'start': '110.26.164.66', 'end': '110.26.164.126'}], 'gateway_ip': '110.26.164.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.26.164.66', 'tags': [], 'project_id': '26fdbf80364148ada4f66f3ea7ff165a'}} 2025-08-11 07:39:35,399 - INFO - Created VN ctest-vn1-14911886 2025-08-11 07:39:35,454 - DEBUG - VN ctest-vn1-14911886 UUID is 765201b5-ab8a-4c8e-a68a-fb1a4b61562f 2025-08-11 07:39:35,807 - DEBUG - Response for create_network : {'network': {'id': 'bee533c9-9973-4cc5-82bd-e6ad3409d1f3', 'name': 'ctest-vn2-15775137', 'tenant_id': '26fdbf80364148ada4f66f3ea7ff165a', 'project_id': '26fdbf80364148ada4f66f3ea7ff165a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-92621066', 'ctest-vn2-15775137'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 07:39:36,031 - DEBUG - Response for create_subnet : {'subnet': {'id': '5908b6ec-775b-48ae-96f0-8298b4883585', 'name': '', 'tenant_id': '26fdbf80364148ada4f66f3ea7ff165a', 'network_id': 'bee533c9-9973-4cc5-82bd-e6ad3409d1f3', 'ip_version': 4, 'cidr': '111.164.61.0/26', 'allocation_pools': [{'start': '111.164.61.2', 'end': '111.164.61.62'}], 'gateway_ip': '111.164.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.164.61.2', 'tags': [], 'project_id': '26fdbf80364148ada4f66f3ea7ff165a'}} 2025-08-11 07:39:36,050 - INFO - Created VN ctest-vn2-15775137 2025-08-11 07:39:36,102 - DEBUG - VN ctest-vn2-15775137 UUID is bee533c9-9973-4cc5-82bd-e6ad3409d1f3 2025-08-11 07:39:36,345 - DEBUG - Services list from nova: [, , ] 2025-08-11 07:39:37,295 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3800-1) 2025-08-11 07:39:38,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3800-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3800-1) 2025-08-11 07:39:38,499 - INFO - Adding interface with subnet_id f205e6f4-3ebc-483d-a340-2e9cb9f1bcca, port_id None to router 6ad8644a-c95d-42d8-aca4-966645e16627 2025-08-11 07:39:38,785 - INFO - Waiting for VM ctest-vn1-vm1-97001433 to be up.. 2025-08-11 07:39:38,929 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 07:39:43,999 - DEBUG - VM is in ACTIVE state now 2025-08-11 07:39:43,999 - INFO - VM name : ctest-vn1-vm1-97001433 2025-08-11 07:39:44,064 - DEBUG - VM ctest-vn1-vm1-97001433 ID is 91b892ea-85e8-49cd-bd4b-58826421f55f 2025-08-11 07:39:44,082 - DEBUG - VM ctest-vn1-vm1-97001433 launched on Node cn-jenkins-deploy-platform-ansible-os-3800-1 2025-08-11 07:39:44,145 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/91b892ea-85e8-49cd-bd4b-58826421f55f 2025-08-11 07:39:44,433 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/91b892ea-85e8-49cd-bd4b-58826421f55f 2025-08-11 07:39:44,461 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/a5cbaec4-e40b-4cfa-a7dd-decdcd7b8f5c 2025-08-11 07:39:47,724 - 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 1027ms') 2025-08-11 07:39:47,724 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97001433 failed! 2025-08-11 07:39:47,782 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-92621066:ctest-vn1-14911886 is 110.26.164.65 and allocation pool is NOT set 2025-08-11 07:39:49,840 - 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=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.321 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.321/1.579/2.837/1.258 ms') 2025-08-11 07:39:49,840 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97001433 passed 2025-08-11 07:39:49,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:39:49,990 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97001433, IP 110.26.164.67, Port 22 2025-08-11 07:39:50,145 - DEBUG - VM ctest-vn1-vm1-97001433 is ready for SSH connections 2025-08-11 07:39:50,145 - INFO - Waiting for VM ctest-vn2-vm1-69432262 to be up.. 2025-08-11 07:39:50,210 - DEBUG - VM is in ACTIVE state now 2025-08-11 07:39:50,210 - INFO - VM name : ctest-vn2-vm1-69432262 2025-08-11 07:39:50,270 - DEBUG - VM ctest-vn2-vm1-69432262 ID is 66844439-07f1-4787-9f40-d608aa3d9345 2025-08-11 07:39:50,270 - DEBUG - VM ctest-vn2-vm1-69432262 launched on Node cn-jenkins-deploy-platform-ansible-os-3800-1 2025-08-11 07:39:50,334 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/66844439-07f1-4787-9f40-d608aa3d9345 2025-08-11 07:39:50,341 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/59b0e098-e966-445a-9b4b-68016f78bf8f 2025-08-11 07:39:51,585 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.809 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.809/2.803/4.798/1.994 ms') 2025-08-11 07:39:51,585 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-69432262 passed 2025-08-11 07:39:51,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:39:51,742 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-69432262, IP 111.164.61.3, Port 22 2025-08-11 07:39:51,894 - DEBUG - VM ctest-vn2-vm1-69432262 is ready for SSH connections 2025-08-11 07:39:51,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:39:51,894 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.164.61.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 07:39:51,894 - DEBUG - ping -s 56 -c 3 -W 1 111.164.61.3 2025-08-11 07:39:56,558 - DEBUG - PING 111.164.61.3 (111.164.61.3): 56 data bytes --- 111.164.61.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 07:39:56,558 - WARNING - Ping to IP 111.164.61.3 from VM ctest-vn1-vm1-97001433 failed 2025-08-11 07:39:56,558 - INFO - Adding interface with subnet_id 5908b6ec-775b-48ae-96f0-8298b4883585, port_id None to router 6ad8644a-c95d-42d8-aca4-966645e16627 2025-08-11 07:39:56,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:39:56,793 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.164.61.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 07:39:56,793 - DEBUG - ping -s 56 -c 3 -W 1 111.164.61.3 2025-08-11 07:39:58,988 - DEBUG - PING 111.164.61.3 (111.164.61.3): 56 data bytes 64 bytes from 111.164.61.3: seq=0 ttl=63 time=2.358 ms 64 bytes from 111.164.61.3: seq=1 ttl=63 time=0.856 ms 64 bytes from 111.164.61.3: seq=2 ttl=63 time=0.814 ms --- 111.164.61.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.342/2.358 ms 2025-08-11 07:39:58,988 - INFO - Ping to IP 111.164.61.3 from VM ctest-vn1-vm1-97001433 passed 2025-08-11 07:39:58,989 - INFO - Deleting interface with subnet_id f205e6f4-3ebc-483d-a340-2e9cb9f1bcca, port_id None from router 6ad8644a-c95d-42d8-aca4-966645e16627 2025-08-11 07:39:59,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:39:59,105 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.164.61.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 07:39:59,105 - DEBUG - ping -s 56 -c 3 -W 1 111.164.61.3 2025-08-11 07:40:02,300 - DEBUG - PING 111.164.61.3 (111.164.61.3): 56 data bytes --- 111.164.61.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 07:40:02,301 - WARNING - Ping to IP 111.164.61.3 from VM ctest-vn1-vm1-97001433 failed 2025-08-11 07:40:02,301 - INFO - Adding interface with subnet_id f205e6f4-3ebc-483d-a340-2e9cb9f1bcca, port_id None to router 6ad8644a-c95d-42d8-aca4-966645e16627 2025-08-11 07:40:02,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 07:40:02,538 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.164.61.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 07:40:02,538 - DEBUG - ping -s 56 -c 3 -W 1 111.164.61.3 2025-08-11 07:40:05,739 - DEBUG - PING 111.164.61.3 (111.164.61.3): 56 data bytes 64 bytes from 111.164.61.3: seq=1 ttl=63 time=1.726 ms 64 bytes from 111.164.61.3: seq=2 ttl=63 time=0.793 ms --- 111.164.61.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.793/1.259/1.726 ms 2025-08-11 07:40:05,739 - WARNING - Ping to IP 111.164.61.3 from VM ctest-vn1-vm1-97001433 failed 2025-08-11 07:40:06,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.164.61.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-11 07:40:06,739 - DEBUG - ping -s 56 -c 3 -W 1 111.164.61.3 2025-08-11 07:40:08,939 - DEBUG - PING 111.164.61.3 (111.164.61.3): 56 data bytes 64 bytes from 111.164.61.3: seq=0 ttl=63 time=1.160 ms 64 bytes from 111.164.61.3: seq=1 ttl=63 time=0.692 ms 64 bytes from 111.164.61.3: seq=2 ttl=63 time=0.681 ms --- 111.164.61.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.681/0.844/1.160 ms 2025-08-11 07:40:08,939 - INFO - Ping to IP 111.164.61.3 from VM ctest-vn1-vm1-97001433 passed 2025-08-11 07:40:08,940 - INFO - Deleting interface with subnet_id 5908b6ec-775b-48ae-96f0-8298b4883585, port_id None from router 6ad8644a-c95d-42d8-aca4-966645e16627 2025-08-11 07:40:09,046 - INFO - Deleting interface with subnet_id f205e6f4-3ebc-483d-a340-2e9cb9f1bcca, port_id None from router 6ad8644a-c95d-42d8-aca4-966645e16627 2025-08-11 07:40:09,205 - INFO - Deleting VM ctest-vn2-vm1-69432262 2025-08-11 07:40:09,273 - INFO - Deleting VM ctest-vn1-vm1-97001433 2025-08-11 07:40:09,345 - INFO - Deleting VN ctest-vn2-15775137 2025-08-11 07:40:09,383 - DEBUG - VN bee533c9-9973-4cc5-82bd-e6ad3409d1f3 still in use: Unable to complete operation on network bee533c9-9973-4cc5-82bd-e6ad3409d1f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef71aae9-7c8b-49d5-83fa-08d42e25948b'] 2025-08-11 07:40:09,383 - WARNING - Deleting VN ctest-vn2-15775137 failed..Will retry 2025-08-11 07:40:11,474 - DEBUG - Response for deleting network () 2025-08-11 07:40:11,474 - INFO - Deleting VN ctest-vn1-14911886 2025-08-11 07:40:11,566 - DEBUG - Response for deleting network () 2025-08-11 07:40:11,819 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 07:40:11,819 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-08-11 07:40:11,819 - INFO - -------------------------------------------------------------------------------- 2025-08-11 07:40:12,463 - INFO - Deleted project: ctest-TestRouters-92621066, ID : 26fdbf80-3641-48ad-a4f6-6f3ea7ff165a