2025-09-18 01:56:22,493 - INFO - Domain Default found not creating 2025-09-18 01:56:22,644 - INFO - Project ctest-TestRoutersBasic-41587813 not found, creating it 2025-09-18 01:56:23,122 - INFO - Created Project:ctest-TestRoutersBasic-41587813, ID : d5d48e41-bef0-448f-a539-bd9247d24223 2025-09-18 01:56:24,676 - INFO - ================================================================================ 2025-09-18 01:56:24,676 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-18 01:56:24,676 - 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-09-18 01:56:24,933 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.18': '0'}} with 2025-09-18 01:56:24,933 - INFO - Initial checks done. Running the testcase now 2025-09-18 01:56:24,933 - INFO - 2025-09-18 01:56:25,728 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41587813 2025-09-18 01:56:25,823 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41587813 2025-09-18 01:56:26,147 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41587813', 'default']} 2025-09-18 01:56:26,435 - DEBUG - Response for create_network : {'network': {'id': '5cdaddd1-e333-4b70-b8f4-c0b74fb2f69d', 'name': 'ctest-vn-42117606', 'tenant_id': 'd5d48e41bef0448fa539bd9247d24223', 'project_id': 'd5d48e41bef0448fa539bd9247d24223', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41587813', 'ctest-vn-42117606'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:56:26,636 - DEBUG - Response for create_subnet : {'subnet': {'id': '95fc16af-7043-4d2f-a76b-b418d5442c42', 'name': '', 'tenant_id': 'd5d48e41bef0448fa539bd9247d24223', 'network_id': '5cdaddd1-e333-4b70-b8f4-c0b74fb2f69d', 'ip_version': 4, 'cidr': '103.160.186.128/26', 'allocation_pools': [{'start': '103.160.186.130', 'end': '103.160.186.190'}], 'gateway_ip': '103.160.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.160.186.130', 'tags': [], 'project_id': 'd5d48e41bef0448fa539bd9247d24223'}} 2025-09-18 01:56:26,653 - INFO - Created VN ctest-vn-42117606 2025-09-18 01:56:26,707 - DEBUG - VN ctest-vn-42117606 UUID is 5cdaddd1-e333-4b70-b8f4-c0b74fb2f69d 2025-09-18 01:56:27,051 - DEBUG - Response for create_network : {'network': {'id': '607f3435-3073-42c3-80e7-1883e9455237', 'name': 'ctest-ext_vn-89190383', 'tenant_id': 'd5d48e41bef0448fa539bd9247d24223', 'project_id': 'd5d48e41bef0448fa539bd9247d24223', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41587813', 'ctest-ext_vn-89190383'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:56:27,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d4790e1-943e-46c8-be70-71af0ce29db9', 'name': '', 'tenant_id': 'd5d48e41bef0448fa539bd9247d24223', 'network_id': '607f3435-3073-42c3-80e7-1883e9455237', 'ip_version': 4, 'cidr': '192.12.39.128/26', 'allocation_pools': [{'start': '192.12.39.130', 'end': '192.12.39.190'}], 'gateway_ip': '192.12.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.12.39.130', 'tags': [], 'project_id': 'd5d48e41bef0448fa539bd9247d24223'}} 2025-09-18 01:56:27,268 - INFO - Created VN ctest-ext_vn-89190383 2025-09-18 01:56:27,319 - DEBUG - VN ctest-ext_vn-89190383 UUID is 607f3435-3073-42c3-80e7-1883e9455237 2025-09-18 01:56:27,485 - DEBUG - Services list from nova: [, , ] 2025-09-18 01:56:28,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4131-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4131-1) 2025-09-18 01:56:29,827 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4131-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4131-1) 2025-09-18 01:56:29,915 - INFO - Setting gateway for router c2cfb170-499f-4160-95f1-ca185914b045 to network 607f3435-3073-42c3-80e7-1883e9455237 2025-09-18 01:56:29,985 - INFO - Adding interface with subnet_id 95fc16af-7043-4d2f-a76b-b418d5442c42, port_id None to router c2cfb170-499f-4160-95f1-ca185914b045 2025-09-18 01:56:30,400 - INFO - Waiting for VM ctest-TestRoutersBasic-41587813-10098631 to be up.. 2025-09-18 01:56:30,573 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 01:56:35,646 - DEBUG - VM is in ACTIVE state now 2025-09-18 01:56:35,647 - INFO - VM name : ctest-TestRoutersBasic-41587813-10098631 2025-09-18 01:56:35,718 - DEBUG - VM ctest-TestRoutersBasic-41587813-10098631 ID is 5887f00e-3272-4536-ac7a-721517268aaf 2025-09-18 01:56:35,737 - DEBUG - VM ctest-TestRoutersBasic-41587813-10098631 launched on Node cn-jenkins-deploy-platform-ansible-os-4131-1 2025-09-18 01:56:35,811 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5887f00e-3272-4536-ac7a-721517268aaf 2025-09-18 01:56:36,144 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5887f00e-3272-4536-ac7a-721517268aaf 2025-09-18 01:56:36,175 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/6aed72b4-6abd-43de-93cc-a811605f5405 2025-09-18 01:56:39,418 - 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 1006ms') 2025-09-18 01:56:39,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41587813-10098631 failed! 2025-09-18 01:56:39,475 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41587813:ctest-vn-42117606 is 103.160.186.129 and allocation pool is NOT set 2025-09-18 01:56:41,539 - 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=4.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.58 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 = 1.576/3.169/4.763/1.593 ms') 2025-09-18 01:56:41,539 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41587813-10098631 passed 2025-09-18 01:56:41,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:56:41,691 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41587813-10098631, IP 103.160.186.131, Port 22 2025-09-18 01:56:41,857 - DEBUG - VM ctest-TestRoutersBasic-41587813-10098631 is ready for SSH connections 2025-09-18 01:56:41,857 - INFO - Waiting for VM ctest-TestRoutersBasic-41587813-09358566 to be up.. 2025-09-18 01:56:41,946 - DEBUG - VM is in ACTIVE state now 2025-09-18 01:56:41,946 - INFO - VM name : ctest-TestRoutersBasic-41587813-09358566 2025-09-18 01:56:42,023 - DEBUG - VM ctest-TestRoutersBasic-41587813-09358566 ID is ebcc9ae8-20cd-4ce1-9708-60b55135ad8f 2025-09-18 01:56:42,023 - DEBUG - VM ctest-TestRoutersBasic-41587813-09358566 launched on Node cn-jenkins-deploy-platform-ansible-os-4131-1 2025-09-18 01:56:42,097 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/ebcc9ae8-20cd-4ce1-9708-60b55135ad8f 2025-09-18 01:56:42,105 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/ced2319b-0384-43f1-b32c-a9a6f7c1a130 2025-09-18 01:56:43,341 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/1.791/3.137/1.346 ms') 2025-09-18 01:56:43,342 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-41587813-09358566 passed 2025-09-18 01:56:43,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:56:43,491 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41587813-09358566, IP 192.12.39.131, Port 22 2025-09-18 01:56:43,646 - DEBUG - VM ctest-TestRoutersBasic-41587813-09358566 is ready for SSH connections 2025-09-18 01:56:43,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:56:43,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.12.39.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-18 01:56:43,646 - DEBUG - ping -s 56 -c 3 -W 1 192.12.39.131 2025-09-18 01:56:47,385 - DEBUG - PING 192.12.39.131 (192.12.39.131): 56 data bytes 64 bytes from 192.12.39.131: seq=0 ttl=62 time=6.383 ms 64 bytes from 192.12.39.131: seq=1 ttl=62 time=0.886 ms 64 bytes from 192.12.39.131: seq=2 ttl=62 time=0.851 ms --- 192.12.39.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/2.706/6.383 ms 2025-09-18 01:56:47,385 - INFO - Ping to IP 192.12.39.131 from VM ctest-TestRoutersBasic-41587813-10098631 passed 2025-09-18 01:56:47,385 - INFO - Deleting interface with subnet_id 95fc16af-7043-4d2f-a76b-b418d5442c42, port_id None from router c2cfb170-499f-4160-95f1-ca185914b045 2025-09-18 01:56:47,577 - INFO - Deleting VM ctest-TestRoutersBasic-41587813-09358566 2025-09-18 01:56:47,651 - INFO - Deleting VM ctest-TestRoutersBasic-41587813-10098631 2025-09-18 01:56:47,736 - INFO - Deleting VN ctest-ext_vn-89190383 2025-09-18 01:56:47,817 - DEBUG - VN 607f3435-3073-42c3-80e7-1883e9455237 still in use: Unable to complete operation on network 607f3435-3073-42c3-80e7-1883e9455237. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bbd85470-0ac0-4a8d-80c4-5d4d6b8732dd'] 2025-09-18 01:56:47,817 - WARNING - Deleting VN ctest-ext_vn-89190383 failed..Will retry 2025-09-18 01:56:49,946 - DEBUG - Response for deleting network () 2025-09-18 01:56:49,946 - INFO - Deleting VN ctest-vn-42117606 2025-09-18 01:56:50,045 - DEBUG - Response for deleting network () 2025-09-18 01:56:50,300 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 01:56:50,300 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-09-18 01:56:50,300 - INFO - -------------------------------------------------------------------------------- 2025-09-18 01:56:51,013 - INFO - Deleted project: ctest-TestRoutersBasic-41587813, ID : d5d48e41-bef0-448f-a539-bd9247d24223