2025-08-18 19:42:34,394 - INFO - Domain Default found not creating 2025-08-18 19:42:34,529 - INFO - Project ctest-TestRoutersBasic-79818906 not found, creating it 2025-08-18 19:42:35,003 - INFO - Created Project:ctest-TestRoutersBasic-79818906, ID : 48e3d850-7d2e-4f72-bf14-f051a4d17737 2025-08-18 19:42:36,375 - INFO - ================================================================================ 2025-08-18 19:42:36,375 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-18 19:42:36,375 - 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-08-18 19:42:36,627 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-18 19:42:36,627 - INFO - Initial checks done. Running the testcase now 2025-08-18 19:42:36,628 - INFO - 2025-08-18 19:42:37,309 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79818906 2025-08-18 19:42:37,402 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79818906 2025-08-18 19:42:37,718 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79818906', 'default']} 2025-08-18 19:42:38,006 - DEBUG - Response for create_network : {'network': {'id': 'b5f296f2-0ef3-4fbc-83db-e1575ebc9645', 'name': 'ctest-vn-62077053', 'tenant_id': '48e3d8507d2e4f72bf14f051a4d17737', 'project_id': '48e3d8507d2e4f72bf14f051a4d17737', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79818906', 'ctest-vn-62077053'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:42:38,194 - DEBUG - Response for create_subnet : {'subnet': {'id': '8497dfad-d535-4383-ba1e-5d2a4906869e', 'name': '', 'tenant_id': '48e3d8507d2e4f72bf14f051a4d17737', 'network_id': 'b5f296f2-0ef3-4fbc-83db-e1575ebc9645', 'ip_version': 4, 'cidr': '98.186.221.192/26', 'allocation_pools': [{'start': '98.186.221.194', 'end': '98.186.221.254'}], 'gateway_ip': '98.186.221.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.186.221.194', 'tags': [], 'project_id': '48e3d8507d2e4f72bf14f051a4d17737'}} 2025-08-18 19:42:38,210 - INFO - Created VN ctest-vn-62077053 2025-08-18 19:42:38,266 - DEBUG - VN ctest-vn-62077053 UUID is b5f296f2-0ef3-4fbc-83db-e1575ebc9645 2025-08-18 19:42:38,597 - DEBUG - Response for create_network : {'network': {'id': 'de8891a9-1b5c-4131-9b66-97903d82cc52', 'name': 'ctest-ext_vn-80007946', 'tenant_id': '48e3d8507d2e4f72bf14f051a4d17737', 'project_id': '48e3d8507d2e4f72bf14f051a4d17737', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79818906', 'ctest-ext_vn-80007946'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:42:38,779 - DEBUG - Response for create_subnet : {'subnet': {'id': '61209332-839c-42ef-a0e2-aa65bb47262e', 'name': '', 'tenant_id': '48e3d8507d2e4f72bf14f051a4d17737', 'network_id': 'de8891a9-1b5c-4131-9b66-97903d82cc52', 'ip_version': 4, 'cidr': '1.133.229.64/26', 'allocation_pools': [{'start': '1.133.229.66', 'end': '1.133.229.126'}], 'gateway_ip': '1.133.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.133.229.66', 'tags': [], 'project_id': '48e3d8507d2e4f72bf14f051a4d17737'}} 2025-08-18 19:42:38,794 - INFO - Created VN ctest-ext_vn-80007946 2025-08-18 19:42:38,846 - DEBUG - VN ctest-ext_vn-80007946 UUID is de8891a9-1b5c-4131-9b66-97903d82cc52 2025-08-18 19:42:39,034 - DEBUG - Services list from nova: [, , ] 2025-08-18 19:42:40,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3881-1) 2025-08-18 19:42:41,124 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3881-1) 2025-08-18 19:42:41,200 - INFO - Setting gateway for router 78502fd1-cc48-426b-a22f-1919fc9d163c to network de8891a9-1b5c-4131-9b66-97903d82cc52 2025-08-18 19:42:41,268 - INFO - Adding interface with subnet_id 8497dfad-d535-4383-ba1e-5d2a4906869e, port_id None to router 78502fd1-cc48-426b-a22f-1919fc9d163c 2025-08-18 19:42:41,656 - INFO - Waiting for VM ctest-TestRoutersBasic-79818906-30901839 to be up.. 2025-08-18 19:42:41,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 19:42:46,866 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:42:46,866 - INFO - VM name : ctest-TestRoutersBasic-79818906-30901839 2025-08-18 19:42:46,931 - DEBUG - VM ctest-TestRoutersBasic-79818906-30901839 ID is 37570122-959d-4b09-917b-f8bbd89a961f 2025-08-18 19:42:46,948 - DEBUG - VM ctest-TestRoutersBasic-79818906-30901839 launched on Node cn-jenkins-deploy-platform-ansible-os-3881-1 2025-08-18 19:42:47,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/37570122-959d-4b09-917b-f8bbd89a961f 2025-08-18 19:42:47,299 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/37570122-959d-4b09-917b-f8bbd89a961f 2025-08-18 19:42:47,329 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/65bbc562-e833-49ba-9344-f44d5686748d 2025-08-18 19:42:50,592 - 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 1028ms') 2025-08-18 19:42:50,593 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79818906-30901839 failed! 2025-08-18 19:42:50,650 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79818906:ctest-vn-62077053 is 98.186.221.193 and allocation pool is NOT set 2025-08-18 19:42:52,710 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.334 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.334/1.451/2.569/1.117 ms') 2025-08-18 19:42:52,710 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79818906-30901839 passed 2025-08-18 19:42:52,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:42:52,862 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79818906-30901839, IP 98.186.221.195, Port 22 2025-08-18 19:42:53,013 - DEBUG - VM ctest-TestRoutersBasic-79818906-30901839 is ready for SSH connections 2025-08-18 19:42:53,014 - INFO - Waiting for VM ctest-TestRoutersBasic-79818906-36020634 to be up.. 2025-08-18 19:42:53,086 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:42:53,086 - INFO - VM name : ctest-TestRoutersBasic-79818906-36020634 2025-08-18 19:42:53,154 - DEBUG - VM ctest-TestRoutersBasic-79818906-36020634 ID is ec3b6719-13c2-4757-aa7f-ea3d5c595e35 2025-08-18 19:42:53,154 - DEBUG - VM ctest-TestRoutersBasic-79818906-36020634 launched on Node cn-jenkins-deploy-platform-ansible-os-3881-1 2025-08-18 19:42:53,220 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ec3b6719-13c2-4757-aa7f-ea3d5c595e35 2025-08-18 19:42:53,227 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3d811858-73e1-4845-a1bc-ce770ed76be5 2025-08-18 19:42:54,458 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.532 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.532/1.636/2.741/1.104 ms') 2025-08-18 19:42:54,458 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79818906-36020634 passed 2025-08-18 19:42:54,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:42:54,610 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79818906-36020634, IP 1.133.229.67, Port 22 2025-08-18 19:42:54,762 - DEBUG - VM ctest-TestRoutersBasic-79818906-36020634 is ready for SSH connections 2025-08-18 19:42:54,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:42:54,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.133.229.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-18 19:42:54,762 - DEBUG - ping -s 56 -c 3 -W 1 1.133.229.67 2025-08-18 19:42:58,448 - DEBUG - PING 1.133.229.67 (1.133.229.67): 56 data bytes 64 bytes from 1.133.229.67: seq=0 ttl=62 time=4.966 ms 64 bytes from 1.133.229.67: seq=1 ttl=62 time=0.763 ms 64 bytes from 1.133.229.67: seq=2 ttl=62 time=0.751 ms --- 1.133.229.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.751/2.160/4.966 ms 2025-08-18 19:42:58,449 - INFO - Ping to IP 1.133.229.67 from VM ctest-TestRoutersBasic-79818906-30901839 passed 2025-08-18 19:42:58,449 - INFO - Deleting interface with subnet_id 8497dfad-d535-4383-ba1e-5d2a4906869e, port_id None from router 78502fd1-cc48-426b-a22f-1919fc9d163c 2025-08-18 19:42:58,619 - INFO - Deleting VM ctest-TestRoutersBasic-79818906-36020634 2025-08-18 19:42:58,678 - INFO - Deleting VM ctest-TestRoutersBasic-79818906-30901839 2025-08-18 19:42:58,745 - INFO - Deleting VN ctest-ext_vn-80007946 2025-08-18 19:42:58,806 - DEBUG - VN de8891a9-1b5c-4131-9b66-97903d82cc52 still in use: Unable to complete operation on network de8891a9-1b5c-4131-9b66-97903d82cc52. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6a95ac1f-147f-4e13-8f98-20a1429580e3'] 2025-08-18 19:42:58,806 - WARNING - Deleting VN ctest-ext_vn-80007946 failed..Will retry 2025-08-18 19:43:00,929 - DEBUG - Response for deleting network () 2025-08-18 19:43:00,929 - INFO - Deleting VN ctest-vn-62077053 2025-08-18 19:43:01,052 - DEBUG - Response for deleting network () 2025-08-18 19:43:01,311 - DEBUG - No XMPP flaps were noticed during the test 2025-08-18 19:43:01,311 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-08-18 19:43:01,311 - INFO - -------------------------------------------------------------------------------- 2025-08-18 19:43:01,977 - INFO - Deleted project: ctest-TestRoutersBasic-79818906, ID : 48e3d850-7d2e-4f72-bf14-f051a4d17737