#308/entitlement list

This PR resolves #308
DiffSuppressFunc is no longer needed on any supported versions of appgatesdp for policy

acceptanc tests for 5.5.8-30107-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   TestLoginNotAcceptable
2023/05/09 08:07:58 [DEBUG] Using HTTP PROXY FromEnvironment
--- PASS: TestLoginNotAcceptable (0.01s)
=== RUN   TestClient
=== RUN   TestClient/test_5.4_login
2023/05/09 08:07:58 [DEBUG] Login OK
=== RUN   TestClient/invalid_client_version
=== RUN   TestClient/500_login_response
2023/05/09 08:07:58 [DEBUG] Login failed, controller not responding, got HTTP 500
2023/05/09 08:07:58 [DEBUG] Login failed, controller not responding, got HTTP 500
=== RUN   TestClient/502_login_response
2023/05/09 08:07:58 [DEBUG] Login failed, controller not responding, got HTTP 502
2023/05/09 08:07:59 [DEBUG] Login failed, controller not responding, got HTTP 502
=== RUN   TestClient/503_login_response
2023/05/09 08:07:59 [DEBUG] Login failed, controller not responding, got HTTP 503
2023/05/09 08:07:59 [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/05/09 08:07:59 [DEBUG] Login OK
--- PASS: TestClient (1.71s)
    --- PASS: TestClient/test_5.4_login (0.00s)
    --- PASS: TestClient/invalid_client_version (0.00s)
    --- PASS: TestClient/500_login_response (0.70s)
    --- PASS: TestClient/502_login_response (0.60s)
    --- PASS: TestClient/503_login_response (0.41s)
    --- 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_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_username_password (0.00s)
=== RUN   TestAccAppgateAdministrativeRoleDataSource
=== PAUSE TestAccAppgateAdministrativeRoleDataSource
=== RUN   TestAccAppgateApplianceCustomizationDataSource
=== PAUSE TestAccAppgateApplianceCustomizationDataSource
=== RUN   TestAccAppgateApplianceSeedDataSource
--- PASS: TestAccAppgateApplianceSeedDataSource (7.98s)
=== RUN   TestAccAppgateCADataSource
--- PASS: TestAccAppgateCADataSource (0.94s)
=== RUN   TestAccAppgateClientProfile
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- SKIP: TestAccAppgateClientProfile (0.23s)
=== RUN   TestAccAppgateConditionDataSource
--- PASS: TestAccAppgateConditionDataSource (1.47s)
=== RUN   TestAccAppgateEntitlementDataSource
--- PASS: TestAccAppgateEntitlementDataSource (8.48s)
=== RUN   TestAccAppgateGlobalSettingsDataSource
--- PASS: TestAccAppgateGlobalSettingsDataSource (1.47s)
=== RUN   TestAccAppgateIdentityProviderDataSource
--- PASS: TestAccAppgateIdentityProviderDataSource (1.43s)
=== RUN   TestAccAppgateIPPoolDataSource
--- PASS: TestAccAppgateIPPoolDataSource (1.59s)
=== RUN   TestAccAppgateLocalUserDataSource
--- PASS: TestAccAppgateLocalUserDataSource (1.68s)
=== 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.16s)
=== 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:2446: Test only for 6.0 and above, appliance.portal without peer_interface is only supported in 5.4 and above.
--- SKIP: TestAccAppliancePortalSetup6 (0.05s)
=== RUN   TestAccApplianceAdminInterfaceAddRemove
=== PAUSE TestAccApplianceAdminInterfaceAddRemove
=== RUN   TestAccApplianceLogServerFunction
--- PASS: TestAccApplianceLogServerFunction (4.75s)
=== RUN   TestAccApplianceLogForwarderElastic55
=== PAUSE TestAccApplianceLogForwarderElastic55
=== RUN   TestAccApplianceLogForwarderSplunkSumo61
=== PAUSE TestAccApplianceLogForwarderSplunkSumo61
=== RUN   TestAccApplianceLogForwarderTcpClients
=== PAUSE TestAccApplianceLogForwarderTcpClients
=== RUN   TestAccApplianceBasicGateway6
=== PAUSE TestAccApplianceBasicGateway6
=== RUN   TestAccBlacklistUserBasic
=== PAUSE TestAccBlacklistUserBasic
=== RUN   TestAccClientConnectionsBasic
--- PASS: TestAccClientConnectionsBasic (1.58s)
=== RUN   TestAccClientProfileBasic
--- PASS: TestAccClientProfileBasic (21.35s)
=== RUN   TestAccClientProfileBasic61
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- SKIP: TestAccClientProfileBasic61 (0.05s)
=== 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.56s)
=== RUN   TestAccGlobalSettings54ProfileHostname
=== PAUSE TestAccGlobalSettings54ProfileHostname
=== RUN   TestAccGlobalSettings6AndAbove
    resource_appgate_appliance_test.go:31: Test is only for >= 6.0
