2025-09-15 18:39:07,006 - INFO - Domain Default found not creating 2025-09-15 18:39:07,183 - INFO - Project ctest-TestRoutersBasic-81328293 not found, creating it 2025-09-15 18:39:07,633 - INFO - Created Project:ctest-TestRoutersBasic-81328293, ID : 13f5c73a-aaf1-4074-883c-846d40a13757 2025-09-15 18:39:09,055 - INFO - ================================================================================ 2025-09-15 18:39:09,055 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-15 18:39:09,055 - 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-15 18:39:09,326 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-15 18:39:09,326 - INFO - Initial checks done. Running the testcase now 2025-09-15 18:39:09,326 - INFO - 2025-09-15 18:39:10,058 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81328293 2025-09-15 18:39:10,155 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81328293 2025-09-15 18:39:10,483 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81328293', 'default']} 2025-09-15 18:39:10,765 - DEBUG - Response for create_network : {'network': {'id': 'd3a7c31a-d2d3-4b69-9613-4bfe57625c68', 'name': 'ctest-vn-50587851', 'tenant_id': '13f5c73aaaf14074883c846d40a13757', 'project_id': '13f5c73aaaf14074883c846d40a13757', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81328293', 'ctest-vn-50587851'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 18:39:10,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '7da8df55-c1b1-49ca-b7a2-5be1c31ff9b9', 'name': '', 'tenant_id': '13f5c73aaaf14074883c846d40a13757', 'network_id': 'd3a7c31a-d2d3-4b69-9613-4bfe57625c68', 'ip_version': 4, 'cidr': '85.22.111.64/26', 'allocation_pools': [{'start': '85.22.111.66', 'end': '85.22.111.126'}], 'gateway_ip': '85.22.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.22.111.66', 'tags': [], 'project_id': '13f5c73aaaf14074883c846d40a13757'}} 2025-09-15 18:39:10,955 - INFO - Created VN ctest-vn-50587851 2025-09-15 18:39:11,007 - DEBUG - VN ctest-vn-50587851 UUID is d3a7c31a-d2d3-4b69-9613-4bfe57625c68 2025-09-15 18:39:11,334 - DEBUG - Response for create_network : {'network': {'id': '0189d532-ede8-4460-88b0-a2af92baec4f', 'name': 'ctest-ext_vn-57369442', 'tenant_id': '13f5c73aaaf14074883c846d40a13757', 'project_id': '13f5c73aaaf14074883c846d40a13757', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81328293', 'ctest-ext_vn-57369442'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 18:39:11,557 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be1c77fa-94fa-4216-854a-6df03687925c', 'name': '', 'tenant_id': '13f5c73aaaf14074883c846d40a13757', 'network_id': '0189d532-ede8-4460-88b0-a2af92baec4f', 'ip_version': 4, 'cidr': '155.36.210.192/26', 'allocation_pools': [{'start': '155.36.210.194', 'end': '155.36.210.254'}], 'gateway_ip': '155.36.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.36.210.194', 'tags': [], 'project_id': '13f5c73aaaf14074883c846d40a13757'}} 2025-09-15 18:39:11,574 - INFO - Created VN ctest-ext_vn-57369442 2025-09-15 18:39:11,627 - DEBUG - VN ctest-ext_vn-57369442 UUID is 0189d532-ede8-4460-88b0-a2af92baec4f 2025-09-15 18:39:11,816 - DEBUG - Services list from nova: [, , ] 2025-09-15 18:39:12,781 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4119-1) 2025-09-15 18:39:13,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4119-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4119-1) 2025-09-15 18:39:13,937 - INFO - Setting gateway for router 9da69459-840a-4b72-bc63-dbe860910dc8 to network 0189d532-ede8-4460-88b0-a2af92baec4f 2025-09-15 18:39:14,001 - INFO - Adding interface with subnet_id 7da8df55-c1b1-49ca-b7a2-5be1c31ff9b9, port_id None to router 9da69459-840a-4b72-bc63-dbe860910dc8 2025-09-15 18:39:14,315 - INFO - Waiting for VM ctest-TestRoutersBasic-81328293-13882088 to be up.. 2025-09-15 18:39:14,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 18:39:19,496 - DEBUG - VM is in ACTIVE state now 2025-09-15 18:39:19,497 - INFO - VM name : ctest-TestRoutersBasic-81328293-13882088 2025-09-15 18:39:19,570 - DEBUG - VM ctest-TestRoutersBasic-81328293-13882088 ID is 24996ca6-2c03-40ef-96ed-d82334f6111e 2025-09-15 18:39:19,588 - DEBUG - VM ctest-TestRoutersBasic-81328293-13882088 launched on Node cn-jenkins-deploy-platform-ansible-os-4119-1 2025-09-15 18:39:19,654 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/24996ca6-2c03-40ef-96ed-d82334f6111e 2025-09-15 18:39:19,944 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/24996ca6-2c03-40ef-96ed-d82334f6111e 2025-09-15 18:39:19,972 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4d801fa5-47fc-4e05-9607-f49053338872 2025-09-15 18:39:23,235 - 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-15 18:39:23,235 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81328293-13882088 failed! 2025-09-15 18:39:23,287 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81328293:ctest-vn-50587851 is 85.22.111.65 and allocation pool is NOT set 2025-09-15 18:39:25,350 - 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=4.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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 = 1.196/2.779/4.363/1.583 ms') 2025-09-15 18:39:25,350 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81328293-13882088 passed 2025-09-15 18:39:25,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:39:25,463 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81328293-13882088, IP 85.22.111.67, Port 22 2025-09-15 18:39:25,622 - DEBUG - VM ctest-TestRoutersBasic-81328293-13882088 is ready for SSH connections 2025-09-15 18:39:25,623 - INFO - Waiting for VM ctest-TestRoutersBasic-81328293-38131133 to be up.. 2025-09-15 18:39:25,700 - DEBUG - VM is in ACTIVE state now 2025-09-15 18:39:25,700 - INFO - VM name : ctest-TestRoutersBasic-81328293-38131133 2025-09-15 18:39:25,767 - DEBUG - VM ctest-TestRoutersBasic-81328293-38131133 ID is 8a41f247-f46f-47d5-89ab-fea8fb9be954 2025-09-15 18:39:25,767 - DEBUG - VM ctest-TestRoutersBasic-81328293-38131133 launched on Node cn-jenkins-deploy-platform-ansible-os-4119-1 2025-09-15 18:39:25,835 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8a41f247-f46f-47d5-89ab-fea8fb9be954 2025-09-15 18:39:25,843 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7f461e97-7e39-44a7-b5d2-cbc5b05b0dbd 2025-09-15 18:39:27,072 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.920 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.920/2.344/3.768/1.424 ms') 2025-09-15 18:39:27,072 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81328293-38131133 passed 2025-09-15 18:39:27,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:39:27,219 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81328293-38131133, IP 155.36.210.195, Port 22 2025-09-15 18:39:27,375 - DEBUG - VM ctest-TestRoutersBasic-81328293-38131133 is ready for SSH connections 2025-09-15 18:39:27,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 18:39:27,375 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.36.210.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 18:39:27,375 - DEBUG - ping -s 56 -c 3 -W 1 155.36.210.195 2025-09-15 18:39:31,368 - DEBUG - PING 155.36.210.195 (155.36.210.195): 56 data bytes 64 bytes from 155.36.210.195: seq=0 ttl=62 time=8.321 ms 64 bytes from 155.36.210.195: seq=1 ttl=62 time=1.122 ms 64 bytes from 155.36.210.195: seq=2 ttl=62 time=0.744 ms --- 155.36.210.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.744/3.395/8.321 ms 2025-09-15 18:39:31,368 - INFO - Ping to IP 155.36.210.195 from VM ctest-TestRoutersBasic-81328293-13882088 passed 2025-09-15 18:39:31,368 - INFO - Deleting interface with subnet_id 7da8df55-c1b1-49ca-b7a2-5be1c31ff9b9, port_id None from router 9da69459-840a-4b72-bc63-dbe860910dc8 2025-09-15 18:39:31,547 - INFO - Deleting VM ctest-TestRoutersBasic-81328293-38131133 2025-09-15 18:39:31,620 - INFO - Deleting VM ctest-TestRoutersBasic-81328293-13882088 2025-09-15 18:39:31,698 - INFO - Deleting VN ctest-ext_vn-57369442 2025-09-15 18:39:31,758 - DEBUG - VN 0189d532-ede8-4460-88b0-a2af92baec4f still in use: Unable to complete operation on network 0189d532-ede8-4460-88b0-a2af92baec4f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b2f2a62-e710-491f-9595-9e147d5269e3'] 2025-09-15 18:39:31,758 - WARNING - Deleting VN ctest-ext_vn-57369442 failed..Will retry 2025-09-15 18:39:33,851 - DEBUG - Response for deleting network () 2025-09-15 18:39:33,852 - INFO - Deleting VN ctest-vn-50587851 2025-09-15 18:39:33,952 - DEBUG - Response for deleting network () 2025-09-15 18:39:34,227 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 18:39:34,227 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-15 18:39:34,227 - INFO - -------------------------------------------------------------------------------- 2025-09-15 18:39:34,876 - INFO - Deleted project: ctest-TestRoutersBasic-81328293, ID : 13f5c73a-aaf1-4074-883c-846d40a13757