2025-07-28 02:21:39,618 - INFO - Domain Default found not creating 2025-07-28 02:21:39,757 - INFO - Project ctest-TestRouters-06590422 not found, creating it 2025-07-28 02:21:40,228 - INFO - Created Project:ctest-TestRouters-06590422, ID : 84b94ec8-474f-4127-b781-f6aad2c541d6 2025-07-28 02:21:41,750 - INFO - ================================================================================ 2025-07-28 02:21:41,750 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-28 02:21:41,750 - 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-07-28 02:21:42,005 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.25': '0'}} with 2025-07-28 02:21:42,005 - INFO - Initial checks done. Running the testcase now 2025-07-28 02:21:42,005 - INFO - 2025-07-28 02:21:42,581 - DEBUG - Response for create_network : {'network': {'id': '647bdb45-530a-4691-bbdd-ec60bd4f5c6f', 'name': 'ctest-vn1-64948043', 'tenant_id': '84b94ec8474f4127b781f6aad2c541d6', 'project_id': '84b94ec8474f4127b781f6aad2c541d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06590422', 'ctest-vn1-64948043'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:21:42,760 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd8bec16-6b1d-4970-b091-97c4586129c3', 'name': '', 'tenant_id': '84b94ec8474f4127b781f6aad2c541d6', 'network_id': '647bdb45-530a-4691-bbdd-ec60bd4f5c6f', 'ip_version': 4, 'cidr': '121.80.35.192/26', 'allocation_pools': [{'start': '121.80.35.194', 'end': '121.80.35.254'}], 'gateway_ip': '121.80.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.80.35.194', 'tags': [], 'project_id': '84b94ec8474f4127b781f6aad2c541d6'}} 2025-07-28 02:21:42,779 - INFO - Created VN ctest-vn1-64948043 2025-07-28 02:21:42,831 - DEBUG - VN ctest-vn1-64948043 UUID is 647bdb45-530a-4691-bbdd-ec60bd4f5c6f 2025-07-28 02:21:43,175 - DEBUG - Response for create_network : {'network': {'id': '8d81f992-d181-46b8-8e2c-74bd19dbf3e3', 'name': 'ctest-vn2-26022802', 'tenant_id': '84b94ec8474f4127b781f6aad2c541d6', 'project_id': '84b94ec8474f4127b781f6aad2c541d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06590422', 'ctest-vn2-26022802'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:21:43,413 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f283b323-edae-46fd-8b5b-a30405cc773f', 'name': '', 'tenant_id': '84b94ec8474f4127b781f6aad2c541d6', 'network_id': '8d81f992-d181-46b8-8e2c-74bd19dbf3e3', 'ip_version': 4, 'cidr': '76.113.198.0/26', 'allocation_pools': [{'start': '76.113.198.2', 'end': '76.113.198.62'}], 'gateway_ip': '76.113.198.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.113.198.2', 'tags': [], 'project_id': '84b94ec8474f4127b781f6aad2c541d6'}} 2025-07-28 02:21:43,431 - INFO - Created VN ctest-vn2-26022802 2025-07-28 02:21:43,483 - DEBUG - VN ctest-vn2-26022802 UUID is 8d81f992-d181-46b8-8e2c-74bd19dbf3e3 2025-07-28 02:21:43,665 - DEBUG - Services list from nova: [, , ] 2025-07-28 02:21:44,676 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3720-1) 2025-07-28 02:21:45,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3720-1) 2025-07-28 02:21:45,977 - INFO - Adding interface with subnet_id bd8bec16-6b1d-4970-b091-97c4586129c3, port_id None to router cd572137-f412-425c-9676-9c1f1fe04622 2025-07-28 02:21:46,287 - INFO - Waiting for VM ctest-vn1-vm1-61377113 to be up.. 2025-07-28 02:21:46,384 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:21:51,464 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:21:51,464 - INFO - VM name : ctest-vn1-vm1-61377113 2025-07-28 02:21:51,542 - DEBUG - VM ctest-vn1-vm1-61377113 ID is efc65473-d0a0-4f3f-becd-fd192e2bed13 2025-07-28 02:21:51,562 - DEBUG - VM ctest-vn1-vm1-61377113 launched on Node cn-jenkins-deploy-platform-ansible-os-3720-1 2025-07-28 02:21:51,637 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/efc65473-d0a0-4f3f-becd-fd192e2bed13 2025-07-28 02:21:51,928 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/efc65473-d0a0-4f3f-becd-fd192e2bed13 2025-07-28 02:21:51,970 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8479eb47-066d-442f-ba6b-361821da9dec 2025-07-28 02:21:55,230 - 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 1003ms') 2025-07-28 02:21:55,230 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61377113 failed! 2025-07-28 02:21:55,291 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-06590422:ctest-vn1-64948043 is 121.80.35.193 and allocation pool is NOT set 2025-07-28 02:21:57,353 - 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=2.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 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.438/1.612/2.786/1.174 ms') 2025-07-28 02:21:57,353 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61377113 passed 2025-07-28 02:21:57,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:21:57,507 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61377113, IP 121.80.35.195, Port 22 2025-07-28 02:21:57,666 - DEBUG - VM ctest-vn1-vm1-61377113 is ready for SSH connections 2025-07-28 02:21:57,666 - INFO - Waiting for VM ctest-vn2-vm1-59734454 to be up.. 2025-07-28 02:21:57,743 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:21:57,743 - INFO - VM name : ctest-vn2-vm1-59734454 2025-07-28 02:21:57,826 - DEBUG - VM ctest-vn2-vm1-59734454 ID is bcac4e3e-65ec-4f0c-92ce-b51b6bab7782 2025-07-28 02:21:57,826 - DEBUG - VM ctest-vn2-vm1-59734454 launched on Node cn-jenkins-deploy-platform-ansible-os-3720-1 2025-07-28 02:21:57,915 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/bcac4e3e-65ec-4f0c-92ce-b51b6bab7782 2025-07-28 02:21:57,924 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/73afb959-d3d4-4910-85da-0f8538dbac32 2025-07-28 02:21:59,161 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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.417/1.598/2.780/1.181 ms') 2025-07-28 02:21:59,161 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-59734454 passed 2025-07-28 02:21:59,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:21:59,311 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-59734454, IP 76.113.198.3, Port 22 2025-07-28 02:21:59,470 - DEBUG - VM ctest-vn2-vm1-59734454 is ready for SSH connections 2025-07-28 02:21:59,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:21:59,470 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.113.198.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-28 02:21:59,470 - DEBUG - ping -s 56 -c 3 -W 1 76.113.198.3 2025-07-28 02:22:04,471 - DEBUG - PING 76.113.198.3 (76.113.198.3): 56 data bytes --- 76.113.198.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-28 02:22:04,471 - WARNING - Ping to IP 76.113.198.3 from VM ctest-vn1-vm1-61377113 failed 2025-07-28 02:22:04,471 - INFO - Adding interface with subnet_id f283b323-edae-46fd-8b5b-a30405cc773f, port_id None to router cd572137-f412-425c-9676-9c1f1fe04622 2025-07-28 02:22:04,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:04,748 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.113.198.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-28 02:22:04,749 - DEBUG - ping -s 56 -c 3 -W 1 76.113.198.3 2025-07-28 02:22:07,945 - DEBUG - PING 76.113.198.3 (76.113.198.3): 56 data bytes 64 bytes from 76.113.198.3: seq=1 ttl=63 time=2.540 ms 64 bytes from 76.113.198.3: seq=2 ttl=63 time=0.921 ms --- 76.113.198.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.921/1.730/2.540 ms 2025-07-28 02:22:07,945 - WARNING - Ping to IP 76.113.198.3 from VM ctest-vn1-vm1-61377113 failed 2025-07-28 02:22:08,945 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.113.198.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-28 02:22:08,945 - DEBUG - ping -s 56 -c 3 -W 1 76.113.198.3 2025-07-28 02:22:11,150 - DEBUG - PING 76.113.198.3 (76.113.198.3): 56 data bytes 64 bytes from 76.113.198.3: seq=0 ttl=63 time=1.258 ms 64 bytes from 76.113.198.3: seq=1 ttl=63 time=0.748 ms 64 bytes from 76.113.198.3: seq=2 ttl=63 time=0.806 ms --- 76.113.198.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.748/0.937/1.258 ms 2025-07-28 02:22:11,150 - INFO - Ping to IP 76.113.198.3 from VM ctest-vn1-vm1-61377113 passed 2025-07-28 02:22:11,151 - INFO - Deleting interface with subnet_id bd8bec16-6b1d-4970-b091-97c4586129c3, port_id None from router cd572137-f412-425c-9676-9c1f1fe04622 2025-07-28 02:22:11,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:11,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.113.198.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-28 02:22:11,285 - DEBUG - ping -s 56 -c 3 -W 1 76.113.198.3 2025-07-28 02:22:14,483 - DEBUG - PING 76.113.198.3 (76.113.198.3): 56 data bytes --- 76.113.198.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-28 02:22:14,483 - WARNING - Ping to IP 76.113.198.3 from VM ctest-vn1-vm1-61377113 failed 2025-07-28 02:22:14,483 - INFO - Adding interface with subnet_id bd8bec16-6b1d-4970-b091-97c4586129c3, port_id None to router cd572137-f412-425c-9676-9c1f1fe04622 2025-07-28 02:22:14,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:14,715 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.113.198.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-28 02:22:14,715 - DEBUG - ping -s 56 -c 3 -W 1 76.113.198.3 2025-07-28 02:22:16,920 - DEBUG - PING 76.113.198.3 (76.113.198.3): 56 data bytes 64 bytes from 76.113.198.3: seq=0 ttl=63 time=1.244 ms 64 bytes from 76.113.198.3: seq=1 ttl=63 time=0.877 ms 64 bytes from 76.113.198.3: seq=2 ttl=63 time=0.914 ms --- 76.113.198.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/1.011/1.244 ms 2025-07-28 02:22:16,920 - INFO - Ping to IP 76.113.198.3 from VM ctest-vn1-vm1-61377113 passed 2025-07-28 02:22:16,920 - INFO - Deleting interface with subnet_id f283b323-edae-46fd-8b5b-a30405cc773f, port_id None from router cd572137-f412-425c-9676-9c1f1fe04622 2025-07-28 02:22:17,103 - INFO - Deleting interface with subnet_id bd8bec16-6b1d-4970-b091-97c4586129c3, port_id None from router cd572137-f412-425c-9676-9c1f1fe04622 2025-07-28 02:22:17,344 - INFO - Deleting VM ctest-vn2-vm1-59734454 2025-07-28 02:22:17,427 - INFO - Deleting VM ctest-vn1-vm1-61377113 2025-07-28 02:22:17,508 - INFO - Deleting VN ctest-vn2-26022802 2025-07-28 02:22:17,551 - DEBUG - VN 8d81f992-d181-46b8-8e2c-74bd19dbf3e3 still in use: Unable to complete operation on network 8d81f992-d181-46b8-8e2c-74bd19dbf3e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b68ea47b-fd0d-4295-b637-2e89a2f6f87b'] 2025-07-28 02:22:17,551 - WARNING - Deleting VN ctest-vn2-26022802 failed..Will retry 2025-07-28 02:22:19,651 - DEBUG - Response for deleting network () 2025-07-28 02:22:19,651 - INFO - Deleting VN ctest-vn1-64948043 2025-07-28 02:22:19,752 - DEBUG - Response for deleting network () 2025-07-28 02:22:20,008 - DEBUG - No XMPP flaps were noticed during the test 2025-07-28 02:22:20,008 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-07-28 02:22:20,009 - INFO - -------------------------------------------------------------------------------- 2025-07-28 02:22:20,672 - INFO - Deleted project: ctest-TestRouters-06590422, ID : 84b94ec8-474f-4127-b781-f6aad2c541d6