2026-02-24 20:49:01,713 - INFO - Domain Default found not creating 2026-02-24 20:49:02,109 - INFO - Project ctest-TestRoutersBasic-88998098 not found, creating it 2026-02-24 20:49:02,818 - INFO - Created Project:ctest-TestRoutersBasic-88998098, ID : 0b0c5878-34f5-48f4-8112-80a59a79e08c 2026-02-24 20:49:04,913 - INFO - ================================================================================ 2026-02-24 20:49:04,913 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-24 20:49:04,914 - 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-02-24 20:49:05,226 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-02-24 20:49:05,226 - INFO - Initial checks done. Running the testcase now 2026-02-24 20:49:05,226 - INFO - 2026-02-24 20:49:06,098 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88998098 2026-02-24 20:49:06,208 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88998098 2026-02-24 20:49:06,590 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88998098', 'default']} 2026-02-24 20:49:07,025 - DEBUG - Response for create_network : {'network': {'id': '84ab4cdb-eb32-4b4c-ba2a-cbad9fae02ae', 'name': 'ctest-vn-21091026', 'tenant_id': '0b0c587834f548f4811280a59a79e08c', 'project_id': '0b0c587834f548f4811280a59a79e08c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88998098', 'ctest-vn-21091026'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 20:49:07,209 - DEBUG - Response for create_subnet : {'subnet': {'id': '45e63a6a-3434-40bb-ae44-95af3d969548', 'name': '', 'tenant_id': '0b0c587834f548f4811280a59a79e08c', 'network_id': '84ab4cdb-eb32-4b4c-ba2a-cbad9fae02ae', 'ip_version': 4, 'cidr': '135.38.254.64/26', 'allocation_pools': [{'start': '135.38.254.66', 'end': '135.38.254.126'}], 'gateway_ip': '135.38.254.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.38.254.66', 'tags': [], 'project_id': '0b0c587834f548f4811280a59a79e08c'}} 2026-02-24 20:49:07,229 - INFO - Created VN ctest-vn-21091026 2026-02-24 20:49:07,283 - DEBUG - VN ctest-vn-21091026 UUID is 84ab4cdb-eb32-4b4c-ba2a-cbad9fae02ae 2026-02-24 20:49:07,821 - DEBUG - Response for create_network : {'network': {'id': '8a026f42-4346-44c8-86d4-5ce317714971', 'name': 'ctest-ext_vn-36943344', 'tenant_id': '0b0c587834f548f4811280a59a79e08c', 'project_id': '0b0c587834f548f4811280a59a79e08c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88998098', 'ctest-ext_vn-36943344'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 20:49:08,123 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e02ec46-28dc-4df8-97e9-55de0494d930', 'name': '', 'tenant_id': '0b0c587834f548f4811280a59a79e08c', 'network_id': '8a026f42-4346-44c8-86d4-5ce317714971', 'ip_version': 4, 'cidr': '36.176.14.192/26', 'allocation_pools': [{'start': '36.176.14.194', 'end': '36.176.14.254'}], 'gateway_ip': '36.176.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.176.14.194', 'tags': [], 'project_id': '0b0c587834f548f4811280a59a79e08c'}} 2026-02-24 20:49:08,150 - INFO - Created VN ctest-ext_vn-36943344 2026-02-24 20:49:08,215 - DEBUG - VN ctest-ext_vn-36943344 UUID is 8a026f42-4346-44c8-86d4-5ce317714971 2026-02-24 20:49:08,509 - DEBUG - Services list from nova: [, , ] 2026-02-24 20:49:10,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5395-1) 2026-02-24 20:49:11,650 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5395-1) 2026-02-24 20:49:11,713 - INFO - Setting gateway for router dfcda5ec-06a2-4bc2-9b8c-d247ef31f867 to network 8a026f42-4346-44c8-86d4-5ce317714971 2026-02-24 20:49:11,779 - INFO - Adding interface with subnet_id 45e63a6a-3434-40bb-ae44-95af3d969548, port_id None to router dfcda5ec-06a2-4bc2-9b8c-d247ef31f867 2026-02-24 20:49:12,132 - INFO - Waiting for VM ctest-TestRoutersBasic-88998098-83643907 to be up.. 2026-02-24 20:49:12,311 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-24 20:49:17,513 - DEBUG - VM is in ACTIVE state now 2026-02-24 20:49:17,513 - INFO - VM name : ctest-TestRoutersBasic-88998098-83643907 2026-02-24 20:49:17,689 - DEBUG - VM ctest-TestRoutersBasic-88998098-83643907 ID is 969d8e73-7f9b-4ea4-9446-b3487aa478ee 2026-02-24 20:49:17,746 - DEBUG - VM ctest-TestRoutersBasic-88998098-83643907 launched on Node cn-jenkins-deploy-platform-ansible-os-5395-1 2026-02-24 20:49:17,945 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/969d8e73-7f9b-4ea4-9446-b3487aa478ee 2026-02-24 20:49:18,317 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/969d8e73-7f9b-4ea4-9446-b3487aa478ee 2026-02-24 20:49:18,399 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d802f10a-71e2-42b9-ac4b-31049fa53451 2026-02-24 20:49:21,724 - 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 1013ms') 2026-02-24 20:49:21,725 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88998098-83643907 failed! 2026-02-24 20:49:21,815 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88998098:ctest-vn-21091026 is 135.38.254.65 and allocation pool is NOT set 2026-02-24 20:49:23,894 - 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=10.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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 = 1.413/6.016/10.619/4.603 ms') 2026-02-24 20:49:23,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88998098-83643907 passed 2026-02-24 20:49:24,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 20:49:24,072 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88998098-83643907, IP 135.38.254.67, Port 22 2026-02-24 20:49:24,278 - DEBUG - VM ctest-TestRoutersBasic-88998098-83643907 is ready for SSH connections 2026-02-24 20:49:24,278 - INFO - Waiting for VM ctest-TestRoutersBasic-88998098-47115313 to be up.. 2026-02-24 20:49:24,455 - DEBUG - VM is in ACTIVE state now 2026-02-24 20:49:24,455 - INFO - VM name : ctest-TestRoutersBasic-88998098-47115313 2026-02-24 20:49:24,574 - DEBUG - VM ctest-TestRoutersBasic-88998098-47115313 ID is 21a51d23-c0eb-4a5f-9a32-1f262830eda0 2026-02-24 20:49:24,575 - DEBUG - VM ctest-TestRoutersBasic-88998098-47115313 launched on Node cn-jenkins-deploy-platform-ansible-os-5395-1 2026-02-24 20:49:24,678 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/21a51d23-c0eb-4a5f-9a32-1f262830eda0 2026-02-24 20:49:24,692 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/15cbb210-0af3-4770-b59f-4368fa7e5f3e 2026-02-24 20:49:25,955 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.102/2.823/4.544/1.721 ms') 2026-02-24 20:49:25,956 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88998098-47115313 passed 2026-02-24 20:49:26,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 20:49:26,119 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88998098-47115313, IP 36.176.14.195, Port 22 2026-02-24 20:49:26,326 - DEBUG - VM ctest-TestRoutersBasic-88998098-47115313 is ready for SSH connections 2026-02-24 20:49:26,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 20:49:26,326 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.176.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-24 20:49:26,326 - DEBUG - ping -s 56 -c 3 -W 1 36.176.14.195 2026-02-24 20:49:30,544 - DEBUG - PING 36.176.14.195 (36.176.14.195): 56 data bytes 64 bytes from 36.176.14.195: seq=0 ttl=62 time=9.188 ms 64 bytes from 36.176.14.195: seq=1 ttl=62 time=2.073 ms 64 bytes from 36.176.14.195: seq=2 ttl=62 time=1.976 ms --- 36.176.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.976/4.412/9.188 ms 2026-02-24 20:49:30,544 - INFO - Ping to IP 36.176.14.195 from VM ctest-TestRoutersBasic-88998098-83643907 passed 2026-02-24 20:49:30,544 - INFO - Deleting interface with subnet_id 45e63a6a-3434-40bb-ae44-95af3d969548, port_id None from router dfcda5ec-06a2-4bc2-9b8c-d247ef31f867 2026-02-24 20:49:30,854 - INFO - Deleting VM ctest-TestRoutersBasic-88998098-47115313 2026-02-24 20:49:30,953 - INFO - Deleting VM ctest-TestRoutersBasic-88998098-83643907 2026-02-24 20:49:31,060 - INFO - Deleting VN ctest-ext_vn-36943344 2026-02-24 20:49:31,157 - DEBUG - VN 8a026f42-4346-44c8-86d4-5ce317714971 still in use: Unable to complete operation on network 8a026f42-4346-44c8-86d4-5ce317714971. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-afe06534-c306-4ab4-a54a-2ec8c6511d35'] 2026-02-24 20:49:31,157 - WARNING - Deleting VN ctest-ext_vn-36943344 failed..Will retry 2026-02-24 20:49:33,404 - DEBUG - Response for deleting network () 2026-02-24 20:49:33,405 - INFO - Deleting VN ctest-vn-21091026 2026-02-24 20:49:33,554 - DEBUG - Response for deleting network () 2026-02-24 20:49:33,886 - DEBUG - No XMPP flaps were noticed during the test 2026-02-24 20:49:33,886 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2026-02-24 20:49:33,886 - INFO - -------------------------------------------------------------------------------- 2026-02-24 20:49:34,859 - INFO - Deleted project: ctest-TestRoutersBasic-88998098, ID : 0b0c5878-34f5-48f4-8112-80a59a79e08c