You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
hi! it's quite possible I did something wrong, but I was hoping someone could point me in the right direction.
in the repo root for a checkout of 11afbc4d171d0930ff409343a9727b3ba9ffa274 from my branch (which just adds a pinned holonix shell.nix and then includes a file update from npm test).
$ nix-shell
<... clipped ...>
[nix-shell:~/projects/elemental-chat]$ CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown
Updating git repository `https://github.com/holochain/holochain.git`
Compiling fixt v0.0.1 (https://github.com/holochain/holochain.git?rev=0936025e957056bde8ad5a683fa18d91c71d46fc#0936025e)
Compiling holo_hash v0.0.1 (https://github.com/holochain/holochain.git?rev=0936025e957056bde8ad5a683fa18d91c71d46fc#0936025e)
Compiling holochain_zome_types v0.0.1 (https://github.com/holochain/holochain.git?rev=0936025e957056bde8ad5a683fa18d91c71d46fc#0936025e)
Compiling hdk3_derive v0.0.1 (https://github.com/holochain/holochain.git?rev=0936025e957056bde8ad5a683fa18d91c71d46fc#0936025e)
Compiling hdk3 v0.0.1 (https://github.com/holochain/holochain.git?rev=0936025e957056bde8ad5a683fa18d91c71d46fc#0936025e)
Compiling elemental-chat v0.0.1-alpha14 (/home/mhueschen/projects/elemental-chat/zomes/chat)
Finished release [optimized] target(s) in 2m 54s
[nix-shell:~/projects/elemental-chat]$ dna-util -c elemental-chat.dna.workdir
[nix-shell:~/projects/elemental-chat]$ cd tests/
[nix-shell:~/projects/elemental-chat/tests]$ npm install
npm WARN demo-1@0.0.0 No description
npm WARN demo-1@0.0.0 No repository field.
updated 7 packages and audited 212 packages in 338.598s
41 packages are looking for funding
run `npm fund` for details
found 2 high severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
[nix-shell:~/projects/elemental-chat/tests]$ npm test
> demo-1@0.0.0 test /home/mhueschen/projects/elemental-chat/tests
> npm run test:setup && npm run test:standard
> demo-1@0.0.0 test:setup /home/mhueschen/projects/elemental-chat/tests
> CARGO_TARGET_DIR=../target cargo build --release --target wasm32-unknown-unknown && dna-util -c ../elemental-chat.dna.workdir
Finished release [optimized] target(s) in 0.04s
> demo-1@0.0.0 test:standard /home/mhueschen/projects/elemental-chat/tests
> TRYORAMA_LOG_LEVEL=info RUST_LOG=holochain::core::ribosome::host_fn::debug=debug RUST_BACKTRACE=1 ts-node src/index.ts | tap-diff
21:48:07 [tryorama] info: Using the following settings from environment variables:
21:48:07 [tryorama] info: {
"adminInterfaceId": "tryorama-interface-admin",
"appInterfaceId": "tryorama-interface-app",
"stateDumpOnError": true,
"zomeCallTimeoutMs": 90000,
"conductorTimeoutMs": 125000,
"strictConductorTimeout": false,
"chooseFreePort": false,
"logLevel": "info",
"portRange": [
33000,
34000
],
"legacy": false,
"singletonAppId": "TRYORAMA_APP",
"holochainPath": "holochain",
"lairPath": "lair-keystore"
}
chat away
FIXME: ignoring onJoin
21:48:07 [tryorama] info: Spawning lair for test with keystore at: /tmp/tmp.wLsGNsL3fd/tryorama/DDeaRf/keystore
21:48:07 [tryorama] info: Using conductor path: holochain
21:48:07 [tryorama] info: Holochain version: holochain 0.0.100
21:48:07 [tryorama] info: Conductor config path: /tmp/tmp.wLsGNsL3fd/tryorama/DDeaRf/conductor-config.yml
21:48:07 info:
☉☉☉ [[[CONDUCTOR c0]]]
☉
☉ ###HOLOCHAIN_SETUP###
☉ ###ADMIN_PORT:33000###
☉ ###HOLOCHAIN_SETUP_END###
☉ Conductor ready.
☉
21:48:07 [tryorama] info: Conductor 'c0' process spawning completed.
21:48:08 [tryorama] error: Test error: {
type: 'error',
data: {
type: 'internal_error',
data: 'Conductor returned an error while using a ConductorApi: EntryDefStoreError(DnaError(WasmError(Compile("link error: Import not found, namespace: env, name: __debug"))))'
}
}
✖ Test threw an exception. See output for details. at <anonymous> (/home/mhueschen/projects/elemental-chat/tests/node_modules/@holochain/tryorama/src/middleware.ts:137:13)
undefinedundefined
21:48:08 [tryorama] info: conductor 'c0' exited with code null
FIXME: ignoring onLeave
✖ test exited without ending: multi-chunk at process.<anonymous> (/home/mhueschen/projects/elemental-chat/tests/node_modules/tape/index.js:85:19)
undefinedundefined
passed: 0 failed: 2 of 2 tests (16.8s)
2 of 2 tests failed.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! demo-1@0.0.0 test:standard: `TRYORAMA_LOG_LEVEL=info RUST_LOG=holochain::core::ribosome::host_fn::debug=debug RUST_BACKTRACE=1 ts-node src/index.ts | tap-diff`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the demo-1@0.0.0 test:standard script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/mhueschen/.npm/_logs/2021-02-26T03_48_22_755Z-debug.log
npm ERR! Test failed. See above for more details.
hi! it's quite possible I did something wrong, but I was hoping someone could point me in the right direction.
in the repo root for a checkout of
11afbc4d171d0930ff409343a9727b3ba9ffa274from my branch (which just adds a pinned holonixshell.nixand then includes a file update fromnpm test).