2026-11-07 02:32:33,832 - INFO - Domain Default found not creating 2026-11-07 02:32:34,012 - INFO - Project ctest-TestRoutersBasic-02595367 not found, creating it 2026-11-07 02:32:34,524 - INFO - Created Project:ctest-TestRoutersBasic-02595367, ID : f9cc35b9-9202-4a16-ae7f-86897d14483e 2026-11-07 02:32:36,094 - INFO - ================================================================================ 2026-11-07 02:32:36,094 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-07 02:32:36,094 - 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-11-07 02:32:36,354 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-11-07 02:32:36,354 - INFO - Initial checks done. Running the testcase now 2026-11-07 02:32:36,354 - INFO - 2026-11-07 02:32:37,117 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02595367 2026-11-07 02:32:37,211 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02595367 2026-11-07 02:32:37,531 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02595367', 'default']} 2026-11-07 02:32:37,822 - DEBUG - Response for create_network : {'network': {'id': '0290418d-1dba-47be-85f8-6d11452c305b', 'name': 'ctest-vn-78792807', 'tenant_id': 'f9cc35b992024a16ae7f86897d14483e', 'project_id': 'f9cc35b992024a16ae7f86897d14483e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02595367', 'ctest-vn-78792807'], 'port_security_enabled': True, 'description': ''}} 2026-11-07 02:32:38,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '6768ea0c-9e0b-48ac-a172-a3ee20c1b0cf', 'name': '', 'tenant_id': 'f9cc35b992024a16ae7f86897d14483e', 'network_id': '0290418d-1dba-47be-85f8-6d11452c305b', 'ip_version': 4, 'cidr': '116.248.249.192/26', 'allocation_pools': [{'start': '116.248.249.194', 'end': '116.248.249.254'}], 'gateway_ip': '116.248.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.248.249.194', 'tags': [], 'project_id': 'f9cc35b992024a16ae7f86897d14483e'}} 2026-11-07 02:32:38,048 - INFO - Created VN ctest-vn-78792807 2026-11-07 02:32:38,099 - DEBUG - VN ctest-vn-78792807 UUID is 0290418d-1dba-47be-85f8-6d11452c305b 2026-11-07 02:32:38,432 - DEBUG - Response for create_network : {'network': {'id': '0215eaf3-11fe-4388-9766-a338fe8121fb', 'name': 'ctest-ext_vn-65000245', 'tenant_id': 'f9cc35b992024a16ae7f86897d14483e', 'project_id': 'f9cc35b992024a16ae7f86897d14483e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02595367', 'ctest-ext_vn-65000245'], 'port_security_enabled': True, 'description': ''}} 2026-11-07 02:32:38,656 - DEBUG - Response for create_subnet : {'subnet': {'id': '4304ff44-7e37-46fc-bad6-4fbaaf5330fe', 'name': '', 'tenant_id': 'f9cc35b992024a16ae7f86897d14483e', 'network_id': '0215eaf3-11fe-4388-9766-a338fe8121fb', 'ip_version': 4, 'cidr': '204.118.229.64/26', 'allocation_pools': [{'start': '204.118.229.66', 'end': '204.118.229.126'}], 'gateway_ip': '204.118.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.118.229.66', 'tags': [], 'project_id': 'f9cc35b992024a16ae7f86897d14483e'}} 2026-11-07 02:32:38,672 - INFO - Created VN ctest-ext_vn-65000245 2026-11-07 02:32:38,723 - DEBUG - VN ctest-ext_vn-65000245 UUID is 0215eaf3-11fe-4388-9766-a338fe8121fb 2026-11-07 02:32:38,922 - DEBUG - Services list from nova: [, , ] 2026-11-07 02:32:39,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6494-1) 2026-11-07 02:32:39,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6494-1) 2026-11-07 02:32:39,671 - INFO - Setting gateway for router 803deb8b-e1cc-4d70-8241-f52cd4bb4f1a to network 0215eaf3-11fe-4388-9766-a338fe8121fb 2026-11-07 02:32:39,733 - INFO - Adding interface with subnet_id 6768ea0c-9e0b-48ac-a172-a3ee20c1b0cf, port_id None to router 803deb8b-e1cc-4d70-8241-f52cd4bb4f1a 2026-11-07 02:32:40,018 - INFO - Waiting for VM ctest-TestRoutersBasic-02595367-67419995 to be up.. 2026-11-07 02:32:40,066 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:32:45,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:32:50,222 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:32:55,295 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:33:00,382 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:33:05,529 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:33:10,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:33:15,676 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-07 02:33:20,762 - DEBUG - VM is in ACTIVE state now 2026-11-07 02:33:20,762 - INFO - VM name : ctest-TestRoutersBasic-02595367-67419995 2026-11-07 02:33:20,850 - DEBUG - VM ctest-TestRoutersBasic-02595367-67419995 ID is 63165fd7-7e2e-4dea-b765-d0914ade7468 2026-11-07 02:33:20,871 - DEBUG - VM ctest-TestRoutersBasic-02595367-67419995 launched on Node cn-jenkins-deploy-platform-ansible-os-6494-1 2026-11-07 02:33:20,952 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63165fd7-7e2e-4dea-b765-d0914ade7468 2026-11-07 02:33:21,296 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/63165fd7-7e2e-4dea-b765-d0914ade7468 2026-11-07 02:33:21,339 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8411c3c6-a769-4f48-906b-a75d47842db0 2026-11-07 02:33:22,607 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=4.18 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.573 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.573/2.376/4.179/1.803 ms') 2026-11-07 02:33:22,607 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-02595367-67419995 passed 2026-11-07 02:33:22,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 02:33:22,755 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02595367-67419995, IP 116.248.249.195, Port 22 2026-11-07 02:33:22,911 - DEBUG - VM ctest-TestRoutersBasic-02595367-67419995 is ready for SSH connections 2026-11-07 02:33:22,911 - INFO - Waiting for VM ctest-TestRoutersBasic-02595367-23710550 to be up.. 2026-11-07 02:33:22,983 - DEBUG - VM is in ACTIVE state now 2026-11-07 02:33:22,984 - INFO - VM name : ctest-TestRoutersBasic-02595367-23710550 2026-11-07 02:33:23,052 - DEBUG - VM ctest-TestRoutersBasic-02595367-23710550 ID is aa041732-090c-47e7-8b59-c767af996a3c 2026-11-07 02:33:23,052 - DEBUG - VM ctest-TestRoutersBasic-02595367-23710550 launched on Node cn-jenkins-deploy-platform-ansible-os-6494-1 2026-11-07 02:33:23,130 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/aa041732-090c-47e7-8b59-c767af996a3c 2026-11-07 02:33:23,137 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0b62d601-1922-436f-8009-e38d8c1d1cd1 2026-11-07 02:33:26,403 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=5.69 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1027ms\r\nrtt min/avg/max/mdev = 5.687/5.687/5.687/0.000 ms') 2026-11-07 02:33:26,404 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-02595367-23710550 passed 2026-11-07 02:33:26,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 02:33:26,551 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02595367-23710550, IP 204.118.229.68, Port 22 2026-11-07 02:33:26,706 - DEBUG - VM ctest-TestRoutersBasic-02595367-23710550 is ready for SSH connections 2026-11-07 02:33:26,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-07 02:33:26,707 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.118.229.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-07 02:33:26,707 - DEBUG - ping -s 56 -c 3 -W 1 204.118.229.68 2026-11-07 02:33:29,568 - DEBUG - PING 204.118.229.68 (204.118.229.68): 56 data bytes 64 bytes from 204.118.229.68: seq=0 ttl=62 time=5.000 ms 64 bytes from 204.118.229.68: seq=1 ttl=62 time=0.977 ms 64 bytes from 204.118.229.68: seq=2 ttl=62 time=1.257 ms --- 204.118.229.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.977/2.411/5.000 ms 2026-11-07 02:33:29,568 - INFO - Ping to IP 204.118.229.68 from VM ctest-TestRoutersBasic-02595367-67419995 passed 2026-11-07 02:33:29,568 - INFO - Deleting interface with subnet_id 6768ea0c-9e0b-48ac-a172-a3ee20c1b0cf, port_id None from router 803deb8b-e1cc-4d70-8241-f52cd4bb4f1a 2026-11-07 02:33:29,761 - INFO - Deleting VM ctest-TestRoutersBasic-02595367-23710550 2026-11-07 02:33:29,834 - INFO - Deleting VM ctest-TestRoutersBasic-02595367-67419995 2026-11-07 02:33:29,903 - INFO - Deleting VN ctest-ext_vn-65000245 2026-11-07 02:33:29,959 - DEBUG - VN 0215eaf3-11fe-4388-9766-a338fe8121fb still in use: Unable to complete operation on network 0215eaf3-11fe-4388-9766-a338fe8121fb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da7ccc65-1262-46c2-806e-8dba2fae001b'] 2026-11-07 02:33:29,960 - WARNING - Deleting VN ctest-ext_vn-65000245 failed..Will retry 2026-11-07 02:33:31,996 - DEBUG - VN 0215eaf3-11fe-4388-9766-a338fe8121fb still in use: Unable to complete operation on network 0215eaf3-11fe-4388-9766-a338fe8121fb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1e3dd02-e98b-4578-8c1f-6d6ebb31a29d'] 2026-11-07 02:33:31,996 - WARNING - Deleting VN ctest-ext_vn-65000245 failed..Will retry 2026-11-07 02:33:34,104 - DEBUG - Response for deleting network () 2026-11-07 02:33:34,104 - INFO - Deleting VN ctest-vn-78792807 2026-11-07 02:33:34,213 - DEBUG - Response for deleting network () 2026-11-07 02:33:34,476 - DEBUG - No XMPP flaps were noticed during the test 2026-11-07 02:33:34,476 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58] 2026-11-07 02:33:34,476 - INFO - -------------------------------------------------------------------------------- 2026-11-07 02:33:35,194 - INFO - Deleted project: ctest-TestRoutersBasic-02595367, ID : f9cc35b9-9202-4a16-ae7f-86897d14483e