test: use unusual chars in the path to ensure our tests are robust #56682
Triggered via pull request
September 29, 2024 21:26
Status
Failure
Total duration
56m 55s
Artifacts
–
Annotations
5 errors and 1 notice
test-macOS:
test/parallel/test-fs-cp.mjs#L1
--- stderr ---
# out/Release/node[38974]: std::string node::SPrintFImpl(const char *) at ../src/debug_utils-inl.h:71
# Assertion failed: (p[1]) == ('%')
----- Native stack trace -----
1: 0x1044703a0 node::Assert(node::AssertionInfo const&) [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
2: 0x10639873c node::SPrintFImpl(char const*) (.cold.1) [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
3: 0x10437bcf4 std::__1::__shared_ptr_pointer<node::ArrayBufferAllocator*, std::__1::default_delete<node::ArrayBufferAllocator>, std::__1::allocator<node::ArrayBufferAllocator>>::~__shared_ptr_pointer() [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
4: 0x1063af0a0 v8::Local<v8::Object> node::ERR_FS_CP_EINVAL<>(v8::Isolate*, char const*) [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
5: 0x10448c43c node::fs::CpSyncCheckPaths(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
6: 0x1052ea978 Builtins_CallApiCallbackGeneric [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
7: 0x10b4b2edc
8: 0x10b4b1b44
9: 0x1052e8838 Builtins_InterpreterEntryTrampoline [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
10: 0x10b4b784c
11: 0x10b4b755c
12: 0x1052e8838 Builtins_InterpreterEntryTrampoline [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
13: 0x10538b084 Builtins_AsyncModuleEvaluate [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
14: 0x1052e650c Builtins_JSEntryTrampoline [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
15: 0x1052e61b0 Builtins_JSEntry [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
16: 0x10481f940 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
17: 0x1048201a0 v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
18: 0x10482026c v8::internal::Execution::TryCall(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*, v8::internal::Execution::MessageHandling, v8::internal::MaybeHandle<v8::internal::Object>*) [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
19: 0x104bcd748 v8::internal::SourceTextModule::ExecuteAsyncModule(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>) [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
20: 0x104bcd280 v8::internal::SourceTextModule::InnerModuleEvaluation(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::ZoneForwardList<v8::internal::Handle<v8::internal::SourceTextModule>>*, unsigned int*) [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
21: 0x104bccd48 v8::internal::SourceTextModule::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>) [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
22: 0x104b884ac v8::internal::Module::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Module>) [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
23: 0x1046a90d4 v8::Module::Evaluate(v8::Local<v8::Context>) [/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node]
24: 0x104424f1c node::loader::ModuleWrap::Evaluate(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/runner/work/node/node/dir%20with $unusual"chars?
|
test-macOS:
test/parallel/test-snapshot-child-process-sync.js#L1
--- stderr ---
[process 41882]: --- stderr ---
(node:41882) Warning: It's not yet fully verified whether built-in module "child_process" works in user snapshot builder scripts.
It may still work in some cases, but in other cases certain run-time states may be out-of-sync after snapshot deserialization.
To request support for the module, use the Node.js issue tracker: https://github.com/nodejs/node/issues
(Use `node --trace-warnings ...` to show where the warning was created)
/bin/sh: -c: line 0: unexpected EOF while looking for matching ``'
/bin/sh: -c: line 1: syntax error: unexpected end of file
node:child_process:963
throw err;
^
Error: Command failed: "/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/out/Release/node" "/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/fixtures/snapshot/child-process-sync.js" "execSync"
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:888:11)
at execSync (node:child_process:960:15)
at spawn (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/fixtures/snapshot/child-process-sync.js:12:5)
at /Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/fixtures/snapshot/child-process-sync.js:19:3
at minimalRunCjs (node:internal/main/mksnapshot:175:12)
[process 41882]: --- stdout ---
From child process spawnSync
[process 41882]: status = 1, signal = null
/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/common/child_process.js:98
throw error;
^
Error: - process terminated with status 1, expected 0
at Object.<anonymous> (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/parallel/test-snapshot-child-process-sync.js:23:3)
at Module._compile (node:internal/modules/cjs/loader:1557:14)
at Object..js (node:internal/modules/cjs/loader:1700:10)
at Module.load (node:internal/modules/cjs/loader:1328:32)
at Function._load (node:internal/modules/cjs/loader:1138:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49 {
options: {
cwd: '/Users/runner/work/node/node/dir%20with $unusual"chars?\'åß∂ƒ©∆¬…`/test/.tmp.2513',
env: {
GITHUB_JOB: 'test-macOS',
GITHUB_EVENT_PATH: '/Users/runner/work/_temp/_github_workflow/event.json',
GITHUB_TRIGGERING_ACTOR: 'aduh95',
RUNNER_OS: 'macOS',
GITHUB_BASE_REF: 'main',
FLAKY_TESTS: 'keep_retrying',
ANDROID_HOME: '/Users/runner/Library/Android/sdk',
CHROMEWEBDRIVER: '/usr/local/share/chromedriver-mac-arm64',
SHELL: '/bin/bash',
GITHUB_REF_NAME: '48409/merge',
PIPX_BIN_DIR: '/Users/runner/.local/bin',
GITHUB_REPOSITORY_OWNER: 'nodejs',
Python3_ROOT_DIR: '/Users/runner/hostedtoolcache/Python/3.12.6/arm64',
HOMEBREW_REPOSITORY: '/opt/homebrew',
TMPDIR: '/var/folders/0g/hj_q_pzx65bbjnslxz9n0src0000gn/T/',
STATS_TIS: 'mining',
RUNNER_ARCH: 'ARM64',
GITHUB_RUN_ATTEMPT: '1',
GITHUB_RUN_NUMBER: '56682',
GITHUB_ACTIONS: 'true',
ANDROID_SDK_ROOT: '/Users/runner/Library/Android/sdk',
OLDPWD: '/Users/runner/work/node/node',
RUNNER_WORKSPACE: '/Users/runner/work/node',
GITHUB_REF_PROTECTED: 'false',
RCT_NO_LAUNCH_PACKAGER: '1',
DIR: 'dir%20with $unusual"chars?\'åß∂ƒ©∆¬…`',
RUNNER_PERFLOG: '/usr/local/opt/runner/perflog',
XCODE_14_DEVELOPER_DIR: '/Applications/Xcode_14.3.1.app/Contents/Developer',
NUNIT_BASE_PATH: '/Library/Developer/nunit',
STATS_V3PS: 'true',
GITHUB_WORKFLOW: 'Test macOS',
GITHUB_REF: 'refs/pull/48409/merge',
LC_ALL: 'en_US.UTF-8',
NUNIT3_PATH: '/Library/Developer/nunit/3.6.0',
RUNNER_TOOL_CACHE: '/Users/runner/hostedtoolcache',
GOROOT_1_22_ARM64: '/Users/runner/hostedtoo
|
test-macOS:
test/es-module/test-esm-type-flag-loose-files.mjs#L1
--- stderr ---
(node:47238) ExperimentalWarning: Importing WebAssembly modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
node:events:484
throw er; // Unhandled 'error' event
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/runner/work/node/node/dir with $unusual"chars' imported from /Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/tools/github_reporter/index.js
at finalizeResolution (node:internal/modules/esm/resolve:257:11)
at moduleResolve (node:internal/modules/esm/resolve:913:10)
at defaultResolve (node:internal/modules/esm/resolve:1037:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:650:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:599:25)
at #resolveAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:615:38)
at ModuleLoader.resolveSync (node:internal/modules/esm/loader:632:52)
at Function.resolve (node:internal/modules/esm/translators:156:49)
at getRelativeFilePath (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/tools/github_reporter/index.js:19315:85)
at getFilePath (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/tools/github_reporter/index.js:19320:10)
Emitted 'error' event on Duplex instance at:
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///Users/runner/work/node/node/dir%20with%20$unusual%22chars?%27%C3%A5%C3%9F%E2%88%82%C6%92%C2%A9%E2%88%86%C2%AC%E2%80%A6`/test/es-module/test-esm-type-flag-loose-files.mjs'
}
Node.js v23.0.0-pre
--- stdout ---
::debug::starting to run the type flag should change the interpretation of certain files outside of any package scope
::debug::starting to run should run as ESM a .js file that is outside of any package scope
::debug::completed running should run as ESM a .js file that is outside of any package scope
::debug::starting to run should run as ESM an extensionless JavaScript file that is outside of any package scope
::debug::completed running should run as ESM an extensionless JavaScript file that is outside of any package scope
::debug::starting to run should run as Wasm an extensionless Wasm file that is outside of any package scope
::debug::completed running should run as Wasm an extensionless Wasm file that is outside of any package scope
executed
::debug::starting to run should import as ESM a .js file that is outside of any package scope
::debug::completed running should import as ESM a .js file that is outside of any package scope
executed
::debug::starting to run should import as ESM an extensionless JavaScript file that is outside of any package scope
::debug::completed running should import as ESM an extensionless JavaScript file that is outside of any package scope
::debug::starting to run should import as Wasm an extensionless Wasm file that is outside of any package scope
::debug::completed running should import as Wasm an extensionless Wasm file that is outside of any package scope
::debug::starting to run should check as ESM input passed via --check
::debug::completed running should check as ESM input passed via --check
::debug::completed running the type flag should change the interpretation of certain files outside of any package scope
Command: out/Release/node --experimental-default-type=module --experimental-wasm-modules --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout "/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/test/es-module/test-esm-type-flag-loose-files.mjs"
|
test-macOS:
test/es-module/test-esm-type-flag-package-scopes.mjs#L1
--- stderr ---
(node:47254) ExperimentalWarning: Importing WebAssembly modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
node:events:484
throw er; // Unhandled 'error' event
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/runner/work/node/node/dir with $unusual"chars' imported from /Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/tools/github_reporter/index.js
at finalizeResolution (node:internal/modules/esm/resolve:257:11)
at moduleResolve (node:internal/modules/esm/resolve:913:10)
at defaultResolve (node:internal/modules/esm/resolve:1037:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:650:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:599:25)
at #resolveAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:615:38)
at ModuleLoader.resolveSync (node:internal/modules/esm/loader:632:52)
at Function.resolve (node:internal/modules/esm/translators:156:49)
at getRelativeFilePath (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/tools/github_reporter/index.js:19315:85)
at getFilePath (/Users/runner/work/node/node/dir%20with $unusual"chars?'åß∂ƒ©∆¬…`/tools/github_reporter/index.js:19320:10)
Emitted 'error' event on Duplex instance at:
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///Users/runner/work/node/node/dir%20with%20$unusual%22chars?%27%C3%A5%C3%9F%E2%88%82%C6%92%C2%A9%E2%88%86%C2%AC%E2%80%A6`/test/es-module/test-esm-type-flag-package-scopes.mjs'
}
Node.js v23.0.0-pre
--- stdout ---
::debug::starting to run the type flag should change the interpretation of certain files within a "type": "module" package scope
::debug::starting to run should run as ESM an extensionless JavaScript file within a "type": "module" scope
::debug::completed running should run as ESM an extensionless JavaScript file within a "type": "module" scope
executed
::debug::starting to run should import an extensionless JavaScript file within a "type": "module" scope
::debug::completed running should import an extensionless JavaScript file within a "type": "module" scope
executed
::debug::starting to run should import an extensionless JavaScript file within a "type": "module" scope under node_modules
::debug::completed running should import an extensionless JavaScript file within a "type": "module" scope under node_modules
::debug::starting to run should run as Wasm an extensionless Wasm file within a "type": "module" scope
::debug::completed running should run as Wasm an extensionless Wasm file within a "type": "module" scope
executed
::debug::starting to run should import as Wasm an extensionless Wasm file within a "type": "module" scope
::debug::completed running should import as Wasm an extensionless Wasm file within a "type": "module" scope
executed
::debug::starting to run should import an extensionless Wasm file within a "type": "module" scope under node_modules
::debug::completed running should import an extensionless Wasm file within a "type": "module" scope under node_modules
::debug::completed running the type flag should change the interpretation of certain files within a "type": "module" package scope
::debug::starting to run the type flag should change the interpretation of certain files within a package scope that lacks a
"type" field and is not under node_modules
::debug::starting to run should run as ESM a .js file within package scope that has no defined "type" and is not under node_modules
::debug::completed running should run as ESM a .js file within package scope that has no defined "type" and is not under node_modules
::debug::starting to run should run as ESM an extensionless JavaScript file within a package scope that has no defined "type" and is not
under node_modules
::debug::completed running should run
|
test-macOS
Process completed with exit code 1.
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|