-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
kind/bugThis issue represents a verified problem we are committed to solvingThis issue represents a verified problem we are committed to solving
Description
Severity
Sev2
Version
Present 2026.1.11242, still in latest
Latest Version
I could reproduce the problem in the latest build
What happened?
When you have a step package step (in this case Deploy a Bicep Template step) executing on multiple workers on behalf of cloud targets. All workers will use the same path to find the package. This causes failures as package acquisition has a different path for each worker.
Reproduction
- Create 2 cloud region targets with 2 worker pools each with their own worker
- Use a Deploy a Bicep Template step with a package fetched from GitHub
- Run the deployment and see that 1 worker will attempt to find the package using the path of the other worker
Error and Stacktrace
Package acquisition:
Worker 1:
Upload package https://github.com/grace-rehn/octopus-test-package, Commit: d7071c5d8bdf5ef3007dd01061b3e37e636c35bc, with 0 glob paths/files
Package https_github.com_grace-rehn_octopus-test-package version 0.0.0.0.d7071c5d8bdf5ef-da39a3e found in cache. No need to upload this 434 B package. Using /etc/octopus/Files/https_github.com_grace-rehn_octopus-test-package@O0.0.0.0.d7071c5d8bdf5ef-da39a3e@2065b5a.zip
Worker 2:
Upload package https://github.com/grace-rehn/octopus-test-package, Commit: d7071c5d8bdf5ef3007dd01061b3e37e636c35bc, with 0 glob paths/files
Package https_github.com_grace-rehn_octopus-test-package version 0.0.0.0.d7071c5d8bdf5ef-da39a3e found in cache. No need to upload this 434 B package. Using /etc/octopus/Files/https_github.com_grace-rehn_octopus-test-package@O0.0.0.0.d7071c5d8bdf5ef-da39a3e@19e222e.zip
Execution on Worker 2 using Worker 1's file path:
Could not find file '/etc/octopus/Files/https_github.com_grace-rehn_octopus-test-package@O0.0.0.0.d7071c5d8bdf5ef-da39a3e@2065b5a.zip'.
System.IO.FileNotFoundException
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)More Information
Customer report: https://octopuscd.zendesk.com/agent/tickets/195396
Workaround
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugThis issue represents a verified problem we are committed to solvingThis issue represents a verified problem we are committed to solving