2026-05-07 02:20:54,902 - INFO - Domain Default found not creating 2026-05-07 02:20:55,069 - INFO - Project ctest-TestRoutersBasic-37851935 not found, creating it 2026-05-07 02:20:55,540 - INFO - Created Project:ctest-TestRoutersBasic-37851935, ID : ac0354a7-681c-470e-a1ac-09c96113aa6c 2026-05-07 02:20:57,000 - INFO - ================================================================================ 2026-05-07 02:20:57,001 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-07 02:20:57,001 - 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-05-07 02:20:57,254 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0'}} with 2026-05-07 02:20:57,254 - INFO - Initial checks done. Running the testcase now 2026-05-07 02:20:57,254 - INFO - 2026-05-07 02:20:57,955 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37851935 2026-05-07 02:20:58,049 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37851935 2026-05-07 02:20:58,361 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37851935', 'default']} 2026-05-07 02:20:58,642 - DEBUG - Response for create_network : {'network': {'id': '35bed995-490c-4458-ae16-c24bb2ecc329', 'name': 'ctest-vn-99694380', 'tenant_id': 'ac0354a7681c470ea1ac09c96113aa6c', 'project_id': 'ac0354a7681c470ea1ac09c96113aa6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37851935', 'ctest-vn-99694380'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:20:58,840 - DEBUG - Response for create_subnet : {'subnet': {'id': '06d0b9f0-cc86-4a81-80b4-5d68e2364286', 'name': '', 'tenant_id': 'ac0354a7681c470ea1ac09c96113aa6c', 'network_id': '35bed995-490c-4458-ae16-c24bb2ecc329', 'ip_version': 4, 'cidr': '219.119.248.192/26', 'allocation_pools': [{'start': '219.119.248.194', 'end': '219.119.248.254'}], 'gateway_ip': '219.119.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.119.248.194', 'tags': [], 'project_id': 'ac0354a7681c470ea1ac09c96113aa6c'}} 2026-05-07 02:20:58,857 - INFO - Created VN ctest-vn-99694380 2026-05-07 02:20:58,909 - DEBUG - VN ctest-vn-99694380 UUID is 35bed995-490c-4458-ae16-c24bb2ecc329 2026-05-07 02:20:59,235 - DEBUG - Response for create_network : {'network': {'id': '6fa247bc-e59a-4805-9695-1f3e9ae7b3ea', 'name': 'ctest-ext_vn-97901156', 'tenant_id': 'ac0354a7681c470ea1ac09c96113aa6c', 'project_id': 'ac0354a7681c470ea1ac09c96113aa6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37851935', 'ctest-ext_vn-97901156'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:20:59,426 - DEBUG - Response for create_subnet : {'subnet': {'id': '97301903-adfe-434c-952c-98adb0b09c9d', 'name': '', 'tenant_id': 'ac0354a7681c470ea1ac09c96113aa6c', 'network_id': '6fa247bc-e59a-4805-9695-1f3e9ae7b3ea', 'ip_version': 4, 'cidr': '49.5.77.192/26', 'allocation_pools': [{'start': '49.5.77.194', 'end': '49.5.77.254'}], 'gateway_ip': '49.5.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.5.77.194', 'tags': [], 'project_id': 'ac0354a7681c470ea1ac09c96113aa6c'}} 2026-05-07 02:20:59,441 - INFO - Created VN ctest-ext_vn-97901156 2026-05-07 02:20:59,493 - DEBUG - VN ctest-ext_vn-97901156 UUID is 6fa247bc-e59a-4805-9695-1f3e9ae7b3ea 2026-05-07 02:20:59,695 - DEBUG - Services list from nova: [, , ] 2026-05-07 02:21:00,697 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5751-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5751-1) 2026-05-07 02:21:01,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5751-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5751-1) 2026-05-07 02:21:01,926 - INFO - Setting gateway for router 2a915c57-4161-4b97-a7c4-3adf27b8f420 to network 6fa247bc-e59a-4805-9695-1f3e9ae7b3ea 2026-05-07 02:21:01,994 - INFO - Adding interface with subnet_id 06d0b9f0-cc86-4a81-80b4-5d68e2364286, port_id None to router 2a915c57-4161-4b97-a7c4-3adf27b8f420 2026-05-07 02:21:02,300 - INFO - Waiting for VM ctest-TestRoutersBasic-37851935-23015833 to be up.. 2026-05-07 02:21:02,407 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-07 02:21:07,479 - DEBUG - VM is in ACTIVE state now 2026-05-07 02:21:07,479 - INFO - VM name : ctest-TestRoutersBasic-37851935-23015833 2026-05-07 02:21:07,546 - DEBUG - VM ctest-TestRoutersBasic-37851935-23015833 ID is 22aa7c35-0efe-45a8-8b39-850b056dc852 2026-05-07 02:21:07,565 - DEBUG - VM ctest-TestRoutersBasic-37851935-23015833 launched on Node cn-jenkins-deploy-platform-ansible-os-5751-1 2026-05-07 02:21:07,633 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/22aa7c35-0efe-45a8-8b39-850b056dc852 2026-05-07 02:21:07,931 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/22aa7c35-0efe-45a8-8b39-850b056dc852 2026-05-07 02:21:07,962 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e918cc94-3fbd-4a40-887f-40830e797722 2026-05-07 02:21:11,206 - 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 1014ms') 2026-05-07 02:21:11,206 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37851935-23015833 failed! 2026-05-07 02:21:11,261 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37851935:ctest-vn-99694380 is 219.119.248.193 and allocation pool is NOT set 2026-05-07 02:21:13,319 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.433 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.433/1.627/2.821/1.194 ms') 2026-05-07 02:21:13,319 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37851935-23015833 passed 2026-05-07 02:21:13,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:21:13,465 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37851935-23015833, IP 219.119.248.195, Port 22 2026-05-07 02:21:13,620 - DEBUG - VM ctest-TestRoutersBasic-37851935-23015833 is ready for SSH connections 2026-05-07 02:21:13,620 - INFO - Waiting for VM ctest-TestRoutersBasic-37851935-24743513 to be up.. 2026-05-07 02:21:13,693 - DEBUG - VM is in ACTIVE state now 2026-05-07 02:21:13,693 - INFO - VM name : ctest-TestRoutersBasic-37851935-24743513 2026-05-07 02:21:13,760 - DEBUG - VM ctest-TestRoutersBasic-37851935-24743513 ID is 0b34c1a1-d2c2-49c8-a580-5a7067c7cd43 2026-05-07 02:21:13,760 - DEBUG - VM ctest-TestRoutersBasic-37851935-24743513 launched on Node cn-jenkins-deploy-platform-ansible-os-5751-1 2026-05-07 02:21:13,833 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0b34c1a1-d2c2-49c8-a580-5a7067c7cd43 2026-05-07 02:21:13,840 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/539aad1d-b41f-4562-bfd1-d00e7cc59fe5 2026-05-07 02:21:15,075 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.585/2.730/1.144 ms') 2026-05-07 02:21:15,075 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37851935-24743513 passed 2026-05-07 02:21:15,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:21:15,225 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37851935-24743513, IP 49.5.77.195, Port 22 2026-05-07 02:21:15,380 - DEBUG - VM ctest-TestRoutersBasic-37851935-24743513 is ready for SSH connections 2026-05-07 02:21:15,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:21:15,380 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.5.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-07 02:21:15,380 - DEBUG - ping -s 56 -c 3 -W 1 49.5.77.195 2026-05-07 02:21:19,059 - DEBUG - PING 49.5.77.195 (49.5.77.195): 56 data bytes 64 bytes from 49.5.77.195: seq=0 ttl=62 time=7.101 ms 64 bytes from 49.5.77.195: seq=1 ttl=62 time=1.026 ms 64 bytes from 49.5.77.195: seq=2 ttl=62 time=1.110 ms --- 49.5.77.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.026/3.079/7.101 ms 2026-05-07 02:21:19,059 - INFO - Ping to IP 49.5.77.195 from VM ctest-TestRoutersBasic-37851935-23015833 passed 2026-05-07 02:21:19,059 - INFO - Deleting interface with subnet_id 06d0b9f0-cc86-4a81-80b4-5d68e2364286, port_id None from router 2a915c57-4161-4b97-a7c4-3adf27b8f420 2026-05-07 02:21:19,249 - INFO - Deleting VM ctest-TestRoutersBasic-37851935-24743513 2026-05-07 02:21:19,315 - INFO - Deleting VM ctest-TestRoutersBasic-37851935-23015833 2026-05-07 02:21:19,383 - INFO - Deleting VN ctest-ext_vn-97901156 2026-05-07 02:21:19,452 - DEBUG - VN 6fa247bc-e59a-4805-9695-1f3e9ae7b3ea still in use: Unable to complete operation on network 6fa247bc-e59a-4805-9695-1f3e9ae7b3ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-30417e2f-6caf-443d-ba0c-8c0c89df3326'] 2026-05-07 02:21:19,452 - WARNING - Deleting VN ctest-ext_vn-97901156 failed..Will retry 2026-05-07 02:21:21,543 - DEBUG - Response for deleting network () 2026-05-07 02:21:21,543 - INFO - Deleting VN ctest-vn-99694380 2026-05-07 02:21:21,636 - DEBUG - Response for deleting network () 2026-05-07 02:21:21,889 - DEBUG - No XMPP flaps were noticed during the test 2026-05-07 02:21:21,889 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2026-05-07 02:21:21,889 - INFO - -------------------------------------------------------------------------------- 2026-05-07 02:21:22,564 - INFO - Deleted project: ctest-TestRoutersBasic-37851935, ID : ac0354a7-681c-470e-a1ac-09c96113aa6c