Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions test/expectations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,9 @@ test/js/node/test/parallel/test-set-http-max-http-headers.js [ FAIL ] # spawns t
test/js/bun/spawn/spawn-maxbuf.test.ts [ FLAKY ]

# Tests failed due to ASAN: attempting free on address which was not malloc()-ed
[ ASAN ] test/js/node/worker_threads/worker_threads.test.ts [ CRASH ] # After: threadId module and worker property is consistent
[ ASAN ] test/js/node/worker_threads/worker_destruction.test.ts [ CRASH ] # After: bun closes cleanly when Bun.connect is used in a Worker that is terminating
[ ASAN ] test/integration/next-pages/test/dev-server-ssr-100.test.ts [ CRASH ]
[ ASAN ] test/integration/next-pages/test/next-build.test.ts [ CRASH ]
[ ASAN ] test/js/third_party/next-auth/next-auth.test.ts [ CRASH ]
[ ASAN ] test/js/node/watch/fs.watch.test.ts [ CRASH ]

# Tests failed due to ASAN: SEGV on unknown address
[ ASAN ] test/integration/next-pages/test/dev-server.test.ts [ CRASH ]
Expand All @@ -105,28 +102,21 @@ test/js/bun/spawn/spawn-maxbuf.test.ts [ FLAKY ]
[ ASAN ] test/js/node/worker_threads/worker-transfer-terminate-stress.test.ts [ CRASH ] # #34690: ExceptionScope::assertNoException during worker terminate bootstrap

# Tests failed due to ASAN: use-after-poison
[ ASAN ] test/js/node/test/parallel/test-worker-unref-from-message-during-exit.js [ CRASH ]
[ ASAN ] test/napi/napi.test.ts [ CRASH ] # can throw an exception from an async_complete_callback
[ ASAN ] test/js/node/test/parallel/test-fs-watch.js [ CRASH ]
[ ASAN ] test/js/node/test/parallel/test-fs-watch-recursive-watch-file.js [ CRASH ]
[ ASAN ] test/js/node/test/parallel/test-fs-promises-watch.js [ CRASH ]

# Tests failed due to ASAN: unknown-crash
[ ASAN ] test/js/sql/tls-sql.test.ts [ CRASH ] # After: Throws on illegal transactions

# Tests timed out due to ASAN
[ ASAN ] test/js/bun/spawn/spawn.test.ts [ TIMEOUT ]
[ ASAN ] test/cli/inspect/inspect.test.ts [ TIMEOUT ]
[ ASAN ] test/cli/test/parallel.test.ts [ TIMEOUT ] # 24 spawns × N workers each × LSAN exit overhead
[ ASAN ] test/cli/test/isolation.test.ts [ TIMEOUT ] # 14 spawns × LSAN exit overhead
[ ASAN ] test/js/bun/typescript/type-export.test.ts [ TIMEOUT ] # bun build --compile is slow under ASAN

# Tests failed due to memory leaks
[ ASAN ] test/js/node/url/pathToFileURL.test.ts [ LEAK ] # pathToFileURL doesn't leak memory
[ ASAN ] test/js/node/fs/abort-signal-leak-read-write-file.test.ts [ LEAK ] # should not leak memory with already aborted signals
[ ASAN ] test/js/web/streams/streams-leak.test.ts [ LEAK ] # Absolute memory usage remains relatively constant when reading and writing to a pipe
[ ASAN ] test/cli/run/require-cache.test.ts [ LEAK ] # files transpiled and loaded don't leak file paths > via require()
[ ASAN ] test/js/bun/io/bun-write-leak.test.ts [ LEAK ] # Bun.write should not leak the output data

# Windows-only gaps in named-pipe / socket teardown for ported Node net tests
# (these pass on Linux and macOS): half-close (FIN) handling on named pipes,
Expand All @@ -143,10 +133,6 @@ test/js/bun/spawn/spawn-maxbuf.test.ts [ FLAKY ]
# server.close() (via `await using`) waits forever. The assertion itself passes;
# only the teardown hangs. Passes on Linux and macOS.

# The 10 MB socket write in this test is an order of magnitude slower under
# AddressSanitizer and exceeds the per-test timeout; it passes on regular builds.
[ ASAN ] test/js/node/test/parallel/test-net-error-twice.js [ SKIP ] # ASAN-instrumented 10 MB write exceeds the timeout

