Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bun crashes with dyld[20937]: missing symbol called while using testcontainers library #7810

Closed
AmauryD opened this issue Dec 24, 2023 · 12 comments
Labels
bug Something isn't working crash An issue that could cause a crash needs investigate Needs to be investigated to find the root cause

Comments

@AmauryD
Copy link

AmauryD commented Dec 24, 2023

What version of Bun is running?

1.0.19+906f86d6f

What platform is your computer?

Darwin 23.1.0 arm64 arm

What steps can reproduce the bug?

Just run this snippet with bun

import { GenericContainer } from "testcontainers";

await new GenericContainer("redis")
      .withExposedPorts(6379)
      .start();

What is the expected behavior?

Bun does not crashes

What do you see instead?

bun-debug index.ts
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/bunfig.toml) = -1
[SYS] openat(-2, index.ts) = 3
[fs] openat(8, /Users/amauryd/Projects/bun-test-containers-error/package.json) = 9
[fs] close(9)
[fs] openat(8, /Users/amauryd/Projects/bun-test-containers-error/tsconfig.json) = 9
[fs] close(9)
[fs] close(4)
[fs] close(5)
[fs] close(6)
[fs] close(7)
[fs] close(8)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/index.ts) = 5
[fs] close(5)
[fs] openat(7, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/package.json) = 8
[fs] close(8)
[fs] close(5)
[fs] close(7)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/) = 5
[fs] close(5)
[compile] transpile(/Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/index.js)
[Loop] ref
[fs] openat(0, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/index.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/generic-container/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/generic-container/generic-container.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver/index.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver/lib/core.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readdir-glob/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readdir-glob/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/minimatch/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/minimatch/minimatch.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/minimatch/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/minimatch/lib/path.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/brace-expansion/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/brace-expansion/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/balanced-match/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/balanced-match/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/async/package.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/async/dist/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/async/dist/async.js) = 5
[SYS] openat(-2, /Users/amauryd/.cache/bun/@t@/6d6fb3207658c4b0.debug.pile) = -1
[cache] get("/Users/amauryd/Projects/bun-test-containers-error/node_modules/async/dist/async.js") = ENOENT
[cache] filename to put into: '/Users/amauryd/.cache/bun/@t@/6d6fb3207658c4b0.debug.pile'
[SYS] openat(7, .b7e7ddf7e6fbefed-00000000..pile) = 8
[SYS] pwritev(8, 92905) = 92905
[fs] close(8)
[fs] close(7)
[cache] put() = 55899 bytes
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/index.js) = 5
[fs] close(5)
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/graceful-fs/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/graceful-fs/graceful-fs.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/graceful-fs/polyfills.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/graceful-fs/legacy-streams.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/graceful-fs/clone.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/package.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/lib/lazystream.js) = 5
[fs] close(5)
[fs] openat(7, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/package.json) = 8
[fs] close(8)
[fs] close(5)
[fs] close(7)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/passthrough.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/readable.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/lib/_stream_readable.js) = 5
[fs] close(5)
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/process-nextick-args/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/process-nextick-args/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/isarray/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/isarray/index.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/) = 5
[fs] close(5)
[fs] close(7)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/stream.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/safe-buffer/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/safe-buffer/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/core-util-is/package.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/core-util-is/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/core-util-is/lib/util.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/inherits/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/inherits/inherits.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/BufferList.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/destroy.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/lib/_stream_writable.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/util-deprecate/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/util-deprecate/node.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/lib/_stream_duplex.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/lib/_stream_transform.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lazystream/node_modules/readable-stream/lib/_stream_passthrough.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/normalize-path/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/normalize-path/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lodash.defaults/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lodash.defaults/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/node_modules/readable-stream/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/node_modules/readable-stream/readable.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/node_modules/readable-stream/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/node_modules/readable-stream/lib/_stream_readable.js) = 5
[fs] close(5)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/node_modules/readable-stream/lib/internal/streams/) = 5
[fs] close(5)
[fs] close(7)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/node_modules/readable-stream/lib/internal/streams/stream.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/node_modules/readable-stream/lib/internal/streams/BufferList.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/node_modules/readable-stream/lib/internal/streams/destroy.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/node_modules/readable-stream/lib/_stream_writable.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/node_modules/readable-stream/lib/_stream_duplex.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/node_modules/readable-stream/lib/_stream_transform.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/node_modules/readable-stream/lib/_stream_passthrough.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver-utils/file.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lodash.flatten/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lodash.flatten/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lodash.difference/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lodash.difference/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lodash.union/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lodash.union/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lodash.isplainobject/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/lodash.isplainobject/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/glob/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/glob/glob.js) = 5
[fs] close(5)
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/fs.realpath/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/fs.realpath/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/fs.realpath/old.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/glob/node_modules/minimatch/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/glob/node_modules/minimatch/minimatch.js) = 5
[fs] close(5)
[fs] openat(7, /Users/amauryd/Projects/bun-test-containers-error/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json) = 8
[fs] close(8)
[fs] close(5)
[fs] close(7)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/concat-map/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/concat-map/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/path-is-absolute/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/path-is-absolute/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/glob/sync.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/glob/common.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/inflight/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/inflight/inflight.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/wrappy/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/wrappy/wrappy.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/once/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/once/once.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver/lib/error.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/readable.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/_stream_readable.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/internal/streams/) = 5
[fs] close(5)
[fs] close(7)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/internal/streams/stream.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/internal/streams/buffer_list.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/internal/streams/destroy.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/internal/streams/state.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/errors.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/_stream_writable.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/_stream_duplex.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/_stream_transform.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/_stream_passthrough.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/internal/streams/end-of-stream.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/readable-stream/lib/internal/streams/pipeline.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver/lib/plugins/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver/lib/plugins/zip.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/zip-stream/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/zip-stream/index.js) = 5
[fs] close(5)
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/package.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/compress-commons.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/archivers/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/archivers/archive-entry.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/archivers/zip/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/archivers/zip/zip-archive-entry.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/archivers/zip/general-purpose-bit.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/archivers/zip/util.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/archivers/zip/unix-stat.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/archivers/zip/constants.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/archivers/archive-output-stream.js) = 5
[fs] close(5)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/util/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/compress-commons/lib/archivers/zip/zip-archive-output-stream.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/buffer-crc32/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/buffer-crc32/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/crc32-stream/package.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/crc32-stream/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/crc32-stream/lib/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/crc32-stream/lib/crc32-stream.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/crc-32/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/crc-32/crc32.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/crc32-stream/lib/deflate-crc32-stream.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/zip-stream/node_modules/archiver-utils/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/zip-stream/node_modules/archiver-utils/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/zip-stream/node_modules/archiver-utils/file.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver/lib/plugins/tar.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/tar-stream/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/tar-stream/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/tar-stream/extract.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/bl/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/bl/bl.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/bl/BufferList.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/tar-stream/headers.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/tar-stream/pack.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/fs-constants/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/fs-constants/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/end-of-stream/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/end-of-stream/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/archiver/lib/plugins/json.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/async-lock/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/async-lock/index.js) = 5
[fs] close(5)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/async-lock/lib/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/generic-container/generic-container-builder.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/utils/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/utils/pull-policy.js) = 5
[fs] close(5)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/common/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/common/logger.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/debug/package.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/debug/src/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/debug/src/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/debug/src/node.js) = 5
[fs] close(5)
[Resolver] Bust /Users/amauryd/Projects/bun-test-containers-error/node_modules/debug/src
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/debug/src/common.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ms/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ms/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/common/type-guards.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/common/hash.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/common/uuid.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/common/streams.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/common/file-lock.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/proper-lockfile/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/proper-lockfile/index.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/proper-lockfile/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/proper-lockfile/lib/lockfile.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/retry/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/retry/index.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/retry/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/retry/lib/retry.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/retry/lib/retry_operation.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/signal-exit/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/signal-exit/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/signal-exit/signals.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/proper-lockfile/lib/mtime-precision.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/proper-lockfile/lib/adapter.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/common/retry.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/common/clock.js) = 5
[fs] close(5)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/index.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/clients/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/clients/client.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/clients/compose/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/clients/compose/compose-client.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-compose/package.json) = 7
[fs] close(7)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-compose/tsconfig.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-compose/dist/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-compose/dist/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/index.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/composer.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/doc/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/doc/directives.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/nodes/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/nodes/identity.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/visit.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/doc/Document.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/nodes/Alias.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/doc/anchors.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/nodes/Node.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/doc/applyReviver.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/nodes/toJS.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/nodes/Collection.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/doc/createNode.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/nodes/Scalar.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/nodes/Pair.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/stringify/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/stringify/stringifyPair.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/stringify/stringify.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/stringify/stringifyComment.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/stringify/stringifyString.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/stringify/foldFlowLines.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/nodes/addPairToJSMap.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/log.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/Schema.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/common/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/common/map.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/nodes/YAMLMap.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/stringify/stringifyCollection.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/common/seq.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/nodes/YAMLSeq.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/common/string.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/tags.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/common/null.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/core/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/core/bool.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/core/float.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/stringify/stringifyNumber.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/core/int.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/core/schema.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/json/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/json/schema.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/yaml-1.1/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/yaml-1.1/binary.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/yaml-1.1/omap.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/yaml-1.1/pairs.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/yaml-1.1/schema.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/yaml-1.1/bool.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/yaml-1.1/float.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/yaml-1.1/int.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/yaml-1.1/set.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/stringify/stringifyDocument.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/errors.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/compose-doc.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/compose-node.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/compose-collection.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/resolve-block-map.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/resolve-props.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/util-contains-newline.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/util-flow-indent-check.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/util-map-includes.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/resolve-block-seq.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/resolve-flow-collection.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/resolve-end.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/compose-scalar.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/resolve-block-scalar.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/resolve-flow-scalar.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/compose/util-empty-scalar-position.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/parse/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/parse/cst.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/parse/cst-scalar.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/parse/cst-stringify.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/parse/cst-visit.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/parse/lexer.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/parse/line-counter.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/parse/parser.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/yaml/dist/public-api.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-compose/dist/map-ports.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-compose/dist/v2.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-compose/dist/v2-map-ports.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/clients/compose/default-compose-options.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/strategies/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/strategies/configuration-strategy.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/strategies/utils/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/strategies/utils/config.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/properties-reader/package.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/properties-reader/src/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/properties-reader/src/properties-reader-factory.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/properties-reader/src/properties-reader.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/properties-reader/src/property-appender.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/properties-reader/src/property-writer.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/strategies/testcontainers-host-strategy.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/strategies/unix-socket-strategy.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/strategies/rootless-unix-socket-strategy.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/testcontainers/build/container-runtime/strategies/npipe-socket-strategy.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/dockerode/package.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/dockerode/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/dockerode/lib/docker.js) = 5
[fs] close(5)
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-modem/package.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-modem/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-modem/lib/modem.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-modem/lib/http.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-modem/lib/utils.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/docker-modem/lib/ssh.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ssh2/package.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ssh2/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ssh2/lib/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ssh2/lib/agent.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ssh2/lib/protocol/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ssh2/lib/protocol/keyParser.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/asn1/package.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/asn1/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/asn1/lib/index.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/asn1/lib/ber/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/asn1/lib/ber/index.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/asn1/lib/ber/errors.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/asn1/lib/ber/types.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/asn1/lib/ber/reader.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/safer-buffer/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/safer-buffer/safer.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/asn1/lib/ber/writer.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/bcrypt-pbkdf/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/bcrypt-pbkdf/index.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/tweetnacl/package.json) = 7
[fs] close(7)
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/tweetnacl/nacl-fast.js) = 5
[SYS] openat(-2, /Users/amauryd/.cache/bun/@t@/ea19af07918d529c.debug.pile) = -1
[cache] get("/Users/amauryd/Projects/bun-test-containers-error/node_modules/tweetnacl/nacl-fast.js") = ENOENT
[cache] filename to put into: '/Users/amauryd/.cache/bun/@t@/ea19af07918d529c.debug.pile'
[SYS] openat(7, .9ff3cdf5e7ff9dfa-00000001..pile) = 8
[SYS] pwritev(8, 110862) = 110862
[fs] close(8)
[fs] close(7)
[cache] put() = 57607 bytes
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ssh2/lib/protocol/crypto.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ssh2/lib/protocol/utils.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ssh2/lib/protocol/crypto/build/Release/) = 5
[fs] close(5)
[fs] close(7)
[fs] close(8)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ssh2/lib/protocol/crypto/poly1305.js) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/ssh2/lib/protocol/constants.js) = 5
[fs] close(5)
[fs] openat(5, /Users/amauryd/Projects/bun-test-containers-error/node_modules/cpu-features/package.json) = 7
[fs] close(7)
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/cpu-features/lib/) = 5
[fs] close(5)
[fs] openat(2147483647, /Users/amauryd/Projects/bun-test-containers-error/node_modules/cpu-features/lib/index.js) = 5
[fs] close(5)
[SYS] openat(-2, /Users/amauryd/Projects/bun-test-containers-error/node_modules/cpu-features/build/Release/) = 5
[fs] close(5)
[fs] close(7)
dyld[72286]: missing symbol called
[1]    72286 killed     bun-debug index.ts

