Skip to content

added update test to project freeze #2352

added update test to project freeze

added update test to project freeze #2352

GitHub Actions / Go Tests failed Nov 25, 2024 in 0s

200 passed, 1 failed and 12 skipped

Tests failed

❌ junit-test-summary.xml

213 tests were completed in 394s with 200 passed, 1 failed and 12 skipped.

Test suite Passed Failed Skipped Time
github.com/OctopusDeploy/terraform-provider-octopusdeploy 0ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/internal 0ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/internal/environments 0ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/internal/errors 0ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/internal/projects 0ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/internal/test 0ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy 91✅ 10⚪ 394s
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework 94✅ 1❌ 2⚪ 153s
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework/schemas 15✅ 6ms
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework/util 0ms

✅ github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy

✅ TestKubernetesAgentWorkerResource
✅ TestAccDataSourceAccounts
✅ TestAccAWSAccountBasic
✅ TestAccGcpAccountBasic
✅ TestAccKubernetesClusterDeploymentTargetGcp
✅ TestTerraformApplyStepWithWorkerPool
✅ TestMachinePolicyResource
✅ TestAccOctopusDeployStaticWorkerPoolBasic
✅ TestK8sTargetWithCertResource
✅ TestPollingTargetResource
✅ TestAccProjectGroup
✅ TestSshTargetResource
✅ TestAccUserRoleBasic
✅ TestAccDataSourceProjects
✅ TestAccOctopusDeployAzureSubscriptionAccountBasic
✅ TestAccOctopusDeployDeploymentProcessBasic
✅ TestAccKubernetesClusterDeploymentTargetAws
✅ TestTokenAccountBasic
✅ TestAccOctopusDeployCertificateBasic
✅ TestAccCloudRegionDeploymentTargetImportBasic
✅ TestAccDataSourceChannels
✅ TestAccDataSourceWorkerPools
✅ TestAwsAccountExport
✅ TestCertificateResource
✅ TestAccOctopusDeployChannelBasicWithUpdate
✅ TestAccCloudRegionDeploymentTargetBasic
✅ TestK8sPodAuthTargetResource
✅ TestAccDataSourceSpaces
✅ TestAzureSubscriptionAccountResource
✅ TestProjectTriggerResource
✅ TestAccTeamBasic
✅ TestAccOctopusDeployWindowsServiceFeature
✅ TestAccOctopusDeployRunKubectlScriptAction
✅ TestAccDataSourceSpaces
✅ TestCloudRegionTargetResource
✅ TestAccOctopusDeployDeploymentProcessWithImpliedPrimaryPackage
✅ TestPackageFeedCreateReleaseTriggerResources
✅ TestGcpAccountResource
✅ TestKubernetesDeploymentTargetResource
✅ TestAccUserRolePermissions
⚪ TestAccAWSOIDCAccountBasic
⚪ TestAccOctopusDeployAzureOpenIDConnectAccountBasic
⚪ TestAccOctopusDeployChannelWithOneRule
⚪ TestAccOctopusDeployChannelWithOneRuleWithUpdate
⚪ TestAccOctopusDeployChannelWithTwoRules
⚪ TestAccOctopusDeployDeploymentProcessWithActionTemplate
⚪ TestAccOctopusDeployDynamicWorkerPoolBasic
⚪ TestAccListeningTentacleDeploymentTarget
⚪ TestAccScopedUserRole
⚪ TestAccTeamUserRole
✅ TestProvider_impl
✅ TestAzureCloudServiceTargetResource
✅ TestAccOctopusDeployAzureWebAppDeploymentTargetBasic
✅ TestAzureWebAppTargetResource
✅ TestDeploymentProcessWithGitDependency
✅ TestSpaceResource
✅ TestAccOctopusDeployApplyTerraformAction
✅ TestExpandRunScriptAction
✅ 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
✅ TestAzureServiceFabricTargetResource
✅ TestSSHKeyBasic
✅ TestTokenAccountResource
✅ TestAccOctopusDeployAzureServicePrincipalAccountBasic
✅ TestProjectChannelResource
✅ TestAccKubernetesClusterDeploymentTargetBasic
✅ TestK8sTargetResource
✅ TestOfflineDropTargetResource
✅ TestAccSpaceImportBasic
✅ TestProjectScheduledTriggerResources
✅ TestWorkerPoolResource
✅ TestAccOctopusDeployDeployWindowsServiceAction
✅ TestAccRunScriptAction
✅ TestProvider
✅ TestAzureAccountResource
✅ TestAccOctopusDeployChannelBasic
✅ TestListeningTargetResource
✅ TestAccSpaceBasic
✅ TestSshAccountResource
✅ TestKubernetesDeploymentTargetData
✅ TestPollingSubscriptionIdResource
✅ TestAccOctopusDeployDeployKubernetesSecretAction
✅ TestAccOctopusDeployManualInterventionAction

