-
Notifications
You must be signed in to change notification settings - Fork 214
Integration Test Failure in pab-executables #473
Comments
Hi @koslambrou, thanks for working on this! I went to run the the tests after pulling in the latest Specifically, when I run
I have left the test running for an hour, and it does not seem to progress past this point. Is this expected, or am I doing something wrong? Thanks! |
@tbidne You're right, it doesn't work. I'm working on a PR right now which needs the |
Thank you! |
@koslambrou I still see the same issue i.e. endless |
@tbidne Did you pull from
|
@koslambrou apologies, I thought I posted a response. I am afraid I see the same behavior. Endless logs like:
I can in fact start the test:
However I never see it finish, presumably due to the chain index syncing. This is on the latest |
Summary
The integration test as described in
plutus-apps/plutus-pab-executables
fails. I believe this is the cause of #451.Steps to reproduce the behavior
Copying these instructions from the README:
Clone https://github.com/input-output-hk/cardano-wallet/ to $DIR and set the
SHELLEY_TEST_DATA
environment variable:Wait until the message
Starting PAB backend server on port 9080
appears.Run the integration test:
Actual Result
Error in logs:
Expected Result
From the README:
In particular, this is what successful logs look like:
Describe the approach you would take to fix this
I performed a bisection and obtained the following results. Unfortunately the tests fail in several different ways depending on the hash, so there are multiple "causes" to look at.
First, the last commit that works for me is 7f543e2. The integration test passes as expected.
1st Error
Starting with 93f6293, I no longer see the success message
Integration test complete
. Note: I do not see an error, either. Instead, I see continuous logs like:Perhaps it would finish if I waited long enough.
2nd Error
The behavior changes with 63deb7d. Instead of hanging, I see:
I tried the migrations described in the same README i.e.
cabal exec plutus-pab-examples -- migrate --config plutus-pab.yaml.sample
But I receive the same result.
3rd (Current) Error
Finally, we have the cause of the current issue: ffa0cd4. This leads to the
TxOutRefNotFound
error.Is this a bug? Or does the documentation need to be updated? Incidentally, I wonder if the setup for
export SHELLEY_TEST_DATA=...
should be changed to useplutus-pab/local-cluster/cluster-data/cardano-node-shelley
instead ofcardano-wallet/...
. It's unclear to me why the data dir in this repository is not sufficient (indeed it appears to work, the problems in this issue notwithstanding).System info
OS: NixOS (nix 2.7.0)
Plutus:
main
(37c54aa)The text was updated successfully, but these errors were encountered: