2025-07-23 13:30:15,876 - INFO - Domain Default found not creating 2025-07-23 13:30:16,034 - INFO - Project ctest-TestRoutersBasic-53543110 not found, creating it 2025-07-23 13:30:16,525 - INFO - Created Project:ctest-TestRoutersBasic-53543110, ID : f6908d5a-d000-4b62-903f-63ced873f2b2 2025-07-23 13:30:17,962 - INFO - ================================================================================ 2025-07-23 13:30:17,962 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-23 13:30:17,962 - 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-07-23 13:30:18,222 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.193': '0'}} with 2025-07-23 13:30:18,222 - INFO - Initial checks done. Running the testcase now 2025-07-23 13:30:18,222 - INFO - 2025-07-23 13:30:18,926 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53543110 2025-07-23 13:30:19,024 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53543110 2025-07-23 13:30:19,360 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53543110', 'default']} 2025-07-23 13:30:19,694 - DEBUG - Response for create_network : {'network': {'id': '0e83fd02-7d68-4979-a389-88893348f6b7', 'name': 'ctest-vn-90717159', 'tenant_id': 'f6908d5ad0004b62903f63ced873f2b2', 'project_id': 'f6908d5ad0004b62903f63ced873f2b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53543110', 'ctest-vn-90717159'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:30:19,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cfdf800-c12e-4060-a0fd-be638a926884', 'name': '', 'tenant_id': 'f6908d5ad0004b62903f63ced873f2b2', 'network_id': '0e83fd02-7d68-4979-a389-88893348f6b7', 'ip_version': 4, 'cidr': '193.155.140.128/26', 'allocation_pools': [{'start': '193.155.140.130', 'end': '193.155.140.190'}], 'gateway_ip': '193.155.140.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.155.140.130', 'tags': [], 'project_id': 'f6908d5ad0004b62903f63ced873f2b2'}} 2025-07-23 13:30:19,884 - INFO - Created VN ctest-vn-90717159 2025-07-23 13:30:19,940 - DEBUG - VN ctest-vn-90717159 UUID is 0e83fd02-7d68-4979-a389-88893348f6b7 2025-07-23 13:30:20,272 - DEBUG - Response for create_network : {'network': {'id': '45c66793-0df5-46b3-a2ec-745324e344bb', 'name': 'ctest-ext_vn-52958752', 'tenant_id': 'f6908d5ad0004b62903f63ced873f2b2', 'project_id': 'f6908d5ad0004b62903f63ced873f2b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53543110', 'ctest-ext_vn-52958752'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:30:20,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f0417b6-5fdf-4997-beb5-d74027bebd2b', 'name': '', 'tenant_id': 'f6908d5ad0004b62903f63ced873f2b2', 'network_id': '45c66793-0df5-46b3-a2ec-745324e344bb', 'ip_version': 4, 'cidr': '222.28.142.64/26', 'allocation_pools': [{'start': '222.28.142.66', 'end': '222.28.142.126'}], 'gateway_ip': '222.28.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.28.142.66', 'tags': [], 'project_id': 'f6908d5ad0004b62903f63ced873f2b2'}} 2025-07-23 13:30:20,524 - INFO - Created VN ctest-ext_vn-52958752 2025-07-23 13:30:20,576 - DEBUG - VN ctest-ext_vn-52958752 UUID is 45c66793-0df5-46b3-a2ec-745324e344bb 2025-07-23 13:30:20,764 - DEBUG - Services list from nova: [, , ] 2025-07-23 13:30:21,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3701-1) 2025-07-23 13:30:22,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3701-1) 2025-07-23 13:30:22,946 - INFO - Setting gateway for router 8da95018-693d-415e-840a-9903442722d1 to network 45c66793-0df5-46b3-a2ec-745324e344bb 2025-07-23 13:30:23,016 - INFO - Adding interface with subnet_id 7cfdf800-c12e-4060-a0fd-be638a926884, port_id None to router 8da95018-693d-415e-840a-9903442722d1 2025-07-23 13:30:23,408 - INFO - Waiting for VM ctest-TestRoutersBasic-53543110-62433116 to be up.. 2025-07-23 13:30:23,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 13:30:28,618 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:30:28,618 - INFO - VM name : ctest-TestRoutersBasic-53543110-62433116 2025-07-23 13:30:28,694 - DEBUG - VM ctest-TestRoutersBasic-53543110-62433116 ID is db21aafc-0304-4c40-b6db-aee0cc9e1a85 2025-07-23 13:30:28,714 - DEBUG - VM ctest-TestRoutersBasic-53543110-62433116 launched on Node cn-jenkins-deploy-platform-ansible-os-3701-1 2025-07-23 13:30:28,807 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/db21aafc-0304-4c40-b6db-aee0cc9e1a85 2025-07-23 13:30:29,101 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/db21aafc-0304-4c40-b6db-aee0cc9e1a85 2025-07-23 13:30:29,134 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b6f310da-7ab8-4947-966e-b086e64027a3 2025-07-23 13:30:32,402 - 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 1028ms') 2025-07-23 13:30:32,402 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53543110-62433116 failed! 2025-07-23 13:30:32,460 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53543110:ctest-vn-90717159 is 193.155.140.129 and allocation pool is NOT set 2025-07-23 13:30:34,524 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.410/1.680/2.951/1.270 ms') 2025-07-23 13:30:34,524 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53543110-62433116 passed 2025-07-23 13:30:34,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:30:34,684 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53543110-62433116, IP 193.155.140.131, Port 22 2025-07-23 13:30:34,850 - DEBUG - VM ctest-TestRoutersBasic-53543110-62433116 is ready for SSH connections 2025-07-23 13:30:34,850 - INFO - Waiting for VM ctest-TestRoutersBasic-53543110-41600796 to be up.. 2025-07-23 13:30:34,944 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:30:34,944 - INFO - VM name : ctest-TestRoutersBasic-53543110-41600796 2025-07-23 13:30:35,027 - DEBUG - VM ctest-TestRoutersBasic-53543110-41600796 ID is 51e11a7e-9c1e-4a36-abbe-4057a74cd3e6 2025-07-23 13:30:35,028 - DEBUG - VM ctest-TestRoutersBasic-53543110-41600796 launched on Node cn-jenkins-deploy-platform-ansible-os-3701-1 2025-07-23 13:30:35,105 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/51e11a7e-9c1e-4a36-abbe-4057a74cd3e6 2025-07-23 13:30:35,114 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f69f8028-81c0-4a24-a32e-20f68d5e533d 2025-07-23 13:30:36,381 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.857 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.857/2.531/4.206/1.674 ms') 2025-07-23 13:30:36,381 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-53543110-41600796 passed 2025-07-23 13:30:36,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:30:36,540 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53543110-41600796, IP 222.28.142.67, Port 22 2025-07-23 13:30:36,706 - DEBUG - VM ctest-TestRoutersBasic-53543110-41600796 is ready for SSH connections 2025-07-23 13:30:36,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:30:36,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.28.142.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-07-23 13:30:36,706 - DEBUG - ping -s 56 -c 3 -W 1 222.28.142.67 2025-07-23 13:30:40,379 - DEBUG - PING 222.28.142.67 (222.28.142.67): 56 data bytes 64 bytes from 222.28.142.67: seq=0 ttl=62 time=8.037 ms 64 bytes from 222.28.142.67: seq=1 ttl=62 time=0.984 ms 64 bytes from 222.28.142.67: seq=2 ttl=62 time=0.948 ms --- 222.28.142.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/3.323/8.037 ms 2025-07-23 13:30:40,379 - INFO - Ping to IP 222.28.142.67 from VM ctest-TestRoutersBasic-53543110-62433116 passed 2025-07-23 13:30:40,379 - INFO - Deleting interface with subnet_id 7cfdf800-c12e-4060-a0fd-be638a926884, port_id None from router 8da95018-693d-415e-840a-9903442722d1 2025-07-23 13:30:40,617 - INFO - Deleting VM ctest-TestRoutersBasic-53543110-41600796 2025-07-23 13:30:40,751 - INFO - Deleting VM ctest-TestRoutersBasic-53543110-62433116 2025-07-23 13:30:40,838 - INFO - Deleting VN ctest-ext_vn-52958752 2025-07-23 13:30:40,940 - DEBUG - VN 45c66793-0df5-46b3-a2ec-745324e344bb still in use: Unable to complete operation on network 45c66793-0df5-46b3-a2ec-745324e344bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27022e76-436f-415e-b009-8cee98fc0b59'] 2025-07-23 13:30:40,940 - WARNING - Deleting VN ctest-ext_vn-52958752 failed..Will retry 2025-07-23 13:30:43,051 - DEBUG - Response for deleting network () 2025-07-23 13:30:43,051 - INFO - Deleting VN ctest-vn-90717159 2025-07-23 13:30:43,169 - DEBUG - Response for deleting network () 2025-07-23 13:30:43,421 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 13:30:43,421 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-07-23 13:30:43,421 - INFO - -------------------------------------------------------------------------------- 2025-07-23 13:30:44,110 - INFO - Deleted project: ctest-TestRoutersBasic-53543110, ID : f6908d5a-d000-4b62-903f-63ced873f2b2