--- SKIP: TestAccGlobalSettings6AndAbove (0.05s)
=== RUN   TestAccConnectorIdentityProviderBasic
--- PASS: TestAccConnectorIdentityProviderBasic (2.57s)
=== RUN   TestAccLdapCertificateIdentityProvidervBasic
=== PAUSE TestAccLdapCertificateIdentityProvidervBasic
=== RUN   TestAccLdapCertificateIdentityProvidervBasic55OrGreater
=== PAUSE TestAccLdapCertificateIdentityProvidervBasic55OrGreater
=== RUN   TestAccLdapIdentityProviderBasic
=== PAUSE TestAccLdapIdentityProviderBasic
=== RUN   TestAccLdapIdentityProviderBasic55OrGreater
=== PAUSE TestAccLdapIdentityProviderBasic55OrGreater
=== RUN   TestAccLocalDatabaseIdentityProviderBasic
--- PASS: TestAccLocalDatabaseIdentityProviderBasic (2.32s)
=== 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 (4.72s)
=== RUN   TestAccPolicyClientSettings55
=== PAUSE TestAccPolicyClientSettings55
=== RUN   TestAccPolicyDnsSettings55
=== PAUSE TestAccPolicyDnsSettings55
=== RUN   TestAccPolicyClientProfileSettings61
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- SKIP: TestAccPolicyClientProfileSettings61 (0.05s)
=== RUN   TestAccRingfenceRuleBasicICMP
=== PAUSE TestAccRingfenceRuleBasicICMP
=== RUN   TestAccRingfenceRuleBasicTCP
=== PAUSE TestAccRingfenceRuleBasicTCP
=== RUN   TestAccSiteBasic
--- PASS: TestAccSiteBasic (9.39s)
=== RUN   TestAccSiteBasicAwsResolverWithoutSecret
--- PASS: TestAccSiteBasicAwsResolverWithoutSecret (1.52s)
=== RUN   TestAccSiteBasicAwsResolverresolveWithMasterCredentials
--- PASS: TestAccSiteBasicAwsResolverresolveWithMasterCredentials (4.57s)
=== RUN   TestAccSite55Attributes
--- PASS: TestAccSite55Attributes (2.87s)
=== RUN   TestAccSiteVPNRouteVia
--- PASS: TestAccSiteVPNRouteVia (4.35s)
=== RUN   TestAccSiteVPNRouteViaIpv4Only
--- PASS: TestAccSiteVPNRouteViaIpv4Only (4.33s)
=== RUN   TestAccSiteNameResolver6
    resource_appgate_appliance_test.go:31: Test is only for >= 6.0
--- SKIP: TestAccSiteNameResolver6 (0.05s)
=== RUN   TestAccSiteNameResolverIllumio61
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- SKIP: TestAccSiteNameResolverIllumio61 (0.06s)
=== RUN   TestAccTrustedCertificateBasic
=== PAUSE TestAccTrustedCertificateBasic
=== RUN   TestAccUserClaimScriptBasic
=== PAUSE TestAccUserClaimScriptBasic
=== CONT  TestAccAppgateAdministrativeRoleDataSource
=== CONT  TestAccRingfenceRuleBasicTCP
=== CONT  TestAccAppliancePortalSetup
=== CONT  TestAccadministrativeMultiplePrivilegesValidation52
=== CONT  TestAccApplianceBasicGateway
=== CONT  TestAccAppgateUserClaimScriptataSource
=== CONT  TestAccadministrativeRoleWithScope
=== CONT  TestAccRingfenceRuleBasicICMP
=== CONT  TestAccEntitlementBasicWithMonitor
=== CONT  TestAccApplianceConnector
=== CONT  TestAccadministrativeRoleBasic
=== CONT  TestAccApplianceBasicControllerOverriderSPADisabled
=== CONT  TestAccadministrativeMultiplePrivilegesValidation
=== CONT  TestAccPolicyDnsSettings55
=== CONT  TestAccApplianceCustomizationBasic
=== CONT  TestAccApplianceBasicControllerWithoutOverrideSPA
=== CONT  TestAccEntitlementBasicPing
=== CONT  TestAccEntitlementUpdateActionOrder
=== CONT  TestAccUserClaimScriptBasic
=== CONT  TestAccTrustedCertificateBasic
=== NAME  TestAccadministrativeMultiplePrivilegesValidation52
    resource_appgate_administrative_role_test.go:409: Test is only for 5.2, privileges.target OnBoardedDevice
--- SKIP: TestAccadministrativeMultiplePrivilegesValidation52 (0.18s)
=== CONT  TestAccAppgateMfaProviderDataSource
=== NAME  TestAccadministrativeRoleBasic
    resource_appgate_appliance_test.go:31: Test is only for >= 6.0
