2025-09-04 20:24:29,849 - INFO - Domain Default found not creating 2025-09-04 20:24:29,994 - INFO - Project ctest-TestRouters-62648239 not found, creating it 2025-09-04 20:24:30,452 - INFO - Created Project:ctest-TestRouters-62648239, ID : af51bf8a-397a-4391-affb-e511d1ebb420 2025-09-04 20:24:32,030 - INFO - ================================================================================ 2025-09-04 20:24:32,030 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-04 20:24:32,030 - 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-04 20:24:32,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-09-04 20:24:32,283 - INFO - Initial checks done. Running the testcase now 2025-09-04 20:24:32,283 - INFO - 2025-09-04 20:24:32,869 - DEBUG - Response for create_network : {'network': {'id': 'ffb6709d-e79f-4e14-a30a-46d97c0f5e92', 'name': 'ctest-vn1-76364525', 'tenant_id': 'af51bf8a397a4391affbe511d1ebb420', 'project_id': 'af51bf8a397a4391affbe511d1ebb420', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62648239', 'ctest-vn1-76364525'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 20:24:33,032 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4f786d9-d969-484c-a1a6-576a38e9c001', 'name': '', 'tenant_id': 'af51bf8a397a4391affbe511d1ebb420', 'network_id': 'ffb6709d-e79f-4e14-a30a-46d97c0f5e92', 'ip_version': 4, 'cidr': '38.141.192.128/26', 'allocation_pools': [{'start': '38.141.192.130', 'end': '38.141.192.190'}], 'gateway_ip': '38.141.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.141.192.130', 'tags': [], 'project_id': 'af51bf8a397a4391affbe511d1ebb420'}} 2025-09-04 20:24:33,050 - INFO - Created VN ctest-vn1-76364525 2025-09-04 20:24:33,102 - DEBUG - VN ctest-vn1-76364525 UUID is ffb6709d-e79f-4e14-a30a-46d97c0f5e92 2025-09-04 20:24:33,409 - DEBUG - Response for create_network : {'network': {'id': '711f637d-ea43-4384-9aa6-33ebc70f8929', 'name': 'ctest-vn2-16334789', 'tenant_id': 'af51bf8a397a4391affbe511d1ebb420', 'project_id': 'af51bf8a397a4391affbe511d1ebb420', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62648239', 'ctest-vn2-16334789'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 20:24:33,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '6df883bc-dbfc-4267-99ba-265f78602661', 'name': '', 'tenant_id': 'af51bf8a397a4391affbe511d1ebb420', 'network_id': '711f637d-ea43-4384-9aa6-33ebc70f8929', 'ip_version': 4, 'cidr': '22.170.233.64/26', 'allocation_pools': [{'start': '22.170.233.66', 'end': '22.170.233.126'}], 'gateway_ip': '22.170.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.170.233.66', 'tags': [], 'project_id': 'af51bf8a397a4391affbe511d1ebb420'}} 2025-09-04 20:24:33,597 - INFO - Created VN ctest-vn2-16334789 2025-09-04 20:24:33,650 - DEBUG - VN ctest-vn2-16334789 UUID is 711f637d-ea43-4384-9aa6-33ebc70f8929 2025-09-04 20:24:33,855 - DEBUG - Services list from nova: [, , ] 2025-09-04 20:24:34,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4020-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4020-1) 2025-09-04 20:24:36,325 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4020-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4020-1) 2025-09-04 20:24:36,391 - INFO - Adding interface with subnet_id c4f786d9-d969-484c-a1a6-576a38e9c001, port_id None to router 9f93fed9-419d-4df8-8e72-d52684d83102 2025-09-04 20:24:36,709 - INFO - Waiting for VM ctest-vn1-vm1-35589240 to be up.. 2025-09-04 20:24:36,834 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 20:24:41,907 - DEBUG - VM is in ACTIVE state now 2025-09-04 20:24:41,907 - INFO - VM name : ctest-vn1-vm1-35589240 2025-09-04 20:24:41,981 - DEBUG - VM ctest-vn1-vm1-35589240 ID is bf6df961-a955-4f78-8c92-c6d5e14617a1 2025-09-04 20:24:41,999 - DEBUG - VM ctest-vn1-vm1-35589240 launched on Node cn-jenkins-deploy-platform-ansible-os-4020-1 2025-09-04 20:24:42,072 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bf6df961-a955-4f78-8c92-c6d5e14617a1 2025-09-04 20:24:42,404 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bf6df961-a955-4f78-8c92-c6d5e14617a1 2025-09-04 20:24:42,435 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f4aec7d4-4598-4dbc-b75e-b14fbedd8054 2025-09-04 20:24:45,683 - 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 1001ms') 2025-09-04 20:24:45,683 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35589240 failed! 2025-09-04 20:24:45,742 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-62648239:ctest-vn1-76364525 is 38.141.192.129 and allocation pool is NOT set 2025-09-04 20:24:47,806 - 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=8.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 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.404/4.676/8.948/4.272 ms') 2025-09-04 20:24:47,807 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35589240 passed 2025-09-04 20:24:47,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:24:47,954 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35589240, IP 38.141.192.131, Port 22 2025-09-04 20:24:48,117 - DEBUG - VM ctest-vn1-vm1-35589240 is ready for SSH connections 2025-09-04 20:24:48,117 - INFO - Waiting for VM ctest-vn2-vm1-30383526 to be up.. 2025-09-04 20:24:48,195 - DEBUG - VM is in ACTIVE state now 2025-09-04 20:24:48,195 - INFO - VM name : ctest-vn2-vm1-30383526 2025-09-04 20:24:48,267 - DEBUG - VM ctest-vn2-vm1-30383526 ID is 6d24e894-37fc-40aa-8cdb-217901c423d1 2025-09-04 20:24:48,268 - DEBUG - VM ctest-vn2-vm1-30383526 launched on Node cn-jenkins-deploy-platform-ansible-os-4020-1 2025-09-04 20:24:48,343 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6d24e894-37fc-40aa-8cdb-217901c423d1 2025-09-04 20:24:48,351 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/79e50d9c-d085-45f9-87b8-6ef07ee3c57b 2025-09-04 20:24:49,590 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 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.461/1.783/3.105/1.322 ms') 2025-09-04 20:24:49,590 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-30383526 passed 2025-09-04 20:24:49,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:24:49,748 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-30383526, IP 22.170.233.67, Port 22 2025-09-04 20:24:49,906 - DEBUG - VM ctest-vn2-vm1-30383526 is ready for SSH connections 2025-09-04 20:24:49,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:24:49,906 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.170.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-04 20:24:49,906 - DEBUG - ping -s 56 -c 3 -W 1 22.170.233.67 2025-09-04 20:24:54,966 - DEBUG - PING 22.170.233.67 (22.170.233.67): 56 data bytes --- 22.170.233.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 20:24:54,967 - WARNING - Ping to IP 22.170.233.67 from VM ctest-vn1-vm1-35589240 failed 2025-09-04 20:24:54,967 - INFO - Adding interface with subnet_id 6df883bc-dbfc-4267-99ba-265f78602661, port_id None to router 9f93fed9-419d-4df8-8e72-d52684d83102 2025-09-04 20:24:55,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:24:55,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.170.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-04 20:24:55,204 - DEBUG - ping -s 56 -c 3 -W 1 22.170.233.67 2025-09-04 20:24:58,422 - DEBUG - PING 22.170.233.67 (22.170.233.67): 56 data bytes 64 bytes from 22.170.233.67: seq=1 ttl=63 time=2.859 ms 64 bytes from 22.170.233.67: seq=2 ttl=63 time=0.890 ms --- 22.170.233.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.890/1.874/2.859 ms 2025-09-04 20:24:58,423 - WARNING - Ping to IP 22.170.233.67 from VM ctest-vn1-vm1-35589240 failed 2025-09-04 20:24:59,424 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.170.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-04 20:24:59,424 - DEBUG - ping -s 56 -c 3 -W 1 22.170.233.67 2025-09-04 20:25:01,635 - DEBUG - PING 22.170.233.67 (22.170.233.67): 56 data bytes 64 bytes from 22.170.233.67: seq=0 ttl=63 time=1.418 ms 64 bytes from 22.170.233.67: seq=1 ttl=63 time=0.883 ms 64 bytes from 22.170.233.67: seq=2 ttl=63 time=0.894 ms --- 22.170.233.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/1.065/1.418 ms 2025-09-04 20:25:01,635 - INFO - Ping to IP 22.170.233.67 from VM ctest-vn1-vm1-35589240 passed 2025-09-04 20:25:01,635 - INFO - Deleting interface with subnet_id c4f786d9-d969-484c-a1a6-576a38e9c001, port_id None from router 9f93fed9-419d-4df8-8e72-d52684d83102 2025-09-04 20:25:01,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:25:01,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.170.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-04 20:25:01,761 - DEBUG - ping -s 56 -c 3 -W 1 22.170.233.67 2025-09-04 20:25:04,984 - DEBUG - PING 22.170.233.67 (22.170.233.67): 56 data bytes --- 22.170.233.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 20:25:04,985 - WARNING - Ping to IP 22.170.233.67 from VM ctest-vn1-vm1-35589240 failed 2025-09-04 20:25:04,985 - INFO - Adding interface with subnet_id c4f786d9-d969-484c-a1a6-576a38e9c001, port_id None to router 9f93fed9-419d-4df8-8e72-d52684d83102 2025-09-04 20:25:05,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:25:05,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.170.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-04 20:25:05,213 - DEBUG - ping -s 56 -c 3 -W 1 22.170.233.67 2025-09-04 20:25:07,433 - DEBUG - PING 22.170.233.67 (22.170.233.67): 56 data bytes 64 bytes from 22.170.233.67: seq=0 ttl=63 time=1.374 ms 64 bytes from 22.170.233.67: seq=1 ttl=63 time=0.984 ms 64 bytes from 22.170.233.67: seq=2 ttl=63 time=0.880 ms --- 22.170.233.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/1.079/1.374 ms 2025-09-04 20:25:07,433 - INFO - Ping to IP 22.170.233.67 from VM ctest-vn1-vm1-35589240 passed 2025-09-04 20:25:07,434 - INFO - Deleting interface with subnet_id 6df883bc-dbfc-4267-99ba-265f78602661, port_id None from router 9f93fed9-419d-4df8-8e72-d52684d83102 2025-09-04 20:25:07,546 - INFO - Deleting interface with subnet_id c4f786d9-d969-484c-a1a6-576a38e9c001, port_id None from router 9f93fed9-419d-4df8-8e72-d52684d83102 2025-09-04 20:25:07,732 - INFO - Deleting VM ctest-vn2-vm1-30383526 2025-09-04 20:25:07,809 - INFO - Deleting VM ctest-vn1-vm1-35589240 2025-09-04 20:25:07,876 - INFO - Deleting VN ctest-vn2-16334789 2025-09-04 20:25:07,915 - DEBUG - VN 711f637d-ea43-4384-9aa6-33ebc70f8929 still in use: Unable to complete operation on network 711f637d-ea43-4384-9aa6-33ebc70f8929. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6617a807-3945-43b8-bf1d-bc56ae7b6b2f'] 2025-09-04 20:25:07,915 - WARNING - Deleting VN ctest-vn2-16334789 failed..Will retry 2025-09-04 20:25:10,051 - DEBUG - Response for deleting network () 2025-09-04 20:25:10,051 - INFO - Deleting VN ctest-vn1-76364525 2025-09-04 20:25:10,165 - DEBUG - Response for deleting network () 2025-09-04 20:25:10,423 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 20:25:10,423 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-04 20:25:10,423 - INFO - -------------------------------------------------------------------------------- 2025-09-04 20:25:11,146 - INFO - Deleted project: ctest-TestRouters-62648239, ID : af51bf8a-397a-4391-affb-e511d1ebb420