2025-07-16 12:30:56,466 - INFO - Domain Default found not creating 2025-07-16 12:30:56,872 - INFO - Project ctest-TestRoutersBasic-15941494 not found, creating it 2025-07-16 12:30:57,483 - INFO - Created Project:ctest-TestRoutersBasic-15941494, ID : ea9acbb8-f8ec-4e44-80e2-818b6fc88918 2025-07-16 12:30:59,644 - INFO - ================================================================================ 2025-07-16 12:30:59,644 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-16 12:30:59,644 - 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-07-16 12:30:59,989 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-16 12:30:59,989 - INFO - Initial checks done. Running the testcase now 2025-07-16 12:30:59,990 - INFO - 2025-07-16 12:31:00,921 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15941494 2025-07-16 12:31:01,031 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15941494 2025-07-16 12:31:01,414 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15941494', 'default']} 2025-07-16 12:31:01,804 - DEBUG - Response for create_network : {'network': {'id': 'bd45dc56-dd4d-4d5a-9268-b673ab719975', 'name': 'ctest-vn-87236939', 'tenant_id': 'ea9acbb8f8ec4e4480e2818b6fc88918', 'project_id': 'ea9acbb8f8ec4e4480e2818b6fc88918', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15941494', 'ctest-vn-87236939'], 'port_security_enabled': True, 'description': ''}} 2025-07-16 12:31:02,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '769730fc-2da1-4155-9069-b87db9b9500d', 'name': '', 'tenant_id': 'ea9acbb8f8ec4e4480e2818b6fc88918', 'network_id': 'bd45dc56-dd4d-4d5a-9268-b673ab719975', 'ip_version': 4, 'cidr': '34.169.91.128/26', 'allocation_pools': [{'start': '34.169.91.130', 'end': '34.169.91.190'}], 'gateway_ip': '34.169.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.169.91.130', 'tags': [], 'project_id': 'ea9acbb8f8ec4e4480e2818b6fc88918'}} 2025-07-16 12:31:02,022 - INFO - Created VN ctest-vn-87236939 2025-07-16 12:31:02,078 - DEBUG - VN ctest-vn-87236939 UUID is bd45dc56-dd4d-4d5a-9268-b673ab719975 2025-07-16 12:31:02,560 - DEBUG - Response for create_network : {'network': {'id': 'd9978d24-9b65-41ed-9893-410205c9727c', 'name': 'ctest-ext_vn-24618831', 'tenant_id': 'ea9acbb8f8ec4e4480e2818b6fc88918', 'project_id': 'ea9acbb8f8ec4e4480e2818b6fc88918', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15941494', 'ctest-ext_vn-24618831'], 'port_security_enabled': True, 'description': ''}} 2025-07-16 12:31:02,806 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ed6a838-c145-4ec7-965d-bd8ed492cc14', 'name': '', 'tenant_id': 'ea9acbb8f8ec4e4480e2818b6fc88918', 'network_id': 'd9978d24-9b65-41ed-9893-410205c9727c', 'ip_version': 4, 'cidr': '118.25.131.0/26', 'allocation_pools': [{'start': '118.25.131.2', 'end': '118.25.131.62'}], 'gateway_ip': '118.25.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.25.131.2', 'tags': [], 'project_id': 'ea9acbb8f8ec4e4480e2818b6fc88918'}} 2025-07-16 12:31:02,832 - INFO - Created VN ctest-ext_vn-24618831 2025-07-16 12:31:02,890 - DEBUG - VN ctest-ext_vn-24618831 UUID is d9978d24-9b65-41ed-9893-410205c9727c 2025-07-16 12:31:03,128 - DEBUG - Services list from nova: [, , ] 2025-07-16 12:31:04,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3643-1) 2025-07-16 12:31:05,772 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3643-1) 2025-07-16 12:31:05,893 - INFO - Setting gateway for router 1181609b-1f59-452e-9db7-ce3ec3c3ad63 to network d9978d24-9b65-41ed-9893-410205c9727c 2025-07-16 12:31:05,971 - INFO - Adding interface with subnet_id 769730fc-2da1-4155-9069-b87db9b9500d, port_id None to router 1181609b-1f59-452e-9db7-ce3ec3c3ad63 2025-07-16 12:31:06,513 - INFO - Waiting for VM ctest-TestRoutersBasic-15941494-65149301 to be up.. 2025-07-16 12:31:06,679 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-16 12:31:11,835 - DEBUG - VM is in ACTIVE state now 2025-07-16 12:31:11,835 - INFO - VM name : ctest-TestRoutersBasic-15941494-65149301 2025-07-16 12:31:11,971 - DEBUG - VM ctest-TestRoutersBasic-15941494-65149301 ID is fa074f67-1a4a-4a93-9be9-ef4e1bb577e8 2025-07-16 12:31:12,000 - DEBUG - VM ctest-TestRoutersBasic-15941494-65149301 launched on Node cn-jenkins-deploy-platform-ansible-os-3643-1 2025-07-16 12:31:12,121 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fa074f67-1a4a-4a93-9be9-ef4e1bb577e8 2025-07-16 12:31:12,454 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fa074f67-1a4a-4a93-9be9-ef4e1bb577e8 2025-07-16 12:31:12,501 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2942adae-07cd-423b-890c-f285d68524b0 2025-07-16 12:31:15,796 - 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 1021ms') 2025-07-16 12:31:15,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15941494-65149301 failed! 2025-07-16 12:31:15,866 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15941494:ctest-vn-87236939 is 34.169.91.129 and allocation pool is NOT set 2025-07-16 12:31:17,941 - 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=7.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.16 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.159/4.083/7.008/2.924 ms') 2025-07-16 12:31:17,941 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15941494-65149301 passed 2025-07-16 12:31:18,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 12:31:18,115 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15941494-65149301, IP 34.169.91.131, Port 22 2025-07-16 12:31:18,303 - DEBUG - VM ctest-TestRoutersBasic-15941494-65149301 is ready for SSH connections 2025-07-16 12:31:18,303 - INFO - Waiting for VM ctest-TestRoutersBasic-15941494-31308961 to be up.. 2025-07-16 12:31:18,420 - DEBUG - VM is in ACTIVE state now 2025-07-16 12:31:18,420 - INFO - VM name : ctest-TestRoutersBasic-15941494-31308961 2025-07-16 12:31:18,539 - DEBUG - VM ctest-TestRoutersBasic-15941494-31308961 ID is ff460605-4837-427a-9713-268e40e7418f 2025-07-16 12:31:18,539 - DEBUG - VM ctest-TestRoutersBasic-15941494-31308961 launched on Node cn-jenkins-deploy-platform-ansible-os-3643-1 2025-07-16 12:31:18,645 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ff460605-4837-427a-9713-268e40e7418f 2025-07-16 12:31:18,657 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/262c9f33-5186-41fb-8be7-db8eace43b4b 2025-07-16 12:31:19,919 - 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=4.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.703 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.703/2.597/4.491/1.894 ms') 2025-07-16 12:31:19,919 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15941494-31308961 passed 2025-07-16 12:31:20,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 12:31:20,090 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15941494-31308961, IP 118.25.131.3, Port 22 2025-07-16 12:31:20,258 - DEBUG - VM ctest-TestRoutersBasic-15941494-31308961 is ready for SSH connections 2025-07-16 12:31:20,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 12:31:20,258 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.25.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-16 12:31:20,258 - DEBUG - ping -s 56 -c 3 -W 1 118.25.131.3 2025-07-16 12:31:24,200 - DEBUG - PING 118.25.131.3 (118.25.131.3): 56 data bytes 64 bytes from 118.25.131.3: seq=0 ttl=62 time=10.417 ms 64 bytes from 118.25.131.3: seq=1 ttl=62 time=1.863 ms 64 bytes from 118.25.131.3: seq=2 ttl=62 time=3.006 ms --- 118.25.131.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.863/5.095/10.417 ms 2025-07-16 12:31:24,200 - INFO - Ping to IP 118.25.131.3 from VM ctest-TestRoutersBasic-15941494-65149301 passed 2025-07-16 12:31:24,201 - INFO - Deleting interface with subnet_id 769730fc-2da1-4155-9069-b87db9b9500d, port_id None from router 1181609b-1f59-452e-9db7-ce3ec3c3ad63 2025-07-16 12:31:24,452 - INFO - Deleting VM ctest-TestRoutersBasic-15941494-31308961 2025-07-16 12:31:24,541 - INFO - Deleting VM ctest-TestRoutersBasic-15941494-65149301 2025-07-16 12:31:24,654 - INFO - Deleting VN ctest-ext_vn-24618831 2025-07-16 12:31:24,747 - DEBUG - VN d9978d24-9b65-41ed-9893-410205c9727c still in use: Unable to complete operation on network d9978d24-9b65-41ed-9893-410205c9727c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ccc2f7cc-6ca0-4b0d-8e69-cefe801fd899'] 2025-07-16 12:31:24,747 - WARNING - Deleting VN ctest-ext_vn-24618831 failed..Will retry 2025-07-16 12:31:26,971 - DEBUG - Response for deleting network () 2025-07-16 12:31:26,971 - INFO - Deleting VN ctest-vn-87236939 2025-07-16 12:31:27,124 - DEBUG - Response for deleting network () 2025-07-16 12:31:27,419 - DEBUG - No XMPP flaps were noticed during the test
2025-07-16 12:31:27,419 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-07-16 12:31:27,419 - INFO - -------------------------------------------------------------------------------- 2025-07-16 12:31:28,266 - INFO - Deleted project: ctest-TestRoutersBasic-15941494, ID : ea9acbb8-f8ec-4e44-80e2-818b6fc88918