2025-10-30 09:37:14,076 - INFO - Domain Default found not creating 2025-10-30 09:37:14,223 - INFO - Project ctest-TestRoutersBasic-21604167 not found, creating it 2025-10-30 09:37:14,673 - INFO - Created Project:ctest-TestRoutersBasic-21604167, ID : 35fc9c52-f22c-4e59-a9b7-4925f6099365 2025-10-30 09:37:16,251 - INFO - ================================================================================ 2025-10-30 09:37:16,251 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 09:37:16,251 - 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-30 09:37:16,509 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-30 09:37:16,509 - INFO - Initial checks done. Running the testcase now 2025-10-30 09:37:16,509 - INFO - 2025-10-30 09:37:17,277 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21604167 2025-10-30 09:37:17,375 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21604167 2025-10-30 09:37:17,687 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21604167', 'default']} 2025-10-30 09:37:17,967 - DEBUG - Response for create_network : {'network': {'id': '1373e874-4db4-42e7-98e0-5f73fa10cecf', 'name': 'ctest-vn-29752089', 'tenant_id': '35fc9c52f22c4e59a9b74925f6099365', 'project_id': '35fc9c52f22c4e59a9b74925f6099365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21604167', 'ctest-vn-29752089'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:37:18,121 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a06c486-c363-4cc2-a376-d9931fd443ae', 'name': '', 'tenant_id': '35fc9c52f22c4e59a9b74925f6099365', 'network_id': '1373e874-4db4-42e7-98e0-5f73fa10cecf', 'ip_version': 4, 'cidr': '58.189.167.128/26', 'allocation_pools': [{'start': '58.189.167.130', 'end': '58.189.167.190'}], 'gateway_ip': '58.189.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.189.167.130', 'tags': [], 'project_id': '35fc9c52f22c4e59a9b74925f6099365'}} 2025-10-30 09:37:18,139 - INFO - Created VN ctest-vn-29752089 2025-10-30 09:37:18,191 - DEBUG - VN ctest-vn-29752089 UUID is 1373e874-4db4-42e7-98e0-5f73fa10cecf 2025-10-30 09:37:18,546 - DEBUG - Response for create_network : {'network': {'id': 'd5736bd3-14bd-4aa0-9720-1e40174db85e', 'name': 'ctest-ext_vn-04276005', 'tenant_id': '35fc9c52f22c4e59a9b74925f6099365', 'project_id': '35fc9c52f22c4e59a9b74925f6099365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21604167', 'ctest-ext_vn-04276005'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:37:18,727 - DEBUG - Response for create_subnet : {'subnet': {'id': '56d50cb7-5820-4672-bc57-ebaad797a051', 'name': '', 'tenant_id': '35fc9c52f22c4e59a9b74925f6099365', 'network_id': 'd5736bd3-14bd-4aa0-9720-1e40174db85e', 'ip_version': 4, 'cidr': '68.187.58.64/26', 'allocation_pools': [{'start': '68.187.58.66', 'end': '68.187.58.126'}], 'gateway_ip': '68.187.58.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.187.58.66', 'tags': [], 'project_id': '35fc9c52f22c4e59a9b74925f6099365'}} 2025-10-30 09:37:18,746 - INFO - Created VN ctest-ext_vn-04276005 2025-10-30 09:37:18,799 - DEBUG - VN ctest-ext_vn-04276005 UUID is d5736bd3-14bd-4aa0-9720-1e40174db85e 2025-10-30 09:37:18,964 - DEBUG - Services list from nova: [, , ] 2025-10-30 09:37:20,056 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4538-1) 2025-10-30 09:37:21,279 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4538-1) 2025-10-30 09:37:21,346 - INFO - Setting gateway for router 083ae22c-b949-46f1-986c-e0f3448d5486 to network d5736bd3-14bd-4aa0-9720-1e40174db85e 2025-10-30 09:37:21,401 - INFO - Adding interface with subnet_id 1a06c486-c363-4cc2-a376-d9931fd443ae, port_id None to router 083ae22c-b949-46f1-986c-e0f3448d5486 2025-10-30 09:37:21,747 - INFO - Waiting for VM ctest-TestRoutersBasic-21604167-69082663 to be up.. 2025-10-30 09:37:21,870 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 09:37:26,946 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:37:26,946 - INFO - VM name : ctest-TestRoutersBasic-21604167-69082663 2025-10-30 09:37:27,026 - DEBUG - VM ctest-TestRoutersBasic-21604167-69082663 ID is 91a0a363-6de4-4a9b-b77c-88512faa5881 2025-10-30 09:37:27,052 - DEBUG - VM ctest-TestRoutersBasic-21604167-69082663 launched on Node cn-jenkins-deploy-platform-ansible-os-4538-1 2025-10-30 09:37:27,133 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/91a0a363-6de4-4a9b-b77c-88512faa5881 2025-10-30 09:37:27,474 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/91a0a363-6de4-4a9b-b77c-88512faa5881 2025-10-30 09:37:27,504 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d8f25a18-e3bf-4ed7-b157-a6eb9993da13 2025-10-30 09:37:30,741 - 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 1002ms') 2025-10-30 09:37:30,741 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21604167-69082663 failed! 2025-10-30 09:37:30,795 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21604167:ctest-vn-29752089 is 58.189.167.129 and allocation pool is NOT set 2025-10-30 09:37:32,854 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.903 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.903/2.691/4.480/1.788 ms') 2025-10-30 09:37:32,854 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21604167-69082663 passed 2025-10-30 09:37:33,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:37:33,007 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21604167-69082663, IP 58.189.167.131, Port 22 2025-10-30 09:37:33,173 - DEBUG - VM ctest-TestRoutersBasic-21604167-69082663 is ready for SSH connections 2025-10-30 09:37:33,173 - INFO - Waiting for VM ctest-TestRoutersBasic-21604167-15973541 to be up.. 2025-10-30 09:37:33,256 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:37:33,256 - INFO - VM name : ctest-TestRoutersBasic-21604167-15973541 2025-10-30 09:37:33,330 - DEBUG - VM ctest-TestRoutersBasic-21604167-15973541 ID is 223bde7c-6487-4e59-a3c5-799c48a5d7b1 2025-10-30 09:37:33,330 - DEBUG - VM ctest-TestRoutersBasic-21604167-15973541 launched on Node cn-jenkins-deploy-platform-ansible-os-4538-1 2025-10-30 09:37:33,416 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/223bde7c-6487-4e59-a3c5-799c48a5d7b1 2025-10-30 09:37:33,424 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5e42e5bd-2aa5-4782-a42a-b17eabc64971 2025-10-30 09:37:34,665 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/2.211/4.007/1.796 ms') 2025-10-30 09:37:34,665 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-21604167-15973541 passed 2025-10-30 09:37:34,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:37:34,819 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21604167-15973541, IP 68.187.58.67, Port 22 2025-10-30 09:37:34,975 - DEBUG - VM ctest-TestRoutersBasic-21604167-15973541 is ready for SSH connections 2025-10-30 09:37:34,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:37:34,975 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.187.58.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 09:37:34,975 - DEBUG - ping -s 56 -c 3 -W 1 68.187.58.67 2025-10-30 09:37:38,761 - DEBUG - PING 68.187.58.67 (68.187.58.67): 56 data bytes 64 bytes from 68.187.58.67: seq=0 ttl=62 time=4.886 ms 64 bytes from 68.187.58.67: seq=1 ttl=62 time=0.938 ms 64 bytes from 68.187.58.67: seq=2 ttl=62 time=1.163 ms --- 68.187.58.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/2.329/4.886 ms 2025-10-30 09:37:38,762 - INFO - Ping to IP 68.187.58.67 from VM ctest-TestRoutersBasic-21604167-69082663 passed 2025-10-30 09:37:38,762 - INFO - Deleting interface with subnet_id 1a06c486-c363-4cc2-a376-d9931fd443ae, port_id None from router 083ae22c-b949-46f1-986c-e0f3448d5486 2025-10-30 09:37:38,943 - INFO - Deleting VM ctest-TestRoutersBasic-21604167-15973541 2025-10-30 09:37:39,017 - INFO - Deleting VM ctest-TestRoutersBasic-21604167-69082663 2025-10-30 09:37:39,094 - INFO - Deleting VN ctest-ext_vn-04276005 2025-10-30 09:37:39,152 - DEBUG - VN d5736bd3-14bd-4aa0-9720-1e40174db85e still in use: Unable to complete operation on network d5736bd3-14bd-4aa0-9720-1e40174db85e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b97accac-4e6b-495f-8ec2-c5d7d0b69455'] 2025-10-30 09:37:39,152 - WARNING - Deleting VN ctest-ext_vn-04276005 failed..Will retry 2025-10-30 09:37:41,250 - DEBUG - Response for deleting network () 2025-10-30 09:37:41,251 - INFO - Deleting VN ctest-vn-29752089 2025-10-30 09:37:41,343 - DEBUG - Response for deleting network () 2025-10-30 09:37:41,600 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 09:37:41,600 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-30 09:37:41,600 - INFO - -------------------------------------------------------------------------------- 2025-10-30 09:37:42,320 - INFO - Deleted project: ctest-TestRoutersBasic-21604167, ID : 35fc9c52-f22c-4e59-a9b7-4925f6099365