appgate / terraform-provider-appgatesdp

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

identity providers network_inactivity_timeout_enabled #276

Closed dlnilsson closed 1 year ago

dlnilsson commented 1 year ago

Updated identity provider resource to include missing attribute network_inactivity_timeout_enabled that was introduced in 6.1. This PR fixes #274

Depends on: https://github.com/appgate/sdp-api-client-go/pull/20

dlnilsson commented 1 year ago

acceptance test for 6.1.0-31746-release

```bash > 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 2023/02/20 13:37:16 [DEBUG] Login OK === RUN TestClient/test_5.4_login 2023/02/20 13:37:16 [DEBUG] Login OK === RUN TestClient/invalid_client_version === RUN TestClient/500_login_response 2023/02/20 13:37:16 [DEBUG] Login failed, controller not responding, got HTTP 500 2023/02/20 13:37:17 [DEBUG] Login failed, controller not responding, got HTTP 500 === RUN TestClient/502_login_response 2023/02/20 13:37:17 [DEBUG] Login failed, controller not responding, got HTTP 502 2023/02/20 13:37:17 [DEBUG] Login failed, controller not responding, got HTTP 502 === RUN TestClient/503_login_response 2023/02/20 13:37:17 [DEBUG] Login failed, controller not responding, got HTTP 503 2023/02/20 13:37:18 [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 2023/02/20 13:37:18 [DEBUG] Login OK --- PASS: TestClient (1.53s) --- PASS: TestClient/test_before_5.4 (0.02s) --- PASS: TestClient/test_5.4_login (0.00s) --- PASS: TestClient/invalid_client_version (0.00s) --- PASS: TestClient/500_login_response (0.58s) --- PASS: TestClient/502_login_response (0.49s) --- PASS: TestClient/503_login_response (0.44s) --- 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:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccAppgateApplianceSeedDataSource (0.31s) === RUN TestAccAppgateCADataSource --- PASS: TestAccAppgateCADataSource (0.94s) === RUN TestAccAppgateConditionDataSource --- PASS: TestAccAppgateConditionDataSource (1.45s) === RUN TestAccAppgateEntitlementDataSource --- PASS: TestAccAppgateEntitlementDataSource (7.56s) === RUN TestAccAppgateGlobalSettingsDataSource --- PASS: TestAccAppgateGlobalSettingsDataSource (1.48s) === RUN TestAccAppgateIdentityProviderDataSource --- PASS: TestAccAppgateIdentityProviderDataSource (1.43s) === RUN TestAccAppgateIPPoolDataSource --- PASS: TestAccAppgateIPPoolDataSource (1.59s) === RUN TestAccAppgateLocalUserDataSource --- PASS: TestAccAppgateLocalUserDataSource (1.60s) === 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:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceBasicController (0.24s) === RUN TestAccApplianceConnector === PAUSE TestAccApplianceConnector === RUN TestAccApplianceBasicGateway === PAUSE TestAccApplianceBasicGateway === RUN TestAccApplianceBasicControllerWithoutOverrideSPA === PAUSE TestAccApplianceBasicControllerWithoutOverrideSPA === RUN TestAccApplianceBasicControllerOverriderSPADisabled === PAUSE TestAccApplianceBasicControllerOverriderSPADisabled === RUN TestAccAppliancePortalSetup === PAUSE TestAccAppliancePortalSetup === RUN TestAccAppliancePortalSetup6 --- PASS: TestAccAppliancePortalSetup6 (5.78s) === RUN TestAccApplianceAdminInterfaceAddRemove === PAUSE TestAccApplianceAdminInterfaceAddRemove === RUN TestAccApplianceLogServerFunction resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceLogServerFunction (0.25s) === RUN TestAccApplianceLogForwarderElastic55 === PAUSE TestAccApplianceLogForwarderElastic55 === RUN TestAccApplianceLogForwarderSplunkSumo61 === PAUSE TestAccApplianceLogForwarderSplunkSumo61 === RUN TestAccBlacklistUserBasic === PAUSE TestAccBlacklistUserBasic === RUN TestAccClientConnectionsBasic --- PASS: TestAccClientConnectionsBasic (1.52s) === RUN TestAccClientProfileBasic --- PASS: TestAccClientProfileBasic (1.52s) === RUN TestAccClientProfileBasic61 --- PASS: TestAccClientProfileBasic61 (1.73s) === 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 TestAccEntitlementActionHTTPMethods === PAUSE TestAccEntitlementActionHTTPMethods === RUN TestAccGlobalSettingsBasic --- PASS: TestAccGlobalSettingsBasic (1.71s) === RUN TestAccGlobalSettings54ProfileHostname === PAUSE TestAccGlobalSettings54ProfileHostname === RUN TestAccGlobalSettings6AndAbove --- PASS: TestAccGlobalSettings6AndAbove (3.52s) === RUN TestAccConnectorIdentityProviderBasic --- PASS: TestAccConnectorIdentityProviderBasic (2.31s) === RUN TestAccLdapCertificateIdentityProvidervBasic === PAUSE TestAccLdapCertificateIdentityProvidervBasic === RUN TestAccLdapCertificateIdentityProvidervBasic55OrGreater === PAUSE TestAccLdapCertificateIdentityProvidervBasic55OrGreater === RUN TestAccLdapIdentityProviderBasic === PAUSE TestAccLdapIdentityProviderBasic === RUN TestAccLdapIdentityProviderBasic55OrGreater === PAUSE TestAccLdapIdentityProviderBasic55OrGreater === RUN TestAccLocalDatabaseIdentityProviderBasic --- PASS: TestAccLocalDatabaseIdentityProviderBasic (2.31s) === RUN TestAccRadiusIdentityProviderBasic === PAUSE TestAccRadiusIdentityProviderBasic === RUN TestAccRadiusIdentityProviderBasic55OrGreater === PAUSE TestAccRadiusIdentityProviderBasic55OrGreater === RUN TestAccSamlIdentityProviderBasic === PAUSE TestAccSamlIdentityProviderBasic === RUN TestAccSamlIdentityProviderBasic55OrGreater === PAUSE TestAccSamlIdentityProviderBasic55OrGreater === RUN TestAccSamlIdentityProviderUserScripts55OrGreater === PAUSE TestAccSamlIdentityProviderUserScripts55OrGreater === RUN TestAccSamlIdentityProvider61 === PAUSE TestAccSamlIdentityProvider61 === RUN TestAccIPPoolBasic === PAUSE TestAccIPPoolBasic === RUN TestAccIPPoolV6 === PAUSE TestAccIPPoolV6 === RUN TestAccIPPoolBasic61 === PAUSE TestAccIPPoolBasic61 === RUN TestAccLocalUserBasic === PAUSE TestAccLocalUserBasic === RUN TestAccMfaProviderBasic === PAUSE TestAccMfaProviderBasic === RUN TestAccAdminMfaSettingsBasic === PAUSE TestAccAdminMfaSettingsBasic === RUN TestAccPolicyBasic --- PASS: TestAccPolicyBasic (1.61s) === RUN TestAccPolicyClientSettings55 === PAUSE TestAccPolicyClientSettings55 === RUN TestAccPolicyDnsSettings55 === PAUSE TestAccPolicyDnsSettings55 === RUN TestAccPolicyClientProfileSettings61 === PAUSE TestAccPolicyClientProfileSettings61 === RUN TestAccRingfenceRuleBasicICMP === PAUSE TestAccRingfenceRuleBasicICMP === RUN TestAccRingfenceRuleBasicTCP === PAUSE TestAccRingfenceRuleBasicTCP === RUN TestAccSiteBasic --- PASS: TestAccSiteBasic (9.13s) === RUN TestAccSiteBasicAwsResolverWithoutSecret --- PASS: TestAccSiteBasicAwsResolverWithoutSecret (1.58s) === RUN TestAccSiteBasicAwsResolverresolveWithMasterCredentials --- PASS: TestAccSiteBasicAwsResolverresolveWithMasterCredentials (4.54s) === RUN TestAccSite55Attributes --- PASS: TestAccSite55Attributes (3.28s) === RUN TestAccSiteVPNRouteVia --- PASS: TestAccSiteVPNRouteVia (4.42s) === RUN TestAccSiteVPNRouteViaIpv4Only --- PASS: TestAccSiteVPNRouteViaIpv4Only (4.52s) === RUN TestAccSiteNameResolver6 --- PASS: TestAccSiteNameResolver6 (3.34s) === RUN TestAccSiteNameResolverIllumio61 --- PASS: TestAccSiteNameResolverIllumio61 (4.67s) === RUN TestAccTrustedCertificateBasic === PAUSE TestAccTrustedCertificateBasic === RUN TestAccUserClaimScriptBasic === PAUSE TestAccUserClaimScriptBasic === CONT TestAccAppgateAdministrativeRoleDataSource === CONT TestAccEntitlementUpdateActionHostOrder === CONT TestAccSamlIdentityProvider61 === CONT TestAccLdapIdentityProviderBasic === CONT TestAccPolicyClientSettings55 === CONT TestAccGlobalSettings54ProfileHostname === CONT TestAccLocalUserBasic === CONT TestAccEntitlementActionHTTPMethods === CONT TestAccSamlIdentityProviderUserScripts55OrGreater === CONT TestAccLdapCertificateIdentityProvidervBasic55OrGreater === CONT TestAccUserClaimScriptBasic === CONT TestAccEntitlementRiskSensitivity === CONT TestAccSamlIdentityProviderBasic55OrGreater === CONT TestAccAdminMfaSettingsBasic === CONT TestAccLdapCertificateIdentityProvidervBasic === CONT TestAccTrustedCertificateBasic === CONT TestAccEntitlementUpdateActionPortsSetOrder === CONT TestAccRadiusIdentityProviderBasic55OrGreater === CONT TestAccMfaProviderBasic === CONT TestAccIPPoolBasic61 === NAME 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.50s) === CONT TestAccSamlIdentityProviderBasic === NAME 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 === NAME TestAccPolicyClientSettings55 resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccLdapCertificateIdentityProvidervBasic (0.72s) === CONT TestAccRingfenceRuleBasicTCP --- SKIP: TestAccPolicyClientSettings55 (0.73s) === CONT TestAccRingfenceRuleBasicICMP === NAME 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.70s) === CONT TestAccApplianceBasicControllerOverriderSPADisabled resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceBasicControllerOverriderSPADisabled (0.38s) === CONT TestAccPolicyClientProfileSettings61 --- PASS: TestAccAdminMfaSettingsBasic (3.78s) === CONT TestAccEntitlementUpdateActionOrder --- PASS: TestAccAppgateAdministrativeRoleDataSource (4.69s) === CONT TestAccEntitlementBasicWithMonitor --- PASS: TestAccIPPoolBasic61 (4.91s) === CONT TestAccPolicyDnsSettings55 --- PASS: TestAccLocalUserBasic (4.95s) === CONT TestAccIPPoolV6 --- PASS: TestAccMfaProviderBasic (5.13s) === CONT TestAccEntitlementBasicPing --- PASS: TestAccTrustedCertificateBasic (5.30s) === CONT TestAccIPPoolBasic --- PASS: TestAccRingfenceRuleBasicTCP (4.68s) === CONT TestAccEntitlementScriptBasic --- PASS: TestAccGlobalSettings54ProfileHostname (5.72s) === CONT TestAccBlacklistUserBasic --- PASS: TestAccRingfenceRuleBasicICMP (5.05s) === CONT TestAccApplianceLogForwarderSplunkSumo61 --- PASS: TestAccBlacklistUserBasic (2.67s) === CONT TestAccDeviceScriptBasic --- PASS: TestAccUserClaimScriptBasic (8.46s) === CONT TestAccadministrativeMultiplePrivilegesValidation --- PASS: TestAccIPPoolV6 (4.47s) === CONT TestAccApplianceLogForwarderElastic55 --- PASS: TestAccPolicyClientProfileSettings61 (7.93s) === CONT TestAccCriteriaScriptBasic --- PASS: TestAccRadiusIdentityProviderBasic55OrGreater (9.52s) === CONT TestAccApplianceBasicControllerWithoutOverrideSPA --- PASS: TestAccIPPoolBasic (4.76s) === CONT TestAccApplianceAdminInterfaceAddRemove --- PASS: TestAccLdapCertificateIdentityProvidervBasic55OrGreater (10.10s) === CONT TestAccConditionFixedID === NAME TestAccApplianceBasicControllerWithoutOverrideSPA resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceBasicControllerWithoutOverrideSPA (0.65s) === CONT TestAccAppliancePortalSetup === NAME TestAccApplianceLogForwarderElastic55 resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceLogForwarderElastic55 (0.90s) === CONT TestAccConditionBasic --- PASS: TestAccSamlIdentityProviderBasic55OrGreater (10.41s) === CONT TestAccApplianceBasicGateway --- PASS: TestAccEntitlementScriptBasic (5.10s) === CONT TestAccApplianceCustomizationBasic === NAME TestAccApplianceAdminInterfaceAddRemove resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceAdminInterfaceAddRemove (0.68s) === CONT TestAccadministrativeRoleWtihAssignFunction === NAME TestAccApplianceBasicGateway resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceBasicGateway (0.46s) === CONT TestAccadministrativeMultiplePrivilegesValidation52 === NAME TestAccAppliancePortalSetup resource_appgate_appliance_test.go:2236: Test only for 5.5 and above, appliance.portal is only supported in 5.4 and above. --- SKIP: TestAccAppliancePortalSetup (0.91s) === CONT TestAccApplianceConnector --- PASS: TestAccSamlIdentityProviderUserScripts55OrGreater (11.16s) === CONT TestAccAppgateUserClaimScriptataSource === NAME TestAccadministrativeMultiplePrivilegesValidation52 resource_appgate_administrative_role_test.go:267: Test is only for 5.2, privileges.target OnBoardedDevice --- SKIP: TestAccadministrativeMultiplePrivilegesValidation52 (0.54s) === CONT TestAccadministrativeRoleBasic === NAME TestAccApplianceConnector resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceConnector (0.46s) === CONT TestAccadministrativeRoleWithScope --- PASS: TestAccDeviceScriptBasic (4.60s) === CONT TestAccRadiusIdentityProviderBasic --- PASS: TestAccApplianceLogForwarderSplunkSumo61 (7.30s) === CONT TestAccAppgateMfaProviderDataSource --- PASS: TestAccadministrativeMultiplePrivilegesValidation (4.78s) === CONT TestAccAppgateApplianceCustomizationDataSource === NAME 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.49s) === CONT TestAccAppgateTrustedCertificateDataSource --- PASS: TestAccCriteriaScriptBasic (4.14s) === CONT TestAccLdapIdentityProviderBasic55OrGreater --- PASS: TestAccEntitlementBasicPing (8.62s) --- PASS: TestAccConditionFixedID (4.12s) --- PASS: TestAccConditionBasic (4.14s) --- PASS: TestAccAppgateUserClaimScriptataSource (4.10s) --- PASS: TestAccadministrativeRoleBasic (3.90s) --- PASS: TestAccEntitlementRiskSensitivity (15.58s) --- PASS: TestAccEntitlementUpdateActionHostOrder (16.01s) --- PASS: TestAccEntitlementUpdateActionPortsSetOrder (16.40s) --- PASS: TestAccApplianceCustomizationBasic (6.01s) --- PASS: TestAccAppgateMfaProviderDataSource (3.48s) --- PASS: TestAccSamlIdentityProvider61 (16.58s) --- PASS: TestAccPolicyDnsSettings55 (11.79s) --- PASS: TestAccAppgateApplianceCustomizationDataSource (3.58s) --- PASS: TestAccAppgateTrustedCertificateDataSource (3.86s) --- PASS: TestAccadministrativeRoleWtihAssignFunction (6.97s) --- PASS: TestAccadministrativeRoleWithScope (6.31s) --- PASS: TestAccEntitlementUpdateActionOrder (14.08s) --- PASS: TestAccEntitlementBasicWithMonitor (14.05s) --- PASS: TestAccLdapIdentityProviderBasic55OrGreater (5.37s) --- PASS: TestAccEntitlementActionHTTPMethods (19.39s) PASS ok github.com/appgate/terraform-provider-appgatesdp/appgate 95.288s ```
dlnilsson commented 1 year ago