# The localAddress/localPort bind-before-connect and the SO_ERROR read on a
# connecting socket that was reset during establishment are implemented in the
# POSIX (kqueue/epoll + BSD socket) connect path; Windows connects through
Expand Down
63 changes: 0 additions & 63 deletions test/no-validate-exceptions.txt
Original file line number Diff line number Diff line change
@@ -1,72 +1,25 @@
# List of tests for which we do NOT set validateExceptionChecks=1 when running in ASAN CI

# List of tests that potentially throw inside of reifyStaticProperties
test/js/node/test/parallel/test-stream-some-find-every.mjs
test/js/node/test/parallel/test-stream-iterator-helpers-test262-tests.mjs
test/js/node/test/parallel/test-fs-stat-date.mjs
test/js/node/test/parallel/test-fs-readSync-position-validation.mjs
test/js/node/test/parallel/test-fs-read-promises-position-validation.mjs
test/js/node/test/parallel/test-fs-read-position-validation.mjs
test/js/node/test/parallel/test-net-server-async-dispose.mjs
test/js/node/test/parallel/test-net-connect-custom-lookup-non-string-address.mjs
test/js/node/test/parallel/test-abortsignal-any.mjs
test/js/node/test/parallel/test-child-process-fork-url.mjs
test/js/node/test/parallel/test-debugger-invalid-json.mjs
test/js/node/test/parallel/test-dgram-async-dispose.mjs
test/js/node/test/parallel/test-events-add-abort-listener.mjs
test/js/node/test/parallel/test-fetch.mjs
test/js/node/test/parallel/test-module-globalpaths-nodepath.js
test/js/node/test/parallel/test-parse-args.mjs
test/js/node/test/parallel/test-process-default.js
test/js/node/test/parallel/test-readline-promises-csi.mjs
test/js/node/test/parallel/test-require-dot.js
test/js/node/test/parallel/test-util-promisify-custom-names.mjs
test/js/node/test/parallel/test-whatwg-readablestream.mjs
test/js/node/test/parallel/test-worker.mjs
test/js/node/test/system-ca/test-native-root-certs.test.mjs
test/js/node/events/event-emitter.test.ts
test/js/node/module/node-module-module.test.js
test/js/node/module/module-resolve-filename-paths.test.js
test/js/node/process/call-constructor.test.js
test/js/node/stubs.test.js
test/js/node/timers/node-timers.test.ts
test/bake/dev/vfile.test.ts
test/bake/dev/import-meta-inline.test.ts
test/bake/dev/production.test.ts
test/cli/run/run-eval.test.ts
test/cli/run/self-reference.test.ts
test/js/bun/resolve/import-meta-resolve.test.mjs
test/js/bun/resolve/import-meta.test.js
test/js/bun/util/BunObject.test.ts
test/js/bun/util/fuzzy-wuzzy.test.ts
test/js/third_party/pg-gateway/pglite.test.ts
test/js/web/websocket/websocket.test.js
test/js/node/test/parallel/test-vm-module-referrer-realm.mjs
test/js/bun/resolve/resolve.test.ts
test/cli/install/bunx.test.ts
test/js/node/util/node-inspect-tests/parallel/util-inspect.test.js
test/integration/vite-build/vite-build.test.ts
test/bundler/esbuild/default.test.ts
test/cli/install/bun-repl.test.ts
test/js/third_party/astro/astro-post.test.js
test/regression/issue/ctrl-c.test.ts
test/bundler/bundler_comments.test.ts
test/js/node/test/parallel/test-fs-promises-file-handle-readLines.mjs
test/js/bun/test/parallel/test-require-builtins.ts
test/cli/install/bun-install-lifecycle-scripts.test.ts
test/js/bun/test/parallel/test-integration-rspack.ts

# trips asan on my macos test machine
test/js/node/test/parallel/test-fs-watch.js
test/js/node/test/parallel/test-fs-watch-recursive-watch-file.js
# hit a debug assert
test/bundler/bundler_compile.test.ts

# try again later
test/js/node/test/parallel/test-worker-nested-uncaught.js

