2025-10-24 20:22:44,291 - INFO - Domain Default found not creating 2025-10-24 20:22:44,597 - INFO - Project ctest-TestRoutersBasic-71078310 not found, creating it 2025-10-24 20:22:45,293 - INFO - Created Project:ctest-TestRoutersBasic-71078310, ID : e633e56e-1b3f-4825-a9ca-c6da8e266a2c 2025-10-24 20:22:47,363 - INFO - ================================================================================ 2025-10-24 20:22:47,363 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-24 20:22:47,363 - 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-24 20:22:47,687 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-10-24 20:22:47,687 - INFO - Initial checks done. Running the testcase now 2025-10-24 20:22:47,687 - INFO - 2025-10-24 20:22:48,442 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71078310 2025-10-24 20:22:48,543 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71078310 2025-10-24 20:22:48,955 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71078310', 'default']} 2025-10-24 20:22:49,497 - DEBUG - Response for create_network : {'network': {'id': 'e530e039-0843-49b8-a535-14e505cc4a2a', 'name': 'ctest-vn-03269494', 'tenant_id': 'e633e56e1b3f4825a9cac6da8e266a2c', 'project_id': 'e633e56e1b3f4825a9cac6da8e266a2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71078310', 'ctest-vn-03269494'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 20:22:49,744 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bd0d951-5cae-465f-a916-7f69c47fb2bc', 'name': '', 'tenant_id': 'e633e56e1b3f4825a9cac6da8e266a2c', 'network_id': 'e530e039-0843-49b8-a535-14e505cc4a2a', 'ip_version': 4, 'cidr': '210.205.158.0/26', 'allocation_pools': [{'start': '210.205.158.2', 'end': '210.205.158.62'}], 'gateway_ip': '210.205.158.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.205.158.2', 'tags': [], 'project_id': 'e633e56e1b3f4825a9cac6da8e266a2c'}} 2025-10-24 20:22:49,781 - INFO - Created VN ctest-vn-03269494 2025-10-24 20:22:49,848 - DEBUG - VN ctest-vn-03269494 UUID is e530e039-0843-49b8-a535-14e505cc4a2a 2025-10-24 20:22:50,292 - DEBUG - Response for create_network : {'network': {'id': '133313a1-c5c2-40a2-9df2-405034a3991a', 'name': 'ctest-ext_vn-50125435', 'tenant_id': 'e633e56e1b3f4825a9cac6da8e266a2c', 'project_id': 'e633e56e1b3f4825a9cac6da8e266a2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71078310', 'ctest-ext_vn-50125435'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 20:22:50,486 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ada2ebd-1ee4-4e2d-92de-ab9afab264f3', 'name': '', 'tenant_id': 'e633e56e1b3f4825a9cac6da8e266a2c', 'network_id': '133313a1-c5c2-40a2-9df2-405034a3991a', 'ip_version': 4, 'cidr': '135.50.254.0/26', 'allocation_pools': [{'start': '135.50.254.2', 'end': '135.50.254.62'}], 'gateway_ip': '135.50.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.50.254.2', 'tags': [], 'project_id': 'e633e56e1b3f4825a9cac6da8e266a2c'}} 2025-10-24 20:22:50,513 - INFO - Created VN ctest-ext_vn-50125435 2025-10-24 20:22:50,567 - DEBUG - VN ctest-ext_vn-50125435 UUID is 133313a1-c5c2-40a2-9df2-405034a3991a 2025-10-24 20:22:50,799 - DEBUG - Services list from nova: [, , ] 2025-10-24 20:22:52,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4481-1) 2025-10-24 20:22:53,802 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4481-1) 2025-10-24 20:22:53,867 - INFO - Setting gateway for router f5791eae-bb4b-48e9-93a9-a194c32b8c99 to network 133313a1-c5c2-40a2-9df2-405034a3991a 2025-10-24 20:22:53,935 - INFO - Adding interface with subnet_id 1bd0d951-5cae-465f-a916-7f69c47fb2bc, port_id None to router f5791eae-bb4b-48e9-93a9-a194c32b8c99 2025-10-24 20:22:54,210 - INFO - Waiting for VM ctest-TestRoutersBasic-71078310-74681566 to be up.. 2025-10-24 20:22:54,306 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 20:22:59,467 - DEBUG - VM is in ACTIVE state now 2025-10-24 20:22:59,467 - INFO - VM name : ctest-TestRoutersBasic-71078310-74681566 2025-10-24 20:22:59,617 - DEBUG - VM ctest-TestRoutersBasic-71078310-74681566 ID is 8d15c8ba-7cee-407a-94d4-b7fcdfc5aad6 2025-10-24 20:22:59,646 - DEBUG - VM ctest-TestRoutersBasic-71078310-74681566 launched on Node cn-jenkins-deploy-platform-ansible-os-4481-1 2025-10-24 20:22:59,774 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8d15c8ba-7cee-407a-94d4-b7fcdfc5aad6 2025-10-24 20:23:00,081 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8d15c8ba-7cee-407a-94d4-b7fcdfc5aad6 2025-10-24 20:23:00,146 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/771ba5fa-761e-4966-80bd-3d6c8dd4725e 2025-10-24 20:23:03,457 - 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 1027ms') 2025-10-24 20:23:03,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71078310-74681566 failed! 2025-10-24 20:23:03,515 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71078310:ctest-vn-03269494 is 210.205.158.1 and allocation pool is NOT set 2025-10-24 20:23:05,584 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.471 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.471/1.985/3.500/1.514 ms') 2025-10-24 20:23:05,584 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71078310-74681566 passed 2025-10-24 20:23:05,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 20:23:05,763 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71078310-74681566, IP 210.205.158.3, Port 22 2025-10-24 20:23:05,957 - DEBUG - VM ctest-TestRoutersBasic-71078310-74681566 is ready for SSH connections 2025-10-24 20:23:05,957 - INFO - Waiting for VM ctest-TestRoutersBasic-71078310-46255920 to be up.. 2025-10-24 20:23:06,126 - DEBUG - VM is in ACTIVE state now 2025-10-24 20:23:06,126 - INFO - VM name : ctest-TestRoutersBasic-71078310-46255920 2025-10-24 20:23:06,257 - DEBUG - VM ctest-TestRoutersBasic-71078310-46255920 ID is 637a7c8d-c2ec-4e18-87d2-5f710415a0d7 2025-10-24 20:23:06,257 - DEBUG - VM ctest-TestRoutersBasic-71078310-46255920 launched on Node cn-jenkins-deploy-platform-ansible-os-4481-1 2025-10-24 20:23:06,415 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/637a7c8d-c2ec-4e18-87d2-5f710415a0d7 2025-10-24 20:23:06,435 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6a0c5f68-1305-4ee3-859d-3e9747fa89ef 2025-10-24 20:23:07,753 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 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.072/2.815/4.558/1.743 ms') 2025-10-24 20:23:07,753 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71078310-46255920 passed 2025-10-24 20:23:07,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 20:23:07,927 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71078310-46255920, IP 135.50.254.3, Port 22 2025-10-24 20:23:08,113 - DEBUG - VM ctest-TestRoutersBasic-71078310-46255920 is ready for SSH connections 2025-10-24 20:23:08,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 20:23:08,114 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.50.254.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-24 20:23:08,115 - DEBUG - ping -s 56 -c 3 -W 1 135.50.254.3 2025-10-24 20:23:12,289 - DEBUG - PING 135.50.254.3 (135.50.254.3): 56 data bytes 64 bytes from 135.50.254.3: seq=0 ttl=62 time=8.215 ms 64 bytes from 135.50.254.3: seq=1 ttl=62 time=2.079 ms 64 bytes from 135.50.254.3: seq=2 ttl=62 time=1.641 ms --- 135.50.254.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.641/3.978/8.215 ms 2025-10-24 20:23:12,289 - INFO - Ping to IP 135.50.254.3 from VM ctest-TestRoutersBasic-71078310-74681566 passed 2025-10-24 20:23:12,289 - INFO - Deleting interface with subnet_id 1bd0d951-5cae-465f-a916-7f69c47fb2bc, port_id None from router f5791eae-bb4b-48e9-93a9-a194c32b8c99 2025-10-24 20:23:12,577 - INFO - Deleting VM ctest-TestRoutersBasic-71078310-46255920 2025-10-24 20:23:12,654 - INFO - Deleting VM ctest-TestRoutersBasic-71078310-74681566 2025-10-24 20:23:12,734 - INFO - Deleting VN ctest-ext_vn-50125435 2025-10-24 20:23:12,822 - DEBUG - VN 133313a1-c5c2-40a2-9df2-405034a3991a still in use: Unable to complete operation on network 133313a1-c5c2-40a2-9df2-405034a3991a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9f042182-9319-4bcc-8689-880ba02b3747'] 2025-10-24 20:23:12,823 - WARNING - Deleting VN ctest-ext_vn-50125435 failed..Will retry 2025-10-24 20:23:15,031 - DEBUG - Response for deleting network () 2025-10-24 20:23:15,032 - INFO - Deleting VN ctest-vn-03269494 2025-10-24 20:23:15,144 - DEBUG - Response for deleting network () 2025-10-24 20:23:15,455 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 20:23:15,455 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-10-24 20:23:15,455 - INFO - -------------------------------------------------------------------------------- 2025-10-24 20:23:16,261 - INFO - Deleted project: ctest-TestRoutersBasic-71078310, ID : e633e56e-1b3f-4825-a9ca-c6da8e266a2c