acceptance test for 6.0.0-29426-release

```bash > 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 2023/02/20 13:42:23 [DEBUG] Login OK === RUN TestClient/test_5.4_login 2023/02/20 13:42:23 [DEBUG] Login OK === RUN TestClient/invalid_client_version === RUN TestClient/500_login_response 2023/02/20 13:42:23 [DEBUG] Login failed, controller not responding, got HTTP 500 2023/02/20 13:42:23 [DEBUG] Login failed, controller not responding, got HTTP 500 2023/02/20 13:42:24 [DEBUG] Login failed, controller not responding, got HTTP 500 === RUN TestClient/502_login_response 2023/02/20 13:42:24 [DEBUG] Login failed, controller not responding, got HTTP 502 2023/02/20 13:42:24 [DEBUG] Login failed, controller not responding, got HTTP 502 === RUN TestClient/503_login_response 2023/02/20 13:42:24 [DEBUG] Login failed, controller not responding, got HTTP 503 2023/02/20 13:42:24 [DEBUG] Login failed, controller not responding, got HTTP 503 2023/02/20 13:42:25 [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 2023/02/20 13:42:25 [DEBUG] Login OK --- PASS: TestClient (2.20s) --- PASS: TestClient/test_before_5.4 (0.02s) --- PASS: TestClient/test_5.4_login (0.00s) --- PASS: TestClient/invalid_client_version (0.00s) --- PASS: TestClient/500_login_response (0.89s) --- PASS: TestClient/502_login_response (0.51s) --- PASS: TestClient/503_login_response (0.77s) --- 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:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccAppgateApplianceSeedDataSource (0.29s) === RUN TestAccAppgateCADataSource --- PASS: TestAccAppgateCADataSource (1.01s) === RUN TestAccAppgateConditionDataSource --- PASS: TestAccAppgateConditionDataSource (1.63s) === RUN TestAccAppgateEntitlementDataSource --- PASS: TestAccAppgateEntitlementDataSource (8.70s) === RUN TestAccAppgateGlobalSettingsDataSource --- PASS: TestAccAppgateGlobalSettingsDataSource (1.61s) === RUN TestAccAppgateIdentityProviderDataSource --- PASS: TestAccAppgateIdentityProviderDataSource (1.59s) === RUN TestAccAppgateIPPoolDataSource --- PASS: TestAccAppgateIPPoolDataSource (1.80s) === RUN TestAccAppgateLocalUserDataSource --- PASS: TestAccAppgateLocalUserDataSource (1.78s) === 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:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceBasicController (0.25s) === RUN TestAccApplianceConnector === PAUSE TestAccApplianceConnector === RUN TestAccApplianceBasicGateway === PAUSE TestAccApplianceBasicGateway === RUN TestAccApplianceBasicControllerWithoutOverrideSPA === PAUSE TestAccApplianceBasicControllerWithoutOverrideSPA === RUN TestAccApplianceBasicControllerOverriderSPADisabled === PAUSE TestAccApplianceBasicControllerOverriderSPADisabled === RUN TestAccAppliancePortalSetup === PAUSE TestAccAppliancePortalSetup === RUN TestAccAppliancePortalSetup6 --- PASS: TestAccAppliancePortalSetup6 (20.91s) === RUN TestAccApplianceAdminInterfaceAddRemove === PAUSE TestAccApplianceAdminInterfaceAddRemove === RUN TestAccApplianceLogServerFunction resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceLogServerFunction (0.55s) === RUN TestAccApplianceLogForwarderElastic55 === PAUSE TestAccApplianceLogForwarderElastic55 === RUN TestAccApplianceLogForwarderSplunkSumo61 === PAUSE TestAccApplianceLogForwarderSplunkSumo61 === RUN TestAccBlacklistUserBasic === PAUSE TestAccBlacklistUserBasic === RUN TestAccClientConnectionsBasic --- PASS: TestAccClientConnectionsBasic (1.89s) === RUN TestAccClientProfileBasic --- PASS: TestAccClientProfileBasic (34.57s) === RUN TestAccClientProfileBasic61 resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccClientProfileBasic61 (0.25s) === 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 TestAccEntitlementActionHTTPMethods === PAUSE TestAccEntitlementActionHTTPMethods === RUN TestAccGlobalSettingsBasic --- PASS: TestAccGlobalSettingsBasic (1.96s) === RUN TestAccGlobalSettings54ProfileHostname === PAUSE TestAccGlobalSettings54ProfileHostname === RUN TestAccGlobalSettings6AndAbove --- PASS: TestAccGlobalSettings6AndAbove (3.93s) === RUN TestAccConnectorIdentityProviderBasic --- PASS: TestAccConnectorIdentityProviderBasic (2.76s) === RUN TestAccLdapCertificateIdentityProvidervBasic === PAUSE TestAccLdapCertificateIdentityProvidervBasic === RUN TestAccLdapCertificateIdentityProvidervBasic55OrGreater === PAUSE TestAccLdapCertificateIdentityProvidervBasic55OrGreater === RUN TestAccLdapIdentityProviderBasic === PAUSE TestAccLdapIdentityProviderBasic === RUN TestAccLdapIdentityProviderBasic55OrGreater === PAUSE TestAccLdapIdentityProviderBasic55OrGreater === RUN TestAccLocalDatabaseIdentityProviderBasic --- PASS: TestAccLocalDatabaseIdentityProviderBasic (2.58s) === RUN TestAccRadiusIdentityProviderBasic === PAUSE TestAccRadiusIdentityProviderBasic === RUN TestAccRadiusIdentityProviderBasic55OrGreater === PAUSE TestAccRadiusIdentityProviderBasic55OrGreater === RUN TestAccSamlIdentityProviderBasic === PAUSE TestAccSamlIdentityProviderBasic === RUN TestAccSamlIdentityProviderBasic55OrGreater === PAUSE TestAccSamlIdentityProviderBasic55OrGreater === RUN TestAccSamlIdentityProviderUserScripts55OrGreater === PAUSE TestAccSamlIdentityProviderUserScripts55OrGreater === RUN TestAccSamlIdentityProvider61 === PAUSE TestAccSamlIdentityProvider61 === RUN TestAccIPPoolBasic === PAUSE TestAccIPPoolBasic === RUN TestAccIPPoolV6 === PAUSE TestAccIPPoolV6 === RUN TestAccIPPoolBasic61 === PAUSE TestAccIPPoolBasic61 === RUN TestAccLocalUserBasic === PAUSE TestAccLocalUserBasic === RUN TestAccMfaProviderBasic === PAUSE TestAccMfaProviderBasic === RUN TestAccAdminMfaSettingsBasic === PAUSE TestAccAdminMfaSettingsBasic === RUN TestAccPolicyBasic --- PASS: TestAccPolicyBasic (1.82s) === RUN TestAccPolicyClientSettings55 === PAUSE TestAccPolicyClientSettings55 === RUN TestAccPolicyDnsSettings55 === PAUSE TestAccPolicyDnsSettings55 === RUN TestAccPolicyClientProfileSettings61 === PAUSE TestAccPolicyClientProfileSettings61 === RUN TestAccRingfenceRuleBasicICMP === PAUSE TestAccRingfenceRuleBasicICMP === RUN TestAccRingfenceRuleBasicTCP === PAUSE TestAccRingfenceRuleBasicTCP === RUN TestAccSiteBasic --- PASS: TestAccSiteBasic (10.07s) === RUN TestAccSiteBasicAwsResolverWithoutSecret --- PASS: TestAccSiteBasicAwsResolverWithoutSecret (1.69s) === RUN TestAccSiteBasicAwsResolverresolveWithMasterCredentials --- PASS: TestAccSiteBasicAwsResolverresolveWithMasterCredentials (4.84s) === RUN TestAccSite55Attributes --- PASS: TestAccSite55Attributes (3.49s) === RUN TestAccSiteVPNRouteVia --- PASS: TestAccSiteVPNRouteVia (4.80s) === RUN TestAccSiteVPNRouteViaIpv4Only --- PASS: TestAccSiteVPNRouteViaIpv4Only (4.96s) === RUN TestAccSiteNameResolver6 --- PASS: TestAccSiteNameResolver6 (3.48s) === RUN TestAccSiteNameResolverIllumio61 resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccSiteNameResolverIllumio61 (0.30s) === RUN TestAccTrustedCertificateBasic === PAUSE TestAccTrustedCertificateBasic === RUN TestAccUserClaimScriptBasic === PAUSE TestAccUserClaimScriptBasic === CONT TestAccAppgateAdministrativeRoleDataSource === CONT TestAccEntitlementUpdateActionHostOrder === CONT TestAccApplianceBasicControllerOverriderSPADisabled === CONT TestAccadministrativeMultiplePrivilegesValidation === CONT TestAccSamlIdentityProvider61 === CONT TestAccPolicyClientSettings55 === CONT TestAccRingfenceRuleBasicTCP === CONT TestAccEntitlementUpdateActionOrder === CONT TestAccAdminMfaSettingsBasic === CONT TestAccUserClaimScriptBasic === CONT TestAccRingfenceRuleBasicICMP === CONT TestAccTrustedCertificateBasic === CONT TestAccPolicyClientProfileSettings61 === CONT TestAccApplianceBasicControllerWithoutOverrideSPA === CONT TestAccEntitlementBasicWithMonitor === CONT TestAccConditionBasic === CONT TestAccadministrativeRoleWithScope === CONT TestAccMfaProviderBasic === CONT TestAccBlacklistUserBasic === CONT TestAccPolicyDnsSettings55 === NAME TestAccSamlIdentityProvider61 resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccSamlIdentityProvider61 (0.41s) === CONT TestAccEntitlementBasicPing === NAME TestAccPolicyClientProfileSettings61 resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccPolicyClientProfileSettings61 (0.47s) === CONT TestAccEntitlementScriptBasic === NAME TestAccPolicyClientSettings55 resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 === NAME TestAccApplianceBasicControllerOverriderSPADisabled resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceBasicControllerOverriderSPADisabled (0.59s) === CONT TestAccDeviceScriptBasic --- SKIP: TestAccPolicyClientSettings55 (0.60s) === CONT TestAccCriteriaScriptBasic === NAME TestAccApplianceBasicControllerWithoutOverrideSPA resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceBasicControllerWithoutOverrideSPA (0.76s) === CONT TestAccConditionFixedID --- PASS: TestAccBlacklistUserBasic (2.83s) === CONT TestAccApplianceLogForwarderElastic55 resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceLogForwarderElastic55 (0.46s) === CONT TestAccApplianceLogForwarderSplunkSumo61 resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccApplianceLogForwarderSplunkSumo61 (0.62s) === CONT TestAccLdapIdentityProviderBasic --- PASS: TestAccAdminMfaSettingsBasic (4.07s) === CONT TestAccSamlIdentityProviderUserScripts55OrGreater === NAME 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.60s) === CONT TestAccSamlIdentityProviderBasic55OrGreater --- PASS: TestAccadministrativeMultiplePrivilegesValidation (4.72s) === CONT TestAccSamlIdentityProviderBasic --- PASS: TestAccAppgateAdministrativeRoleDataSource (4.96s) === CONT TestAccRadiusIdentityProviderBasic55OrGreater --- PASS: TestAccMfaProviderBasic (5.20s) === CONT TestAccRadiusIdentityProviderBasic --- PASS: TestAccCriteriaScriptBasic (4.63s) === CONT TestAccLdapIdentityProviderBasic55OrGreater === NAME 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.61s) === CONT TestAccApplianceCustomizationBasic --- PASS: TestAccRingfenceRuleBasicTCP (5.35s) === CONT TestAccApplianceBasicGateway --- PASS: TestAccConditionBasic (5.40s) === CONT TestAccApplianceConnector --- PASS: TestAccRingfenceRuleBasicICMP (5.40s) === CONT TestAccApplianceAdminInterfaceAddRemove === NAME 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.38s) === CONT TestAccadministrativeRoleWtihAssignFunction --- PASS: TestAccEntitlementScriptBasic (5.34s) === CONT TestAccadministrativeMultiplePrivilegesValidation52 --- PASS: TestAccConditionFixedID (5.06s) === CONT TestAccAppgateTrustedCertificateDataSource --- PASS: TestAccDeviceScriptBasic (5.36s) === CONT TestAccadministrativeRoleBasic === NAME TestAccApplianceBasicGateway resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceBasicGateway (0.67s) === CONT TestAccAppgateUserClaimScriptataSource === NAME TestAccApplianceConnector resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceConnector (0.65s) === CONT TestAccAppgateMfaProviderDataSource --- PASS: TestAccTrustedCertificateBasic (6.08s) === CONT TestAccGlobalSettings54ProfileHostname === NAME TestAccApplianceAdminInterfaceAddRemove resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0 --- SKIP: TestAccApplianceAdminInterfaceAddRemove (0.88s) === CONT TestAccLdapCertificateIdentityProvidervBasic55OrGreater === NAME TestAccadministrativeMultiplePrivilegesValidation52 resource_appgate_administrative_role_test.go:267: Test is only for 5.2, privileges.target OnBoardedDevice --- SKIP: TestAccadministrativeMultiplePrivilegesValidation52 (0.57s) === 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.81s) === CONT TestAccAppliancePortalSetup --- PASS: TestAccadministrativeRoleWithScope (7.76s) === CONT TestAccIPPoolBasic61 === NAME TestAccAppliancePortalSetup resource_appgate_appliance_test.go:2236: Test only for 5.5 and above, appliance.portal is only supported in 5.4 and above. --- SKIP: TestAccAppliancePortalSetup (0.70s) === CONT TestAccLocalUserBasic === NAME TestAccIPPoolBasic61 resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccIPPoolBasic61 (1.06s) === CONT TestAccIPPoolV6 --- PASS: TestAccEntitlementBasicPing (9.06s) === CONT TestAccIPPoolBasic --- PASS: TestAccUserClaimScriptBasic (9.50s) === CONT TestAccAppgateApplianceCustomizationDataSource --- PASS: TestAccAppgateUserClaimScriptataSource (5.32s) === CONT TestAccEntitlementRiskSensitivity --- PASS: TestAccAppgateMfaProviderDataSource (5.55s) === CONT TestAccEntitlementActionHTTPMethods --- PASS: TestAccadministrativeRoleBasic (5.74s) === CONT TestAccEntitlementUpdateActionPortsSetOrder --- PASS: TestAccGlobalSettings54ProfileHostname (5.62s) --- PASS: TestAccAppgateTrustedCertificateDataSource (6.41s) === NAME TestAccEntitlementActionHTTPMethods resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccEntitlementActionHTTPMethods (0.85s) --- PASS: TestAccLocalUserBasic (5.17s) --- PASS: TestAccApplianceCustomizationBasic (8.32s) --- PASS: TestAccPolicyDnsSettings55 (13.90s) --- PASS: TestAccIPPoolV6 (5.20s) --- PASS: TestAccIPPoolBasic (4.81s) --- PASS: TestAccSamlIdentityProviderBasic55OrGreater (9.78s) --- PASS: TestAccAppgateApplianceCustomizationDataSource (4.79s) --- PASS: TestAccadministrativeRoleWtihAssignFunction (9.01s) --- PASS: TestAccRadiusIdentityProviderBasic55OrGreater (10.13s) --- PASS: TestAccLdapIdentityProviderBasic55OrGreater (10.07s) --- PASS: TestAccSamlIdentityProviderUserScripts55OrGreater (11.41s) --- PASS: TestAccLdapCertificateIdentityProvidervBasic55OrGreater (9.71s) --- PASS: TestAccEntitlementUpdateActionHostOrder (16.11s) --- PASS: TestAccEntitlementUpdateActionOrder (16.15s) --- PASS: TestAccEntitlementBasicWithMonitor (16.41s) --- PASS: TestAccEntitlementUpdateActionPortsSetOrder (7.64s) --- PASS: TestAccEntitlementRiskSensitivity (8.34s) PASS ok github.com/appgate/terraform-provider-appgatesdp/appgate 145.415s ```
dlnilsson commented 1 year ago

