appgate / terraform-provider-appgatesdp

Terraform Provider for Appgate SDP
https://registry.terraform.io/providers/appgate/appgatesdp
MIT License
21 stars 10 forks source link

added `administrative_role.privileges.functions` attribute and made `privileges` a TypeSet #256

Closed dlnilsson closed 2 years ago

dlnilsson commented 2 years ago

Updated administrative_role.privileges.functions attribute ( fixes #255) Updated privileges from TypeList to TypeSet ( fixes #97 )

dlnilsson commented 2 years ago

Acceptance tests for 6.0.1-30095-release

``` make testacc ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./appgate -v -count 1 -parallel 20 -timeout 120m === RUN TestNewClient --- PASS: TestNewClient (0.00s) === RUN TestLoginInternalServerError --- PASS: TestLoginInternalServerError (0.00s) === RUN TestClient === RUN TestClient/test_before_5.4 2022/09/01 14:23:53 [DEBUG] Login OK === RUN TestClient/test_5.4_login 2022/09/01 14:23:53 [DEBUG] Login OK === RUN TestClient/invalid_client_version === RUN TestClient/500_login_response 2022/09/01 14:23:53 [DEBUG] Login failed, controller not responding, got HTTP 500 2022/09/01 14:23:54 [DEBUG] Login failed, controller not responding, got HTTP 500 === RUN TestClient/502_login_response 2022/09/01 14:23:54 [DEBUG] Login failed, controller not responding, got HTTP 502 2022/09/01 14:23:55 [DEBUG] Login failed, controller not responding, got HTTP 502 === RUN TestClient/503_login_response 2022/09/01 14:23:55 [DEBUG] Login failed, controller not responding, got HTTP 503 2022/09/01 14:23:55 [DEBUG] Login failed, controller not responding, got HTTP 503 === RUN TestClient/406_login_response === RUN TestClient/test_with_invalid_pem === RUN TestClient/test_with_pem_file 2022/09/01 14:23:55 [DEBUG] Login OK --- PASS: TestClient (1.61s) --- PASS: TestClient/test_before_5.4 (0.01s) --- PASS: TestClient/test_5.4_login (0.00s) --- PASS: TestClient/invalid_client_version (0.00s) --- PASS: TestClient/500_login_response (0.55s) --- PASS: TestClient/502_login_response (0.58s) --- PASS: TestClient/503_login_response (0.46s) --- PASS: TestClient/406_login_response (0.00s) --- PASS: TestClient/test_with_invalid_pem (0.00s) --- PASS: TestClient/test_with_pem_file (0.00s) === RUN TestConfigValidate === RUN TestConfigValidate/ok_config_minimum_required === RUN TestConfigValidate/invalid_appgate_URL === RUN TestConfigValidate/invalid_token === RUN TestConfigValidate/base64_token === RUN TestConfigValidate/invalid_client_version === RUN TestConfigValidate/invalid_username_password --- PASS: TestConfigValidate (0.00s) --- PASS: TestConfigValidate/ok_config_minimum_required (0.00s) --- PASS: TestConfigValidate/invalid_appgate_URL (0.00s) --- PASS: TestConfigValidate/invalid_token (0.00s) --- PASS: TestConfigValidate/base64_token (0.00s) --- PASS: TestConfigValidate/invalid_client_version (0.00s) --- PASS: TestConfigValidate/invalid_username_password (0.00s) === RUN TestAccAppgateAdministrativeRoleDataSource === PAUSE TestAccAppgateAdministrativeRoleDataSource === RUN TestAccAppgateApplianceCustomizationDataSource === PAUSE TestAccAppgateApplianceCustomizationDataSource === RUN TestAccAppgateApplianceSeedDataSource resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccAppgateApplianceSeedDataSource (0.51s) === RUN TestAccAppgateCADataSource --- PASS: TestAccAppgateCADataSource (2.32s) === RUN TestAccAppgateConditionDataSource --- PASS: TestAccAppgateConditionDataSource (3.01s) === RUN TestAccAppgateEntitlementDataSource --- PASS: TestAccAppgateEntitlementDataSource (16.39s) === RUN TestAccAppgateGlobalSettingsDataSource --- PASS: TestAccAppgateGlobalSettingsDataSource (3.04s) === RUN TestAccAppgateIdentityProviderDataSource --- PASS: TestAccAppgateIdentityProviderDataSource (3.07s) === RUN TestAccAppgateIPPoolDataSource --- PASS: TestAccAppgateIPPoolDataSource (3.38s) === RUN TestAccAppgateLocalUserDataSource --- PASS: TestAccAppgateLocalUserDataSource (3.35s) === RUN TestAccAppgateMfaProviderDataSource === PAUSE TestAccAppgateMfaProviderDataSource === RUN TestAccAppgateTrustedCertificateDataSource === PAUSE TestAccAppgateTrustedCertificateDataSource === RUN TestAccAppgateUserClaimScriptataSource === PAUSE TestAccAppgateUserClaimScriptataSource === RUN TestResourceExampleInstanceStateUpgradeV0 === RUN TestResourceExampleInstanceStateUpgradeV0/missing_state === RUN TestResourceExampleInstanceStateUpgradeV0/move_device_limit_per_user_to_root_level === RUN TestResourceExampleInstanceStateUpgradeV0/5.4_do_nothing --- PASS: TestResourceExampleInstanceStateUpgradeV0 (0.00s) --- PASS: TestResourceExampleInstanceStateUpgradeV0/missing_state (0.00s) --- PASS: TestResourceExampleInstanceStateUpgradeV0/move_device_limit_per_user_to_root_level (0.00s) --- PASS: TestResourceExampleInstanceStateUpgradeV0/5.4_do_nothing (0.00s) === RUN TestProvider --- PASS: TestProvider (0.00s) === RUN TestProvider_impl --- PASS: TestProvider_impl (0.00s) === RUN TestAccadministrativeRoleBasic === PAUSE TestAccadministrativeRoleBasic === RUN TestAccadministrativeRoleWithScope === PAUSE TestAccadministrativeRoleWithScope === RUN TestAccadministrativeMultiplePrivilegesValidation === PAUSE TestAccadministrativeMultiplePrivilegesValidation === RUN TestAccadministrativeMultiplePrivilegesValidation52 === PAUSE TestAccadministrativeMultiplePrivilegesValidation52 === RUN TestAccadministrativeRoleWtihAssignFunction === PAUSE TestAccadministrativeRoleWtihAssignFunction === RUN TestAccApplianceCustomizationBasic === PAUSE TestAccApplianceCustomizationBasic === RUN TestAccApplianceBasicController resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceBasicController (0.48s) === RUN TestAccApplianceConnector === PAUSE TestAccApplianceConnector === RUN TestAccApplianceBasicGateway === PAUSE TestAccApplianceBasicGateway === RUN TestAccApplianceBasicControllerWithoutOverrideSPA === PAUSE TestAccApplianceBasicControllerWithoutOverrideSPA === RUN TestAccApplianceBasicControllerOverriderSPADisabled === PAUSE TestAccApplianceBasicControllerOverriderSPADisabled === RUN TestAccAppliancePortalSetup === PAUSE TestAccAppliancePortalSetup === RUN TestAccAppliancePortalSetup6 === PAUSE TestAccAppliancePortalSetup6 === RUN TestAccApplianceAdminInterfaceAddRemove === PAUSE TestAccApplianceAdminInterfaceAddRemove === RUN TestAccApplianceLogServerFunction resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceLogServerFunction (0.48s) === RUN TestAccApplianceLogForwarderElastic55 === PAUSE TestAccApplianceLogForwarderElastic55 === RUN TestAccBlacklistUserBasic === PAUSE TestAccBlacklistUserBasic === RUN TestAccClientConnectionsBasic --- PASS: TestAccClientConnectionsBasic (3.17s) === RUN TestAccClientProfileBasic --- PASS: TestAccClientProfileBasic (13.31s) === RUN TestAccConditionBasic === PAUSE TestAccConditionBasic === RUN TestAccConditionFixedID === PAUSE TestAccConditionFixedID === RUN TestAccCriteriaScriptBasic === PAUSE TestAccCriteriaScriptBasic === RUN TestAccDeviceScriptBasic === PAUSE TestAccDeviceScriptBasic === RUN TestAccEntitlementScriptBasic === PAUSE TestAccEntitlementScriptBasic === RUN TestAccEntitlementBasicPing === PAUSE TestAccEntitlementBasicPing === RUN TestAccEntitlementBasicWithMonitor === PAUSE TestAccEntitlementBasicWithMonitor === RUN TestAccEntitlementUpdateActionOrder === PAUSE TestAccEntitlementUpdateActionOrder === RUN TestAccEntitlementUpdateActionHostOrder === PAUSE TestAccEntitlementUpdateActionHostOrder === RUN TestAccEntitlementUpdateActionPortsSetOrder === PAUSE TestAccEntitlementUpdateActionPortsSetOrder === RUN TestAccEntitlementRiskSensitivity === PAUSE TestAccEntitlementRiskSensitivity === RUN TestAccGlobalSettingsBasic --- PASS: TestAccGlobalSettingsBasic (3.33s) === RUN TestAccGlobalSettings54ProfileHostname === PAUSE TestAccGlobalSettings54ProfileHostname === RUN TestAccGlobalSettings6AndAbove --- PASS: TestAccGlobalSettings6AndAbove (7.16s) === RUN TestAccConnectorIdentityProviderBasic --- PASS: TestAccConnectorIdentityProviderBasic (4.84s) === RUN TestAccLdapCertificateIdentityProvidervBasic === PAUSE TestAccLdapCertificateIdentityProvidervBasic === RUN TestAccLdapCertificateIdentityProvidervBasic55OrGreater === PAUSE TestAccLdapCertificateIdentityProvidervBasic55OrGreater === RUN TestAccLdapIdentityProviderBasic === PAUSE TestAccLdapIdentityProviderBasic === RUN TestAccLdapIdentityProviderBasic55OrGreater === PAUSE TestAccLdapIdentityProviderBasic55OrGreater === RUN TestAccLocalDatabaseIdentityProviderBasic --- PASS: TestAccLocalDatabaseIdentityProviderBasic (4.75s) === RUN TestAccRadiusIdentityProviderBasic === PAUSE TestAccRadiusIdentityProviderBasic === RUN TestAccRadiusIdentityProviderBasic55OrGreater === PAUSE TestAccRadiusIdentityProviderBasic55OrGreater === RUN TestAccSamlIdentityProviderBasic === PAUSE TestAccSamlIdentityProviderBasic === RUN TestAccSamlIdentityProviderBasic55OrGreater === PAUSE TestAccSamlIdentityProviderBasic55OrGreater === RUN TestAccSamlIdentityProviderUserScripts55OrGreater === PAUSE TestAccSamlIdentityProviderUserScripts55OrGreater === RUN TestAccIPPoolBasic === PAUSE TestAccIPPoolBasic === RUN TestAccIPPoolV6 === PAUSE TestAccIPPoolV6 === RUN TestAccLocalUserBasic === PAUSE TestAccLocalUserBasic === RUN TestAccMfaProviderBasic === PAUSE TestAccMfaProviderBasic === RUN TestAccAdminMfaSettingsBasic === PAUSE TestAccAdminMfaSettingsBasic === RUN TestAccPolicyBasic === PAUSE TestAccPolicyBasic === RUN TestAccPolicyClientSettings55 === PAUSE TestAccPolicyClientSettings55 === RUN TestAccPolicyDnsSettings55 === PAUSE TestAccPolicyDnsSettings55 === RUN TestAccRingfenceRuleBasicICMP === PAUSE TestAccRingfenceRuleBasicICMP === RUN TestAccRingfenceRuleBasicTCP === PAUSE TestAccRingfenceRuleBasicTCP === RUN TestAccSiteBasic === PAUSE TestAccSiteBasic === RUN TestAccSiteBasicAwsResolverWithoutSecret === PAUSE TestAccSiteBasicAwsResolverWithoutSecret === RUN TestAccSiteBasicAwsResolverresolveWithMasterCredentials === PAUSE TestAccSiteBasicAwsResolverresolveWithMasterCredentials === RUN TestAccSite55Attributes === PAUSE TestAccSite55Attributes === RUN TestAccSiteVPNRouteVia --- PASS: TestAccSiteVPNRouteVia (9.04s) === RUN TestAccSiteVPNRouteViaIpv4Only --- PASS: TestAccSiteVPNRouteViaIpv4Only (8.68s) === RUN TestAccSiteNameResolver6 === PAUSE TestAccSiteNameResolver6 === RUN TestAccTrustedCertificateBasic === PAUSE TestAccTrustedCertificateBasic === RUN TestAccUserClaimScriptBasic === PAUSE TestAccUserClaimScriptBasic === CONT TestAccAppgateAdministrativeRoleDataSource === CONT TestAccEntitlementUpdateActionPortsSetOrder === CONT TestAccMfaProviderBasic === CONT TestAccRadiusIdentityProviderBasic55OrGreater === CONT TestAccAppliancePortalSetup === CONT TestAccLdapCertificateIdentityProvidervBasic55OrGreater === CONT TestAccadministrativeMultiplePrivilegesValidation52 === CONT TestAccLdapIdentityProviderBasic55OrGreater === CONT TestAccLdapIdentityProviderBasic === CONT TestAccLocalUserBasic === CONT TestAccUserClaimScriptBasic === CONT TestAccEntitlementUpdateActionHostOrder === CONT TestAccLdapCertificateIdentityProvidervBasic === CONT TestAccApplianceBasicControllerOverriderSPADisabled === CONT TestAccadministrativeMultiplePrivilegesValidation === CONT TestAccRadiusIdentityProviderBasic === CONT TestAccIPPoolV6 === CONT TestAccSiteNameResolver6 === CONT TestAccEntitlementUpdateActionOrder === CONT TestAccTrustedCertificateBasic === CONT TestAccAppliancePortalSetup resource_appgate_appliance_test.go:2230: Test only for 5.5 and above, appliance.portal is only supported in 5.4 and above. --- SKIP: TestAccAppliancePortalSetup (0.59s) === CONT TestAccGlobalSettings54ProfileHostname === CONT TestAccLdapIdentityProviderBasic resource_appgate_identity_provider_ldap_test.go:26: Test only for 5.4 and below, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 --- SKIP: TestAccLdapIdentityProviderBasic (0.62s) === CONT TestAccEntitlementRiskSensitivity === CONT TestAccLdapCertificateIdentityProvidervBasic resource_appgate_identity_provider_ldap_certificate_test.go:26: Test only for 5.4 and below, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 --- SKIP: TestAccLdapCertificateIdentityProvidervBasic (0.74s) === CONT TestAccConditionFixedID === CONT TestAccadministrativeMultiplePrivilegesValidation52 resource_appgate_administrative_role_test.go:267: Test is only for 5.2, privileges.target OnBoardedDevice === CONT TestAccRadiusIdentityProviderBasic resource_appgate_identity_provider_radius_test.go:26: Test only for 5.4 and below, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 --- SKIP: TestAccadministrativeMultiplePrivilegesValidation52 (0.93s) === CONT TestAccEntitlementBasicWithMonitor --- SKIP: TestAccRadiusIdentityProviderBasic (0.95s) === CONT TestAccEntitlementBasicPing === CONT TestAccApplianceBasicControllerOverriderSPADisabled resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceBasicControllerOverriderSPADisabled (0.98s) === CONT TestAccEntitlementScriptBasic --- PASS: TestAccLocalUserBasic (7.44s) === CONT TestAccDeviceScriptBasic --- PASS: TestAccAppgateAdministrativeRoleDataSource (7.46s) === CONT TestAccCriteriaScriptBasic --- PASS: TestAccIPPoolV6 (7.52s) === CONT TestAccAppgateMfaProviderDataSource --- PASS: TestAccMfaProviderBasic (7.56s) === CONT TestAccadministrativeRoleWithScope --- PASS: TestAccTrustedCertificateBasic (7.56s) === CONT TestAccadministrativeRoleBasic --- PASS: TestAccadministrativeMultiplePrivilegesValidation (7.73s) === CONT TestAccAppgateUserClaimScriptataSource --- PASS: TestAccEntitlementScriptBasic (7.38s) === CONT TestAccAppgateTrustedCertificateDataSource --- PASS: TestAccGlobalSettings54ProfileHostname (8.04s) === CONT TestAccAppgateApplianceCustomizationDataSource --- PASS: TestAccConditionFixedID (8.27s) === CONT TestAccApplianceConnector resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceConnector (1.14s) === CONT TestAccApplianceBasicControllerWithoutOverrideSPA resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceBasicControllerWithoutOverrideSPA (0.77s) === CONT TestAccApplianceBasicGateway resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceBasicGateway (0.79s) === CONT TestAccApplianceLogForwarderElastic55 --- PASS: TestAccUserClaimScriptBasic (12.38s) === CONT TestAccConditionBasic === CONT TestAccApplianceLogForwarderElastic55 resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceLogForwarderElastic55 (0.76s) === CONT TestAccBlacklistUserBasic --- PASS: TestAccEntitlementBasicPing (12.41s) === CONT TestAccApplianceCustomizationBasic --- PASS: TestAccLdapIdentityProviderBasic55OrGreater (13.37s) === CONT TestAccadministrativeRoleWtihAssignFunction --- PASS: TestAccLdapCertificateIdentityProvidervBasic55OrGreater (13.99s) === CONT TestAccRingfenceRuleBasicTCP --- PASS: TestAccAppgateMfaProviderDataSource (6.52s) === CONT TestAccSite55Attributes --- PASS: TestAccAppgateUserClaimScriptataSource (6.38s) === CONT TestAccSiteBasicAwsResolverresolveWithMasterCredentials --- PASS: TestAccRadiusIdentityProviderBasic55OrGreater (14.22s) === CONT TestAccSiteBasicAwsResolverWithoutSecret --- PASS: TestAccSiteNameResolver6 (14.55s) === CONT TestAccSiteBasic --- PASS: TestAccCriteriaScriptBasic (7.21s) === CONT TestAccSamlIdentityProviderUserScripts55OrGreater --- PASS: TestAccadministrativeRoleBasic (7.24s) === CONT TestAccIPPoolBasic --- PASS: TestAccDeviceScriptBasic (7.60s) === CONT TestAccPolicyClientSettings55 --- PASS: TestAccAppgateTrustedCertificateDataSource (6.87s) === CONT TestAccRingfenceRuleBasicICMP --- PASS: TestAccAppgateApplianceCustomizationDataSource (6.66s) === CONT TestAccPolicyDnsSettings55 --- PASS: TestAccBlacklistUserBasic (3.95s) === CONT TestAccPolicyBasic --- PASS: TestAccConditionBasic (6.38s) === CONT TestAccAdminMfaSettingsBasic --- PASS: TestAccadministrativeRoleWithScope (11.34s) === CONT TestAccSamlIdentityProviderBasic55OrGreater --- PASS: TestAccRingfenceRuleBasicTCP (6.24s) === CONT TestAccSamlIdentityProviderBasic resource_appgate_identity_provider_saml_test.go:26: Test only for 5.4 and below, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 --- SKIP: TestAccSamlIdentityProviderBasic (0.65s) === CONT TestAccAppliancePortalSetup6 --- PASS: TestAccEntitlementUpdateActionPortsSetOrder (20.94s) === CONT TestAccApplianceAdminInterfaceAddRemove --- PASS: TestAccIPPoolBasic (6.23s) --- PASS: TestAccSiteBasicAwsResolverWithoutSecret (7.03s) --- PASS: TestAccEntitlementUpdateActionOrder (21.41s) --- PASS: TestAccRingfenceRuleBasicICMP (6.39s) === CONT TestAccApplianceAdminInterfaceAddRemove resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceAdminInterfaceAddRemove (0.73s) --- PASS: TestAccEntitlementUpdateActionHostOrder (21.87s) --- PASS: TestAccPolicyBasic (5.86s) --- PASS: TestAccApplianceCustomizationBasic (9.17s) --- PASS: TestAccAdminMfaSettingsBasic (4.38s) --- PASS: TestAccEntitlementBasicWithMonitor (22.26s) --- PASS: TestAccEntitlementRiskSensitivity (22.63s) --- PASS: TestAccadministrativeRoleWtihAssignFunction (10.68s) --- PASS: TestAccSite55Attributes (11.27s) --- PASS: TestAccSamlIdentityProviderUserScripts55OrGreater (11.27s) --- PASS: TestAccPolicyClientSettings55 (11.21s) --- PASS: TestAccSamlIdentityProviderBasic55OrGreater (8.81s) --- PASS: TestAccSiteBasicAwsResolverresolveWithMasterCredentials (13.83s) --- PASS: TestAccPolicyDnsSettings55 (13.75s) --- PASS: TestAccSiteBasic (23.18s) --- PASS: TestAccAppliancePortalSetup6 (23.29s) PASS ok github.com/appgate/terraform-provider-appgatesdp/appgate 136.113s ```
dlnilsson commented 2 years ago

Acceptance tests for 5.4.6-27046-release

``` make testacc ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./appgate -v -count 1 -parallel 20 -timeout 120m === RUN TestNewClient --- PASS: TestNewClient (0.00s) === RUN TestLoginInternalServerError --- PASS: TestLoginInternalServerError (0.00s) === RUN TestClient === RUN TestClient/test_before_5.4 2022/09/01 14:44:19 [DEBUG] Login OK === RUN TestClient/test_5.4_login 2022/09/01 14:44:19 [DEBUG] Login OK === RUN TestClient/invalid_client_version === RUN TestClient/500_login_response 2022/09/01 14:44:19 [DEBUG] Login failed, controller not responding, got HTTP 500 2022/09/01 14:44:20 [DEBUG] Login failed, controller not responding, got HTTP 500 === RUN TestClient/502_login_response 2022/09/01 14:44:20 [DEBUG] Login failed, controller not responding, got HTTP 502 2022/09/01 14:44:21 [DEBUG] Login failed, controller not responding, got HTTP 502 === RUN TestClient/503_login_response 2022/09/01 14:44:21 [DEBUG] Login failed, controller not responding, got HTTP 503 2022/09/01 14:44:21 [DEBUG] Login failed, controller not responding, got HTTP 503 === RUN TestClient/406_login_response === RUN TestClient/test_with_invalid_pem === RUN TestClient/test_with_pem_file 2022/09/01 14:44:21 [DEBUG] Login OK --- PASS: TestClient (1.61s) --- PASS: TestClient/test_before_5.4 (0.01s) --- PASS: TestClient/test_5.4_login (0.00s) --- PASS: TestClient/invalid_client_version (0.00s) --- PASS: TestClient/500_login_response (0.55s) --- PASS: TestClient/502_login_response (0.58s) --- PASS: TestClient/503_login_response (0.46s) --- PASS: TestClient/406_login_response (0.00s) --- PASS: TestClient/test_with_invalid_pem (0.00s) --- PASS: TestClient/test_with_pem_file (0.00s) === RUN TestConfigValidate === RUN TestConfigValidate/ok_config_minimum_required === RUN TestConfigValidate/invalid_appgate_URL === RUN TestConfigValidate/invalid_token === RUN TestConfigValidate/base64_token === RUN TestConfigValidate/invalid_client_version === RUN TestConfigValidate/invalid_username_password --- PASS: TestConfigValidate (0.00s) --- PASS: TestConfigValidate/ok_config_minimum_required (0.00s) --- PASS: TestConfigValidate/invalid_appgate_URL (0.00s) --- PASS: TestConfigValidate/invalid_token (0.00s) --- PASS: TestConfigValidate/base64_token (0.00s) --- PASS: TestConfigValidate/invalid_client_version (0.00s) --- PASS: TestConfigValidate/invalid_username_password (0.00s) === RUN TestAccAppgateAdministrativeRoleDataSource === PAUSE TestAccAppgateAdministrativeRoleDataSource === RUN TestAccAppgateApplianceCustomizationDataSource === PAUSE TestAccAppgateApplianceCustomizationDataSource === RUN TestAccAppgateApplianceSeedDataSource resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccAppgateApplianceSeedDataSource (0.31s) === RUN TestAccAppgateCADataSource --- PASS: TestAccAppgateCADataSource (1.35s) === RUN TestAccAppgateConditionDataSource --- PASS: TestAccAppgateConditionDataSource (1.98s) === RUN TestAccAppgateEntitlementDataSource --- PASS: TestAccAppgateEntitlementDataSource (10.39s) === RUN TestAccAppgateGlobalSettingsDataSource --- PASS: TestAccAppgateGlobalSettingsDataSource (1.96s) === RUN TestAccAppgateIdentityProviderDataSource --- PASS: TestAccAppgateIdentityProviderDataSource (1.98s) === RUN TestAccAppgateIPPoolDataSource --- PASS: TestAccAppgateIPPoolDataSource (2.19s) === RUN TestAccAppgateLocalUserDataSource --- PASS: TestAccAppgateLocalUserDataSource (2.21s) === RUN TestAccAppgateMfaProviderDataSource === PAUSE TestAccAppgateMfaProviderDataSource === RUN TestAccAppgateTrustedCertificateDataSource === PAUSE TestAccAppgateTrustedCertificateDataSource === RUN TestAccAppgateUserClaimScriptataSource === PAUSE TestAccAppgateUserClaimScriptataSource === RUN TestResourceExampleInstanceStateUpgradeV0 === RUN TestResourceExampleInstanceStateUpgradeV0/missing_state === RUN TestResourceExampleInstanceStateUpgradeV0/move_device_limit_per_user_to_root_level === RUN TestResourceExampleInstanceStateUpgradeV0/5.4_do_nothing --- PASS: TestResourceExampleInstanceStateUpgradeV0 (0.00s) --- PASS: TestResourceExampleInstanceStateUpgradeV0/missing_state (0.00s) --- PASS: TestResourceExampleInstanceStateUpgradeV0/move_device_limit_per_user_to_root_level (0.00s) --- PASS: TestResourceExampleInstanceStateUpgradeV0/5.4_do_nothing (0.00s) === RUN TestProvider --- PASS: TestProvider (0.00s) === RUN TestProvider_impl --- PASS: TestProvider_impl (0.00s) === RUN TestAccadministrativeRoleBasic === PAUSE TestAccadministrativeRoleBasic === RUN TestAccadministrativeRoleWithScope === PAUSE TestAccadministrativeRoleWithScope === RUN TestAccadministrativeMultiplePrivilegesValidation === PAUSE TestAccadministrativeMultiplePrivilegesValidation === RUN TestAccadministrativeMultiplePrivilegesValidation52 === PAUSE TestAccadministrativeMultiplePrivilegesValidation52 === RUN TestAccadministrativeRoleWtihAssignFunction === PAUSE TestAccadministrativeRoleWtihAssignFunction === RUN TestAccApplianceCustomizationBasic === PAUSE TestAccApplianceCustomizationBasic === RUN TestAccApplianceBasicController resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceBasicController (0.32s) === RUN TestAccApplianceConnector === PAUSE TestAccApplianceConnector === RUN TestAccApplianceBasicGateway === PAUSE TestAccApplianceBasicGateway === RUN TestAccApplianceBasicControllerWithoutOverrideSPA === PAUSE TestAccApplianceBasicControllerWithoutOverrideSPA === RUN TestAccApplianceBasicControllerOverriderSPADisabled === PAUSE TestAccApplianceBasicControllerOverriderSPADisabled === RUN TestAccAppliancePortalSetup === PAUSE TestAccAppliancePortalSetup === RUN TestAccAppliancePortalSetup6 === PAUSE TestAccAppliancePortalSetup6 === RUN TestAccApplianceAdminInterfaceAddRemove === PAUSE TestAccApplianceAdminInterfaceAddRemove === RUN TestAccApplianceLogServerFunction resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceLogServerFunction (0.31s) === RUN TestAccApplianceLogForwarderElastic55 === PAUSE TestAccApplianceLogForwarderElastic55 === RUN TestAccBlacklistUserBasic === PAUSE TestAccBlacklistUserBasic === RUN TestAccClientConnectionsBasic --- PASS: TestAccClientConnectionsBasic (2.07s) === RUN TestAccClientProfileBasic --- PASS: TestAccClientProfileBasic (15.19s) === RUN TestAccConditionBasic === PAUSE TestAccConditionBasic === RUN TestAccConditionFixedID === PAUSE TestAccConditionFixedID === RUN TestAccCriteriaScriptBasic === PAUSE TestAccCriteriaScriptBasic === RUN TestAccDeviceScriptBasic === PAUSE TestAccDeviceScriptBasic === RUN TestAccEntitlementScriptBasic === PAUSE TestAccEntitlementScriptBasic === RUN TestAccEntitlementBasicPing === PAUSE TestAccEntitlementBasicPing === RUN TestAccEntitlementBasicWithMonitor === PAUSE TestAccEntitlementBasicWithMonitor === RUN TestAccEntitlementUpdateActionOrder === PAUSE TestAccEntitlementUpdateActionOrder === RUN TestAccEntitlementUpdateActionHostOrder === PAUSE TestAccEntitlementUpdateActionHostOrder === RUN TestAccEntitlementUpdateActionPortsSetOrder === PAUSE TestAccEntitlementUpdateActionPortsSetOrder === RUN TestAccEntitlementRiskSensitivity === PAUSE TestAccEntitlementRiskSensitivity === RUN TestAccGlobalSettingsBasic --- PASS: TestAccGlobalSettingsBasic (2.47s) === RUN TestAccGlobalSettings54ProfileHostname === PAUSE TestAccGlobalSettings54ProfileHostname === RUN TestAccGlobalSettings6AndAbove resource_appgate_appliance_test.go:37: Test is only for >= 6.0 --- SKIP: TestAccGlobalSettings6AndAbove (0.32s) === RUN TestAccConnectorIdentityProviderBasic --- PASS: TestAccConnectorIdentityProviderBasic (3.63s) === RUN TestAccLdapCertificateIdentityProvidervBasic === PAUSE TestAccLdapCertificateIdentityProvidervBasic === RUN TestAccLdapCertificateIdentityProvidervBasic55OrGreater === PAUSE TestAccLdapCertificateIdentityProvidervBasic55OrGreater === RUN TestAccLdapIdentityProviderBasic === PAUSE TestAccLdapIdentityProviderBasic === RUN TestAccLdapIdentityProviderBasic55OrGreater === PAUSE TestAccLdapIdentityProviderBasic55OrGreater === RUN TestAccLocalDatabaseIdentityProviderBasic --- PASS: TestAccLocalDatabaseIdentityProviderBasic (3.58s) === RUN TestAccRadiusIdentityProviderBasic === PAUSE TestAccRadiusIdentityProviderBasic === RUN TestAccRadiusIdentityProviderBasic55OrGreater === PAUSE TestAccRadiusIdentityProviderBasic55OrGreater === RUN TestAccSamlIdentityProviderBasic === PAUSE TestAccSamlIdentityProviderBasic === RUN TestAccSamlIdentityProviderBasic55OrGreater === PAUSE TestAccSamlIdentityProviderBasic55OrGreater === RUN TestAccSamlIdentityProviderUserScripts55OrGreater === PAUSE TestAccSamlIdentityProviderUserScripts55OrGreater === RUN TestAccIPPoolBasic === PAUSE TestAccIPPoolBasic === RUN TestAccIPPoolV6 === PAUSE TestAccIPPoolV6 === RUN TestAccLocalUserBasic === PAUSE TestAccLocalUserBasic === RUN TestAccMfaProviderBasic === PAUSE TestAccMfaProviderBasic === RUN TestAccAdminMfaSettingsBasic === PAUSE TestAccAdminMfaSettingsBasic === RUN TestAccPolicyBasic === PAUSE TestAccPolicyBasic === RUN TestAccPolicyClientSettings55 === PAUSE TestAccPolicyClientSettings55 === RUN TestAccPolicyDnsSettings55 === PAUSE TestAccPolicyDnsSettings55 === RUN TestAccRingfenceRuleBasicICMP === PAUSE TestAccRingfenceRuleBasicICMP === RUN TestAccRingfenceRuleBasicTCP === PAUSE TestAccRingfenceRuleBasicTCP === RUN TestAccSiteBasic === PAUSE TestAccSiteBasic === RUN TestAccSiteBasicAwsResolverWithoutSecret === PAUSE TestAccSiteBasicAwsResolverWithoutSecret === RUN TestAccSiteBasicAwsResolverresolveWithMasterCredentials === PAUSE TestAccSiteBasicAwsResolverresolveWithMasterCredentials === RUN TestAccSite55Attributes === PAUSE TestAccSite55Attributes === RUN TestAccSiteVPNRouteVia --- PASS: TestAccSiteVPNRouteVia (6.19s) === RUN TestAccSiteVPNRouteViaIpv4Only --- PASS: TestAccSiteVPNRouteViaIpv4Only (6.08s) === RUN TestAccSiteNameResolver6 === PAUSE TestAccSiteNameResolver6 === RUN TestAccTrustedCertificateBasic === PAUSE TestAccTrustedCertificateBasic === RUN TestAccUserClaimScriptBasic === PAUSE TestAccUserClaimScriptBasic === CONT TestAccAppgateAdministrativeRoleDataSource === CONT TestAccRadiusIdentityProviderBasic55OrGreater === CONT TestAccBlacklistUserBasic === CONT TestAccUserClaimScriptBasic === CONT TestAccEntitlementUpdateActionHostOrder === CONT TestAccLdapCertificateIdentityProvidervBasic55OrGreater === CONT TestAccApplianceLogForwarderElastic55 === CONT TestAccPolicyClientSettings55 === CONT TestAccTrustedCertificateBasic === CONT TestAccadministrativeRoleWtihAssignFunction === CONT TestAccApplianceCustomizationBasic === CONT TestAccApplianceAdminInterfaceAddRemove === CONT TestAccLdapCertificateIdentityProvidervBasic === CONT TestAccPolicyBasic === CONT TestAccadministrativeMultiplePrivilegesValidation52 === CONT TestAccRadiusIdentityProviderBasic === CONT TestAccAppliancePortalSetup6 === CONT TestAccGlobalSettings54ProfileHostname === CONT TestAccSiteNameResolver6 === CONT TestAccPolicyDnsSettings55 === CONT TestAccadministrativeRoleWtihAssignFunction resource_appgate_appliance_test.go:37: Test is only for >= 6.0 --- SKIP: TestAccadministrativeRoleWtihAssignFunction (0.47s) === CONT TestAccLdapIdentityProviderBasic55OrGreater === CONT TestAccPolicyClientSettings55 resource_appgate_policy_test.go:146: Test only for 5.5 and above, appliance.portal is only supported in 5.4 and above. --- SKIP: TestAccPolicyClientSettings55 (0.55s) === CONT TestAccLdapIdentityProviderBasic === CONT TestAccAppliancePortalSetup6 resource_appgate_appliance_test.go:2435: Test only for 6.0 and above, appliance.portal without peer_interface is only supported in 5.4 and above. === CONT TestAccApplianceAdminInterfaceAddRemove resource_appgate_appliance_test.go:23: Test is only for 5.5 === CONT TestAccPolicyDnsSettings55 resource_appgate_policy_test.go:320: Test only for 5.5 and above, appliance.portal is only supported in 5.4 and above. --- SKIP: TestAccAppliancePortalSetup6 (0.57s) === CONT TestAccadministrativeMultiplePrivilegesValidation === CONT TestAccLdapCertificateIdentityProvidervBasic55OrGreater resource_appgate_identity_provider_ldap_certificate_test.go:293: Test only for 5.5 and above, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 --- SKIP: TestAccApplianceAdminInterfaceAddRemove (0.59s) === CONT TestAccadministrativeRoleWithScope --- SKIP: TestAccLdapCertificateIdentityProvidervBasic55OrGreater (0.60s) === CONT TestAccadministrativeRoleBasic --- SKIP: TestAccPolicyDnsSettings55 (0.61s) === CONT TestAccAppgateUserClaimScriptataSource === CONT TestAccRadiusIdentityProviderBasic55OrGreater resource_appgate_identity_provider_radius_test.go:265: Test only for 5.5 and above, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 --- SKIP: TestAccRadiusIdentityProviderBasic55OrGreater (0.64s) === CONT TestAccAppgateTrustedCertificateDataSource === CONT TestAccadministrativeMultiplePrivilegesValidation52 resource_appgate_administrative_role_test.go:267: Test is only for 5.2, privileges.target OnBoardedDevice === CONT TestAccSiteNameResolver6 resource_appgate_appliance_test.go:37: Test is only for >= 6.0 --- SKIP: TestAccadministrativeMultiplePrivilegesValidation52 (0.71s) === CONT TestAccAppgateMfaProviderDataSource === CONT TestAccApplianceLogForwarderElastic55 resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccSiteNameResolver6 (0.75s) === CONT TestAccAppgateApplianceCustomizationDataSource --- SKIP: TestAccApplianceLogForwarderElastic55 (0.79s) === CONT TestAccApplianceBasicControllerWithoutOverrideSPA === CONT TestAccLdapIdentityProviderBasic55OrGreater resource_appgate_identity_provider_ldap_test.go:257: Test only for 5.5 and above, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 --- SKIP: TestAccLdapIdentityProviderBasic55OrGreater (0.51s) === CONT TestAccAppliancePortalSetup === CONT TestAccApplianceBasicControllerWithoutOverrideSPA resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceBasicControllerWithoutOverrideSPA (0.61s) === CONT TestAccApplianceBasicControllerOverriderSPADisabled === CONT TestAccAppliancePortalSetup resource_appgate_appliance_test.go:2230: Test only for 5.5 and above, appliance.portal is only supported in 5.4 and above. --- SKIP: TestAccAppliancePortalSetup (1.03s) === CONT TestAccIPPoolBasic === CONT TestAccApplianceBasicControllerOverriderSPADisabled resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceBasicControllerOverriderSPADisabled (0.96s) === CONT TestAccAdminMfaSettingsBasic --- PASS: TestAccBlacklistUserBasic (4.56s) === CONT TestAccMfaProviderBasic --- PASS: TestAccAppgateAdministrativeRoleDataSource (6.04s) === CONT TestAccLocalUserBasic --- PASS: TestAccTrustedCertificateBasic (6.28s) === CONT TestAccIPPoolV6 --- PASS: TestAccAppgateUserClaimScriptataSource (5.69s) === CONT TestAccSamlIdentityProviderBasic --- PASS: TestAccPolicyBasic (6.53s) === CONT TestAccSamlIdentityProviderUserScripts55OrGreater --- PASS: TestAccadministrativeMultiplePrivilegesValidation (5.99s) === CONT TestAccSamlIdentityProviderBasic55OrGreater --- PASS: TestAccAppgateMfaProviderDataSource (5.87s) === CONT TestAccApplianceBasicGateway --- PASS: TestAccAdminMfaSettingsBasic (4.65s) === CONT TestAccRingfenceRuleBasicTCP --- PASS: TestAccAppgateApplianceCustomizationDataSource (6.29s) === CONT TestAccSite55Attributes === CONT TestAccSamlIdentityProviderUserScripts55OrGreater resource_appgate_identity_provider_saml_test.go:955: Test only for 5.5 and above, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 === CONT TestAccApplianceBasicGateway resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccSamlIdentityProviderUserScripts55OrGreater (0.70s) === CONT TestAccSiteBasicAwsResolverresolveWithMasterCredentials --- SKIP: TestAccApplianceBasicGateway (0.65s) === CONT TestAccSiteBasicAwsResolverWithoutSecret --- PASS: TestAccAppgateTrustedCertificateDataSource (6.65s) === CONT TestAccSiteBasic === CONT TestAccSamlIdentityProviderBasic55OrGreater resource_appgate_identity_provider_saml_test.go:857: Test only for 5.5 and above, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 --- PASS: TestAccGlobalSettings54ProfileHostname (7.35s) === CONT TestAccEntitlementRiskSensitivity --- SKIP: TestAccSamlIdentityProviderBasic55OrGreater (0.82s) === CONT TestAccEntitlementUpdateActionPortsSetOrder === CONT TestAccSite55Attributes resource_appgate_site_test.go:990: Test only for 5.5 and above, dns_forwarding only supported in > 5.5 --- PASS: TestAccIPPoolBasic (5.46s) === CONT TestAccEntitlementScriptBasic --- SKIP: TestAccSite55Attributes (0.52s) === CONT TestAccEntitlementUpdateActionOrder --- PASS: TestAccadministrativeRoleBasic (7.15s) === CONT TestAccEntitlementBasicWithMonitor === CONT TestAccEntitlementRiskSensitivity resource_appgate_appliance_test.go:37: Test is only for >= 6.0 --- SKIP: TestAccEntitlementRiskSensitivity (0.75s) === CONT TestAccEntitlementBasicPing --- PASS: TestAccApplianceCustomizationBasic (10.27s) === CONT TestAccCriteriaScriptBasic --- PASS: TestAccadministrativeRoleWithScope (9.84s) === CONT TestAccDeviceScriptBasic --- PASS: TestAccMfaProviderBasic (6.47s) === CONT TestAccApplianceConnector --- PASS: TestAccLdapCertificateIdentityProvidervBasic (11.12s) === CONT TestAccRingfenceRuleBasicICMP --- PASS: TestAccRadiusIdentityProviderBasic (11.32s) === CONT TestAccConditionFixedID --- PASS: TestAccUserClaimScriptBasic (11.49s) === CONT TestAccConditionBasic --- PASS: TestAccLdapIdentityProviderBasic (11.08s) === CONT TestAccApplianceConnector resource_appgate_appliance_test.go:23: Test is only for 5.5 --- SKIP: TestAccApplianceConnector (0.70s) --- PASS: TestAccIPPoolV6 (5.67s) --- PASS: TestAccRingfenceRuleBasicTCP (5.54s) --- PASS: TestAccLocalUserBasic (6.53s) --- PASS: TestAccEntitlementScriptBasic (6.12s) --- PASS: TestAccSiteBasicAwsResolverWithoutSecret (6.75s) --- PASS: TestAccCriteriaScriptBasic (4.90s) --- PASS: TestAccDeviceScriptBasic (4.87s) --- PASS: TestAccRingfenceRuleBasicICMP (4.22s) --- PASS: TestAccConditionFixedID (4.95s) --- PASS: TestAccConditionBasic (4.84s) --- PASS: TestAccEntitlementUpdateActionHostOrder (16.60s) --- PASS: TestAccEntitlementBasicPing (8.97s) --- PASS: TestAccSiteBasicAwsResolverresolveWithMasterCredentials (12.92s) --- PASS: TestAccEntitlementUpdateActionPortsSetOrder (13.23s) --- PASS: TestAccEntitlementUpdateActionOrder (13.42s) --- PASS: TestAccEntitlementBasicWithMonitor (13.61s) --- PASS: TestAccSamlIdentityProviderBasic (20.65s) --- PASS: TestAccSiteBasic (20.13s) PASS ok github.com/appgate/terraform-provider-appgatesdp/appgate 91.581s ```
dlnilsson commented 2 years ago

Acceptance tests for 5.5.7-29588-release

``` make testacc ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./appgate -v -count 1 -parallel 20 -timeout 120m === RUN TestNewClient --- PASS: TestNewClient (0.00s) === RUN TestLoginInternalServerError --- PASS: TestLoginInternalServerError (0.00s) === RUN TestClient === RUN TestClient/test_before_5.4 2022/09/01 14:47:11 [DEBUG] Login OK === RUN TestClient/test_5.4_login 2022/09/01 14:47:11 [DEBUG] Login OK === RUN TestClient/invalid_client_version === RUN TestClient/500_login_response 2022/09/01 14:47:11 [DEBUG] Login failed, controller not responding, got HTTP 500 2022/09/01 14:47:12 [DEBUG] Login failed, controller not responding, got HTTP 500 === RUN TestClient/502_login_response 2022/09/01 14:47:12 [DEBUG] Login failed, controller not responding, got HTTP 502 2022/09/01 14:47:13 [DEBUG] Login failed, controller not responding, got HTTP 502 === RUN TestClient/503_login_response 2022/09/01 14:47:13 [DEBUG] Login failed, controller not responding, got HTTP 503 2022/09/01 14:47:13 [DEBUG] Login failed, controller not responding, got HTTP 503 === RUN TestClient/406_login_response === RUN TestClient/test_with_invalid_pem === RUN TestClient/test_with_pem_file 2022/09/01 14:47:13 [DEBUG] Login OK --- PASS: TestClient (1.61s) --- PASS: TestClient/test_before_5.4 (0.01s) --- PASS: TestClient/test_5.4_login (0.00s) --- PASS: TestClient/invalid_client_version (0.00s) --- PASS: TestClient/500_login_response (0.55s) --- PASS: TestClient/502_login_response (0.58s) --- PASS: TestClient/503_login_response (0.46s) --- PASS: TestClient/406_login_response (0.00s) --- PASS: TestClient/test_with_invalid_pem (0.00s) --- PASS: TestClient/test_with_pem_file (0.00s) === RUN TestConfigValidate === RUN TestConfigValidate/ok_config_minimum_required === RUN TestConfigValidate/invalid_appgate_URL === RUN TestConfigValidate/invalid_token === RUN TestConfigValidate/base64_token === RUN TestConfigValidate/invalid_client_version === RUN TestConfigValidate/invalid_username_password --- PASS: TestConfigValidate (0.00s) --- PASS: TestConfigValidate/ok_config_minimum_required (0.00s) --- PASS: TestConfigValidate/invalid_appgate_URL (0.00s) --- PASS: TestConfigValidate/invalid_token (0.00s) --- PASS: TestConfigValidate/base64_token (0.00s) --- PASS: TestConfigValidate/invalid_client_version (0.00s) --- PASS: TestConfigValidate/invalid_username_password (0.00s) === RUN TestAccAppgateAdministrativeRoleDataSource === PAUSE TestAccAppgateAdministrativeRoleDataSource === RUN TestAccAppgateApplianceCustomizationDataSource === PAUSE TestAccAppgateApplianceCustomizationDataSource === RUN TestAccAppgateApplianceSeedDataSource --- PASS: TestAccAppgateApplianceSeedDataSource (8.40s) === RUN TestAccAppgateCADataSource --- PASS: TestAccAppgateCADataSource (1.33s) === RUN TestAccAppgateConditionDataSource --- PASS: TestAccAppgateConditionDataSource (2.08s) === RUN TestAccAppgateEntitlementDataSource --- PASS: TestAccAppgateEntitlementDataSource (10.51s) === RUN TestAccAppgateGlobalSettingsDataSource --- PASS: TestAccAppgateGlobalSettingsDataSource (1.97s) === RUN TestAccAppgateIdentityProviderDataSource --- PASS: TestAccAppgateIdentityProviderDataSource (1.94s) === RUN TestAccAppgateIPPoolDataSource --- PASS: TestAccAppgateIPPoolDataSource (2.16s) === RUN TestAccAppgateLocalUserDataSource --- PASS: TestAccAppgateLocalUserDataSource (2.30s) === RUN TestAccAppgateMfaProviderDataSource === PAUSE TestAccAppgateMfaProviderDataSource === RUN TestAccAppgateTrustedCertificateDataSource === PAUSE TestAccAppgateTrustedCertificateDataSource === RUN TestAccAppgateUserClaimScriptataSource === PAUSE TestAccAppgateUserClaimScriptataSource === RUN TestResourceExampleInstanceStateUpgradeV0 === RUN TestResourceExampleInstanceStateUpgradeV0/missing_state === RUN TestResourceExampleInstanceStateUpgradeV0/move_device_limit_per_user_to_root_level === RUN TestResourceExampleInstanceStateUpgradeV0/5.4_do_nothing --- PASS: TestResourceExampleInstanceStateUpgradeV0 (0.00s) --- PASS: TestResourceExampleInstanceStateUpgradeV0/missing_state (0.00s) --- PASS: TestResourceExampleInstanceStateUpgradeV0/move_device_limit_per_user_to_root_level (0.00s) --- PASS: TestResourceExampleInstanceStateUpgradeV0/5.4_do_nothing (0.00s) === RUN TestProvider --- PASS: TestProvider (0.00s) === RUN TestProvider_impl --- PASS: TestProvider_impl (0.00s) === RUN TestAccadministrativeRoleBasic === PAUSE TestAccadministrativeRoleBasic === RUN TestAccadministrativeRoleWithScope === PAUSE TestAccadministrativeRoleWithScope === RUN TestAccadministrativeMultiplePrivilegesValidation === PAUSE TestAccadministrativeMultiplePrivilegesValidation === RUN TestAccadministrativeMultiplePrivilegesValidation52 === PAUSE TestAccadministrativeMultiplePrivilegesValidation52 === RUN TestAccadministrativeRoleWtihAssignFunction === PAUSE TestAccadministrativeRoleWtihAssignFunction === RUN TestAccApplianceCustomizationBasic === PAUSE TestAccApplianceCustomizationBasic === RUN TestAccApplianceBasicController --- PASS: TestAccApplianceBasicController (9.73s) === RUN TestAccApplianceConnector === PAUSE TestAccApplianceConnector === RUN TestAccApplianceBasicGateway === PAUSE TestAccApplianceBasicGateway === RUN TestAccApplianceBasicControllerWithoutOverrideSPA === PAUSE TestAccApplianceBasicControllerWithoutOverrideSPA === RUN TestAccApplianceBasicControllerOverriderSPADisabled === PAUSE TestAccApplianceBasicControllerOverriderSPADisabled === RUN TestAccAppliancePortalSetup === PAUSE TestAccAppliancePortalSetup === RUN TestAccAppliancePortalSetup6 === PAUSE TestAccAppliancePortalSetup6 === RUN TestAccApplianceAdminInterfaceAddRemove === PAUSE TestAccApplianceAdminInterfaceAddRemove === RUN TestAccApplianceLogServerFunction --- PASS: TestAccApplianceLogServerFunction (6.82s) === RUN TestAccApplianceLogForwarderElastic55 === PAUSE TestAccApplianceLogForwarderElastic55 === RUN TestAccBlacklistUserBasic === PAUSE TestAccBlacklistUserBasic === RUN TestAccClientConnectionsBasic --- PASS: TestAccClientConnectionsBasic (2.25s) === RUN TestAccClientProfileBasic --- PASS: TestAccClientProfileBasic (62.62s) === RUN TestAccConditionBasic === PAUSE TestAccConditionBasic === RUN TestAccConditionFixedID === PAUSE TestAccConditionFixedID === RUN TestAccCriteriaScriptBasic === PAUSE TestAccCriteriaScriptBasic === RUN TestAccDeviceScriptBasic === PAUSE TestAccDeviceScriptBasic === RUN TestAccEntitlementScriptBasic === PAUSE TestAccEntitlementScriptBasic === RUN TestAccEntitlementBasicPing === PAUSE TestAccEntitlementBasicPing === RUN TestAccEntitlementBasicWithMonitor === PAUSE TestAccEntitlementBasicWithMonitor === RUN TestAccEntitlementUpdateActionOrder === PAUSE TestAccEntitlementUpdateActionOrder === RUN TestAccEntitlementUpdateActionHostOrder === PAUSE TestAccEntitlementUpdateActionHostOrder === RUN TestAccEntitlementUpdateActionPortsSetOrder === PAUSE TestAccEntitlementUpdateActionPortsSetOrder === RUN TestAccEntitlementRiskSensitivity === PAUSE TestAccEntitlementRiskSensitivity === RUN TestAccGlobalSettingsBasic --- PASS: TestAccGlobalSettingsBasic (2.21s) === RUN TestAccGlobalSettings54ProfileHostname === PAUSE TestAccGlobalSettings54ProfileHostname === RUN TestAccGlobalSettings6AndAbove resource_appgate_appliance_test.go:37: Test is only for >= 6.0 --- SKIP: TestAccGlobalSettings6AndAbove (0.33s) === RUN TestAccConnectorIdentityProviderBasic --- PASS: TestAccConnectorIdentityProviderBasic (3.32s) === RUN TestAccLdapCertificateIdentityProvidervBasic === PAUSE TestAccLdapCertificateIdentityProvidervBasic === RUN TestAccLdapCertificateIdentityProvidervBasic55OrGreater === PAUSE TestAccLdapCertificateIdentityProvidervBasic55OrGreater === RUN TestAccLdapIdentityProviderBasic === PAUSE TestAccLdapIdentityProviderBasic === RUN TestAccLdapIdentityProviderBasic55OrGreater === PAUSE TestAccLdapIdentityProviderBasic55OrGreater === RUN TestAccLocalDatabaseIdentityProviderBasic --- PASS: TestAccLocalDatabaseIdentityProviderBasic (3.16s) === RUN TestAccRadiusIdentityProviderBasic === PAUSE TestAccRadiusIdentityProviderBasic === RUN TestAccRadiusIdentityProviderBasic55OrGreater === PAUSE TestAccRadiusIdentityProviderBasic55OrGreater === RUN TestAccSamlIdentityProviderBasic === PAUSE TestAccSamlIdentityProviderBasic === RUN TestAccSamlIdentityProviderBasic55OrGreater === PAUSE TestAccSamlIdentityProviderBasic55OrGreater === RUN TestAccSamlIdentityProviderUserScripts55OrGreater === PAUSE TestAccSamlIdentityProviderUserScripts55OrGreater === RUN TestAccIPPoolBasic === PAUSE TestAccIPPoolBasic === RUN TestAccIPPoolV6 === PAUSE TestAccIPPoolV6 === RUN TestAccLocalUserBasic === PAUSE TestAccLocalUserBasic === RUN TestAccMfaProviderBasic === PAUSE TestAccMfaProviderBasic === RUN TestAccAdminMfaSettingsBasic === PAUSE TestAccAdminMfaSettingsBasic === RUN TestAccPolicyBasic === PAUSE TestAccPolicyBasic === RUN TestAccPolicyClientSettings55 === PAUSE TestAccPolicyClientSettings55 === RUN TestAccPolicyDnsSettings55 === PAUSE TestAccPolicyDnsSettings55 === RUN TestAccRingfenceRuleBasicICMP === PAUSE TestAccRingfenceRuleBasicICMP === RUN TestAccRingfenceRuleBasicTCP === PAUSE TestAccRingfenceRuleBasicTCP === RUN TestAccSiteBasic === PAUSE TestAccSiteBasic === RUN TestAccSiteBasicAwsResolverWithoutSecret === PAUSE TestAccSiteBasicAwsResolverWithoutSecret === RUN TestAccSiteBasicAwsResolverresolveWithMasterCredentials === PAUSE TestAccSiteBasicAwsResolverresolveWithMasterCredentials === RUN TestAccSite55Attributes === PAUSE TestAccSite55Attributes === RUN TestAccSiteVPNRouteVia --- PASS: TestAccSiteVPNRouteVia (6.61s) === RUN TestAccSiteVPNRouteViaIpv4Only --- PASS: TestAccSiteVPNRouteViaIpv4Only (6.92s) === RUN TestAccSiteNameResolver6 === PAUSE TestAccSiteNameResolver6 === RUN TestAccTrustedCertificateBasic === PAUSE TestAccTrustedCertificateBasic === RUN TestAccUserClaimScriptBasic === PAUSE TestAccUserClaimScriptBasic === CONT TestAccAppgateAdministrativeRoleDataSource === CONT TestAccEntitlementUpdateActionPortsSetOrder === CONT TestAccUserClaimScriptBasic === CONT TestAccTrustedCertificateBasic === CONT TestAccSiteNameResolver6 === CONT TestAccSite55Attributes === CONT TestAccSiteBasicAwsResolverresolveWithMasterCredentials === CONT TestAccSiteBasicAwsResolverWithoutSecret === CONT TestAccSiteBasic === CONT TestAccEntitlementUpdateActionOrder === CONT TestAccadministrativeRoleWtihAssignFunction === CONT TestAccApplianceBasicControllerWithoutOverrideSPA === CONT TestAccApplianceCustomizationBasic === CONT TestAccApplianceBasicControllerOverriderSPADisabled === CONT TestAccadministrativeMultiplePrivilegesValidation === CONT TestAccEntitlementUpdateActionHostOrder === CONT TestAccApplianceConnector === CONT TestAccEntitlementBasicWithMonitor === CONT TestAccadministrativeMultiplePrivilegesValidation52 === CONT TestAccEntitlementBasicPing === CONT TestAccadministrativeRoleWtihAssignFunction resource_appgate_appliance_test.go:37: Test is only for >= 6.0 --- SKIP: TestAccadministrativeRoleWtihAssignFunction (0.68s) === CONT TestAccApplianceBasicGateway === CONT TestAccadministrativeMultiplePrivilegesValidation52 resource_appgate_administrative_role_test.go:267: Test is only for 5.2, privileges.target OnBoardedDevice === CONT TestAccSiteNameResolver6 resource_appgate_appliance_test.go:37: Test is only for >= 6.0 --- SKIP: TestAccadministrativeMultiplePrivilegesValidation52 (0.83s) === CONT TestAccAppgateTrustedCertificateDataSource --- SKIP: TestAccSiteNameResolver6 (0.95s) === CONT TestAccBlacklistUserBasic --- PASS: TestAccBlacklistUserBasic (4.67s) === CONT TestAccadministrativeRoleWithScope --- PASS: TestAccAppgateAdministrativeRoleDataSource (7.04s) === CONT TestAccDeviceScriptBasic --- PASS: TestAccSiteBasicAwsResolverWithoutSecret (7.70s) === CONT TestAccadministrativeRoleBasic --- PASS: TestAccadministrativeMultiplePrivilegesValidation (7.76s) === CONT TestAccAppgateUserClaimScriptataSource --- PASS: TestAccAppgateTrustedCertificateDataSource (6.94s) === CONT TestAccEntitlementScriptBasic --- PASS: TestAccTrustedCertificateBasic (7.85s) === CONT TestAccCriteriaScriptBasic --- PASS: TestAccApplianceBasicControllerWithoutOverrideSPA (9.83s) === CONT TestAccApplianceLogForwarderElastic55 --- PASS: TestAccApplianceBasicControllerOverriderSPADisabled (10.94s) === CONT TestAccConditionFixedID --- PASS: TestAccApplianceConnector (11.42s) === CONT TestAccApplianceAdminInterfaceAddRemove --- PASS: TestAccApplianceCustomizationBasic (11.53s) === CONT TestAccConditionBasic --- PASS: TestAccEntitlementBasicPing (11.61s) === CONT TestAccAppliancePortalSetup6 --- PASS: TestAccApplianceBasicGateway (10.95s) === CONT TestAccAppgateApplianceCustomizationDataSource === CONT TestAccAppliancePortalSetup6 resource_appgate_appliance_test.go:2435: Test only for 6.0 and above, appliance.portal without peer_interface is only supported in 5.4 and above. --- SKIP: TestAccAppliancePortalSetup6 (0.89s) === CONT TestAccAppliancePortalSetup --- PASS: TestAccUserClaimScriptBasic (12.81s) === CONT TestAccAppgateMfaProviderDataSource --- PASS: TestAccSite55Attributes (13.11s) === CONT TestAccPolicyBasic --- PASS: TestAccDeviceScriptBasic (6.12s) === CONT TestAccRingfenceRuleBasicTCP --- PASS: TestAccCriteriaScriptBasic (6.31s) === CONT TestAccRingfenceRuleBasicICMP --- PASS: TestAccadministrativeRoleBasic (6.50s) === CONT TestAccSamlIdentityProviderUserScripts55OrGreater --- PASS: TestAccAppgateUserClaimScriptataSource (6.49s) === CONT TestAccPolicyDnsSettings55 --- PASS: TestAccEntitlementScriptBasic (6.69s) === CONT TestAccAdminMfaSettingsBasic --- PASS: TestAccadministrativeRoleWithScope (9.55s) === CONT TestAccPolicyClientSettings55 --- PASS: TestAccConditionFixedID (5.60s) === CONT TestAccMfaProviderBasic --- PASS: TestAccAppgateApplianceCustomizationDataSource (5.21s) === CONT TestAccLocalUserBasic --- PASS: TestAccConditionBasic (5.42s) === CONT TestAccIPPoolV6 --- PASS: TestAccEntitlementBasicWithMonitor (17.82s) === CONT TestAccIPPoolBasic --- PASS: TestAccSiteBasicAwsResolverresolveWithMasterCredentials (18.02s) === CONT TestAccLdapIdentityProviderBasic55OrGreater --- PASS: TestAccAppgateMfaProviderDataSource (5.31s) === CONT TestAccLdapCertificateIdentityProvidervBasic --- PASS: TestAccEntitlementUpdateActionOrder (18.37s) === CONT TestAccGlobalSettings54ProfileHostname --- PASS: TestAccRingfenceRuleBasicTCP (5.28s) === CONT TestAccEntitlementRiskSensitivity === CONT TestAccLdapCertificateIdentityProvidervBasic resource_appgate_identity_provider_ldap_certificate_test.go:26: Test only for 5.4 and below, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 --- SKIP: TestAccLdapCertificateIdentityProvidervBasic (0.43s) === CONT TestAccSamlIdentityProviderBasic55OrGreater --- PASS: TestAccEntitlementUpdateActionPortsSetOrder (18.65s) === CONT TestAccSamlIdentityProviderBasic --- PASS: TestAccEntitlementUpdateActionHostOrder (18.80s) === CONT TestAccLdapIdentityProviderBasic --- PASS: TestAccPolicyBasic (5.90s) === CONT TestAccRadiusIdentityProviderBasic55OrGreater === CONT TestAccEntitlementRiskSensitivity resource_appgate_appliance_test.go:37: Test is only for >= 6.0 --- SKIP: TestAccEntitlementRiskSensitivity (0.67s) === CONT TestAccLdapCertificateIdentityProvidervBasic55OrGreater === CONT TestAccSamlIdentityProviderBasic resource_appgate_identity_provider_saml_test.go:26: Test only for 5.4 and below, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 --- PASS: TestAccAdminMfaSettingsBasic (4.68s) === CONT TestAccRadiusIdentityProviderBasic --- SKIP: TestAccSamlIdentityProviderBasic (0.61s) === CONT TestAccLdapIdentityProviderBasic resource_appgate_identity_provider_ldap_test.go:26: Test only for 5.4 and below, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 --- PASS: TestAccRingfenceRuleBasicICMP (5.20s) --- SKIP: TestAccLdapIdentityProviderBasic (0.58s) --- PASS: TestAccApplianceLogForwarderElastic55 (9.94s) === CONT TestAccRadiusIdentityProviderBasic resource_appgate_identity_provider_radius_test.go:26: Test only for 5.4 and below, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5 --- SKIP: TestAccRadiusIdentityProviderBasic (0.77s) --- PASS: TestAccMfaProviderBasic (4.82s) --- PASS: TestAccIPPoolV6 (4.49s) --- PASS: TestAccLocalUserBasic (4.65s) --- PASS: TestAccIPPoolBasic (4.24s) --- PASS: TestAccGlobalSettings54ProfileHostname (4.38s) --- PASS: TestAccSamlIdentityProviderUserScripts55OrGreater (9.11s) --- PASS: TestAccPolicyClientSettings55 (8.55s) --- PASS: TestAccLdapIdentityProviderBasic55OrGreater (6.64s) --- PASS: TestAccSamlIdentityProviderBasic55OrGreater (6.32s) --- PASS: TestAccRadiusIdentityProviderBasic55OrGreater (6.09s) --- PASS: TestAccApplianceAdminInterfaceAddRemove (13.84s) --- PASS: TestAccLdapCertificateIdentityProvidervBasic55OrGreater (6.21s) --- PASS: TestAccPolicyDnsSettings55 (11.61s) --- PASS: TestAccSiteBasic (27.39s) --- PASS: TestAccAppliancePortalSetup (47.08s) PASS ok github.com/appgate/terraform-provider-appgatesdp/appgate 195.901s ```