Maciej Demkiewicz
04/22/2024, 7:37 PM{"level":"error","ts":"2024-04-22T14:48:52.225Z","caller":"events/instrumented_project_command_runner.go:78","msg":"Error running plan operation: running \"/usr/local/bin/terraform plan -input=false -refresh -out \\\"/home/atlantis/.atlantis/repos/md-terraform/aws-infrastructure/158/default/envs/deploy/apps/deploy_apps-default.tfplan\\\"\" in \"/home/atlantis/.atlantis/repos/md-terraform/aws-infrastructure/158/default/envs/deploy/apps\": signal: killed\nAcquiring state lock. This may take a few moments...\n","json":{"repo":"md-terraform/aws-infrastructure","pull":"158"},"stacktrace":"github.com/runatlantis/atlantis/server/events.RunAndEmitStats\n\tgithub.com/runatlantis/atlantis/server/events/instrumented_project_command_runner.go:78\ngithub.com/runatlantis/atlantis/server/events.(*InstrumentedProjectCommandRunner).Plan\n\tgithub.com/runatlantis/atlantis/server/events/instrumented_project_command_runner.go:38\ngithub.com/runatlantis/atlantis/server/events.runProjectCmds\n\tgithub.com/runatlantis/atlantis/server/events/project_command_pool_executor.go:48\ngithub.com/runatlantis/atlantis/server/events.(*PlanCommandRunner).run\n\tgithub.com/runatlantis/atlantis/server/events/plan_command_runner.go:262\ngithub.com/runatlantis/atlantis/server/events.(*PlanCommandRunner).Run\n\tgithub.com/runatlantis/atlantis/server/events/plan_command_runner.go:306\ngithub.com/runatlantis/atlantis/server/events.(*DefaultCommandRunner).RunCommentCommand\n\tgithub.com/runatlantis/atlantis/server/events/command_runner.go:365"}
---
signal: killed","json":{"repo":"md-terraform/aws-infrastructure","pull":"158","duration":160.985073771},"stacktrace":"github.com/runatlantis/atlantis/server/core/runtime/models.(*ShellCommandRunner).RunCommandAsync.func1\n\tgithub.com/runatlantis/atlantis/server/core/runtime/models/shell_command_runner.go:158"}
locale plan executes correctly. The plan takes more than 2minutes. I was able to determine that this is not a problem of lack of resources, simply atlantis server sends a kill signal to the terraform plan running in the background. I am using the latest atlantis v0.27.2 image.PePe Amengual
04/22/2024, 7:46 PMPePe Amengual
04/22/2024, 7:46 PMPePe Amengual
04/22/2024, 7:47 PMMaciej Demkiewicz
04/22/2024, 7:49 PMPePe Amengual
04/22/2024, 7:50 PMMaciej Demkiewicz
04/22/2024, 7:50 PMPePe Amengual
04/22/2024, 7:50 PMMaciej Demkiewicz
04/22/2024, 7:52 PMPePe Amengual
04/22/2024, 7:52 PMPePe Amengual
04/22/2024, 7:52 PMMaciej Demkiewicz
04/22/2024, 7:53 PMPePe Amengual
04/22/2024, 7:57 PMMaciej Demkiewicz
04/22/2024, 7:57 PMPePe Amengual
04/22/2024, 7:57 PMPePe Amengual
04/22/2024, 7:58 PMPePe Amengual
04/22/2024, 7:58 PMMaciej Demkiewicz
04/22/2024, 7:58 PMMaciej Demkiewicz
04/22/2024, 7:59 PMMaciej Demkiewicz
04/22/2024, 8:02 PMVinicius Oliveira
04/22/2024, 9:15 PM