2026-01-20 15:37:23,790 - INFO - Domain Default found not creating 2026-01-20 15:37:24,011 - INFO - Project ctest-TestRoutersBasic-70508827 not found, creating it 2026-01-20 15:37:24,521 - INFO - Created Project:ctest-TestRoutersBasic-70508827, ID : a38ee5b1-dbaa-40ea-a1eb-2852ac7ad8b2 2026-01-20 15:37:26,200 - INFO - ================================================================================ 2026-01-20 15:37:26,200 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-20 15:37:26,200 - 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-20 15:37:26,469 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-01-20 15:37:26,469 - INFO - Initial checks done. Running the testcase now 2026-01-20 15:37:26,469 - INFO - 2026-01-20 15:37:27,284 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70508827 2026-01-20 15:37:27,386 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70508827 2026-01-20 15:37:27,714 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70508827', 'default']} 2026-01-20 15:37:28,027 - DEBUG - Response for create_network : {'network': {'id': 'c2dfc950-a34e-4f5e-9df1-efa9f9d42c98', 'name': 'ctest-vn-97124710', 'tenant_id': 'a38ee5b1dbaa40eaa1eb2852ac7ad8b2', 'project_id': 'a38ee5b1dbaa40eaa1eb2852ac7ad8b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70508827', 'ctest-vn-97124710'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 15:37:28,257 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2e8396e-94b9-4538-9cd0-566eb14cd98c', 'name': '', 'tenant_id': 'a38ee5b1dbaa40eaa1eb2852ac7ad8b2', 'network_id': 'c2dfc950-a34e-4f5e-9df1-efa9f9d42c98', 'ip_version': 4, 'cidr': '133.161.245.192/26', 'allocation_pools': [{'start': '133.161.245.194', 'end': '133.161.245.254'}], 'gateway_ip': '133.161.245.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.161.245.194', 'tags': [], 'project_id': 'a38ee5b1dbaa40eaa1eb2852ac7ad8b2'}} 2026-01-20 15:37:28,278 - INFO - Created VN ctest-vn-97124710 2026-01-20 15:37:28,334 - DEBUG - VN ctest-vn-97124710 UUID is c2dfc950-a34e-4f5e-9df1-efa9f9d42c98 2026-01-20 15:37:28,676 - DEBUG - Response for create_network : {'network': {'id': 'c744989a-8f11-4586-b1aa-c707a47834c7', 'name': 'ctest-ext_vn-37830058', 'tenant_id': 'a38ee5b1dbaa40eaa1eb2852ac7ad8b2', 'project_id': 'a38ee5b1dbaa40eaa1eb2852ac7ad8b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70508827', 'ctest-ext_vn-37830058'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 15:37:28,882 - DEBUG - Response for create_subnet : {'subnet': {'id': '10d9ee17-ddb4-45a7-a66b-feeb04c91419', 'name': '', 'tenant_id': 'a38ee5b1dbaa40eaa1eb2852ac7ad8b2', 'network_id': 'c744989a-8f11-4586-b1aa-c707a47834c7', 'ip_version': 4, 'cidr': '189.87.39.0/26', 'allocation_pools': [{'start': '189.87.39.2', 'end': '189.87.39.62'}], 'gateway_ip': '189.87.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.87.39.2', 'tags': [], 'project_id': 'a38ee5b1dbaa40eaa1eb2852ac7ad8b2'}} 2026-01-20 15:37:28,905 - INFO - Created VN ctest-ext_vn-37830058 2026-01-20 15:37:28,958 - DEBUG - VN ctest-ext_vn-37830058 UUID is c744989a-8f11-4586-b1aa-c707a47834c7 2026-01-20 15:37:29,158 - DEBUG - Services list from nova: [, , ] 2026-01-20 15:37:30,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5049-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5049-1) 2026-01-20 15:37:31,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5049-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5049-1) 2026-01-20 15:37:31,639 - INFO - Setting gateway for router 855b0fc5-4a94-43c4-b86b-db6949e80ec2 to network c744989a-8f11-4586-b1aa-c707a47834c7 2026-01-20 15:37:31,756 - INFO - Adding interface with subnet_id b2e8396e-94b9-4538-9cd0-566eb14cd98c, port_id None to router 855b0fc5-4a94-43c4-b86b-db6949e80ec2 2026-01-20 15:37:32,365 - INFO - Waiting for VM ctest-TestRoutersBasic-70508827-63536243 to be up.. 2026-01-20 15:37:32,510 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-20 15:37:37,608 - DEBUG - VM is in ACTIVE state now 2026-01-20 15:37:37,608 - INFO - VM name : ctest-TestRoutersBasic-70508827-63536243 2026-01-20 15:37:37,700 - DEBUG - VM ctest-TestRoutersBasic-70508827-63536243 ID is 020baa11-710b-464d-997c-451383a4b6ad 2026-01-20 15:37:37,724 - DEBUG - VM ctest-TestRoutersBasic-70508827-63536243 launched on Node cn-jenkins-deploy-platform-ansible-os-5049-1 2026-01-20 15:37:37,811 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/020baa11-710b-464d-997c-451383a4b6ad 2026-01-20 15:37:38,124 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/020baa11-710b-464d-997c-451383a4b6ad 2026-01-20 15:37:38,166 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7df9c673-8ccb-4ed9-a207-bc42c8e91879 2026-01-20 15:37:41,418 - 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 1002ms') 2026-01-20 15:37:41,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70508827-63536243 failed! 2026-01-20 15:37:41,474 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70508827:ctest-vn-97124710 is 133.161.245.193 and allocation pool is NOT set 2026-01-20 15:37:43,545 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.11 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 = 4.109/4.234/4.360/0.125 ms') 2026-01-20 15:37:43,545 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70508827-63536243 passed 2026-01-20 15:37:43,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 15:37:43,706 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70508827-63536243, IP 133.161.245.195, Port 22 2026-01-20 15:37:43,876 - DEBUG - VM ctest-TestRoutersBasic-70508827-63536243 is ready for SSH connections 2026-01-20 15:37:43,877 - INFO - Waiting for VM ctest-TestRoutersBasic-70508827-24338740 to be up.. 2026-01-20 15:37:43,984 - DEBUG - VM is in ACTIVE state now 2026-01-20 15:37:43,984 - INFO - VM name : ctest-TestRoutersBasic-70508827-24338740 2026-01-20 15:37:44,093 - DEBUG - VM ctest-TestRoutersBasic-70508827-24338740 ID is 12efb274-b6d3-4a37-b471-8e53caadf365 2026-01-20 15:37:44,093 - DEBUG - VM ctest-TestRoutersBasic-70508827-24338740 launched on Node cn-jenkins-deploy-platform-ansible-os-5049-1 2026-01-20 15:37:44,199 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/12efb274-b6d3-4a37-b471-8e53caadf365 2026-01-20 15:37:44,213 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/506c7954-319c-4796-959d-1450105bba39 2026-01-20 15:37:45,483 - 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=7.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.876 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.876/4.076/7.276/3.200 ms') 2026-01-20 15:37:45,484 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70508827-24338740 passed 2026-01-20 15:37:45,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 15:37:45,642 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70508827-24338740, IP 189.87.39.3, Port 22 2026-01-20 15:37:45,812 - DEBUG - VM ctest-TestRoutersBasic-70508827-24338740 is ready for SSH connections 2026-01-20 15:37:45,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 15:37:45,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.87.39.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-20 15:37:45,813 - DEBUG - ping -s 56 -c 3 -W 1 189.87.39.3 2026-01-20 15:37:49,590 - DEBUG - PING 189.87.39.3 (189.87.39.3): 56 data bytes 64 bytes from 189.87.39.3: seq=0 ttl=62 time=8.635 ms 64 bytes from 189.87.39.3: seq=1 ttl=62 time=1.503 ms 64 bytes from 189.87.39.3: seq=2 ttl=62 time=1.358 ms --- 189.87.39.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.358/3.832/8.635 ms 2026-01-20 15:37:49,590 - INFO - Ping to IP 189.87.39.3 from VM ctest-TestRoutersBasic-70508827-63536243 passed 2026-01-20 15:37:49,590 - INFO - Deleting interface with subnet_id b2e8396e-94b9-4538-9cd0-566eb14cd98c, port_id None from router 855b0fc5-4a94-43c4-b86b-db6949e80ec2 2026-01-20 15:37:49,861 - INFO - Deleting VM ctest-TestRoutersBasic-70508827-24338740 2026-01-20 15:37:49,980 - INFO - Deleting VM ctest-TestRoutersBasic-70508827-63536243 2026-01-20 15:37:50,086 - INFO - Deleting VN ctest-ext_vn-37830058 2026-01-20 15:37:50,181 - DEBUG - VN c744989a-8f11-4586-b1aa-c707a47834c7 still in use: Unable to complete operation on network c744989a-8f11-4586-b1aa-c707a47834c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ac7631e3-42ca-44d9-b101-4fd6f2f5956d'] 2026-01-20 15:37:50,181 - WARNING - Deleting VN ctest-ext_vn-37830058 failed..Will retry 2026-01-20 15:37:52,387 - DEBUG - Response for deleting network () 2026-01-20 15:37:52,387 - INFO - Deleting VN ctest-vn-97124710 2026-01-20 15:37:52,514 - DEBUG - Response for deleting network () 2026-01-20 15:37:52,772 - DEBUG - No XMPP flaps were noticed during the test 2026-01-20 15:37:52,772 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-01-20 15:37:52,772 - INFO - -------------------------------------------------------------------------------- 2026-01-20 15:37:53,507 - INFO - Deleted project: ctest-TestRoutersBasic-70508827, ID : a38ee5b1-dbaa-40ea-a1eb-2852ac7ad8b2