Additional information

The library used is : testcontainers-node
Here's a reproduction : https://github.com/AmauryD/bun-test-containers-error
I made a comment in #6311, but i don't know if it is related or not. So i made a separate issue just in case.

@AmauryD AmauryD added the bug Something isn't working label Dec 24, 2023
@AmauryD AmauryD changed the title Bun crashes with dyld[20937]: missing symbol called while using testcontainers library? Bun crashes with dyld[20937]: missing symbol called while using testcontainers library Dec 24, 2023
@AmauryD
Copy link
Author

AmauryD commented Dec 24, 2023

After investigation, it seems to come from the cpu-features package.
Probably related to #158.

@Electroid Electroid added crash An issue that could cause a crash needs investigate Needs to be investigated to find the root cause labels Dec 24, 2023
@gpsamson
Copy link

gpsamson commented Jan 4, 2024

@AmauryD Have you tried running npm install --no-optional? This seemed to have worked for me on a similar issue. cpu-features is an optional dep per https://github.com/testcontainers/testcontainers-node/blob/main/package-lock.json#L5421.

@christophsturm
Copy link

christophsturm commented Jan 9, 2024

just rm -rf node-module/cpu-features gets me a different error ("error: Could not find a working container runtime strategy")

@iantanwx
Copy link

iantanwx commented Mar 4, 2024