--- PASS: TestAccRingfenceRuleBasicICMP (3.07s)
=== CONT  TestAccAppgateTrustedCertificateDataSource
--- PASS: TestAccAppgateUserClaimScriptataSource (3.12s)
=== CONT  TestAccBlacklistUserBasic
--- PASS: TestAccRingfenceRuleBasicTCP (3.17s)
=== CONT  TestAccEntitlementScriptBasic
--- PASS: TestAccTrustedCertificateBasic (3.19s)
=== CONT  TestAccDeviceScriptBasic
--- PASS: TestAccAppgateMfaProviderDataSource (3.09s)
=== CONT  TestAccCriteriaScriptBasic
--- PASS: TestAccAppgateAdministrativeRoleDataSource (3.27s)
=== CONT  TestAccConditionFixedID
--- PASS: TestAccadministrativeMultiplePrivilegesValidation (3.32s)
=== CONT  TestAccConditionBasic
--- SKIP: TestAccadministrativeRoleBasic (3.37s)
=== CONT  TestAccadministrativeRoleWtihAssignFunction
    resource_appgate_appliance_test.go:31: Test is only for >= 6.0
--- SKIP: TestAccadministrativeRoleWtihAssignFunction (0.38s)
=== 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.44s)
=== CONT  TestAccPolicyClientSettings55
--- PASS: TestAccadministrativeRoleWithScope (4.53s)
=== CONT  TestAccAdminMfaSettingsBasic
--- PASS: TestAccApplianceCustomizationBasic (4.83s)
=== CONT  TestAccMfaProviderBasic
--- PASS: TestAccUserClaimScriptBasic (5.01s)
=== CONT  TestAccLocalUserBasic
--- PASS: TestAccApplianceBasicGateway (5.19s)
=== CONT  TestAccIPPoolBasic61
--- PASS: TestAccApplianceBasicControllerWithoutOverrideSPA (5.20s)
=== CONT  TestAccIPPoolV6
--- PASS: TestAccApplianceConnector (5.36s)
=== CONT  TestAccIPPoolBasic
--- PASS: TestAccBlacklistUserBasic (2.27s)
=== CONT  TestAccSamlIdentityProvider61
--- PASS: TestAccEntitlementBasicPing (5.40s)
=== CONT  TestAccSamlIdentityProviderUserScripts55OrGreater
=== NAME  TestAccIPPoolBasic61
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- PASS: TestAccApplianceBasicControllerOverriderSPADisabled (5.48s)
=== CONT  TestAccSamlIdentityProviderBasic55OrGreater
--- SKIP: TestAccIPPoolBasic61 (0.29s)
=== CONT  TestAccLdapCertificateIdentityProvidervBasic
=== NAME  TestAccSamlIdentityProvider61
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- SKIP: TestAccSamlIdentityProvider61 (0.27s)
=== CONT  TestAccRadiusIdentityProviderBasic55OrGreater
=== 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: TestAccLdapCertificateIdentityProvidervBasic (0.30s)
=== CONT  TestAccRadiusIdentityProviderBasic
--- PASS: TestAccAppgateTrustedCertificateDataSource (2.99s)
=== CONT  TestAccLdapIdentityProviderBasic55OrGreater
=== 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.40s)
=== CONT  TestAccLdapIdentityProviderBasic
--- PASS: TestAccConditionFixedID (3.02s)
=== CONT  TestAccLdapCertificateIdentityProvidervBasic55OrGreater
--- PASS: TestAccConditionBasic (3.05s)
=== CONT  TestAccAppgateApplianceCustomizationDataSource
--- PASS: TestAccEntitlementScriptBasic (3.21s)
=== CONT  TestAccEntitlementRiskSensitivity
=== 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.45s)
=== CONT  TestAccGlobalSettings54ProfileHostname
=== NAME  TestAccEntitlementRiskSensitivity
    resource_appgate_appliance_test.go:31: Test is only for >= 6.0
--- PASS: TestAccCriteriaScriptBasic (3.40s)
=== CONT  TestAccEntitlementActionHTTPMethods
--- PASS: TestAccDeviceScriptBasic (3.49s)
=== CONT  TestAccEntitlementUpdateActionPortsSetOrder
--- SKIP: TestAccEntitlementRiskSensitivity (0.31s)
=== CONT  TestAccEntitlementUpdateActionHostOrder
=== NAME  TestAccEntitlementActionHTTPMethods
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- SKIP: TestAccEntitlementActionHTTPMethods (0.47s)
=== CONT  TestAccApplianceLogForwarderSplunkSumo61
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- PASS: TestAccAdminMfaSettingsBasic (2.79s)
=== CONT  TestAccApplianceBasicGateway6
--- SKIP: TestAccApplianceLogForwarderSplunkSumo61 (0.19s)
=== CONT  TestAccApplianceLogForwarderTcpClients
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
=== NAME  TestAccApplianceBasicGateway6
    resource_appgate_appliance_test.go:31: Test is only for >= 6.0
