2025-11-12 14:40:55,776 - INFO - Domain Default found not creating 2025-11-12 14:40:55,935 - INFO - Project ctest-TestRouters-67436756 not found, creating it 2025-11-12 14:40:56,392 - INFO - Created Project:ctest-TestRouters-67436756, ID : 84e5066a-3612-49b8-b670-649826fe00d2 2025-11-12 14:40:57,862 - INFO - ================================================================================ 2025-11-12 14:40:57,862 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-12 14:40:57,862 - 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-12 14:40:58,118 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-11-12 14:40:58,118 - INFO - Initial checks done. Running the testcase now 2025-11-12 14:40:58,118 - INFO - 2025-11-12 14:40:58,668 - DEBUG - Response for create_network : {'network': {'id': 'ff70e7f5-fbe9-4ebc-b498-a13af6b52a54', 'name': 'ctest-vn1-08602561', 'tenant_id': '84e5066a361249b8b670649826fe00d2', 'project_id': '84e5066a361249b8b670649826fe00d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-67436756', 'ctest-vn1-08602561'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:40:58,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '8216898e-56e0-4176-9649-888893ed8540', 'name': '', 'tenant_id': '84e5066a361249b8b670649826fe00d2', 'network_id': 'ff70e7f5-fbe9-4ebc-b498-a13af6b52a54', 'ip_version': 4, 'cidr': '55.189.43.128/26', 'allocation_pools': [{'start': '55.189.43.130', 'end': '55.189.43.190'}], 'gateway_ip': '55.189.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.189.43.130', 'tags': [], 'project_id': '84e5066a361249b8b670649826fe00d2'}} 2025-11-12 14:40:58,909 - INFO - Created VN ctest-vn1-08602561 2025-11-12 14:40:58,960 - DEBUG - VN ctest-vn1-08602561 UUID is ff70e7f5-fbe9-4ebc-b498-a13af6b52a54 2025-11-12 14:40:59,290 - DEBUG - Response for create_network : {'network': {'id': 'd99be89a-487f-4a39-95e1-74807f00d909', 'name': 'ctest-vn2-60712933', 'tenant_id': '84e5066a361249b8b670649826fe00d2', 'project_id': '84e5066a361249b8b670649826fe00d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-67436756', 'ctest-vn2-60712933'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:40:59,509 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b617e471-da94-4edf-b59b-449764b7d667', 'name': '', 'tenant_id': '84e5066a361249b8b670649826fe00d2', 'network_id': 'd99be89a-487f-4a39-95e1-74807f00d909', 'ip_version': 4, 'cidr': '83.27.101.0/26', 'allocation_pools': [{'start': '83.27.101.2', 'end': '83.27.101.62'}], 'gateway_ip': '83.27.101.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.27.101.2', 'tags': [], 'project_id': '84e5066a361249b8b670649826fe00d2'}} 2025-11-12 14:40:59,524 - INFO - Created VN ctest-vn2-60712933 2025-11-12 14:40:59,576 - DEBUG - VN ctest-vn2-60712933 UUID is d99be89a-487f-4a39-95e1-74807f00d909 2025-11-12 14:40:59,789 - DEBUG - Services list from nova: [, , ] 2025-11-12 14:41:00,755 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4705-1) 2025-11-12 14:41:01,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4705-1) 2025-11-12 14:41:02,034 - INFO - Adding interface with subnet_id 8216898e-56e0-4176-9649-888893ed8540, port_id None to router 0adcbdc5-fd81-4724-9a1c-632729b2b64b 2025-11-12 14:41:02,303 - INFO - Waiting for VM ctest-vn1-vm1-84624986 to be up.. 2025-11-12 14:41:02,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 14:41:07,456 - DEBUG - VM is in ACTIVE state now 2025-11-12 14:41:07,456 - INFO - VM name : ctest-vn1-vm1-84624986 2025-11-12 14:41:07,528 - DEBUG - VM ctest-vn1-vm1-84624986 ID is aca1ff78-a1ee-4afa-8a44-66a1c94a7d1c 2025-11-12 14:41:07,545 - DEBUG - VM ctest-vn1-vm1-84624986 launched on Node cn-jenkins-deploy-platform-ansible-os-4705-1 2025-11-12 14:41:07,611 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/aca1ff78-a1ee-4afa-8a44-66a1c94a7d1c 2025-11-12 14:41:07,903 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/aca1ff78-a1ee-4afa-8a44-66a1c94a7d1c 2025-11-12 14:41:07,931 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/442a7e2d-e53d-413f-86dd-aac08b1de6c4 2025-11-12 14:41:11,178 - 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 1020ms') 2025-11-12 14:41:11,178 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84624986 failed! 2025-11-12 14:41:11,232 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-67436756:ctest-vn1-08602561 is 55.189.43.129 and allocation pool is NOT set 2025-11-12 14:41:13,302 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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.388/2.001/3.614/1.613 ms') 2025-11-12 14:41:13,303 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84624986 passed 2025-11-12 14:41:13,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:41:13,452 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84624986, IP 55.189.43.131, Port 22 2025-11-12 14:41:13,604 - DEBUG - VM ctest-vn1-vm1-84624986 is ready for SSH connections 2025-11-12 14:41:13,604 - INFO - Waiting for VM ctest-vn2-vm1-69408911 to be up.. 2025-11-12 14:41:13,672 - DEBUG - VM is in ACTIVE state now 2025-11-12 14:41:13,672 - INFO - VM name : ctest-vn2-vm1-69408911 2025-11-12 14:41:13,736 - DEBUG - VM ctest-vn2-vm1-69408911 ID is 22493ee4-1005-4566-9d7d-bef2a8755caf 2025-11-12 14:41:13,736 - DEBUG - VM ctest-vn2-vm1-69408911 launched on Node cn-jenkins-deploy-platform-ansible-os-4705-1 2025-11-12 14:41:13,797 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/22493ee4-1005-4566-9d7d-bef2a8755caf 2025-11-12 14:41:13,804 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5d54989b-1a5e-490e-b4a6-3a3ab917fbf5 2025-11-12 14:41:15,035 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.586/2.753/1.167 ms') 2025-11-12 14:41:15,036 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-69408911 passed 2025-11-12 14:41:15,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:41:15,184 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-69408911, IP 83.27.101.3, Port 22 2025-11-12 14:41:15,343 - DEBUG - VM ctest-vn2-vm1-69408911 is ready for SSH connections 2025-11-12 14:41:15,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:41:15,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.27.101.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 14:41:15,343 - DEBUG - ping -s 56 -c 3 -W 1 83.27.101.3 2025-11-12 14:41:20,019 - DEBUG - PING 83.27.101.3 (83.27.101.3): 56 data bytes --- 83.27.101.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 14:41:20,019 - WARNING - Ping to IP 83.27.101.3 from VM ctest-vn1-vm1-84624986 failed 2025-11-12 14:41:20,019 - INFO - Adding interface with subnet_id b617e471-da94-4edf-b59b-449764b7d667, port_id None to router 0adcbdc5-fd81-4724-9a1c-632729b2b64b 2025-11-12 14:41:20,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:41:20,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.27.101.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 14:41:20,254 - DEBUG - ping -s 56 -c 3 -W 1 83.27.101.3 2025-11-12 14:41:22,456 - DEBUG - PING 83.27.101.3 (83.27.101.3): 56 data bytes 64 bytes from 83.27.101.3: seq=0 ttl=63 time=2.384 ms 64 bytes from 83.27.101.3: seq=1 ttl=63 time=1.003 ms 64 bytes from 83.27.101.3: seq=2 ttl=63 time=0.895 ms --- 83.27.101.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/1.427/2.384 ms 2025-11-12 14:41:22,456 - INFO - Ping to IP 83.27.101.3 from VM ctest-vn1-vm1-84624986 passed 2025-11-12 14:41:22,456 - INFO - Deleting interface with subnet_id 8216898e-56e0-4176-9649-888893ed8540, port_id None from router 0adcbdc5-fd81-4724-9a1c-632729b2b64b 2025-11-12 14:41:22,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:41:22,569 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.27.101.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 14:41:22,569 - DEBUG - ping -s 56 -c 3 -W 1 83.27.101.3 2025-11-12 14:41:25,762 - DEBUG - PING 83.27.101.3 (83.27.101.3): 56 data bytes --- 83.27.101.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 14:41:25,762 - WARNING - Ping to IP 83.27.101.3 from VM ctest-vn1-vm1-84624986 failed 2025-11-12 14:41:25,762 - INFO - Adding interface with subnet_id 8216898e-56e0-4176-9649-888893ed8540, port_id None to router 0adcbdc5-fd81-4724-9a1c-632729b2b64b 2025-11-12 14:41:25,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:41:25,954 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.27.101.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 14:41:25,954 - DEBUG - ping -s 56 -c 3 -W 1 83.27.101.3 2025-11-12 14:41:29,152 - DEBUG - PING 83.27.101.3 (83.27.101.3): 56 data bytes 64 bytes from 83.27.101.3: seq=1 ttl=63 time=1.692 ms 64 bytes from 83.27.101.3: seq=2 ttl=63 time=0.732 ms --- 83.27.101.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.732/1.212/1.692 ms 2025-11-12 14:41:29,153 - WARNING - Ping to IP 83.27.101.3 from VM ctest-vn1-vm1-84624986 failed 2025-11-12 14:41:30,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.27.101.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 14:41:30,154 - DEBUG - ping -s 56 -c 3 -W 1 83.27.101.3 2025-11-12 14:41:32,378 - DEBUG - PING 83.27.101.3 (83.27.101.3): 56 data bytes 64 bytes from 83.27.101.3: seq=0 ttl=63 time=1.606 ms 64 bytes from 83.27.101.3: seq=1 ttl=63 time=0.804 ms 64 bytes from 83.27.101.3: seq=2 ttl=63 time=0.785 ms --- 83.27.101.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/1.065/1.606 ms 2025-11-12 14:41:32,378 - INFO - Ping to IP 83.27.101.3 from VM ctest-vn1-vm1-84624986 passed 2025-11-12 14:41:32,378 - INFO - Deleting interface with subnet_id b617e471-da94-4edf-b59b-449764b7d667, port_id None from router 0adcbdc5-fd81-4724-9a1c-632729b2b64b 2025-11-12 14:41:32,479 - INFO - Deleting interface with subnet_id 8216898e-56e0-4176-9649-888893ed8540, port_id None from router 0adcbdc5-fd81-4724-9a1c-632729b2b64b 2025-11-12 14:41:32,700 - INFO - Deleting VM ctest-vn2-vm1-69408911 2025-11-12 14:41:32,784 - INFO - Deleting VM ctest-vn1-vm1-84624986 2025-11-12 14:41:32,857 - INFO - Deleting VN ctest-vn2-60712933 2025-11-12 14:41:32,897 - DEBUG - VN d99be89a-487f-4a39-95e1-74807f00d909 still in use: Unable to complete operation on network d99be89a-487f-4a39-95e1-74807f00d909. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5d36d3b4-1a23-4846-ac61-375a7778fc66'] 2025-11-12 14:41:32,897 - WARNING - Deleting VN ctest-vn2-60712933 failed..Will retry 2025-11-12 14:41:34,986 - DEBUG - Response for deleting network () 2025-11-12 14:41:34,986 - INFO - Deleting VN ctest-vn1-08602561 2025-11-12 14:41:35,074 - DEBUG - Response for deleting network () 2025-11-12 14:41:35,328 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 14:41:35,328 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-12 14:41:35,329 - INFO - -------------------------------------------------------------------------------- 2025-11-12 14:41:35,977 - INFO - Deleted project: ctest-TestRouters-67436756, ID : 84e5066a-3612-49b8-b670-649826fe00d2