2025-10-21 15:24:36,854 - INFO - Domain Default found not creating 2025-10-21 15:24:36,986 - INFO - Project ctest-TestRoutersBasic-13271021 not found, creating it 2025-10-21 15:24:37,436 - INFO - Created Project:ctest-TestRoutersBasic-13271021, ID : 80530671-6bf6-4b9a-b003-6e080fc1be05 2025-10-21 15:24:38,828 - INFO - ================================================================================ 2025-10-21 15:24:38,828 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-21 15:24:38,829 - 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-21 15:24:39,079 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-10-21 15:24:39,079 - INFO - Initial checks done. Running the testcase now 2025-10-21 15:24:39,079 - INFO - 2025-10-21 15:24:40,214 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13271021 2025-10-21 15:24:40,310 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13271021 2025-10-21 15:24:40,622 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13271021', 'default']} 2025-10-21 15:24:40,892 - DEBUG - Response for create_network : {'network': {'id': 'faeda6bf-85b8-4cdb-864a-65e669300b18', 'name': 'ctest-vn-72050087', 'tenant_id': '805306716bf64b9ab0036e080fc1be05', 'project_id': '805306716bf64b9ab0036e080fc1be05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13271021', 'ctest-vn-72050087'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 15:24:41,055 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1621175-dcf8-4cb4-87d7-5d0196e7f26e', 'name': '', 'tenant_id': '805306716bf64b9ab0036e080fc1be05', 'network_id': 'faeda6bf-85b8-4cdb-864a-65e669300b18', 'ip_version': 4, 'cidr': '83.18.99.128/26', 'allocation_pools': [{'start': '83.18.99.130', 'end': '83.18.99.190'}], 'gateway_ip': '83.18.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.18.99.130', 'tags': [], 'project_id': '805306716bf64b9ab0036e080fc1be05'}} 2025-10-21 15:24:41,071 - INFO - Created VN ctest-vn-72050087 2025-10-21 15:24:41,122 - DEBUG - VN ctest-vn-72050087 UUID is faeda6bf-85b8-4cdb-864a-65e669300b18 2025-10-21 15:24:41,453 - DEBUG - Response for create_network : {'network': {'id': 'e4c1bdb4-9696-4d3f-bdd6-c13f6390ffe4', 'name': 'ctest-ext_vn-52473959', 'tenant_id': '805306716bf64b9ab0036e080fc1be05', 'project_id': '805306716bf64b9ab0036e080fc1be05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13271021', 'ctest-ext_vn-52473959'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 15:24:41,660 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1bac310-5df5-46c9-9eaa-67e459843d84', 'name': '', 'tenant_id': '805306716bf64b9ab0036e080fc1be05', 'network_id': 'e4c1bdb4-9696-4d3f-bdd6-c13f6390ffe4', 'ip_version': 4, 'cidr': '160.105.148.64/26', 'allocation_pools': [{'start': '160.105.148.66', 'end': '160.105.148.126'}], 'gateway_ip': '160.105.148.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.105.148.66', 'tags': [], 'project_id': '805306716bf64b9ab0036e080fc1be05'}} 2025-10-21 15:24:41,676 - INFO - Created VN ctest-ext_vn-52473959 2025-10-21 15:24:41,730 - DEBUG - VN ctest-ext_vn-52473959 UUID is e4c1bdb4-9696-4d3f-bdd6-c13f6390ffe4 2025-10-21 15:24:41,919 - DEBUG - Services list from nova: [, , ] 2025-10-21 15:24:42,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4396-1) 2025-10-21 15:24:43,948 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4396-1) 2025-10-21 15:24:44,043 - INFO - Setting gateway for router 1d94118b-fc80-4967-930b-f0e3be1a29f1 to network e4c1bdb4-9696-4d3f-bdd6-c13f6390ffe4 2025-10-21 15:24:44,107 - INFO - Adding interface with subnet_id f1621175-dcf8-4cb4-87d7-5d0196e7f26e, port_id None to router 1d94118b-fc80-4967-930b-f0e3be1a29f1 2025-10-21 15:24:44,480 - INFO - Waiting for VM ctest-TestRoutersBasic-13271021-43644844 to be up.. 2025-10-21 15:24:44,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 15:24:49,718 - DEBUG - VM is in ACTIVE state now 2025-10-21 15:24:49,718 - INFO - VM name : ctest-TestRoutersBasic-13271021-43644844 2025-10-21 15:24:49,788 - DEBUG - VM ctest-TestRoutersBasic-13271021-43644844 ID is f63e3ab6-7ed0-43ae-a514-eb4072714ec8 2025-10-21 15:24:49,813 - DEBUG - VM ctest-TestRoutersBasic-13271021-43644844 launched on Node cn-jenkins-deploy-platform-ansible-os-4396-1 2025-10-21 15:24:49,898 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f63e3ab6-7ed0-43ae-a514-eb4072714ec8 2025-10-21 15:24:50,192 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f63e3ab6-7ed0-43ae-a514-eb4072714ec8 2025-10-21 15:24:50,223 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/8be36e01-d997-41e6-a033-ca394e3194ea 2025-10-21 15:24:53,456 - 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 1001ms') 2025-10-21 15:24:53,456 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13271021-43644844 failed! 2025-10-21 15:24:53,510 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13271021:ctest-vn-72050087 is 83.18.99.129 and allocation pool is NOT set 2025-10-21 15:24:55,574 - 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=3.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.707 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 = 0.707/1.966/3.226/1.259 ms') 2025-10-21 15:24:55,574 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13271021-43644844 passed 2025-10-21 15:24:55,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:24:55,722 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13271021-43644844, IP 83.18.99.131, Port 22 2025-10-21 15:24:55,873 - DEBUG - VM ctest-TestRoutersBasic-13271021-43644844 is ready for SSH connections 2025-10-21 15:24:55,873 - INFO - Waiting for VM ctest-TestRoutersBasic-13271021-01519032 to be up.. 2025-10-21 15:24:55,939 - DEBUG - VM is in ACTIVE state now 2025-10-21 15:24:55,939 - INFO - VM name : ctest-TestRoutersBasic-13271021-01519032 2025-10-21 15:24:56,005 - DEBUG - VM ctest-TestRoutersBasic-13271021-01519032 ID is 05679f53-edb1-4a44-8791-21237cc07ef3 2025-10-21 15:24:56,005 - DEBUG - VM ctest-TestRoutersBasic-13271021-01519032 launched on Node cn-jenkins-deploy-platform-ansible-os-4396-1 2025-10-21 15:24:56,076 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/05679f53-edb1-4a44-8791-21237cc07ef3 2025-10-21 15:24:56,085 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/9e20db5e-2d86-4361-9dd3-13368601895e 2025-10-21 15:24:57,326 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.816/3.223/1.406 ms') 2025-10-21 15:24:57,326 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13271021-01519032 passed 2025-10-21 15:24:57,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:24:57,478 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13271021-01519032, IP 160.105.148.67, Port 22 2025-10-21 15:24:57,642 - DEBUG - VM ctest-TestRoutersBasic-13271021-01519032 is ready for SSH connections 2025-10-21 15:24:57,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:24:57,642 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.105.148.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-21 15:24:57,642 - DEBUG - ping -s 56 -c 3 -W 1 160.105.148.67 2025-10-21 15:25:01,607 - DEBUG - PING 160.105.148.67 (160.105.148.67): 56 data bytes 64 bytes from 160.105.148.67: seq=0 ttl=62 time=5.317 ms 64 bytes from 160.105.148.67: seq=1 ttl=62 time=1.161 ms 64 bytes from 160.105.148.67: seq=2 ttl=62 time=0.776 ms --- 160.105.148.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.776/2.418/5.317 ms 2025-10-21 15:25:01,607 - INFO - Ping to IP 160.105.148.67 from VM ctest-TestRoutersBasic-13271021-43644844 passed 2025-10-21 15:25:01,608 - INFO - Deleting interface with subnet_id f1621175-dcf8-4cb4-87d7-5d0196e7f26e, port_id None from router 1d94118b-fc80-4967-930b-f0e3be1a29f1 2025-10-21 15:25:01,787 - INFO - Deleting VM ctest-TestRoutersBasic-13271021-01519032 2025-10-21 15:25:01,849 - INFO - Deleting VM ctest-TestRoutersBasic-13271021-43644844 2025-10-21 15:25:01,949 - INFO - Deleting VN ctest-ext_vn-52473959 2025-10-21 15:25:02,023 - DEBUG - VN e4c1bdb4-9696-4d3f-bdd6-c13f6390ffe4 still in use: Unable to complete operation on network e4c1bdb4-9696-4d3f-bdd6-c13f6390ffe4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a24970a9-e37f-499d-bc9e-290e06111d22'] 2025-10-21 15:25:02,023 - WARNING - Deleting VN ctest-ext_vn-52473959 failed..Will retry 2025-10-21 15:25:04,116 - DEBUG - Response for deleting network () 2025-10-21 15:25:04,116 - INFO - Deleting VN ctest-vn-72050087 2025-10-21 15:25:04,204 - DEBUG - Response for deleting network () 2025-10-21 15:25:04,462 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 15:25:04,462 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-21 15:25:04,462 - INFO - -------------------------------------------------------------------------------- 2025-10-21 15:25:05,146 - INFO - Deleted project: ctest-TestRoutersBasic-13271021, ID : 80530671-6bf6-4b9a-b003-6e080fc1be05