❌ github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework

✅ TestAccDataSourceFeeds
✅ TestAccDataSourceTenants
✅ TestAccOctopusDeployLibraryVariableSetWithUpdate
✅ TestAccMachineProxyBasic
✅ TestAccOctopusDeployMavenFeed
✅ TestVariableResource
✅ TestDockerFeedResource
✅ TestAccLifecycleWithUpdate
✅ TestProjectTerraformPackageScriptExport
✅ TestAccOctopusDeployScriptModuleBasic
✅ TestTenantProjectResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccUserImportBasic
✅ TestAccUserBasic
✅ TestUsernamePasswordVariableResource
✅ TestAccDataSourceLifecycles
✅ TestAccOctopusDeployLibraryVariableSetBasic
✅ TestProjectWithGitUsernameExport
✅ TestAccTenantCommonVariableBasic
✅ TestTenantsResource
✅ TestUsersAndTeams
✅ TestNugetFeed_UpgradeFromSDK_ToPluginFramework
✅ TestAccOctopusDeployAzureFeed
✅ TestLifecycleResource
✅ TestProjectGroupResource
✅ TestAccUsernamePasswordAccountImport
✅ TestVariableSetResource
✅ TestAccDataSourceWorkers
✅ TestAccOctopusDeployDockerContainerRegistry
✅ TestEnvironmentResource_UpgradeFromSDK_ToPluginFramework
✅ TestGitCredentialBasic
✅ TestAccOctopusDeployGoogleFeed
✅ TestAccOctopusDeployLibraryVariableSetComplex
✅ TestMavenFeedResource
✅ TestAccOctopusDeployNuGetFeedBasic
✅ TestProjectInSpaceResource
✅ TestAccDataSourceScriptModules
✅ TestHelmFeedResource
✅ TestProjectWithDollarSignsExport
✅ TestProjectWithScriptActions
✅ TestArtifactoryGenericFeedResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccDataSourceSpaces
✅ TestRunbookResource
✅ TestAccOctopusDeployServiceAccountOIDCIdentity
✅ TestAccTenantBasic
✅ TestUsernamePasswordAccountResource
✅ TestAccDataSourceSpaces
✅ TestMavenResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccOctopusDeployLibraryVariableSetWithVariable
✅ TestSpaceResource_UpgradeFromSDK_ToPluginFramework
⚪ TestRunbookResource_UpgradeFromSDK_ToPluginFramework
⚪ TestAccOctopusDeployVariableBasic
✅ TestAccDataSourceUsers
✅ TestAccPreCheck
✅ TestEcrFeedResource
✅ TestExpandLifecycleWithNil
✅ TestExpandLifecycle
✅ TestExpandPhasesWithEmptyInput
✅ TestExpandPhasesWithNullInput
✅ TestExpandPhasesWithUnknownInput
✅ TestExpandAndFlattenPhasesWithSensibleDefaults
✅ TestExpandAndFlattenMultiplePhasesWithSensibleDefaults
✅ TestAccOctopusDeployS3Feed
✅ TestTagSetResource
✅ TestExpandTagSet
✅ TestTenantResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccDataSourceTagSets
✅ TestAccOctopusDeployEnvironmentBasic
✅ TestAccLifecycleBasic
✅ TestAccOctopusDeployListeningTentacleWorker
✅ TestAccOctopusDeployOCIRegistryFeed
✅ TestProjectResource
✅ TestAccTag
✅ TestAccTenantProjectVariableBasic
✅ TestAccDataSourceProjectGroups
✅ TestAccLifecycleComplex
✅ TestAccOctopusDeploySSHConnectionWorker
✅ TestTagSetAndTag
✅ TestTentacleCertificateResource
✅ TestAccDataSourceEnvironments
✅ TestGitCredentialsResource
✅ TestGitHubRepositoryFeed
✅ TestGithubFeedResource
✅ TestAccProjectBasic
✅ TestScriptModuleResource
✅ TestTenantVariablesResource
✅ TestGitHubFeed_UpgradeFromSDK_ToPluginFramework
✅ TestAccOctopusDeployEnvironmentMinimum
✅ TestAccProjectWithUpdate
✅ TestProjectTerraformInlineScriptExport
✅ TestAccOctopusStepTemplateBasic
❌ TestNewDeploymentFreezeResource
	=== RUN   TestNewDeploymentFreezeResource
