2025-08-15 12:12:46,013 - INFO - Domain Default found not creating 2025-08-15 12:12:46,165 - INFO - Project ctest-TestRoutersBasic-68292930 not found, creating it 2025-08-15 12:12:46,626 - INFO - Created Project:ctest-TestRoutersBasic-68292930, ID : d187af84-06ce-4578-a5f9-8a3b3af78348 2025-08-15 12:12:48,015 - INFO - ================================================================================ 2025-08-15 12:12:48,015 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-15 12:12:48,015 - 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-15 12:12:48,271 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with 2025-08-15 12:12:48,271 - INFO - Initial checks done. Running the testcase now 2025-08-15 12:12:48,271 - INFO - 2025-08-15 12:12:48,952 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68292930 2025-08-15 12:12:49,053 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68292930 2025-08-15 12:12:49,377 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68292930', 'default']} 2025-08-15 12:12:49,666 - DEBUG - Response for create_network : {'network': {'id': '10750f6b-afe2-435f-b5b0-0787a0dc47a8', 'name': 'ctest-vn-64276694', 'tenant_id': 'd187af8406ce4578a5f98a3b3af78348', 'project_id': 'd187af8406ce4578a5f98a3b3af78348', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68292930', 'ctest-vn-64276694'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 12:12:49,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '75b80820-de30-4725-a005-e0a1edbe3a98', 'name': '', 'tenant_id': 'd187af8406ce4578a5f98a3b3af78348', 'network_id': '10750f6b-afe2-435f-b5b0-0787a0dc47a8', 'ip_version': 4, 'cidr': '124.36.156.0/26', 'allocation_pools': [{'start': '124.36.156.2', 'end': '124.36.156.62'}], 'gateway_ip': '124.36.156.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.36.156.2', 'tags': [], 'project_id': 'd187af8406ce4578a5f98a3b3af78348'}} 2025-08-15 12:12:49,830 - INFO - Created VN ctest-vn-64276694 2025-08-15 12:12:49,881 - DEBUG - VN ctest-vn-64276694 UUID is 10750f6b-afe2-435f-b5b0-0787a0dc47a8 2025-08-15 12:12:50,189 - DEBUG - Response for create_network : {'network': {'id': '368853ff-17fe-41c2-9117-62540fc08c43', 'name': 'ctest-ext_vn-92939642', 'tenant_id': 'd187af8406ce4578a5f98a3b3af78348', 'project_id': 'd187af8406ce4578a5f98a3b3af78348', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68292930', 'ctest-ext_vn-92939642'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 12:12:50,377 - DEBUG - Response for create_subnet : {'subnet': {'id': '238c5451-8d23-4011-bdb1-285e59954a6f', 'name': '', 'tenant_id': 'd187af8406ce4578a5f98a3b3af78348', 'network_id': '368853ff-17fe-41c2-9117-62540fc08c43', 'ip_version': 4, 'cidr': '164.198.129.0/26', 'allocation_pools': [{'start': '164.198.129.2', 'end': '164.198.129.62'}], 'gateway_ip': '164.198.129.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.198.129.2', 'tags': [], 'project_id': 'd187af8406ce4578a5f98a3b3af78348'}} 2025-08-15 12:12:50,399 - INFO - Created VN ctest-ext_vn-92939642 2025-08-15 12:12:50,453 - DEBUG - VN ctest-ext_vn-92939642 UUID is 368853ff-17fe-41c2-9117-62540fc08c43 2025-08-15 12:12:50,616 - DEBUG - Services list from nova: [, , ] 2025-08-15 12:12:51,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3864-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3864-1) 2025-08-15 12:12:52,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3864-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3864-1) 2025-08-15 12:12:52,805 - INFO - Setting gateway for router a1063dcf-f016-464f-b1c7-87fe1f4b8527 to network 368853ff-17fe-41c2-9117-62540fc08c43 2025-08-15 12:12:52,881 - INFO - Adding interface with subnet_id 75b80820-de30-4725-a005-e0a1edbe3a98, port_id None to router a1063dcf-f016-464f-b1c7-87fe1f4b8527 2025-08-15 12:12:53,252 - INFO - Waiting for VM ctest-TestRoutersBasic-68292930-77583606 to be up.. 2025-08-15 12:12:53,387 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 12:12:58,474 - DEBUG - VM is in ACTIVE state now 2025-08-15 12:12:58,474 - INFO - VM name : ctest-TestRoutersBasic-68292930-77583606 2025-08-15 12:12:58,563 - DEBUG - VM ctest-TestRoutersBasic-68292930-77583606 ID is d653d7df-78cd-4c61-8d2d-a49da3bca551 2025-08-15 12:12:58,582 - DEBUG - VM ctest-TestRoutersBasic-68292930-77583606 launched on Node cn-jenkins-deploy-platform-ansible-os-3864-1 2025-08-15 12:12:58,651 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d653d7df-78cd-4c61-8d2d-a49da3bca551 2025-08-15 12:12:58,945 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d653d7df-78cd-4c61-8d2d-a49da3bca551 2025-08-15 12:12:58,976 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dee64144-0672-4761-b977-58ffedf2f7b2 2025-08-15 12:13:02,247 - 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 1032ms') 2025-08-15 12:13:02,247 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68292930-77583606 failed! 2025-08-15 12:13:02,305 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68292930:ctest-vn-64276694 is 124.36.156.1 and allocation pool is NOT set 2025-08-15 12:13:04,370 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.709 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.709/2.259/3.809/1.550 ms') 2025-08-15 12:13:04,370 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68292930-77583606 passed 2025-08-15 12:13:04,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:13:04,525 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68292930-77583606, IP 124.36.156.3, Port 22 2025-08-15 12:13:04,680 - DEBUG - VM ctest-TestRoutersBasic-68292930-77583606 is ready for SSH connections 2025-08-15 12:13:04,680 - INFO - Waiting for VM ctest-TestRoutersBasic-68292930-66329871 to be up.. 2025-08-15 12:13:04,747 - DEBUG - VM is in ACTIVE state now 2025-08-15 12:13:04,747 - INFO - VM name : ctest-TestRoutersBasic-68292930-66329871 2025-08-15 12:13:04,825 - DEBUG - VM ctest-TestRoutersBasic-68292930-66329871 ID is 572411d3-1847-43be-bd5f-79af6a590265 2025-08-15 12:13:04,825 - DEBUG - VM ctest-TestRoutersBasic-68292930-66329871 launched on Node cn-jenkins-deploy-platform-ansible-os-3864-1 2025-08-15 12:13:04,893 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/572411d3-1847-43be-bd5f-79af6a590265 2025-08-15 12:13:04,902 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d5cc4b48-acce-4a59-a5cc-7bbacf9f88e6 2025-08-15 12:13:06,152 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.533 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.533/1.589/2.645/1.056 ms') 2025-08-15 12:13:06,152 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68292930-66329871 passed 2025-08-15 12:13:06,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:13:06,301 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68292930-66329871, IP 164.198.129.3, Port 22 2025-08-15 12:13:06,456 - DEBUG - VM ctest-TestRoutersBasic-68292930-66329871 is ready for SSH connections 2025-08-15 12:13:06,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:13:06,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.198.129.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-15 12:13:06,457 - DEBUG - ping -s 56 -c 3 -W 1 164.198.129.3 2025-08-15 12:13:10,148 - DEBUG - PING 164.198.129.3 (164.198.129.3): 56 data bytes 64 bytes from 164.198.129.3: seq=0 ttl=62 time=5.118 ms 64 bytes from 164.198.129.3: seq=1 ttl=62 time=0.751 ms 64 bytes from 164.198.129.3: seq=2 ttl=62 time=0.799 ms --- 164.198.129.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.751/2.222/5.118 ms 2025-08-15 12:13:10,148 - INFO - Ping to IP 164.198.129.3 from VM ctest-TestRoutersBasic-68292930-77583606 passed 2025-08-15 12:13:10,148 - INFO - Deleting interface with subnet_id 75b80820-de30-4725-a005-e0a1edbe3a98, port_id None from router a1063dcf-f016-464f-b1c7-87fe1f4b8527 2025-08-15 12:13:10,330 - INFO - Deleting VM ctest-TestRoutersBasic-68292930-66329871 2025-08-15 12:13:10,414 - INFO - Deleting VM ctest-TestRoutersBasic-68292930-77583606 2025-08-15 12:13:10,499 - INFO - Deleting VN ctest-ext_vn-92939642 2025-08-15 12:13:10,560 - DEBUG - VN 368853ff-17fe-41c2-9117-62540fc08c43 still in use: Unable to complete operation on network 368853ff-17fe-41c2-9117-62540fc08c43. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3020adc9-6545-4b52-b6b0-abd2f546297e'] 2025-08-15 12:13:10,560 - WARNING - Deleting VN ctest-ext_vn-92939642 failed..Will retry 2025-08-15 12:13:12,654 - DEBUG - Response for deleting network () 2025-08-15 12:13:12,654 - INFO - Deleting VN ctest-vn-64276694 2025-08-15 12:13:12,770 - DEBUG - Response for deleting network () 2025-08-15 12:13:13,024 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 12:13:13,024 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-08-15 12:13:13,024 - INFO - -------------------------------------------------------------------------------- 2025-08-15 12:13:13,698 - INFO - Deleted project: ctest-TestRoutersBasic-68292930, ID : d187af84-06ce-4578-a5f9-8a3b3af78348