2026-02-10 14:52:31,853 - INFO - Domain Default found not creating 2026-02-10 14:52:32,024 - INFO - Project ctest-TestRoutersBasic-77033145 not found, creating it 2026-02-10 14:52:32,462 - INFO - Created Project:ctest-TestRoutersBasic-77033145, ID : d84fd86a-a904-477c-b7a4-312efd6a6feb 2026-02-10 14:52:34,273 - INFO - ================================================================================ 2026-02-10 14:52:34,273 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-10 14:52:34,274 - 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-10 14:52:34,533 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2026-02-10 14:52:34,533 - INFO - Initial checks done. Running the testcase now 2026-02-10 14:52:34,533 - INFO - 2026-02-10 14:52:35,260 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77033145 2026-02-10 14:52:35,354 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77033145 2026-02-10 14:52:35,678 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77033145', 'default']} 2026-02-10 14:52:35,960 - DEBUG - Response for create_network : {'network': {'id': 'c5fe04ca-e05d-4d67-a699-299c28d37063', 'name': 'ctest-vn-06274390', 'tenant_id': 'd84fd86aa904477cb7a4312efd6a6feb', 'project_id': 'd84fd86aa904477cb7a4312efd6a6feb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77033145', 'ctest-vn-06274390'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 14:52:36,165 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a40558be-76c6-44f5-90c8-deea68944d71', 'name': '', 'tenant_id': 'd84fd86aa904477cb7a4312efd6a6feb', 'network_id': 'c5fe04ca-e05d-4d67-a699-299c28d37063', 'ip_version': 4, 'cidr': '101.162.183.0/26', 'allocation_pools': [{'start': '101.162.183.2', 'end': '101.162.183.62'}], 'gateway_ip': '101.162.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.162.183.2', 'tags': [], 'project_id': 'd84fd86aa904477cb7a4312efd6a6feb'}} 2026-02-10 14:52:36,181 - INFO - Created VN ctest-vn-06274390 2026-02-10 14:52:36,230 - DEBUG - VN ctest-vn-06274390 UUID is c5fe04ca-e05d-4d67-a699-299c28d37063 2026-02-10 14:52:36,532 - DEBUG - Response for create_network : {'network': {'id': '2d9ef0a6-d14f-4b2b-8ab7-4a643e8c3fee', 'name': 'ctest-ext_vn-48267330', 'tenant_id': 'd84fd86aa904477cb7a4312efd6a6feb', 'project_id': 'd84fd86aa904477cb7a4312efd6a6feb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77033145', 'ctest-ext_vn-48267330'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 14:52:36,736 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c9785e9-0cff-47ff-a941-b515740610a2', 'name': '', 'tenant_id': 'd84fd86aa904477cb7a4312efd6a6feb', 'network_id': '2d9ef0a6-d14f-4b2b-8ab7-4a643e8c3fee', 'ip_version': 4, 'cidr': '58.241.200.64/26', 'allocation_pools': [{'start': '58.241.200.66', 'end': '58.241.200.126'}], 'gateway_ip': '58.241.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.241.200.66', 'tags': [], 'project_id': 'd84fd86aa904477cb7a4312efd6a6feb'}} 2026-02-10 14:52:36,757 - INFO - Created VN ctest-ext_vn-48267330 2026-02-10 14:52:36,810 - DEBUG - VN ctest-ext_vn-48267330 UUID is 2d9ef0a6-d14f-4b2b-8ab7-4a643e8c3fee 2026-02-10 14:52:36,974 - DEBUG - Services list from nova: [, , ] 2026-02-10 14:52:37,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5269-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5269-1) 2026-02-10 14:52:39,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5269-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5269-1) 2026-02-10 14:52:39,185 - INFO - Setting gateway for router b2189d97-9edb-48f2-a97e-a89c5f408fee to network 2d9ef0a6-d14f-4b2b-8ab7-4a643e8c3fee 2026-02-10 14:52:39,249 - INFO - Adding interface with subnet_id a40558be-76c6-44f5-90c8-deea68944d71, port_id None to router b2189d97-9edb-48f2-a97e-a89c5f408fee 2026-02-10 14:52:39,597 - INFO - Waiting for VM ctest-TestRoutersBasic-77033145-42941089 to be up.. 2026-02-10 14:52:39,782 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 14:52:44,868 - DEBUG - VM is in ACTIVE state now 2026-02-10 14:52:44,868 - INFO - VM name : ctest-TestRoutersBasic-77033145-42941089 2026-02-10 14:52:44,944 - DEBUG - VM ctest-TestRoutersBasic-77033145-42941089 ID is e597e662-4c5d-43d7-8844-d607b41eee61 2026-02-10 14:52:44,964 - DEBUG - VM ctest-TestRoutersBasic-77033145-42941089 launched on Node cn-jenkins-deploy-platform-ansible-os-5269-1 2026-02-10 14:52:45,047 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e597e662-4c5d-43d7-8844-d607b41eee61 2026-02-10 14:52:45,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e597e662-4c5d-43d7-8844-d607b41eee61 2026-02-10 14:52:45,394 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dc3cd53d-8ce2-49d4-b8c6-df6c06eb754c 2026-02-10 14:52:48,653 - 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 1027ms') 2026-02-10 14:52:48,653 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77033145-42941089 failed! 2026-02-10 14:52:48,710 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77033145:ctest-vn-06274390 is 101.162.183.1 and allocation pool is NOT set 2026-02-10 14:52:50,776 - 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=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.448 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.448/1.718/2.988/1.270 ms') 2026-02-10 14:52:50,776 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77033145-42941089 passed 2026-02-10 14:52:50,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 14:52:50,930 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77033145-42941089, IP 101.162.183.3, Port 22 2026-02-10 14:52:51,090 - DEBUG - VM ctest-TestRoutersBasic-77033145-42941089 is ready for SSH connections 2026-02-10 14:52:51,090 - INFO - Waiting for VM ctest-TestRoutersBasic-77033145-67018843 to be up.. 2026-02-10 14:52:51,169 - DEBUG - VM is in ACTIVE state now 2026-02-10 14:52:51,169 - INFO - VM name : ctest-TestRoutersBasic-77033145-67018843 2026-02-10 14:52:51,240 - DEBUG - VM ctest-TestRoutersBasic-77033145-67018843 ID is 69ceeaab-3e45-4a5d-bf85-ddaff631e207 2026-02-10 14:52:51,240 - DEBUG - VM ctest-TestRoutersBasic-77033145-67018843 launched on Node cn-jenkins-deploy-platform-ansible-os-5269-1 2026-02-10 14:52:51,313 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/69ceeaab-3e45-4a5d-bf85-ddaff631e207 2026-02-10 14:52:51,320 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e1711482-772a-44f4-9ade-448aafea07af 2026-02-10 14:52:52,558 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.499 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.499/1.596/2.694/1.097 ms') 2026-02-10 14:52:52,558 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77033145-67018843 passed 2026-02-10 14:52:52,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 14:52:52,706 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77033145-67018843, IP 58.241.200.67, Port 22 2026-02-10 14:52:52,862 - DEBUG - VM ctest-TestRoutersBasic-77033145-67018843 is ready for SSH connections 2026-02-10 14:52:52,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 14:52:52,862 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.241.200.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-10 14:52:52,862 - DEBUG - ping -s 56 -c 3 -W 1 58.241.200.67 2026-02-10 14:52:56,582 - DEBUG - PING 58.241.200.67 (58.241.200.67): 56 data bytes 64 bytes from 58.241.200.67: seq=0 ttl=62 time=7.312 ms 64 bytes from 58.241.200.67: seq=1 ttl=62 time=0.858 ms 64 bytes from 58.241.200.67: seq=2 ttl=62 time=0.850 ms --- 58.241.200.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.850/3.006/7.312 ms 2026-02-10 14:52:56,582 - INFO - Ping to IP 58.241.200.67 from VM ctest-TestRoutersBasic-77033145-42941089 passed 2026-02-10 14:52:56,582 - INFO - Deleting interface with subnet_id a40558be-76c6-44f5-90c8-deea68944d71, port_id None from router b2189d97-9edb-48f2-a97e-a89c5f408fee 2026-02-10 14:52:56,782 - INFO - Deleting VM ctest-TestRoutersBasic-77033145-67018843 2026-02-10 14:52:56,855 - INFO - Deleting VM ctest-TestRoutersBasic-77033145-42941089 2026-02-10 14:52:56,928 - INFO - Deleting VN ctest-ext_vn-48267330 2026-02-10 14:52:56,993 - DEBUG - VN 2d9ef0a6-d14f-4b2b-8ab7-4a643e8c3fee still in use: Unable to complete operation on network 2d9ef0a6-d14f-4b2b-8ab7-4a643e8c3fee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-88bbb108-171a-4a74-870b-45238b90a125'] 2026-02-10 14:52:56,994 - WARNING - Deleting VN ctest-ext_vn-48267330 failed..Will retry 2026-02-10 14:52:59,100 - DEBUG - Response for deleting network () 2026-02-10 14:52:59,100 - INFO - Deleting VN ctest-vn-06274390 2026-02-10 14:52:59,197 - DEBUG - Response for deleting network () 2026-02-10 14:52:59,451 - DEBUG - No XMPP flaps were noticed during the test 2026-02-10 14:52:59,451 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-02-10 14:52:59,451 - INFO - -------------------------------------------------------------------------------- 2026-02-10 14:53:00,117 - INFO - Deleted project: ctest-TestRoutersBasic-77033145, ID : d84fd86a-a904-477c-b7a4-312efd6a6feb