✅ TestHelmFeedResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccOctopusDeployArtifactoryGenericFeed
✅ TestEnvironmentResource
✅ TestAccOctopusDeployHelmFeed
✅ TestNugetFeedResource
✅ TestAccUsernamePasswordBasic

✅ github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework/schemas

✅ TestDatasourceSchemaDefinitionIsUsingCorrectTypes
✅ TestResourceSchemaDefinitionIsUsingCorrectTypes
✅ TestExpandPromptedDisplaySettingsWithNilInput
✅ TestExpandPromptedDisplaySettingsWithEmptyInput
✅ TestExpandPromptedDisplaySettingsWithCheckbox
✅ TestExpandPromptedDisplaySettingsWithSelect
✅ TestExpandPromptedVariableSettingsWithNilInput
✅ TestExpandPromptedVariableSettingsWithEmptyInput
✅ TestExpandSelectOptionsWithNilInput
✅ TestExpandSelectOptionsWithEmptyInput
✅ TestFlattenPromptedVariableDisplaySettingsWithNilInput
✅ TestFlattenPromptedVariableSettingsWithNilInput
✅ TestFlattenSelectOptionsWithNilInput
✅ TestExpandVariableScope
✅ TestFlattenVariableScope

Annotations

Check failure on line 0 in junit-test-summary.xml

See this annotation in the file changed.

@github-actions github-actions / Go Tests

github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestNewDeploymentFreezeResource

Failed test found in:
  junit-test-summary.xml
Error:
  === RUN   TestNewDeploymentFreezeResource
Raw output
=== RUN   TestNewDeploymentFreezeResource
    resource_deploymentfreeze_test.go:27: Step 1/1 error: Error running pre-apply plan: exit status 1
        
        Error: Missing attribute value
        
          on terraform_plugin_test.tf line 47, in resource "octopusdeploy_deployment_freeze" "axnncxourqegijkmjebf":
          44: 		project_environment_scope = {
          45: 			{
          46: 		"${resource.octopusdeploy_project.project_axnncxourqegijkmjebf.id}" = [ resource.octopusdeploy_environment.environment_0_axnncxourqegijkmjebf.id ]
          47: 	}
          48: 		}
        
        Expected an attribute value, introduced by an equals sign ("=").
    panic.go:629: Error retrieving state, there may be dangling resources: exit status 1
        
        Error: Missing attribute value
        
          on terraform_plugin_test.tf line 47, in resource "octopusdeploy_deployment_freeze" "axnncxourqegijkmjebf":
          44: 		project_environment_scope = {
          45: 			{
          46: 		"${resource.octopusdeploy_project.project_axnncxourqegijkmjebf.id}" = [ resource.octopusdeploy_environment.environment_0_axnncxourqegijkmjebf.id ]
          47: 	}
          48: 		}
        
        Expected an attribute value, introduced by an equals sign ("=").
--- FAIL: TestNewDeploymentFreezeResource (0.14s)