2025-10-22 10:07:32,545 - INFO - Domain Default found not creating 2025-10-22 10:07:32,687 - INFO - Project ctest-TestRoutersBasic-38502938 not found, creating it 2025-10-22 10:07:33,122 - INFO - Created Project:ctest-TestRoutersBasic-38502938, ID : 82259357-b13d-4190-849e-d3262f0cb506 2025-10-22 10:07:34,539 - INFO - ================================================================================ 2025-10-22 10:07:34,539 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-22 10:07:34,539 - 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-10-22 10:07:34,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-10-22 10:07:34,800 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:07:34,800 - INFO - 2025-10-22 10:07:35,516 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38502938 2025-10-22 10:07:35,611 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38502938 2025-10-22 10:07:35,931 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38502938', 'default']} 2025-10-22 10:07:36,254 - DEBUG - Response for create_network : {'network': {'id': '15d982de-8195-4149-b0ac-4bfbbab49e9c', 'name': 'ctest-vn-54569974', 'tenant_id': '82259357b13d4190849ed3262f0cb506', 'project_id': '82259357b13d4190849ed3262f0cb506', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38502938', 'ctest-vn-54569974'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:07:36,431 - DEBUG - Response for create_subnet : {'subnet': {'id': '60f979c3-aa21-4eac-940a-244162cc024a', 'name': '', 'tenant_id': '82259357b13d4190849ed3262f0cb506', 'network_id': '15d982de-8195-4149-b0ac-4bfbbab49e9c', 'ip_version': 4, 'cidr': '14.70.69.128/26', 'allocation_pools': [{'start': '14.70.69.130', 'end': '14.70.69.190'}], 'gateway_ip': '14.70.69.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.70.69.130', 'tags': [], 'project_id': '82259357b13d4190849ed3262f0cb506'}} 2025-10-22 10:07:36,449 - INFO - Created VN ctest-vn-54569974 2025-10-22 10:07:36,503 - DEBUG - VN ctest-vn-54569974 UUID is 15d982de-8195-4149-b0ac-4bfbbab49e9c 2025-10-22 10:07:36,838 - DEBUG - Response for create_network : {'network': {'id': '6ace1370-1919-42b5-aaed-61ed844ce82a', 'name': 'ctest-ext_vn-63045808', 'tenant_id': '82259357b13d4190849ed3262f0cb506', 'project_id': '82259357b13d4190849ed3262f0cb506', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38502938', 'ctest-ext_vn-63045808'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:07:36,993 - DEBUG - Response for create_subnet : {'subnet': {'id': '66debb33-f47e-49b6-81dd-59c71315f0dc', 'name': '', 'tenant_id': '82259357b13d4190849ed3262f0cb506', 'network_id': '6ace1370-1919-42b5-aaed-61ed844ce82a', 'ip_version': 4, 'cidr': '192.135.16.128/26', 'allocation_pools': [{'start': '192.135.16.130', 'end': '192.135.16.190'}], 'gateway_ip': '192.135.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.135.16.130', 'tags': [], 'project_id': '82259357b13d4190849ed3262f0cb506'}} 2025-10-22 10:07:37,010 - INFO - Created VN ctest-ext_vn-63045808 2025-10-22 10:07:37,063 - DEBUG - VN ctest-ext_vn-63045808 UUID is 6ace1370-1919-42b5-aaed-61ed844ce82a 2025-10-22 10:07:37,263 - DEBUG - Services list from nova: [, , ] 2025-10-22 10:07:38,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4418-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4418-1) 2025-10-22 10:07:39,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4418-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4418-1) 2025-10-22 10:07:39,418 - INFO - Setting gateway for router dea4a002-fee2-4f8f-87b6-9c71cc20066b to network 6ace1370-1919-42b5-aaed-61ed844ce82a 2025-10-22 10:07:39,485 - INFO - Adding interface with subnet_id 60f979c3-aa21-4eac-940a-244162cc024a, port_id None to router dea4a002-fee2-4f8f-87b6-9c71cc20066b 2025-10-22 10:07:39,828 - INFO - Waiting for VM ctest-TestRoutersBasic-38502938-89227612 to be up.. 2025-10-22 10:07:39,943 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 10:07:45,013 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:07:45,013 - INFO - VM name : ctest-TestRoutersBasic-38502938-89227612 2025-10-22 10:07:45,086 - DEBUG - VM ctest-TestRoutersBasic-38502938-89227612 ID is 33af8be9-3d4b-421a-87de-077b3183b2e2 2025-10-22 10:07:45,107 - DEBUG - VM ctest-TestRoutersBasic-38502938-89227612 launched on Node cn-jenkins-deploy-platform-ansible-os-4418-1 2025-10-22 10:07:45,177 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/33af8be9-3d4b-421a-87de-077b3183b2e2 2025-10-22 10:07:45,476 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/33af8be9-3d4b-421a-87de-077b3183b2e2 2025-10-22 10:07:45,506 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/972e392f-be6b-48cd-ae53-8977c00aec45 2025-10-22 10:07:48,766 - 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 1027ms') 2025-10-22 10:07:48,766 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38502938-89227612 failed! 2025-10-22 10:07:48,823 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38502938:ctest-vn-54569974 is 14.70.69.129 and allocation pool is NOT set 2025-10-22 10:07:50,887 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/1.676/2.928/1.252 ms') 2025-10-22 10:07:50,887 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38502938-89227612 passed 2025-10-22 10:07:51,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:07:51,039 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38502938-89227612, IP 14.70.69.131, Port 22 2025-10-22 10:07:51,190 - DEBUG - VM ctest-TestRoutersBasic-38502938-89227612 is ready for SSH connections 2025-10-22 10:07:51,191 - INFO - Waiting for VM ctest-TestRoutersBasic-38502938-41862643 to be up.. 2025-10-22 10:07:51,263 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:07:51,263 - INFO - VM name : ctest-TestRoutersBasic-38502938-41862643 2025-10-22 10:07:51,334 - DEBUG - VM ctest-TestRoutersBasic-38502938-41862643 ID is 9f03f7f4-16f9-4f09-bc0e-71fd99718d3f 2025-10-22 10:07:51,334 - DEBUG - VM ctest-TestRoutersBasic-38502938-41862643 launched on Node cn-jenkins-deploy-platform-ansible-os-4418-1 2025-10-22 10:07:51,399 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9f03f7f4-16f9-4f09-bc0e-71fd99718d3f 2025-10-22 10:07:51,406 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/2ac59e1e-07ca-4601-acce-1d4381b0b0a5 2025-10-22 10:07:52,639 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.487 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.487/1.787/3.087/1.300 ms') 2025-10-22 10:07:52,639 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38502938-41862643 passed 2025-10-22 10:07:52,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:07:52,787 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38502938-41862643, IP 192.135.16.131, Port 22 2025-10-22 10:07:52,943 - DEBUG - VM ctest-TestRoutersBasic-38502938-41862643 is ready for SSH connections 2025-10-22 10:07:52,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:07:52,943 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.135.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-22 10:07:52,943 - DEBUG - ping -s 56 -c 3 -W 1 192.135.16.131 2025-10-22 10:07:56,684 - DEBUG - PING 192.135.16.131 (192.135.16.131): 56 data bytes 64 bytes from 192.135.16.131: seq=0 ttl=62 time=6.177 ms 64 bytes from 192.135.16.131: seq=1 ttl=62 time=1.086 ms 64 bytes from 192.135.16.131: seq=2 ttl=62 time=0.914 ms --- 192.135.16.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/2.725/6.177 ms 2025-10-22 10:07:56,684 - INFO - Ping to IP 192.135.16.131 from VM ctest-TestRoutersBasic-38502938-89227612 passed 2025-10-22 10:07:56,685 - INFO - Deleting interface with subnet_id 60f979c3-aa21-4eac-940a-244162cc024a, port_id None from router dea4a002-fee2-4f8f-87b6-9c71cc20066b 2025-10-22 10:07:56,926 - INFO - Deleting VM ctest-TestRoutersBasic-38502938-41862643 2025-10-22 10:07:57,014 - INFO - Deleting VM ctest-TestRoutersBasic-38502938-89227612 2025-10-22 10:07:57,095 - INFO - Deleting VN ctest-ext_vn-63045808 2025-10-22 10:07:57,188 - DEBUG - VN 6ace1370-1919-42b5-aaed-61ed844ce82a still in use: Unable to complete operation on network 6ace1370-1919-42b5-aaed-61ed844ce82a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-33e08a97-091f-4ad0-a406-edd5b3e7919f'] 2025-10-22 10:07:57,188 - WARNING - Deleting VN ctest-ext_vn-63045808 failed..Will retry 2025-10-22 10:07:59,282 - DEBUG - Response for deleting network () 2025-10-22 10:07:59,282 - INFO - Deleting VN ctest-vn-54569974 2025-10-22 10:07:59,380 - DEBUG - Response for deleting network () 2025-10-22 10:07:59,632 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 10:07:59,632 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-22 10:07:59,632 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:08:00,291 - INFO - Deleted project: ctest-TestRoutersBasic-38502938, ID : 82259357-b13d-4190-849e-d3262f0cb506