2025-08-11 06:09:59,324 - INFO - Domain Default found not creating 2025-08-11 06:09:59,461 - INFO - Project ctest-TestRoutersBasic-05994962 not found, creating it 2025-08-11 06:09:59,919 - INFO - Created Project:ctest-TestRoutersBasic-05994962, ID : a41ae0ac-8ff9-4c1a-ba09-ab52dec670d1 2025-08-11 06:10:01,307 - INFO - ================================================================================ 2025-08-11 06:10:01,307 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 06:10:01,307 - 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-08-11 06:10:01,563 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0'}} with 2025-08-11 06:10:01,563 - INFO - Initial checks done. Running the testcase now 2025-08-11 06:10:01,563 - INFO - 2025-08-11 06:10:02,270 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05994962 2025-08-11 06:10:02,381 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05994962 2025-08-11 06:10:02,717 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05994962', 'default']} 2025-08-11 06:10:03,005 - DEBUG - Response for create_network : {'network': {'id': '46fc273f-e2fc-44dc-a360-79ec4eef0345', 'name': 'ctest-vn-19634708', 'tenant_id': 'a41ae0ac8ff94c1aba09ab52dec670d1', 'project_id': 'a41ae0ac8ff94c1aba09ab52dec670d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05994962', 'ctest-vn-19634708'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 06:10:03,161 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1e8f512-ba47-4360-8e10-3309d82bda9b', 'name': '', 'tenant_id': 'a41ae0ac8ff94c1aba09ab52dec670d1', 'network_id': '46fc273f-e2fc-44dc-a360-79ec4eef0345', 'ip_version': 4, 'cidr': '90.194.171.128/26', 'allocation_pools': [{'start': '90.194.171.130', 'end': '90.194.171.190'}], 'gateway_ip': '90.194.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.194.171.130', 'tags': [], 'project_id': 'a41ae0ac8ff94c1aba09ab52dec670d1'}} 2025-08-11 06:10:03,179 - INFO - Created VN ctest-vn-19634708 2025-08-11 06:10:03,240 - DEBUG - VN ctest-vn-19634708 UUID is 46fc273f-e2fc-44dc-a360-79ec4eef0345 2025-08-11 06:10:03,572 - DEBUG - Response for create_network : {'network': {'id': '565262f2-1b34-4390-9ddb-4101c50b7b41', 'name': 'ctest-ext_vn-81518802', 'tenant_id': 'a41ae0ac8ff94c1aba09ab52dec670d1', 'project_id': 'a41ae0ac8ff94c1aba09ab52dec670d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05994962', 'ctest-ext_vn-81518802'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 06:10:03,723 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c39cdb89-5d46-4004-b14a-efa8e99cb5bb', 'name': '', 'tenant_id': 'a41ae0ac8ff94c1aba09ab52dec670d1', 'network_id': '565262f2-1b34-4390-9ddb-4101c50b7b41', 'ip_version': 4, 'cidr': '75.51.48.128/26', 'allocation_pools': [{'start': '75.51.48.130', 'end': '75.51.48.190'}], 'gateway_ip': '75.51.48.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.51.48.130', 'tags': [], 'project_id': 'a41ae0ac8ff94c1aba09ab52dec670d1'}} 2025-08-11 06:10:03,740 - INFO - Created VN ctest-ext_vn-81518802 2025-08-11 06:10:03,793 - DEBUG - VN ctest-ext_vn-81518802 UUID is 565262f2-1b34-4390-9ddb-4101c50b7b41 2025-08-11 06:10:04,000 - DEBUG - Services list from nova: [, , ] 2025-08-11 06:10:04,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3799-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3799-1) 2025-08-11 06:10:06,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3799-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3799-1) 2025-08-11 06:10:06,155 - INFO - Setting gateway for router ce75ac4e-1258-470e-9b38-832b668ff5e6 to network 565262f2-1b34-4390-9ddb-4101c50b7b41 2025-08-11 06:10:06,239 - INFO - Adding interface with subnet_id d1e8f512-ba47-4360-8e10-3309d82bda9b, port_id None to router ce75ac4e-1258-470e-9b38-832b668ff5e6 2025-08-11 06:10:06,711 - INFO - Waiting for VM ctest-TestRoutersBasic-05994962-05667390 to be up.. 2025-08-11 06:10:06,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 06:10:11,948 - DEBUG - VM is in ACTIVE state now 2025-08-11 06:10:11,948 - INFO - VM name : ctest-TestRoutersBasic-05994962-05667390 2025-08-11 06:10:12,027 - DEBUG - VM ctest-TestRoutersBasic-05994962-05667390 ID is 6ba2b5a4-bc4f-445a-831e-5eb8d8e6bdb8 2025-08-11 06:10:12,045 - DEBUG - VM ctest-TestRoutersBasic-05994962-05667390 launched on Node cn-jenkins-deploy-platform-ansible-os-3799-1 2025-08-11 06:10:12,122 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/6ba2b5a4-bc4f-445a-831e-5eb8d8e6bdb8 2025-08-11 06:10:12,413 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/6ba2b5a4-bc4f-445a-831e-5eb8d8e6bdb8 2025-08-11 06:10:12,446 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c9815813-3484-4a98-9225-fa054bd22095 2025-08-11 06:10:15,712 - 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 1015ms') 2025-08-11 06:10:15,712 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05994962-05667390 failed! 2025-08-11 06:10:15,774 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05994962:ctest-vn-19634708 is 90.194.171.129 and allocation pool is NOT set 2025-08-11 06:10:17,836 - 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=5.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.445 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.445/3.015/5.586/2.570 ms') 2025-08-11 06:10:17,836 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05994962-05667390 passed 2025-08-11 06:10:17,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:10:17,989 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05994962-05667390, IP 90.194.171.131, Port 22 2025-08-11 06:10:18,154 - DEBUG - VM ctest-TestRoutersBasic-05994962-05667390 is ready for SSH connections 2025-08-11 06:10:18,154 - INFO - Waiting for VM ctest-TestRoutersBasic-05994962-72850683 to be up.. 2025-08-11 06:10:18,241 - DEBUG - VM is in ACTIVE state now 2025-08-11 06:10:18,241 - INFO - VM name : ctest-TestRoutersBasic-05994962-72850683 2025-08-11 06:10:18,313 - DEBUG - VM ctest-TestRoutersBasic-05994962-72850683 ID is 255f6298-1922-4f09-ac63-f78bc6e24ca2 2025-08-11 06:10:18,313 - DEBUG - VM ctest-TestRoutersBasic-05994962-72850683 launched on Node cn-jenkins-deploy-platform-ansible-os-3799-1 2025-08-11 06:10:18,394 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/255f6298-1922-4f09-ac63-f78bc6e24ca2 2025-08-11 06:10:18,406 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/11a1d780-aa63-47fc-a1d0-eebc1a82a18b 2025-08-11 06:10:19,656 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.724/3.072/1.348 ms') 2025-08-11 06:10:19,657 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05994962-72850683 passed 2025-08-11 06:10:19,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:10:19,813 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05994962-72850683, IP 75.51.48.131, Port 22 2025-08-11 06:10:19,965 - DEBUG - VM ctest-TestRoutersBasic-05994962-72850683 is ready for SSH connections 2025-08-11 06:10:19,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:10:19,965 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.51.48.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-11 06:10:19,965 - DEBUG - ping -s 56 -c 3 -W 1 75.51.48.131 2025-08-11 06:10:23,692 - DEBUG - PING 75.51.48.131 (75.51.48.131): 56 data bytes 64 bytes from 75.51.48.131: seq=0 ttl=62 time=6.211 ms 64 bytes from 75.51.48.131: seq=1 ttl=62 time=0.844 ms 64 bytes from 75.51.48.131: seq=2 ttl=62 time=1.015 ms --- 75.51.48.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/2.690/6.211 ms 2025-08-11 06:10:23,692 - INFO - Ping to IP 75.51.48.131 from VM ctest-TestRoutersBasic-05994962-05667390 passed 2025-08-11 06:10:23,692 - INFO - Deleting interface with subnet_id d1e8f512-ba47-4360-8e10-3309d82bda9b, port_id None from router ce75ac4e-1258-470e-9b38-832b668ff5e6 2025-08-11 06:10:23,904 - INFO - Deleting VM ctest-TestRoutersBasic-05994962-72850683 2025-08-11 06:10:23,974 - INFO - Deleting VM ctest-TestRoutersBasic-05994962-05667390 2025-08-11 06:10:24,074 - INFO - Deleting VN ctest-ext_vn-81518802 2025-08-11 06:10:24,155 - DEBUG - VN 565262f2-1b34-4390-9ddb-4101c50b7b41 still in use: Unable to complete operation on network 565262f2-1b34-4390-9ddb-4101c50b7b41. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-533a9945-6cbb-47b3-a69d-da82d9c8d0df'] 2025-08-11 06:10:24,155 - WARNING - Deleting VN ctest-ext_vn-81518802 failed..Will retry 2025-08-11 06:10:26,270 - DEBUG - Response for deleting network () 2025-08-11 06:10:26,270 - INFO - Deleting VN ctest-vn-19634708 2025-08-11 06:10:26,380 - DEBUG - Response for deleting network () 2025-08-11 06:10:26,637 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 06:10:26,637 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-08-11 06:10:26,637 - INFO - -------------------------------------------------------------------------------- 2025-08-11 06:10:27,332 - INFO - Deleted project: ctest-TestRoutersBasic-05994962, ID : a41ae0ac-8ff9-4c1a-ba09-ab52dec670d1