2025-06-20 07:58:07,588 - INFO - Domain Default found not creating 2025-06-20 07:58:08,150 - INFO - Project ctest-TestRoutersBasic-86931238 not found, creating it 2025-06-20 07:58:08,653 - INFO - Created Project:ctest-TestRoutersBasic-86931238, ID : 1523e671-59ce-43b1-9c75-67d44d663fd5 2025-06-20 07:58:10,152 - INFO - ================================================================================ 2025-06-20 07:58:10,152 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-20 07:58:10,152 - 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-06-20 07:58:10,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-20 07:58:10,408 - INFO - Initial checks done. Running the testcase now 2025-06-20 07:58:10,408 - INFO - 2025-06-20 07:58:11,105 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86931238 2025-06-20 07:58:11,201 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86931238 2025-06-20 07:58:11,533 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86931238', 'default']} 2025-06-20 07:58:11,855 - DEBUG - Response for create_network : {'network': {'id': 'cfb6c1bd-859c-425d-a641-5befd957a751', 'name': 'ctest-vn-16640208', 'tenant_id': '1523e67159ce43b19c7567d44d663fd5', 'project_id': '1523e67159ce43b19c7567d44d663fd5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86931238', 'ctest-vn-16640208'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 07:58:12,028 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e8ecf5c-12cd-4262-af90-01b5f008318c', 'name': '', 'tenant_id': '1523e67159ce43b19c7567d44d663fd5', 'network_id': 'cfb6c1bd-859c-425d-a641-5befd957a751', 'ip_version': 4, 'cidr': '124.204.81.192/26', 'allocation_pools': [{'start': '124.204.81.194', 'end': '124.204.81.254'}], 'gateway_ip': '124.204.81.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.204.81.194', 'tags': [], 'project_id': '1523e67159ce43b19c7567d44d663fd5'}} 2025-06-20 07:58:12,045 - INFO - Created VN ctest-vn-16640208 2025-06-20 07:58:12,097 - DEBUG - VN ctest-vn-16640208 UUID is cfb6c1bd-859c-425d-a641-5befd957a751 2025-06-20 07:58:12,416 - DEBUG - Response for create_network : {'network': {'id': '1442d825-1a0b-45b5-a4e5-1076dcbc81b6', 'name': 'ctest-ext_vn-70480087', 'tenant_id': '1523e67159ce43b19c7567d44d663fd5', 'project_id': '1523e67159ce43b19c7567d44d663fd5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86931238', 'ctest-ext_vn-70480087'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 07:58:12,686 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcdf7577-ef8b-4a7c-bce2-4b6b271c36c7', 'name': '', 'tenant_id': '1523e67159ce43b19c7567d44d663fd5', 'network_id': '1442d825-1a0b-45b5-a4e5-1076dcbc81b6', 'ip_version': 4, 'cidr': '78.130.139.192/26', 'allocation_pools': [{'start': '78.130.139.194', 'end': '78.130.139.254'}], 'gateway_ip': '78.130.139.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.130.139.194', 'tags': [], 'project_id': '1523e67159ce43b19c7567d44d663fd5'}} 2025-06-20 07:58:12,722 - INFO - Created VN ctest-ext_vn-70480087 2025-06-20 07:58:12,777 - DEBUG - VN ctest-ext_vn-70480087 UUID is 1442d825-1a0b-45b5-a4e5-1076dcbc81b6 2025-06-20 07:58:12,943 - DEBUG - Services list from nova: [, , ] 2025-06-20 07:58:13,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3501-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3501-1) 2025-06-20 07:58:15,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3501-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3501-1) 2025-06-20 07:58:15,252 - INFO - Setting gateway for router cc84b4e7-4e1e-4187-b85f-00f9995e7187 to network 1442d825-1a0b-45b5-a4e5-1076dcbc81b6 2025-06-20 07:58:15,325 - INFO - Adding interface with subnet_id 6e8ecf5c-12cd-4262-af90-01b5f008318c, port_id None to router cc84b4e7-4e1e-4187-b85f-00f9995e7187 2025-06-20 07:58:15,783 - INFO - Waiting for VM ctest-TestRoutersBasic-86931238-62925392 to be up.. 2025-06-20 07:58:15,942 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 07:58:21,023 - DEBUG - VM is in ACTIVE state now 2025-06-20 07:58:21,023 - INFO - VM name : ctest-TestRoutersBasic-86931238-62925392 2025-06-20 07:58:21,101 - DEBUG - VM ctest-TestRoutersBasic-86931238-62925392 ID is b43ee498-0bda-419a-bb6a-6706115c0cf7 2025-06-20 07:58:21,120 - DEBUG - VM ctest-TestRoutersBasic-86931238-62925392 launched on Node cn-jenkins-deploy-platform-ansible-os-3501-1 2025-06-20 07:58:21,201 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b43ee498-0bda-419a-bb6a-6706115c0cf7 2025-06-20 07:58:21,504 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b43ee498-0bda-419a-bb6a-6706115c0cf7 2025-06-20 07:58:21,538 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0222414e-7592-4402-b5a8-afa7db15281b 2025-06-20 07:58:24,792 - 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-06-20 07:58:24,792 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86931238-62925392 failed! 2025-06-20 07:58:24,853 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86931238:ctest-vn-16640208 is 124.204.81.193 and allocation pool is NOT set 2025-06-20 07:58:26,918 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 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.406/1.980/3.554/1.574 ms') 2025-06-20 07:58:26,918 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86931238-62925392 passed 2025-06-20 07:58:27,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 07:58:27,073 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86931238-62925392, IP 124.204.81.195, Port 22 2025-06-20 07:58:27,228 - DEBUG - VM ctest-TestRoutersBasic-86931238-62925392 is ready for SSH connections 2025-06-20 07:58:27,229 - INFO - Waiting for VM ctest-TestRoutersBasic-86931238-27545575 to be up.. 2025-06-20 07:58:27,309 - DEBUG - VM is in ACTIVE state now 2025-06-20 07:58:27,309 - INFO - VM name : ctest-TestRoutersBasic-86931238-27545575 2025-06-20 07:58:27,382 - DEBUG - VM ctest-TestRoutersBasic-86931238-27545575 ID is 7a1fd524-e2ca-4057-bdcf-5281de94428f 2025-06-20 07:58:27,382 - DEBUG - VM ctest-TestRoutersBasic-86931238-27545575 launched on Node cn-jenkins-deploy-platform-ansible-os-3501-1 2025-06-20 07:58:27,458 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7a1fd524-e2ca-4057-bdcf-5281de94428f 2025-06-20 07:58:27,466 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/35823d9d-f194-4bb6-bcc1-ceb3f36f4f29 2025-06-20 07:58:28,707 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 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.438/1.620/2.802/1.182 ms') 2025-06-20 07:58:28,708 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86931238-27545575 passed 2025-06-20 07:58:28,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 07:58:28,857 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86931238-27545575, IP 78.130.139.195, Port 22 2025-06-20 07:58:29,012 - DEBUG - VM ctest-TestRoutersBasic-86931238-27545575 is ready for SSH connections 2025-06-20 07:58:29,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 07:58:29,012 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.130.139.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-20 07:58:29,012 - DEBUG - ping -s 56 -c 3 -W 1 78.130.139.195 2025-06-20 07:58:33,034 - DEBUG - PING 78.130.139.195 (78.130.139.195): 56 data bytes 64 bytes from 78.130.139.195: seq=0 ttl=62 time=7.219 ms 64 bytes from 78.130.139.195: seq=1 ttl=62 time=1.148 ms 64 bytes from 78.130.139.195: seq=2 ttl=62 time=0.996 ms --- 78.130.139.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.996/3.121/7.219 ms 2025-06-20 07:58:33,034 - INFO - Ping to IP 78.130.139.195 from VM ctest-TestRoutersBasic-86931238-62925392 passed 2025-06-20 07:58:33,034 - INFO - Deleting interface with subnet_id 6e8ecf5c-12cd-4262-af90-01b5f008318c, port_id None from router cc84b4e7-4e1e-4187-b85f-00f9995e7187 2025-06-20 07:58:33,233 - INFO - Deleting VM ctest-TestRoutersBasic-86931238-27545575 2025-06-20 07:58:33,298 - INFO - Deleting VM ctest-TestRoutersBasic-86931238-62925392 2025-06-20 07:58:33,365 - INFO - Deleting VN ctest-ext_vn-70480087 2025-06-20 07:58:33,430 - DEBUG - VN 1442d825-1a0b-45b5-a4e5-1076dcbc81b6 still in use: Unable to complete operation on network 1442d825-1a0b-45b5-a4e5-1076dcbc81b6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fab04cb0-5506-4d34-95f1-47fd91b6f70f'] 2025-06-20 07:58:33,430 - WARNING - Deleting VN ctest-ext_vn-70480087 failed..Will retry 2025-06-20 07:58:35,538 - DEBUG - Response for deleting network () 2025-06-20 07:58:35,539 - INFO - Deleting VN ctest-vn-16640208 2025-06-20 07:58:35,649 - DEBUG - Response for deleting network () 2025-06-20 07:58:35,908 - DEBUG - No XMPP flaps were noticed during the test 2025-06-20 07:58:35,908 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-06-20 07:58:35,908 - INFO - -------------------------------------------------------------------------------- 2025-06-20 07:58:36,628 - INFO - Deleted project: ctest-TestRoutersBasic-86931238, ID : 1523e671-59ce-43b1-9c75-67d44d663fd5