2025-07-24 02:25:40,999 - INFO - Domain Default found not creating 2025-07-24 02:25:41,185 - INFO - Project ctest-TestRouters-34849667 not found, creating it 2025-07-24 02:25:41,728 - INFO - Created Project:ctest-TestRouters-34849667, ID : 4d2c5362-1bee-4a66-84e6-ba7405b41655 2025-07-24 02:25:43,376 - INFO - ================================================================================ 2025-07-24 02:25:43,376 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-24 02:25:43,377 - 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-07-24 02:25:43,650 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-24 02:25:43,650 - INFO - Initial checks done. Running the testcase now 2025-07-24 02:25:43,650 - INFO - 2025-07-24 02:25:44,374 - DEBUG - Response for create_network : {'network': {'id': 'c5aa59f5-56d5-4c08-82cd-538c73a7308f', 'name': 'ctest-vn1-16865394', 'tenant_id': '4d2c53621bee4a6684e6ba7405b41655', 'project_id': '4d2c53621bee4a6684e6ba7405b41655', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34849667', 'ctest-vn1-16865394'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:25:44,683 - DEBUG - Response for create_subnet : {'subnet': {'id': '14e34b0c-dcf5-4ee5-8152-42d9b75a59c9', 'name': '', 'tenant_id': '4d2c53621bee4a6684e6ba7405b41655', 'network_id': 'c5aa59f5-56d5-4c08-82cd-538c73a7308f', 'ip_version': 4, 'cidr': '189.33.1.128/26', 'allocation_pools': [{'start': '189.33.1.130', 'end': '189.33.1.190'}], 'gateway_ip': '189.33.1.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.33.1.130', 'tags': [], 'project_id': '4d2c53621bee4a6684e6ba7405b41655'}} 2025-07-24 02:25:44,715 - INFO - Created VN ctest-vn1-16865394 2025-07-24 02:25:44,776 - DEBUG - VN ctest-vn1-16865394 UUID is c5aa59f5-56d5-4c08-82cd-538c73a7308f 2025-07-24 02:25:45,116 - DEBUG - Response for create_network : {'network': {'id': 'd57841e3-5f30-417a-aada-417833c3cc87', 'name': 'ctest-vn2-81082434', 'tenant_id': '4d2c53621bee4a6684e6ba7405b41655', 'project_id': '4d2c53621bee4a6684e6ba7405b41655', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34849667', 'ctest-vn2-81082434'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:25:45,320 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f73594f1-e8db-45a4-bbea-74373dbebc39', 'name': '', 'tenant_id': '4d2c53621bee4a6684e6ba7405b41655', 'network_id': 'd57841e3-5f30-417a-aada-417833c3cc87', 'ip_version': 4, 'cidr': '142.154.244.0/26', 'allocation_pools': [{'start': '142.154.244.2', 'end': '142.154.244.62'}], 'gateway_ip': '142.154.244.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.154.244.2', 'tags': [], 'project_id': '4d2c53621bee4a6684e6ba7405b41655'}} 2025-07-24 02:25:45,345 - INFO - Created VN ctest-vn2-81082434 2025-07-24 02:25:45,404 - DEBUG - VN ctest-vn2-81082434 UUID is d57841e3-5f30-417a-aada-417833c3cc87 2025-07-24 02:25:45,591 - DEBUG - Services list from nova: [, , ] 2025-07-24 02:25:46,708 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3711-1) 2025-07-24 02:25:48,135 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3711-1) 2025-07-24 02:25:48,243 - INFO - Adding interface with subnet_id 14e34b0c-dcf5-4ee5-8152-42d9b75a59c9, port_id None to router 97668159-27c2-477e-9df4-bdff7942af8b 2025-07-24 02:25:48,731 - INFO - Waiting for VM ctest-vn1-vm1-62116752 to be up.. 2025-07-24 02:25:48,912 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-24 02:25:54,008 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:25:54,008 - INFO - VM name : ctest-vn1-vm1-62116752 2025-07-24 02:25:54,125 - DEBUG - VM ctest-vn1-vm1-62116752 ID is d9f7c7b6-de32-4164-907a-107a2d977619 2025-07-24 02:25:54,155 - DEBUG - VM ctest-vn1-vm1-62116752 launched on Node cn-jenkins-deploy-platform-ansible-os-3711-1 2025-07-24 02:25:54,242 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d9f7c7b6-de32-4164-907a-107a2d977619 2025-07-24 02:25:54,553 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d9f7c7b6-de32-4164-907a-107a2d977619 2025-07-24 02:25:54,599 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1e026e65-72cd-4c33-9f3b-11b29387651a 2025-07-24 02:25:57,884 - 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 1019ms') 2025-07-24 02:25:57,884 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62116752 failed! 2025-07-24 02:25:57,944 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-34849667:ctest-vn1-16865394 is 189.33.1.129 and allocation pool is NOT set 2025-07-24 02:26:00,015 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.26 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 = 1.261/3.399/5.538/2.138 ms') 2025-07-24 02:26:00,016 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62116752 passed 2025-07-24 02:26:00,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:26:00,172 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62116752, IP 189.33.1.131, Port 22 2025-07-24 02:26:00,338 - DEBUG - VM ctest-vn1-vm1-62116752 is ready for SSH connections 2025-07-24 02:26:00,338 - INFO - Waiting for VM ctest-vn2-vm1-74771756 to be up.. 2025-07-24 02:26:00,433 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:26:00,433 - INFO - VM name : ctest-vn2-vm1-74771756 2025-07-24 02:26:00,523 - DEBUG - VM ctest-vn2-vm1-74771756 ID is 008b85aa-e360-439a-8ae6-eabc779c847e 2025-07-24 02:26:00,523 - DEBUG - VM ctest-vn2-vm1-74771756 launched on Node cn-jenkins-deploy-platform-ansible-os-3711-1 2025-07-24 02:26:00,620 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/008b85aa-e360-439a-8ae6-eabc779c847e 2025-07-24 02:26:00,633 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ec60f4b7-459a-466b-82fc-b38e577ed2a3 2025-07-24 02:26:01,891 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.924 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.924/2.828/4.732/1.904 ms') 2025-07-24 02:26:01,891 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-74771756 passed 2025-07-24 02:26:02,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:26:02,048 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-74771756, IP 142.154.244.3, Port 22 2025-07-24 02:26:02,214 - DEBUG - VM ctest-vn2-vm1-74771756 is ready for SSH connections 2025-07-24 02:26:02,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:26:02,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.154.244.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-24 02:26:02,214 - DEBUG - ping -s 56 -c 3 -W 1 142.154.244.3 2025-07-24 02:26:07,269 - DEBUG - PING 142.154.244.3 (142.154.244.3): 56 data bytes --- 142.154.244.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-24 02:26:07,270 - WARNING - Ping to IP 142.154.244.3 from VM ctest-vn1-vm1-62116752 failed 2025-07-24 02:26:07,270 - INFO - Adding interface with subnet_id f73594f1-e8db-45a4-bbea-74373dbebc39, port_id None to router 97668159-27c2-477e-9df4-bdff7942af8b 2025-07-24 02:26:07,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:26:07,619 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.154.244.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-24 02:26:07,619 - DEBUG - ping -s 56 -c 3 -W 1 142.154.244.3 2025-07-24 02:26:10,889 - DEBUG - PING 142.154.244.3 (142.154.244.3): 56 data bytes 64 bytes from 142.154.244.3: seq=1 ttl=63 time=2.984 ms 64 bytes from 142.154.244.3: seq=2 ttl=63 time=1.091 ms --- 142.154.244.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.091/2.037/2.984 ms 2025-07-24 02:26:10,889 - WARNING - Ping to IP 142.154.244.3 from VM ctest-vn1-vm1-62116752 failed 2025-07-24 02:26:11,889 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.154.244.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-24 02:26:11,890 - DEBUG - ping -s 56 -c 3 -W 1 142.154.244.3 2025-07-24 02:26:14,128 - DEBUG - PING 142.154.244.3 (142.154.244.3): 56 data bytes 64 bytes from 142.154.244.3: seq=0 ttl=63 time=2.399 ms 64 bytes from 142.154.244.3: seq=1 ttl=63 time=1.246 ms 64 bytes from 142.154.244.3: seq=2 ttl=63 time=1.439 ms --- 142.154.244.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.246/1.694/2.399 ms 2025-07-24 02:26:14,128 - INFO - Ping to IP 142.154.244.3 from VM ctest-vn1-vm1-62116752 passed 2025-07-24 02:26:14,129 - INFO - Deleting interface with subnet_id 14e34b0c-dcf5-4ee5-8152-42d9b75a59c9, port_id None from router 97668159-27c2-477e-9df4-bdff7942af8b 2025-07-24 02:26:14,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:26:14,281 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.154.244.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-24 02:26:14,281 - DEBUG - ping -s 56 -c 3 -W 1 142.154.244.3 2025-07-24 02:26:17,501 - DEBUG - PING 142.154.244.3 (142.154.244.3): 56 data bytes --- 142.154.244.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-24 02:26:17,501 - WARNING - Ping to IP 142.154.244.3 from VM ctest-vn1-vm1-62116752 failed 2025-07-24 02:26:17,501 - INFO - Adding interface with subnet_id 14e34b0c-dcf5-4ee5-8152-42d9b75a59c9, port_id None to router 97668159-27c2-477e-9df4-bdff7942af8b 2025-07-24 02:26:17,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:26:17,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.154.244.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-24 02:26:17,758 - DEBUG - ping -s 56 -c 3 -W 1 142.154.244.3 2025-07-24 02:26:19,990 - DEBUG - PING 142.154.244.3 (142.154.244.3): 56 data bytes 64 bytes from 142.154.244.3: seq=0 ttl=63 time=1.888 ms 64 bytes from 142.154.244.3: seq=1 ttl=63 time=1.353 ms 64 bytes from 142.154.244.3: seq=2 ttl=63 time=0.997 ms --- 142.154.244.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.997/1.412/1.888 ms 2025-07-24 02:26:19,991 - INFO - Ping to IP 142.154.244.3 from VM ctest-vn1-vm1-62116752 passed 2025-07-24 02:26:19,991 - INFO - Deleting interface with subnet_id f73594f1-e8db-45a4-bbea-74373dbebc39, port_id None from router 97668159-27c2-477e-9df4-bdff7942af8b 2025-07-24 02:26:20,132 - INFO - Deleting interface with subnet_id 14e34b0c-dcf5-4ee5-8152-42d9b75a59c9, port_id None from router 97668159-27c2-477e-9df4-bdff7942af8b 2025-07-24 02:26:20,347 - INFO - Deleting VM ctest-vn2-vm1-74771756 2025-07-24 02:26:20,442 - INFO - Deleting VM ctest-vn1-vm1-62116752 2025-07-24 02:26:20,540 - INFO - Deleting VN ctest-vn2-81082434 2025-07-24 02:26:20,589 - DEBUG - VN d57841e3-5f30-417a-aada-417833c3cc87 still in use: Unable to complete operation on network d57841e3-5f30-417a-aada-417833c3cc87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-704a48e8-57f4-4dee-977b-877f2f347bc7'] 2025-07-24 02:26:20,589 - WARNING - Deleting VN ctest-vn2-81082434 failed..Will retry 2025-07-24 02:26:22,738 - DEBUG - Response for deleting network () 2025-07-24 02:26:22,738 - INFO - Deleting VN ctest-vn1-16865394 2025-07-24 02:26:22,867 - DEBUG - Response for deleting network () 2025-07-24 02:26:23,141 - DEBUG - No XMPP flaps were noticed during the test
2025-07-24 02:26:23,141 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40]
2025-07-24 02:26:23,141 - INFO - -------------------------------------------------------------------------------- 2025-07-24 02:26:23,876 - INFO - Deleted project: ctest-TestRouters-34849667, ID : 4d2c5362-1bee-4a66-84e6-ba7405b41655