2025-11-01 19:23:29,342 - INFO - Domain Default found not creating 2025-11-01 19:23:29,494 - INFO - Project ctest-TestRoutersBasic-16388512 not found, creating it 2025-11-01 19:23:29,983 - INFO - Created Project:ctest-TestRoutersBasic-16388512, ID : dcac2945-d716-48cf-b87b-9fb3fe626f6f 2025-11-01 19:23:31,463 - INFO - ================================================================================ 2025-11-01 19:23:31,464 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-01 19:23:31,464 - 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-11-01 19:23:31,734 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-01 19:23:31,735 - INFO - Initial checks done. Running the testcase now 2025-11-01 19:23:31,735 - INFO - 2025-11-01 19:23:32,456 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16388512 2025-11-01 19:23:32,550 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16388512 2025-11-01 19:23:32,870 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16388512', 'default']} 2025-11-01 19:23:33,185 - DEBUG - Response for create_network : {'network': {'id': 'd07b0d31-2f10-4cdf-b085-dde0f513e647', 'name': 'ctest-vn-60918664', 'tenant_id': 'dcac2945d71648cfb87b9fb3fe626f6f', 'project_id': 'dcac2945d71648cfb87b9fb3fe626f6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16388512', 'ctest-vn-60918664'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 19:23:33,337 - DEBUG - Response for create_subnet : {'subnet': {'id': '27ba9a88-3cd9-47ac-beff-a6c88ab419f0', 'name': '', 'tenant_id': 'dcac2945d71648cfb87b9fb3fe626f6f', 'network_id': 'd07b0d31-2f10-4cdf-b085-dde0f513e647', 'ip_version': 4, 'cidr': '189.114.106.0/26', 'allocation_pools': [{'start': '189.114.106.2', 'end': '189.114.106.62'}], 'gateway_ip': '189.114.106.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.114.106.2', 'tags': [], 'project_id': 'dcac2945d71648cfb87b9fb3fe626f6f'}} 2025-11-01 19:23:33,355 - INFO - Created VN ctest-vn-60918664 2025-11-01 19:23:33,406 - DEBUG - VN ctest-vn-60918664 UUID is d07b0d31-2f10-4cdf-b085-dde0f513e647 2025-11-01 19:23:33,717 - DEBUG - Response for create_network : {'network': {'id': '5fc7f6e2-9c6b-451d-9db3-615dfe7f789e', 'name': 'ctest-ext_vn-35612548', 'tenant_id': 'dcac2945d71648cfb87b9fb3fe626f6f', 'project_id': 'dcac2945d71648cfb87b9fb3fe626f6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16388512', 'ctest-ext_vn-35612548'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 19:23:33,944 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb7096dc-f525-4bf4-bf78-7b719df8b8e7', 'name': '', 'tenant_id': 'dcac2945d71648cfb87b9fb3fe626f6f', 'network_id': '5fc7f6e2-9c6b-451d-9db3-615dfe7f789e', 'ip_version': 4, 'cidr': '39.193.28.192/26', 'allocation_pools': [{'start': '39.193.28.194', 'end': '39.193.28.254'}], 'gateway_ip': '39.193.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.193.28.194', 'tags': [], 'project_id': 'dcac2945d71648cfb87b9fb3fe626f6f'}} 2025-11-01 19:23:33,963 - INFO - Created VN ctest-ext_vn-35612548 2025-11-01 19:23:34,014 - DEBUG - VN ctest-ext_vn-35612548 UUID is 5fc7f6e2-9c6b-451d-9db3-615dfe7f789e 2025-11-01 19:23:34,178 - DEBUG - Services list from nova: [, , ] 2025-11-01 19:23:35,227 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4591-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4591-1) 2025-11-01 19:23:36,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4591-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4591-1) 2025-11-01 19:23:36,483 - INFO - Setting gateway for router d356e981-f8a0-49ea-99a9-881c5592d2d1 to network 5fc7f6e2-9c6b-451d-9db3-615dfe7f789e 2025-11-01 19:23:36,555 - INFO - Adding interface with subnet_id 27ba9a88-3cd9-47ac-beff-a6c88ab419f0, port_id None to router d356e981-f8a0-49ea-99a9-881c5592d2d1 2025-11-01 19:23:36,835 - INFO - Waiting for VM ctest-TestRoutersBasic-16388512-94324764 to be up.. 2025-11-01 19:23:36,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 19:23:42,046 - DEBUG - VM is in ACTIVE state now 2025-11-01 19:23:42,046 - INFO - VM name : ctest-TestRoutersBasic-16388512-94324764 2025-11-01 19:23:42,124 - DEBUG - VM ctest-TestRoutersBasic-16388512-94324764 ID is 74fe774b-f22d-4c65-ae5b-22077896c779 2025-11-01 19:23:42,147 - DEBUG - VM ctest-TestRoutersBasic-16388512-94324764 launched on Node cn-jenkins-deploy-platform-ansible-os-4591-1 2025-11-01 19:23:42,229 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/74fe774b-f22d-4c65-ae5b-22077896c779 2025-11-01 19:23:42,540 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/74fe774b-f22d-4c65-ae5b-22077896c779 2025-11-01 19:23:42,573 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/02ff64e4-ea39-4136-bea9-3dc1ff736d9c 2025-11-01 19:23:45,819 - 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') 2025-11-01 19:23:45,819 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16388512-94324764 failed! 2025-11-01 19:23:45,874 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16388512:ctest-vn-60918664 is 189.114.106.1 and allocation pool is NOT set 2025-11-01 19:23:47,936 - 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=5.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 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.280/3.310/5.341/2.030 ms') 2025-11-01 19:23:47,936 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16388512-94324764 passed 2025-11-01 19:23:48,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:23:48,086 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16388512-94324764, IP 189.114.106.3, Port 22 2025-11-01 19:23:48,245 - DEBUG - VM ctest-TestRoutersBasic-16388512-94324764 is ready for SSH connections 2025-11-01 19:23:48,245 - INFO - Waiting for VM ctest-TestRoutersBasic-16388512-01371960 to be up.. 2025-11-01 19:23:48,336 - DEBUG - VM is in ACTIVE state now 2025-11-01 19:23:48,336 - INFO - VM name : ctest-TestRoutersBasic-16388512-01371960 2025-11-01 19:23:48,417 - DEBUG - VM ctest-TestRoutersBasic-16388512-01371960 ID is c7d5037a-de87-4bc5-8594-fccdb5c01a11 2025-11-01 19:23:48,417 - DEBUG - VM ctest-TestRoutersBasic-16388512-01371960 launched on Node cn-jenkins-deploy-platform-ansible-os-4591-1 2025-11-01 19:23:48,491 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/c7d5037a-de87-4bc5-8594-fccdb5c01a11 2025-11-01 19:23:48,500 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/47356fb5-4f63-4462-a1bd-c4319068b895 2025-11-01 19:23:49,743 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.27 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 = 1.272/2.750/4.229/1.478 ms') 2025-11-01 19:23:49,743 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16388512-01371960 passed 2025-11-01 19:23:49,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:23:49,894 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16388512-01371960, IP 39.193.28.195, Port 22 2025-11-01 19:23:50,054 - DEBUG - VM ctest-TestRoutersBasic-16388512-01371960 is ready for SSH connections 2025-11-01 19:23:50,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:23:50,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.193.28.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-01 19:23:50,054 - DEBUG - ping -s 56 -c 3 -W 1 39.193.28.195 2025-11-01 19:23:53,752 - DEBUG - PING 39.193.28.195 (39.193.28.195): 56 data bytes 64 bytes from 39.193.28.195: seq=0 ttl=62 time=5.957 ms 64 bytes from 39.193.28.195: seq=1 ttl=62 time=0.911 ms 64 bytes from 39.193.28.195: seq=2 ttl=62 time=1.177 ms --- 39.193.28.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/2.681/5.957 ms 2025-11-01 19:23:53,752 - INFO - Ping to IP 39.193.28.195 from VM ctest-TestRoutersBasic-16388512-94324764 passed 2025-11-01 19:23:53,752 - INFO - Deleting interface with subnet_id 27ba9a88-3cd9-47ac-beff-a6c88ab419f0, port_id None from router d356e981-f8a0-49ea-99a9-881c5592d2d1 2025-11-01 19:23:53,929 - INFO - Deleting VM ctest-TestRoutersBasic-16388512-01371960 2025-11-01 19:23:54,007 - INFO - Deleting VM ctest-TestRoutersBasic-16388512-94324764 2025-11-01 19:23:54,090 - INFO - Deleting VN ctest-ext_vn-35612548 2025-11-01 19:23:54,185 - DEBUG - VN 5fc7f6e2-9c6b-451d-9db3-615dfe7f789e still in use: Unable to complete operation on network 5fc7f6e2-9c6b-451d-9db3-615dfe7f789e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50fd18a2-6bff-4db1-a8ac-d971b0eb45c9'] 2025-11-01 19:23:54,186 - WARNING - Deleting VN ctest-ext_vn-35612548 failed..Will retry 2025-11-01 19:23:56,282 - DEBUG - Response for deleting network () 2025-11-01 19:23:56,282 - INFO - Deleting VN ctest-vn-60918664 2025-11-01 19:23:56,387 - DEBUG - Response for deleting network () 2025-11-01 19:23:56,646 - DEBUG - No XMPP flaps were noticed during the test 2025-11-01 19:23:56,646 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-01 19:23:56,646 - INFO - -------------------------------------------------------------------------------- 2025-11-01 19:23:57,375 - INFO - Deleted project: ctest-TestRoutersBasic-16388512, ID : dcac2945-d716-48cf-b87b-9fb3fe626f6f