Skip to content

Instantly share code, notes, and snippets.

@dckc
Created Aug 15, 2020
Embed
What would you like to do?
20:18 connolly@jambox$ cd /home/connolly/projects/agoric/agoric-sdk ; env 'NODE_OPTIONS=--require "/snap/codium/56/usr/share/codium/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js" ' 'VSCODE_INSPECTOR_OPTIONS={"inspectorIpc":"/tmp/node-cdp.18618-8.sock","deferredMode":false,"waitForDebugger":"","execPath":"/home/connolly/.nvm/versions/node/v14.2.0/bin/node","onlyEntrypoint":false,"fileCallback":"/tmp/node-debug-callback-c5b794cd1092179f"}' /home/connolly/.nvm/versions/node/v14.2.0/bin/node -r esm ./packages/SwingSet/test/workers/test-worker.js
Debugger listening on ws://127.0.0.1:39491/dc9e2337-a7cb-4643-9013-2eb97e89cabe
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Removing intrinsics.Reflect.decorate
Removing intrinsics.Reflect.metadata
Removing intrinsics.Reflect.defineMetadata
Removing intrinsics.Reflect.hasMetadata
Removing intrinsics.Reflect.hasOwnMetadata
Removing intrinsics.Reflect.getMetadata
Removing intrinsics.Reflect.getOwnMetadata
Removing intrinsics.Reflect.getMetadataKeys
Removing intrinsics.Reflect.getOwnMetadataKeys
Removing intrinsics.Reflect.deleteMetadata
TAP version 13
= loading config from basedir /home/connolly/projects/agoric/agoric-sdk/packages/SwingSet/test/workers
ignoring file bootstrap.js in /home/connolly/projects/agoric/agoric-sdk/packages/SwingSet/test/workers
ignoring file test-worker.js in /home/connolly/projects/agoric/agoric-sdk/packages/SwingSet/test/workers
'fs' is imported by packages/xs-vat-worker/src/locate.js, but could not be resolved – treating it as an external dependency
Non-existent export 'makeXsWorkerFactory' is imported from packages/xs-vat-worker/src/locate.js
# Subtest: xs vat manager
not ok 1 - kernelRequire unprepared to satisfy require(fs)
---
stack: |
kernelRequire (packages/SwingSet/src/controller.js:209:13)
computeExports (/bundled-source-preamble.js:139:18)
contextRequire (/bundled-source-preamble.js:124:31)
getExport (kernel/packages/xs-vat-worker/src/locate.js:3:22)
computeExports (/bundled-source-preamble.js:149:34)
contextRequire (/bundled-source-preamble.js:124:31)
getExport (kernel/packages/SwingSet/src/kernel/vatManager/factory.js:1:277)
computeExports (/bundled-source-preamble.js:149:34)
contextRequire (/bundled-source-preamble.js:124:31)
getExport (kernel/packages/SwingSet/src/kernel/kernel.js:1:526)
at:
line: 209
column: 13
file: packages/SwingSet/src/controller.js
function: kernelRequire
tapCaught: returnedPromiseRejection
test: xs vat manager
source: |2
} else {
throw Error(`kernelRequire unprepared to satisfy require(${what})`);
------------^
}
}
...
1..1
# failed 1 test
not ok 1 - xs vat manager # time=1778.783ms
= loading config from basedir /home/connolly/projects/agoric/agoric-sdk/packages/SwingSet/test/workers
ignoring file bootstrap.js in /home/connolly/projects/agoric/agoric-sdk/packages/SwingSet/test/workers
ignoring file test-worker.js in /home/connolly/projects/agoric/agoric-sdk/packages/SwingSet/test/workers
'fs' is imported by packages/xs-vat-worker/src/locate.js, but could not be resolved – treating it as an external dependency
Non-existent export 'makeXsWorkerFactory' is imported from packages/xs-vat-worker/src/locate.js
# Subtest: nodeWorker vat manager
not ok 1 - kernelRequire unprepared to satisfy require(fs)
---
stack: |
kernelRequire (packages/SwingSet/src/controller.js:209:13)
computeExports (/bundled-source-preamble.js:139:18)
contextRequire (/bundled-source-preamble.js:124:31)
getExport (kernel/packages/xs-vat-worker/src/locate.js:3:22)
computeExports (/bundled-source-preamble.js:149:34)
contextRequire (/bundled-source-preamble.js:124:31)
getExport (kernel/packages/SwingSet/src/kernel/vatManager/factory.js:1:277)
computeExports (/bundled-source-preamble.js:149:34)
contextRequire (/bundled-source-preamble.js:124:31)
getExport (kernel/packages/SwingSet/src/kernel/kernel.js:1:526)
at:
line: 209
column: 13
file: packages/SwingSet/src/controller.js
function: kernelRequire
tapCaught: returnedPromiseRejection
test: nodeWorker vat manager
source: |2
} else {
throw Error(`kernelRequire unprepared to satisfy require(${what})`);
------------^
}
}
...
1..1
# failed 1 test
not ok 2 - nodeWorker vat manager # time=1266.214ms
= loading config from basedir /home/connolly/projects/agoric/agoric-sdk/packages/SwingSet/test/workers
ignoring file bootstrap.js in /home/connolly/projects/agoric/agoric-sdk/packages/SwingSet/test/workers
ignoring file test-worker.js in /home/connolly/projects/agoric/agoric-sdk/packages/SwingSet/test/workers
'fs' is imported by packages/xs-vat-worker/src/locate.js, but could not be resolved – treating it as an external dependency
Non-existent export 'makeXsWorkerFactory' is imported from packages/xs-vat-worker/src/locate.js
# Subtest: node-subprocess vat manager
not ok 1 - kernelRequire unprepared to satisfy require(fs)
---
stack: |
kernelRequire (packages/SwingSet/src/controller.js:209:13)
computeExports (/bundled-source-preamble.js:139:18)
contextRequire (/bundled-source-preamble.js:124:31)
getExport (kernel/packages/xs-vat-worker/src/locate.js:3:22)
computeExports (/bundled-source-preamble.js:149:34)
contextRequire (/bundled-source-preamble.js:124:31)
getExport (kernel/packages/SwingSet/src/kernel/vatManager/factory.js:1:277)
computeExports (/bundled-source-preamble.js:149:34)
contextRequire (/bundled-source-preamble.js:124:31)
getExport (kernel/packages/SwingSet/src/kernel/kernel.js:1:526)
at:
line: 209
column: 13
file: packages/SwingSet/src/controller.js
function: kernelRequire
tapCaught: returnedPromiseRejection
test: node-subprocess vat manager
source: |2
} else {
throw Error(`kernelRequire unprepared to satisfy require(${what})`);
------------^
}
}
...
1..1
# failed 1 test
not ok 3 - node-subprocess vat manager # time=1262.965ms
1..3
# failed 3 of 3 tests
# time=4313.874ms
Debugger listening on ws://127.0.0.1:39491/dc9e2337-a7cb-4643-9013-2eb97e89cabe
For help, see: https://nodejs.org/en/docs/inspector
undefined:0
illegal access
FATAL ERROR:
node::inspector::Agent::ToggleAsyncHook Cannot toggle Inspector's AsyncHook, please report this.
1: 0xa295e0 node::Abort() [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
2: 0x9782df node::FatalError(char const*, char const*) [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
3: 0x9782e8 [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
4: 0xb1d3c8 [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
5: 0x11f7544 v8_inspector::V8Debugger::setAsyncCallStackDepth(v8_inspector::V8DebuggerAgentImpl*, int) [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
6: 0x11fc841 v8_inspector::V8DebuggerAgentImpl::disable() [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
7: 0x121887f v8_inspector::V8InspectorSessionImpl::~V8InspectorSessionImpl() [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
8: 0x1218b21 v8_inspector::V8InspectorSessionImpl::~V8InspectorSessionImpl() [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
9: 0xb19804 [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
10: 0xb19ca1 [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
11: 0xb37b5a [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
12: 0xb39651 node::inspector::MainThreadInterface::RemoveObject(int) [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
13: 0xb3794e [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
14: 0xb37d6a [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
15: 0x9ceaf8 node::Environment::RunAndClearInterrupts() [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
16: 0x9cebbc node::Environment::RunAndClearNativeImmediates(bool) [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
17: 0x9cf2f9 node::Environment::CleanupHandles() [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
18: 0x9cf657 node::Environment::RunCleanup() [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
19: 0x996f87 node::FreeEnvironment(node::Environment*) [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
20: 0xa6a1ff node::NodeMainInstance::Run() [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
21: 0x9f9651 node::Start(int, char**) [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
22: 0x7fb6d2d76b97 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
23: 0x992f0c [/home/connolly/.nvm/versions/node/v14.2.0/bin/node]
Aborted (core dumped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment