2025-11-19 18:16:53,900 - INFO - Domain Default found not creating 2025-11-19 18:16:54,062 - INFO - Project ctest-TestRoutersBasic-02065837 not found, creating it 2025-11-19 18:16:54,539 - INFO - Created Project:ctest-TestRoutersBasic-02065837, ID : 4126d7e0-db45-47dd-8648-b1b8f26f12bf 2025-11-19 18:16:56,003 - INFO - ================================================================================ 2025-11-19 18:16:56,004 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-19 18:16:56,004 - 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-19 18:16:56,259 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with 2025-11-19 18:16:56,259 - INFO - Initial checks done. Running the testcase now 2025-11-19 18:16:56,259 - INFO - 2025-11-19 18:16:56,970 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02065837 2025-11-19 18:16:57,065 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02065837 2025-11-19 18:16:57,389 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02065837', 'default']} 2025-11-19 18:16:57,688 - DEBUG - Response for create_network : {'network': {'id': 'a3609b1e-c544-42d8-8b5f-5c12ecd02bdd', 'name': 'ctest-vn-58403219', 'tenant_id': '4126d7e0db4547dd8648b1b8f26f12bf', 'project_id': '4126d7e0db4547dd8648b1b8f26f12bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02065837', 'ctest-vn-58403219'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 18:16:57,875 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ef4e717-fd95-413c-b603-ebeb8e399d5f', 'name': '', 'tenant_id': '4126d7e0db4547dd8648b1b8f26f12bf', 'network_id': 'a3609b1e-c544-42d8-8b5f-5c12ecd02bdd', 'ip_version': 4, 'cidr': '185.120.50.128/26', 'allocation_pools': [{'start': '185.120.50.130', 'end': '185.120.50.190'}], 'gateway_ip': '185.120.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.120.50.130', 'tags': [], 'project_id': '4126d7e0db4547dd8648b1b8f26f12bf'}} 2025-11-19 18:16:57,892 - INFO - Created VN ctest-vn-58403219 2025-11-19 18:16:57,945 - DEBUG - VN ctest-vn-58403219 UUID is a3609b1e-c544-42d8-8b5f-5c12ecd02bdd 2025-11-19 18:16:58,287 - DEBUG - Response for create_network : {'network': {'id': '824d69d2-649a-4054-b000-6a3adc854077', 'name': 'ctest-ext_vn-25064999', 'tenant_id': '4126d7e0db4547dd8648b1b8f26f12bf', 'project_id': '4126d7e0db4547dd8648b1b8f26f12bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02065837', 'ctest-ext_vn-25064999'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 18:16:58,455 - DEBUG - Response for create_subnet : {'subnet': {'id': '1326af51-30c5-491c-8368-092fad79c6fd', 'name': '', 'tenant_id': '4126d7e0db4547dd8648b1b8f26f12bf', 'network_id': '824d69d2-649a-4054-b000-6a3adc854077', 'ip_version': 4, 'cidr': '179.146.111.128/26', 'allocation_pools': [{'start': '179.146.111.130', 'end': '179.146.111.190'}], 'gateway_ip': '179.146.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.146.111.130', 'tags': [], 'project_id': '4126d7e0db4547dd8648b1b8f26f12bf'}} 2025-11-19 18:16:58,473 - INFO - Created VN ctest-ext_vn-25064999 2025-11-19 18:16:58,525 - DEBUG - VN ctest-ext_vn-25064999 UUID is 824d69d2-649a-4054-b000-6a3adc854077 2025-11-19 18:16:58,690 - DEBUG - Services list from nova: [, , ] 2025-11-19 18:16:59,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4766-1) 2025-11-19 18:17:00,820 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4766-1) 2025-11-19 18:17:00,896 - INFO - Setting gateway for router f94bfd9f-a381-432b-828f-5edfd8e4aef5 to network 824d69d2-649a-4054-b000-6a3adc854077 2025-11-19 18:17:01,011 - INFO - Adding interface with subnet_id 9ef4e717-fd95-413c-b603-ebeb8e399d5f, port_id None to router f94bfd9f-a381-432b-828f-5edfd8e4aef5 2025-11-19 18:17:01,424 - INFO - Waiting for VM ctest-TestRoutersBasic-02065837-08535165 to be up.. 2025-11-19 18:17:01,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 18:17:06,724 - DEBUG - VM is in ACTIVE state now 2025-11-19 18:17:06,725 - INFO - VM name : ctest-TestRoutersBasic-02065837-08535165 2025-11-19 18:17:06,813 - DEBUG - VM ctest-TestRoutersBasic-02065837-08535165 ID is 346b3045-03d4-4de5-b3cd-c7e41450186b 2025-11-19 18:17:06,835 - DEBUG - VM ctest-TestRoutersBasic-02065837-08535165 launched on Node cn-jenkins-deploy-platform-ansible-os-4766-1 2025-11-19 18:17:06,916 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/346b3045-03d4-4de5-b3cd-c7e41450186b 2025-11-19 18:17:07,213 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/346b3045-03d4-4de5-b3cd-c7e41450186b 2025-11-19 18:17:07,249 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4840f4d7-6d83-4e5f-b641-b9f18783af86 2025-11-19 18:17:10,507 - 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 1019ms') 2025-11-19 18:17:10,507 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02065837-08535165 failed! 2025-11-19 18:17:10,561 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02065837:ctest-vn-58403219 is 185.120.50.129 and allocation pool is NOT set 2025-11-19 18:17:12,625 - 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=5.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.55 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 = 2.545/3.991/5.437/1.446 ms') 2025-11-19 18:17:12,625 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02065837-08535165 passed 2025-11-19 18:17:12,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:17:12,777 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02065837-08535165, IP 185.120.50.131, Port 22 2025-11-19 18:17:12,933 - DEBUG - VM ctest-TestRoutersBasic-02065837-08535165 is ready for SSH connections 2025-11-19 18:17:12,933 - INFO - Waiting for VM ctest-TestRoutersBasic-02065837-98674057 to be up.. 2025-11-19 18:17:13,012 - DEBUG - VM is in ACTIVE state now 2025-11-19 18:17:13,013 - INFO - VM name : ctest-TestRoutersBasic-02065837-98674057 2025-11-19 18:17:13,095 - DEBUG - VM ctest-TestRoutersBasic-02065837-98674057 ID is cbaeff33-cd0d-4e03-9096-4b1278c9ca21 2025-11-19 18:17:13,095 - DEBUG - VM ctest-TestRoutersBasic-02065837-98674057 launched on Node cn-jenkins-deploy-platform-ansible-os-4766-1 2025-11-19 18:17:13,173 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cbaeff33-cd0d-4e03-9096-4b1278c9ca21 2025-11-19 18:17:13,182 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/266e14cc-2979-4d56-83dc-2219ebf4c5c0 2025-11-19 18:17:14,426 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.10 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 = 2.098/2.798/3.498/0.700 ms') 2025-11-19 18:17:14,426 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02065837-98674057 passed 2025-11-19 18:17:14,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:17:14,577 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02065837-98674057, IP 179.146.111.131, Port 22 2025-11-19 18:17:14,732 - DEBUG - VM ctest-TestRoutersBasic-02065837-98674057 is ready for SSH connections 2025-11-19 18:17:14,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:17:14,732 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.146.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 18:17:14,732 - DEBUG - ping -s 56 -c 3 -W 1 179.146.111.131 2025-11-19 18:17:18,476 - DEBUG - PING 179.146.111.131 (179.146.111.131): 56 data bytes 64 bytes from 179.146.111.131: seq=0 ttl=62 time=8.850 ms 64 bytes from 179.146.111.131: seq=1 ttl=62 time=0.928 ms 64 bytes from 179.146.111.131: seq=2 ttl=62 time=0.983 ms --- 179.146.111.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/3.587/8.850 ms 2025-11-19 18:17:18,476 - INFO - Ping to IP 179.146.111.131 from VM ctest-TestRoutersBasic-02065837-08535165 passed 2025-11-19 18:17:18,476 - INFO - Deleting interface with subnet_id 9ef4e717-fd95-413c-b603-ebeb8e399d5f, port_id None from router f94bfd9f-a381-432b-828f-5edfd8e4aef5 2025-11-19 18:17:18,649 - INFO - Deleting VM ctest-TestRoutersBasic-02065837-98674057 2025-11-19 18:17:18,722 - INFO - Deleting VM ctest-TestRoutersBasic-02065837-08535165 2025-11-19 18:17:18,796 - INFO - Deleting VN ctest-ext_vn-25064999 2025-11-19 18:17:18,860 - DEBUG - VN 824d69d2-649a-4054-b000-6a3adc854077 still in use: Unable to complete operation on network 824d69d2-649a-4054-b000-6a3adc854077. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f733d00e-0d0a-4afe-9164-7ac0a603b29d'] 2025-11-19 18:17:18,860 - WARNING - Deleting VN ctest-ext_vn-25064999 failed..Will retry 2025-11-19 18:17:20,957 - DEBUG - Response for deleting network () 2025-11-19 18:17:20,957 - INFO - Deleting VN ctest-vn-58403219 2025-11-19 18:17:21,058 - DEBUG - Response for deleting network () 2025-11-19 18:17:21,314 - DEBUG - No XMPP flaps were noticed during the test 2025-11-19 18:17:21,314 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-19 18:17:21,314 - INFO - -------------------------------------------------------------------------------- 2025-11-19 18:17:22,025 - INFO - Deleted project: ctest-TestRoutersBasic-02065837, ID : 4126d7e0-db45-47dd-8648-b1b8f26f12bf