2025-04-15 03:48:04,917 - INFO - Domain Default found not creating 2025-04-15 03:48:05,056 - INFO - Project ctest-TestRoutersBasic-17138319 not found, creating it 2025-04-15 03:48:05,557 - INFO - Created Project:ctest-TestRoutersBasic-17138319, ID : 1c92bf0d-0dbf-49ba-897d-1a675c98455f 2025-04-15 03:48:07,133 - INFO - ================================================================================ 2025-04-15 03:48:07,133 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-15 03:48:07,133 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-04-15 03:48:07,389 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-04-15 03:48:07,389 - INFO - Initial checks done. Running the testcase now 2025-04-15 03:48:07,389 - INFO - 2025-04-15 03:48:08,078 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17138319 2025-04-15 03:48:08,177 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17138319 2025-04-15 03:48:08,497 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17138319', 'default']} 2025-04-15 03:48:08,782 - DEBUG - Response for create_network : {'network': {'id': 'af56f8e2-7d25-43c0-a3bf-6890a305a6ed', 'name': 'ctest-vn-10390437', 'tenant_id': '1c92bf0d0dbf49ba897d1a675c98455f', 'project_id': '1c92bf0d0dbf49ba897d1a675c98455f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17138319', 'ctest-vn-10390437'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 03:48:08,958 - DEBUG - Response for create_subnet : {'subnet': {'id': '45ae8605-57c9-4451-945a-e1eee49e4c9f', 'name': '', 'tenant_id': '1c92bf0d0dbf49ba897d1a675c98455f', 'network_id': 'af56f8e2-7d25-43c0-a3bf-6890a305a6ed', 'ip_version': 4, 'cidr': '170.63.64.128/26', 'allocation_pools': [{'start': '170.63.64.130', 'end': '170.63.64.190'}], 'gateway_ip': '170.63.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.63.64.130', 'tags': [], 'project_id': '1c92bf0d0dbf49ba897d1a675c98455f'}} 2025-04-15 03:48:08,977 - INFO - Created VN ctest-vn-10390437 2025-04-15 03:48:09,025 - DEBUG - VN ctest-vn-10390437 UUID is af56f8e2-7d25-43c0-a3bf-6890a305a6ed 2025-04-15 03:48:09,344 - DEBUG - Response for create_network : {'network': {'id': 'e8845b29-ddb0-4b6b-8e7e-a78f0760ccf3', 'name': 'ctest-ext_vn-35833807', 'tenant_id': '1c92bf0d0dbf49ba897d1a675c98455f', 'project_id': '1c92bf0d0dbf49ba897d1a675c98455f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17138319', 'ctest-ext_vn-35833807'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 03:48:09,495 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd56f43d2-e0ab-481f-a8a4-78a598d1ae16', 'name': '', 'tenant_id': '1c92bf0d0dbf49ba897d1a675c98455f', 'network_id': 'e8845b29-ddb0-4b6b-8e7e-a78f0760ccf3', 'ip_version': 4, 'cidr': '97.184.6.192/26', 'allocation_pools': [{'start': '97.184.6.194', 'end': '97.184.6.254'}], 'gateway_ip': '97.184.6.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.184.6.194', 'tags': [], 'project_id': '1c92bf0d0dbf49ba897d1a675c98455f'}} 2025-04-15 03:48:09,512 - INFO - Created VN ctest-ext_vn-35833807 2025-04-15 03:48:09,561 - DEBUG - VN ctest-ext_vn-35833807 UUID is e8845b29-ddb0-4b6b-8e7e-a78f0760ccf3 2025-04-15 03:48:09,759 - DEBUG - Services list from nova: [, , ] 2025-04-15 03:48:10,740 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3113-1) 2025-04-15 03:48:11,803 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3113-1) 2025-04-15 03:48:11,860 - INFO - Setting gateway for router 7e2783e8-75ae-4d70-a40c-45d359698cee to network e8845b29-ddb0-4b6b-8e7e-a78f0760ccf3 2025-04-15 03:48:11,933 - INFO - Adding interface with subnet_id 45ae8605-57c9-4451-945a-e1eee49e4c9f, port_id None to router 7e2783e8-75ae-4d70-a40c-45d359698cee 2025-04-15 03:48:12,267 - INFO - Waiting for VM ctest-TestRoutersBasic-17138319-31042693 to be up.. 2025-04-15 03:48:12,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-15 03:48:17,506 - DEBUG - VM is in ACTIVE state now 2025-04-15 03:48:17,507 - INFO - VM name : ctest-TestRoutersBasic-17138319-31042693 2025-04-15 03:48:17,591 - DEBUG - VM ctest-TestRoutersBasic-17138319-31042693 ID is 76eed40c-4038-4983-882f-1280f09cbfae 2025-04-15 03:48:17,617 - DEBUG - VM ctest-TestRoutersBasic-17138319-31042693 launched on Node cn-jenkins-deploy-platform-ansible-os-3113-1 2025-04-15 03:48:17,707 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/76eed40c-4038-4983-882f-1280f09cbfae 2025-04-15 03:48:18,004 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/76eed40c-4038-4983-882f-1280f09cbfae 2025-04-15 03:48:18,038 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/1bc8157e-dc7a-4c39-9125-e461ac45c032 2025-04-15 03:48:21,295 - 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 1023ms') 2025-04-15 03:48:21,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17138319-31042693 failed! 2025-04-15 03:48:21,349 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17138319:ctest-vn-10390437 is 170.63.64.129 and allocation pool is NOT set 2025-04-15 03:48:23,413 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.577 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.577/1.729/2.881/1.152 ms') 2025-04-15 03:48:23,413 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17138319-31042693 passed 2025-04-15 03:48:23,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 03:48:23,561 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17138319-31042693, IP 170.63.64.131, Port 22 2025-04-15 03:48:23,735 - DEBUG - VM ctest-TestRoutersBasic-17138319-31042693 is ready for SSH connections 2025-04-15 03:48:23,735 - INFO - Waiting for VM ctest-TestRoutersBasic-17138319-42036346 to be up.. 2025-04-15 03:48:23,823 - DEBUG - VM is in ACTIVE state now 2025-04-15 03:48:23,824 - INFO - VM name : ctest-TestRoutersBasic-17138319-42036346 2025-04-15 03:48:23,902 - DEBUG - VM ctest-TestRoutersBasic-17138319-42036346 ID is eed082b6-1f89-4c28-8216-716b57b64c5b 2025-04-15 03:48:23,902 - DEBUG - VM ctest-TestRoutersBasic-17138319-42036346 launched on Node cn-jenkins-deploy-platform-ansible-os-3113-1 2025-04-15 03:48:23,973 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/eed082b6-1f89-4c28-8216-716b57b64c5b 2025-04-15 03:48:23,980 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/144212b0-6ffb-4f4d-a05d-ef3a1a813562 2025-04-15 03:48:25,224 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.607/2.821/1.214 ms') 2025-04-15 03:48:25,224 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17138319-42036346 passed 2025-04-15 03:48:25,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 03:48:25,373 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17138319-42036346, IP 97.184.6.195, Port 22 2025-04-15 03:48:25,552 - DEBUG - VM ctest-TestRoutersBasic-17138319-42036346 is ready for SSH connections 2025-04-15 03:48:25,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 03:48:25,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.184.6.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-04-15 03:48:25,553 - DEBUG - ping -s 56 -c 3 -W 1 97.184.6.195 2025-04-15 03:48:29,563 - DEBUG - PING 97.184.6.195 (97.184.6.195): 56 data bytes 64 bytes from 97.184.6.195: seq=0 ttl=62 time=5.947 ms 64 bytes from 97.184.6.195: seq=1 ttl=62 time=0.805 ms 64 bytes from 97.184.6.195: seq=2 ttl=62 time=0.943 ms --- 97.184.6.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/2.565/5.947 ms 2025-04-15 03:48:29,563 - INFO - Ping to IP 97.184.6.195 from VM ctest-TestRoutersBasic-17138319-31042693 passed 2025-04-15 03:48:29,563 - INFO - Deleting interface with subnet_id 45ae8605-57c9-4451-945a-e1eee49e4c9f, port_id None from router 7e2783e8-75ae-4d70-a40c-45d359698cee 2025-04-15 03:48:29,754 - INFO - Deleting VM ctest-TestRoutersBasic-17138319-42036346 2025-04-15 03:48:29,815 - INFO - Deleting VM ctest-TestRoutersBasic-17138319-31042693 2025-04-15 03:48:29,886 - INFO - Deleting VN ctest-ext_vn-35833807 2025-04-15 03:48:29,948 - DEBUG - VN e8845b29-ddb0-4b6b-8e7e-a78f0760ccf3 still in use: Unable to complete operation on network e8845b29-ddb0-4b6b-8e7e-a78f0760ccf3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2f6044e-6f56-4ac6-92a8-3ddf6fd662bf'] 2025-04-15 03:48:29,948 - WARNING - Deleting VN ctest-ext_vn-35833807 failed..Will retry 2025-04-15 03:48:32,036 - DEBUG - Response for deleting network () 2025-04-15 03:48:32,036 - INFO - Deleting VN ctest-vn-10390437 2025-04-15 03:48:32,143 - DEBUG - Response for deleting network () 2025-04-15 03:48:32,398 - DEBUG - No XMPP flaps were noticed during the test
2025-04-15 03:48:32,398 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-15 03:48:32,399 - INFO - -------------------------------------------------------------------------------- 2025-04-15 03:48:33,061 - INFO - Deleted project: ctest-TestRoutersBasic-17138319, ID : 1c92bf0d-0dbf-49ba-897d-1a675c98455f