2025-11-22 06:36:26,232 - INFO - Domain Default found not creating 2025-11-22 06:36:26,413 - INFO - Project ctest-TestRoutersBasic-27388117 not found, creating it 2025-11-22 06:36:26,881 - INFO - Created Project:ctest-TestRoutersBasic-27388117, ID : 26bda9b0-ce17-4356-91e2-87e12287d14f 2025-11-22 06:36:28,520 - INFO - ================================================================================ 2025-11-22 06:36:28,520 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-22 06:36:28,520 - 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-22 06:36:28,778 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-22 06:36:28,778 - INFO - Initial checks done. Running the testcase now 2025-11-22 06:36:28,779 - INFO - 2025-11-22 06:36:29,509 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27388117 2025-11-22 06:36:29,608 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27388117 2025-11-22 06:36:29,932 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27388117', 'default']} 2025-11-22 06:36:30,238 - DEBUG - Response for create_network : {'network': {'id': '7b3a1cbb-98d4-4b8a-a9b2-5a3e127c6e25', 'name': 'ctest-vn-90244132', 'tenant_id': '26bda9b0ce17435691e287e12287d14f', 'project_id': '26bda9b0ce17435691e287e12287d14f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27388117', 'ctest-vn-90244132'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 06:36:30,444 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7e36dd1-d89f-4508-9d77-6c904d9e1c34', 'name': '', 'tenant_id': '26bda9b0ce17435691e287e12287d14f', 'network_id': '7b3a1cbb-98d4-4b8a-a9b2-5a3e127c6e25', 'ip_version': 4, 'cidr': '154.131.76.128/26', 'allocation_pools': [{'start': '154.131.76.130', 'end': '154.131.76.190'}], 'gateway_ip': '154.131.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.131.76.130', 'tags': [], 'project_id': '26bda9b0ce17435691e287e12287d14f'}} 2025-11-22 06:36:30,464 - INFO - Created VN ctest-vn-90244132 2025-11-22 06:36:30,516 - DEBUG - VN ctest-vn-90244132 UUID is 7b3a1cbb-98d4-4b8a-a9b2-5a3e127c6e25 2025-11-22 06:36:30,834 - DEBUG - Response for create_network : {'network': {'id': '3bbbaf9d-6e93-491c-9706-aff6e23e1187', 'name': 'ctest-ext_vn-11252094', 'tenant_id': '26bda9b0ce17435691e287e12287d14f', 'project_id': '26bda9b0ce17435691e287e12287d14f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27388117', 'ctest-ext_vn-11252094'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 06:36:30,993 - DEBUG - Response for create_subnet : {'subnet': {'id': '120aa733-d22f-43e1-b2b9-4eb82ec8caf8', 'name': '', 'tenant_id': '26bda9b0ce17435691e287e12287d14f', 'network_id': '3bbbaf9d-6e93-491c-9706-aff6e23e1187', 'ip_version': 4, 'cidr': '156.224.209.128/26', 'allocation_pools': [{'start': '156.224.209.130', 'end': '156.224.209.190'}], 'gateway_ip': '156.224.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.224.209.130', 'tags': [], 'project_id': '26bda9b0ce17435691e287e12287d14f'}} 2025-11-22 06:36:31,013 - INFO - Created VN ctest-ext_vn-11252094 2025-11-22 06:36:31,064 - DEBUG - VN ctest-ext_vn-11252094 UUID is 3bbbaf9d-6e93-491c-9706-aff6e23e1187 2025-11-22 06:36:31,239 - DEBUG - Services list from nova: [, , ] 2025-11-22 06:36:32,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4797-1) 2025-11-22 06:36:33,510 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4797-1) 2025-11-22 06:36:33,591 - INFO - Setting gateway for router a1ae4270-e7b3-4954-9413-1c86a9ab37a9 to network 3bbbaf9d-6e93-491c-9706-aff6e23e1187 2025-11-22 06:36:33,671 - INFO - Adding interface with subnet_id b7e36dd1-d89f-4508-9d77-6c904d9e1c34, port_id None to router a1ae4270-e7b3-4954-9413-1c86a9ab37a9 2025-11-22 06:36:34,025 - INFO - Waiting for VM ctest-TestRoutersBasic-27388117-10376618 to be up.. 2025-11-22 06:36:34,205 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-22 06:36:39,305 - DEBUG - VM is in ACTIVE state now 2025-11-22 06:36:39,305 - INFO - VM name : ctest-TestRoutersBasic-27388117-10376618 2025-11-22 06:36:39,391 - DEBUG - VM ctest-TestRoutersBasic-27388117-10376618 ID is 8d834aaf-7860-42a5-b380-4069b9e4aad5 2025-11-22 06:36:39,416 - DEBUG - VM ctest-TestRoutersBasic-27388117-10376618 launched on Node cn-jenkins-deploy-platform-ansible-os-4797-1 2025-11-22 06:36:39,517 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8d834aaf-7860-42a5-b380-4069b9e4aad5 2025-11-22 06:36:39,828 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8d834aaf-7860-42a5-b380-4069b9e4aad5 2025-11-22 06:36:39,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b9176e79-9935-4f58-9e1b-faefef550311 2025-11-22 06:36:43,154 - 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 1014ms') 2025-11-22 06:36:43,154 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27388117-10376618 failed! 2025-11-22 06:36:43,208 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27388117:ctest-vn-90244132 is 154.131.76.129 and allocation pool is NOT set 2025-11-22 06:36:45,274 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 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.470/2.013/3.556/1.543 ms') 2025-11-22 06:36:45,274 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27388117-10376618 passed 2025-11-22 06:36:45,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:36:45,428 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27388117-10376618, IP 154.131.76.131, Port 22 2025-11-22 06:36:45,598 - DEBUG - VM ctest-TestRoutersBasic-27388117-10376618 is ready for SSH connections 2025-11-22 06:36:45,598 - INFO - Waiting for VM ctest-TestRoutersBasic-27388117-69543851 to be up.. 2025-11-22 06:36:45,682 - DEBUG - VM is in ACTIVE state now 2025-11-22 06:36:45,683 - INFO - VM name : ctest-TestRoutersBasic-27388117-69543851 2025-11-22 06:36:45,758 - DEBUG - VM ctest-TestRoutersBasic-27388117-69543851 ID is 4878c3d2-c0ba-431f-ac57-d91fde80a976 2025-11-22 06:36:45,759 - DEBUG - VM ctest-TestRoutersBasic-27388117-69543851 launched on Node cn-jenkins-deploy-platform-ansible-os-4797-1 2025-11-22 06:36:45,839 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4878c3d2-c0ba-431f-ac57-d91fde80a976 2025-11-22 06:36:45,848 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0f2614eb-7814-40b1-9684-ab4b4417f69c 2025-11-22 06:36:47,092 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.595 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.595/1.854/3.114/1.259 ms') 2025-11-22 06:36:47,092 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27388117-69543851 passed 2025-11-22 06:36:47,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:36:47,244 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27388117-69543851, IP 156.224.209.131, Port 22 2025-11-22 06:36:47,411 - DEBUG - VM ctest-TestRoutersBasic-27388117-69543851 is ready for SSH connections 2025-11-22 06:36:47,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:36:47,411 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.224.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-22 06:36:47,411 - DEBUG - ping -s 56 -c 3 -W 1 156.224.209.131 2025-11-22 06:36:51,145 - DEBUG - PING 156.224.209.131 (156.224.209.131): 56 data bytes 64 bytes from 156.224.209.131: seq=0 ttl=62 time=7.986 ms 64 bytes from 156.224.209.131: seq=1 ttl=62 time=0.968 ms 64 bytes from 156.224.209.131: seq=2 ttl=62 time=1.228 ms --- 156.224.209.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.968/3.394/7.986 ms 2025-11-22 06:36:51,145 - INFO - Ping to IP 156.224.209.131 from VM ctest-TestRoutersBasic-27388117-10376618 passed 2025-11-22 06:36:51,145 - INFO - Deleting interface with subnet_id b7e36dd1-d89f-4508-9d77-6c904d9e1c34, port_id None from router a1ae4270-e7b3-4954-9413-1c86a9ab37a9 2025-11-22 06:36:51,340 - INFO - Deleting VM ctest-TestRoutersBasic-27388117-69543851 2025-11-22 06:36:51,418 - INFO - Deleting VM ctest-TestRoutersBasic-27388117-10376618 2025-11-22 06:36:51,512 - INFO - Deleting VN ctest-ext_vn-11252094 2025-11-22 06:36:51,594 - DEBUG - VN 3bbbaf9d-6e93-491c-9706-aff6e23e1187 still in use: Unable to complete operation on network 3bbbaf9d-6e93-491c-9706-aff6e23e1187. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6c0f8e10-313f-413e-9e1c-1dc2bbf10a48'] 2025-11-22 06:36:51,594 - WARNING - Deleting VN ctest-ext_vn-11252094 failed..Will retry 2025-11-22 06:36:53,732 - DEBUG - Response for deleting network () 2025-11-22 06:36:53,732 - INFO - Deleting VN ctest-vn-90244132 2025-11-22 06:36:53,853 - DEBUG - Response for deleting network () 2025-11-22 06:36:54,129 - DEBUG - No XMPP flaps were noticed during the test
2025-11-22 06:36:54,129 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-22 06:36:54,129 - INFO - -------------------------------------------------------------------------------- 2025-11-22 06:36:54,853 - INFO - Deleted project: ctest-TestRoutersBasic-27388117, ID : 26bda9b0-ce17-4356-91e2-87e12287d14f