2025-11-05 16:12:56,655 - INFO - Domain Default found not creating 2025-11-05 16:12:56,790 - INFO - Project ctest-TestRouters-33448087 not found, creating it 2025-11-05 16:12:57,232 - INFO - Created Project:ctest-TestRouters-33448087, ID : b8daa7dd-5277-4ad0-8467-2c189a30afa8 2025-11-05 16:12:58,748 - INFO - ================================================================================ 2025-11-05 16:12:58,748 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 16:12:58,748 - 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 16:12:59,007 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.192': '0'}} with 2025-11-05 16:12:59,007 - INFO - Initial checks done. Running the testcase now 2025-11-05 16:12:59,007 - INFO - 2025-11-05 16:12:59,546 - DEBUG - Response for create_network : {'network': {'id': '01892b41-96cf-4041-a469-cf5956a232a7', 'name': 'ctest-vn1-74660212', 'tenant_id': 'b8daa7dd52774ad084672c189a30afa8', 'project_id': 'b8daa7dd52774ad084672c189a30afa8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33448087', 'ctest-vn1-74660212'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:12:59,766 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebfcbb02-2fa4-40a5-9714-551ea7a3d8c7', 'name': '', 'tenant_id': 'b8daa7dd52774ad084672c189a30afa8', 'network_id': '01892b41-96cf-4041-a469-cf5956a232a7', 'ip_version': 4, 'cidr': '47.230.115.192/26', 'allocation_pools': [{'start': '47.230.115.194', 'end': '47.230.115.254'}], 'gateway_ip': '47.230.115.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.230.115.194', 'tags': [], 'project_id': 'b8daa7dd52774ad084672c189a30afa8'}} 2025-11-05 16:12:59,783 - INFO - Created VN ctest-vn1-74660212 2025-11-05 16:12:59,834 - DEBUG - VN ctest-vn1-74660212 UUID is 01892b41-96cf-4041-a469-cf5956a232a7 2025-11-05 16:13:00,139 - DEBUG - Response for create_network : {'network': {'id': '92bdfdc8-8eba-4d6c-a89a-1b5000281448', 'name': 'ctest-vn2-04498836', 'tenant_id': 'b8daa7dd52774ad084672c189a30afa8', 'project_id': 'b8daa7dd52774ad084672c189a30afa8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33448087', 'ctest-vn2-04498836'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:13:00,378 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f34ade58-67f2-4b4c-a7f4-45059fbf029a', 'name': '', 'tenant_id': 'b8daa7dd52774ad084672c189a30afa8', 'network_id': '92bdfdc8-8eba-4d6c-a89a-1b5000281448', 'ip_version': 4, 'cidr': '205.163.213.0/26', 'allocation_pools': [{'start': '205.163.213.2', 'end': '205.163.213.62'}], 'gateway_ip': '205.163.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.163.213.2', 'tags': [], 'project_id': 'b8daa7dd52774ad084672c189a30afa8'}} 2025-11-05 16:13:00,399 - INFO - Created VN ctest-vn2-04498836 2025-11-05 16:13:00,454 - DEBUG - VN ctest-vn2-04498836 UUID is 92bdfdc8-8eba-4d6c-a89a-1b5000281448 2025-11-05 16:13:00,703 - DEBUG - Services list from nova: [, , ] 2025-11-05 16:13:01,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4648-1) 2025-11-05 16:13:02,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4648-1) 2025-11-05 16:13:02,891 - INFO - Adding interface with subnet_id ebfcbb02-2fa4-40a5-9714-551ea7a3d8c7, port_id None to router 876fdbf0-825c-45c4-9f97-7eec729d4685 2025-11-05 16:13:03,145 - INFO - Waiting for VM ctest-vn1-vm1-42713807 to be up.. 2025-11-05 16:13:03,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 16:13:08,327 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:13:08,327 - INFO - VM name : ctest-vn1-vm1-42713807 2025-11-05 16:13:08,411 - DEBUG - VM ctest-vn1-vm1-42713807 ID is bd263e9d-ebd5-4b5b-b64d-bba2f0ed6751 2025-11-05 16:13:08,431 - DEBUG - VM ctest-vn1-vm1-42713807 launched on Node cn-jenkins-deploy-platform-ansible-os-4648-1 2025-11-05 16:13:08,504 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bd263e9d-ebd5-4b5b-b64d-bba2f0ed6751 2025-11-05 16:13:08,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bd263e9d-ebd5-4b5b-b64d-bba2f0ed6751 2025-11-05 16:13:08,832 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d8a4888e-172f-42f5-90df-20fb3a975b10 2025-11-05 16:13:12,080 - 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 1005ms') 2025-11-05 16:13:12,080 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42713807 failed! 2025-11-05 16:13:12,134 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-33448087:ctest-vn1-74660212 is 47.230.115.193 and allocation pool is NOT set 2025-11-05 16:13:14,198 - 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.371 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.371/1.580/2.789/1.209 ms') 2025-11-05 16:13:14,199 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42713807 passed 2025-11-05 16:13:14,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:13:14,346 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42713807, IP 47.230.115.195, Port 22 2025-11-05 16:13:14,501 - DEBUG - VM ctest-vn1-vm1-42713807 is ready for SSH connections 2025-11-05 16:13:14,501 - INFO - Waiting for VM ctest-vn2-vm1-51566181 to be up.. 2025-11-05 16:13:14,573 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:13:14,573 - INFO - VM name : ctest-vn2-vm1-51566181 2025-11-05 16:13:14,642 - DEBUG - VM ctest-vn2-vm1-51566181 ID is dcd9b6fa-fa37-4315-b14d-3b85b8984e6b 2025-11-05 16:13:14,642 - DEBUG - VM ctest-vn2-vm1-51566181 launched on Node cn-jenkins-deploy-platform-ansible-os-4648-1 2025-11-05 16:13:14,706 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dcd9b6fa-fa37-4315-b14d-3b85b8984e6b 2025-11-05 16:13:14,713 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4ded9911-2391-4adb-b7d0-d2b21eeffd84 2025-11-05 16:13:15,940 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 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.382/1.573/2.765/1.191 ms') 2025-11-05 16:13:15,941 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-51566181 passed 2025-11-05 16:13:16,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:13:16,094 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-51566181, IP 205.163.213.3, Port 22 2025-11-05 16:13:16,249 - DEBUG - VM ctest-vn2-vm1-51566181 is ready for SSH connections 2025-11-05 16:13:16,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:13:16,249 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.163.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 16:13:16,249 - DEBUG - ping -s 56 -c 3 -W 1 205.163.213.3 2025-11-05 16:13:20,921 - DEBUG - PING 205.163.213.3 (205.163.213.3): 56 data bytes --- 205.163.213.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 16:13:20,921 - WARNING - Ping to IP 205.163.213.3 from VM ctest-vn1-vm1-42713807 failed 2025-11-05 16:13:20,921 - INFO - Adding interface with subnet_id f34ade58-67f2-4b4c-a7f4-45059fbf029a, port_id None to router 876fdbf0-825c-45c4-9f97-7eec729d4685 2025-11-05 16:13:21,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:13:21,148 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.163.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 16:13:21,148 - DEBUG - ping -s 56 -c 3 -W 1 205.163.213.3 2025-11-05 16:13:23,346 - DEBUG - PING 205.163.213.3 (205.163.213.3): 56 data bytes 64 bytes from 205.163.213.3: seq=0 ttl=63 time=2.426 ms 64 bytes from 205.163.213.3: seq=1 ttl=63 time=0.907 ms 64 bytes from 205.163.213.3: seq=2 ttl=63 time=0.675 ms --- 205.163.213.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.675/1.336/2.426 ms 2025-11-05 16:13:23,346 - INFO - Ping to IP 205.163.213.3 from VM ctest-vn1-vm1-42713807 passed 2025-11-05 16:13:23,346 - INFO - Deleting interface with subnet_id ebfcbb02-2fa4-40a5-9714-551ea7a3d8c7, port_id None from router 876fdbf0-825c-45c4-9f97-7eec729d4685 2025-11-05 16:13:23,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:13:23,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.163.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 16:13:23,449 - DEBUG - ping -s 56 -c 3 -W 1 205.163.213.3 2025-11-05 16:13:26,645 - DEBUG - PING 205.163.213.3 (205.163.213.3): 56 data bytes --- 205.163.213.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 16:13:26,646 - WARNING - Ping to IP 205.163.213.3 from VM ctest-vn1-vm1-42713807 failed 2025-11-05 16:13:26,646 - INFO - Adding interface with subnet_id ebfcbb02-2fa4-40a5-9714-551ea7a3d8c7, port_id None to router 876fdbf0-825c-45c4-9f97-7eec729d4685 2025-11-05 16:13:26,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:13:26,840 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.163.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 16:13:26,840 - DEBUG - ping -s 56 -c 3 -W 1 205.163.213.3 2025-11-05 16:13:30,042 - DEBUG - PING 205.163.213.3 (205.163.213.3): 56 data bytes 64 bytes from 205.163.213.3: seq=1 ttl=63 time=1.632 ms 64 bytes from 205.163.213.3: seq=2 ttl=63 time=0.782 ms --- 205.163.213.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.782/1.207/1.632 ms 2025-11-05 16:13:30,043 - WARNING - Ping to IP 205.163.213.3 from VM ctest-vn1-vm1-42713807 failed 2025-11-05 16:13:31,044 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.163.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 16:13:31,044 - DEBUG - ping -s 56 -c 3 -W 1 205.163.213.3 2025-11-05 16:13:33,241 - DEBUG - PING 205.163.213.3 (205.163.213.3): 56 data bytes 64 bytes from 205.163.213.3: seq=0 ttl=63 time=1.454 ms 64 bytes from 205.163.213.3: seq=1 ttl=63 time=0.812 ms 64 bytes from 205.163.213.3: seq=2 ttl=63 time=0.753 ms --- 205.163.213.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.006/1.454 ms 2025-11-05 16:13:33,241 - INFO - Ping to IP 205.163.213.3 from VM ctest-vn1-vm1-42713807 passed 2025-11-05 16:13:33,241 - INFO - Deleting interface with subnet_id f34ade58-67f2-4b4c-a7f4-45059fbf029a, port_id None from router 876fdbf0-825c-45c4-9f97-7eec729d4685 2025-11-05 16:13:33,338 - INFO - Deleting interface with subnet_id ebfcbb02-2fa4-40a5-9714-551ea7a3d8c7, port_id None from router 876fdbf0-825c-45c4-9f97-7eec729d4685 2025-11-05 16:13:33,482 - INFO - Deleting VM ctest-vn2-vm1-51566181 2025-11-05 16:13:33,551 - INFO - Deleting VM ctest-vn1-vm1-42713807 2025-11-05 16:13:33,622 - INFO - Deleting VN ctest-vn2-04498836 2025-11-05 16:13:33,669 - DEBUG - VN 92bdfdc8-8eba-4d6c-a89a-1b5000281448 still in use: Unable to complete operation on network 92bdfdc8-8eba-4d6c-a89a-1b5000281448. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4f1431c-fa2a-4840-bb5e-f870addef8b1'] 2025-11-05 16:13:33,669 - WARNING - Deleting VN ctest-vn2-04498836 failed..Will retry 2025-11-05 16:13:35,762 - DEBUG - Response for deleting network () 2025-11-05 16:13:35,762 - INFO - Deleting VN ctest-vn1-74660212 2025-11-05 16:13:35,845 - DEBUG - Response for deleting network () 2025-11-05 16:13:36,098 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 16:13:36,098 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-05 16:13:36,098 - INFO - -------------------------------------------------------------------------------- 2025-11-05 16:13:36,734 - INFO - Deleted project: ctest-TestRouters-33448087, ID : b8daa7dd-5277-4ad0-8467-2c189a30afa8