2025-11-02 21:39:57,732 - INFO - Domain Default found not creating 2025-11-02 21:39:57,884 - INFO - Project ctest-TestRouters-55961280 not found, creating it 2025-11-02 21:39:58,346 - INFO - Created Project:ctest-TestRouters-55961280, ID : 9b070e9f-724b-431f-babc-fc2b99c58899 2025-11-02 21:39:59,929 - INFO - ================================================================================ 2025-11-02 21:39:59,929 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-02 21:39:59,929 - 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-11-02 21:40:00,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-02 21:40:00,191 - INFO - Initial checks done. Running the testcase now 2025-11-02 21:40:00,191 - INFO - 2025-11-02 21:40:00,762 - DEBUG - Response for create_network : {'network': {'id': '2f72da9c-1f60-41ea-ba56-8edd11602b41', 'name': 'ctest-vn1-04025768', 'tenant_id': '9b070e9f724b431fbabcfc2b99c58899', 'project_id': '9b070e9f724b431fbabcfc2b99c58899', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55961280', 'ctest-vn1-04025768'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 21:40:00,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '24bb8e84-641b-4e57-81d7-2ac11c77981b', 'name': '', 'tenant_id': '9b070e9f724b431fbabcfc2b99c58899', 'network_id': '2f72da9c-1f60-41ea-ba56-8edd11602b41', 'ip_version': 4, 'cidr': '78.48.219.192/26', 'allocation_pools': [{'start': '78.48.219.194', 'end': '78.48.219.254'}], 'gateway_ip': '78.48.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.48.219.194', 'tags': [], 'project_id': '9b070e9f724b431fbabcfc2b99c58899'}} 2025-11-02 21:40:00,990 - INFO - Created VN ctest-vn1-04025768 2025-11-02 21:40:01,046 - DEBUG - VN ctest-vn1-04025768 UUID is 2f72da9c-1f60-41ea-ba56-8edd11602b41 2025-11-02 21:40:01,418 - DEBUG - Response for create_network : {'network': {'id': '51b739b9-7e29-4945-9c7b-33b49e56b414', 'name': 'ctest-vn2-35185365', 'tenant_id': '9b070e9f724b431fbabcfc2b99c58899', 'project_id': '9b070e9f724b431fbabcfc2b99c58899', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55961280', 'ctest-vn2-35185365'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 21:40:01,616 - DEBUG - Response for create_subnet : {'subnet': {'id': '72bafdb6-b89d-45fc-8a33-ea938634d1bf', 'name': '', 'tenant_id': '9b070e9f724b431fbabcfc2b99c58899', 'network_id': '51b739b9-7e29-4945-9c7b-33b49e56b414', 'ip_version': 4, 'cidr': '107.247.121.192/26', 'allocation_pools': [{'start': '107.247.121.194', 'end': '107.247.121.254'}], 'gateway_ip': '107.247.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.247.121.194', 'tags': [], 'project_id': '9b070e9f724b431fbabcfc2b99c58899'}} 2025-11-02 21:40:01,638 - INFO - Created VN ctest-vn2-35185365 2025-11-02 21:40:01,694 - DEBUG - VN ctest-vn2-35185365 UUID is 51b739b9-7e29-4945-9c7b-33b49e56b414 2025-11-02 21:40:01,901 - DEBUG - Services list from nova: [, , ] 2025-11-02 21:40:03,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4595-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4595-1) 2025-11-02 21:40:04,193 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4595-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4595-1) 2025-11-02 21:40:04,277 - INFO - Adding interface with subnet_id 24bb8e84-641b-4e57-81d7-2ac11c77981b, port_id None to router 8d096829-a586-430d-b370-0bb789db7866 2025-11-02 21:40:04,583 - INFO - Waiting for VM ctest-vn1-vm1-43751143 to be up.. 2025-11-02 21:40:04,686 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 21:40:09,766 - DEBUG - VM is in ACTIVE state now 2025-11-02 21:40:09,766 - INFO - VM name : ctest-vn1-vm1-43751143 2025-11-02 21:40:09,844 - DEBUG - VM ctest-vn1-vm1-43751143 ID is 5ca7b91d-3d2f-4d63-a111-78d63450c291 2025-11-02 21:40:09,871 - DEBUG - VM ctest-vn1-vm1-43751143 launched on Node cn-jenkins-deploy-platform-ansible-os-4595-1 2025-11-02 21:40:09,954 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5ca7b91d-3d2f-4d63-a111-78d63450c291 2025-11-02 21:40:10,255 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5ca7b91d-3d2f-4d63-a111-78d63450c291 2025-11-02 21:40:10,297 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2cf1d27a-99f7-404f-957e-d758b69a33a8 2025-11-02 21:40:13,544 - 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-11-02 21:40:13,544 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43751143 failed! 2025-11-02 21:40:13,598 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55961280:ctest-vn1-04025768 is 78.48.219.193 and allocation pool is NOT set 2025-11-02 21:40:15,660 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.448 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.448/2.011/3.574/1.563 ms') 2025-11-02 21:40:15,660 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43751143 passed 2025-11-02 21:40:15,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:40:15,810 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43751143, IP 78.48.219.195, Port 22 2025-11-02 21:40:15,966 - DEBUG - VM ctest-vn1-vm1-43751143 is ready for SSH connections 2025-11-02 21:40:15,966 - INFO - Waiting for VM ctest-vn2-vm1-18837636 to be up.. 2025-11-02 21:40:16,037 - DEBUG - VM is in ACTIVE state now 2025-11-02 21:40:16,037 - INFO - VM name : ctest-vn2-vm1-18837636 2025-11-02 21:40:16,106 - DEBUG - VM ctest-vn2-vm1-18837636 ID is 63a803a9-ccd3-41a9-9af9-17c43ccf75e0 2025-11-02 21:40:16,107 - DEBUG - VM ctest-vn2-vm1-18837636 launched on Node cn-jenkins-deploy-platform-ansible-os-4595-1 2025-11-02 21:40:16,180 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/63a803a9-ccd3-41a9-9af9-17c43ccf75e0 2025-11-02 21:40:16,189 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/aa92b1c4-f681-465a-a782-ec37005e6c49 2025-11-02 21:40:17,427 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.863/3.314/1.451 ms') 2025-11-02 21:40:17,428 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-18837636 passed 2025-11-02 21:40:17,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:40:17,586 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-18837636, IP 107.247.121.195, Port 22 2025-11-02 21:40:17,767 - DEBUG - VM ctest-vn2-vm1-18837636 is ready for SSH connections 2025-11-02 21:40:17,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:40:17,767 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.247.121.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-02 21:40:17,767 - DEBUG - ping -s 56 -c 3 -W 1 107.247.121.195 2025-11-02 21:40:22,444 - DEBUG - PING 107.247.121.195 (107.247.121.195): 56 data bytes --- 107.247.121.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-02 21:40:22,445 - WARNING - Ping to IP 107.247.121.195 from VM ctest-vn1-vm1-43751143 failed 2025-11-02 21:40:22,445 - INFO - Adding interface with subnet_id 72bafdb6-b89d-45fc-8a33-ea938634d1bf, port_id None to router 8d096829-a586-430d-b370-0bb789db7866 2025-11-02 21:40:22,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:40:22,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.247.121.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-02 21:40:22,697 - DEBUG - ping -s 56 -c 3 -W 1 107.247.121.195 2025-11-02 21:40:25,920 - DEBUG - PING 107.247.121.195 (107.247.121.195): 56 data bytes 64 bytes from 107.247.121.195: seq=1 ttl=63 time=3.082 ms 64 bytes from 107.247.121.195: seq=2 ttl=63 time=0.967 ms --- 107.247.121.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.967/2.024/3.082 ms 2025-11-02 21:40:25,920 - WARNING - Ping to IP 107.247.121.195 from VM ctest-vn1-vm1-43751143 failed 2025-11-02 21:40:26,921 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.247.121.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-02 21:40:26,921 - DEBUG - ping -s 56 -c 3 -W 1 107.247.121.195 2025-11-02 21:40:29,136 - DEBUG - PING 107.247.121.195 (107.247.121.195): 56 data bytes 64 bytes from 107.247.121.195: seq=0 ttl=63 time=1.819 ms 64 bytes from 107.247.121.195: seq=1 ttl=63 time=0.886 ms 64 bytes from 107.247.121.195: seq=2 ttl=63 time=1.047 ms --- 107.247.121.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/1.250/1.819 ms 2025-11-02 21:40:29,136 - INFO - Ping to IP 107.247.121.195 from VM ctest-vn1-vm1-43751143 passed 2025-11-02 21:40:29,136 - INFO - Deleting interface with subnet_id 24bb8e84-641b-4e57-81d7-2ac11c77981b, port_id None from router 8d096829-a586-430d-b370-0bb789db7866 2025-11-02 21:40:29,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:40:29,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.247.121.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-02 21:40:29,253 - DEBUG - ping -s 56 -c 3 -W 1 107.247.121.195 2025-11-02 21:40:32,462 - DEBUG - PING 107.247.121.195 (107.247.121.195): 56 data bytes --- 107.247.121.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-02 21:40:32,462 - WARNING - Ping to IP 107.247.121.195 from VM ctest-vn1-vm1-43751143 failed 2025-11-02 21:40:32,463 - INFO - Adding interface with subnet_id 24bb8e84-641b-4e57-81d7-2ac11c77981b, port_id None to router 8d096829-a586-430d-b370-0bb789db7866 2025-11-02 21:40:32,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:40:32,670 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.247.121.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-02 21:40:32,670 - DEBUG - ping -s 56 -c 3 -W 1 107.247.121.195 2025-11-02 21:40:34,895 - DEBUG - PING 107.247.121.195 (107.247.121.195): 56 data bytes 64 bytes from 107.247.121.195: seq=0 ttl=63 time=1.358 ms 64 bytes from 107.247.121.195: seq=1 ttl=63 time=0.781 ms 64 bytes from 107.247.121.195: seq=2 ttl=63 time=0.836 ms --- 107.247.121.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/0.991/1.358 ms 2025-11-02 21:40:34,895 - INFO - Ping to IP 107.247.121.195 from VM ctest-vn1-vm1-43751143 passed 2025-11-02 21:40:34,895 - INFO - Deleting interface with subnet_id 72bafdb6-b89d-45fc-8a33-ea938634d1bf, port_id None from router 8d096829-a586-430d-b370-0bb789db7866 2025-11-02 21:40:35,016 - INFO - Deleting interface with subnet_id 24bb8e84-641b-4e57-81d7-2ac11c77981b, port_id None from router 8d096829-a586-430d-b370-0bb789db7866 2025-11-02 21:40:35,188 - INFO - Deleting VM ctest-vn2-vm1-18837636 2025-11-02 21:40:35,261 - INFO - Deleting VM ctest-vn1-vm1-43751143 2025-11-02 21:40:35,328 - INFO - Deleting VN ctest-vn2-35185365 2025-11-02 21:40:35,365 - DEBUG - VN 51b739b9-7e29-4945-9c7b-33b49e56b414 still in use: Unable to complete operation on network 51b739b9-7e29-4945-9c7b-33b49e56b414. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a5523e4a-7b97-4227-a35b-1df8c04b0adf'] 2025-11-02 21:40:35,366 - WARNING - Deleting VN ctest-vn2-35185365 failed..Will retry 2025-11-02 21:40:37,480 - DEBUG - Response for deleting network () 2025-11-02 21:40:37,480 - INFO - Deleting VN ctest-vn1-04025768 2025-11-02 21:40:37,590 - DEBUG - Response for deleting network () 2025-11-02 21:40:37,843 - DEBUG - No XMPP flaps were noticed during the test
2025-11-02 21:40:37,843 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-02 21:40:37,844 - INFO - -------------------------------------------------------------------------------- 2025-11-02 21:40:38,536 - INFO - Deleted project: ctest-TestRouters-55961280, ID : 9b070e9f-724b-431f-babc-fc2b99c58899