2025-08-14 15:22:06,109 - INFO - Domain Default found not creating 2025-08-14 15:22:06,227 - INFO - Project ctest-TestRouters-79715894 not found, creating it 2025-08-14 15:22:06,682 - INFO - Created Project:ctest-TestRouters-79715894, ID : d00a92e5-12e0-4d4f-b2dd-36a66c1af2f9 2025-08-14 15:22:08,014 - INFO - ================================================================================ 2025-08-14 15:22:08,014 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-14 15:22:08,014 - 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-14 15:22:08,277 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-14 15:22:08,277 - INFO - Initial checks done. Running the testcase now 2025-08-14 15:22:08,278 - INFO - 2025-08-14 15:22:08,801 - DEBUG - Response for create_network : {'network': {'id': '5be3fb02-4bb9-4398-b06e-5852c3a42b5f', 'name': 'ctest-vn1-08156834', 'tenant_id': 'd00a92e512e04d4fb2dd36a66c1af2f9', 'project_id': 'd00a92e512e04d4fb2dd36a66c1af2f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-79715894', 'ctest-vn1-08156834'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 15:22:08,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '8820bd69-fe31-4c85-9da7-bd0ef4b976b2', 'name': '', 'tenant_id': 'd00a92e512e04d4fb2dd36a66c1af2f9', 'network_id': '5be3fb02-4bb9-4398-b06e-5852c3a42b5f', 'ip_version': 4, 'cidr': '15.253.6.128/26', 'allocation_pools': [{'start': '15.253.6.130', 'end': '15.253.6.190'}], 'gateway_ip': '15.253.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.253.6.130', 'tags': [], 'project_id': 'd00a92e512e04d4fb2dd36a66c1af2f9'}} 2025-08-14 15:22:08,989 - INFO - Created VN ctest-vn1-08156834 2025-08-14 15:22:09,044 - DEBUG - VN ctest-vn1-08156834 UUID is 5be3fb02-4bb9-4398-b06e-5852c3a42b5f 2025-08-14 15:22:09,378 - DEBUG - Response for create_network : {'network': {'id': 'afed6145-7086-4a66-bd15-dcb78597095d', 'name': 'ctest-vn2-05214438', 'tenant_id': 'd00a92e512e04d4fb2dd36a66c1af2f9', 'project_id': 'd00a92e512e04d4fb2dd36a66c1af2f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-79715894', 'ctest-vn2-05214438'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 15:22:09,574 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4522f38-7c4d-47a2-a37f-129aa92ffcd2', 'name': '', 'tenant_id': 'd00a92e512e04d4fb2dd36a66c1af2f9', 'network_id': 'afed6145-7086-4a66-bd15-dcb78597095d', 'ip_version': 4, 'cidr': '147.245.40.64/26', 'allocation_pools': [{'start': '147.245.40.66', 'end': '147.245.40.126'}], 'gateway_ip': '147.245.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.245.40.66', 'tags': [], 'project_id': 'd00a92e512e04d4fb2dd36a66c1af2f9'}} 2025-08-14 15:22:09,590 - INFO - Created VN ctest-vn2-05214438 2025-08-14 15:22:09,644 - DEBUG - VN ctest-vn2-05214438 UUID is afed6145-7086-4a66-bd15-dcb78597095d 2025-08-14 15:22:09,891 - DEBUG - Services list from nova: [, , ] 2025-08-14 15:22:10,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3858-1) 2025-08-14 15:22:12,204 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3858-1) 2025-08-14 15:22:12,349 - INFO - Adding interface with subnet_id 8820bd69-fe31-4c85-9da7-bd0ef4b976b2, port_id None to router 7ac4a7b0-1a47-4b14-8f1c-22aae9268932 2025-08-14 15:22:12,618 - INFO - Waiting for VM ctest-vn1-vm1-32201231 to be up.. 2025-08-14 15:22:12,722 - DEBUG - VM is in ACTIVE state now 2025-08-14 15:22:12,722 - INFO - VM name : ctest-vn1-vm1-32201231 2025-08-14 15:22:12,814 - DEBUG - VM ctest-vn1-vm1-32201231 ID is 7bb14e08-b7a5-4b0b-8842-0be77a3be317 2025-08-14 15:22:12,836 - DEBUG - VM ctest-vn1-vm1-32201231 launched on Node cn-jenkins-deploy-platform-ansible-os-3858-1 2025-08-14 15:22:12,963 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7bb14e08-b7a5-4b0b-8842-0be77a3be317 2025-08-14 15:22:13,267 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7bb14e08-b7a5-4b0b-8842-0be77a3be317 2025-08-14 15:22:13,294 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/656aabeb-af38-4b5a-a635-d8f42c7c6e1b 2025-08-14 15:22:16,567 - 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-14 15:22:16,567 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32201231 failed! 2025-08-14 15:22:16,620 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-79715894:ctest-vn1-08156834 is 15.253.6.129 and allocation pool is NOT set 2025-08-14 15:22:20,686 - 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 1012ms') 2025-08-14 15:22:20,686 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32201231 failed! 2025-08-14 15:22:20,740 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-79715894:ctest-vn1-08156834 is 15.253.6.129 and allocation pool is NOT set 2025-08-14 15:22:22,798 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.300 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.300/1.524/2.748/1.224 ms') 2025-08-14 15:22:22,798 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32201231 passed 2025-08-14 15:22:22,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:22:22,948 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32201231, IP 15.253.6.131, Port 22 2025-08-14 15:22:23,099 - DEBUG - VM ctest-vn1-vm1-32201231 is ready for SSH connections 2025-08-14 15:22:23,099 - INFO - Waiting for VM ctest-vn2-vm1-82025151 to be up.. 2025-08-14 15:22:23,164 - DEBUG - VM is in ACTIVE state now 2025-08-14 15:22:23,164 - INFO - VM name : ctest-vn2-vm1-82025151 2025-08-14 15:22:23,239 - DEBUG - VM ctest-vn2-vm1-82025151 ID is c76efa0b-19d6-45c9-9780-b07d47df3940 2025-08-14 15:22:23,239 - DEBUG - VM ctest-vn2-vm1-82025151 launched on Node cn-jenkins-deploy-platform-ansible-os-3858-1 2025-08-14 15:22:23,301 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c76efa0b-19d6-45c9-9780-b07d47df3940 2025-08-14 15:22:23,310 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aa99151d-d58e-47ce-97b3-a1be6a2822c4 2025-08-14 15:22:24,541 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.319 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.319/1.451/2.584/1.132 ms') 2025-08-14 15:22:24,541 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-82025151 passed 2025-08-14 15:22:24,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:22:24,696 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-82025151, IP 147.245.40.67, Port 22 2025-08-14 15:22:24,848 - DEBUG - VM ctest-vn2-vm1-82025151 is ready for SSH connections 2025-08-14 15:22:24,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:22:24,848 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.245.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-14 15:22:24,848 - DEBUG - ping -s 56 -c 3 -W 1 147.245.40.67 2025-08-14 15:22:29,732 - DEBUG - PING 147.245.40.67 (147.245.40.67): 56 data bytes --- 147.245.40.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 15:22:29,732 - WARNING - Ping to IP 147.245.40.67 from VM ctest-vn1-vm1-32201231 failed 2025-08-14 15:22:29,732 - INFO - Adding interface with subnet_id e4522f38-7c4d-47a2-a37f-129aa92ffcd2, port_id None to router 7ac4a7b0-1a47-4b14-8f1c-22aae9268932 2025-08-14 15:22:30,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:22:30,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.245.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-14 15:22:30,003 - DEBUG - ping -s 56 -c 3 -W 1 147.245.40.67 2025-08-14 15:22:32,192 - DEBUG - PING 147.245.40.67 (147.245.40.67): 56 data bytes 64 bytes from 147.245.40.67: seq=0 ttl=63 time=2.526 ms 64 bytes from 147.245.40.67: seq=1 ttl=63 time=0.640 ms 64 bytes from 147.245.40.67: seq=2 ttl=63 time=0.646 ms --- 147.245.40.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.640/1.270/2.526 ms 2025-08-14 15:22:32,192 - INFO - Ping to IP 147.245.40.67 from VM ctest-vn1-vm1-32201231 passed 2025-08-14 15:22:32,192 - INFO - Deleting interface with subnet_id 8820bd69-fe31-4c85-9da7-bd0ef4b976b2, port_id None from router 7ac4a7b0-1a47-4b14-8f1c-22aae9268932 2025-08-14 15:22:32,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:22:32,300 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.245.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-14 15:22:32,301 - DEBUG - ping -s 56 -c 3 -W 1 147.245.40.67 2025-08-14 15:22:35,492 - DEBUG - PING 147.245.40.67 (147.245.40.67): 56 data bytes --- 147.245.40.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 15:22:35,492 - WARNING - Ping to IP 147.245.40.67 from VM ctest-vn1-vm1-32201231 failed 2025-08-14 15:22:35,492 - INFO - Adding interface with subnet_id 8820bd69-fe31-4c85-9da7-bd0ef4b976b2, port_id None to router 7ac4a7b0-1a47-4b14-8f1c-22aae9268932 2025-08-14 15:22:35,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 15:22:35,688 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.245.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-14 15:22:35,689 - DEBUG - ping -s 56 -c 3 -W 1 147.245.40.67 2025-08-14 15:22:37,878 - DEBUG - PING 147.245.40.67 (147.245.40.67): 56 data bytes 64 bytes from 147.245.40.67: seq=0 ttl=63 time=1.109 ms 64 bytes from 147.245.40.67: seq=1 ttl=63 time=0.753 ms 64 bytes from 147.245.40.67: seq=2 ttl=63 time=0.605 ms --- 147.245.40.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.605/0.822/1.109 ms 2025-08-14 15:22:37,878 - INFO - Ping to IP 147.245.40.67 from VM ctest-vn1-vm1-32201231 passed 2025-08-14 15:22:37,878 - INFO - Deleting interface with subnet_id e4522f38-7c4d-47a2-a37f-129aa92ffcd2, port_id None from router 7ac4a7b0-1a47-4b14-8f1c-22aae9268932 2025-08-14 15:22:37,972 - INFO - Deleting interface with subnet_id 8820bd69-fe31-4c85-9da7-bd0ef4b976b2, port_id None from router 7ac4a7b0-1a47-4b14-8f1c-22aae9268932 2025-08-14 15:22:38,121 - INFO - Deleting VM ctest-vn2-vm1-82025151 2025-08-14 15:22:38,181 - INFO - Deleting VM ctest-vn1-vm1-32201231 2025-08-14 15:22:38,244 - INFO - Deleting VN ctest-vn2-05214438 2025-08-14 15:22:38,277 - DEBUG - VN afed6145-7086-4a66-bd15-dcb78597095d still in use: Unable to complete operation on network afed6145-7086-4a66-bd15-dcb78597095d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11a460b7-28a1-4bfc-8da1-396c2e111926'] 2025-08-14 15:22:38,278 - WARNING - Deleting VN ctest-vn2-05214438 failed..Will retry 2025-08-14 15:22:40,368 - DEBUG - Response for deleting network () 2025-08-14 15:22:40,368 - INFO - Deleting VN ctest-vn1-08156834 2025-08-14 15:22:40,460 - DEBUG - Response for deleting network () 2025-08-14 15:22:40,713 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 15:22:40,714 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:32]
2025-08-14 15:22:40,714 - INFO - -------------------------------------------------------------------------------- 2025-08-14 15:22:41,360 - INFO - Deleted project: ctest-TestRouters-79715894, ID : d00a92e5-12e0-4d4f-b2dd-36a66c1af2f9