lib: return undefined for localStorage without file #71208
Triggered via pull request
January 10, 2026 21:22
Status
Failure
Total duration
1h 10m 7s
Artifacts
–
Annotations
10 errors and 1 notice
|
test-macOS:
test/parallel/test-buffer-constructor-outside-node-modules.js#L18
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: ExperimentalWarning: localStorage is not available because --localstorage-file was not provided.
at Object.get (node:internal/webstorage:31:21)
at get (node:internal/process/pre_execution:417:58)
at /Users/runner/work/node/node/node/test/common/index.js:75:36
at Object.<anonymous> (/Users/runner/work/node/node/node/test/common/index.js:79:3)
at Module._compile (node:internal/modules/cjs/loader:1803:14)
at Object..js (node:internal/modules/cjs/loader:1934:10)
at Module.load (node:internal/modules/cjs/loader:1524:32)
at Module._load (node:internal/modules/cjs/loader:1326:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at process.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-buffer-constructor-outside-node-modules.js:18:3)
at process.<anonymous> (/Users/runner/work/node/node/node/test/common/index.js:506:15)
at process.emit (node:events:520:22)
at doEmitWarning (node:internal/process/warning:85:11)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node --no-warnings /Users/runner/work/node/node/node/test/parallel/test-buffer-constructor-outside-node-modules.js
|
|
test-macOS:
test/parallel/test-buffer-constructor-deprecation-error.js#L0
--- stderr ---
(node:12319) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided.
(Use `node --trace-warnings ...` to show where the warning was created)
/Users/runner/work/node/node/node/test/common/index.js:710
throw new TypeError(
^
[TypeError: "ExperimentalWarning" was triggered without being expected.
[ExperimentalWarning: localStorage is not available because --localstorage-file was not provided.
<Buffer 00 00 00 00 00 00 00 00 00 00>]
Buffer(10) [Uint8Array] [
0, 0, 0, 0, 0,
0, 0, 0, 0, 0
]]
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-buffer-constructor-deprecation-error.js
|
|
test-macOS:
test/parallel/test-async-wrap-promise-after-enabled.js#L0
--- stderr ---
(node:12275) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided.
(Use `node --trace-warnings ...` to show where the warning was created)
AssertionError [ERR_ASSERTION]: function should not have been called at /Users/runner/work/node/node/node/test/parallel/test-async-wrap-promise-after-enabled.js:21
called with arguments: 4, 'TickObject', 2, {
callback: [Function: afterWriteTick],
args: [
{
count: 1,
cb: [Function (anonymous)],
stream: [SyncWriteStream],
state: [WritableState]
}
],
Symbol(async_id_symbol): 4,
Symbol(trigger_async_id_symbol): 2,
Symbol(kAsyncContextFrame): undefined
}
at AsyncHook.mustNotCall (/Users/runner/work/node/node/node/test/common/index.js:564:12)
at emitInitNative (node:internal/async_hooks:207:43)
at emitInitScript (node:internal/async_hooks:514:3)
at process.nextTick (node:internal/process/task_queues:142:5)
at onwrite (node:internal/streams/writable:677:17)
at SyncWriteStream._write (node:internal/fs/sync_write_stream:32:3)
at writeOrBuffer (node:internal/streams/writable:570:12)
at _write (node:internal/streams/writable:499:10)
at Writable.write (node:internal/streams/writable:508:10)
at console.value (node:internal/console/constructor:313:16)
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-async-wrap-promise-after-enabled.js
|
|
test-macOS:
test/parallel/test-async-hooks-top-level-clearimmediate.js#L0
--- stderr ---
AssertionError [ERR_ASSERTION]: function should not have been called at /Users/runner/work/node/node/node/test/parallel/test-async-hooks-top-level-clearimmediate.js:23
called with arguments: 2
at AsyncHook.mustNotCall (/Users/runner/work/node/node/node/test/common/index.js:564:12)
at emitHook (node:internal/async_hooks:244:38)
at emitBeforeScript (node:internal/async_hooks:522:5)
at process.processTicksAndRejections (node:internal/process/task_queues:80:7)
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-async-hooks-top-level-clearimmediate.js
|
|
test-macOS:
test/parallel/test-async-hooks-promise-triggerid.js#L24
--- stderr ---
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
2 !== 4
at AsyncHook.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-async-hooks-promise-triggerid.js:24:12)
at AsyncHook.<anonymous> (/Users/runner/work/node/node/node/test/common/index.js:506:15)
at emitHook (node:internal/async_hooks:244:38)
at emitBeforeScript (node:internal/async_hooks:522:5)
at process.processTicksAndRejections (node:internal/process/task_queues:80:7)
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-async-hooks-promise-triggerid.js
|
|
test-macOS:
test/parallel/test-async-hooks-promise.js#L16
--- stderr ---
(node:12126) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided.
(Use `node --trace-warnings ...` to show where the warning was created)
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'TickObject'
- 'PROMISE'
at AsyncHook.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-async-hooks-promise.js:16:12)
at AsyncHook.<anonymous> (/Users/runner/work/node/node/node/test/common/index.js:506:15)
at emitInitNative (node:internal/async_hooks:207:43)
at emitInitScript (node:internal/async_hooks:514:3)
at process.nextTick (node:internal/process/task_queues:142:5)
at onwrite (node:internal/streams/writable:677:17)
at SyncWriteStream._write (node:internal/fs/sync_write_stream:32:3)
at writeOrBuffer (node:internal/streams/writable:570:12)
at _write (node:internal/streams/writable:499:10)
at Writable.write (node:internal/streams/writable:508:10)
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-async-hooks-promise.js
|
|
test-macOS:
test/parallel/test-async-hooks-fatal-error.js#L49
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: after
+ actual - expected
+ '(node:12063) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided.'
- 'Error: null'
at main (/Users/runner/work/node/node/node/test/parallel/test-async-hooks-fatal-error.js:49:14)
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-async-hooks-fatal-error.js:10:3)
at Module._compile (node:internal/modules/cjs/loader:1803:14)
at Object..js (node:internal/modules/cjs/loader:1934:10)
at Module.load (node:internal/modules/cjs/loader:1524:32)
at Module._load (node:internal/modules/cjs/loader:1326:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: '(node:12063) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided.',
expected: 'Error: null',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-async-hooks-fatal-error.js
|
|
test-macOS:
test/parallel/test-async-hooks-enable-recursive.js#L8
--- stderr ---
(node:11922) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided.
(Use `node --trace-warnings ...` to show where the warning was created)
--- stdout ---
Mismatched noop function calls. Expected exactly 1, actual 2.
at Proxy.mustCall (/Users/runner/work/node/node/node/test/common/index.js:464:10)
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-async-hooks-enable-recursive.js:8:16)
at Module._compile (node:internal/modules/cjs/loader:1803:14)
at Object..js (node:internal/modules/cjs/loader:1934:10)
at Module.load (node:internal/modules/cjs/loader:1524:32)
at Module._load (node:internal/modules/cjs/loader:1326:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
Mismatched <anonymous> function calls. Expected exactly 2, actual 3.
at Proxy.mustCall (/Users/runner/work/node/node/node/test/common/index.js:464:10)
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-async-hooks-enable-recursive.js:12:16)
at Module._compile (node:internal/modules/cjs/loader:1803:14)
at Object..js (node:internal/modules/cjs/loader:1934:10)
at Module.load (node:internal/modules/cjs/loader:1524:32)
at Module._load (node:internal/modules/cjs/loader:1326:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-async-hooks-enable-recursive.js
|
|
test-macOS:
test/parallel/test-async-hooks-disable-during-promise.js#L0
--- stderr ---
(node:11881) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided.
(Use `node --trace-warnings ...` to show where the warning was created)
AssertionError [ERR_ASSERTION]: function should not have been called at /Users/runner/work/node/node/node/test/parallel/test-async-hooks-disable-during-promise.js:13
called with arguments: 2
at AsyncHook.mustNotCall (/Users/runner/work/node/node/node/test/common/index.js:564:12)
at emitHook (node:internal/async_hooks:244:38)
at emitAfterScript (node:internal/async_hooks:528:5)
at process.processTicksAndRejections (node:internal/process/task_queues:100:7)
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-async-hooks-disable-during-promise.js
|
|
test-macOS:
test/parallel/test-async-hooks-correctly-switch-promise-hook.js#L54
--- stderr ---
(node:11851) ExperimentalWarning: localStorage is not available because --localstorage-file was not provided.
(Use `node --trace-warnings ...` to show where the warning was created)
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
... Skipped lines
[
{
after: true,
before: true,
init: true,
...
init: true,
+ promiseResolve: false,
+ type: 'TickObject'
+ },
+ {
+ after: true,
+ before: true,
+ init: true,
promiseResolve: true,
type: 'PROMISE'
}
]
at process.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-async-hooks-correctly-switch-promise-hook.js:54:10)
at process.emit (node:events:520:22)
at process.callbackTrampoline (node:internal/async_hooks:131:14) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [
{
type: 'PROMISE',
init: true,
before: true,
after: true,
promiseResolve: true
},
{
type: 'PROMISE',
init: true,
before: false,
after: false,
promiseResolve: true
},
{
type: 'TickObject',
init: true,
before: true,
after: true,
promiseResolve: false
},
{
type: 'PROMISE',
init: true,
before: true,
after: true,
promiseResolve: true
}
],
expected: [
{
type: 'PROMISE',
init: true,
before: true,
after: true,
promiseResolve: true
},
{
type: 'PROMISE',
init: true,
before: false,
after: false,
promiseResolve: true
},
{
type: 'PROMISE',
init: true,
before: true,
after: true,
promiseResolve: true
}
],
operator: 'deepStrictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-async-hooks-correctly-switch-promise-hook.js
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|