2025-10-09 18:47:18,750 - INFO - Domain Default found not creating 2025-10-09 18:47:18,888 - INFO - Project ctest-TestRouters-81488595 not found, creating it 2025-10-09 18:47:19,420 - INFO - Created Project:ctest-TestRouters-81488595, ID : 7a194f81-cafe-479c-8c11-cf869e044893 2025-10-09 18:47:20,833 - INFO - ================================================================================ 2025-10-09 18:47:20,833 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 18:47:20,833 - 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-10-09 18:47:21,091 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-09 18:47:21,091 - INFO - Initial checks done. Running the testcase now 2025-10-09 18:47:21,091 - INFO - 2025-10-09 18:47:21,612 - DEBUG - Response for create_network : {'network': {'id': '880c5ead-7452-4406-845c-63e2feeed066', 'name': 'ctest-vn1-19547239', 'tenant_id': '7a194f81cafe479c8c11cf869e044893', 'project_id': '7a194f81cafe479c8c11cf869e044893', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-81488595', 'ctest-vn1-19547239'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 18:47:21,794 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee36e65a-69dc-47f6-95af-1294644e2798', 'name': '', 'tenant_id': '7a194f81cafe479c8c11cf869e044893', 'network_id': '880c5ead-7452-4406-845c-63e2feeed066', 'ip_version': 4, 'cidr': '199.34.48.64/26', 'allocation_pools': [{'start': '199.34.48.66', 'end': '199.34.48.126'}], 'gateway_ip': '199.34.48.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.34.48.66', 'tags': [], 'project_id': '7a194f81cafe479c8c11cf869e044893'}} 2025-10-09 18:47:21,814 - INFO - Created VN ctest-vn1-19547239 2025-10-09 18:47:21,865 - DEBUG - VN ctest-vn1-19547239 UUID is 880c5ead-7452-4406-845c-63e2feeed066 2025-10-09 18:47:22,179 - DEBUG - Response for create_network : {'network': {'id': '011c2c21-43b9-4337-9ed5-b3686cf3d121', 'name': 'ctest-vn2-03938290', 'tenant_id': '7a194f81cafe479c8c11cf869e044893', 'project_id': '7a194f81cafe479c8c11cf869e044893', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-81488595', 'ctest-vn2-03938290'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 18:47:22,389 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e9895f3-fd78-4405-90cf-23986f5ca7d8', 'name': '', 'tenant_id': '7a194f81cafe479c8c11cf869e044893', 'network_id': '011c2c21-43b9-4337-9ed5-b3686cf3d121', 'ip_version': 4, 'cidr': '64.250.150.192/26', 'allocation_pools': [{'start': '64.250.150.194', 'end': '64.250.150.254'}], 'gateway_ip': '64.250.150.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.250.150.194', 'tags': [], 'project_id': '7a194f81cafe479c8c11cf869e044893'}} 2025-10-09 18:47:22,404 - INFO - Created VN ctest-vn2-03938290 2025-10-09 18:47:22,465 - DEBUG - VN ctest-vn2-03938290 UUID is 011c2c21-43b9-4337-9ed5-b3686cf3d121 2025-10-09 18:47:22,710 - DEBUG - Services list from nova: [, , ] 2025-10-09 18:47:23,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4273-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4273-1) 2025-10-09 18:47:24,932 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4273-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4273-1) 2025-10-09 18:47:25,014 - INFO - Adding interface with subnet_id ee36e65a-69dc-47f6-95af-1294644e2798, port_id None to router 9ddbb808-7dd1-4f94-8525-c0dc1974d29b 2025-10-09 18:47:25,244 - INFO - Waiting for VM ctest-vn1-vm1-65898120 to be up.. 2025-10-09 18:47:25,372 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 18:47:30,448 - DEBUG - VM is in ACTIVE state now 2025-10-09 18:47:30,448 - INFO - VM name : ctest-vn1-vm1-65898120 2025-10-09 18:47:30,526 - DEBUG - VM ctest-vn1-vm1-65898120 ID is 5d6ae29a-070c-426c-9e06-5a2b8c53076e 2025-10-09 18:47:30,548 - DEBUG - VM ctest-vn1-vm1-65898120 launched on Node cn-jenkins-deploy-platform-ansible-os-4273-1 2025-10-09 18:47:30,625 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5d6ae29a-070c-426c-9e06-5a2b8c53076e 2025-10-09 18:47:30,919 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5d6ae29a-070c-426c-9e06-5a2b8c53076e 2025-10-09 18:47:30,948 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/65a5ceef-e4d0-4c11-9bf2-1986b9713fda 2025-10-09 18:47:34,181 - 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-10-09 18:47:34,181 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65898120 failed! 2025-10-09 18:47:34,233 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-81488595:ctest-vn1-19547239 is 199.34.48.65 and allocation pool is NOT set 2025-10-09 18:47:36,297 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.784 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.784/2.183/3.583/1.399 ms') 2025-10-09 18:47:36,298 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65898120 passed 2025-10-09 18:47:36,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:47:36,445 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65898120, IP 199.34.48.67, Port 22 2025-10-09 18:47:36,597 - DEBUG - VM ctest-vn1-vm1-65898120 is ready for SSH connections 2025-10-09 18:47:36,597 - INFO - Waiting for VM ctest-vn2-vm1-46999746 to be up.. 2025-10-09 18:47:36,666 - DEBUG - VM is in ACTIVE state now 2025-10-09 18:47:36,666 - INFO - VM name : ctest-vn2-vm1-46999746 2025-10-09 18:47:36,735 - DEBUG - VM ctest-vn2-vm1-46999746 ID is 12fa3222-88bc-4247-9601-8f66ab157c78 2025-10-09 18:47:36,735 - DEBUG - VM ctest-vn2-vm1-46999746 launched on Node cn-jenkins-deploy-platform-ansible-os-4273-1 2025-10-09 18:47:36,820 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/12fa3222-88bc-4247-9601-8f66ab157c78 2025-10-09 18:47:36,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/78d8ef4a-f710-46ff-a032-45e66e92da30 2025-10-09 18:47:38,066 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.700/2.987/1.286 ms') 2025-10-09 18:47:38,066 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-46999746 passed 2025-10-09 18:47:38,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:47:38,222 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-46999746, IP 64.250.150.195, Port 22 2025-10-09 18:47:38,377 - DEBUG - VM ctest-vn2-vm1-46999746 is ready for SSH connections 2025-10-09 18:47:38,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:47:38,377 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.250.150.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 18:47:38,377 - DEBUG - ping -s 56 -c 3 -W 1 64.250.150.195 2025-10-09 18:47:43,049 - DEBUG - PING 64.250.150.195 (64.250.150.195): 56 data bytes --- 64.250.150.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 18:47:43,049 - WARNING - Ping to IP 64.250.150.195 from VM ctest-vn1-vm1-65898120 failed 2025-10-09 18:47:43,049 - INFO - Adding interface with subnet_id 2e9895f3-fd78-4405-90cf-23986f5ca7d8, port_id None to router 9ddbb808-7dd1-4f94-8525-c0dc1974d29b 2025-10-09 18:47:43,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:47:43,316 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.250.150.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 18:47:43,316 - DEBUG - ping -s 56 -c 3 -W 1 64.250.150.195 2025-10-09 18:47:45,531 - DEBUG - PING 64.250.150.195 (64.250.150.195): 56 data bytes 64 bytes from 64.250.150.195: seq=0 ttl=63 time=2.641 ms 64 bytes from 64.250.150.195: seq=1 ttl=63 time=0.800 ms 64 bytes from 64.250.150.195: seq=2 ttl=63 time=0.742 ms --- 64.250.150.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/1.394/2.641 ms 2025-10-09 18:47:45,531 - INFO - Ping to IP 64.250.150.195 from VM ctest-vn1-vm1-65898120 passed 2025-10-09 18:47:45,531 - INFO - Deleting interface with subnet_id ee36e65a-69dc-47f6-95af-1294644e2798, port_id None from router 9ddbb808-7dd1-4f94-8525-c0dc1974d29b 2025-10-09 18:47:45,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:47:45,637 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.250.150.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 18:47:45,637 - DEBUG - ping -s 56 -c 3 -W 1 64.250.150.195 2025-10-09 18:47:48,833 - DEBUG - PING 64.250.150.195 (64.250.150.195): 56 data bytes --- 64.250.150.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 18:47:48,833 - WARNING - Ping to IP 64.250.150.195 from VM ctest-vn1-vm1-65898120 failed 2025-10-09 18:47:48,833 - INFO - Adding interface with subnet_id ee36e65a-69dc-47f6-95af-1294644e2798, port_id None to router 9ddbb808-7dd1-4f94-8525-c0dc1974d29b 2025-10-09 18:47:49,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:47:49,027 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.250.150.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 18:47:49,027 - DEBUG - ping -s 56 -c 3 -W 1 64.250.150.195 2025-10-09 18:47:52,222 - DEBUG - PING 64.250.150.195 (64.250.150.195): 56 data bytes 64 bytes from 64.250.150.195: seq=1 ttl=63 time=1.523 ms 64 bytes from 64.250.150.195: seq=2 ttl=63 time=0.683 ms --- 64.250.150.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.683/1.103/1.523 ms 2025-10-09 18:47:52,223 - WARNING - Ping to IP 64.250.150.195 from VM ctest-vn1-vm1-65898120 failed 2025-10-09 18:47:53,224 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.250.150.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 18:47:53,224 - DEBUG - ping -s 56 -c 3 -W 1 64.250.150.195 2025-10-09 18:47:55,417 - DEBUG - PING 64.250.150.195 (64.250.150.195): 56 data bytes 64 bytes from 64.250.150.195: seq=0 ttl=63 time=1.671 ms 64 bytes from 64.250.150.195: seq=1 ttl=63 time=0.867 ms 64 bytes from 64.250.150.195: seq=2 ttl=63 time=0.784 ms --- 64.250.150.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/1.107/1.671 ms 2025-10-09 18:47:55,417 - INFO - Ping to IP 64.250.150.195 from VM ctest-vn1-vm1-65898120 passed 2025-10-09 18:47:55,417 - INFO - Deleting interface with subnet_id 2e9895f3-fd78-4405-90cf-23986f5ca7d8, port_id None from router 9ddbb808-7dd1-4f94-8525-c0dc1974d29b 2025-10-09 18:47:55,516 - INFO - Deleting interface with subnet_id ee36e65a-69dc-47f6-95af-1294644e2798, port_id None from router 9ddbb808-7dd1-4f94-8525-c0dc1974d29b 2025-10-09 18:47:55,677 - INFO - Deleting VM ctest-vn2-vm1-46999746 2025-10-09 18:47:55,743 - INFO - Deleting VM ctest-vn1-vm1-65898120 2025-10-09 18:47:55,813 - INFO - Deleting VN ctest-vn2-03938290 2025-10-09 18:47:55,844 - DEBUG - VN 011c2c21-43b9-4337-9ed5-b3686cf3d121 still in use: Unable to complete operation on network 011c2c21-43b9-4337-9ed5-b3686cf3d121. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e17a0731-9cd5-43c0-b250-ae9a2b430cb9'] 2025-10-09 18:47:55,844 - WARNING - Deleting VN ctest-vn2-03938290 failed..Will retry 2025-10-09 18:47:57,953 - DEBUG - Response for deleting network () 2025-10-09 18:47:57,953 - INFO - Deleting VN ctest-vn1-19547239 2025-10-09 18:47:58,069 - DEBUG - Response for deleting network () 2025-10-09 18:47:58,326 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 18:47:58,326 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-09 18:47:58,326 - INFO - -------------------------------------------------------------------------------- 2025-10-09 18:47:58,990 - INFO - Deleted project: ctest-TestRouters-81488595, ID : 7a194f81-cafe-479c-8c11-cf869e044893