2026-02-20 12:27:37,361 - INFO - Domain Default found not creating 2026-02-20 12:27:37,526 - INFO - Project ctest-TestRoutersBasic-33570190 not found, creating it 2026-02-20 12:27:37,984 - INFO - Created Project:ctest-TestRoutersBasic-33570190, ID : 4b704b3c-07f7-4a0f-bb81-ef07d198f14e 2026-02-20 12:27:39,429 - INFO - ================================================================================ 2026-02-20 12:27:39,429 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-20 12:27:39,430 - 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-20 12:27:39,689 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2026-02-20 12:27:39,690 - INFO - Initial checks done. Running the testcase now 2026-02-20 12:27:39,690 - INFO - 2026-02-20 12:27:40,380 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33570190 2026-02-20 12:27:40,476 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33570190 2026-02-20 12:27:40,795 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33570190', 'default']} 2026-02-20 12:27:41,095 - DEBUG - Response for create_network : {'network': {'id': 'e977fabe-0e3e-4954-be2c-b146cef2af43', 'name': 'ctest-vn-15395154', 'tenant_id': '4b704b3c07f74a0fbb81ef07d198f14e', 'project_id': '4b704b3c07f74a0fbb81ef07d198f14e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33570190', 'ctest-vn-15395154'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 12:27:41,237 - DEBUG - Response for create_subnet : {'subnet': {'id': '6314c045-8934-46a6-a3ac-1141b541da75', 'name': '', 'tenant_id': '4b704b3c07f74a0fbb81ef07d198f14e', 'network_id': 'e977fabe-0e3e-4954-be2c-b146cef2af43', 'ip_version': 4, 'cidr': '102.253.153.0/26', 'allocation_pools': [{'start': '102.253.153.2', 'end': '102.253.153.62'}], 'gateway_ip': '102.253.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.253.153.2', 'tags': [], 'project_id': '4b704b3c07f74a0fbb81ef07d198f14e'}} 2026-02-20 12:27:41,257 - INFO - Created VN ctest-vn-15395154 2026-02-20 12:27:41,308 - DEBUG - VN ctest-vn-15395154 UUID is e977fabe-0e3e-4954-be2c-b146cef2af43 2026-02-20 12:27:41,607 - DEBUG - Response for create_network : {'network': {'id': '56a1f04d-3ee1-4c4d-ba70-94c74bc428e1', 'name': 'ctest-ext_vn-53708036', 'tenant_id': '4b704b3c07f74a0fbb81ef07d198f14e', 'project_id': '4b704b3c07f74a0fbb81ef07d198f14e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33570190', 'ctest-ext_vn-53708036'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 12:27:41,760 - DEBUG - Response for create_subnet : {'subnet': {'id': '127a6a83-f594-44bd-bdfc-baf97c0a0a2e', 'name': '', 'tenant_id': '4b704b3c07f74a0fbb81ef07d198f14e', 'network_id': '56a1f04d-3ee1-4c4d-ba70-94c74bc428e1', 'ip_version': 4, 'cidr': '82.88.58.128/26', 'allocation_pools': [{'start': '82.88.58.130', 'end': '82.88.58.190'}], 'gateway_ip': '82.88.58.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.88.58.130', 'tags': [], 'project_id': '4b704b3c07f74a0fbb81ef07d198f14e'}} 2026-02-20 12:27:41,779 - INFO - Created VN ctest-ext_vn-53708036 2026-02-20 12:27:41,832 - DEBUG - VN ctest-ext_vn-53708036 UUID is 56a1f04d-3ee1-4c4d-ba70-94c74bc428e1 2026-02-20 12:27:42,030 - DEBUG - Services list from nova: [, , ] 2026-02-20 12:27:43,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5373-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5373-1) 2026-02-20 12:27:44,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5373-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5373-1) 2026-02-20 12:27:44,312 - INFO - Setting gateway for router dee1bd82-f090-4ad0-bd7f-2b713b27fc50 to network 56a1f04d-3ee1-4c4d-ba70-94c74bc428e1 2026-02-20 12:27:44,366 - INFO - Adding interface with subnet_id 6314c045-8934-46a6-a3ac-1141b541da75, port_id None to router dee1bd82-f090-4ad0-bd7f-2b713b27fc50 2026-02-20 12:27:44,608 - INFO - Waiting for VM ctest-TestRoutersBasic-33570190-39464885 to be up.. 2026-02-20 12:27:44,712 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 12:27:49,781 - DEBUG - VM is in ACTIVE state now 2026-02-20 12:27:49,782 - INFO - VM name : ctest-TestRoutersBasic-33570190-39464885 2026-02-20 12:27:49,849 - DEBUG - VM ctest-TestRoutersBasic-33570190-39464885 ID is 1072541b-c57f-4449-a9b0-ccfe9d7a5496 2026-02-20 12:27:49,867 - DEBUG - VM ctest-TestRoutersBasic-33570190-39464885 launched on Node cn-jenkins-deploy-platform-ansible-os-5373-1 2026-02-20 12:27:49,937 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1072541b-c57f-4449-a9b0-ccfe9d7a5496 2026-02-20 12:27:50,228 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1072541b-c57f-4449-a9b0-ccfe9d7a5496 2026-02-20 12:27:50,258 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6e5f50d9-fd89-458b-82c1-c08fef872328 2026-02-20 12:27:53,510 - 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 1007ms') 2026-02-20 12:27:53,510 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33570190-39464885 failed! 2026-02-20 12:27:53,567 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33570190:ctest-vn-15395154 is 102.253.153.1 and allocation pool is NOT set 2026-02-20 12:27:55,628 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 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.882/3.218/4.555/1.336 ms') 2026-02-20 12:27:55,628 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33570190-39464885 passed 2026-02-20 12:27:55,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 12:27:55,776 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33570190-39464885, IP 102.253.153.3, Port 22 2026-02-20 12:27:55,931 - DEBUG - VM ctest-TestRoutersBasic-33570190-39464885 is ready for SSH connections 2026-02-20 12:27:55,931 - INFO - Waiting for VM ctest-TestRoutersBasic-33570190-07043786 to be up.. 2026-02-20 12:27:56,001 - DEBUG - VM is in ACTIVE state now 2026-02-20 12:27:56,001 - INFO - VM name : ctest-TestRoutersBasic-33570190-07043786 2026-02-20 12:27:56,069 - DEBUG - VM ctest-TestRoutersBasic-33570190-07043786 ID is 17074a4a-dc2b-40a2-8e69-16b0af69e587 2026-02-20 12:27:56,069 - DEBUG - VM ctest-TestRoutersBasic-33570190-07043786 launched on Node cn-jenkins-deploy-platform-ansible-os-5373-1 2026-02-20 12:27:56,138 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/17074a4a-dc2b-40a2-8e69-16b0af69e587 2026-02-20 12:27:56,145 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5f23ba77-da65-446b-ac61-a610dea8140d 2026-02-20 12:27:57,372 - 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=2.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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 = 0.419/1.582/2.745/1.163 ms') 2026-02-20 12:27:57,372 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33570190-07043786 passed 2026-02-20 12:27:57,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 12:27:57,520 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33570190-07043786, IP 82.88.58.131, Port 22 2026-02-20 12:27:57,675 - DEBUG - VM ctest-TestRoutersBasic-33570190-07043786 is ready for SSH connections 2026-02-20 12:27:57,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 12:27:57,676 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.88.58.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-20 12:27:57,676 - DEBUG - ping -s 56 -c 3 -W 1 82.88.58.131 2026-02-20 12:28:01,370 - DEBUG - PING 82.88.58.131 (82.88.58.131): 56 data bytes 64 bytes from 82.88.58.131: seq=0 ttl=62 time=5.408 ms 64 bytes from 82.88.58.131: seq=1 ttl=62 time=0.998 ms 64 bytes from 82.88.58.131: seq=2 ttl=62 time=0.860 ms --- 82.88.58.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/2.422/5.408 ms 2026-02-20 12:28:01,370 - INFO - Ping to IP 82.88.58.131 from VM ctest-TestRoutersBasic-33570190-39464885 passed 2026-02-20 12:28:01,370 - INFO - Deleting interface with subnet_id 6314c045-8934-46a6-a3ac-1141b541da75, port_id None from router dee1bd82-f090-4ad0-bd7f-2b713b27fc50 2026-02-20 12:28:01,538 - INFO - Deleting VM ctest-TestRoutersBasic-33570190-07043786 2026-02-20 12:28:01,600 - INFO - Deleting VM ctest-TestRoutersBasic-33570190-39464885 2026-02-20 12:28:01,672 - INFO - Deleting VN ctest-ext_vn-53708036 2026-02-20 12:28:01,728 - DEBUG - VN 56a1f04d-3ee1-4c4d-ba70-94c74bc428e1 still in use: Unable to complete operation on network 56a1f04d-3ee1-4c4d-ba70-94c74bc428e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1501882b-7e3e-4c57-b5f9-1ee0b9d959d9'] 2026-02-20 12:28:01,728 - WARNING - Deleting VN ctest-ext_vn-53708036 failed..Will retry 2026-02-20 12:28:03,824 - DEBUG - Response for deleting network () 2026-02-20 12:28:03,824 - INFO - Deleting VN ctest-vn-15395154 2026-02-20 12:28:03,921 - DEBUG - Response for deleting network () 2026-02-20 12:28:04,184 - DEBUG - No XMPP flaps were noticed during the test
2026-02-20 12:28:04,184 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-20 12:28:04,184 - INFO - -------------------------------------------------------------------------------- 2026-02-20 12:28:04,841 - INFO - Deleted project: ctest-TestRoutersBasic-33570190, ID : 4b704b3c-07f7-4a0f-bb81-ef07d198f14e