2025-08-26 10:49:24,725 - INFO - Domain Default found not creating 2025-08-26 10:49:24,872 - INFO - Project ctest-TestRoutersBasic-08166408 not found, creating it 2025-08-26 10:49:25,340 - INFO - Created Project:ctest-TestRoutersBasic-08166408, ID : c877d4aa-8abe-483d-9e04-34b53104ce7a 2025-08-26 10:49:26,749 - INFO - ================================================================================ 2025-08-26 10:49:26,749 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-26 10:49:26,749 - 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-08-26 10:49:27,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-08-26 10:49:27,003 - INFO - Initial checks done. Running the testcase now 2025-08-26 10:49:27,003 - INFO - 2025-08-26 10:49:27,703 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08166408 2025-08-26 10:49:27,798 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08166408 2025-08-26 10:49:28,125 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08166408', 'default']} 2025-08-26 10:49:28,436 - DEBUG - Response for create_network : {'network': {'id': '3fa8058b-dafe-4f7c-ba28-48e1b9823b5f', 'name': 'ctest-vn-65032597', 'tenant_id': 'c877d4aa8abe483d9e0434b53104ce7a', 'project_id': 'c877d4aa8abe483d9e0434b53104ce7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08166408', 'ctest-vn-65032597'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 10:49:28,676 - DEBUG - Response for create_subnet : {'subnet': {'id': '124483ed-97bc-422e-bde3-31f14bc87186', 'name': '', 'tenant_id': 'c877d4aa8abe483d9e0434b53104ce7a', 'network_id': '3fa8058b-dafe-4f7c-ba28-48e1b9823b5f', 'ip_version': 4, 'cidr': '31.159.5.64/26', 'allocation_pools': [{'start': '31.159.5.66', 'end': '31.159.5.126'}], 'gateway_ip': '31.159.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.159.5.66', 'tags': [], 'project_id': 'c877d4aa8abe483d9e0434b53104ce7a'}} 2025-08-26 10:49:28,696 - INFO - Created VN ctest-vn-65032597 2025-08-26 10:49:28,754 - DEBUG - VN ctest-vn-65032597 UUID is 3fa8058b-dafe-4f7c-ba28-48e1b9823b5f 2025-08-26 10:49:29,094 - DEBUG - Response for create_network : {'network': {'id': '88053faf-3c23-4fd2-91e9-cb47df452e72', 'name': 'ctest-ext_vn-52012131', 'tenant_id': 'c877d4aa8abe483d9e0434b53104ce7a', 'project_id': 'c877d4aa8abe483d9e0434b53104ce7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08166408', 'ctest-ext_vn-52012131'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 10:49:29,318 - DEBUG - Response for create_subnet : {'subnet': {'id': '01e01ad9-dd06-4f07-a532-8f4ef038cd79', 'name': '', 'tenant_id': 'c877d4aa8abe483d9e0434b53104ce7a', 'network_id': '88053faf-3c23-4fd2-91e9-cb47df452e72', 'ip_version': 4, 'cidr': '126.72.102.64/26', 'allocation_pools': [{'start': '126.72.102.66', 'end': '126.72.102.126'}], 'gateway_ip': '126.72.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.72.102.66', 'tags': [], 'project_id': 'c877d4aa8abe483d9e0434b53104ce7a'}} 2025-08-26 10:49:29,336 - INFO - Created VN ctest-ext_vn-52012131 2025-08-26 10:49:29,390 - DEBUG - VN ctest-ext_vn-52012131 UUID is 88053faf-3c23-4fd2-91e9-cb47df452e72 2025-08-26 10:49:29,592 - DEBUG - Services list from nova: [, , ] 2025-08-26 10:49:30,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3938-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3938-1) 2025-08-26 10:49:31,803 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3938-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3938-1) 2025-08-26 10:49:31,876 - INFO - Setting gateway for router 9ce4709c-f8aa-43f0-b4fa-70cf514955e5 to network 88053faf-3c23-4fd2-91e9-cb47df452e72 2025-08-26 10:49:31,964 - INFO - Adding interface with subnet_id 124483ed-97bc-422e-bde3-31f14bc87186, port_id None to router 9ce4709c-f8aa-43f0-b4fa-70cf514955e5 2025-08-26 10:49:32,433 - INFO - Waiting for VM ctest-TestRoutersBasic-08166408-14348269 to be up.. 2025-08-26 10:49:32,637 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 10:49:37,718 - DEBUG - VM is in ACTIVE state now 2025-08-26 10:49:37,719 - INFO - VM name : ctest-TestRoutersBasic-08166408-14348269 2025-08-26 10:49:37,802 - DEBUG - VM ctest-TestRoutersBasic-08166408-14348269 ID is 5e4d5d2c-7bc5-4133-8085-3a17ec6b6f5e 2025-08-26 10:49:37,821 - DEBUG - VM ctest-TestRoutersBasic-08166408-14348269 launched on Node cn-jenkins-deploy-platform-ansible-os-3938-1 2025-08-26 10:49:37,900 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5e4d5d2c-7bc5-4133-8085-3a17ec6b6f5e 2025-08-26 10:49:38,206 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5e4d5d2c-7bc5-4133-8085-3a17ec6b6f5e 2025-08-26 10:49:38,247 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/92c2d682-2b96-4a99-a1e3-32eba7f6e724 2025-08-26 10:49:41,519 - 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 1011ms') 2025-08-26 10:49:41,519 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08166408-14348269 failed! 2025-08-26 10:49:41,574 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08166408:ctest-vn-65032597 is 31.159.5.65 and allocation pool is NOT set 2025-08-26 10:49:43,638 - 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=3.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.375 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.375/1.875/3.376/1.500 ms') 2025-08-26 10:49:43,638 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08166408-14348269 passed 2025-08-26 10:49:43,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:49:43,790 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08166408-14348269, IP 31.159.5.67, Port 22 2025-08-26 10:49:43,945 - DEBUG - VM ctest-TestRoutersBasic-08166408-14348269 is ready for SSH connections 2025-08-26 10:49:43,945 - INFO - Waiting for VM ctest-TestRoutersBasic-08166408-10174510 to be up.. 2025-08-26 10:49:44,022 - DEBUG - VM is in ACTIVE state now 2025-08-26 10:49:44,023 - INFO - VM name : ctest-TestRoutersBasic-08166408-10174510 2025-08-26 10:49:44,103 - DEBUG - VM ctest-TestRoutersBasic-08166408-10174510 ID is fa14201d-bc35-4579-9d06-6fa4399f5adc 2025-08-26 10:49:44,103 - DEBUG - VM ctest-TestRoutersBasic-08166408-10174510 launched on Node cn-jenkins-deploy-platform-ansible-os-3938-1 2025-08-26 10:49:44,180 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fa14201d-bc35-4579-9d06-6fa4399f5adc 2025-08-26 10:49:44,189 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5b625d4e-7752-41bf-9f1d-8c485d2e32e8 2025-08-26 10:49:45,424 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.868 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.868/2.230/3.593/1.362 ms') 2025-08-26 10:49:45,424 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08166408-10174510 passed 2025-08-26 10:49:45,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:49:45,574 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08166408-10174510, IP 126.72.102.67, Port 22 2025-08-26 10:49:45,729 - DEBUG - VM ctest-TestRoutersBasic-08166408-10174510 is ready for SSH connections 2025-08-26 10:49:45,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:49:45,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.72.102.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-26 10:49:45,729 - DEBUG - ping -s 56 -c 3 -W 1 126.72.102.67 2025-08-26 10:49:49,391 - DEBUG - PING 126.72.102.67 (126.72.102.67): 56 data bytes 64 bytes from 126.72.102.67: seq=0 ttl=62 time=6.411 ms 64 bytes from 126.72.102.67: seq=1 ttl=62 time=0.954 ms 64 bytes from 126.72.102.67: seq=2 ttl=62 time=0.772 ms --- 126.72.102.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/2.712/6.411 ms 2025-08-26 10:49:49,391 - INFO - Ping to IP 126.72.102.67 from VM ctest-TestRoutersBasic-08166408-14348269 passed 2025-08-26 10:49:49,391 - INFO - Deleting interface with subnet_id 124483ed-97bc-422e-bde3-31f14bc87186, port_id None from router 9ce4709c-f8aa-43f0-b4fa-70cf514955e5 2025-08-26 10:49:49,605 - INFO - Deleting VM ctest-TestRoutersBasic-08166408-10174510 2025-08-26 10:49:49,678 - INFO - Deleting VM ctest-TestRoutersBasic-08166408-14348269 2025-08-26 10:49:49,750 - INFO - Deleting VN ctest-ext_vn-52012131 2025-08-26 10:49:49,820 - DEBUG - VN 88053faf-3c23-4fd2-91e9-cb47df452e72 still in use: Unable to complete operation on network 88053faf-3c23-4fd2-91e9-cb47df452e72. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7aff1fcd-ad08-45bd-a70b-869911c76916'] 2025-08-26 10:49:49,820 - WARNING - Deleting VN ctest-ext_vn-52012131 failed..Will retry 2025-08-26 10:49:51,925 - DEBUG - Response for deleting network () 2025-08-26 10:49:51,925 - INFO - Deleting VN ctest-vn-65032597 2025-08-26 10:49:52,029 - DEBUG - Response for deleting network () 2025-08-26 10:49:52,291 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 10:49:52,291 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-26 10:49:52,291 - INFO - -------------------------------------------------------------------------------- 2025-08-26 10:49:52,987 - INFO - Deleted project: ctest-TestRoutersBasic-08166408, ID : c877d4aa-8abe-483d-9e04-34b53104ce7a