We have a deployment that uses the Run an AWS CLI Script step, but lately that step has been failing quite often with the following error -
No package has been staged
We are using guided failure mode, and retrying the failed step does not work (the same error is displayed). The only way around it is to cancel the deployment and start again.
It’s almost like something is deleting a package from the worker (Hosted Ubuntu). The steps all run in a docker container, so I can’t be sure if the missing package is the docker image or the NuGet package containing files to work on.
The logs don’t seem to tell much of a story, but there may be something of more use in another spot, so I’m happy to share the full logs via PM if that would help.
Is this a known issue, or perhaps is something mis-configured?
| == Running: Step 10: Terraform - Ingress == | | == Running: Worker on behalf of eks-test == 15:34:55 Verbose | Octopus Server version: 2021.2.7428+Branch.release-2021.2.Sha.d771d6437f879f789be3f86d8c7d4ffa53eb3867 15:34:55 Verbose | Environment Information: | IsRunningInContainer: True | OperatingSystem: Linux 5.4.0-1047-azure #49~18.04.1-Ubuntu SMP Thu Apr 22 21:28:54 UTC 2021 | OsBitVersion: x64 | Is64BitProcess: True | CurrentUser: root | MachineName: octopus-i009472-59d687874-v4md6 | ProcessorCount: 3 | CurrentDirectory: /Octopus | TempDirectory: /tmp/ | HostProcessName: Octopus.Server | PID: 1 15:34:55 Info | Leasing UbuntuDefault dynamic worker... 15:34:57 Info | Obtained worker lease successfully. 15:34:57 Verbose | Leased worker 21-09-06-1041-fotjo from pool Hosted Ubuntu (lease Leases-36155670). 15:34:57 Verbose | Executing Terraform - Ingress (type Run an AWS CLI Script) on DynamicWorker 21-09-06-1041-fotjo 15:34:57 Warning | Using the AWS tools bundled with Octopus is not recommended. Learn more about AWS Tools at [https://g.octopushq.com/AWSTools](https://g.octopushq.com/AWSTools). 15:34:57 Error | No package has been staged 15:38:08 Info | Guidance received: Retry 15:38:08 Info | Retry attempt #1 of 10 15:38:08 Warning | Using the AWS tools bundled with Octopus is not recommended. Learn more about AWS Tools at [https://g.octopushq.com/AWSTools](https://g.octopushq.com/AWSTools). 15:38:08 Error | No package has been staged