2026-02-23 02:16:56,844 - INFO - Domain Default found not creating 2026-02-23 02:16:57,006 - INFO - Project ctest-TestRoutersBasic-05434745 not found, creating it 2026-02-23 02:16:57,451 - INFO - Created Project:ctest-TestRoutersBasic-05434745, ID : 7ff8d5ea-9b3c-4768-bba7-196543e67d5c 2026-02-23 02:16:59,020 - INFO - ================================================================================ 2026-02-23 02:16:59,020 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-23 02:16:59,020 - 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-23 02:16:59,275 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.200': '0'}} with 2026-02-23 02:16:59,275 - INFO - Initial checks done. Running the testcase now 2026-02-23 02:16:59,275 - INFO - 2026-02-23 02:17:00,005 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05434745 2026-02-23 02:17:00,099 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05434745 2026-02-23 02:17:00,414 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05434745', 'default']} 2026-02-23 02:17:00,706 - DEBUG - Response for create_network : {'network': {'id': '311d7cac-880f-4187-b15b-f4e9c6a87307', 'name': 'ctest-vn-92436854', 'tenant_id': '7ff8d5ea9b3c4768bba7196543e67d5c', 'project_id': '7ff8d5ea9b3c4768bba7196543e67d5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05434745', 'ctest-vn-92436854'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 02:17:00,864 - DEBUG - Response for create_subnet : {'subnet': {'id': '138d6b91-6c32-4c84-8c00-35961d31203e', 'name': '', 'tenant_id': '7ff8d5ea9b3c4768bba7196543e67d5c', 'network_id': '311d7cac-880f-4187-b15b-f4e9c6a87307', 'ip_version': 4, 'cidr': '162.190.255.192/26', 'allocation_pools': [{'start': '162.190.255.194', 'end': '162.190.255.254'}], 'gateway_ip': '162.190.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.190.255.194', 'tags': [], 'project_id': '7ff8d5ea9b3c4768bba7196543e67d5c'}} 2026-02-23 02:17:00,882 - INFO - Created VN ctest-vn-92436854 2026-02-23 02:17:00,934 - DEBUG - VN ctest-vn-92436854 UUID is 311d7cac-880f-4187-b15b-f4e9c6a87307 2026-02-23 02:17:01,262 - DEBUG - Response for create_network : {'network': {'id': '0a724c22-8217-47db-96cd-c3658b1d1033', 'name': 'ctest-ext_vn-98239289', 'tenant_id': '7ff8d5ea9b3c4768bba7196543e67d5c', 'project_id': '7ff8d5ea9b3c4768bba7196543e67d5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05434745', 'ctest-ext_vn-98239289'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 02:17:01,434 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b8d531a-7e28-4aea-861f-87fab192ce4c', 'name': '', 'tenant_id': '7ff8d5ea9b3c4768bba7196543e67d5c', 'network_id': '0a724c22-8217-47db-96cd-c3658b1d1033', 'ip_version': 4, 'cidr': '150.74.153.128/26', 'allocation_pools': [{'start': '150.74.153.130', 'end': '150.74.153.190'}], 'gateway_ip': '150.74.153.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.74.153.130', 'tags': [], 'project_id': '7ff8d5ea9b3c4768bba7196543e67d5c'}} 2026-02-23 02:17:01,449 - INFO - Created VN ctest-ext_vn-98239289 2026-02-23 02:17:01,498 - DEBUG - VN ctest-ext_vn-98239289 UUID is 0a724c22-8217-47db-96cd-c3658b1d1033 2026-02-23 02:17:01,662 - DEBUG - Services list from nova: [, , ] 2026-02-23 02:17:02,840 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5386-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5386-1) 2026-02-23 02:17:04,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5386-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5386-1) 2026-02-23 02:17:04,099 - INFO - Setting gateway for router c30b1662-3e7d-4797-86c3-70bead759d24 to network 0a724c22-8217-47db-96cd-c3658b1d1033 2026-02-23 02:17:04,172 - INFO - Adding interface with subnet_id 138d6b91-6c32-4c84-8c00-35961d31203e, port_id None to router c30b1662-3e7d-4797-86c3-70bead759d24 2026-02-23 02:17:04,509 - INFO - Waiting for VM ctest-TestRoutersBasic-05434745-68470408 to be up.. 2026-02-23 02:17:04,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 02:17:09,744 - DEBUG - VM is in ACTIVE state now 2026-02-23 02:17:09,744 - INFO - VM name : ctest-TestRoutersBasic-05434745-68470408 2026-02-23 02:17:09,815 - DEBUG - VM ctest-TestRoutersBasic-05434745-68470408 ID is 9c44e5cf-b753-4c02-b2fc-f8b44ab8de34 2026-02-23 02:17:09,834 - DEBUG - VM ctest-TestRoutersBasic-05434745-68470408 launched on Node cn-jenkins-deploy-platform-ansible-os-5386-1 2026-02-23 02:17:09,909 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9c44e5cf-b753-4c02-b2fc-f8b44ab8de34 2026-02-23 02:17:10,205 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9c44e5cf-b753-4c02-b2fc-f8b44ab8de34 2026-02-23 02:17:10,237 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f1010df0-2b72-4fc0-8fed-14672d0907b1 2026-02-23 02:17:13,489 - 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 1019ms') 2026-02-23 02:17:13,489 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05434745-68470408 failed! 2026-02-23 02:17:13,542 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05434745:ctest-vn-92436854 is 162.190.255.193 and allocation pool is NOT set 2026-02-23 02:17:15,600 - 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=5.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.87 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.872/3.596/5.320/1.724 ms') 2026-02-23 02:17:15,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05434745-68470408 passed 2026-02-23 02:17:15,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:17:15,746 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05434745-68470408, IP 162.190.255.195, Port 22 2026-02-23 02:17:15,910 - DEBUG - VM ctest-TestRoutersBasic-05434745-68470408 is ready for SSH connections 2026-02-23 02:17:15,910 - INFO - Waiting for VM ctest-TestRoutersBasic-05434745-66179094 to be up.. 2026-02-23 02:17:15,976 - DEBUG - VM is in ACTIVE state now 2026-02-23 02:17:15,976 - INFO - VM name : ctest-TestRoutersBasic-05434745-66179094 2026-02-23 02:17:16,043 - DEBUG - VM ctest-TestRoutersBasic-05434745-66179094 ID is e3975a24-2214-4a58-9c49-dd4e15706079 2026-02-23 02:17:16,043 - DEBUG - VM ctest-TestRoutersBasic-05434745-66179094 launched on Node cn-jenkins-deploy-platform-ansible-os-5386-1 2026-02-23 02:17:16,111 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/e3975a24-2214-4a58-9c49-dd4e15706079 2026-02-23 02:17:16,119 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/2e0d69a5-7b99-4ddd-9f8a-3ca7e5ec737c 2026-02-23 02:17:17,349 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.01 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.012/2.977/3.943/0.965 ms') 2026-02-23 02:17:17,349 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05434745-66179094 passed 2026-02-23 02:17:17,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:17:17,499 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05434745-66179094, IP 150.74.153.131, Port 22 2026-02-23 02:17:17,650 - DEBUG - VM ctest-TestRoutersBasic-05434745-66179094 is ready for SSH connections 2026-02-23 02:17:17,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:17:17,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.74.153.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-02-23 02:17:17,650 - DEBUG - ping -s 56 -c 3 -W 1 150.74.153.131 2026-02-23 02:17:21,333 - DEBUG - PING 150.74.153.131 (150.74.153.131): 56 data bytes 64 bytes from 150.74.153.131: seq=0 ttl=62 time=5.416 ms 64 bytes from 150.74.153.131: seq=1 ttl=62 time=0.847 ms 64 bytes from 150.74.153.131: seq=2 ttl=62 time=1.082 ms --- 150.74.153.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/2.448/5.416 ms 2026-02-23 02:17:21,333 - INFO - Ping to IP 150.74.153.131 from VM ctest-TestRoutersBasic-05434745-68470408 passed 2026-02-23 02:17:21,333 - INFO - Deleting interface with subnet_id 138d6b91-6c32-4c84-8c00-35961d31203e, port_id None from router c30b1662-3e7d-4797-86c3-70bead759d24 2026-02-23 02:17:21,486 - INFO - Deleting VM ctest-TestRoutersBasic-05434745-66179094 2026-02-23 02:17:21,547 - INFO - Deleting VM ctest-TestRoutersBasic-05434745-68470408 2026-02-23 02:17:21,624 - INFO - Deleting VN ctest-ext_vn-98239289 2026-02-23 02:17:21,677 - DEBUG - VN 0a724c22-8217-47db-96cd-c3658b1d1033 still in use: Unable to complete operation on network 0a724c22-8217-47db-96cd-c3658b1d1033. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1ef7f5cd-261d-4423-a6d7-12f624acbd06'] 2026-02-23 02:17:21,678 - WARNING - Deleting VN ctest-ext_vn-98239289 failed..Will retry 2026-02-23 02:17:23,770 - DEBUG - Response for deleting network () 2026-02-23 02:17:23,770 - INFO - Deleting VN ctest-vn-92436854 2026-02-23 02:17:23,871 - DEBUG - Response for deleting network () 2026-02-23 02:17:24,123 - DEBUG - No XMPP flaps were noticed during the test
2026-02-23 02:17:24,123 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-23 02:17:24,123 - INFO - -------------------------------------------------------------------------------- 2026-02-23 02:17:24,803 - INFO - Deleted project: ctest-TestRoutersBasic-05434745, ID : 7ff8d5ea-9b3c-4768-bba7-196543e67d5c