2025-08-31 02:33:04,052 - INFO - Domain Default found not creating 2025-08-31 02:33:04,257 - INFO - Project ctest-TestRouters-14477587 not found, creating it 2025-08-31 02:33:04,687 - INFO - Created Project:ctest-TestRouters-14477587, ID : ddb936ff-5e41-461f-84a2-6618b43780df 2025-08-31 02:33:06,071 - INFO - ================================================================================ 2025-08-31 02:33:06,071 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-31 02:33:06,071 - 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-31 02:33:06,327 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-31 02:33:06,327 - INFO - Initial checks done. Running the testcase now 2025-08-31 02:33:06,327 - INFO - 2025-08-31 02:33:06,866 - DEBUG - Response for create_network : {'network': {'id': '65fdb738-bd88-4419-a15c-deeda076ccb5', 'name': 'ctest-vn1-51032035', 'tenant_id': 'ddb936ff5e41461f84a26618b43780df', 'project_id': 'ddb936ff5e41461f84a26618b43780df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-14477587', 'ctest-vn1-51032035'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 02:33:07,005 - DEBUG - Response for create_subnet : {'subnet': {'id': '64cf6246-dd7c-402d-9ff4-2fa99ae69b7d', 'name': '', 'tenant_id': 'ddb936ff5e41461f84a26618b43780df', 'network_id': '65fdb738-bd88-4419-a15c-deeda076ccb5', 'ip_version': 4, 'cidr': '192.180.60.128/26', 'allocation_pools': [{'start': '192.180.60.130', 'end': '192.180.60.190'}], 'gateway_ip': '192.180.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.180.60.130', 'tags': [], 'project_id': 'ddb936ff5e41461f84a26618b43780df'}} 2025-08-31 02:33:07,021 - INFO - Created VN ctest-vn1-51032035 2025-08-31 02:33:07,074 - DEBUG - VN ctest-vn1-51032035 UUID is 65fdb738-bd88-4419-a15c-deeda076ccb5 2025-08-31 02:33:07,392 - DEBUG - Response for create_network : {'network': {'id': '8758ea56-4b56-4e99-a8f3-cf2b3a29b5eb', 'name': 'ctest-vn2-83673917', 'tenant_id': 'ddb936ff5e41461f84a26618b43780df', 'project_id': 'ddb936ff5e41461f84a26618b43780df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-14477587', 'ctest-vn2-83673917'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 02:33:07,635 - DEBUG - Response for create_subnet : {'subnet': {'id': '784e1110-a6be-4ac9-be78-ddf872cc7cc9', 'name': '', 'tenant_id': 'ddb936ff5e41461f84a26618b43780df', 'network_id': '8758ea56-4b56-4e99-a8f3-cf2b3a29b5eb', 'ip_version': 4, 'cidr': '177.186.155.0/26', 'allocation_pools': [{'start': '177.186.155.2', 'end': '177.186.155.62'}], 'gateway_ip': '177.186.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.186.155.2', 'tags': [], 'project_id': 'ddb936ff5e41461f84a26618b43780df'}} 2025-08-31 02:33:07,660 - INFO - Created VN ctest-vn2-83673917 2025-08-31 02:33:07,718 - DEBUG - VN ctest-vn2-83673917 UUID is 8758ea56-4b56-4e99-a8f3-cf2b3a29b5eb 2025-08-31 02:33:07,944 - DEBUG - Services list from nova: [, , ] 2025-08-31 02:33:08,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3986-1) 2025-08-31 02:33:10,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3986-1) 2025-08-31 02:33:10,159 - INFO - Adding interface with subnet_id 64cf6246-dd7c-402d-9ff4-2fa99ae69b7d, port_id None to router 1ee97743-6771-4044-ac4c-5b0ecc2b0dca 2025-08-31 02:33:10,413 - INFO - Waiting for VM ctest-vn1-vm1-76169388 to be up.. 2025-08-31 02:33:10,503 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 02:33:15,573 - DEBUG - VM is in ACTIVE state now 2025-08-31 02:33:15,573 - INFO - VM name : ctest-vn1-vm1-76169388 2025-08-31 02:33:15,651 - DEBUG - VM ctest-vn1-vm1-76169388 ID is 8a3eadf2-1001-4587-99d3-a29f7101bfe1 2025-08-31 02:33:15,668 - DEBUG - VM ctest-vn1-vm1-76169388 launched on Node cn-jenkins-deploy-platform-ansible-os-3986-1 2025-08-31 02:33:15,742 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8a3eadf2-1001-4587-99d3-a29f7101bfe1 2025-08-31 02:33:16,042 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8a3eadf2-1001-4587-99d3-a29f7101bfe1 2025-08-31 02:33:16,083 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2f881ce8-ea63-4fd9-800c-ea1fec98c0e0 2025-08-31 02:33:19,345 - 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-31 02:33:19,345 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76169388 failed! 2025-08-31 02:33:19,406 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-14477587:ctest-vn1-51032035 is 192.180.60.129 and allocation pool is NOT set 2025-08-31 02:33:21,462 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 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.443/2.184/3.925/1.741 ms') 2025-08-31 02:33:21,462 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76169388 passed 2025-08-31 02:33:21,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:33:21,614 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76169388, IP 192.180.60.131, Port 22 2025-08-31 02:33:21,765 - DEBUG - VM ctest-vn1-vm1-76169388 is ready for SSH connections 2025-08-31 02:33:21,765 - INFO - Waiting for VM ctest-vn2-vm1-98297971 to be up.. 2025-08-31 02:33:21,827 - DEBUG - VM is in ACTIVE state now 2025-08-31 02:33:21,827 - INFO - VM name : ctest-vn2-vm1-98297971 2025-08-31 02:33:21,898 - DEBUG - VM ctest-vn2-vm1-98297971 ID is 01f49b9c-9cf0-4397-a0fc-bce7bb36c48b 2025-08-31 02:33:21,898 - DEBUG - VM ctest-vn2-vm1-98297971 launched on Node cn-jenkins-deploy-platform-ansible-os-3986-1 2025-08-31 02:33:21,957 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/01f49b9c-9cf0-4397-a0fc-bce7bb36c48b 2025-08-31 02:33:21,963 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/14cf036b-80a1-4332-b4c2-1a9601004fec 2025-08-31 02:33:23,189 - 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=2.95 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.678/2.945/1.266 ms') 2025-08-31 02:33:23,189 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-98297971 passed 2025-08-31 02:33:23,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:33:23,297 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-98297971, IP 177.186.155.3, Port 22 2025-08-31 02:33:23,454 - DEBUG - VM ctest-vn2-vm1-98297971 is ready for SSH connections 2025-08-31 02:33:23,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:33:23,454 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.186.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 02:33:23,454 - DEBUG - ping -s 56 -c 3 -W 1 177.186.155.3 2025-08-31 02:33:28,088 - DEBUG - PING 177.186.155.3 (177.186.155.3): 56 data bytes --- 177.186.155.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 02:33:28,088 - WARNING - Ping to IP 177.186.155.3 from VM ctest-vn1-vm1-76169388 failed 2025-08-31 02:33:28,088 - INFO - Adding interface with subnet_id 784e1110-a6be-4ac9-be78-ddf872cc7cc9, port_id None to router 1ee97743-6771-4044-ac4c-5b0ecc2b0dca 2025-08-31 02:33:28,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:33:28,352 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.186.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 02:33:28,352 - DEBUG - ping -s 56 -c 3 -W 1 177.186.155.3 2025-08-31 02:33:30,569 - DEBUG - PING 177.186.155.3 (177.186.155.3): 56 data bytes 64 bytes from 177.186.155.3: seq=0 ttl=63 time=2.481 ms 64 bytes from 177.186.155.3: seq=1 ttl=63 time=1.978 ms 64 bytes from 177.186.155.3: seq=2 ttl=63 time=1.823 ms --- 177.186.155.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.823/2.094/2.481 ms 2025-08-31 02:33:30,569 - INFO - Ping to IP 177.186.155.3 from VM ctest-vn1-vm1-76169388 passed 2025-08-31 02:33:30,569 - INFO - Deleting interface with subnet_id 64cf6246-dd7c-402d-9ff4-2fa99ae69b7d, port_id None from router 1ee97743-6771-4044-ac4c-5b0ecc2b0dca 2025-08-31 02:33:30,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:33:30,703 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.186.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 02:33:30,703 - DEBUG - ping -s 56 -c 3 -W 1 177.186.155.3 2025-08-31 02:33:33,919 - DEBUG - PING 177.186.155.3 (177.186.155.3): 56 data bytes --- 177.186.155.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 02:33:33,919 - WARNING - Ping to IP 177.186.155.3 from VM ctest-vn1-vm1-76169388 failed 2025-08-31 02:33:33,919 - INFO - Adding interface with subnet_id 64cf6246-dd7c-402d-9ff4-2fa99ae69b7d, port_id None to router 1ee97743-6771-4044-ac4c-5b0ecc2b0dca 2025-08-31 02:33:34,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:33:34,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.186.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 02:33:34,098 - DEBUG - ping -s 56 -c 3 -W 1 177.186.155.3 2025-08-31 02:33:37,296 - DEBUG - PING 177.186.155.3 (177.186.155.3): 56 data bytes 64 bytes from 177.186.155.3: seq=1 ttl=63 time=1.394 ms 64 bytes from 177.186.155.3: seq=2 ttl=63 time=0.969 ms --- 177.186.155.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.969/1.181/1.394 ms 2025-08-31 02:33:37,297 - WARNING - Ping to IP 177.186.155.3 from VM ctest-vn1-vm1-76169388 failed 2025-08-31 02:33:38,297 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.186.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 02:33:38,298 - DEBUG - ping -s 56 -c 3 -W 1 177.186.155.3 2025-08-31 02:33:40,498 - DEBUG - PING 177.186.155.3 (177.186.155.3): 56 data bytes 64 bytes from 177.186.155.3: seq=0 ttl=63 time=1.204 ms 64 bytes from 177.186.155.3: seq=1 ttl=63 time=0.994 ms 64 bytes from 177.186.155.3: seq=2 ttl=63 time=0.974 ms --- 177.186.155.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.974/1.057/1.204 ms 2025-08-31 02:33:40,498 - INFO - Ping to IP 177.186.155.3 from VM ctest-vn1-vm1-76169388 passed 2025-08-31 02:33:40,498 - INFO - Deleting interface with subnet_id 784e1110-a6be-4ac9-be78-ddf872cc7cc9, port_id None from router 1ee97743-6771-4044-ac4c-5b0ecc2b0dca 2025-08-31 02:33:40,625 - INFO - Deleting interface with subnet_id 64cf6246-dd7c-402d-9ff4-2fa99ae69b7d, port_id None from router 1ee97743-6771-4044-ac4c-5b0ecc2b0dca 2025-08-31 02:33:40,791 - INFO - Deleting VM ctest-vn2-vm1-98297971 2025-08-31 02:33:40,863 - INFO - Deleting VM ctest-vn1-vm1-76169388 2025-08-31 02:33:40,926 - INFO - Deleting VN ctest-vn2-83673917 2025-08-31 02:33:40,959 - DEBUG - VN 8758ea56-4b56-4e99-a8f3-cf2b3a29b5eb still in use: Unable to complete operation on network 8758ea56-4b56-4e99-a8f3-cf2b3a29b5eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5a0b9974-4140-4b05-a5fa-c41ff2709615'] 2025-08-31 02:33:40,959 - WARNING - Deleting VN ctest-vn2-83673917 failed..Will retry 2025-08-31 02:33:43,062 - DEBUG - Response for deleting network () 2025-08-31 02:33:43,063 - INFO - Deleting VN ctest-vn1-51032035 2025-08-31 02:33:43,167 - DEBUG - Response for deleting network () 2025-08-31 02:33:43,423 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 02:33:43,423 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-08-31 02:33:43,423 - INFO - -------------------------------------------------------------------------------- 2025-08-31 02:33:44,075 - INFO - Deleted project: ctest-TestRouters-14477587, ID : ddb936ff-5e41-461f-84a2-6618b43780df