2026-01-07 04:34:57,989 - INFO - Domain Default found not creating 2026-01-07 04:34:58,136 - INFO - Project ctest-TestRoutersBasic-55991480 not found, creating it 2026-01-07 04:34:58,607 - INFO - Created Project:ctest-TestRoutersBasic-55991480, ID : e262168e-9d21-489f-9bbd-8231b0bb18a2 2026-01-07 04:35:00,064 - INFO - ================================================================================ 2026-01-07 04:35:00,064 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-07 04:35:00,064 - 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-01-07 04:35:00,319 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-07 04:35:00,319 - INFO - Initial checks done. Running the testcase now 2026-01-07 04:35:00,319 - INFO - 2026-01-07 04:35:01,051 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55991480 2026-01-07 04:35:01,150 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55991480 2026-01-07 04:35:01,465 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55991480', 'default']} 2026-01-07 04:35:01,752 - DEBUG - Response for create_network : {'network': {'id': '7744abc0-5b04-4809-a6b4-93ef46d70489', 'name': 'ctest-vn-74280322', 'tenant_id': 'e262168e9d21489f9bbd8231b0bb18a2', 'project_id': 'e262168e9d21489f9bbd8231b0bb18a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55991480', 'ctest-vn-74280322'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 04:35:01,932 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e840934-500d-47bb-9717-012b8a601e2d', 'name': '', 'tenant_id': 'e262168e9d21489f9bbd8231b0bb18a2', 'network_id': '7744abc0-5b04-4809-a6b4-93ef46d70489', 'ip_version': 4, 'cidr': '87.4.113.192/26', 'allocation_pools': [{'start': '87.4.113.194', 'end': '87.4.113.254'}], 'gateway_ip': '87.4.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.4.113.194', 'tags': [], 'project_id': 'e262168e9d21489f9bbd8231b0bb18a2'}} 2026-01-07 04:35:01,949 - INFO - Created VN ctest-vn-74280322 2026-01-07 04:35:02,002 - DEBUG - VN ctest-vn-74280322 UUID is 7744abc0-5b04-4809-a6b4-93ef46d70489 2026-01-07 04:35:02,339 - DEBUG - Response for create_network : {'network': {'id': '71c21c99-b7a6-4b33-8661-1f2f2986ffaf', 'name': 'ctest-ext_vn-60222439', 'tenant_id': 'e262168e9d21489f9bbd8231b0bb18a2', 'project_id': 'e262168e9d21489f9bbd8231b0bb18a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55991480', 'ctest-ext_vn-60222439'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 04:35:02,536 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2c4c47c-ce17-4558-ae86-eb5a945a15d5', 'name': '', 'tenant_id': 'e262168e9d21489f9bbd8231b0bb18a2', 'network_id': '71c21c99-b7a6-4b33-8661-1f2f2986ffaf', 'ip_version': 4, 'cidr': '145.52.188.192/26', 'allocation_pools': [{'start': '145.52.188.194', 'end': '145.52.188.254'}], 'gateway_ip': '145.52.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.52.188.194', 'tags': [], 'project_id': 'e262168e9d21489f9bbd8231b0bb18a2'}} 2026-01-07 04:35:02,551 - INFO - Created VN ctest-ext_vn-60222439 2026-01-07 04:35:02,602 - DEBUG - VN ctest-ext_vn-60222439 UUID is 71c21c99-b7a6-4b33-8661-1f2f2986ffaf 2026-01-07 04:35:02,771 - DEBUG - Services list from nova: [, , ] 2026-01-07 04:35:03,803 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4971-1) 2026-01-07 04:35:04,905 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4971-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4971-1) 2026-01-07 04:35:04,964 - INFO - Setting gateway for router 46319ea2-ec9e-4ac1-86f4-b58589a2a1b1 to network 71c21c99-b7a6-4b33-8661-1f2f2986ffaf 2026-01-07 04:35:05,037 - INFO - Adding interface with subnet_id 4e840934-500d-47bb-9717-012b8a601e2d, port_id None to router 46319ea2-ec9e-4ac1-86f4-b58589a2a1b1 2026-01-07 04:35:05,378 - INFO - Waiting for VM ctest-TestRoutersBasic-55991480-13913009 to be up.. 2026-01-07 04:35:05,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-07 04:35:10,635 - DEBUG - VM is in ACTIVE state now 2026-01-07 04:35:10,635 - INFO - VM name : ctest-TestRoutersBasic-55991480-13913009 2026-01-07 04:35:10,709 - DEBUG - VM ctest-TestRoutersBasic-55991480-13913009 ID is 05a2a5f6-169e-4a25-ada7-205edf250ca5 2026-01-07 04:35:10,730 - DEBUG - VM ctest-TestRoutersBasic-55991480-13913009 launched on Node cn-jenkins-deploy-platform-ansible-os-4971-1 2026-01-07 04:35:10,810 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/05a2a5f6-169e-4a25-ada7-205edf250ca5 2026-01-07 04:35:11,105 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/05a2a5f6-169e-4a25-ada7-205edf250ca5 2026-01-07 04:35:11,137 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d490e467-fa2c-428d-92e5-2a8f3d83c115 2026-01-07 04:35:14,391 - 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-01-07 04:35:14,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55991480-13913009 failed! 2026-01-07 04:35:14,441 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55991480:ctest-vn-74280322 is 87.4.113.193 and allocation pool is NOT set 2026-01-07 04:35:16,506 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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 = 0.410/1.919/3.428/1.509 ms') 2026-01-07 04:35:16,506 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55991480-13913009 passed 2026-01-07 04:35:16,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 04:35:16,654 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55991480-13913009, IP 87.4.113.195, Port 22 2026-01-07 04:35:16,816 - DEBUG - VM ctest-TestRoutersBasic-55991480-13913009 is ready for SSH connections 2026-01-07 04:35:16,817 - INFO - Waiting for VM ctest-TestRoutersBasic-55991480-95726556 to be up.. 2026-01-07 04:35:16,887 - DEBUG - VM is in ACTIVE state now 2026-01-07 04:35:16,888 - INFO - VM name : ctest-TestRoutersBasic-55991480-95726556 2026-01-07 04:35:16,956 - DEBUG - VM ctest-TestRoutersBasic-55991480-95726556 ID is d62f308c-5b2e-4cfd-bed3-85bf22ef38f5 2026-01-07 04:35:16,956 - DEBUG - VM ctest-TestRoutersBasic-55991480-95726556 launched on Node cn-jenkins-deploy-platform-ansible-os-4971-1 2026-01-07 04:35:17,023 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d62f308c-5b2e-4cfd-bed3-85bf22ef38f5 2026-01-07 04:35:17,031 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/64be2b6b-7d58-49ee-afc3-cc66975dd0e4 2026-01-07 04:35:18,265 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.635/2.874/1.239 ms') 2026-01-07 04:35:18,265 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55991480-95726556 passed 2026-01-07 04:35:18,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 04:35:18,414 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55991480-95726556, IP 145.52.188.195, Port 22 2026-01-07 04:35:18,573 - DEBUG - VM ctest-TestRoutersBasic-55991480-95726556 is ready for SSH connections 2026-01-07 04:35:18,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 04:35:18,573 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.52.188.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-07 04:35:18,573 - DEBUG - ping -s 56 -c 3 -W 1 145.52.188.195 2026-01-07 04:35:22,582 - DEBUG - PING 145.52.188.195 (145.52.188.195): 56 data bytes 64 bytes from 145.52.188.195: seq=0 ttl=62 time=4.350 ms 64 bytes from 145.52.188.195: seq=1 ttl=62 time=0.933 ms 64 bytes from 145.52.188.195: seq=2 ttl=62 time=1.044 ms --- 145.52.188.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.933/2.109/4.350 ms 2026-01-07 04:35:22,582 - INFO - Ping to IP 145.52.188.195 from VM ctest-TestRoutersBasic-55991480-13913009 passed 2026-01-07 04:35:22,582 - INFO - Deleting interface with subnet_id 4e840934-500d-47bb-9717-012b8a601e2d, port_id None from router 46319ea2-ec9e-4ac1-86f4-b58589a2a1b1 2026-01-07 04:35:22,759 - INFO - Deleting VM ctest-TestRoutersBasic-55991480-95726556 2026-01-07 04:35:22,826 - INFO - Deleting VM ctest-TestRoutersBasic-55991480-13913009 2026-01-07 04:35:22,903 - INFO - Deleting VN ctest-ext_vn-60222439 2026-01-07 04:35:22,969 - DEBUG - VN 71c21c99-b7a6-4b33-8661-1f2f2986ffaf still in use: Unable to complete operation on network 71c21c99-b7a6-4b33-8661-1f2f2986ffaf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2026ec63-bd91-4eaa-87e7-d2bcbe231423'] 2026-01-07 04:35:22,969 - WARNING - Deleting VN ctest-ext_vn-60222439 failed..Will retry 2026-01-07 04:35:25,057 - DEBUG - Response for deleting network () 2026-01-07 04:35:25,057 - INFO - Deleting VN ctest-vn-74280322 2026-01-07 04:35:25,147 - DEBUG - Response for deleting network () 2026-01-07 04:35:25,406 - DEBUG - No XMPP flaps were noticed during the test 2026-01-07 04:35:25,406 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-01-07 04:35:25,407 - INFO - -------------------------------------------------------------------------------- 2026-01-07 04:35:26,098 - INFO - Deleted project: ctest-TestRoutersBasic-55991480, ID : e262168e-9d21-489f-9bbd-8231b0bb18a2