--- SKIP: TestAccApplianceLogForwarderTcpClients (0.29s)
=== CONT  TestAccApplianceAdminInterfaceAddRemove
--- SKIP: TestAccApplianceBasicGateway6 (0.30s)
=== CONT  TestAccApplianceLogForwarderElastic55
--- PASS: TestAccMfaProviderBasic (2.91s)
--- PASS: TestAccPolicyDnsSettings55 (7.93s)
--- PASS: TestAccIPPoolV6 (3.57s)
--- PASS: TestAccIPPoolBasic (3.40s)
--- PASS: TestAccAppgateApplianceCustomizationDataSource (2.93s)
--- PASS: TestAccGlobalSettings54ProfileHostname (2.73s)
--- PASS: TestAccEntitlementUpdateActionOrder (9.80s)
--- PASS: TestAccLocalUserBasic (4.92s)
--- PASS: TestAccPolicyClientSettings55 (5.89s)
--- PASS: TestAccEntitlementBasicWithMonitor (10.14s)
--- PASS: TestAccSamlIdentityProviderBasic55OrGreater (5.22s)
--- PASS: TestAccRadiusIdentityProviderBasic55OrGreater (5.50s)
--- PASS: TestAccLdapIdentityProviderBasic55OrGreater (5.13s)
--- PASS: TestAccLdapCertificateIdentityProvidervBasic55OrGreater (4.90s)
--- PASS: TestAccSamlIdentityProviderUserScripts55OrGreater (6.04s)
--- PASS: TestAccApplianceLogForwarderElastic55 (4.17s)
--- PASS: TestAccEntitlementUpdateActionPortsSetOrder (6.76s)
--- PASS: TestAccApplianceAdminInterfaceAddRemove (6.12s)
--- PASS: TestAccEntitlementUpdateActionHostOrder (7.09s)
--- PASS: TestAccAppliancePortalSetup (34.62s)
PASS
ok      github.com/appgate/terraform-provider-appgatesdp/appgate        134.992s

acceptanc tests for 6.0.5-33109-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   TestLoginNotAcceptable
2023/05/09 07:58:31 [DEBUG] Using HTTP PROXY FromEnvironment
--- PASS: TestLoginNotAcceptable (0.01s)
=== RUN   TestClient
=== RUN   TestClient/test_5.4_login
2023/05/09 07:58:31 [DEBUG] Login OK
=== RUN   TestClient/invalid_client_version
=== RUN   TestClient/500_login_response
2023/05/09 07:58:31 [DEBUG] Login failed, controller not responding, got HTTP 500
2023/05/09 07:58:32 [DEBUG] Login failed, controller not responding, got HTTP 500
=== RUN   TestClient/502_login_response
2023/05/09 07:58:32 [DEBUG] Login failed, controller not responding, got HTTP 502
2023/05/09 07:58:32 [DEBUG] Login failed, controller not responding, got HTTP 502
2023/05/09 07:58:33 [DEBUG] Login failed, controller not responding, got HTTP 502
=== RUN   TestClient/503_login_response
2023/05/09 07:58:33 [DEBUG] Login failed, controller not responding, got HTTP 503
2023/05/09 07:58:33 [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/05/09 07:58:33 [DEBUG] Login OK
--- PASS: TestClient (1.86s)
    --- PASS: TestClient/test_5.4_login (0.00s)
    --- PASS: TestClient/invalid_client_version (0.00s)
    --- PASS: TestClient/500_login_response (0.48s)
    --- PASS: TestClient/502_login_response (0.82s)
    --- PASS: TestClient/503_login_response (0.55s)
    --- 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_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_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.55s)
