2026-08-17 05:31:37,913 - INFO - Domain Default found not creating 2026-08-17 05:31:38,093 - INFO - Project ctest-TestRoutersBasic-20075347 not found, creating it 2026-08-17 05:31:38,712 - INFO - Created Project:ctest-TestRoutersBasic-20075347, ID : 49507935-d7d2-4143-ad2a-ce3c38373f8f 2026-08-17 05:31:40,435 - INFO - ================================================================================ 2026-08-17 05:31:40,435 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-17 05:31:40,435 - 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-08-17 05:31:40,709 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.18': '0'}} with 2026-08-17 05:31:40,709 - INFO - Initial checks done. Running the testcase now 2026-08-17 05:31:40,709 - INFO - 2026-08-17 05:31:41,597 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-20075347 2026-08-17 05:31:41,696 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-20075347 2026-08-17 05:31:42,019 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20075347', 'default']} 2026-08-17 05:31:42,348 - DEBUG - Response for create_network : {'network': {'id': 'e1a6ec48-4987-401f-bc79-6f4b39fc45fc', 'name': 'ctest-vn-33202721', 'tenant_id': '49507935d7d24143ad2ace3c38373f8f', 'project_id': '49507935d7d24143ad2ace3c38373f8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20075347', 'ctest-vn-33202721'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 05:31:42,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '22e32e43-0ac0-4534-8390-48081f99dace', 'name': '', 'tenant_id': '49507935d7d24143ad2ace3c38373f8f', 'network_id': 'e1a6ec48-4987-401f-bc79-6f4b39fc45fc', 'ip_version': 4, 'cidr': '171.180.167.128/26', 'allocation_pools': [{'start': '171.180.167.130', 'end': '171.180.167.190'}], 'gateway_ip': '171.180.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.180.167.130', 'tags': [], 'project_id': '49507935d7d24143ad2ace3c38373f8f'}} 2026-08-17 05:31:42,613 - INFO - Created VN ctest-vn-33202721 2026-08-17 05:31:42,668 - DEBUG - VN ctest-vn-33202721 UUID is e1a6ec48-4987-401f-bc79-6f4b39fc45fc 2026-08-17 05:31:43,025 - DEBUG - Response for create_network : {'network': {'id': 'fa454b29-9176-4cf5-b947-139b59fb0f1e', 'name': 'ctest-ext_vn-23997263', 'tenant_id': '49507935d7d24143ad2ace3c38373f8f', 'project_id': '49507935d7d24143ad2ace3c38373f8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20075347', 'ctest-ext_vn-23997263'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 05:31:43,287 - DEBUG - Response for create_subnet : {'subnet': {'id': '3db07757-bf70-4467-9359-943394398c3c', 'name': '', 'tenant_id': '49507935d7d24143ad2ace3c38373f8f', 'network_id': 'fa454b29-9176-4cf5-b947-139b59fb0f1e', 'ip_version': 4, 'cidr': '21.253.154.128/26', 'allocation_pools': [{'start': '21.253.154.130', 'end': '21.253.154.190'}], 'gateway_ip': '21.253.154.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.253.154.130', 'tags': [], 'project_id': '49507935d7d24143ad2ace3c38373f8f'}} 2026-08-17 05:31:43,310 - INFO - Created VN ctest-ext_vn-23997263 2026-08-17 05:31:43,368 - DEBUG - VN ctest-ext_vn-23997263 UUID is fa454b29-9176-4cf5-b947-139b59fb0f1e 2026-08-17 05:31:43,547 - DEBUG - Services list from nova: [, , ] 2026-08-17 05:31:43,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6169-1) 2026-08-17 05:31:44,311 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6169-1) 2026-08-17 05:31:44,387 - INFO - Setting gateway for router 3e7ff46a-7be7-40ff-b7a7-832d1654e0ab to network fa454b29-9176-4cf5-b947-139b59fb0f1e 2026-08-17 05:31:44,464 - INFO - Adding interface with subnet_id 22e32e43-0ac0-4534-8390-48081f99dace, port_id None to router 3e7ff46a-7be7-40ff-b7a7-832d1654e0ab 2026-08-17 05:31:44,723 - INFO - Waiting for VM ctest-TestRoutersBasic-20075347-44149291 to be up.. 2026-08-17 05:31:44,791 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:31:49,870 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:31:54,960 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:32:00,120 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:32:05,208 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:32:10,311 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:32:15,404 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:32:20,487 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:32:25,574 - DEBUG - VM is in ACTIVE state now 2026-08-17 05:32:25,574 - INFO - VM name : ctest-TestRoutersBasic-20075347-44149291 2026-08-17 05:32:25,654 - DEBUG - VM ctest-TestRoutersBasic-20075347-44149291 ID is dbf87041-479f-467a-833e-c1e4a2916d2b 2026-08-17 05:32:25,676 - DEBUG - VM ctest-TestRoutersBasic-20075347-44149291 launched on Node cn-jenkins-deploy-platform-ansible-os-6169-1 2026-08-17 05:32:25,761 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/dbf87041-479f-467a-833e-c1e4a2916d2b 2026-08-17 05:32:26,135 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/dbf87041-479f-467a-833e-c1e4a2916d2b 2026-08-17 05:32:26,169 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/6676625d-5592-44ff-9656-884744ba5efe 2026-08-17 05:32:29,442 - 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=2 ttl=63 time=15.9 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 15.927/15.927/15.927/0.000 ms') 2026-08-17 05:32:29,442 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-20075347-44149291 passed 2026-08-17 05:32:29,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 05:32:29,596 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20075347-44149291, IP 171.180.167.131, Port 22 2026-08-17 05:32:29,774 - DEBUG - VM ctest-TestRoutersBasic-20075347-44149291 is ready for SSH connections 2026-08-17 05:32:29,774 - INFO - Waiting for VM ctest-TestRoutersBasic-20075347-22175449 to be up.. 2026-08-17 05:32:29,856 - DEBUG - VM is in ACTIVE state now 2026-08-17 05:32:29,857 - INFO - VM name : ctest-TestRoutersBasic-20075347-22175449 2026-08-17 05:32:29,947 - DEBUG - VM ctest-TestRoutersBasic-20075347-22175449 ID is 3aad5c21-a2e4-4fa7-a378-f11b2452e996 2026-08-17 05:32:29,947 - DEBUG - VM ctest-TestRoutersBasic-20075347-22175449 launched on Node cn-jenkins-deploy-platform-ansible-os-6169-1 2026-08-17 05:32:30,033 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/3aad5c21-a2e4-4fa7-a378-f11b2452e996 2026-08-17 05:32:30,044 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/7e8b6e96-27b7-48f7-8860-e8905e72c6fa 2026-08-17 05:32:33,314 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2026-08-17 05:32:33,314 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-20075347-22175449 failed! 2026-08-17 05:32:33,372 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-20075347:ctest-ext_vn-23997263 is 21.253.154.129 and allocation pool is NOT set 2026-08-17 05:32:35,433 - 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=1 ttl=63 time=3.94 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.555 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.555/2.245/3.935/1.690 ms') 2026-08-17 05:32:35,433 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-20075347-22175449 passed 2026-08-17 05:32:35,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 05:32:35,588 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20075347-22175449, IP 21.253.154.132, Port 22 2026-08-17 05:32:35,762 - DEBUG - VM ctest-TestRoutersBasic-20075347-22175449 is ready for SSH connections 2026-08-17 05:32:35,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 05:32:35,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.253.154.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-17 05:32:35,762 - DEBUG - ping -s 56 -c 3 -W 1 21.253.154.132 2026-08-17 05:32:38,798 - DEBUG - PING 21.253.154.132 (21.253.154.132): 56 data bytes 64 bytes from 21.253.154.132: seq=0 ttl=62 time=6.184 ms 64 bytes from 21.253.154.132: seq=1 ttl=62 time=1.272 ms 64 bytes from 21.253.154.132: seq=2 ttl=62 time=1.480 ms --- 21.253.154.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.272/2.978/6.184 ms 2026-08-17 05:32:38,799 - INFO - Ping to IP 21.253.154.132 from VM ctest-TestRoutersBasic-20075347-44149291 passed 2026-08-17 05:32:38,799 - INFO - Deleting interface with subnet_id 22e32e43-0ac0-4534-8390-48081f99dace, port_id None from router 3e7ff46a-7be7-40ff-b7a7-832d1654e0ab 2026-08-17 05:32:39,021 - INFO - Deleting VM ctest-TestRoutersBasic-20075347-22175449 2026-08-17 05:32:39,102 - INFO - Deleting VM ctest-TestRoutersBasic-20075347-44149291 2026-08-17 05:32:39,186 - INFO - Deleting VN ctest-ext_vn-23997263 2026-08-17 05:32:39,252 - DEBUG - VN fa454b29-9176-4cf5-b947-139b59fb0f1e still in use: Unable to complete operation on network fa454b29-9176-4cf5-b947-139b59fb0f1e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-685574b3-43c6-41d4-98bb-edb36ff2acd0'] 2026-08-17 05:32:39,252 - WARNING - Deleting VN ctest-ext_vn-23997263 failed..Will retry 2026-08-17 05:32:41,311 - DEBUG - VN fa454b29-9176-4cf5-b947-139b59fb0f1e still in use: Unable to complete operation on network fa454b29-9176-4cf5-b947-139b59fb0f1e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5880d3fa-c0a3-486b-9e79-c26dfb94d3cb'] 2026-08-17 05:32:41,311 - WARNING - Deleting VN ctest-ext_vn-23997263 failed..Will retry 2026-08-17 05:32:43,450 - DEBUG - Response for deleting network () 2026-08-17 05:32:43,450 - INFO - Deleting VN ctest-vn-33202721 2026-08-17 05:32:43,580 - DEBUG - Response for deleting network () 2026-08-17 05:32:43,860 - DEBUG - No XMPP flaps were noticed during the test 2026-08-17 05:32:43,860 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:03] 2026-08-17 05:32:43,860 - INFO - -------------------------------------------------------------------------------- 2026-08-17 05:32:45,025 - INFO - Deleted project: ctest-TestRoutersBasic-20075347, ID : 49507935-d7d2-4143-ad2a-ce3c38373f8f