i also have the exact same issue.

@emilienbidet
Copy link

Do you think the only option is to implement the cpu-feature package for Bun?

@nwalters512
Copy link

I raised the cpu-features issue before here: #158 (comment)

This is frustrating because ssh2, the package that actually uses cpu-features here, is designed to gracefully handle the case where it can't load successfully:

https://github.com/mscdex/ssh2/blob/a56e70e68efd6a1c7e665c9a473eb68d25571a55/lib/protocol/constants.js#L6

However, this assumes that loading issues would occur in a way that's catchable, that is, a thrown JavaScript error. However, in bun's case, the error seems to coming from something deeper that they potentially don't control (handwaving a bit, probably the OS).

I previously asked if there was a way to have Bun turn this issue into a JavaScript error that could be caught: #158 (comment). I never got a reply to that; maybe it's just not possible.

@mrctrifork
Copy link

mrctrifork commented Jun 13, 2024

After toying around with it I've found that there is a way to not install "ssh2" dependency which ends up installing cpu-features as per this issue in testcontainers

The trick was to npm ci --no-optional. This way I managed to install it, and "run" the hello world test. Redis container was created but then something else failed. Here are the logs:

✗ Redis > works [93758875.00ms]

# Unhandled error between tests
-------------------------------
26 |       container.getHost(),
27 |     );
28 |   });
29 | 
30 |   afterEach(async () => {
31 |     await redisClient.quit();
               ^
TypeError: undefined is not an object (evaluating 'redisClient.quit')
      at /Users/miquel/NodeProjects/testing-containers/index.test.js:31:11
      at /Users/miquel/NodeProjects/testing-containers/index.test.js:30:13
-------------------------------


# Unhandled error between tests
-------------------------------
22 |         const stream = await client.container.logs(container, { since: startTime ? startTime.getTime() / 1000 : 0 });
23 |         return new Promise((resolve, reject) => {
24 |             const timeout = setTimeout(() => {
25 |                 const message = `Log message "${this.message}" not received after ${this.startupTimeout}ms`;
26 |                 common_1.log.error(message, { containerId: container.id });
27 |                 reject(new Error(message));
                            ^
error: Log message "/.+ Started!/" not received after 60000ms
      at /Users/miquel/NodeProjects/testing-containers/node_modules/testcontainers/build/wait-strategies/log-wait-strategy.js:27:24
-------------------------------

✗ Redis > works

 0 pass
 2 fail
 2 errors
Ran 2 tests across 1 files. [61.29s]

I assume this is due to npm ci --no-optional causing something in "createClient" from 'redis-async' to fail and return undefined

Here's the sample I ran with bun test

const assert = require('node:assert')

import { describe, beforeEach, afterEach, it } from 'bun:test'
// const { 
//   describe, 
//   it, 
//   expect, 
//   beforeEach,
//   afterEach,
// } = require('node:test')
// 
const redis = require("async-redis");
const { GenericContainer } = require("testcontainers");

describe("Redis", () => {
  let container;
  let redisClient;

  beforeEach(async () => {
    container = await new GenericContainer("redis")
      .withExposedPorts(6379)
      .start();

    redisClient = redis.createClient(
      container.getMappedPort(6379),
      container.getHost(),
    );
  });

  afterEach(async () => {
    await redisClient.quit();
    await container.stop();
  });

  it("works", async () => {
    await redisClient.set("key", "val");
    assert.strictEqual(
      await redisClient.get("key") ,
      "val"
    )
  });
});

@JacobReynolds
Copy link

JacobReynolds commented Jun 17, 2024

I experienced the same and was able to get it working with a couple modifications:

  1. Deleting node_modules/cpu-features like mentioned above
    1. A bit hacky, but I added this to my package.json script: "postinstall": "rm -rf ./node_modules/cpu-features"
    2. I also had to add "trustedDependencies": [] to my package.json to prevent cpu-feature's install scripts from running.
  2. I'm using MacOS, which they have a noted limitation for here https://node.testcontainers.org/supported-container-runtimes/. Disabling ryuk fixed the reaping error.
  3. For some reason most of the wait strategies never worked for me, including the default. I set up a separate test using only dockerode, which testcontainers uses for the wait strategies, and it worked fine with bun, so I'm not sure where the issue is. Switching to a health check wait strategy worked for me.

Command

TESTCONTAINERS_RYUK_DISABLED=true bun run index.ts

index.ts

import {
  GenericContainer,
  Wait,
} from 'testcontainers';

let redisContainer = await new GenericContainer('redis')
  .withHealthCheck({
    test: ['CMD-SHELL', 'redis-cli ping'],
    interval: 1000,
    timeout: 3000,
    retries: 5,
    startPeriod: 1000,
  })
  .withWaitStrategy(Wait.forHealthCheck())
  .withExposedPorts(6379)
  .start();

console.log('Started');

await redisContainer.stop();

@shaunek-hero
Copy link

@JacobReynolds Thanks for sharing your tips. For me the two tips of removing ./node_modules/cpu-features and the TESTCONTAINERS_RYUK_DISABLED=true were key for me to get this up and running. Not thrilled with the first hack, but seems to be working. 🙏

@benallfree
Copy link

For a workaround, use bun patch :

patches/cpu-features@0.0.10.patch

diff --git a/node_modules/cpu-features/disabled.js b/disabled.js
new file mode 100644
index 0000000000000000000000000000000000000000..4d2d18c14a2f3334ce0227d2b9eabad3cb28e41c
--- /dev/null
+++ b/disabled.js
@@ -0,0 +1 @@
+throw new Error(`cpu-features not available on Bun`)
diff --git a/package.json b/package.json
index 6cc12c3c7703ea17995be61c5accc331e7e35014..da299bcca20a1a0654f6910c19d613ee776be478 100644
--- a/package.json
+++ b/package.json
@@ -3,10 +3,8 @@
   "version": "0.0.10",
   "author": "Brian White <mscdex@mscdex.net>",
   "description": "A simple binding to Google's cpu_features library for obtaining information about installed CPU(s)",
-  "main": "./lib/index",
+  "main": "./disabled.js",
   "dependencies": {
-    "buildcheck": "~0.0.6",
-    "nan": "^2.19.0"
   },
   "devDependencies": {
     "@mscdex/eslint-config": "^1.1.0",

@Jarred-Sumner
Copy link
Collaborator

This is caused by using nan (V8 C++ APIs)

@190n is actively working on supporting V8 C++ APIs in Bun

Please follow along in #4290

@Jarred-Sumner
Copy link
Collaborator

Tracking this in #4290

@Jarred-Sumner Jarred-Sumner closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash An issue that could cause a crash needs investigate Needs to be investigated to find the root cause
Projects
None yet
Development

No branches or pull requests