fixes #113
185 passed, 3 failed and 11 skipped
❌ junit-test-summary.xml
199 tests were completed in 599s with 185 passed, 3 failed and 11 skipped.
✅ github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy
✅ TestAzureServiceFabricTargetResource
✅ TestWorkerPoolResource
✅ TestAccOctopusDeployWindowsServiceFeature
⚪ TestAccAWSOIDCAccountBasic
⚪ TestAccOctopusDeployAzureOpenIDConnectAccountBasic
⚪ TestAccOctopusDeployChannelWithOneRule
⚪ TestAccOctopusDeployChannelWithOneRuleWithUpdate
⚪ TestAccOctopusDeployChannelWithTwoRules
⚪ TestAccOctopusDeployDeploymentProcessWithActionTemplate
⚪ TestAccOctopusDeployDynamicWorkerPoolBasic
⚪ TestAccListeningTentacleDeploymentTarget
⚪ TestAccScopedUserRole
⚪ TestAccTeamUserRole
✅ TestProvider
✅ TestProvider_impl
✅ TestAzureCloudServiceTargetResource
✅ TestGcpAccountResource
✅ TestTokenAccountBasic
✅ TestExpandRunScriptAction
✅ TestAccRunScriptAction
✅ TestExpandDeploymentActionContainer
✅ TestExpandDeploymentActionPackage
✅ TestFlattenDeploymentActionPackage
✅ TestExpandDeploymentActionSlugPackages_NilExpandsToNil
✅ TestExpandDeploymentActionSlugPackages_EmptyExpandsToEmpty
✅ TestExpandDeploymentActionSlugPackages_ArrayExpandsCorrectly
✅ TestExpandDeploymentActionSlugPrimaryPackages_NilExpandsToNil
✅ TestExpandDeploymentActionSlugPrimaryPackages_EmptyExpandsToEmpty
✅ TestExpandDeploymentActionSlugPrimaryPackages_ArrayExpandsCorrectly
✅ TestFlattenDeploymentActionSlugPackages_NilFlattensToNil
✅ TestFlattenDeploymentActionSlugPackages_EmptyFlattensToNil
✅ TestFlattenDeploymentActionSlugPackages_IgnoresPrimaryPackages_NoPackagesAfterFlattening
✅ TestFlattenDeploymentActionSlugPackages_IgnoresPrimaryPackages_ArrayFlattensCorrectly
✅ TestFlattenDeploymentActionSlugPrimaryPackages_NilFlattensToNil
✅ TestFlattenDeploymentActionSlugPrimaryPackages_EmptyFlattensToNil
✅ TestFlattenDeploymentActionSlugPrimaryPackages_IgnoresPackages_NoPrimaryPackagesAfterFlattening
✅ TestFlattenDeploymentActionSlugPrimaryPackages_IgnoresPackages_ArrayFlattensCorrectly
✅ TestExpandDeploymentAction
✅ TestFlattenDeploymentAction
✅ TestGetSliceFromTerraformTypeList
✅ TestAccDataSourceProjects
✅ TestAzureSubscriptionAccountResource
✅ TestAccOctopusDeployCertificateBasic
✅ TestK8sTargetWithCertResource
✅ TestUsersAndTeams
✅ TestAccOctopusDeployAzureServicePrincipalAccountBasic
✅ TestTerraformApplyStepWithWorkerPool
✅ TestPollingSubscriptionIdResource
✅ TestProjectTriggerResource
✅ TestAccOctopusDeployDeployKubernetesSecretAction
✅ TestAwsAccountExport
✅ TestAccOctopusDeployAzureSubscriptionAccountBasic
✅ TestAzureWebAppTargetResource
✅ TestProjectChannelResource
✅ TestCloudRegionTargetResource
✅ TestK8sTargetResource
✅ TestSshAccountResource
✅ TestAccUserRolePermissions
✅ TestAccDataSourceUsers
✅ TestAccOctopusDeployStaticWorkerPoolBasic
✅ TestAccOctopusDeployApplyTerraformAction
✅ TestPackageFeedCreateReleaseTriggerResources
✅ TestAccGcpAccountBasic
✅ TestAccKubernetesClusterDeploymentTargetAws
✅ TestKubernetesDeploymentTargetData
✅ TestKubernetesDeploymentTargetResource
✅ TestSSHKeyBasic
✅ TestAccTeamBasic
✅ TestAccDataSourceAccounts
✅ TestAccOctopusDeployChannelBasicWithUpdate
✅ TestAccCloudRegionDeploymentTargetImportBasic
✅ TestMachinePolicyResource
✅ TestAccSpaceImportBasic
✅ TestAccOctopusDeployManualInterventionAction
✅ TestAccOctopusDeployRunKubectlScriptAction
✅ TestAccDataSourceWorkerPools
✅ TestAccKubernetesClusterDeploymentTargetBasic
✅ TestAccKubernetesClusterDeploymentTargetGcp
✅ TestListeningTargetResource
✅ TestSpaceResource
✅ TestAccOctopusDeployDeployWindowsServiceAction
✅ TestAccDataSourceChannels
✅ TestAccDataSourceSpaces
✅ TestAccOctopusDeployDeploymentProcessWithImpliedPrimaryPackage
✅ TestK8sPodAuthTargetResource
✅ TestAccCloudRegionDeploymentTargetBasic
✅ TestDeploymentProcessWithGitDependency
✅ TestPollingTargetResource
✅ TestAccAWSAccountBasic
✅ TestAccOctopusDeployAzureWebAppDeploymentTargetBasic
✅ TestAccProjectGroup
✅ TestAccSpaceBasic
✅ TestTokenAccountResource
✅ TestAccUserImportBasic
✅ TestAccOctopusDeployChannelBasic
✅ TestAccOctopusDeployDeploymentProcessBasic
✅ TestOfflineDropTargetResource
✅ TestSshTargetResource
✅ TestAccUserRoleBasic
✅ TestAccDataSourceSpaces
✅ TestAzureAccountResource
✅ TestCertificateResource
✅ TestProjectScheduledTriggerResources
✅ TestAccUserBasic
❌ github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework
✅ TestAccDataSourceLifecycles
✅ TestGitCredentialBasic
✅ TestNugetFeedResource
✅ TestTentacleCertificateResource
✅ TestVariableResource
⚪ TestRunbookResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccDataSourceFeeds
✅ TestAccDataSourceTenants
✅ TestAccPreCheck
✅ TestAccOctopusDeployHelmFeed
✅ TestAccOctopusDeployLibraryVariableSetBasic
✅ TestExpandLifecycleWithNil
✅ TestExpandLifecycle
✅ TestExpandPhasesWithEmptyInput
✅ TestExpandPhasesWithNullInput
✅ TestExpandPhasesWithUnknownInput
✅ TestExpandAndFlattenPhasesWithSensibleDefaults
✅ TestExpandAndFlattenMultiplePhasesWithSensibleDefaults
✅ TestProjectWithGitUsernameExport
✅ TestExpandTagSet
✅ TestTenantProjectResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccOctopusDeployVariableBasic
✅ TestGitHubFeed_UpgradeFromSDK_ToPluginFramework
✅ TestAccOctopusDeployArtifactoryGenericFeed
✅ TestAccProjectBasic
✅ TestScriptModuleResource
✅ TestMavenResource_UpgradeFromSDK_ToPluginFramework
✅ TestGitHubRepositoryFeed
✅ TestHelmFeedResource
✅ TestMavenFeedResource
✅ TestAccDataSourceProjectGroups
✅ TestGithubFeedResource
✅ TestAccOctopusDeployMavenFeed
✅ TestTagSetAndTag
✅ TestTagSetResource
❌ TestNugetFeed_UpgradeFromSDK_ToPluginFramework
=== RUN TestNugetFeed_UpgradeFromSDK_ToPluginFramework
❌ TestSpaceResource_UpgradeFromSDK_ToPluginFramework
=== RUN TestSpaceResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccOctopusDeployLibraryVariableSetWithUpdate
✅ TestProjectInSpaceResource
✅ TestAccOctopusDeployScriptModuleBasic
✅ TestTenantsResource
✅ TestAccDataSourceTagSets
✅ TestAccLifecycleBasic
✅ TestLifecycleResource
✅ TestAccTenantCommonVariableBasic
✅ TestAccTenantBasic
✅ TestUsernamePasswordVariableResource
✅ TestEnvironmentResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccUsernamePasswordBasic
✅ TestProjectTerraformInlineScriptExport
✅ TestProjectTerraformPackageScriptExport
✅ TestHelmFeedResource_UpgradeFromSDK_ToPluginFramework
✅ TestEnvironmentResource
✅ TestAccTag
✅ TestAccDataSourceEnvironments
✅ TestAccDataSourceSpaces
✅ TestAccOctopusDeployEnvironmentMinimum
✅ TestAccOctopusDeployLibraryVariableSetComplex
✅ TestProjectGroupResource
✅ TestTenantVariablesResource
✅ TestAccOctopusDeployVariablePrompted
✅ TestArtifactoryGenericFeedResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccLifecycleComplex
✅ TestAccOctopusDeployNuGetFeedBasic
✅ TestRunbookResource
✅ TestTenantResource_UpgradeFromSDK_ToPluginFramework
✅ TestUsernamePasswordAccountResource
✅ TestEcrFeedResource
✅ TestAccOctopusDeployDockerContainerRegistry
✅ TestAccProjectWithUpdate
✅ TestProjectWithScriptActions
✅ TestAccDataSourceScriptModules
✅ TestDockerFeedResource
✅ TestProjectWithDollarSignsExport
✅ TestAccTenantProjectVariableBasic
✅ TestVariableSetResource
✅ TestAccDataSourceSpaces
✅ TestAccOctopusDeployEnvironmentBasic
✅ TestGitCredentialsResource
✅ TestAccLifecycleWithUpdate
✅ TestProjectResource
✅ TestAccUsernamePasswordAccountImport
❌ github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework/schemas
❌ TestFlattenPromptedVariableDisplaySettingsWithNilInput
=== RUN TestFlattenPromptedVariableDisplaySettingsWithNilInput
✅ TestExpandPromptedDisplaySettingsWithNilInput
✅ TestExpandPromptedDisplaySettingsWithEmptyInput
✅ TestExpandPromptedDisplaySettingsWithCheckbox
✅ TestExpandPromptedDisplaySettingsWithSelect
✅ TestExpandPromptedVariableSettingsWithNilInput
✅ TestExpandPromptedVariableSettingsWithEmptyInput
✅ TestExpandSelectOptionsWithNilInput
✅ TestExpandSelectOptionsWithEmptyInput
✅ TestFlattenPromptedVariableSettingsWithNilInput
✅ TestFlattenSelectOptionsWithNilInput
✅ TestExpandVariableScope
✅ TestFlattenVariableScope
Annotations
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestNugetFeed_UpgradeFromSDK_ToPluginFramework
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestNugetFeed_UpgradeFromSDK_ToPluginFramework
Raw output
=== RUN TestNugetFeed_UpgradeFromSDK_ToPluginFramework
nuget_feed_resource_migration_test.go:18: TestStep 1/3 running init: exit status 1
Error: Failed to install provider
Error while installing octopusdeploylabs/octopusdeploy v0.21.1: could not
query provider registry for
registry.terraform.io/octopusdeploylabs/octopusdeploy: failed to retrieve
authentication checksums for provider: the request failed after 2 attempts,
please try again later: Get
"https://github.com/OctopusDeployLabs/terraform-provider-octopusdeploy/releases/download/v0.21.1/terraform-provider-octopusdeploy_0.21.1_SHA256SUMS":
net/http: request canceled while waiting for connection (Client.Timeout
exceeded while awaiting headers)
--- FAIL: TestNugetFeed_UpgradeFromSDK_ToPluginFramework (21.28s)
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestSpaceResource_UpgradeFromSDK_ToPluginFramework
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestSpaceResource_UpgradeFromSDK_ToPluginFramework
Raw output
=== RUN TestSpaceResource_UpgradeFromSDK_ToPluginFramework
space_resource_migration_test.go:18: TestStep 1/3 running init: exit status 1
Error: Failed to install provider
Error while installing octopusdeploylabs/octopusdeploy v0.21.1: could not
query provider registry for
registry.terraform.io/octopusdeploylabs/octopusdeploy: failed to retrieve
authentication checksums for provider: the request failed after 2 attempts,
please try again later: Get
"https://github.com/OctopusDeployLabs/terraform-provider-octopusdeploy/releases/download/v0.21.1/terraform-provider-octopusdeploy_0.21.1_SHA256SUMS":
net/http: request canceled while waiting for connection (Client.Timeout
exceeded while awaiting headers)
--- FAIL: TestSpaceResource_UpgradeFromSDK_ToPluginFramework (21.15s)
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework/schemas ► TestFlattenPromptedVariableDisplaySettingsWithNilInput
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestFlattenPromptedVariableDisplaySettingsWithNilInput
Raw output
=== RUN TestFlattenPromptedVariableDisplaySettingsWithNilInput
variable_prompt_options_test.go:130:
Error Trace: /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy/octopusdeploy_framework/schemas/variable_prompt_options_test.go:130
Error: Should be empty, but was <null>
Test: TestFlattenPromptedVariableDisplaySettingsWithNilInput
--- FAIL: TestFlattenPromptedVariableDisplaySettingsWithNilInput (0.00s)