=== RUN   TestAccAppgateCADataSource
--- PASS: TestAccAppgateCADataSource (1.09s)
=== RUN   TestAccAppgateClientProfile
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- SKIP: TestAccAppgateClientProfile (0.23s)
=== RUN   TestAccAppgateConditionDataSource
--- PASS: TestAccAppgateConditionDataSource (1.48s)
=== RUN   TestAccAppgateEntitlementDataSource
--- PASS: TestAccAppgateEntitlementDataSource (14.27s)
=== RUN   TestAccAppgateGlobalSettingsDataSource
--- PASS: TestAccAppgateGlobalSettingsDataSource (1.41s)
=== RUN   TestAccAppgateIdentityProviderDataSource
--- PASS: TestAccAppgateIdentityProviderDataSource (1.39s)
=== RUN   TestAccAppgateIPPoolDataSource
--- PASS: TestAccAppgateIPPoolDataSource (1.67s)
=== RUN   TestAccAppgateLocalUserDataSource
--- PASS: TestAccAppgateLocalUserDataSource (1.65s)
=== 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.05s)
=== RUN   TestAccApplianceConnector
=== PAUSE TestAccApplianceConnector
=== RUN   TestAccApplianceBasicGateway
=== PAUSE TestAccApplianceBasicGateway
=== RUN   TestAccApplianceBasicControllerWithoutOverrideSPA
=== PAUSE TestAccApplianceBasicControllerWithoutOverrideSPA
=== RUN   TestAccApplianceBasicControllerOverriderSPADisabled
=== PAUSE TestAccApplianceBasicControllerOverriderSPADisabled
=== RUN   TestAccAppliancePortalSetup
=== PAUSE TestAccAppliancePortalSetup
=== RUN   TestAccAppliancePortalSetup6
--- PASS: TestAccAppliancePortalSetup6 (17.94s)
=== RUN   TestAccApplianceAdminInterfaceAddRemove
=== PAUSE TestAccApplianceAdminInterfaceAddRemove
=== RUN   TestAccApplianceLogServerFunction
    resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0
--- SKIP: TestAccApplianceLogServerFunction (0.05s)
=== RUN   TestAccApplianceLogForwarderElastic55
=== PAUSE TestAccApplianceLogForwarderElastic55
=== RUN   TestAccApplianceLogForwarderSplunkSumo61
=== PAUSE TestAccApplianceLogForwarderSplunkSumo61
=== RUN   TestAccApplianceLogForwarderTcpClients
=== PAUSE TestAccApplianceLogForwarderTcpClients
=== RUN   TestAccApplianceBasicGateway6
=== PAUSE TestAccApplianceBasicGateway6
=== RUN   TestAccBlacklistUserBasic
=== PAUSE TestAccBlacklistUserBasic
=== RUN   TestAccClientConnectionsBasic
--- PASS: TestAccClientConnectionsBasic (1.46s)
=== RUN   TestAccClientProfileBasic
--- PASS: TestAccClientProfileBasic (31.28s)
=== RUN   TestAccClientProfileBasic61
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- SKIP: TestAccClientProfileBasic61 (0.05s)
=== 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.67s)
=== RUN   TestAccGlobalSettings54ProfileHostname
=== PAUSE TestAccGlobalSettings54ProfileHostname
=== RUN   TestAccGlobalSettings6AndAbove
--- PASS: TestAccGlobalSettings6AndAbove (3.15s)
=== RUN   TestAccConnectorIdentityProviderBasic
--- PASS: TestAccConnectorIdentityProviderBasic (2.66s)
=== RUN   TestAccLdapCertificateIdentityProvidervBasic
=== PAUSE TestAccLdapCertificateIdentityProvidervBasic
=== RUN   TestAccLdapCertificateIdentityProvidervBasic55OrGreater
=== PAUSE TestAccLdapCertificateIdentityProvidervBasic55OrGreater
=== RUN   TestAccLdapIdentityProviderBasic
=== PAUSE TestAccLdapIdentityProviderBasic
=== RUN   TestAccLdapIdentityProviderBasic55OrGreater
=== PAUSE TestAccLdapIdentityProviderBasic55OrGreater
=== RUN   TestAccLocalDatabaseIdentityProviderBasic
--- PASS: TestAccLocalDatabaseIdentityProviderBasic (2.44s)
=== 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 (4.48s)
=== RUN   TestAccPolicyClientSettings55
=== PAUSE TestAccPolicyClientSettings55
=== RUN   TestAccPolicyDnsSettings55
=== PAUSE TestAccPolicyDnsSettings55
=== RUN   TestAccPolicyClientProfileSettings61
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- SKIP: TestAccPolicyClientProfileSettings61 (0.05s)
=== RUN   TestAccRingfenceRuleBasicICMP
=== PAUSE TestAccRingfenceRuleBasicICMP
=== RUN   TestAccRingfenceRuleBasicTCP
=== PAUSE TestAccRingfenceRuleBasicTCP
=== RUN   TestAccSiteBasic
--- PASS: TestAccSiteBasic (8.91s)
=== RUN   TestAccSiteBasicAwsResolverWithoutSecret
--- PASS: TestAccSiteBasicAwsResolverWithoutSecret (1.48s)
=== RUN   TestAccSiteBasicAwsResolverresolveWithMasterCredentials
--- PASS: TestAccSiteBasicAwsResolverresolveWithMasterCredentials (4.30s)
=== RUN   TestAccSite55Attributes
--- PASS: TestAccSite55Attributes (2.92s)
=== RUN   TestAccSiteVPNRouteVia
--- PASS: TestAccSiteVPNRouteVia (4.21s)
=== RUN   TestAccSiteVPNRouteViaIpv4Only
--- PASS: TestAccSiteVPNRouteViaIpv4Only (4.21s)
=== RUN   TestAccSiteNameResolver6
--- PASS: TestAccSiteNameResolver6 (2.84s)
=== RUN   TestAccSiteNameResolverIllumio61
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- SKIP: TestAccSiteNameResolverIllumio61 (0.05s)
=== RUN   TestAccTrustedCertificateBasic
=== PAUSE TestAccTrustedCertificateBasic
=== RUN   TestAccUserClaimScriptBasic
=== PAUSE TestAccUserClaimScriptBasic
=== CONT  TestAccAppgateAdministrativeRoleDataSource
=== CONT  TestAccEntitlementUpdateActionOrder
=== CONT  TestAccAppliancePortalSetup
=== CONT  TestAccSamlIdentityProviderUserScripts55OrGreater
=== CONT  TestAccAdminMfaSettingsBasic
=== CONT  TestAccRingfenceRuleBasicTCP
=== CONT  TestAccConditionBasic
=== CONT  TestAccEntitlementScriptBasic
=== CONT  TestAccApplianceBasicControllerOverriderSPADisabled
=== CONT  TestAccSamlIdentityProviderBasic55OrGreater
=== CONT  TestAccMfaProviderBasic
=== CONT  TestAccUserClaimScriptBasic
=== CONT  TestAccBlacklistUserBasic
=== CONT  TestAccDeviceScriptBasic
=== CONT  TestAccPolicyDnsSettings55
=== CONT  TestAccPolicyClientSettings55
=== CONT  TestAccSamlIdentityProviderBasic
=== CONT  TestAccEntitlementBasicWithMonitor
=== CONT  TestAccApplianceBasicControllerWithoutOverrideSPA
=== CONT  TestAccRingfenceRuleBasicICMP
=== NAME  TestAccAppliancePortalSetup
    resource_appgate_appliance_test.go:2241: Test only for 5.5 and above, appliance.portal is only supported in 5.4 and above.
