Baffled: Concurrency issue in docker build? "Internal errors encountered: error writing logs: Failed to replay logs: Cannot write logs: failed to create directory /app/packages/logger/.turbo"
#10539
-
SummaryWe have a baffling problem that has started cropping up in our docker builds, and so far only on one developer's machine. Our turborepo project is a monorepo, with several packages and several services. Our package.json have dependecies correctly indicated. It appears that while the packages are being built, in parallel, sometimes (on one machine) it fails with (that's one of our packages) This never happens if we do Our Dockerfile is almost exactly the example one given in the turborepo documentation. Suggestions? Additional informationMore complete log:
#19 0.703 > turbo build
#19 0.703
#19 1.160 turbo 2.5.4
#19 1.160
#19 1.322 • Packages in scope: @repo/cache-schemas, @repo/error-handler, @repo/eslint-config, @repo/jest-config, @repo/logger, @repo/pubsub-helpers, @repo/types, @repo/typescript-config, our-spiffy-service
#19 1.322 • Running build in 9 packages
#19 1.322 • Remote caching disabled
#19 1.459 @repo/cache-schemas:build: cache miss, executing f05e31b90f043992
#19 1.459 @repo/logger:build: cache miss, executing e03b0979f02d1c95
#19 1.459 @repo/pubsub-helpers:build: cache miss, executing 1ebbb5309345e8a2
#19 1.479 WARNING error creating log file directory: Custom { kind: Interrupted, error: Error { kind: CreateDir, source: Os { code: 4, kind: Interrupted, message: "Interrupted system call" }, path: "/app/packages/logger/.turbo" } }
#19 1.524 x Internal errors encountered: error writing logs: Failed to replay logs:
#19 1.524 | Cannot write logs: failed to create directory `/app/packages/
#19 1.524 | logger/.turbo`
#19 1.524ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi, can you open an issue with a reproduction? Thank you! |
Beta Was this translation helpful? Give feedback.
Hi, can you open an issue with a reproduction? Thank you!