2025-09-22 15:47:24,031 - INFO - Domain Default found not creating 2025-09-22 15:47:24,197 - INFO - Project ctest-TestRoutersBasic-28015116 not found, creating it 2025-09-22 15:47:24,662 - INFO - Created Project:ctest-TestRoutersBasic-28015116, ID : e8246b3b-05e0-4321-b296-21d05e10e52a 2025-09-22 15:47:26,204 - INFO - ================================================================================ 2025-09-22 15:47:26,204 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-22 15:47:26,204 - 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-09-22 15:47:26,460 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-09-22 15:47:26,460 - INFO - Initial checks done. Running the testcase now 2025-09-22 15:47:26,460 - INFO - 2025-09-22 15:47:27,179 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28015116 2025-09-22 15:47:27,277 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28015116 2025-09-22 15:47:27,597 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28015116', 'default']} 2025-09-22 15:47:27,933 - DEBUG - Response for create_network : {'network': {'id': '3fe190cb-b0e6-4bd9-92d4-4856c0c074d3', 'name': 'ctest-vn-84586291', 'tenant_id': 'e8246b3b05e04321b29621d05e10e52a', 'project_id': 'e8246b3b05e04321b29621d05e10e52a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28015116', 'ctest-vn-84586291'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:47:28,171 - DEBUG - Response for create_subnet : {'subnet': {'id': '38fdfd70-ce18-4359-8e37-6ba3a3403b20', 'name': '', 'tenant_id': 'e8246b3b05e04321b29621d05e10e52a', 'network_id': '3fe190cb-b0e6-4bd9-92d4-4856c0c074d3', 'ip_version': 4, 'cidr': '204.58.249.128/26', 'allocation_pools': [{'start': '204.58.249.130', 'end': '204.58.249.190'}], 'gateway_ip': '204.58.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.58.249.130', 'tags': [], 'project_id': 'e8246b3b05e04321b29621d05e10e52a'}} 2025-09-22 15:47:28,191 - INFO - Created VN ctest-vn-84586291 2025-09-22 15:47:28,245 - DEBUG - VN ctest-vn-84586291 UUID is 3fe190cb-b0e6-4bd9-92d4-4856c0c074d3 2025-09-22 15:47:28,556 - DEBUG - Response for create_network : {'network': {'id': 'ac6a54e4-e413-4dff-886b-90794824e47b', 'name': 'ctest-ext_vn-90213638', 'tenant_id': 'e8246b3b05e04321b29621d05e10e52a', 'project_id': 'e8246b3b05e04321b29621d05e10e52a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28015116', 'ctest-ext_vn-90213638'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:47:28,719 - DEBUG - Response for create_subnet : {'subnet': {'id': '08e1bbe1-970d-4984-827f-20de585afd40', 'name': '', 'tenant_id': 'e8246b3b05e04321b29621d05e10e52a', 'network_id': 'ac6a54e4-e413-4dff-886b-90794824e47b', 'ip_version': 4, 'cidr': '65.106.152.0/26', 'allocation_pools': [{'start': '65.106.152.2', 'end': '65.106.152.62'}], 'gateway_ip': '65.106.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.106.152.2', 'tags': [], 'project_id': 'e8246b3b05e04321b29621d05e10e52a'}} 2025-09-22 15:47:28,736 - INFO - Created VN ctest-ext_vn-90213638 2025-09-22 15:47:28,789 - DEBUG - VN ctest-ext_vn-90213638 UUID is ac6a54e4-e413-4dff-886b-90794824e47b 2025-09-22 15:47:28,959 - DEBUG - Services list from nova: [, , ] 2025-09-22 15:47:29,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4170-1) 2025-09-22 15:47:31,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4170-1) 2025-09-22 15:47:31,201 - INFO - Setting gateway for router 3fae2e79-5878-4955-9220-39b5b43232f6 to network ac6a54e4-e413-4dff-886b-90794824e47b 2025-09-22 15:47:31,271 - INFO - Adding interface with subnet_id 38fdfd70-ce18-4359-8e37-6ba3a3403b20, port_id None to router 3fae2e79-5878-4955-9220-39b5b43232f6 2025-09-22 15:47:31,699 - INFO - Waiting for VM ctest-TestRoutersBasic-28015116-51098963 to be up.. 2025-09-22 15:47:31,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 15:47:36,896 - DEBUG - VM is in ACTIVE state now 2025-09-22 15:47:36,896 - INFO - VM name : ctest-TestRoutersBasic-28015116-51098963 2025-09-22 15:47:36,968 - DEBUG - VM ctest-TestRoutersBasic-28015116-51098963 ID is 1ce7e7c6-02a5-4952-8f3b-fff918f66c67 2025-09-22 15:47:36,986 - DEBUG - VM ctest-TestRoutersBasic-28015116-51098963 launched on Node cn-jenkins-deploy-platform-ansible-os-4170-1 2025-09-22 15:47:37,071 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1ce7e7c6-02a5-4952-8f3b-fff918f66c67 2025-09-22 15:47:37,371 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1ce7e7c6-02a5-4952-8f3b-fff918f66c67 2025-09-22 15:47:37,406 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/08b2cef5-18a1-49ca-ae81-cd9f073f4774 2025-09-22 15:47:40,674 - 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 1031ms') 2025-09-22 15:47:40,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28015116-51098963 failed! 2025-09-22 15:47:40,729 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28015116:ctest-vn-84586291 is 204.58.249.129 and allocation pool is NOT set 2025-09-22 15:47:42,786 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.781 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.781/1.990/3.200/1.209 ms') 2025-09-22 15:47:42,786 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28015116-51098963 passed 2025-09-22 15:47:42,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:47:42,893 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28015116-51098963, IP 204.58.249.131, Port 22 2025-09-22 15:47:43,059 - DEBUG - VM ctest-TestRoutersBasic-28015116-51098963 is ready for SSH connections 2025-09-22 15:47:43,059 - INFO - Waiting for VM ctest-TestRoutersBasic-28015116-52003632 to be up.. 2025-09-22 15:47:43,143 - DEBUG - VM is in ACTIVE state now 2025-09-22 15:47:43,143 - INFO - VM name : ctest-TestRoutersBasic-28015116-52003632 2025-09-22 15:47:43,244 - DEBUG - VM ctest-TestRoutersBasic-28015116-52003632 ID is 34732f52-2de0-42b4-8fcb-d331eca4a0d3 2025-09-22 15:47:43,245 - DEBUG - VM ctest-TestRoutersBasic-28015116-52003632 launched on Node cn-jenkins-deploy-platform-ansible-os-4170-1 2025-09-22 15:47:43,338 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/34732f52-2de0-42b4-8fcb-d331eca4a0d3 2025-09-22 15:47:43,349 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/84311965-5f68-4557-813d-e9b00d1af9cc 2025-09-22 15:47:44,588 - 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=4.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.969 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.969/2.868/4.768/1.899 ms') 2025-09-22 15:47:44,588 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28015116-52003632 passed 2025-09-22 15:47:44,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:47:44,745 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28015116-52003632, IP 65.106.152.3, Port 22 2025-09-22 15:47:44,900 - DEBUG - VM ctest-TestRoutersBasic-28015116-52003632 is ready for SSH connections 2025-09-22 15:47:44,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:47:44,901 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.106.152.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-22 15:47:44,901 - DEBUG - ping -s 56 -c 3 -W 1 65.106.152.3 2025-09-22 15:47:48,979 - DEBUG - PING 65.106.152.3 (65.106.152.3): 56 data bytes 64 bytes from 65.106.152.3: seq=0 ttl=62 time=5.322 ms 64 bytes from 65.106.152.3: seq=1 ttl=62 time=1.165 ms 64 bytes from 65.106.152.3: seq=2 ttl=62 time=1.107 ms --- 65.106.152.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.107/2.531/5.322 ms 2025-09-22 15:47:48,979 - INFO - Ping to IP 65.106.152.3 from VM ctest-TestRoutersBasic-28015116-51098963 passed 2025-09-22 15:47:48,979 - INFO - Deleting interface with subnet_id 38fdfd70-ce18-4359-8e37-6ba3a3403b20, port_id None from router 3fae2e79-5878-4955-9220-39b5b43232f6 2025-09-22 15:47:49,164 - INFO - Deleting VM ctest-TestRoutersBasic-28015116-52003632 2025-09-22 15:47:49,246 - INFO - Deleting VM ctest-TestRoutersBasic-28015116-51098963 2025-09-22 15:47:49,339 - INFO - Deleting VN ctest-ext_vn-90213638 2025-09-22 15:47:49,416 - DEBUG - VN ac6a54e4-e413-4dff-886b-90794824e47b still in use: Unable to complete operation on network ac6a54e4-e413-4dff-886b-90794824e47b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13191884-78d4-44a2-9639-69a55df6931f'] 2025-09-22 15:47:49,416 - WARNING - Deleting VN ctest-ext_vn-90213638 failed..Will retry 2025-09-22 15:47:51,521 - DEBUG - Response for deleting network () 2025-09-22 15:47:51,521 - INFO - Deleting VN ctest-vn-84586291 2025-09-22 15:47:51,628 - DEBUG - Response for deleting network () 2025-09-22 15:47:51,887 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 15:47:51,887 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-22 15:47:51,887 - INFO - -------------------------------------------------------------------------------- 2025-09-22 15:47:52,617 - INFO - Deleted project: ctest-TestRoutersBasic-28015116, ID : e8246b3b-05e0-4321-b296-21d05e10e52a