=== NAME  TestAccPolicyClientSettings55
    resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0
=== 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  TestAccApplianceBasicControllerOverriderSPADisabled
    resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0
=== NAME  TestAccApplianceBasicControllerWithoutOverrideSPA
    resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0
--- SKIP: TestAccPolicyClientSettings55 (0.14s)
=== CONT  TestAccTrustedCertificateBasic
--- SKIP: TestAccAppliancePortalSetup (0.14s)
=== CONT  TestAccLdapCertificateIdentityProvidervBasic
--- SKIP: TestAccSamlIdentityProviderBasic (0.16s)
--- SKIP: TestAccApplianceBasicControllerWithoutOverrideSPA (0.16s)
=== CONT  TestAccRadiusIdentityProviderBasic55OrGreater
=== CONT  TestAccRadiusIdentityProviderBasic
--- SKIP: TestAccApplianceBasicControllerOverriderSPADisabled (0.17s)
=== CONT  TestAccLdapIdentityProviderBasic55OrGreater
=== 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  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.30s)
=== CONT  TestAccLdapIdentityProviderBasic
--- SKIP: TestAccLdapCertificateIdentityProvidervBasic (0.33s)
=== CONT  TestAccLdapCertificateIdentityProvidervBasic55OrGreater
=== 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.33s)
=== CONT  TestAccEntitlementRiskSensitivity
--- PASS: TestAccBlacklistUserBasic (2.20s)
=== CONT  TestAccGlobalSettings54ProfileHostname
--- PASS: TestAccAdminMfaSettingsBasic (2.58s)
=== CONT  TestAccEntitlementActionHTTPMethods
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- SKIP: TestAccEntitlementActionHTTPMethods (0.41s)
=== CONT  TestAccConditionFixedID
--- PASS: TestAccConditionBasic (3.09s)
=== CONT  TestAccCriteriaScriptBasic
--- PASS: TestAccEntitlementScriptBasic (3.10s)
=== CONT  TestAccIPPoolBasic
--- PASS: TestAccDeviceScriptBasic (3.11s)
=== CONT  TestAccLocalUserBasic
--- PASS: TestAccMfaProviderBasic (3.29s)
=== CONT  TestAccIPPoolBasic61
--- PASS: TestAccRingfenceRuleBasicTCP (3.33s)
=== CONT  TestAccIPPoolV6
=== NAME  TestAccIPPoolBasic61
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- PASS: TestAccAppgateAdministrativeRoleDataSource (3.63s)
=== CONT  TestAccSamlIdentityProvider61
--- PASS: TestAccRingfenceRuleBasicICMP (3.63s)
=== CONT  TestAccadministrativeRoleWithScope
--- PASS: TestAccTrustedCertificateBasic (3.50s)
=== CONT  TestAccApplianceBasicGateway
--- SKIP: TestAccIPPoolBasic61 (0.34s)
=== CONT  TestAccApplianceConnector
=== NAME  TestAccSamlIdentityProvider61
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
=== NAME  TestAccApplianceBasicGateway
    resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0
