-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tryorama tests fail because of connection errors even after all tests succeeded #198
Comments
@guillemcordoba Does this happen on your local machine or on a CI pipeline? |
Local machine... Although I think I have seen it fail on CI as well, if I find the action run I'll add it here. |
I'm having trouble getting to a working scaffolded project - see the issues. The last one that I'm stuck at is running the tests using $ pnpm test
> peter-dev@ test /Users/jost/Desktop/holochain/scaffolded-tryorama/peter
> pnpm run build:happ && nix flake check -L && pnpm -F tests test
> peter-dev@ build:happ /Users/jost/Desktop/holochain/scaffolded-tryorama/peter
> nix build -L .#peter.meta.debug -o workdir/peter-debug.happ
warning: Git tree '/Users/jost/Desktop/holochain/scaffolded-tryorama/peter' is dirty
error:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:9:12: (source not available)
… while evaluating derivation 'peter'
whose name attribute is located at /nix/store/j10523yhkcc34478azkgcl70yzcx6j2j-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'buildCommand' of derivation 'peter'
at /nix/store/j10523yhkcc34478azkgcl70yzcx6j2j-source/pkgs/build-support/trivial-builders/default.nix:68:16:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
(stack trace truncated; use '--show-trace' to show the full trace)
error: attribute 'hans' missing
at /nix/store/j0ziw7wdvr1y1jgzg48zdafdskx4s1j7-source/happ.nix:23:18:
22| # This overrides all the "bundled" properties for the hApp manifest
23| hans = self'.packages.hans;
| ^
24| };
ELIFECYCLE Command failed with exit code 1.
ELIFECYCLE Test failed. See above for more details. Must be happening because I don't have the hc-infra pnpm. |
I still couldn't create the reproduction, but #199 should fix this issue. |
Still happening for me with holochain v0.3.0-beta-dev.45 and tryorama v0.16.0-dev.3.
In my experience, this does not happen if I run tryorama tests of only one file, only happens with multiple files, which is a long execution time. |
So is it vitest related? Has this ever worked? |
@guillemcordoba Does this still happen by the way? |
Yeap! Still happening with HC 0.3.1-rc.2 |
In a sample app scaffolded from the open-dev templates, when I run the tryorama tests, they all pass, but the process itself errors out because of weird websocket connection errors:
Tryorama v0.16.0-dev.2
The text was updated successfully, but these errors were encountered: