2025-10-23 01:59:44,117 - INFO - Domain Default found not creating 2025-10-23 01:59:44,281 - INFO - Project ctest-TestRoutersBasic-59605907 not found, creating it 2025-10-23 01:59:44,780 - INFO - Created Project:ctest-TestRoutersBasic-59605907, ID : abf56e6e-290e-4621-8760-9df37c4784fb 2025-10-23 01:59:46,266 - INFO - ================================================================================ 2025-10-23 01:59:46,266 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-23 01:59:46,266 - 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-23 01:59:46,525 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.252': '0'}} with 2025-10-23 01:59:46,525 - INFO - Initial checks done. Running the testcase now 2025-10-23 01:59:46,525 - INFO - 2025-10-23 01:59:47,252 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59605907 2025-10-23 01:59:47,351 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59605907 2025-10-23 01:59:47,684 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59605907', 'default']} 2025-10-23 01:59:47,982 - DEBUG - Response for create_network : {'network': {'id': '9bfc9188-b294-4af8-9762-17afb8a91081', 'name': 'ctest-vn-50907226', 'tenant_id': 'abf56e6e290e462187609df37c4784fb', 'project_id': 'abf56e6e290e462187609df37c4784fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59605907', 'ctest-vn-50907226'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:59:48,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '35628abf-7292-484f-8549-165859753f17', 'name': '', 'tenant_id': 'abf56e6e290e462187609df37c4784fb', 'network_id': '9bfc9188-b294-4af8-9762-17afb8a91081', 'ip_version': 4, 'cidr': '199.128.222.0/26', 'allocation_pools': [{'start': '199.128.222.2', 'end': '199.128.222.62'}], 'gateway_ip': '199.128.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.128.222.2', 'tags': [], 'project_id': 'abf56e6e290e462187609df37c4784fb'}} 2025-10-23 01:59:48,181 - INFO - Created VN ctest-vn-50907226 2025-10-23 01:59:48,235 - DEBUG - VN ctest-vn-50907226 UUID is 9bfc9188-b294-4af8-9762-17afb8a91081 2025-10-23 01:59:48,553 - DEBUG - Response for create_network : {'network': {'id': '0bd36ad4-fc7c-4694-aa64-c869f5fd2617', 'name': 'ctest-ext_vn-63934554', 'tenant_id': 'abf56e6e290e462187609df37c4784fb', 'project_id': 'abf56e6e290e462187609df37c4784fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59605907', 'ctest-ext_vn-63934554'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:59:48,768 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b4e99bb-cdc0-4957-b154-4ccad91ca816', 'name': '', 'tenant_id': 'abf56e6e290e462187609df37c4784fb', 'network_id': '0bd36ad4-fc7c-4694-aa64-c869f5fd2617', 'ip_version': 4, 'cidr': '62.47.126.128/26', 'allocation_pools': [{'start': '62.47.126.130', 'end': '62.47.126.190'}], 'gateway_ip': '62.47.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.47.126.130', 'tags': [], 'project_id': 'abf56e6e290e462187609df37c4784fb'}} 2025-10-23 01:59:48,785 - INFO - Created VN ctest-ext_vn-63934554 2025-10-23 01:59:48,839 - DEBUG - VN ctest-ext_vn-63934554 UUID is 0bd36ad4-fc7c-4694-aa64-c869f5fd2617 2025-10-23 01:59:49,014 - DEBUG - Services list from nova: [, , ] 2025-10-23 01:59:50,028 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4451-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4451-1) 2025-10-23 01:59:51,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4451-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4451-1) 2025-10-23 01:59:51,239 - INFO - Setting gateway for router baa9f2aa-74ad-446a-ad0a-417903b5d3b3 to network 0bd36ad4-fc7c-4694-aa64-c869f5fd2617 2025-10-23 01:59:51,316 - INFO - Adding interface with subnet_id 35628abf-7292-484f-8549-165859753f17, port_id None to router baa9f2aa-74ad-446a-ad0a-417903b5d3b3 2025-10-23 01:59:51,628 - INFO - Waiting for VM ctest-TestRoutersBasic-59605907-90791027 to be up.. 2025-10-23 01:59:51,754 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 01:59:56,834 - DEBUG - VM is in ACTIVE state now 2025-10-23 01:59:56,834 - INFO - VM name : ctest-TestRoutersBasic-59605907-90791027 2025-10-23 01:59:56,925 - DEBUG - VM ctest-TestRoutersBasic-59605907-90791027 ID is 0b3c59c6-4641-4969-9eca-8b3ca4fcd209 2025-10-23 01:59:56,950 - DEBUG - VM ctest-TestRoutersBasic-59605907-90791027 launched on Node cn-jenkins-deploy-platform-ansible-os-4451-1 2025-10-23 01:59:57,026 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/0b3c59c6-4641-4969-9eca-8b3ca4fcd209 2025-10-23 01:59:57,330 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/0b3c59c6-4641-4969-9eca-8b3ca4fcd209 2025-10-23 01:59:57,362 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/75639268-fdca-4c35-a9aa-3b25a834783e 2025-10-23 02:00:00,639 - 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 1034ms') 2025-10-23 02:00:00,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59605907-90791027 failed! 2025-10-23 02:00:00,699 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59605907:ctest-vn-50907226 is 199.128.222.1 and allocation pool is NOT set 2025-10-23 02:00:02,763 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.532 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.532/2.057/3.582/1.525 ms') 2025-10-23 02:00:02,764 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59605907-90791027 passed 2025-10-23 02:00:02,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:00:02,923 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59605907-90791027, IP 199.128.222.3, Port 22 2025-10-23 02:00:03,101 - DEBUG - VM ctest-TestRoutersBasic-59605907-90791027 is ready for SSH connections 2025-10-23 02:00:03,101 - INFO - Waiting for VM ctest-TestRoutersBasic-59605907-59431615 to be up.. 2025-10-23 02:00:03,192 - DEBUG - VM is in ACTIVE state now 2025-10-23 02:00:03,192 - INFO - VM name : ctest-TestRoutersBasic-59605907-59431615 2025-10-23 02:00:03,276 - DEBUG - VM ctest-TestRoutersBasic-59605907-59431615 ID is d39d9492-66a2-4e3e-abb8-3a04bf5084e5 2025-10-23 02:00:03,276 - DEBUG - VM ctest-TestRoutersBasic-59605907-59431615 launched on Node cn-jenkins-deploy-platform-ansible-os-4451-1 2025-10-23 02:00:03,369 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/d39d9492-66a2-4e3e-abb8-3a04bf5084e5 2025-10-23 02:00:03,379 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/7f7bc72a-cc5c-485b-80aa-56df772182b7 2025-10-23 02:00:04,625 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.08 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.075/2.137/3.199/1.062 ms') 2025-10-23 02:00:04,625 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59605907-59431615 passed 2025-10-23 02:00:04,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:00:04,779 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59605907-59431615, IP 62.47.126.131, Port 22 2025-10-23 02:00:04,935 - DEBUG - VM ctest-TestRoutersBasic-59605907-59431615 is ready for SSH connections 2025-10-23 02:00:04,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:00:04,935 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.47.126.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-23 02:00:04,936 - DEBUG - ping -s 56 -c 3 -W 1 62.47.126.131 2025-10-23 02:00:08,647 - DEBUG - PING 62.47.126.131 (62.47.126.131): 56 data bytes 64 bytes from 62.47.126.131: seq=0 ttl=62 time=4.991 ms 64 bytes from 62.47.126.131: seq=1 ttl=62 time=0.884 ms 64 bytes from 62.47.126.131: seq=2 ttl=62 time=1.059 ms --- 62.47.126.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.884/2.311/4.991 ms 2025-10-23 02:00:08,647 - INFO - Ping to IP 62.47.126.131 from VM ctest-TestRoutersBasic-59605907-90791027 passed 2025-10-23 02:00:08,647 - INFO - Deleting interface with subnet_id 35628abf-7292-484f-8549-165859753f17, port_id None from router baa9f2aa-74ad-446a-ad0a-417903b5d3b3 2025-10-23 02:00:08,852 - INFO - Deleting VM ctest-TestRoutersBasic-59605907-59431615 2025-10-23 02:00:08,931 - INFO - Deleting VM ctest-TestRoutersBasic-59605907-90791027 2025-10-23 02:00:09,024 - INFO - Deleting VN ctest-ext_vn-63934554 2025-10-23 02:00:09,099 - DEBUG - VN 0bd36ad4-fc7c-4694-aa64-c869f5fd2617 still in use: Unable to complete operation on network 0bd36ad4-fc7c-4694-aa64-c869f5fd2617. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-303843be-29b2-4393-86f3-82ce5bd9b53a'] 2025-10-23 02:00:09,099 - WARNING - Deleting VN ctest-ext_vn-63934554 failed..Will retry 2025-10-23 02:00:11,212 - DEBUG - Response for deleting network () 2025-10-23 02:00:11,212 - INFO - Deleting VN ctest-vn-50907226 2025-10-23 02:00:11,327 - DEBUG - Response for deleting network () 2025-10-23 02:00:11,585 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 02:00:11,585 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-23 02:00:11,585 - INFO - -------------------------------------------------------------------------------- 2025-10-23 02:00:12,317 - INFO - Deleted project: ctest-TestRoutersBasic-59605907, ID : abf56e6e-290e-4621-8760-9df37c4784fb