2025-08-20 18:33:15,354 - INFO - Domain Default found not creating 2025-08-20 18:33:15,493 - INFO - Project ctest-TestRouters-00395355 not found, creating it 2025-08-20 18:33:15,970 - INFO - Created Project:ctest-TestRouters-00395355, ID : f5d1a5ec-baac-4a83-9679-36f5a6e55dca 2025-08-20 18:33:17,438 - INFO - ================================================================================ 2025-08-20 18:33:17,440 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-20 18:33:17,440 - 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-08-20 18:33:17,705 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-20 18:33:17,705 - INFO - Initial checks done. Running the testcase now 2025-08-20 18:33:17,706 - INFO - 2025-08-20 18:33:18,282 - DEBUG - Response for create_network : {'network': {'id': 'f6d27200-a88b-446a-9e6b-e4f66824b61c', 'name': 'ctest-vn1-44453009', 'tenant_id': 'f5d1a5ecbaac4a83967936f5a6e55dca', 'project_id': 'f5d1a5ecbaac4a83967936f5a6e55dca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-00395355', 'ctest-vn1-44453009'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:33:18,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '23ab4419-1de3-46fc-882d-4dae22bc303b', 'name': '', 'tenant_id': 'f5d1a5ecbaac4a83967936f5a6e55dca', 'network_id': 'f6d27200-a88b-446a-9e6b-e4f66824b61c', 'ip_version': 4, 'cidr': '143.121.159.192/26', 'allocation_pools': [{'start': '143.121.159.194', 'end': '143.121.159.254'}], 'gateway_ip': '143.121.159.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.121.159.194', 'tags': [], 'project_id': 'f5d1a5ecbaac4a83967936f5a6e55dca'}} 2025-08-20 18:33:18,517 - INFO - Created VN ctest-vn1-44453009 2025-08-20 18:33:18,569 - DEBUG - VN ctest-vn1-44453009 UUID is f6d27200-a88b-446a-9e6b-e4f66824b61c 2025-08-20 18:33:18,919 - DEBUG - Response for create_network : {'network': {'id': 'e80bb3cf-57d3-4fd9-b43e-6ed3cc23b129', 'name': 'ctest-vn2-85354737', 'tenant_id': 'f5d1a5ecbaac4a83967936f5a6e55dca', 'project_id': 'f5d1a5ecbaac4a83967936f5a6e55dca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-00395355', 'ctest-vn2-85354737'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:33:19,124 - DEBUG - Response for create_subnet : {'subnet': {'id': '83903c75-58fc-4c71-b224-f6364d9e9e20', 'name': '', 'tenant_id': 'f5d1a5ecbaac4a83967936f5a6e55dca', 'network_id': 'e80bb3cf-57d3-4fd9-b43e-6ed3cc23b129', 'ip_version': 4, 'cidr': '135.192.32.128/26', 'allocation_pools': [{'start': '135.192.32.130', 'end': '135.192.32.190'}], 'gateway_ip': '135.192.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.192.32.130', 'tags': [], 'project_id': 'f5d1a5ecbaac4a83967936f5a6e55dca'}} 2025-08-20 18:33:19,141 - INFO - Created VN ctest-vn2-85354737 2025-08-20 18:33:19,193 - DEBUG - VN ctest-vn2-85354737 UUID is e80bb3cf-57d3-4fd9-b43e-6ed3cc23b129 2025-08-20 18:33:19,352 - DEBUG - Services list from nova: [, , ] 2025-08-20 18:33:20,339 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3901-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3901-1) 2025-08-20 18:33:21,598 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3901-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3901-1) 2025-08-20 18:33:21,660 - INFO - Adding interface with subnet_id 23ab4419-1de3-46fc-882d-4dae22bc303b, port_id None to router 53e739ca-8a7f-4a22-870c-d9afdb71966d 2025-08-20 18:33:21,941 - INFO - Waiting for VM ctest-vn1-vm1-40433289 to be up.. 2025-08-20 18:33:22,042 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 18:33:27,130 - DEBUG - VM is in ACTIVE state now 2025-08-20 18:33:27,130 - INFO - VM name : ctest-vn1-vm1-40433289 2025-08-20 18:33:27,207 - DEBUG - VM ctest-vn1-vm1-40433289 ID is 3ab7e1a5-44d6-4aa0-9395-01dbde58fd1b 2025-08-20 18:33:27,225 - DEBUG - VM ctest-vn1-vm1-40433289 launched on Node cn-jenkins-deploy-platform-ansible-os-3901-1 2025-08-20 18:33:27,301 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3ab7e1a5-44d6-4aa0-9395-01dbde58fd1b 2025-08-20 18:33:27,604 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3ab7e1a5-44d6-4aa0-9395-01dbde58fd1b 2025-08-20 18:33:27,636 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/39b7ef7e-f77e-46a3-bfce-f3857c5e1b11 2025-08-20 18:33:30,915 - 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 1024ms') 2025-08-20 18:33:30,915 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40433289 failed! 2025-08-20 18:33:30,969 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-00395355:ctest-vn1-44453009 is 143.121.159.193 and allocation pool is NOT set 2025-08-20 18:33:33,034 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/1.521/2.619/1.097 ms') 2025-08-20 18:33:33,034 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40433289 passed 2025-08-20 18:33:33,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:33:33,185 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40433289, IP 143.121.159.195, Port 22 2025-08-20 18:33:33,351 - DEBUG - VM ctest-vn1-vm1-40433289 is ready for SSH connections 2025-08-20 18:33:33,351 - INFO - Waiting for VM ctest-vn2-vm1-26330746 to be up.. 2025-08-20 18:33:33,420 - DEBUG - VM is in ACTIVE state now 2025-08-20 18:33:33,420 - INFO - VM name : ctest-vn2-vm1-26330746 2025-08-20 18:33:33,489 - DEBUG - VM ctest-vn2-vm1-26330746 ID is 47717345-4754-4b02-8de9-67b0777895e9 2025-08-20 18:33:33,490 - DEBUG - VM ctest-vn2-vm1-26330746 launched on Node cn-jenkins-deploy-platform-ansible-os-3901-1 2025-08-20 18:33:33,562 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/47717345-4754-4b02-8de9-67b0777895e9 2025-08-20 18:33:33,571 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/621514c7-714b-419b-8efa-4f58a45cd0b8 2025-08-20 18:33:34,811 - 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.414 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.414/1.763/3.112/1.349 ms') 2025-08-20 18:33:34,811 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-26330746 passed 2025-08-20 18:33:34,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:33:34,965 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-26330746, IP 135.192.32.131, Port 22 2025-08-20 18:33:35,133 - DEBUG - VM ctest-vn2-vm1-26330746 is ready for SSH connections 2025-08-20 18:33:35,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:33:35,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.192.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-20 18:33:35,133 - DEBUG - ping -s 56 -c 3 -W 1 135.192.32.131 2025-08-20 18:33:40,048 - DEBUG - PING 135.192.32.131 (135.192.32.131): 56 data bytes --- 135.192.32.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 18:33:40,048 - WARNING - Ping to IP 135.192.32.131 from VM ctest-vn1-vm1-40433289 failed 2025-08-20 18:33:40,049 - INFO - Adding interface with subnet_id 83903c75-58fc-4c71-b224-f6364d9e9e20, port_id None to router 53e739ca-8a7f-4a22-870c-d9afdb71966d 2025-08-20 18:33:40,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:33:40,353 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.192.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-20 18:33:40,353 - DEBUG - ping -s 56 -c 3 -W 1 135.192.32.131 2025-08-20 18:33:43,567 - DEBUG - PING 135.192.32.131 (135.192.32.131): 56 data bytes 64 bytes from 135.192.32.131: seq=1 ttl=63 time=2.550 ms 64 bytes from 135.192.32.131: seq=2 ttl=63 time=0.851 ms --- 135.192.32.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.851/1.700/2.550 ms 2025-08-20 18:33:43,567 - WARNING - Ping to IP 135.192.32.131 from VM ctest-vn1-vm1-40433289 failed 2025-08-20 18:33:44,568 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.192.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-20 18:33:44,568 - DEBUG - ping -s 56 -c 3 -W 1 135.192.32.131 2025-08-20 18:33:46,775 - DEBUG - PING 135.192.32.131 (135.192.32.131): 56 data bytes 64 bytes from 135.192.32.131: seq=0 ttl=63 time=1.297 ms 64 bytes from 135.192.32.131: seq=1 ttl=63 time=0.876 ms 64 bytes from 135.192.32.131: seq=2 ttl=63 time=0.816 ms --- 135.192.32.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/0.996/1.297 ms 2025-08-20 18:33:46,775 - INFO - Ping to IP 135.192.32.131 from VM ctest-vn1-vm1-40433289 passed 2025-08-20 18:33:46,775 - INFO - Deleting interface with subnet_id 23ab4419-1de3-46fc-882d-4dae22bc303b, port_id None from router 53e739ca-8a7f-4a22-870c-d9afdb71966d 2025-08-20 18:33:46,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:33:46,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.192.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-20 18:33:46,962 - DEBUG - ping -s 56 -c 3 -W 1 135.192.32.131 2025-08-20 18:33:50,168 - DEBUG - PING 135.192.32.131 (135.192.32.131): 56 data bytes --- 135.192.32.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 18:33:50,168 - WARNING - Ping to IP 135.192.32.131 from VM ctest-vn1-vm1-40433289 failed 2025-08-20 18:33:50,168 - INFO - Adding interface with subnet_id 23ab4419-1de3-46fc-882d-4dae22bc303b, port_id None to router 53e739ca-8a7f-4a22-870c-d9afdb71966d 2025-08-20 18:33:50,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:33:50,459 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.192.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-20 18:33:50,459 - DEBUG - ping -s 56 -c 3 -W 1 135.192.32.131 2025-08-20 18:33:52,663 - DEBUG - PING 135.192.32.131 (135.192.32.131): 56 data bytes 64 bytes from 135.192.32.131: seq=0 ttl=63 time=2.031 ms 64 bytes from 135.192.32.131: seq=1 ttl=63 time=0.847 ms 64 bytes from 135.192.32.131: seq=2 ttl=63 time=0.833 ms --- 135.192.32.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.833/1.237/2.031 ms 2025-08-20 18:33:52,664 - INFO - Ping to IP 135.192.32.131 from VM ctest-vn1-vm1-40433289 passed 2025-08-20 18:33:52,664 - INFO - Deleting interface with subnet_id 83903c75-58fc-4c71-b224-f6364d9e9e20, port_id None from router 53e739ca-8a7f-4a22-870c-d9afdb71966d 2025-08-20 18:33:52,800 - INFO - Deleting interface with subnet_id 23ab4419-1de3-46fc-882d-4dae22bc303b, port_id None from router 53e739ca-8a7f-4a22-870c-d9afdb71966d 2025-08-20 18:33:53,035 - INFO - Deleting VM ctest-vn2-vm1-26330746 2025-08-20 18:33:53,131 - INFO - Deleting VM ctest-vn1-vm1-40433289 2025-08-20 18:33:53,210 - INFO - Deleting VN ctest-vn2-85354737 2025-08-20 18:33:53,256 - DEBUG - VN e80bb3cf-57d3-4fd9-b43e-6ed3cc23b129 still in use: Unable to complete operation on network e80bb3cf-57d3-4fd9-b43e-6ed3cc23b129. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-94636dcd-096a-49da-8b9d-4b5ef6d941ed'] 2025-08-20 18:33:53,256 - WARNING - Deleting VN ctest-vn2-85354737 failed..Will retry 2025-08-20 18:33:55,381 - DEBUG - Response for deleting network () 2025-08-20 18:33:55,381 - INFO - Deleting VN ctest-vn1-44453009 2025-08-20 18:33:55,494 - DEBUG - Response for deleting network () 2025-08-20 18:33:55,762 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 18:33:55,762 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-20 18:33:55,763 - INFO - -------------------------------------------------------------------------------- 2025-08-20 18:33:56,442 - INFO - Deleted project: ctest-TestRouters-00395355, ID : f5d1a5ec-baac-4a83-9679-36f5a6e55dca