# 3rd party napi
test/regression/issue/30205.test.ts
test/integration/sharp/sharp.test.ts
test/js/third_party/@napi-rs/canvas/napi-rs-canvas.test.ts
test/js/third_party/prisma/prisma.test.ts
Expand Down Expand Up @@ -116,10 +69,7 @@ test/napi/node-napi-tests/test/node-api/test_exception/do.test.ts
test/napi/node-napi-tests/test/node-api/test_fatal/do.test.ts
test/napi/node-napi-tests/test/node-api/test_fatal_exception/do.test.ts
test/napi/node-napi-tests/test/node-api/test_general/do.test.ts
test/napi/node-napi-tests/test/node-api/test_init_order/do.test.ts
test/napi/node-napi-tests/test/node-api/test_instance_data/do.test.ts
test/napi/node-napi-tests/test/node-api/test_make_callback/do.test.ts
test/napi/node-napi-tests/test/node-api/test_make_callback_recurse/do.test.ts
test/napi/node-napi-tests/test/node-api/test_threadsafe_function/do.test.ts
test/napi/node-napi-tests/test/node-api/test_worker_terminate_finalization/do.test.ts
test/napi/node-napi-tests/test/node-api/test_reference_by_node_api_version/do.test.ts
Expand All @@ -130,22 +80,10 @@ test/napi/node-napi-tests/test/node-api/test_general/do.test.ts
test/js/bun/crypto/wpt-webcrypto.generateKey.test.ts
test/js/deno/crypto/webcrypto.test.ts
test/js/node/crypto/node-crypto.test.js
test/js/node/test/parallel/test-crypto-oaep-zero-length.js
test/js/node/test/parallel/test-crypto-psychic-signatures.js
test/js/node/test/parallel/test-crypto-subtle-zero-length.js
test/js/node/test/parallel/test-crypto-webcrypto-aes-decrypt-tag-too-small.js
test/js/node/test/parallel/test-crypto-worker-thread.js
test/js/node/test/parallel/test-webcrypto-cryptokey-workers.js
test/js/node/test/parallel/test-webcrypto-derivekey.js
test/js/node/test/parallel/test-webcrypto-digest.js
test/js/node/test/parallel/test-webcrypto-encrypt-decrypt-aes.js
test/js/node/test/parallel/test-webcrypto-encrypt-decrypt.js
test/js/node/test/parallel/test-webcrypto-sign-verify.js
test/js/third_party/pg/pg.test.ts
test/js/web/crypto/web-crypto.test.ts
test/regression/issue/01466.test.ts
test/regression/issue/21311.test.ts
test/regression/issue/24399.test.ts
vendor/elysia/test/aot/response.test.ts
vendor/elysia/test/cookie/response.test.ts
vendor/elysia/test/cookie/signature.test.ts
Expand All @@ -154,7 +92,6 @@ vendor/elysia/test/lifecycle/error.test.ts
vendor/elysia/test/validator/body.test.ts
vendor/elysia/test/ws/message.test.ts

test/js/node/test/parallel/test-worker-abort-on-uncaught-exception.js

# TODO: WebCore fixes
test/js/web/urlpattern/urlpattern.test.ts
Expand Down
6 changes: 3 additions & 3 deletions test/no-validate-leaksan.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ test/js/node/test/parallel/test-worker-workerdata-sharedarraybuffer.js
test/js/node/test/parallel/test-worker.js
test/js/node/test/parallel/test-worker.mjs
test/js/node/worker_threads/worker_destruction.test.ts
# Two tests hit their 5s timeout under BUN_DESTRUCT_VM_ON_EXIT; passes without
# LSAN and no sanitizer report, just slow VM teardown.
test/js/node/watch/fs.watch.test.ts
test/js/web/broadcastchannel/broadcast-channel.test.ts
test/js/web/broadcastchannel/broadcast-channel-worker-gc.test.ts

Expand Down Expand Up @@ -158,11 +161,8 @@ test/cli/install/minimum-release-age.test.ts


# crash for reasons not related to LSAN
test/js/node/test/parallel/test-fs-watch-recursive-watch-file.js
test/js/node/test/parallel/test-dgram-send-address-types.js
test/js/node/test/parallel/test-fs-watch.js
test/js/node/test/parallel/test-dgram-unref.js
test/js/node/test/parallel/test-fs-promises-watch.js
test/bake/dev/ecosystem.test.ts
test/bake/dev/html.test.ts
test/bake/dev/plugins.test.ts
Expand Down
Loading