2026-03-23 15:24:09,505 - INFO - Domain Default found not creating 2026-03-23 15:24:09,708 - INFO - Project ctest-TestRoutersBasic-61806108 not found, creating it 2026-03-23 15:24:10,191 - INFO - Created Project:ctest-TestRoutersBasic-61806108, ID : 2893acf6-aa4a-4392-8cc3-c30279cc3636 2026-03-23 15:24:11,868 - INFO - ================================================================================ 2026-03-23 15:24:11,868 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-23 15:24:11,868 - 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 2026-03-23 15:24:12,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2026-03-23 15:24:12,129 - INFO - Initial checks done. Running the testcase now 2026-03-23 15:24:12,129 - INFO - 2026-03-23 15:24:12,932 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61806108 2026-03-23 15:24:13,033 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61806108 2026-03-23 15:24:13,369 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61806108', 'default']} 2026-03-23 15:24:13,718 - DEBUG - Response for create_network : {'network': {'id': 'fd0726cb-dc92-432f-8cec-f582ab5557e1', 'name': 'ctest-vn-68129775', 'tenant_id': '2893acf6aa4a43928cc3c30279cc3636', 'project_id': '2893acf6aa4a43928cc3c30279cc3636', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61806108', 'ctest-vn-68129775'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:24:13,942 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b2aceea-ffed-4485-ad23-eb2bfc5a2b5f', 'name': '', 'tenant_id': '2893acf6aa4a43928cc3c30279cc3636', 'network_id': 'fd0726cb-dc92-432f-8cec-f582ab5557e1', 'ip_version': 4, 'cidr': '94.202.52.0/26', 'allocation_pools': [{'start': '94.202.52.2', 'end': '94.202.52.62'}], 'gateway_ip': '94.202.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.202.52.2', 'tags': [], 'project_id': '2893acf6aa4a43928cc3c30279cc3636'}} 2026-03-23 15:24:13,964 - INFO - Created VN ctest-vn-68129775 2026-03-23 15:24:14,017 - DEBUG - VN ctest-vn-68129775 UUID is fd0726cb-dc92-432f-8cec-f582ab5557e1 2026-03-23 15:24:14,377 - DEBUG - Response for create_network : {'network': {'id': '8f5f208b-d4f4-4cf1-9ccd-8917be1449e9', 'name': 'ctest-ext_vn-34623676', 'tenant_id': '2893acf6aa4a43928cc3c30279cc3636', 'project_id': '2893acf6aa4a43928cc3c30279cc3636', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61806108', 'ctest-ext_vn-34623676'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:24:14,554 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7b3f4d9-1cb1-4d7d-bf2b-7db81ce67d0f', 'name': '', 'tenant_id': '2893acf6aa4a43928cc3c30279cc3636', 'network_id': '8f5f208b-d4f4-4cf1-9ccd-8917be1449e9', 'ip_version': 4, 'cidr': '99.136.133.64/26', 'allocation_pools': [{'start': '99.136.133.66', 'end': '99.136.133.126'}], 'gateway_ip': '99.136.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.136.133.66', 'tags': [], 'project_id': '2893acf6aa4a43928cc3c30279cc3636'}} 2026-03-23 15:24:14,578 - INFO - Created VN ctest-ext_vn-34623676 2026-03-23 15:24:14,634 - DEBUG - VN ctest-ext_vn-34623676 UUID is 8f5f208b-d4f4-4cf1-9ccd-8917be1449e9 2026-03-23 15:24:14,810 - DEBUG - Services list from nova: [, , ] 2026-03-23 15:24:15,932 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5518-1) 2026-03-23 15:24:17,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5518-1) 2026-03-23 15:24:17,285 - INFO - Setting gateway for router 9083af4e-771b-45da-82e4-3e908a325553 to network 8f5f208b-d4f4-4cf1-9ccd-8917be1449e9 2026-03-23 15:24:17,358 - INFO - Adding interface with subnet_id 4b2aceea-ffed-4485-ad23-eb2bfc5a2b5f, port_id None to router 9083af4e-771b-45da-82e4-3e908a325553 2026-03-23 15:24:17,750 - INFO - Waiting for VM ctest-TestRoutersBasic-61806108-53321156 to be up.. 2026-03-23 15:24:17,926 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-23 15:24:23,018 - DEBUG - VM is in ACTIVE state now 2026-03-23 15:24:23,018 - INFO - VM name : ctest-TestRoutersBasic-61806108-53321156 2026-03-23 15:24:23,108 - DEBUG - VM ctest-TestRoutersBasic-61806108-53321156 ID is 9accb277-113f-47d6-b492-5fc0f4f80cc6 2026-03-23 15:24:23,138 - DEBUG - VM ctest-TestRoutersBasic-61806108-53321156 launched on Node cn-jenkins-deploy-platform-ansible-os-5518-1 2026-03-23 15:24:23,227 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/9accb277-113f-47d6-b492-5fc0f4f80cc6 2026-03-23 15:24:23,533 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/9accb277-113f-47d6-b492-5fc0f4f80cc6 2026-03-23 15:24:23,577 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/0fa696c5-7cb6-410d-a530-f22a6a5a4c89 2026-03-23 15:24:26,847 - 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 1020ms') 2026-03-23 15:24:26,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61806108-53321156 failed! 2026-03-23 15:24:26,909 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61806108:ctest-vn-68129775 is 94.202.52.1 and allocation pool is NOT set 2026-03-23 15:24:28,972 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.24 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 = 1.235/3.070/4.905/1.835 ms') 2026-03-23 15:24:28,972 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61806108-53321156 passed 2026-03-23 15:24:29,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:24:29,085 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61806108-53321156, IP 94.202.52.3, Port 22 2026-03-23 15:24:29,241 - DEBUG - VM ctest-TestRoutersBasic-61806108-53321156 is ready for SSH connections 2026-03-23 15:24:29,241 - INFO - Waiting for VM ctest-TestRoutersBasic-61806108-20959338 to be up.. 2026-03-23 15:24:29,331 - DEBUG - VM is in ACTIVE state now 2026-03-23 15:24:29,331 - INFO - VM name : ctest-TestRoutersBasic-61806108-20959338 2026-03-23 15:24:29,424 - DEBUG - VM ctest-TestRoutersBasic-61806108-20959338 ID is 98967a3f-6c17-4fd0-9a9d-86f10b934560 2026-03-23 15:24:29,424 - DEBUG - VM ctest-TestRoutersBasic-61806108-20959338 launched on Node cn-jenkins-deploy-platform-ansible-os-5518-1 2026-03-23 15:24:29,520 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/98967a3f-6c17-4fd0-9a9d-86f10b934560 2026-03-23 15:24:29,530 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/b7c39e16-e6a8-4684-8f0d-3d33c8d79cd5 2026-03-23 15:24:30,775 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.82 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 = 2.818/3.047/3.276/0.229 ms') 2026-03-23 15:24:30,775 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61806108-20959338 passed 2026-03-23 15:24:30,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:24:30,929 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61806108-20959338, IP 99.136.133.67, Port 22 2026-03-23 15:24:31,095 - DEBUG - VM ctest-TestRoutersBasic-61806108-20959338 is ready for SSH connections 2026-03-23 15:24:31,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:24:31,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.136.133.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-03-23 15:24:31,096 - DEBUG - ping -s 56 -c 3 -W 1 99.136.133.67 2026-03-23 15:24:34,854 - DEBUG - PING 99.136.133.67 (99.136.133.67): 56 data bytes 64 bytes from 99.136.133.67: seq=0 ttl=62 time=7.585 ms 64 bytes from 99.136.133.67: seq=1 ttl=62 time=1.240 ms 64 bytes from 99.136.133.67: seq=2 ttl=62 time=1.291 ms --- 99.136.133.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.240/3.372/7.585 ms 2026-03-23 15:24:34,854 - INFO - Ping to IP 99.136.133.67 from VM ctest-TestRoutersBasic-61806108-53321156 passed 2026-03-23 15:24:34,855 - INFO - Deleting interface with subnet_id 4b2aceea-ffed-4485-ad23-eb2bfc5a2b5f, port_id None from router 9083af4e-771b-45da-82e4-3e908a325553 2026-03-23 15:24:35,059 - INFO - Deleting VM ctest-TestRoutersBasic-61806108-20959338 2026-03-23 15:24:35,144 - INFO - Deleting VM ctest-TestRoutersBasic-61806108-53321156 2026-03-23 15:24:35,236 - INFO - Deleting VN ctest-ext_vn-34623676 2026-03-23 15:24:35,407 - DEBUG - VN 8f5f208b-d4f4-4cf1-9ccd-8917be1449e9 still in use: Unable to complete operation on network 8f5f208b-d4f4-4cf1-9ccd-8917be1449e9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3425a7a6-0962-4b24-9bb3-1cd3943d0a5f'] 2026-03-23 15:24:35,407 - WARNING - Deleting VN ctest-ext_vn-34623676 failed..Will retry 2026-03-23 15:24:37,523 - DEBUG - Response for deleting network () 2026-03-23 15:24:37,524 - INFO - Deleting VN ctest-vn-68129775 2026-03-23 15:24:37,643 - DEBUG - Response for deleting network () 2026-03-23 15:24:37,917 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 15:24:37,917 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-03-23 15:24:37,917 - INFO - -------------------------------------------------------------------------------- 2026-03-23 15:24:38,677 - INFO - Deleted project: ctest-TestRoutersBasic-61806108, ID : 2893acf6-aa4a-4392-8cc3-c30279cc3636