2025-10-02 01:50:24,450 - INFO - Domain Default found not creating 2025-10-02 01:50:24,571 - INFO - Project ctest-TestRoutersBasic-83973934 not found, creating it 2025-10-02 01:50:25,014 - INFO - Created Project:ctest-TestRoutersBasic-83973934, ID : fd6e6093-ab26-4300-aac3-3e55ecbed047 2025-10-02 01:50:26,322 - INFO - ================================================================================ 2025-10-02 01:50:26,322 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-02 01:50:26,322 - 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 2025-10-02 01:50:26,577 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-02 01:50:26,577 - INFO - Initial checks done. Running the testcase now 2025-10-02 01:50:26,577 - INFO - 2025-10-02 01:50:27,275 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83973934 2025-10-02 01:50:27,368 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83973934 2025-10-02 01:50:27,676 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83973934', 'default']} 2025-10-02 01:50:27,932 - DEBUG - Response for create_network : {'network': {'id': 'b4956ef9-67fc-47ac-afc3-14e89baca2e2', 'name': 'ctest-vn-46071223', 'tenant_id': 'fd6e6093ab264300aac33e55ecbed047', 'project_id': 'fd6e6093ab264300aac33e55ecbed047', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83973934', 'ctest-vn-46071223'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:50:28,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b20e3abf-f057-4f66-bf37-c8961761cfce', 'name': '', 'tenant_id': 'fd6e6093ab264300aac33e55ecbed047', 'network_id': 'b4956ef9-67fc-47ac-afc3-14e89baca2e2', 'ip_version': 4, 'cidr': '121.175.197.0/26', 'allocation_pools': [{'start': '121.175.197.2', 'end': '121.175.197.62'}], 'gateway_ip': '121.175.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.175.197.2', 'tags': [], 'project_id': 'fd6e6093ab264300aac33e55ecbed047'}} 2025-10-02 01:50:28,107 - INFO - Created VN ctest-vn-46071223 2025-10-02 01:50:28,156 - DEBUG - VN ctest-vn-46071223 UUID is b4956ef9-67fc-47ac-afc3-14e89baca2e2 2025-10-02 01:50:28,469 - DEBUG - Response for create_network : {'network': {'id': '1b33507c-2bba-408a-8fd1-1a7add5f3643', 'name': 'ctest-ext_vn-68012625', 'tenant_id': 'fd6e6093ab264300aac33e55ecbed047', 'project_id': 'fd6e6093ab264300aac33e55ecbed047', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83973934', 'ctest-ext_vn-68012625'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 01:50:28,623 - DEBUG - Response for create_subnet : {'subnet': {'id': '733fda4f-9156-4c0d-9ce3-906987f3b9fd', 'name': '', 'tenant_id': 'fd6e6093ab264300aac33e55ecbed047', 'network_id': '1b33507c-2bba-408a-8fd1-1a7add5f3643', 'ip_version': 4, 'cidr': '199.199.37.128/26', 'allocation_pools': [{'start': '199.199.37.130', 'end': '199.199.37.190'}], 'gateway_ip': '199.199.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.199.37.130', 'tags': [], 'project_id': 'fd6e6093ab264300aac33e55ecbed047'}} 2025-10-02 01:50:28,638 - INFO - Created VN ctest-ext_vn-68012625 2025-10-02 01:50:28,688 - DEBUG - VN ctest-ext_vn-68012625 UUID is 1b33507c-2bba-408a-8fd1-1a7add5f3643 2025-10-02 01:50:28,869 - DEBUG - Services list from nova: [, , ] 2025-10-02 01:50:29,812 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4207-1) 2025-10-02 01:50:30,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4207-1) 2025-10-02 01:50:30,969 - INFO - Setting gateway for router b7d3f1a6-5f93-4d4f-8533-92e5f4209d9c to network 1b33507c-2bba-408a-8fd1-1a7add5f3643 2025-10-02 01:50:31,022 - INFO - Adding interface with subnet_id b20e3abf-f057-4f66-bf37-c8961761cfce, port_id None to router b7d3f1a6-5f93-4d4f-8533-92e5f4209d9c 2025-10-02 01:50:31,320 - INFO - Waiting for VM ctest-TestRoutersBasic-83973934-91909401 to be up.. 2025-10-02 01:50:31,465 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 01:50:36,526 - DEBUG - VM is in ACTIVE state now 2025-10-02 01:50:36,526 - INFO - VM name : ctest-TestRoutersBasic-83973934-91909401 2025-10-02 01:50:36,586 - DEBUG - VM ctest-TestRoutersBasic-83973934-91909401 ID is 71d325cf-02a2-4b3b-afcb-44b3a3029942 2025-10-02 01:50:36,604 - DEBUG - VM ctest-TestRoutersBasic-83973934-91909401 launched on Node cn-jenkins-deploy-platform-ansible-os-4207-1 2025-10-02 01:50:36,666 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71d325cf-02a2-4b3b-afcb-44b3a3029942 2025-10-02 01:50:36,953 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71d325cf-02a2-4b3b-afcb-44b3a3029942 2025-10-02 01:50:36,979 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8fd50348-bc3e-4ef9-8e88-c89fc0ee7529 2025-10-02 01:50:40,225 - 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') 2025-10-02 01:50:40,226 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83973934-91909401 failed! 2025-10-02 01:50:40,276 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83973934:ctest-vn-46071223 is 121.175.197.1 and allocation pool is NOT set 2025-10-02 01:50:42,338 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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.441/1.583/2.726/1.142 ms') 2025-10-02 01:50:42,338 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83973934-91909401 passed 2025-10-02 01:50:42,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:50:42,485 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83973934-91909401, IP 121.175.197.3, Port 22 2025-10-02 01:50:42,648 - DEBUG - VM ctest-TestRoutersBasic-83973934-91909401 is ready for SSH connections 2025-10-02 01:50:42,648 - INFO - Waiting for VM ctest-TestRoutersBasic-83973934-43851233 to be up.. 2025-10-02 01:50:42,709 - DEBUG - VM is in ACTIVE state now 2025-10-02 01:50:42,709 - INFO - VM name : ctest-TestRoutersBasic-83973934-43851233 2025-10-02 01:50:42,767 - DEBUG - VM ctest-TestRoutersBasic-83973934-43851233 ID is ee1b7c8e-509d-406d-9f7c-dcedb519048f 2025-10-02 01:50:42,767 - DEBUG - VM ctest-TestRoutersBasic-83973934-43851233 launched on Node cn-jenkins-deploy-platform-ansible-os-4207-1 2025-10-02 01:50:42,824 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ee1b7c8e-509d-406d-9f7c-dcedb519048f 2025-10-02 01:50:42,831 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7384c751-0b85-4c51-8f4f-19d5a1de9a2a 2025-10-02 01:50:44,055 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.338 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.338/1.494/2.651/1.156 ms') 2025-10-02 01:50:44,055 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83973934-43851233 passed 2025-10-02 01:50:44,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:50:44,200 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83973934-43851233, IP 199.199.37.131, Port 22 2025-10-02 01:50:44,352 - DEBUG - VM ctest-TestRoutersBasic-83973934-43851233 is ready for SSH connections 2025-10-02 01:50:44,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 01:50:44,352 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.199.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-02 01:50:44,352 - DEBUG - ping -s 56 -c 3 -W 1 199.199.37.131 2025-10-02 01:50:48,312 - DEBUG - PING 199.199.37.131 (199.199.37.131): 56 data bytes 64 bytes from 199.199.37.131: seq=0 ttl=62 time=5.400 ms 64 bytes from 199.199.37.131: seq=1 ttl=62 time=0.720 ms 64 bytes from 199.199.37.131: seq=2 ttl=62 time=0.753 ms --- 199.199.37.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.720/2.291/5.400 ms 2025-10-02 01:50:48,312 - INFO - Ping to IP 199.199.37.131 from VM ctest-TestRoutersBasic-83973934-91909401 passed 2025-10-02 01:50:48,312 - INFO - Deleting interface with subnet_id b20e3abf-f057-4f66-bf37-c8961761cfce, port_id None from router b7d3f1a6-5f93-4d4f-8533-92e5f4209d9c 2025-10-02 01:50:48,466 - INFO - Deleting VM ctest-TestRoutersBasic-83973934-43851233 2025-10-02 01:50:48,522 - INFO - Deleting VM ctest-TestRoutersBasic-83973934-91909401 2025-10-02 01:50:48,594 - INFO - Deleting VN ctest-ext_vn-68012625 2025-10-02 01:50:48,650 - DEBUG - VN 1b33507c-2bba-408a-8fd1-1a7add5f3643 still in use: Unable to complete operation on network 1b33507c-2bba-408a-8fd1-1a7add5f3643. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-80cceffb-25e7-4038-bc5b-25da63351cb2'] 2025-10-02 01:50:48,650 - WARNING - Deleting VN ctest-ext_vn-68012625 failed..Will retry 2025-10-02 01:50:50,748 - DEBUG - Response for deleting network () 2025-10-02 01:50:50,748 - INFO - Deleting VN ctest-vn-46071223 2025-10-02 01:50:50,831 - DEBUG - Response for deleting network () 2025-10-02 01:50:51,084 - DEBUG - No XMPP flaps were noticed during the test
2025-10-02 01:50:51,084 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-02 01:50:51,085 - INFO - -------------------------------------------------------------------------------- 2025-10-02 01:50:51,724 - INFO - Deleted project: ctest-TestRoutersBasic-83973934, ID : fd6e6093-ab26-4300-aac3-3e55ecbed047