2026-02-22 10:56:47,654 - INFO - Domain Default found not creating 2026-02-22 10:56:47,857 - INFO - Project ctest-TestRoutersBasic-60552183 not found, creating it 2026-02-22 10:56:48,326 - INFO - Created Project:ctest-TestRoutersBasic-60552183, ID : db0f3ef0-c6e7-47c6-acaa-1f4ae2a80dbc 2026-02-22 10:56:49,822 - INFO - ================================================================================ 2026-02-22 10:56:49,822 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-22 10:56:49,822 - 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-22 10:56:50,077 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-22 10:56:50,077 - INFO - Initial checks done. Running the testcase now 2026-02-22 10:56:50,077 - INFO - 2026-02-22 10:56:50,782 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60552183 2026-02-22 10:56:50,878 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60552183 2026-02-22 10:56:51,206 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60552183', 'default']} 2026-02-22 10:56:51,518 - DEBUG - Response for create_network : {'network': {'id': '700db7af-a9e5-4cd9-a671-94c0510ef950', 'name': 'ctest-vn-53705364', 'tenant_id': 'db0f3ef0c6e747c6acaa1f4ae2a80dbc', 'project_id': 'db0f3ef0c6e747c6acaa1f4ae2a80dbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60552183', 'ctest-vn-53705364'], 'port_security_enabled': True, 'description': ''}} 2026-02-22 10:56:51,736 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea79f0bf-2dad-4963-bd03-a5f214e6b04a', 'name': '', 'tenant_id': 'db0f3ef0c6e747c6acaa1f4ae2a80dbc', 'network_id': '700db7af-a9e5-4cd9-a671-94c0510ef950', 'ip_version': 4, 'cidr': '111.43.104.0/26', 'allocation_pools': [{'start': '111.43.104.2', 'end': '111.43.104.62'}], 'gateway_ip': '111.43.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.43.104.2', 'tags': [], 'project_id': 'db0f3ef0c6e747c6acaa1f4ae2a80dbc'}} 2026-02-22 10:56:51,755 - INFO - Created VN ctest-vn-53705364 2026-02-22 10:56:51,806 - DEBUG - VN ctest-vn-53705364 UUID is 700db7af-a9e5-4cd9-a671-94c0510ef950 2026-02-22 10:56:52,121 - DEBUG - Response for create_network : {'network': {'id': 'e0040f62-5d6b-49fa-8a4f-d896d81b2e82', 'name': 'ctest-ext_vn-31910855', 'tenant_id': 'db0f3ef0c6e747c6acaa1f4ae2a80dbc', 'project_id': 'db0f3ef0c6e747c6acaa1f4ae2a80dbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60552183', 'ctest-ext_vn-31910855'], 'port_security_enabled': True, 'description': ''}} 2026-02-22 10:56:52,302 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c64af697-293e-4a1a-b8e9-4bd5218a79fd', 'name': '', 'tenant_id': 'db0f3ef0c6e747c6acaa1f4ae2a80dbc', 'network_id': 'e0040f62-5d6b-49fa-8a4f-d896d81b2e82', 'ip_version': 4, 'cidr': '142.105.199.192/26', 'allocation_pools': [{'start': '142.105.199.194', 'end': '142.105.199.254'}], 'gateway_ip': '142.105.199.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.105.199.194', 'tags': [], 'project_id': 'db0f3ef0c6e747c6acaa1f4ae2a80dbc'}} 2026-02-22 10:56:52,321 - INFO - Created VN ctest-ext_vn-31910855 2026-02-22 10:56:52,374 - DEBUG - VN ctest-ext_vn-31910855 UUID is e0040f62-5d6b-49fa-8a4f-d896d81b2e82 2026-02-22 10:56:52,546 - DEBUG - Services list from nova: [, , ] 2026-02-22 10:56:53,586 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5381-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5381-1) 2026-02-22 10:56:54,743 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5381-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5381-1) 2026-02-22 10:56:54,825 - INFO - Setting gateway for router 250b1100-2e62-45b0-b905-f4814d6617d0 to network e0040f62-5d6b-49fa-8a4f-d896d81b2e82 2026-02-22 10:56:54,883 - INFO - Adding interface with subnet_id ea79f0bf-2dad-4963-bd03-a5f214e6b04a, port_id None to router 250b1100-2e62-45b0-b905-f4814d6617d0 2026-02-22 10:56:55,238 - INFO - Waiting for VM ctest-TestRoutersBasic-60552183-76129156 to be up.. 2026-02-22 10:56:55,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-22 10:57:00,511 - DEBUG - VM is in ACTIVE state now 2026-02-22 10:57:00,512 - INFO - VM name : ctest-TestRoutersBasic-60552183-76129156 2026-02-22 10:57:00,599 - DEBUG - VM ctest-TestRoutersBasic-60552183-76129156 ID is 6a1c59e3-413e-4f98-9d04-4b25d63953ce 2026-02-22 10:57:00,620 - DEBUG - VM ctest-TestRoutersBasic-60552183-76129156 launched on Node cn-jenkins-deploy-platform-ansible-os-5381-1 2026-02-22 10:57:00,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6a1c59e3-413e-4f98-9d04-4b25d63953ce 2026-02-22 10:57:01,003 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6a1c59e3-413e-4f98-9d04-4b25d63953ce 2026-02-22 10:57:01,043 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/99a3f7b7-a645-4624-900c-71a3e0f38830 2026-02-22 10:57:04,293 - 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 1015ms') 2026-02-22 10:57:04,293 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60552183-76129156 failed! 2026-02-22 10:57:04,350 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60552183:ctest-vn-53705364 is 111.43.104.1 and allocation pool is NOT set 2026-02-22 10:57:06,411 - 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=3.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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.250/2.518/3.787/1.268 ms') 2026-02-22 10:57:06,412 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60552183-76129156 passed 2026-02-22 10:57:06,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 10:57:06,558 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60552183-76129156, IP 111.43.104.3, Port 22 2026-02-22 10:57:06,714 - DEBUG - VM ctest-TestRoutersBasic-60552183-76129156 is ready for SSH connections 2026-02-22 10:57:06,714 - INFO - Waiting for VM ctest-TestRoutersBasic-60552183-23918608 to be up.. 2026-02-22 10:57:06,798 - DEBUG - VM is in ACTIVE state now 2026-02-22 10:57:06,798 - INFO - VM name : ctest-TestRoutersBasic-60552183-23918608 2026-02-22 10:57:06,882 - DEBUG - VM ctest-TestRoutersBasic-60552183-23918608 ID is 7ee4631c-655c-4d73-86f6-edf55d1e04d9 2026-02-22 10:57:06,883 - DEBUG - VM ctest-TestRoutersBasic-60552183-23918608 launched on Node cn-jenkins-deploy-platform-ansible-os-5381-1 2026-02-22 10:57:06,970 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7ee4631c-655c-4d73-86f6-edf55d1e04d9 2026-02-22 10:57:06,978 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a51c28f2-2472-4c04-8877-58544d8e219d 2026-02-22 10:57:08,215 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.283 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.283/1.724/3.165/1.441 ms') 2026-02-22 10:57:08,215 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60552183-23918608 passed 2026-02-22 10:57:08,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 10:57:08,371 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60552183-23918608, IP 142.105.199.195, Port 22 2026-02-22 10:57:08,526 - DEBUG - VM ctest-TestRoutersBasic-60552183-23918608 is ready for SSH connections 2026-02-22 10:57:08,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 10:57:08,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.105.199.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-22 10:57:08,527 - DEBUG - ping -s 56 -c 3 -W 1 142.105.199.195 2026-02-22 10:57:12,226 - DEBUG - PING 142.105.199.195 (142.105.199.195): 56 data bytes 64 bytes from 142.105.199.195: seq=0 ttl=62 time=4.672 ms 64 bytes from 142.105.199.195: seq=1 ttl=62 time=0.902 ms 64 bytes from 142.105.199.195: seq=2 ttl=62 time=0.988 ms --- 142.105.199.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/2.187/4.672 ms 2026-02-22 10:57:12,226 - INFO - Ping to IP 142.105.199.195 from VM ctest-TestRoutersBasic-60552183-76129156 passed 2026-02-22 10:57:12,226 - INFO - Deleting interface with subnet_id ea79f0bf-2dad-4963-bd03-a5f214e6b04a, port_id None from router 250b1100-2e62-45b0-b905-f4814d6617d0 2026-02-22 10:57:12,409 - INFO - Deleting VM ctest-TestRoutersBasic-60552183-23918608 2026-02-22 10:57:12,486 - INFO - Deleting VM ctest-TestRoutersBasic-60552183-76129156 2026-02-22 10:57:12,571 - INFO - Deleting VN ctest-ext_vn-31910855 2026-02-22 10:57:12,639 - DEBUG - VN e0040f62-5d6b-49fa-8a4f-d896d81b2e82 still in use: Unable to complete operation on network e0040f62-5d6b-49fa-8a4f-d896d81b2e82. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4a18983a-799e-4727-90d3-8e34278f2f74'] 2026-02-22 10:57:12,640 - WARNING - Deleting VN ctest-ext_vn-31910855 failed..Will retry 2026-02-22 10:57:14,799 - DEBUG - Response for deleting network () 2026-02-22 10:57:14,800 - INFO - Deleting VN ctest-vn-53705364 2026-02-22 10:57:14,946 - DEBUG - Response for deleting network () 2026-02-22 10:57:15,218 - DEBUG - No XMPP flaps were noticed during the test 2026-02-22 10:57:15,218 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-02-22 10:57:15,218 - INFO - -------------------------------------------------------------------------------- 2026-02-22 10:57:15,887 - INFO - Deleted project: ctest-TestRoutersBasic-60552183, ID : db0f3ef0-c6e7-47c6-acaa-1f4ae2a80dbc