2025-10-27 22:44:05,496 - INFO - Domain Default found not creating 2025-10-27 22:44:05,663 - INFO - Project ctest-TestRoutersBasic-84562398 not found, creating it 2025-10-27 22:44:06,117 - INFO - Created Project:ctest-TestRoutersBasic-84562398, ID : 2bf41512-c055-4dec-bb67-671c5706196f 2025-10-27 22:44:07,609 - INFO - ================================================================================ 2025-10-27 22:44:07,609 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-27 22:44:07,609 - 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-27 22:44:07,868 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-27 22:44:07,868 - INFO - Initial checks done. Running the testcase now 2025-10-27 22:44:07,868 - INFO - 2025-10-27 22:44:08,621 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84562398 2025-10-27 22:44:08,717 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84562398 2025-10-27 22:44:09,040 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84562398', 'default']} 2025-10-27 22:44:09,331 - DEBUG - Response for create_network : {'network': {'id': '0aafed39-befb-4623-b32e-106562e692b2', 'name': 'ctest-vn-43332537', 'tenant_id': '2bf41512c0554decbb67671c5706196f', 'project_id': '2bf41512c0554decbb67671c5706196f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84562398', 'ctest-vn-43332537'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 22:44:09,514 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9090509-6b7c-461e-9e7e-edffc911abfe', 'name': '', 'tenant_id': '2bf41512c0554decbb67671c5706196f', 'network_id': '0aafed39-befb-4623-b32e-106562e692b2', 'ip_version': 4, 'cidr': '94.96.17.128/26', 'allocation_pools': [{'start': '94.96.17.130', 'end': '94.96.17.190'}], 'gateway_ip': '94.96.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.96.17.130', 'tags': [], 'project_id': '2bf41512c0554decbb67671c5706196f'}} 2025-10-27 22:44:09,532 - INFO - Created VN ctest-vn-43332537 2025-10-27 22:44:09,581 - DEBUG - VN ctest-vn-43332537 UUID is 0aafed39-befb-4623-b32e-106562e692b2 2025-10-27 22:44:09,948 - DEBUG - Response for create_network : {'network': {'id': '005c315e-8878-4941-9ec6-d038a313bdd0', 'name': 'ctest-ext_vn-02499601', 'tenant_id': '2bf41512c0554decbb67671c5706196f', 'project_id': '2bf41512c0554decbb67671c5706196f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84562398', 'ctest-ext_vn-02499601'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 22:44:10,126 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecdad9fe-3ff5-42c3-b2fb-9e37d96f57eb', 'name': '', 'tenant_id': '2bf41512c0554decbb67671c5706196f', 'network_id': '005c315e-8878-4941-9ec6-d038a313bdd0', 'ip_version': 4, 'cidr': '196.122.122.128/26', 'allocation_pools': [{'start': '196.122.122.130', 'end': '196.122.122.190'}], 'gateway_ip': '196.122.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.122.122.130', 'tags': [], 'project_id': '2bf41512c0554decbb67671c5706196f'}} 2025-10-27 22:44:10,145 - INFO - Created VN ctest-ext_vn-02499601 2025-10-27 22:44:10,197 - DEBUG - VN ctest-ext_vn-02499601 UUID is 005c315e-8878-4941-9ec6-d038a313bdd0 2025-10-27 22:44:10,361 - DEBUG - Services list from nova: [, , ] 2025-10-27 22:44:11,405 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4513-1) 2025-10-27 22:44:12,576 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4513-1) 2025-10-27 22:44:12,648 - INFO - Setting gateway for router 9b46dc3e-75b2-4d87-8075-bae8b5535215 to network 005c315e-8878-4941-9ec6-d038a313bdd0 2025-10-27 22:44:12,716 - INFO - Adding interface with subnet_id d9090509-6b7c-461e-9e7e-edffc911abfe, port_id None to router 9b46dc3e-75b2-4d87-8075-bae8b5535215 2025-10-27 22:44:13,083 - INFO - Waiting for VM ctest-TestRoutersBasic-84562398-57739530 to be up.. 2025-10-27 22:44:13,216 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 22:44:18,296 - DEBUG - VM is in ACTIVE state now 2025-10-27 22:44:18,296 - INFO - VM name : ctest-TestRoutersBasic-84562398-57739530 2025-10-27 22:44:18,380 - DEBUG - VM ctest-TestRoutersBasic-84562398-57739530 ID is 27e5564a-d027-4d42-94fd-c8adb2e46357 2025-10-27 22:44:18,404 - DEBUG - VM ctest-TestRoutersBasic-84562398-57739530 launched on Node cn-jenkins-deploy-platform-ansible-os-4513-1 2025-10-27 22:44:18,473 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/27e5564a-d027-4d42-94fd-c8adb2e46357 2025-10-27 22:44:18,782 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/27e5564a-d027-4d42-94fd-c8adb2e46357 2025-10-27 22:44:18,814 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/346c4a28-cfe1-4f0b-88d4-88003da29d51 2025-10-27 22:44:22,059 - 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 1011ms') 2025-10-27 22:44:22,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84562398-57739530 failed! 2025-10-27 22:44:22,113 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84562398:ctest-vn-43332537 is 94.96.17.129 and allocation pool is NOT set 2025-10-27 22:44:24,169 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.540 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.540/1.973/3.407/1.433 ms') 2025-10-27 22:44:24,170 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84562398-57739530 passed 2025-10-27 22:44:24,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 22:44:24,325 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84562398-57739530, IP 94.96.17.131, Port 22 2025-10-27 22:44:24,492 - DEBUG - VM ctest-TestRoutersBasic-84562398-57739530 is ready for SSH connections 2025-10-27 22:44:24,492 - INFO - Waiting for VM ctest-TestRoutersBasic-84562398-63624675 to be up.. 2025-10-27 22:44:24,567 - DEBUG - VM is in ACTIVE state now 2025-10-27 22:44:24,567 - INFO - VM name : ctest-TestRoutersBasic-84562398-63624675 2025-10-27 22:44:24,636 - DEBUG - VM ctest-TestRoutersBasic-84562398-63624675 ID is c05529aa-94f4-4240-a26d-922ab7831229 2025-10-27 22:44:24,636 - DEBUG - VM ctest-TestRoutersBasic-84562398-63624675 launched on Node cn-jenkins-deploy-platform-ansible-os-4513-1 2025-10-27 22:44:24,703 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c05529aa-94f4-4240-a26d-922ab7831229 2025-10-27 22:44:24,710 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f92acd0f-af2f-4742-b05a-3aa40e96b388 2025-10-27 22:44:25,946 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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.489/1.661/2.834/1.172 ms') 2025-10-27 22:44:25,946 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84562398-63624675 passed 2025-10-27 22:44:26,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 22:44:26,093 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84562398-63624675, IP 196.122.122.131, Port 22 2025-10-27 22:44:26,248 - DEBUG - VM ctest-TestRoutersBasic-84562398-63624675 is ready for SSH connections 2025-10-27 22:44:26,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 22:44:26,249 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.122.122.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-27 22:44:26,249 - DEBUG - ping -s 56 -c 3 -W 1 196.122.122.131 2025-10-27 22:44:30,289 - DEBUG - PING 196.122.122.131 (196.122.122.131): 56 data bytes 64 bytes from 196.122.122.131: seq=0 ttl=62 time=6.043 ms 64 bytes from 196.122.122.131: seq=1 ttl=62 time=1.096 ms 64 bytes from 196.122.122.131: seq=2 ttl=62 time=1.159 ms --- 196.122.122.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.096/2.766/6.043 ms 2025-10-27 22:44:30,289 - INFO - Ping to IP 196.122.122.131 from VM ctest-TestRoutersBasic-84562398-57739530 passed 2025-10-27 22:44:30,289 - INFO - Deleting interface with subnet_id d9090509-6b7c-461e-9e7e-edffc911abfe, port_id None from router 9b46dc3e-75b2-4d87-8075-bae8b5535215 2025-10-27 22:44:30,476 - INFO - Deleting VM ctest-TestRoutersBasic-84562398-63624675 2025-10-27 22:44:30,551 - INFO - Deleting VM ctest-TestRoutersBasic-84562398-57739530 2025-10-27 22:44:30,640 - INFO - Deleting VN ctest-ext_vn-02499601 2025-10-27 22:44:30,707 - DEBUG - VN 005c315e-8878-4941-9ec6-d038a313bdd0 still in use: Unable to complete operation on network 005c315e-8878-4941-9ec6-d038a313bdd0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9d1cbffe-fc77-43cc-8410-3dc939cd9462'] 2025-10-27 22:44:30,707 - WARNING - Deleting VN ctest-ext_vn-02499601 failed..Will retry 2025-10-27 22:44:32,809 - DEBUG - Response for deleting network () 2025-10-27 22:44:32,809 - INFO - Deleting VN ctest-vn-43332537 2025-10-27 22:44:32,906 - DEBUG - Response for deleting network () 2025-10-27 22:44:33,161 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 22:44:33,161 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-27 22:44:33,161 - INFO - -------------------------------------------------------------------------------- 2025-10-27 22:44:33,859 - INFO - Deleted project: ctest-TestRoutersBasic-84562398, ID : 2bf41512-c055-4dec-bb67-671c5706196f