2025-10-30 22:06:27,636 - INFO - Domain Default found not creating 2025-10-30 22:06:27,793 - INFO - Project ctest-TestRoutersBasic-29949521 not found, creating it 2025-10-30 22:06:28,249 - INFO - Created Project:ctest-TestRoutersBasic-29949521, ID : 07e14307-650c-4fbf-89a7-2fb87f1404c0 2025-10-30 22:06:29,742 - INFO - ================================================================================ 2025-10-30 22:06:29,742 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 22:06:29,742 - 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-30 22:06:29,997 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.5': '0'}} with 2025-10-30 22:06:29,997 - INFO - Initial checks done. Running the testcase now 2025-10-30 22:06:29,997 - INFO - 2025-10-30 22:06:30,708 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29949521 2025-10-30 22:06:30,802 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29949521 2025-10-30 22:06:31,146 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29949521', 'default']} 2025-10-30 22:06:31,447 - DEBUG - Response for create_network : {'network': {'id': 'b073cf2d-ae0b-4e06-ae50-beab54723a9b', 'name': 'ctest-vn-31357041', 'tenant_id': '07e14307650c4fbf89a72fb87f1404c0', 'project_id': '07e14307650c4fbf89a72fb87f1404c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29949521', 'ctest-vn-31357041'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:06:31,649 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9adf7c4-a713-40f7-a3aa-31c08acdb2a3', 'name': '', 'tenant_id': '07e14307650c4fbf89a72fb87f1404c0', 'network_id': 'b073cf2d-ae0b-4e06-ae50-beab54723a9b', 'ip_version': 4, 'cidr': '162.45.25.64/26', 'allocation_pools': [{'start': '162.45.25.66', 'end': '162.45.25.126'}], 'gateway_ip': '162.45.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.45.25.66', 'tags': [], 'project_id': '07e14307650c4fbf89a72fb87f1404c0'}} 2025-10-30 22:06:31,668 - INFO - Created VN ctest-vn-31357041 2025-10-30 22:06:31,722 - DEBUG - VN ctest-vn-31357041 UUID is b073cf2d-ae0b-4e06-ae50-beab54723a9b 2025-10-30 22:06:32,052 - DEBUG - Response for create_network : {'network': {'id': '9d7ca71b-ef0a-454a-95a2-6fd846a07398', 'name': 'ctest-ext_vn-26234370', 'tenant_id': '07e14307650c4fbf89a72fb87f1404c0', 'project_id': '07e14307650c4fbf89a72fb87f1404c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29949521', 'ctest-ext_vn-26234370'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:06:32,247 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec3c5ff9-3b29-452e-9f29-5dc220451b57', 'name': '', 'tenant_id': '07e14307650c4fbf89a72fb87f1404c0', 'network_id': '9d7ca71b-ef0a-454a-95a2-6fd846a07398', 'ip_version': 4, 'cidr': '213.184.95.64/26', 'allocation_pools': [{'start': '213.184.95.66', 'end': '213.184.95.126'}], 'gateway_ip': '213.184.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.184.95.66', 'tags': [], 'project_id': '07e14307650c4fbf89a72fb87f1404c0'}} 2025-10-30 22:06:32,265 - INFO - Created VN ctest-ext_vn-26234370 2025-10-30 22:06:32,330 - DEBUG - VN ctest-ext_vn-26234370 UUID is 9d7ca71b-ef0a-454a-95a2-6fd846a07398 2025-10-30 22:06:32,499 - DEBUG - Services list from nova: [, , ] 2025-10-30 22:06:33,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4558-1) 2025-10-30 22:06:34,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4558-1) 2025-10-30 22:06:34,762 - INFO - Setting gateway for router 80ebfd01-368c-48b0-a755-6c8b74c7fb5d to network 9d7ca71b-ef0a-454a-95a2-6fd846a07398 2025-10-30 22:06:34,841 - INFO - Adding interface with subnet_id f9adf7c4-a713-40f7-a3aa-31c08acdb2a3, port_id None to router 80ebfd01-368c-48b0-a755-6c8b74c7fb5d 2025-10-30 22:06:35,271 - INFO - Waiting for VM ctest-TestRoutersBasic-29949521-74776084 to be up.. 2025-10-30 22:06:35,437 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 22:06:40,534 - DEBUG - VM is in ACTIVE state now 2025-10-30 22:06:40,534 - INFO - VM name : ctest-TestRoutersBasic-29949521-74776084 2025-10-30 22:06:40,618 - DEBUG - VM ctest-TestRoutersBasic-29949521-74776084 ID is dd6b9c0d-f436-4903-848a-347e7494319d 2025-10-30 22:06:40,640 - DEBUG - VM ctest-TestRoutersBasic-29949521-74776084 launched on Node cn-jenkins-deploy-platform-ansible-os-4558-1 2025-10-30 22:06:40,731 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/dd6b9c0d-f436-4903-848a-347e7494319d 2025-10-30 22:06:41,038 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/dd6b9c0d-f436-4903-848a-347e7494319d 2025-10-30 22:06:41,072 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/76025391-1807-44d2-be65-166487b9f1c5 2025-10-30 22:06:44,316 - 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 1006ms') 2025-10-30 22:06:44,316 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29949521-74776084 failed! 2025-10-30 22:06:44,372 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29949521:ctest-vn-31357041 is 162.45.25.65 and allocation pool is NOT set 2025-10-30 22:06:46,433 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.652 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.652/1.888/3.125/1.236 ms') 2025-10-30 22:06:46,433 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29949521-74776084 passed 2025-10-30 22:06:46,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:06:46,583 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29949521-74776084, IP 162.45.25.67, Port 22 2025-10-30 22:06:46,738 - DEBUG - VM ctest-TestRoutersBasic-29949521-74776084 is ready for SSH connections 2025-10-30 22:06:46,738 - INFO - Waiting for VM ctest-TestRoutersBasic-29949521-15660978 to be up.. 2025-10-30 22:06:46,827 - DEBUG - VM is in ACTIVE state now 2025-10-30 22:06:46,827 - INFO - VM name : ctest-TestRoutersBasic-29949521-15660978 2025-10-30 22:06:46,897 - DEBUG - VM ctest-TestRoutersBasic-29949521-15660978 ID is d2c4d6af-310f-4035-a9ed-e99f6c1ff379 2025-10-30 22:06:46,898 - DEBUG - VM ctest-TestRoutersBasic-29949521-15660978 launched on Node cn-jenkins-deploy-platform-ansible-os-4558-1 2025-10-30 22:06:46,971 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/d2c4d6af-310f-4035-a9ed-e99f6c1ff379 2025-10-30 22:06:46,980 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/61d2f3a3-56d9-4e81-971f-60e3af6976cc 2025-10-30 22:06:48,217 - 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=3.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.689 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.689/2.030/3.371/1.341 ms') 2025-10-30 22:06:48,217 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29949521-15660978 passed 2025-10-30 22:06:48,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:06:48,367 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29949521-15660978, IP 213.184.95.67, Port 22 2025-10-30 22:06:48,526 - DEBUG - VM ctest-TestRoutersBasic-29949521-15660978 is ready for SSH connections 2025-10-30 22:06:48,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:06:48,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.184.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-30 22:06:48,526 - DEBUG - ping -s 56 -c 3 -W 1 213.184.95.67 2025-10-30 22:06:52,211 - DEBUG - PING 213.184.95.67 (213.184.95.67): 56 data bytes 64 bytes from 213.184.95.67: seq=0 ttl=62 time=5.859 ms 64 bytes from 213.184.95.67: seq=1 ttl=62 time=0.995 ms 64 bytes from 213.184.95.67: seq=2 ttl=62 time=1.139 ms --- 213.184.95.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.995/2.664/5.859 ms 2025-10-30 22:06:52,211 - INFO - Ping to IP 213.184.95.67 from VM ctest-TestRoutersBasic-29949521-74776084 passed 2025-10-30 22:06:52,211 - INFO - Deleting interface with subnet_id f9adf7c4-a713-40f7-a3aa-31c08acdb2a3, port_id None from router 80ebfd01-368c-48b0-a755-6c8b74c7fb5d 2025-10-30 22:06:52,400 - INFO - Deleting VM ctest-TestRoutersBasic-29949521-15660978 2025-10-30 22:06:52,475 - INFO - Deleting VM ctest-TestRoutersBasic-29949521-74776084 2025-10-30 22:06:52,551 - INFO - Deleting VN ctest-ext_vn-26234370 2025-10-30 22:06:52,618 - DEBUG - VN 9d7ca71b-ef0a-454a-95a2-6fd846a07398 still in use: Unable to complete operation on network 9d7ca71b-ef0a-454a-95a2-6fd846a07398. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84ac44e5-fe0a-4291-bd17-21334924bba2'] 2025-10-30 22:06:52,618 - WARNING - Deleting VN ctest-ext_vn-26234370 failed..Will retry 2025-10-30 22:06:54,737 - DEBUG - Response for deleting network () 2025-10-30 22:06:54,737 - INFO - Deleting VN ctest-vn-31357041 2025-10-30 22:06:54,839 - DEBUG - Response for deleting network () 2025-10-30 22:06:55,096 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 22:06:55,096 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-30 22:06:55,097 - INFO - -------------------------------------------------------------------------------- 2025-10-30 22:06:56,384 - INFO - Deleted project: ctest-TestRoutersBasic-29949521, ID : 07e14307-650c-4fbf-89a7-2fb87f1404c0