2025-12-08 19:25:26,627 - INFO - Domain Default found not creating 2025-12-08 19:25:26,795 - INFO - Project ctest-TestRoutersBasic-36152860 not found, creating it 2025-12-08 19:25:27,295 - INFO - Created Project:ctest-TestRoutersBasic-36152860, ID : 65200fdf-a893-4df6-802c-70cbfd0f6dba 2025-12-08 19:25:28,782 - INFO - ================================================================================ 2025-12-08 19:25:28,782 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-08 19:25:28,782 - 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-12-08 19:25:29,036 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-12-08 19:25:29,036 - INFO - Initial checks done. Running the testcase now 2025-12-08 19:25:29,036 - INFO - 2025-12-08 19:25:29,768 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36152860 2025-12-08 19:25:29,862 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36152860 2025-12-08 19:25:30,185 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36152860', 'default']} 2025-12-08 19:25:30,501 - DEBUG - Response for create_network : {'network': {'id': 'c4f6c384-ac9c-4e31-8e46-07ce91a7e1f0', 'name': 'ctest-vn-41597131', 'tenant_id': '65200fdfa8934df6802c70cbfd0f6dba', 'project_id': '65200fdfa8934df6802c70cbfd0f6dba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36152860', 'ctest-vn-41597131'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 19:25:30,646 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a82e8817-5a78-4993-b24a-afe9dee11f28', 'name': '', 'tenant_id': '65200fdfa8934df6802c70cbfd0f6dba', 'network_id': 'c4f6c384-ac9c-4e31-8e46-07ce91a7e1f0', 'ip_version': 4, 'cidr': '119.202.155.128/26', 'allocation_pools': [{'start': '119.202.155.130', 'end': '119.202.155.190'}], 'gateway_ip': '119.202.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.202.155.130', 'tags': [], 'project_id': '65200fdfa8934df6802c70cbfd0f6dba'}} 2025-12-08 19:25:30,667 - INFO - Created VN ctest-vn-41597131 2025-12-08 19:25:30,718 - DEBUG - VN ctest-vn-41597131 UUID is c4f6c384-ac9c-4e31-8e46-07ce91a7e1f0 2025-12-08 19:25:31,071 - DEBUG - Response for create_network : {'network': {'id': 'c08707b9-4093-4e2e-aee4-a589f05567ce', 'name': 'ctest-ext_vn-46057670', 'tenant_id': '65200fdfa8934df6802c70cbfd0f6dba', 'project_id': '65200fdfa8934df6802c70cbfd0f6dba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36152860', 'ctest-ext_vn-46057670'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 19:25:31,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '59339bf5-8d71-435e-9992-59fe6e05e914', 'name': '', 'tenant_id': '65200fdfa8934df6802c70cbfd0f6dba', 'network_id': 'c08707b9-4093-4e2e-aee4-a589f05567ce', 'ip_version': 4, 'cidr': '72.137.55.128/26', 'allocation_pools': [{'start': '72.137.55.130', 'end': '72.137.55.190'}], 'gateway_ip': '72.137.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.137.55.130', 'tags': [], 'project_id': '65200fdfa8934df6802c70cbfd0f6dba'}} 2025-12-08 19:25:31,268 - INFO - Created VN ctest-ext_vn-46057670 2025-12-08 19:25:31,318 - DEBUG - VN ctest-ext_vn-46057670 UUID is c08707b9-4093-4e2e-aee4-a589f05567ce 2025-12-08 19:25:31,519 - DEBUG - Services list from nova: [, , ] 2025-12-08 19:25:32,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4858-1) 2025-12-08 19:25:33,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4858-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4858-1) 2025-12-08 19:25:33,824 - INFO - Setting gateway for router d666da7b-0156-4b20-b2eb-73a8eeee3f7a to network c08707b9-4093-4e2e-aee4-a589f05567ce 2025-12-08 19:25:33,901 - INFO - Adding interface with subnet_id a82e8817-5a78-4993-b24a-afe9dee11f28, port_id None to router d666da7b-0156-4b20-b2eb-73a8eeee3f7a 2025-12-08 19:25:34,201 - INFO - Waiting for VM ctest-TestRoutersBasic-36152860-66827961 to be up.. 2025-12-08 19:25:34,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 19:25:39,412 - DEBUG - VM is in ACTIVE state now 2025-12-08 19:25:39,412 - INFO - VM name : ctest-TestRoutersBasic-36152860-66827961 2025-12-08 19:25:39,491 - DEBUG - VM ctest-TestRoutersBasic-36152860-66827961 ID is 498229b7-0c26-455a-824e-2c18d6cacd0b 2025-12-08 19:25:39,510 - DEBUG - VM ctest-TestRoutersBasic-36152860-66827961 launched on Node cn-jenkins-deploy-platform-ansible-os-4858-1 2025-12-08 19:25:39,588 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/498229b7-0c26-455a-824e-2c18d6cacd0b 2025-12-08 19:25:39,885 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/498229b7-0c26-455a-824e-2c18d6cacd0b 2025-12-08 19:25:39,921 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d7a43ea3-5b5a-494b-97e0-90a6372e2485 2025-12-08 19:25:43,182 - 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 1011ms') 2025-12-08 19:25:43,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36152860-66827961 failed! 2025-12-08 19:25:43,238 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36152860:ctest-vn-41597131 is 119.202.155.129 and allocation pool is NOT set 2025-12-08 19:25:45,307 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.86 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 = 1.862/3.237/4.612/1.375 ms') 2025-12-08 19:25:45,307 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36152860-66827961 passed 2025-12-08 19:25:45,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:25:45,462 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36152860-66827961, IP 119.202.155.131, Port 22 2025-12-08 19:25:45,617 - DEBUG - VM ctest-TestRoutersBasic-36152860-66827961 is ready for SSH connections 2025-12-08 19:25:45,617 - INFO - Waiting for VM ctest-TestRoutersBasic-36152860-90048371 to be up.. 2025-12-08 19:25:45,704 - DEBUG - VM is in ACTIVE state now 2025-12-08 19:25:45,704 - INFO - VM name : ctest-TestRoutersBasic-36152860-90048371 2025-12-08 19:25:45,784 - DEBUG - VM ctest-TestRoutersBasic-36152860-90048371 ID is c720d4a4-7d79-4182-9ee9-58c946791481 2025-12-08 19:25:45,784 - DEBUG - VM ctest-TestRoutersBasic-36152860-90048371 launched on Node cn-jenkins-deploy-platform-ansible-os-4858-1 2025-12-08 19:25:45,877 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c720d4a4-7d79-4182-9ee9-58c946791481 2025-12-08 19:25:45,887 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/56c692fe-94aa-4df3-b090-2f8a2b0a1829 2025-12-08 19:25:47,125 - 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=3.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.742 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.742/1.960/3.179/1.218 ms') 2025-12-08 19:25:47,126 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36152860-90048371 passed 2025-12-08 19:25:47,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:25:47,274 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36152860-90048371, IP 72.137.55.131, Port 22 2025-12-08 19:25:47,430 - DEBUG - VM ctest-TestRoutersBasic-36152860-90048371 is ready for SSH connections 2025-12-08 19:25:47,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:25:47,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.137.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 19:25:47,430 - DEBUG - ping -s 56 -c 3 -W 1 72.137.55.131 2025-12-08 19:25:51,151 - DEBUG - PING 72.137.55.131 (72.137.55.131): 56 data bytes 64 bytes from 72.137.55.131: seq=0 ttl=62 time=4.767 ms 64 bytes from 72.137.55.131: seq=1 ttl=62 time=1.157 ms 64 bytes from 72.137.55.131: seq=2 ttl=62 time=0.861 ms --- 72.137.55.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/2.261/4.767 ms 2025-12-08 19:25:51,151 - INFO - Ping to IP 72.137.55.131 from VM ctest-TestRoutersBasic-36152860-66827961 passed 2025-12-08 19:25:51,151 - INFO - Deleting interface with subnet_id a82e8817-5a78-4993-b24a-afe9dee11f28, port_id None from router d666da7b-0156-4b20-b2eb-73a8eeee3f7a 2025-12-08 19:25:51,327 - INFO - Deleting VM ctest-TestRoutersBasic-36152860-90048371 2025-12-08 19:25:51,396 - INFO - Deleting VM ctest-TestRoutersBasic-36152860-66827961 2025-12-08 19:25:51,472 - INFO - Deleting VN ctest-ext_vn-46057670 2025-12-08 19:25:51,539 - DEBUG - VN c08707b9-4093-4e2e-aee4-a589f05567ce still in use: Unable to complete operation on network c08707b9-4093-4e2e-aee4-a589f05567ce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-70f90175-ef62-4544-87db-82094f225366'] 2025-12-08 19:25:51,540 - WARNING - Deleting VN ctest-ext_vn-46057670 failed..Will retry 2025-12-08 19:25:53,641 - DEBUG - Response for deleting network () 2025-12-08 19:25:53,641 - INFO - Deleting VN ctest-vn-41597131 2025-12-08 19:25:53,738 - DEBUG - Response for deleting network () 2025-12-08 19:25:53,990 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 19:25:53,991 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-08 19:25:53,991 - INFO - -------------------------------------------------------------------------------- 2025-12-08 19:25:54,679 - INFO - Deleted project: ctest-TestRoutersBasic-36152860, ID : 65200fdf-a893-4df6-802c-70cbfd0f6dba