2025-01-13 14:45:59,487 - INFO - Domain Default found not creating 2025-01-13 14:45:59,665 - INFO - Project ctest-TestRoutersBasic-77619220 not found, creating it 2025-01-13 14:46:00,189 - INFO - Created Project:ctest-TestRoutersBasic-77619220, ID : c9b2157c-250e-4430-83e4-6b145d7dd04a 2025-01-13 14:46:01,804 - INFO - ================================================================================ 2025-01-13 14:46:01,804 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-13 14:46:01,804 - 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-01-13 14:46:02,080 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.6': '0'}} with 2025-01-13 14:46:02,080 - INFO - Initial checks done. Running the testcase now 2025-01-13 14:46:02,080 - INFO - 2025-01-13 14:46:03,326 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77619220 2025-01-13 14:46:03,428 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77619220 2025-01-13 14:46:03,771 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77619220', 'default']} 2025-01-13 14:46:04,096 - DEBUG - Response for create_network : {'network': {'id': 'ee1e8e95-f34b-4330-86c0-5d8c0eb224c4', 'name': 'ctest-vn-46405087', 'tenant_id': 'c9b2157c250e443083e46b145d7dd04a', 'project_id': 'c9b2157c250e443083e46b145d7dd04a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77619220', 'ctest-vn-46405087'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 14:46:04,325 - DEBUG - Response for create_subnet : {'subnet': {'id': '411d886c-d313-4bb9-b528-21c9a86ac3f5', 'name': '', 'tenant_id': 'c9b2157c250e443083e46b145d7dd04a', 'network_id': 'ee1e8e95-f34b-4330-86c0-5d8c0eb224c4', 'ip_version': 4, 'cidr': '79.227.223.192/26', 'allocation_pools': [{'start': '79.227.223.194', 'end': '79.227.223.254'}], 'gateway_ip': '79.227.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.227.223.194', 'tags': [], 'project_id': 'c9b2157c250e443083e46b145d7dd04a'}} 2025-01-13 14:46:04,348 - INFO - Created VN ctest-vn-46405087 2025-01-13 14:46:04,403 - DEBUG - VN ctest-vn-46405087 UUID is ee1e8e95-f34b-4330-86c0-5d8c0eb224c4 2025-01-13 14:46:04,772 - DEBUG - Response for create_network : {'network': {'id': '05581042-5572-497a-913e-87e1afc0c388', 'name': 'ctest-ext_vn-51954193', 'tenant_id': 'c9b2157c250e443083e46b145d7dd04a', 'project_id': 'c9b2157c250e443083e46b145d7dd04a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77619220', 'ctest-ext_vn-51954193'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 14:46:04,976 - DEBUG - Response for create_subnet : {'subnet': {'id': '23023e1f-5029-4f23-8ffd-d99f2188df62', 'name': '', 'tenant_id': 'c9b2157c250e443083e46b145d7dd04a', 'network_id': '05581042-5572-497a-913e-87e1afc0c388', 'ip_version': 4, 'cidr': '199.96.192.192/26', 'allocation_pools': [{'start': '199.96.192.194', 'end': '199.96.192.254'}], 'gateway_ip': '199.96.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.96.192.194', 'tags': [], 'project_id': 'c9b2157c250e443083e46b145d7dd04a'}} 2025-01-13 14:46:04,997 - INFO - Created VN ctest-ext_vn-51954193 2025-01-13 14:46:05,052 - DEBUG - VN ctest-ext_vn-51954193 UUID is 05581042-5572-497a-913e-87e1afc0c388 2025-01-13 14:46:05,241 - DEBUG - Services list from nova: [, , ] 2025-01-13 14:46:06,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2612-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2612-1) 2025-01-13 14:46:07,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2612-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2612-1) 2025-01-13 14:46:07,773 - INFO - Setting gateway for router 6311219f-ec4b-4757-b64c-099dcc6eb7bb to network 05581042-5572-497a-913e-87e1afc0c388 2025-01-13 14:46:07,845 - INFO - Adding interface with subnet_id 411d886c-d313-4bb9-b528-21c9a86ac3f5, port_id None to router 6311219f-ec4b-4757-b64c-099dcc6eb7bb 2025-01-13 14:46:08,414 - INFO - Waiting for VM ctest-TestRoutersBasic-77619220-14590433 to be up.. 2025-01-13 14:46:08,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 14:46:13,637 - DEBUG - VM is in ACTIVE state now 2025-01-13 14:46:13,637 - INFO - VM name : ctest-TestRoutersBasic-77619220-14590433 2025-01-13 14:46:13,718 - DEBUG - VM ctest-TestRoutersBasic-77619220-14590433 ID is af06d8fe-bc1c-446c-b447-e983e1fca3ff 2025-01-13 14:46:13,740 - DEBUG - VM ctest-TestRoutersBasic-77619220-14590433 launched on Node cn-jenkins-deploy-platform-ansible-os-2612-1 2025-01-13 14:46:13,828 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/af06d8fe-bc1c-446c-b447-e983e1fca3ff 2025-01-13 14:46:14,143 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/af06d8fe-bc1c-446c-b447-e983e1fca3ff 2025-01-13 14:46:14,176 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/d9ae1aea-d144-4161-863d-a4d91274fc0e 2025-01-13 14:46:17,449 - 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 1014ms') 2025-01-13 14:46:17,449 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77619220-14590433 failed! 2025-01-13 14:46:17,507 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77619220:ctest-vn-46405087 is 79.227.223.193 and allocation pool is NOT set 2025-01-13 14:46:19,570 - 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=2.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.668 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.668/1.815/2.963/1.147 ms') 2025-01-13 14:46:19,571 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77619220-14590433 passed 2025-01-13 14:46:19,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 14:46:19,684 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77619220-14590433, IP 79.227.223.195, Port 22 2025-01-13 14:46:19,847 - DEBUG - VM ctest-TestRoutersBasic-77619220-14590433 is ready for SSH connections 2025-01-13 14:46:19,847 - INFO - Waiting for VM ctest-TestRoutersBasic-77619220-53163875 to be up.. 2025-01-13 14:46:19,932 - DEBUG - VM is in ACTIVE state now 2025-01-13 14:46:19,932 - INFO - VM name : ctest-TestRoutersBasic-77619220-53163875 2025-01-13 14:46:20,027 - DEBUG - VM ctest-TestRoutersBasic-77619220-53163875 ID is 4021c8a0-d6eb-42c7-99d8-0c94134529ed 2025-01-13 14:46:20,027 - DEBUG - VM ctest-TestRoutersBasic-77619220-53163875 launched on Node cn-jenkins-deploy-platform-ansible-os-2612-1 2025-01-13 14:46:20,111 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/4021c8a0-d6eb-42c7-99d8-0c94134529ed 2025-01-13 14:46:20,121 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4b8482f1-8d62-4d3d-8018-16576d6642af 2025-01-13 14:46:21,371 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.577 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.577/2.290/4.003/1.713 ms') 2025-01-13 14:46:21,371 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77619220-53163875 passed 2025-01-13 14:46:21,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 14:46:21,520 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77619220-53163875, IP 199.96.192.195, Port 22 2025-01-13 14:46:21,695 - DEBUG - VM ctest-TestRoutersBasic-77619220-53163875 is ready for SSH connections 2025-01-13 14:46:21,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 14:46:21,695 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.96.192.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-01-13 14:46:21,696 - DEBUG - ping -s 56 -c 3 -W 1 199.96.192.195 2025-01-13 14:46:25,434 - DEBUG - PING 199.96.192.195 (199.96.192.195): 56 data bytes 64 bytes from 199.96.192.195: seq=0 ttl=62 time=7.681 ms 64 bytes from 199.96.192.195: seq=1 ttl=62 time=0.927 ms 64 bytes from 199.96.192.195: seq=2 ttl=62 time=0.987 ms --- 199.96.192.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.927/3.198/7.681 ms 2025-01-13 14:46:25,434 - INFO - Ping to IP 199.96.192.195 from VM ctest-TestRoutersBasic-77619220-14590433 passed 2025-01-13 14:46:25,434 - INFO - Deleting interface with subnet_id 411d886c-d313-4bb9-b528-21c9a86ac3f5, port_id None from router 6311219f-ec4b-4757-b64c-099dcc6eb7bb 2025-01-13 14:46:25,676 - INFO - Deleting VM ctest-TestRoutersBasic-77619220-53163875 2025-01-13 14:46:25,774 - INFO - Deleting VM ctest-TestRoutersBasic-77619220-14590433 2025-01-13 14:46:25,857 - INFO - Deleting VN ctest-ext_vn-51954193 2025-01-13 14:46:25,959 - DEBUG - VN 05581042-5572-497a-913e-87e1afc0c388 still in use: Unable to complete operation on network 05581042-5572-497a-913e-87e1afc0c388. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2e356d5-1f38-4b9b-a3db-0f1b0b22307a'] 2025-01-13 14:46:25,959 - WARNING - Deleting VN ctest-ext_vn-51954193 failed..Will retry 2025-01-13 14:46:28,095 - DEBUG - Response for deleting network () 2025-01-13 14:46:28,095 - INFO - Deleting VN ctest-vn-46405087 2025-01-13 14:46:28,230 - DEBUG - Response for deleting network () 2025-01-13 14:46:28,490 - DEBUG - No XMPP flaps were noticed during the test 2025-01-13 14:46:28,490 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-01-13 14:46:28,490 - INFO - -------------------------------------------------------------------------------- 2025-01-13 14:46:29,172 - INFO - Deleted project: ctest-TestRoutersBasic-77619220, ID : c9b2157c-250e-4430-83e4-6b145d7dd04a