2025-11-13 13:15:24,189 - INFO - Domain Default found not creating 2025-11-13 13:15:24,327 - INFO - Project ctest-TestRouters-68879810 not found, creating it 2025-11-13 13:15:24,765 - INFO - Created Project:ctest-TestRouters-68879810, ID : fda09b46-2125-471d-aa42-0e58a2be91ba 2025-11-13 13:15:26,198 - INFO - ================================================================================ 2025-11-13 13:15:26,198 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-13 13:15:26,198 - 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-13 13:15:26,454 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-11-13 13:15:26,454 - INFO - Initial checks done. Running the testcase now 2025-11-13 13:15:26,454 - INFO - 2025-11-13 13:15:26,993 - DEBUG - Response for create_network : {'network': {'id': 'a7ab659a-1652-45b3-84b4-fd35a5abe886', 'name': 'ctest-vn1-41516732', 'tenant_id': 'fda09b462125471daa420e58a2be91ba', 'project_id': 'fda09b462125471daa420e58a2be91ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-68879810', 'ctest-vn1-41516732'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 13:15:27,194 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7da8b79-c031-4686-ac34-75157fa547aa', 'name': '', 'tenant_id': 'fda09b462125471daa420e58a2be91ba', 'network_id': 'a7ab659a-1652-45b3-84b4-fd35a5abe886', 'ip_version': 4, 'cidr': '44.147.131.0/26', 'allocation_pools': [{'start': '44.147.131.2', 'end': '44.147.131.62'}], 'gateway_ip': '44.147.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.147.131.2', 'tags': [], 'project_id': 'fda09b462125471daa420e58a2be91ba'}} 2025-11-13 13:15:27,209 - INFO - Created VN ctest-vn1-41516732 2025-11-13 13:15:27,260 - DEBUG - VN ctest-vn1-41516732 UUID is a7ab659a-1652-45b3-84b4-fd35a5abe886 2025-11-13 13:15:27,570 - DEBUG - Response for create_network : {'network': {'id': '8071c5aa-7c87-4fd1-bf2e-d64c1aac16c4', 'name': 'ctest-vn2-06008156', 'tenant_id': 'fda09b462125471daa420e58a2be91ba', 'project_id': 'fda09b462125471daa420e58a2be91ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-68879810', 'ctest-vn2-06008156'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 13:15:27,786 - DEBUG - Response for create_subnet : {'subnet': {'id': '63486ccc-8776-4d03-8028-6ff315cc0be2', 'name': '', 'tenant_id': 'fda09b462125471daa420e58a2be91ba', 'network_id': '8071c5aa-7c87-4fd1-bf2e-d64c1aac16c4', 'ip_version': 4, 'cidr': '4.36.153.0/26', 'allocation_pools': [{'start': '4.36.153.2', 'end': '4.36.153.62'}], 'gateway_ip': '4.36.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.36.153.2', 'tags': [], 'project_id': 'fda09b462125471daa420e58a2be91ba'}} 2025-11-13 13:15:27,804 - INFO - Created VN ctest-vn2-06008156 2025-11-13 13:15:27,856 - DEBUG - VN ctest-vn2-06008156 UUID is 8071c5aa-7c87-4fd1-bf2e-d64c1aac16c4 2025-11-13 13:15:28,056 - DEBUG - Services list from nova: [, , ] 2025-11-13 13:15:29,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4722-1) 2025-11-13 13:15:30,302 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4722-1) 2025-11-13 13:15:30,370 - INFO - Adding interface with subnet_id c7da8b79-c031-4686-ac34-75157fa547aa, port_id None to router 18404de5-84f5-4d5f-80ce-f41ae6c0f95b 2025-11-13 13:15:30,676 - INFO - Waiting for VM ctest-vn1-vm1-50268541 to be up.. 2025-11-13 13:15:30,763 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 13:15:35,833 - DEBUG - VM is in ACTIVE state now 2025-11-13 13:15:35,833 - INFO - VM name : ctest-vn1-vm1-50268541 2025-11-13 13:15:35,903 - DEBUG - VM ctest-vn1-vm1-50268541 ID is c3a45574-40b5-493b-a9ec-3b2823f7d98c 2025-11-13 13:15:35,920 - DEBUG - VM ctest-vn1-vm1-50268541 launched on Node cn-jenkins-deploy-platform-ansible-os-4722-1 2025-11-13 13:15:35,988 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c3a45574-40b5-493b-a9ec-3b2823f7d98c 2025-11-13 13:15:36,281 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c3a45574-40b5-493b-a9ec-3b2823f7d98c 2025-11-13 13:15:36,309 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d435663b-b2fa-40e0-8760-85ddc841d76b 2025-11-13 13:15:39,573 - 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 1032ms') 2025-11-13 13:15:39,573 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50268541 failed! 2025-11-13 13:15:39,628 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-68879810:ctest-vn1-41516732 is 44.147.131.1 and allocation pool is NOT set 2025-11-13 13:15:41,688 - 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=4.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.516 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.516/2.280/4.045/1.764 ms') 2025-11-13 13:15:41,688 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50268541 passed 2025-11-13 13:15:41,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:15:41,848 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50268541, IP 44.147.131.3, Port 22 2025-11-13 13:15:42,007 - DEBUG - VM ctest-vn1-vm1-50268541 is ready for SSH connections 2025-11-13 13:15:42,007 - INFO - Waiting for VM ctest-vn2-vm1-55959194 to be up.. 2025-11-13 13:15:42,081 - DEBUG - VM is in ACTIVE state now 2025-11-13 13:15:42,081 - INFO - VM name : ctest-vn2-vm1-55959194 2025-11-13 13:15:42,153 - DEBUG - VM ctest-vn2-vm1-55959194 ID is baa91141-11e2-4fcb-bc31-b733d080a36e 2025-11-13 13:15:42,153 - DEBUG - VM ctest-vn2-vm1-55959194 launched on Node cn-jenkins-deploy-platform-ansible-os-4722-1 2025-11-13 13:15:42,223 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/baa91141-11e2-4fcb-bc31-b733d080a36e 2025-11-13 13:15:42,230 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7d3c9b4e-8247-4350-be73-09917cd46df9 2025-11-13 13:15:43,459 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.949 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.949/2.406/3.864/1.457 ms') 2025-11-13 13:15:43,459 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-55959194 passed 2025-11-13 13:15:43,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:15:43,608 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-55959194, IP 4.36.153.3, Port 22 2025-11-13 13:15:43,764 - DEBUG - VM ctest-vn2-vm1-55959194 is ready for SSH connections 2025-11-13 13:15:43,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:15:43,764 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.36.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 13:15:43,764 - DEBUG - ping -s 56 -c 3 -W 1 4.36.153.3 2025-11-13 13:15:48,407 - DEBUG - PING 4.36.153.3 (4.36.153.3): 56 data bytes --- 4.36.153.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 13:15:48,407 - WARNING - Ping to IP 4.36.153.3 from VM ctest-vn1-vm1-50268541 failed 2025-11-13 13:15:48,407 - INFO - Adding interface with subnet_id 63486ccc-8776-4d03-8028-6ff315cc0be2, port_id None to router 18404de5-84f5-4d5f-80ce-f41ae6c0f95b 2025-11-13 13:15:48,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:15:48,631 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.36.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 13:15:48,631 - DEBUG - ping -s 56 -c 3 -W 1 4.36.153.3 2025-11-13 13:15:51,861 - DEBUG - PING 4.36.153.3 (4.36.153.3): 56 data bytes 64 bytes from 4.36.153.3: seq=1 ttl=63 time=4.024 ms 64 bytes from 4.36.153.3: seq=2 ttl=63 time=0.811 ms --- 4.36.153.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.811/2.417/4.024 ms 2025-11-13 13:15:51,861 - WARNING - Ping to IP 4.36.153.3 from VM ctest-vn1-vm1-50268541 failed 2025-11-13 13:15:52,862 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.36.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 13:15:52,862 - DEBUG - ping -s 56 -c 3 -W 1 4.36.153.3 2025-11-13 13:15:55,064 - DEBUG - PING 4.36.153.3 (4.36.153.3): 56 data bytes 64 bytes from 4.36.153.3: seq=0 ttl=63 time=1.461 ms 64 bytes from 4.36.153.3: seq=1 ttl=63 time=0.804 ms 64 bytes from 4.36.153.3: seq=2 ttl=63 time=0.766 ms --- 4.36.153.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.766/1.010/1.461 ms 2025-11-13 13:15:55,065 - INFO - Ping to IP 4.36.153.3 from VM ctest-vn1-vm1-50268541 passed 2025-11-13 13:15:55,065 - INFO - Deleting interface with subnet_id c7da8b79-c031-4686-ac34-75157fa547aa, port_id None from router 18404de5-84f5-4d5f-80ce-f41ae6c0f95b 2025-11-13 13:15:55,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:15:55,164 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.36.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 13:15:55,164 - DEBUG - ping -s 56 -c 3 -W 1 4.36.153.3 2025-11-13 13:15:58,367 - DEBUG - PING 4.36.153.3 (4.36.153.3): 56 data bytes --- 4.36.153.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 13:15:58,367 - WARNING - Ping to IP 4.36.153.3 from VM ctest-vn1-vm1-50268541 failed 2025-11-13 13:15:58,367 - INFO - Adding interface with subnet_id c7da8b79-c031-4686-ac34-75157fa547aa, port_id None to router 18404de5-84f5-4d5f-80ce-f41ae6c0f95b 2025-11-13 13:15:58,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:15:58,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.36.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 13:15:58,552 - DEBUG - ping -s 56 -c 3 -W 1 4.36.153.3 2025-11-13 13:16:00,751 - DEBUG - PING 4.36.153.3 (4.36.153.3): 56 data bytes 64 bytes from 4.36.153.3: seq=0 ttl=63 time=1.298 ms 64 bytes from 4.36.153.3: seq=1 ttl=63 time=0.894 ms 64 bytes from 4.36.153.3: seq=2 ttl=63 time=0.859 ms --- 4.36.153.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/1.017/1.298 ms 2025-11-13 13:16:00,751 - INFO - Ping to IP 4.36.153.3 from VM ctest-vn1-vm1-50268541 passed 2025-11-13 13:16:00,751 - INFO - Deleting interface with subnet_id 63486ccc-8776-4d03-8028-6ff315cc0be2, port_id None from router 18404de5-84f5-4d5f-80ce-f41ae6c0f95b 2025-11-13 13:16:00,874 - INFO - Deleting interface with subnet_id c7da8b79-c031-4686-ac34-75157fa547aa, port_id None from router 18404de5-84f5-4d5f-80ce-f41ae6c0f95b 2025-11-13 13:16:01,035 - INFO - Deleting VM ctest-vn2-vm1-55959194 2025-11-13 13:16:01,108 - INFO - Deleting VM ctest-vn1-vm1-50268541 2025-11-13 13:16:01,186 - INFO - Deleting VN ctest-vn2-06008156 2025-11-13 13:16:01,220 - DEBUG - VN 8071c5aa-7c87-4fd1-bf2e-d64c1aac16c4 still in use: Unable to complete operation on network 8071c5aa-7c87-4fd1-bf2e-d64c1aac16c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e94b0b3-affd-47ea-9c47-05435ab9b336'] 2025-11-13 13:16:01,220 - WARNING - Deleting VN ctest-vn2-06008156 failed..Will retry 2025-11-13 13:16:03,329 - DEBUG - Response for deleting network () 2025-11-13 13:16:03,329 - INFO - Deleting VN ctest-vn1-41516732 2025-11-13 13:16:03,442 - DEBUG - Response for deleting network () 2025-11-13 13:16:03,701 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 13:16:03,701 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-11-13 13:16:03,701 - INFO - -------------------------------------------------------------------------------- 2025-11-13 13:16:04,360 - INFO - Deleted project: ctest-TestRouters-68879810, ID : fda09b46-2125-471d-aa42-0e58a2be91ba