=== NAME  TestAccApplianceConnector
    resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0
--- SKIP: TestAccApplianceConnector (0.27s)
=== CONT  TestAccApplianceCustomizationBasic
--- SKIP: TestAccSamlIdentityProvider61 (0.29s)
=== CONT  TestAccadministrativeRoleWtihAssignFunction
--- SKIP: TestAccApplianceBasicGateway (0.28s)
=== CONT  TestAccadministrativeMultiplePrivilegesValidation52
    resource_appgate_administrative_role_test.go:409: Test is only for 5.2, privileges.target OnBoardedDevice
--- SKIP: TestAccadministrativeMultiplePrivilegesValidation52 (0.39s)
=== CONT  TestAccadministrativeMultiplePrivilegesValidation
--- PASS: TestAccGlobalSettings54ProfileHostname (3.26s)
=== CONT  TestAccAppgateMfaProviderDataSource
--- PASS: TestAccSamlIdentityProviderBasic55OrGreater (5.71s)
=== CONT  TestAccadministrativeRoleBasic
--- PASS: TestAccConditionFixedID (2.75s)
=== CONT  TestAccAppgateUserClaimScriptataSource
--- PASS: TestAccUserClaimScriptBasic (5.76s)
=== CONT  TestAccAppgateTrustedCertificateDataSource
--- PASS: TestAccIPPoolBasic (2.75s)
=== CONT  TestAccEntitlementUpdateActionPortsSetOrder
--- PASS: TestAccRadiusIdentityProviderBasic55OrGreater (5.73s)
=== CONT  TestAccEntitlementBasicPing
--- PASS: TestAccLdapIdentityProviderBasic55OrGreater (5.92s)
=== CONT  TestAccEntitlementUpdateActionHostOrder
--- PASS: TestAccIPPoolV6 (2.77s)
=== CONT  TestAccApplianceLogForwarderElastic55
--- PASS: TestAccCriteriaScriptBasic (3.10s)
=== CONT  TestAccApplianceBasicGateway6
=== NAME  TestAccApplianceLogForwarderElastic55
    resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0
--- SKIP: TestAccApplianceLogForwarderElastic55 (0.30s)
=== CONT  TestAccApplianceLogForwarderSplunkSumo61
--- PASS: TestAccLdapCertificateIdentityProvidervBasic55OrGreater (5.94s)
=== CONT  TestAccApplianceLogForwarderTcpClients
--- PASS: TestAccSamlIdentityProviderUserScripts55OrGreater (6.41s)
=== CONT  TestAccAppgateApplianceCustomizationDataSource
=== NAME  TestAccApplianceLogForwarderTcpClients
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
=== NAME  TestAccApplianceLogForwarderSplunkSumo61
    resource_appgate_appliance_test.go:31: Test is only for >= 6.1
--- SKIP: TestAccApplianceLogForwarderSplunkSumo61 (0.49s)
--- SKIP: TestAccApplianceLogForwarderTcpClients (0.49s)
=== CONT  TestAccApplianceAdminInterfaceAddRemove
    resource_appgate_appliance_test.go:31: Test is only for >= 5.5, < 6.0
--- SKIP: TestAccApplianceAdminInterfaceAddRemove (0.57s)
--- PASS: TestAccadministrativeMultiplePrivilegesValidation (3.53s)
--- PASS: TestAccPolicyDnsSettings55 (8.18s)
--- PASS: TestAccLocalUserBasic (5.39s)
--- PASS: TestAccAppgateMfaProviderDataSource (3.21s)
--- PASS: TestAccApplianceCustomizationBasic (4.85s)
--- PASS: TestAccadministrativeRoleWithScope (5.24s)
--- PASS: TestAccAppgateUserClaimScriptataSource (3.29s)
--- PASS: TestAccAppgateTrustedCertificateDataSource (3.29s)
--- PASS: TestAccAppgateApplianceCustomizationDataSource (2.86s)
--- PASS: TestAccadministrativeRoleWtihAssignFunction (5.57s)
--- PASS: TestAccEntitlementUpdateActionOrder (9.67s)
--- PASS: TestAccEntitlementBasicWithMonitor (9.89s)
--- PASS: TestAccEntitlementRiskSensitivity (9.30s)
--- PASS: TestAccEntitlementBasicPing (4.55s)
--- PASS: TestAccadministrativeRoleBasic (5.48s)
--- PASS: TestAccEntitlementUpdateActionPortsSetOrder (6.74s)
--- PASS: TestAccApplianceBasicGateway6 (6.76s)
--- PASS: TestAccEntitlementUpdateActionHostOrder (6.89s)
PASS
ok      github.com/appgate/terraform-provider-appgatesdp/appgate        132.804s


