2025-09-22 14:38:39,396 - INFO - Domain Default found not creating 2025-09-22 14:38:39,548 - INFO - Project ctest-TestRoutersBasic-91009020 not found, creating it 2025-09-22 14:38:40,010 - INFO - Created Project:ctest-TestRoutersBasic-91009020, ID : c06dc69c-eb75-47c0-b349-d092f8e54b70 2025-09-22 14:38:41,580 - INFO - ================================================================================ 2025-09-22 14:38:41,580 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-22 14:38:41,580 - 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-22 14:38:41,838 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-09-22 14:38:41,838 - INFO - Initial checks done. Running the testcase now 2025-09-22 14:38:41,838 - INFO - 2025-09-22 14:38:42,642 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91009020 2025-09-22 14:38:42,741 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91009020 2025-09-22 14:38:43,064 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91009020', 'default']} 2025-09-22 14:38:43,369 - DEBUG - Response for create_network : {'network': {'id': '2e45433b-88f0-4e76-9305-0465d6d3fd9f', 'name': 'ctest-vn-42479057', 'tenant_id': 'c06dc69ceb7547c0b349d092f8e54b70', 'project_id': 'c06dc69ceb7547c0b349d092f8e54b70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91009020', 'ctest-vn-42479057'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 14:38:43,569 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d278e9d-d796-4c45-8f19-25a757cb81b0', 'name': '', 'tenant_id': 'c06dc69ceb7547c0b349d092f8e54b70', 'network_id': '2e45433b-88f0-4e76-9305-0465d6d3fd9f', 'ip_version': 4, 'cidr': '26.42.53.64/26', 'allocation_pools': [{'start': '26.42.53.66', 'end': '26.42.53.126'}], 'gateway_ip': '26.42.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.42.53.66', 'tags': [], 'project_id': 'c06dc69ceb7547c0b349d092f8e54b70'}} 2025-09-22 14:38:43,588 - INFO - Created VN ctest-vn-42479057 2025-09-22 14:38:43,641 - DEBUG - VN ctest-vn-42479057 UUID is 2e45433b-88f0-4e76-9305-0465d6d3fd9f 2025-09-22 14:38:43,961 - DEBUG - Response for create_network : {'network': {'id': '9558ed1d-9566-4c5b-8491-f0bfe896a0ed', 'name': 'ctest-ext_vn-23642266', 'tenant_id': 'c06dc69ceb7547c0b349d092f8e54b70', 'project_id': 'c06dc69ceb7547c0b349d092f8e54b70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91009020', 'ctest-ext_vn-23642266'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 14:38:44,137 - DEBUG - Response for create_subnet : {'subnet': {'id': '57a44e57-c959-4bb5-b93a-98f210ded3f1', 'name': '', 'tenant_id': 'c06dc69ceb7547c0b349d092f8e54b70', 'network_id': '9558ed1d-9566-4c5b-8491-f0bfe896a0ed', 'ip_version': 4, 'cidr': '188.25.248.192/26', 'allocation_pools': [{'start': '188.25.248.194', 'end': '188.25.248.254'}], 'gateway_ip': '188.25.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.25.248.194', 'tags': [], 'project_id': 'c06dc69ceb7547c0b349d092f8e54b70'}} 2025-09-22 14:38:44,156 - INFO - Created VN ctest-ext_vn-23642266 2025-09-22 14:38:44,208 - DEBUG - VN ctest-ext_vn-23642266 UUID is 9558ed1d-9566-4c5b-8491-f0bfe896a0ed 2025-09-22 14:38:44,379 - DEBUG - Services list from nova: [, , ] 2025-09-22 14:38:45,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4167-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4167-1) 2025-09-22 14:38:46,755 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4167-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4167-1) 2025-09-22 14:38:46,843 - INFO - Setting gateway for router 1d62ac57-7323-43dc-9532-46c76ae746fb to network 9558ed1d-9566-4c5b-8491-f0bfe896a0ed 2025-09-22 14:38:46,908 - INFO - Adding interface with subnet_id 7d278e9d-d796-4c45-8f19-25a757cb81b0, port_id None to router 1d62ac57-7323-43dc-9532-46c76ae746fb 2025-09-22 14:38:47,295 - INFO - Waiting for VM ctest-TestRoutersBasic-91009020-84702492 to be up.. 2025-09-22 14:38:47,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 14:38:52,522 - DEBUG - VM is in ACTIVE state now 2025-09-22 14:38:52,522 - INFO - VM name : ctest-TestRoutersBasic-91009020-84702492 2025-09-22 14:38:52,603 - DEBUG - VM ctest-TestRoutersBasic-91009020-84702492 ID is 6d76b7e1-86ad-473c-9d6e-36482bfcfebf 2025-09-22 14:38:52,627 - DEBUG - VM ctest-TestRoutersBasic-91009020-84702492 launched on Node cn-jenkins-deploy-platform-ansible-os-4167-1 2025-09-22 14:38:52,713 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6d76b7e1-86ad-473c-9d6e-36482bfcfebf 2025-09-22 14:38:53,058 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6d76b7e1-86ad-473c-9d6e-36482bfcfebf 2025-09-22 14:38:53,090 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0be22098-95f7-4047-8193-09f2a9f11c58 2025-09-22 14:38:56,363 - 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 1021ms') 2025-09-22 14:38:56,363 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91009020-84702492 failed! 2025-09-22 14:38:56,420 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91009020:ctest-vn-42479057 is 26.42.53.65 and allocation pool is NOT set 2025-09-22 14:38:58,481 - 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=6.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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.118/3.917/6.716/2.799 ms') 2025-09-22 14:38:58,481 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91009020-84702492 passed 2025-09-22 14:38:58,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 14:38:58,641 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91009020-84702492, IP 26.42.53.67, Port 22 2025-09-22 14:38:58,806 - DEBUG - VM ctest-TestRoutersBasic-91009020-84702492 is ready for SSH connections 2025-09-22 14:38:58,806 - INFO - Waiting for VM ctest-TestRoutersBasic-91009020-21786073 to be up.. 2025-09-22 14:38:58,888 - DEBUG - VM is in ACTIVE state now 2025-09-22 14:38:58,888 - INFO - VM name : ctest-TestRoutersBasic-91009020-21786073 2025-09-22 14:38:58,968 - DEBUG - VM ctest-TestRoutersBasic-91009020-21786073 ID is 756bb4f3-5037-46de-a65a-95fcf32aa4c5 2025-09-22 14:38:58,968 - DEBUG - VM ctest-TestRoutersBasic-91009020-21786073 launched on Node cn-jenkins-deploy-platform-ansible-os-4167-1 2025-09-22 14:38:59,048 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/756bb4f3-5037-46de-a65a-95fcf32aa4c5 2025-09-22 14:38:59,056 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7f81fa70-90ee-4a42-a57e-b52bdac91d67 2025-09-22 14:39:00,318 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.45 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.453/2.744/4.036/1.291 ms') 2025-09-22 14:39:00,318 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91009020-21786073 passed 2025-09-22 14:39:00,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 14:39:00,469 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91009020-21786073, IP 188.25.248.195, Port 22 2025-09-22 14:39:00,632 - DEBUG - VM ctest-TestRoutersBasic-91009020-21786073 is ready for SSH connections 2025-09-22 14:39:00,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 14:39:00,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.25.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-22 14:39:00,633 - DEBUG - ping -s 56 -c 3 -W 1 188.25.248.195 2025-09-22 14:39:04,415 - DEBUG - PING 188.25.248.195 (188.25.248.195): 56 data bytes 64 bytes from 188.25.248.195: seq=0 ttl=62 time=5.205 ms 64 bytes from 188.25.248.195: seq=1 ttl=62 time=1.308 ms 64 bytes from 188.25.248.195: seq=2 ttl=62 time=0.951 ms --- 188.25.248.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/2.488/5.205 ms 2025-09-22 14:39:04,415 - INFO - Ping to IP 188.25.248.195 from VM ctest-TestRoutersBasic-91009020-84702492 passed 2025-09-22 14:39:04,415 - INFO - Deleting interface with subnet_id 7d278e9d-d796-4c45-8f19-25a757cb81b0, port_id None from router 1d62ac57-7323-43dc-9532-46c76ae746fb 2025-09-22 14:39:04,661 - INFO - Deleting VM ctest-TestRoutersBasic-91009020-21786073 2025-09-22 14:39:04,760 - INFO - Deleting VM ctest-TestRoutersBasic-91009020-84702492 2025-09-22 14:39:04,845 - INFO - Deleting VN ctest-ext_vn-23642266 2025-09-22 14:39:04,945 - DEBUG - VN 9558ed1d-9566-4c5b-8491-f0bfe896a0ed still in use: Unable to complete operation on network 9558ed1d-9566-4c5b-8491-f0bfe896a0ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6fe0dc12-e231-4e2a-8216-42468fe50569'] 2025-09-22 14:39:04,946 - WARNING - Deleting VN ctest-ext_vn-23642266 failed..Will retry 2025-09-22 14:39:07,056 - DEBUG - Response for deleting network () 2025-09-22 14:39:07,056 - INFO - Deleting VN ctest-vn-42479057 2025-09-22 14:39:07,155 - DEBUG - Response for deleting network () 2025-09-22 14:39:07,410 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 14:39:07,410 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-09-22 14:39:07,410 - INFO - -------------------------------------------------------------------------------- 2025-09-22 14:39:08,131 - INFO - Deleted project: ctest-TestRoutersBasic-91009020, ID : c06dc69c-eb75-47c0-b349-d092f8e54b70