2025-11-05 10:48:23,961 - INFO - Domain Default found not creating 2025-11-05 10:48:24,110 - INFO - Project ctest-TestRouters-05629420 not found, creating it 2025-11-05 10:48:24,568 - INFO - Created Project:ctest-TestRouters-05629420, ID : e92e73a4-b768-4d13-a631-370bf28bfa89 2025-11-05 10:48:26,093 - INFO - ================================================================================ 2025-11-05 10:48:26,093 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 10:48:26,093 - 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-05 10:48:26,349 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-05 10:48:26,349 - INFO - Initial checks done. Running the testcase now 2025-11-05 10:48:26,349 - INFO - 2025-11-05 10:48:27,045 - DEBUG - Response for create_network : {'network': {'id': '84974459-a3bf-4f5f-9bba-c59577a3e624', 'name': 'ctest-vn1-66435254', 'tenant_id': 'e92e73a4b7684d13a631370bf28bfa89', 'project_id': 'e92e73a4b7684d13a631370bf28bfa89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05629420', 'ctest-vn1-66435254'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 10:48:27,292 - DEBUG - Response for create_subnet : {'subnet': {'id': '879a3c83-4c4f-47f8-adcf-f3b4d0976287', 'name': '', 'tenant_id': 'e92e73a4b7684d13a631370bf28bfa89', 'network_id': '84974459-a3bf-4f5f-9bba-c59577a3e624', 'ip_version': 4, 'cidr': '30.6.215.192/26', 'allocation_pools': [{'start': '30.6.215.194', 'end': '30.6.215.254'}], 'gateway_ip': '30.6.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.6.215.194', 'tags': [], 'project_id': 'e92e73a4b7684d13a631370bf28bfa89'}} 2025-11-05 10:48:27,314 - INFO - Created VN ctest-vn1-66435254 2025-11-05 10:48:27,374 - DEBUG - VN ctest-vn1-66435254 UUID is 84974459-a3bf-4f5f-9bba-c59577a3e624 2025-11-05 10:48:27,719 - DEBUG - Response for create_network : {'network': {'id': 'b061cf0a-f276-46bb-bfa5-97d5788402e2', 'name': 'ctest-vn2-38623161', 'tenant_id': 'e92e73a4b7684d13a631370bf28bfa89', 'project_id': 'e92e73a4b7684d13a631370bf28bfa89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05629420', 'ctest-vn2-38623161'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 10:48:27,918 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b712dfe-cace-43d3-8f98-9df4358df615', 'name': '', 'tenant_id': 'e92e73a4b7684d13a631370bf28bfa89', 'network_id': 'b061cf0a-f276-46bb-bfa5-97d5788402e2', 'ip_version': 4, 'cidr': '113.170.44.64/26', 'allocation_pools': [{'start': '113.170.44.66', 'end': '113.170.44.126'}], 'gateway_ip': '113.170.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.170.44.66', 'tags': [], 'project_id': 'e92e73a4b7684d13a631370bf28bfa89'}} 2025-11-05 10:48:27,935 - INFO - Created VN ctest-vn2-38623161 2025-11-05 10:48:27,986 - DEBUG - VN ctest-vn2-38623161 UUID is b061cf0a-f276-46bb-bfa5-97d5788402e2 2025-11-05 10:48:28,161 - DEBUG - Services list from nova: [, , ] 2025-11-05 10:48:29,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4638-1) 2025-11-05 10:48:30,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4638-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4638-1) 2025-11-05 10:48:30,592 - INFO - Adding interface with subnet_id 879a3c83-4c4f-47f8-adcf-f3b4d0976287, port_id None to router dc12a4bc-406b-4703-b9c7-9bcdba618a18 2025-11-05 10:48:30,880 - INFO - Waiting for VM ctest-vn1-vm1-20732093 to be up.. 2025-11-05 10:48:30,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 10:48:36,077 - DEBUG - VM is in ACTIVE state now 2025-11-05 10:48:36,078 - INFO - VM name : ctest-vn1-vm1-20732093 2025-11-05 10:48:36,156 - DEBUG - VM ctest-vn1-vm1-20732093 ID is 74274c2d-c1bd-4cf1-b0cd-47dee2860e97 2025-11-05 10:48:36,176 - DEBUG - VM ctest-vn1-vm1-20732093 launched on Node cn-jenkins-deploy-platform-ansible-os-4638-1 2025-11-05 10:48:36,260 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/74274c2d-c1bd-4cf1-b0cd-47dee2860e97 2025-11-05 10:48:36,593 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/74274c2d-c1bd-4cf1-b0cd-47dee2860e97 2025-11-05 10:48:36,623 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0605179c-a038-4fb0-a418-ca751dcf04ca 2025-11-05 10:48:39,888 - 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 1025ms') 2025-11-05 10:48:39,888 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20732093 failed! 2025-11-05 10:48:39,942 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-05629420:ctest-vn1-66435254 is 30.6.215.193 and allocation pool is NOT set 2025-11-05 10:48:42,002 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.545 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.545/1.989/3.434/1.444 ms') 2025-11-05 10:48:42,002 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20732093 passed 2025-11-05 10:48:42,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:48:42,150 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20732093, IP 30.6.215.195, Port 22 2025-11-05 10:48:42,321 - DEBUG - VM ctest-vn1-vm1-20732093 is ready for SSH connections 2025-11-05 10:48:42,322 - INFO - Waiting for VM ctest-vn2-vm1-46824276 to be up.. 2025-11-05 10:48:42,401 - DEBUG - VM is in ACTIVE state now 2025-11-05 10:48:42,401 - INFO - VM name : ctest-vn2-vm1-46824276 2025-11-05 10:48:42,476 - DEBUG - VM ctest-vn2-vm1-46824276 ID is 61ec7383-422a-43b2-a95a-40d85603cb1a 2025-11-05 10:48:42,476 - DEBUG - VM ctest-vn2-vm1-46824276 launched on Node cn-jenkins-deploy-platform-ansible-os-4638-1 2025-11-05 10:48:42,554 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/61ec7383-422a-43b2-a95a-40d85603cb1a 2025-11-05 10:48:42,562 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8774f6b3-b923-451c-951e-d00479d693bb 2025-11-05 10:48:43,798 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.743/3.111/1.368 ms') 2025-11-05 10:48:43,798 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-46824276 passed 2025-11-05 10:48:43,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:48:43,950 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-46824276, IP 113.170.44.67, Port 22 2025-11-05 10:48:44,116 - DEBUG - VM ctest-vn2-vm1-46824276 is ready for SSH connections 2025-11-05 10:48:44,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:48:44,117 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.170.44.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 10:48:44,117 - DEBUG - ping -s 56 -c 3 -W 1 113.170.44.67 2025-11-05 10:48:49,193 - DEBUG - PING 113.170.44.67 (113.170.44.67): 56 data bytes --- 113.170.44.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 10:48:49,193 - WARNING - Ping to IP 113.170.44.67 from VM ctest-vn1-vm1-20732093 failed 2025-11-05 10:48:49,194 - INFO - Adding interface with subnet_id 4b712dfe-cace-43d3-8f98-9df4358df615, port_id None to router dc12a4bc-406b-4703-b9c7-9bcdba618a18 2025-11-05 10:48:49,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:48:49,477 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.170.44.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 10:48:49,477 - DEBUG - ping -s 56 -c 3 -W 1 113.170.44.67 2025-11-05 10:48:52,713 - DEBUG - PING 113.170.44.67 (113.170.44.67): 56 data bytes 64 bytes from 113.170.44.67: seq=1 ttl=63 time=3.679 ms 64 bytes from 113.170.44.67: seq=2 ttl=63 time=1.022 ms --- 113.170.44.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.022/2.350/3.679 ms 2025-11-05 10:48:52,713 - WARNING - Ping to IP 113.170.44.67 from VM ctest-vn1-vm1-20732093 failed 2025-11-05 10:48:53,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.170.44.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 10:48:53,714 - DEBUG - ping -s 56 -c 3 -W 1 113.170.44.67 2025-11-05 10:48:55,978 - DEBUG - PING 113.170.44.67 (113.170.44.67): 56 data bytes 64 bytes from 113.170.44.67: seq=0 ttl=63 time=2.381 ms 64 bytes from 113.170.44.67: seq=1 ttl=63 time=0.889 ms 64 bytes from 113.170.44.67: seq=2 ttl=63 time=0.964 ms --- 113.170.44.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.411/2.381 ms 2025-11-05 10:48:55,978 - INFO - Ping to IP 113.170.44.67 from VM ctest-vn1-vm1-20732093 passed 2025-11-05 10:48:55,978 - INFO - Deleting interface with subnet_id 879a3c83-4c4f-47f8-adcf-f3b4d0976287, port_id None from router dc12a4bc-406b-4703-b9c7-9bcdba618a18 2025-11-05 10:48:56,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:48:56,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.170.44.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 10:48:56,116 - DEBUG - ping -s 56 -c 3 -W 1 113.170.44.67 2025-11-05 10:48:59,342 - DEBUG - PING 113.170.44.67 (113.170.44.67): 56 data bytes --- 113.170.44.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 10:48:59,342 - WARNING - Ping to IP 113.170.44.67 from VM ctest-vn1-vm1-20732093 failed 2025-11-05 10:48:59,342 - INFO - Adding interface with subnet_id 879a3c83-4c4f-47f8-adcf-f3b4d0976287, port_id None to router dc12a4bc-406b-4703-b9c7-9bcdba618a18 2025-11-05 10:48:59,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 10:48:59,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.170.44.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 10:48:59,556 - DEBUG - ping -s 56 -c 3 -W 1 113.170.44.67 2025-11-05 10:49:01,791 - DEBUG - PING 113.170.44.67 (113.170.44.67): 56 data bytes 64 bytes from 113.170.44.67: seq=0 ttl=63 time=1.470 ms 64 bytes from 113.170.44.67: seq=1 ttl=63 time=0.998 ms 64 bytes from 113.170.44.67: seq=2 ttl=63 time=1.014 ms --- 113.170.44.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.998/1.160/1.470 ms 2025-11-05 10:49:01,791 - INFO - Ping to IP 113.170.44.67 from VM ctest-vn1-vm1-20732093 passed 2025-11-05 10:49:01,791 - INFO - Deleting interface with subnet_id 4b712dfe-cace-43d3-8f98-9df4358df615, port_id None from router dc12a4bc-406b-4703-b9c7-9bcdba618a18 2025-11-05 10:49:01,914 - INFO - Deleting interface with subnet_id 879a3c83-4c4f-47f8-adcf-f3b4d0976287, port_id None from router dc12a4bc-406b-4703-b9c7-9bcdba618a18 2025-11-05 10:49:02,118 - INFO - Deleting VM ctest-vn2-vm1-46824276 2025-11-05 10:49:02,202 - INFO - Deleting VM ctest-vn1-vm1-20732093 2025-11-05 10:49:02,281 - INFO - Deleting VN ctest-vn2-38623161 2025-11-05 10:49:02,326 - DEBUG - VN b061cf0a-f276-46bb-bfa5-97d5788402e2 still in use: Unable to complete operation on network b061cf0a-f276-46bb-bfa5-97d5788402e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fac64228-b969-46b2-a832-60862eb55e5c'] 2025-11-05 10:49:02,326 - WARNING - Deleting VN ctest-vn2-38623161 failed..Will retry 2025-11-05 10:49:04,438 - DEBUG - Response for deleting network () 2025-11-05 10:49:04,438 - INFO - Deleting VN ctest-vn1-66435254 2025-11-05 10:49:04,554 - DEBUG - Response for deleting network () 2025-11-05 10:49:04,815 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 10:49:04,815 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-05 10:49:04,816 - INFO - -------------------------------------------------------------------------------- 2025-11-05 10:49:05,533 - INFO - Deleted project: ctest-TestRouters-05629420, ID : e92e73a4-b768-4d13-a631-370bf28bfa89