Communication guide

This pulls the communication guide lines out of #7

Thanks for pulling this out. I have no idea if it can be merged or needs to get approved on a call first.

Merged by executive decision


Integrating Kornia batch augmentation pipeline.

Hi mmdet maintainers,
Thanks for the repo. We are the project lead of Kornia, and thinking of the possibilities of integrating Kornia augmentation pipeline into mmdet.
From the feature-level, we can provide:

GPU/CPU/TPU-based batch data augmentation.
More augmentation options, like PatchSequential.
Pytorch-native deployable image processing using torch.jit / onnx.
Differentiability, which has already been adopted in applications like in GANs.

Motivation:
mmdet data pipeline happened outside the PyTorch computation graph and computed on CPUs in a image-by-image manner, which might increase the deployment difficulties and time legacy whilst processing large batches. With Kornia, it is much easier to include test time image processing pipelines into the model whilst export and deployment. Also, the image preprocessing could enjoy the GPU accerlations provided by PyTorch.
Our proposal:

As demonstrated above, our whole pipeline happens differently than common CPU-based augmentations. Thus, we probably need to introduce a batch_pipeline module for such operations. Commonly:

kornia_aug = ...
for image, label in dataloaders:
    image = kornia_aug(image)
    logits = model(image)

The user interface shall be like:
model = dict(
    preprocessing=dict(
        dict(type="RandomHorizontalFlip", p=0.5),
        dict(type="ColorJitter", hue=0.1, saturation=0.3),
    ),
    backbone=dict(
        depth=101,
        init_cfg=dict(
            type='Pretrained',
            checkpoint='open-mmlab://detectron2/resnet101_caffe')))

we might include the test-time data processing into the exported model as well.

Hi! I'm a newcomer to mmdetection. Just want to say that this sounds like a really useful feature.
I haven't seen many articles on benchmarks of cpu vs gpu augmentation, but this article seems to indicate that some standard gpu augmentations tend to outperform cpu augmentations for larger image inputs: https://arxiv.org/pdf/2011.09832v1.pdf
This other article tested more augmentations without kornia, finding a similar result, though some augs performed better on the cpu: https://www.loka.com/blog/gpu-image-benchmarking
If there are more comprehensive benchmarks from Kornia comparing gpu-based augs to cpu augs, that might help drive discussion about the value of supporting kornia in mmdet? Are the maintainers of mmdet interested in a PR supporting Kornia?

Hi @rbavery, Thanks for sharing.
Those numbers in that preprint is outdated and Kornia DDA shall be faster now. I will probably start benchmarking/testing on the following in the following weeks:

augmentation speed.
ability to convert to JIT.
ability to convert to ONNX.

Please check this PR for the augmentation speed accelerated brought by Kornia.
https://github.com/kornia/kornia/pull/1459#issue-781653916

This would be particularly useful for augmentations like CachedMosaic, which is used in the RTMDet training pipeline


updated lodash from 4.17.11 to 4.17.21

Hi! 👋
This PR updates the version of lodash to fix https://github.com/advisories/GHSA-p6mc-m468-83gw.
The tests seem to pass, let me know if you need anything else!

@FatemehOstad Any reason why this PR not committed yet?


Introduce NNI with distributed Adaptive API

This PR adds an example to Texar-Pytorch about how to run NNI experiments with distributed Adaptive API with the help of AdaptDL.
examples/bert/bert_classifier_adaptive_nni.py is th the nni version of examples/bert/bert_classifier_adaptive.py.  config_bert_classifier.yml is the configuration file to run the experiment.

For the internal test, please add this to requirement.txt when building the docker images.
--extra-index-url http://pypi.int.petuum.com:8080/simple
--trusted-host pypi.int.petuum.com
nni==1.8.24+petuum

We can wait and merge this only when all dependencies are open-sourced.
The docker build command here requires a petuum registry, any way for a non-petuum user to reproduce this?

In the updated ReadMe file, we further provide guidance about how to build and push a docker image to their own private registry and a link about how to create Secrete and use Secrete to pull image from the private registry in K8S. With this guide, the user is able to reproduce all the steps about the docker images.

We can wait and merge this only when all dependencies are open-sourced.
The docker build command here requires a petuum registry, any way for a non-petuum user to reproduce this?

In the updated ReadMe file, we further provide guidance about how to build and push a docker image to their own private registry and a link about how to create Secrete and use Secrete to pull image from the private registry in K8S. With this guide, the user is able to reproduce all the steps about the docker images.