acceptance test for 5.5.8-30107-release

```bash > 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 2023/02/20 16:17:15 [DEBUG] Login OK === RUN TestClient/test_5.4_login 2023/02/20 16:17:15 [DEBUG] Login OK === RUN TestClient/invalid_client_version === RUN TestClient/500_login_response 2023/02/20 16:17:15 [DEBUG] Login failed, controller not responding, got HTTP 500 2023/02/20 16:17:15 [DEBUG] Login failed, controller not responding, got HTTP 500 === RUN TestClient/502_login_response 2023/02/20 16:17:15 [DEBUG] Login failed, controller not responding, got HTTP 502 2023/02/20 16:17:16 [DEBUG] Login failed, controller not responding, got HTTP 502 === RUN TestClient/503_login_response 2023/02/20 16:17:16 [DEBUG] Login failed, controller not responding, got HTTP 503 2023/02/20 16:17:17 [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 2023/02/20 16:17:17 [DEBUG] Login OK --- PASS: TestClient (1.57s) --- PASS: TestClient/test_before_5.4 (0.02s) --- PASS: TestClient/test_5.4_login (0.00s) --- PASS: TestClient/invalid_client_version (0.00s) --- PASS: TestClient/500_login_response (0.42s) --- PASS: TestClient/502_login_response (0.62s) --- PASS: TestClient/503_login_response (0.52s) --- 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 (7.46s) === RUN TestAccAppgateCADataSource --- PASS: TestAccAppgateCADataSource (0.96s) === RUN TestAccAppgateConditionDataSource --- PASS: TestAccAppgateConditionDataSource (1.58s) === RUN TestAccAppgateEntitlementDataSource --- PASS: TestAccAppgateEntitlementDataSource (8.60s) === RUN TestAccAppgateGlobalSettingsDataSource --- PASS: TestAccAppgateGlobalSettingsDataSource (1.55s) === RUN TestAccAppgateIdentityProviderDataSource --- PASS: TestAccAppgateIdentityProviderDataSource (1.53s) === RUN TestAccAppgateIPPoolDataSource --- PASS: TestAccAppgateIPPoolDataSource (1.89s) === RUN TestAccAppgateLocalUserDataSource --- PASS: TestAccAppgateLocalUserDataSource (1.72s) === 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 (7.90s) === RUN TestAccApplianceConnector === PAUSE TestAccApplianceConnector === RUN TestAccApplianceBasicGateway === PAUSE TestAccApplianceBasicGateway === RUN TestAccApplianceBasicControllerWithoutOverrideSPA === PAUSE TestAccApplianceBasicControllerWithoutOverrideSPA === RUN TestAccApplianceBasicControllerOverriderSPADisabled === PAUSE TestAccApplianceBasicControllerOverriderSPADisabled === RUN TestAccAppliancePortalSetup === PAUSE TestAccAppliancePortalSetup === RUN TestAccAppliancePortalSetup6 resource_appgate_appliance_test.go:2441: Test only for 6.0 and above, appliance.portal without peer_interface is only supported in 5.4 and above. --- SKIP: TestAccAppliancePortalSetup6 (0.28s) === RUN TestAccApplianceAdminInterfaceAddRemove === PAUSE TestAccApplianceAdminInterfaceAddRemove === RUN TestAccApplianceLogServerFunction --- PASS: TestAccApplianceLogServerFunction (5.40s) === RUN TestAccApplianceLogForwarderElastic55 === PAUSE TestAccApplianceLogForwarderElastic55 === RUN TestAccApplianceLogForwarderSplunkSumo61 === PAUSE TestAccApplianceLogForwarderSplunkSumo61 === RUN TestAccBlacklistUserBasic === PAUSE TestAccBlacklistUserBasic === RUN TestAccClientConnectionsBasic --- PASS: TestAccClientConnectionsBasic (1.65s) === RUN TestAccClientProfileBasic --- PASS: TestAccClientProfileBasic (42.90s) === RUN TestAccClientProfileBasic61 resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccClientProfileBasic61 (0.25s) === 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 TestAccEntitlementActionHTTPMethods === PAUSE TestAccEntitlementActionHTTPMethods === RUN TestAccGlobalSettingsBasic --- PASS: TestAccGlobalSettingsBasic (1.81s) === RUN TestAccGlobalSettings54ProfileHostname === PAUSE TestAccGlobalSettings54ProfileHostname === RUN TestAccGlobalSettings6AndAbove resource_appgate_appliance_test.go:31: Test is only for >= 6.0 --- SKIP: TestAccGlobalSettings6AndAbove (0.23s) === RUN TestAccConnectorIdentityProviderBasic --- PASS: TestAccConnectorIdentityProviderBasic (2.54s) === RUN TestAccLdapCertificateIdentityProvidervBasic === PAUSE TestAccLdapCertificateIdentityProvidervBasic === RUN TestAccLdapCertificateIdentityProvidervBasic55OrGreater === PAUSE TestAccLdapCertificateIdentityProvidervBasic55OrGreater === RUN TestAccLdapIdentityProviderBasic === PAUSE TestAccLdapIdentityProviderBasic === RUN TestAccLdapIdentityProviderBasic55OrGreater === PAUSE TestAccLdapIdentityProviderBasic55OrGreater === RUN TestAccLocalDatabaseIdentityProviderBasic --- PASS: TestAccLocalDatabaseIdentityProviderBasic (2.64s) === RUN TestAccRadiusIdentityProviderBasic === PAUSE TestAccRadiusIdentityProviderBasic === RUN TestAccRadiusIdentityProviderBasic55OrGreater === PAUSE TestAccRadiusIdentityProviderBasic55OrGreater === RUN TestAccSamlIdentityProviderBasic === PAUSE TestAccSamlIdentityProviderBasic === RUN TestAccSamlIdentityProviderBasic55OrGreater === PAUSE TestAccSamlIdentityProviderBasic55OrGreater === RUN TestAccSamlIdentityProviderUserScripts55OrGreater === PAUSE TestAccSamlIdentityProviderUserScripts55OrGreater === RUN TestAccSamlIdentityProvider61 === PAUSE TestAccSamlIdentityProvider61 === RUN TestAccIPPoolBasic === PAUSE TestAccIPPoolBasic === RUN TestAccIPPoolV6 === PAUSE TestAccIPPoolV6 === RUN TestAccIPPoolBasic61 === PAUSE TestAccIPPoolBasic61 === RUN TestAccLocalUserBasic === PAUSE TestAccLocalUserBasic === RUN TestAccMfaProviderBasic === PAUSE TestAccMfaProviderBasic === RUN TestAccAdminMfaSettingsBasic === PAUSE TestAccAdminMfaSettingsBasic === RUN TestAccPolicyBasic --- PASS: TestAccPolicyBasic (1.63s) === RUN TestAccPolicyClientSettings55 === PAUSE TestAccPolicyClientSettings55 === RUN TestAccPolicyDnsSettings55 === PAUSE TestAccPolicyDnsSettings55 === RUN TestAccPolicyClientProfileSettings61 === PAUSE TestAccPolicyClientProfileSettings61 === RUN TestAccRingfenceRuleBasicICMP === PAUSE TestAccRingfenceRuleBasicICMP === RUN TestAccRingfenceRuleBasicTCP === PAUSE TestAccRingfenceRuleBasicTCP === RUN TestAccSiteBasic --- PASS: TestAccSiteBasic (9.65s) === RUN TestAccSiteBasicAwsResolverWithoutSecret --- PASS: TestAccSiteBasicAwsResolverWithoutSecret (1.52s) === RUN TestAccSiteBasicAwsResolverresolveWithMasterCredentials --- PASS: TestAccSiteBasicAwsResolverresolveWithMasterCredentials (4.57s) === RUN TestAccSite55Attributes --- PASS: TestAccSite55Attributes (3.39s) === RUN TestAccSiteVPNRouteVia --- PASS: TestAccSiteVPNRouteVia (4.68s) === RUN TestAccSiteVPNRouteViaIpv4Only --- PASS: TestAccSiteVPNRouteViaIpv4Only (4.62s) === RUN TestAccSiteNameResolver6 resource_appgate_appliance_test.go:31: Test is only for >= 6.0 --- SKIP: TestAccSiteNameResolver6 (0.23s) === RUN TestAccSiteNameResolverIllumio61 resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccSiteNameResolverIllumio61 (0.23s) === RUN TestAccTrustedCertificateBasic === PAUSE TestAccTrustedCertificateBasic === RUN TestAccUserClaimScriptBasic === PAUSE TestAccUserClaimScriptBasic === CONT TestAccAppgateAdministrativeRoleDataSource === CONT TestAccEntitlementUpdateActionHostOrder === CONT TestAccApplianceBasicControllerOverriderSPADisabled === CONT TestAccadministrativeMultiplePrivilegesValidation === CONT TestAccAppgateUserClaimScriptataSource === CONT TestAccAppgateTrustedCertificateDataSource === CONT TestAccApplianceBasicControllerWithoutOverrideSPA === CONT TestAccRingfenceRuleBasicICMP === CONT TestAccRingfenceRuleBasicTCP === CONT TestAccUserClaimScriptBasic === CONT TestAccAppgateMfaProviderDataSource === CONT TestAccTrustedCertificateBasic === CONT TestAccadministrativeRoleWithScope === CONT TestAccAppgateApplianceCustomizationDataSource === CONT TestAccPolicyClientProfileSettings61 === CONT TestAccadministrativeRoleBasic === CONT TestAccApplianceBasicGateway === CONT TestAccSamlIdentityProviderBasic55OrGreater === CONT TestAccSamlIdentityProviderBasic === CONT TestAccConditionFixedID === NAME 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 === NAME TestAccPolicyClientProfileSettings61 resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccSamlIdentityProviderBasic (0.38s) === CONT TestAccEntitlementUpdateActionOrder --- SKIP: TestAccPolicyClientProfileSettings61 (0.45s) === CONT TestAccEntitlementBasicWithMonitor --- PASS: TestAccadministrativeRoleBasic (5.28s) === CONT TestAccEntitlementBasicPing --- PASS: TestAccAppgateAdministrativeRoleDataSource (5.29s) === CONT TestAccEntitlementScriptBasic --- PASS: TestAccAppgateUserClaimScriptataSource (5.45s) === CONT TestAccDeviceScriptBasic --- PASS: TestAccAppgateMfaProviderDataSource (5.50s) === CONT TestAccCriteriaScriptBasic --- PASS: TestAccConditionFixedID (5.56s) === CONT TestAccApplianceCustomizationBasic --- PASS: TestAccadministrativeMultiplePrivilegesValidation (5.58s) === CONT TestAccApplianceConnector --- PASS: TestAccAppgateApplianceCustomizationDataSource (5.72s) === CONT TestAccLdapCertificateIdentityProvidervBasic55OrGreater --- PASS: TestAccTrustedCertificateBasic (5.73s) === CONT TestAccRadiusIdentityProviderBasic55OrGreater --- PASS: TestAccRingfenceRuleBasicICMP (5.88s) === CONT TestAccRadiusIdentityProviderBasic --- PASS: TestAccAppgateTrustedCertificateDataSource (6.61s) === CONT TestAccLdapIdentityProviderBasic55OrGreater --- PASS: TestAccRingfenceRuleBasicTCP (6.67s) === CONT TestAccLdapIdentityProviderBasic === NAME 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.89s) === CONT TestAccApplianceLogForwarderSplunkSumo61 === NAME 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.84s) === CONT TestAccConditionBasic === NAME TestAccApplianceLogForwarderSplunkSumo61 resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccApplianceLogForwarderSplunkSumo61 (0.88s) === CONT TestAccBlacklistUserBasic --- PASS: TestAccadministrativeRoleWithScope (9.15s) === CONT TestAccEntitlementActionHTTPMethods --- PASS: TestAccApplianceBasicControllerOverriderSPADisabled (9.26s) === CONT TestAccLdapCertificateIdentityProvidervBasic --- PASS: TestAccApplianceBasicGateway (9.63s) === CONT TestAccGlobalSettings54ProfileHostname --- PASS: TestAccApplianceBasicControllerWithoutOverrideSPA (9.65s) === CONT TestAccEntitlementRiskSensitivity === NAME TestAccEntitlementActionHTTPMethods resource_appgate_appliance_test.go:31: Test is only for >= 6.1 === NAME 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: TestAccEntitlementActionHTTPMethods (0.63s) === CONT TestAccLocalUserBasic --- SKIP: TestAccLdapCertificateIdentityProvidervBasic (0.53s) === CONT TestAccPolicyDnsSettings55 === NAME TestAccEntitlementRiskSensitivity resource_appgate_appliance_test.go:31: Test is only for >= 6.0 --- PASS: TestAccSamlIdentityProviderBasic55OrGreater (10.43s) === CONT TestAccPolicyClientSettings55 --- SKIP: TestAccEntitlementRiskSensitivity (0.79s) === CONT TestAccAdminMfaSettingsBasic --- PASS: TestAccDeviceScriptBasic (5.14s) === CONT TestAccMfaProviderBasic --- PASS: TestAccUserClaimScriptBasic (10.60s) === CONT TestAccadministrativeRoleWtihAssignFunction --- PASS: TestAccEntitlementScriptBasic (5.97s) === CONT TestAccEntitlementUpdateActionPortsSetOrder --- PASS: TestAccCriteriaScriptBasic (5.77s) === CONT TestAccadministrativeMultiplePrivilegesValidation52 --- PASS: TestAccBlacklistUserBasic (3.66s) === CONT TestAccIPPoolBasic === NAME TestAccadministrativeRoleWtihAssignFunction resource_appgate_appliance_test.go:31: Test is only for >= 6.0 --- SKIP: TestAccadministrativeRoleWtihAssignFunction (0.83s) === CONT TestAccIPPoolBasic61 === NAME TestAccadministrativeMultiplePrivilegesValidation52 resource_appgate_administrative_role_test.go:267: Test is only for 5.2, privileges.target OnBoardedDevice --- SKIP: TestAccadministrativeMultiplePrivilegesValidation52 (0.75s) === CONT TestAccIPPoolV6 === NAME TestAccIPPoolBasic61 resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccIPPoolBasic61 (0.70s) === CONT TestAccSamlIdentityProvider61 resource_appgate_appliance_test.go:31: Test is only for >= 6.1 --- SKIP: TestAccSamlIdentityProvider61 (0.45s) === CONT TestAccApplianceAdminInterfaceAddRemove --- PASS: TestAccConditionBasic (5.55s) === CONT TestAccApplianceLogForwarderElastic55 --- PASS: TestAccLocalUserBasic (4.28s) === CONT TestAccAppliancePortalSetup --- PASS: TestAccApplianceCustomizationBasic (8.65s) === CONT TestAccSamlIdentityProviderUserScripts55OrGreater --- PASS: TestAccAdminMfaSettingsBasic (3.83s) --- PASS: TestAccEntitlementBasicPing (9.09s) --- PASS: TestAccGlobalSettings54ProfileHostname (5.06s) --- PASS: TestAccMfaProviderBasic (4.15s) --- PASS: TestAccIPPoolBasic (4.09s) --- PASS: TestAccApplianceConnector (9.89s) --- PASS: TestAccRadiusIdentityProviderBasic55OrGreater (9.94s) --- PASS: TestAccIPPoolV6 (3.90s) --- PASS: TestAccEntitlementUpdateActionHostOrder (16.12s) --- PASS: TestAccLdapIdentityProviderBasic55OrGreater (9.59s) --- PASS: TestAccLdapCertificateIdentityProvidervBasic55OrGreater (10.74s) --- PASS: TestAccEntitlementUpdateActionOrder (16.29s) --- PASS: TestAccEntitlementBasicWithMonitor (16.27s) --- PASS: TestAccPolicyClientSettings55 (7.19s) --- PASS: TestAccApplianceLogForwarderElastic55 (5.45s) --- PASS: TestAccPolicyDnsSettings55 (9.42s) --- PASS: TestAccSamlIdentityProviderUserScripts55OrGreater (5.24s) --- PASS: TestAccEntitlementUpdateActionPortsSetOrder (9.21s) --- PASS: TestAccApplianceAdminInterfaceAddRemove (8.62s) --- PASS: TestAccAppliancePortalSetup (16.49s) PASS ok github.com/appgate/terraform-provider-appgatesdp/appgate 153.541s ```