Created
April 23, 2019 19:32
-
-
Save samrose/a119f09a5438b9c2bf638c463436a7f0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [nix-shell:~/envoy]$ npm run integration | |
| > [email protected] integration /home/vagrant/envoy | |
| > ts-node integration-tests/index.ts | |
| TAP version 13 | |
| # can do hosted zome call | |
| Created directory for integration tests: /run/user/1000/holo-envoy/test-storage-bC56n4 | |
| Cleared storage. | |
| Creating new key data at /run/user/1000/holo-envoy/test-keydata | |
| Generated keys. | |
| Creating conductor config at: /run/user/1000/holo-envoy/test-storage-bC56n4/conductor-config.toml | |
| Generated config. | |
| Using conductor binary: /home/vagrant/.cargo/bin/holochain | |
| (HC) Using config path: /run/user/1000/holo-envoy/test-storage-bC56n4/conductor-config.toml | |
| Unlocking agent keys: | |
| Unlocking key for agent 'host-agent': | |
| Reading keystore from /run/user/1000/holo-envoy/test-keydata/keybundle.json | |
| auto-entering passphrase... | |
| Connecting to admin and happ interfaces... | |
| (HC) Passphrase: | |
| (HC) Reading DNA from /home/vagrant/Holo-Hosting-App/dna-src/dist/dna-src.dna.json | |
| (HC) Failed to load instance holo-hosting-app from storage: ErrorGeneric("State could not be loaded due to NoneError") | |
| Initializing new chain... | |
| (HC) <E> WARNING! The git-hash of the runtime and the zome don't match. | |
| Runtime hash: 34dad29c4fecba6f1fe3761f463d849b8bb049ec | |
| Zome hash: d7bc3a34dcf95f5f4c5eca5a3131886069e673c9 | |
| (HC) <E> WARNING! The git-hash of the runtime and the zome don't match. | |
| Runtime hash: 34dad29c4fecba6f1fe3761f463d849b8bb049ec | |
| Zome hash: d7bc3a34dcf95f5f4c5eca5a3131886069e673c9 | |
| (HC) <E> WARNING! The git-hash of the runtime and the zome don't match. | |
| Runtime hash: 34dad29c4fecba6f1fe3761f463d849b8bb049ec | |
| Zome hash: d7bc3a34dcf95f5f4c5eca5a3131886069e673c9 | |
| (HC) Reading DNA from /home/vagrant/HApps-Store/dna-src/dist/dna-src.dna.json | |
| (HC) Failed to load instance happ-store from storage: ErrorGeneric("State could not be loaded due to NoneError") | |
| Initializing new chain... | |
| (HC) <E> WARNING! The git-hash of the runtime and the zome don't match. | |
| Runtime hash: 34dad29c4fecba6f1fe3761f463d849b8bb049ec | |
| Zome hash: e9429a69f4fa89284ecb2f4e0918ceada4693491 | |
| (HC) <E> WARNING! The git-hash of the runtime and the zome don't match. | |
| Runtime hash: 34dad29c4fecba6f1fe3761f463d849b8bb049ec | |
| Zome hash: e9429a69f4fa89284ecb2f4e0918ceada4693491 | |
| (HC) Reading DNA from /home/vagrant/holofuel/dist/holofuel.dna.json | |
| (HC) Failed to load instance holofuel from storage: ErrorGeneric("State could not be loaded due to NoneError") | |
| (HC) Initializing new chain... | |
| (HC) <E> WARNING! The git-hash of the runtime and the zome don't match. | |
| (HC) <E> Runtime hash: | |
| (HC) <E> 34dad29c4fecba6f1fe3761f463d849b8bb049ec | |
| (HC) <E> | |
| (HC) <E> Zome hash: | |
| (HC) <E> ab6983d4bae165f7dd3ffebed1146677ea1e8771 | |
| (HC) <E> | |
| (HC) Successfully loaded 3 instance configurations | |
| Starting all of them... | |
| Starting instance "happ-store"... | |
| Starting instance "holofuel"... | |
| Starting instance "holo-hosting-app"... | |
| Starting interfaces... | |
| (HC) Done. | |
| Starting UI servers | |
| Starting all servers | |
| All connections established! [ 'master' ] . Starting... | |
| Beginning server startup | |
| Serving UI from: /home/vagrant/.holochain/holo/ui-store | |
| Calling zome... { instance_id: 'holo-hosting-app', | |
| zome: 'provider', | |
| function: 'register_as_provider', | |
| params: { provider_doc: { kyc_proof: 'TODO this proves nothing' } } } | |
| waiting to connect, so as to call... | |
| HTTP server initialized | |
| WS server initialized | |
| Shim server running on port 5555 | |
| Admin HTTP server listening on port 9999 | |
| Wormhole HTTP server listening on port 8888 | |
| Websocket server listening on port 48080 | |
| HTTP server running on port 48080 | |
| connected, calling... call { instance_id: 'holo-hosting-app', | |
| zome: 'provider', | |
| function: 'register_as_provider', | |
| params: { provider_doc: { kyc_proof: 'TODO this proves nothing' } } } | |
| Calling zome... { instance_id: 'holo-hosting-app', | |
| zome: 'host', | |
| function: 'register_as_host', | |
| params: { host_doc: { kyc_proof: 'TODO this proves nothing' } } } | |
| calling (already connected) call { instance_id: 'holo-hosting-app', | |
| zome: 'host', | |
| function: 'register_as_host', | |
| params: { host_doc: { kyc_proof: 'TODO this proves nothing' } } } | |
| Calling zome... { instance_id: 'happ-store', | |
| zome: 'happs', | |
| function: 'create_app', | |
| params: | |
| { title: 'TODO', | |
| description: 'TODO', | |
| thumbnail_url: 'TODO.gif', | |
| homepage_url: 'TODO.com', | |
| ui_url: 'http://localhost:5555/holochain-basic-chat/ui.zip', | |
| dna_url: 'http://localhost:5555/holochain-basic-chat/dna-src/dist/dna-src.dna.json' } } | |
| waiting to connect, so as to call... | |
| connected, calling... call { instance_id: 'happ-store', | |
| zome: 'happs', | |
| function: 'create_app', | |
| params: | |
| { title: 'TODO', | |
| description: 'TODO', | |
| thumbnail_url: 'TODO.gif', | |
| homepage_url: 'TODO.com', | |
| ui_url: 'http://localhost:5555/holochain-basic-chat/ui.zip', | |
| dna_url: 'http://localhost:5555/holochain-basic-chat/dna-src/dist/dna-src.dna.json' } } | |
| (HC) 2019-04-23 19:31:31:happ-store: err/instance/process_action: could not save state: ErrorGeneric("Could not get write lock on storage") | |
| Calling zome... { instance_id: 'holo-hosting-app', | |
| zome: 'provider', | |
| function: 'register_app', | |
| params: | |
| { app_bundle: { happ_hash: 'QmREg9cLsV5wKgMWirGAW7x9pZNpji9DwynWEUsdP4t6JL' }, | |
| domain_name: { dns_name: 'TODO.whatever.xyz' } } } | |
| calling (already connected) call { instance_id: 'holo-hosting-app', | |
| zome: 'provider', | |
| function: 'register_app', | |
| params: | |
| { app_bundle: { happ_hash: 'QmREg9cLsV5wKgMWirGAW7x9pZNpji9DwynWEUsdP4t6JL' }, | |
| domain_name: { dns_name: 'TODO.whatever.xyz' } } } | |
| (HC) 2019-04-23 19:31:32:holo-hosting-app: err/zome: invoke_get_links failed to deserialize GetLinksArgs: JsonString("{\"entry_address\":\"HcSCJpING9nEyodohm6f449Uspv9zKPqzKTEkI6g4r9mxuesrtTqkSH4btsgndr\",\"tag\":\"verified_provider_tag\",\"options\":{\"status_request\":\"Live\",\"sources\":false,\"timeout\":60000}}") | |
| ZOME CALL FAILED | |
| { Err: { Internal: 'Argument deserialization failed' } } | |
| payload: { instance_id: 'holo-hosting-app', | |
| zome: 'provider', | |
| function: 'register_app', | |
| params: | |
| { app_bundle: { happ_hash: 'QmREg9cLsV5wKgMWirGAW7x9pZNpji9DwynWEUsdP4t6JL' }, | |
| domain_name: { dns_name: 'TODO.whatever.xyz' } } } | |
| raw result: {"Err":{"Internal":"Argument deserialization failed"}} | |
| envoy error: { Err: { Internal: 'Argument deserialization failed' } } | |
| not ok 1 Exception was thrown during test execution | |
| --- | |
| operator: fail | |
| at: fn.catch.e (/home/vagrant/envoy/integration-tests/common.ts:82:9) | |
| stack: |- | |
| Error: Exception was thrown during test execution | |
| at Test.assert [as _assert] (/home/vagrant/envoy/node_modules/tape/lib/test.js:224:54) | |
| at Test.bound [as _assert] (/home/vagrant/envoy/node_modules/tape/lib/test.js:92:32) | |
| at Test.fail (/home/vagrant/envoy/node_modules/tape/lib/test.js:315:10) | |
| at Object.bound [as fail] (/home/vagrant/envoy/node_modules/tape/lib/test.js:92:32) | |
| at fn.catch.e (/home/vagrant/envoy/integration-tests/common.ts:82:9) | |
| at <anonymous> | |
| at process._tickDomainCallback (internal/process/next_tick.js:229:7) | |
| ... | |
| Shutting down everything... | |
| Closing client: master | |
| Closing client: public | |
| Closing client: internal | |
| Conductor closed with code: null | |
| Connection lost, stopping... | |
| Shut down wss | |
| Shut down httpServer | |
| Shut down adminServer | |
| Shut down wormholeServer | |
| Shut down shimServer | |
| 1..1 | |
| # tests 1 | |
| # pass 0 | |
| # fail 1 | |
| npm ERR! code ELIFECYCLE | |
| npm ERR! errno 1 | |
| npm ERR! [email protected] integration: `ts-node integration-tests/index.ts` | |
| npm ERR! Exit status 1 | |
| npm ERR! | |
| npm ERR! Failed at the [email protected] integration script. | |
| npm ERR! This is probably not a problem with npm. There is likely additional logging output above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment