2025-09-23 12:23:56,460 - INFO - Domain Default found not creating 2025-09-23 12:23:56,721 - INFO - Project ctest-TestRouters-73604487 not found, creating it 2025-09-23 12:23:57,166 - INFO - Created Project:ctest-TestRouters-73604487, ID : 8a821174-c188-446f-bc22-13661b77cce8 2025-09-23 12:23:58,645 - INFO - ================================================================================ 2025-09-23 12:23:58,645 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-23 12:23:58,645 - 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-09-23 12:23:58,908 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-09-23 12:23:58,908 - INFO - Initial checks done. Running the testcase now 2025-09-23 12:23:58,908 - INFO - 2025-09-23 12:23:59,552 - DEBUG - Response for create_network : {'network': {'id': '4f5b528c-ab31-4117-a338-2340893007b7', 'name': 'ctest-vn1-55562912', 'tenant_id': '8a821174c188446fbc2213661b77cce8', 'project_id': '8a821174c188446fbc2213661b77cce8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-73604487', 'ctest-vn1-55562912'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:23:59,746 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5da44f3-aac3-43d1-ab87-6605d64ed66a', 'name': '', 'tenant_id': '8a821174c188446fbc2213661b77cce8', 'network_id': '4f5b528c-ab31-4117-a338-2340893007b7', 'ip_version': 4, 'cidr': '34.68.182.64/26', 'allocation_pools': [{'start': '34.68.182.66', 'end': '34.68.182.126'}], 'gateway_ip': '34.68.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.68.182.66', 'tags': [], 'project_id': '8a821174c188446fbc2213661b77cce8'}} 2025-09-23 12:23:59,772 - INFO - Created VN ctest-vn1-55562912 2025-09-23 12:23:59,827 - DEBUG - VN ctest-vn1-55562912 UUID is 4f5b528c-ab31-4117-a338-2340893007b7 2025-09-23 12:24:00,177 - DEBUG - Response for create_network : {'network': {'id': 'a416e306-c8df-4b74-820a-5f6ed2dcbf9a', 'name': 'ctest-vn2-28396346', 'tenant_id': '8a821174c188446fbc2213661b77cce8', 'project_id': '8a821174c188446fbc2213661b77cce8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-73604487', 'ctest-vn2-28396346'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:24:00,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c431a39-3c4b-4909-9d0d-a2cba9e4dffe', 'name': '', 'tenant_id': '8a821174c188446fbc2213661b77cce8', 'network_id': 'a416e306-c8df-4b74-820a-5f6ed2dcbf9a', 'ip_version': 4, 'cidr': '219.105.96.64/26', 'allocation_pools': [{'start': '219.105.96.66', 'end': '219.105.96.126'}], 'gateway_ip': '219.105.96.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.105.96.66', 'tags': [], 'project_id': '8a821174c188446fbc2213661b77cce8'}} 2025-09-23 12:24:00,382 - INFO - Created VN ctest-vn2-28396346 2025-09-23 12:24:00,435 - DEBUG - VN ctest-vn2-28396346 UUID is a416e306-c8df-4b74-820a-5f6ed2dcbf9a 2025-09-23 12:24:00,620 - DEBUG - Services list from nova: [, , ] 2025-09-23 12:24:01,781 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4175-1) 2025-09-23 12:24:02,979 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4175-1) 2025-09-23 12:24:03,056 - INFO - Adding interface with subnet_id b5da44f3-aac3-43d1-ab87-6605d64ed66a, port_id None to router f1bf5700-6230-48dc-84d7-8d492828f0d9 2025-09-23 12:24:03,374 - INFO - Waiting for VM ctest-vn1-vm1-87163940 to be up.. 2025-09-23 12:24:03,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 12:24:08,663 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:24:08,663 - INFO - VM name : ctest-vn1-vm1-87163940 2025-09-23 12:24:08,766 - DEBUG - VM ctest-vn1-vm1-87163940 ID is 29616a41-dede-4ed4-b0d9-a9ff30c57257 2025-09-23 12:24:08,792 - DEBUG - VM ctest-vn1-vm1-87163940 launched on Node cn-jenkins-deploy-platform-ansible-os-4175-1 2025-09-23 12:24:08,876 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/29616a41-dede-4ed4-b0d9-a9ff30c57257 2025-09-23 12:24:09,180 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/29616a41-dede-4ed4-b0d9-a9ff30c57257 2025-09-23 12:24:09,220 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e273f223-e457-4d70-87be-d76e92984e38 2025-09-23 12:24:12,480 - 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 1014ms') 2025-09-23 12:24:12,480 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87163940 failed! 2025-09-23 12:24:12,535 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-73604487:ctest-vn1-55562912 is 34.68.182.65 and allocation pool is NOT set 2025-09-23 12:24:14,593 - 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=5.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.768 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.768/2.976/5.185/2.208 ms') 2025-09-23 12:24:14,593 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87163940 passed 2025-09-23 12:24:14,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:24:14,751 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87163940, IP 34.68.182.67, Port 22 2025-09-23 12:24:14,914 - DEBUG - VM ctest-vn1-vm1-87163940 is ready for SSH connections 2025-09-23 12:24:14,915 - INFO - Waiting for VM ctest-vn2-vm1-88273690 to be up.. 2025-09-23 12:24:15,010 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:24:15,010 - INFO - VM name : ctest-vn2-vm1-88273690 2025-09-23 12:24:15,109 - DEBUG - VM ctest-vn2-vm1-88273690 ID is d5696a48-cf71-4c75-bbd0-284aa942c45c 2025-09-23 12:24:15,109 - DEBUG - VM ctest-vn2-vm1-88273690 launched on Node cn-jenkins-deploy-platform-ansible-os-4175-1 2025-09-23 12:24:15,198 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d5696a48-cf71-4c75-bbd0-284aa942c45c 2025-09-23 12:24:15,207 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0d6734a9-e2c1-47e8-9a6a-d2fde97cee39 2025-09-23 12:24:16,449 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.758/3.050/1.291 ms') 2025-09-23 12:24:16,449 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-88273690 passed 2025-09-23 12:24:16,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:24:16,611 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-88273690, IP 219.105.96.67, Port 22 2025-09-23 12:24:16,777 - DEBUG - VM ctest-vn2-vm1-88273690 is ready for SSH connections 2025-09-23 12:24:16,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:24:16,777 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.105.96.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-23 12:24:16,777 - DEBUG - ping -s 56 -c 3 -W 1 219.105.96.67 2025-09-23 12:24:21,874 - DEBUG - PING 219.105.96.67 (219.105.96.67): 56 data bytes --- 219.105.96.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 12:24:21,874 - WARNING - Ping to IP 219.105.96.67 from VM ctest-vn1-vm1-87163940 failed 2025-09-23 12:24:21,874 - INFO - Adding interface with subnet_id 2c431a39-3c4b-4909-9d0d-a2cba9e4dffe, port_id None to router f1bf5700-6230-48dc-84d7-8d492828f0d9 2025-09-23 12:24:22,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:24:22,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.105.96.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-23 12:24:22,203 - DEBUG - ping -s 56 -c 3 -W 1 219.105.96.67 2025-09-23 12:24:25,423 - DEBUG - PING 219.105.96.67 (219.105.96.67): 56 data bytes 64 bytes from 219.105.96.67: seq=1 ttl=63 time=3.126 ms 64 bytes from 219.105.96.67: seq=2 ttl=63 time=1.316 ms --- 219.105.96.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.316/2.221/3.126 ms 2025-09-23 12:24:25,423 - WARNING - Ping to IP 219.105.96.67 from VM ctest-vn1-vm1-87163940 failed 2025-09-23 12:24:26,423 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.105.96.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-23 12:24:26,424 - DEBUG - ping -s 56 -c 3 -W 1 219.105.96.67 2025-09-23 12:24:28,643 - DEBUG - PING 219.105.96.67 (219.105.96.67): 56 data bytes 64 bytes from 219.105.96.67: seq=0 ttl=63 time=1.651 ms 64 bytes from 219.105.96.67: seq=1 ttl=63 time=1.310 ms 64 bytes from 219.105.96.67: seq=2 ttl=63 time=1.153 ms --- 219.105.96.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.153/1.371/1.651 ms 2025-09-23 12:24:28,643 - INFO - Ping to IP 219.105.96.67 from VM ctest-vn1-vm1-87163940 passed 2025-09-23 12:24:28,643 - INFO - Deleting interface with subnet_id b5da44f3-aac3-43d1-ab87-6605d64ed66a, port_id None from router f1bf5700-6230-48dc-84d7-8d492828f0d9 2025-09-23 12:24:28,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:24:28,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.105.96.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-23 12:24:28,791 - DEBUG - ping -s 56 -c 3 -W 1 219.105.96.67 2025-09-23 12:24:32,018 - DEBUG - PING 219.105.96.67 (219.105.96.67): 56 data bytes --- 219.105.96.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 12:24:32,018 - WARNING - Ping to IP 219.105.96.67 from VM ctest-vn1-vm1-87163940 failed 2025-09-23 12:24:32,019 - INFO - Adding interface with subnet_id b5da44f3-aac3-43d1-ab87-6605d64ed66a, port_id None to router f1bf5700-6230-48dc-84d7-8d492828f0d9 2025-09-23 12:24:32,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:24:32,275 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.105.96.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-23 12:24:32,276 - DEBUG - ping -s 56 -c 3 -W 1 219.105.96.67 2025-09-23 12:24:34,507 - DEBUG - PING 219.105.96.67 (219.105.96.67): 56 data bytes 64 bytes from 219.105.96.67: seq=0 ttl=63 time=1.750 ms 64 bytes from 219.105.96.67: seq=1 ttl=63 time=0.948 ms 64 bytes from 219.105.96.67: seq=2 ttl=63 time=1.128 ms --- 219.105.96.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/1.275/1.750 ms 2025-09-23 12:24:34,507 - INFO - Ping to IP 219.105.96.67 from VM ctest-vn1-vm1-87163940 passed 2025-09-23 12:24:34,507 - INFO - Deleting interface with subnet_id 2c431a39-3c4b-4909-9d0d-a2cba9e4dffe, port_id None from router f1bf5700-6230-48dc-84d7-8d492828f0d9 2025-09-23 12:24:34,642 - INFO - Deleting interface with subnet_id b5da44f3-aac3-43d1-ab87-6605d64ed66a, port_id None from router f1bf5700-6230-48dc-84d7-8d492828f0d9 2025-09-23 12:24:34,843 - INFO - Deleting VM ctest-vn2-vm1-88273690 2025-09-23 12:24:34,915 - INFO - Deleting VM ctest-vn1-vm1-87163940 2025-09-23 12:24:34,995 - INFO - Deleting VN ctest-vn2-28396346 2025-09-23 12:24:35,043 - DEBUG - VN a416e306-c8df-4b74-820a-5f6ed2dcbf9a still in use: Unable to complete operation on network a416e306-c8df-4b74-820a-5f6ed2dcbf9a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ec6f2d4-d5f0-45a3-ae93-b1ffd10023e1'] 2025-09-23 12:24:35,043 - WARNING - Deleting VN ctest-vn2-28396346 failed..Will retry 2025-09-23 12:24:37,165 - DEBUG - Response for deleting network () 2025-09-23 12:24:37,165 - INFO - Deleting VN ctest-vn1-55562912 2025-09-23 12:24:37,301 - DEBUG - Response for deleting network () 2025-09-23 12:24:37,562 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 12:24:37,562 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-09-23 12:24:37,562 - INFO - -------------------------------------------------------------------------------- 2025-09-23 12:24:38,249 - INFO - Deleted project: ctest-TestRouters-73604487, ID : 8a821174-c188-446f-bc22-13661b77cce8