-
Notifications
You must be signed in to change notification settings - Fork 214
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
Windows tests are failing on hydra #1283
Comments
1536: Re-enable integration tests on Hydra r=rvl a=rvl # Issue Number Relates to #1283. # Overview - [x] Enable integration tests on Hydra for the Linux/macOS native builds. This marks the single failing test as pending. - [x] Enable integration tests under wine on Hydra for the windows cross build. - [x] Choose a unique pipe name acceptable to Windows. - [x] Enable line buffering mode for stdout so that you can see the test case names as they are running. - [ ] ~Get `cardano-wallet-byron:test:integration` passing under wine.~ - [x] Tested manually on real windows, and in CI ⇒ #1411. - [x] Remove a broken build job and put back others that I accidentally removed. # Comments - Hydra [required job](https://hydra.iohk.io/job/Cardano/cardano-wallet/required/latest-finished#tabs-constituents) - Note that integration tests are only ever run on non-PR builds (i.e. bors or master branch). - On GitHub CI windows, all integration tests pass. - On my Windows 10 VM, all integration tests pass except one: ``` Failures: test/integration/Test/Integration/Byron/Scenario/CLI/Transactions.hs:357:9: 1) API Specifications, BYRON_TXS_CLI, TRANS_DELETE_01a - Can forget pending tx, still it resolves when it is OK expected: ExitSuccess but got: ExitFailure 1 To rerun use: --match "/API Specifications/BYRON_TXS_CLI/TRANS_DELETE_01a - Can forget pending tx, still it resolves when it is OK/" ``` - On Wine they integration test suite never finishes and there are errors logged from cardano-node after every test case: ``` [localhos:cardano.node.LocalErrorPolicy:Error:46] [2020-04-02 15:48:57.01 UTC] {"event":"ErrorPolicyUnhandledApplicationException (MuxError {errorType = MuxIOException withIODataPtr (writeHandle): invalid argument (Error 0x13d), errorMsg = \"(writeHandle errored)\", errorStack = []})","kind":"ErrorPolicyTrace","address":"LocalAddress {getFilePath = \"\\\\\\\\.\\\\pipe\\\\cw-byron-bd9df28726c96ffa\"}"} [cardano-wallet.network:Warning:691] [2020-04-02 15:48:57.01 UTC] Connection lost with the node. withIODataPtr (readHandle): resource vanished (Broken pipe.) [cardano-wallet.wallet-engine:Error:290] [2020-04-02 15:48:57.01 UTC] a2bd5324: Unexpected error following the chain: ExceptionInLinkedThread ThreadId 691 (MuxError {errorType = MuxIOException withIODataPtr (readHandle): resource vanished (Broken pipe.), errorMsg = "(readHandle errored)", errorStack = []}) ``` This is most likely due to `ouroboros-network` not fully working under Wine. So we have to skip these tests on Hydra. Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: KtorZ <[email protected]>
1536: Re-enable integration tests on Hydra r=rvl a=rvl # Issue Number Relates to #1283. # Overview - [x] Enable integration tests on Hydra for the Linux/macOS native builds. This marks the single failing test as pending. - [x] Enable integration tests under wine on Hydra for the windows cross build. - [x] Choose a unique pipe name acceptable to Windows. - [x] Enable line buffering mode for stdout so that you can see the test case names as they are running. - [ ] ~Get `cardano-wallet-byron:test:integration` passing under wine.~ - [x] Tested manually on real windows, and in CI ⇒ #1411. - [x] Remove a broken build job and put back others that I accidentally removed. # Comments - Hydra [required job](https://hydra.iohk.io/job/Cardano/cardano-wallet-pr-1536/required/latest-finished#tabs-constituents) - Note that integration tests are only ever run on non-PR builds (i.e. bors or master branch). - On GitHub CI windows, all integration tests pass. - On my Windows 10 VM, all integration tests pass except one: ``` Failures: test/integration/Test/Integration/Byron/Scenario/CLI/Transactions.hs:357:9: 1) API Specifications, BYRON_TXS_CLI, TRANS_DELETE_01a - Can forget pending tx, still it resolves when it is OK expected: ExitSuccess but got: ExitFailure 1 To rerun use: --match "/API Specifications/BYRON_TXS_CLI/TRANS_DELETE_01a - Can forget pending tx, still it resolves when it is OK/" ``` - On Wine they integration test suite never finishes and there are errors logged from cardano-node after every test case: ``` [localhos:cardano.node.LocalErrorPolicy:Error:46] [2020-04-02 15:48:57.01 UTC] {"event":"ErrorPolicyUnhandledApplicationException (MuxError {errorType = MuxIOException withIODataPtr (writeHandle): invalid argument (Error 0x13d), errorMsg = \"(writeHandle errored)\", errorStack = []})","kind":"ErrorPolicyTrace","address":"LocalAddress {getFilePath = \"\\\\\\\\.\\\\pipe\\\\cw-byron-bd9df28726c96ffa\"}"} [cardano-wallet.network:Warning:691] [2020-04-02 15:48:57.01 UTC] Connection lost with the node. withIODataPtr (readHandle): resource vanished (Broken pipe.) [cardano-wallet.wallet-engine:Error:290] [2020-04-02 15:48:57.01 UTC] a2bd5324: Unexpected error following the chain: ExceptionInLinkedThread ThreadId 691 (MuxError {errorType = MuxIOException withIODataPtr (readHandle): resource vanished (Broken pipe.), errorMsg = "(readHandle errored)", errorStack = []}) ``` This is most likely due to `ouroboros-network` not fully working under Wine. So we have to skip these tests on Hydra. Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: KtorZ <[email protected]>
1411: Add GitHub workflow for running Windows tests nightly r=rvl a=rvl # Issue Number Relates to #1283 # Overview Runs the prebuilt Windows tests on Windows Server 2016. This is run nightly for the master branch. The wine tests can be run on every PR. # Comments - There is a test failure which will disappear when we sort out #1373. - Other tests failures were resolved by #1536. - For testing purposes, I temporarily added the "push" build trigger. Roll back the temporary git commit before merging. - The launcher unit tests fail on GitHub CI but pass locally on Windows. Not sure why. - The test suites `cardano-wallet-launcher:unit` and `cardano-wallet-jormungandr:integration` are set to "continue-on-error" - meaning failures are ignored. 1530: Add latency benchmark for byron r=paweljakubas a=paweljakubas # Issue Number #1527 # Overview - [x] I have added first benchmark that works with just one scenario inside - [x] I have extended scenario with all endpoints to be tested - [x] I have enabled testing for both icarus and random wallets - [x] I have added more benchmarks conditions (txs and utxos) - [x] I have added the benchmark to nightly # Comments - Manual build on Buildkite: [cardano-wallet-nightly](https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds?branch=paweljakubas%2F1527%2Fadd-latency-benchmark-for-byron) 1543: Better error message when trying to generate address on icarus wallet. r=piotr-iohk a=piotr-iohk # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> # Overview - e3d6036 Better error message when trying to generate address on icarus wallet. # Comments Was: ``` $ cardano-wallet-byron address create 3fe1acf86fefbf66b7481470ea81244eadde079d Please enter your passphrase: ***************** It looks like something unexpected went wrong. Unfortunately I don't yet know how to handle this type of situation. Here's some information about what happened: ``` is: ``` $ cardano-wallet-byron address create 3fe1acf86fefbf66b7481470ea81244eadde079d Please enter your passphrase: ***************** I cannot derive new unused address for this wallet type. Make sure to use Byron random wallet id. Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Pawel Jakubas <[email protected]> Co-authored-by: IOHK <[email protected]> Co-authored-by: Piotr Stachyra <[email protected]>
1411: Add GitHub workflow for running Windows tests nightly r=rvl a=rvl # Issue Number Relates to #1283 # Overview Runs the prebuilt Windows tests on Windows Server 2016. This is run nightly for the master branch. The wine tests can be run on every PR. # Comments - There is a test failure which will disappear when we sort out #1373. - Other tests failures were resolved by #1536. - For testing purposes, I temporarily added the "push" build trigger. Roll back the temporary git commit before merging. - The launcher unit tests fail on GitHub CI but pass locally on Windows. Not sure why. - The test suites `cardano-wallet-launcher:unit` and `cardano-wallet-jormungandr:integration` are set to "continue-on-error" - meaning failures are ignored. 1530: Add latency benchmark for byron r=paweljakubas a=paweljakubas # Issue Number #1527 # Overview - [x] I have added first benchmark that works with just one scenario inside - [x] I have extended scenario with all endpoints to be tested - [x] I have enabled testing for both icarus and random wallets - [x] I have added more benchmarks conditions (txs and utxos) - [x] I have added the benchmark to nightly # Comments - Manual build on Buildkite: [cardano-wallet-nightly](https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds?branch=paweljakubas%2F1527%2Fadd-latency-benchmark-for-byron) 1543: Better error message when trying to generate address on icarus wallet. r=piotr-iohk a=piotr-iohk # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> # Overview - e3d6036 Better error message when trying to generate address on icarus wallet. # Comments Was: ``` $ cardano-wallet-byron address create 3fe1acf86fefbf66b7481470ea81244eadde079d Please enter your passphrase: ***************** It looks like something unexpected went wrong. Unfortunately I don't yet know how to handle this type of situation. Here's some information about what happened: ``` is: ``` $ cardano-wallet-byron address create 3fe1acf86fefbf66b7481470ea81244eadde079d Please enter your passphrase: ***************** I cannot derive new unused address for this wallet type. Make sure to use Byron random wallet id. Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Pawel Jakubas <[email protected]> Co-authored-by: IOHK <[email protected]> Co-authored-by: Piotr Stachyra <[email protected]>
Still failing on Hydra:
I don't quite know why do we have all the And I also don't know what "stackShell" is for. Any idea @rvl ? |
1466: Fix jormungandr integration tests on Windows and Wine. r=rvl a=rvl ### Issue number #1283 ### Overview - [x] Fix stuck jormungandr process in launcher cli integration tests on windows. Co-authored-by: Rodney Lorrimar <[email protected]>
The Hydra The The I have opened a PR to make all failing jobs either green or disabled ⇒ #1566. |
1566: Make all hydra jobs green r=rvl a=rvl # Issue Number Relates to #1283 # Overview Currently, all constituents of the [`required` job](https://hydra.iohk.io/job/Cardano/cardano-wallet/required/latest-finished#tabs-constituents) pass, but not all jobs in the main jobset pass. This PR will either fix or disable the red jobs. # Comments [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-1566#tabs-jobs) Failing jobs which depend on SRE-83 / IntersectMBO/cardano-node#800: - `musl64.benchmarks.cardano-wallet-byron.latency.x86_64-linux` - `musl64.benchmarks.cardano-wallet-byron.restore.x86_64-linux` - `musl64.cardano-node.x86_64-linux` - `musl64.db-converter.x86_64-linux` - `musl64.tests.cardano-wallet-byron.integration.x86_64-linux` - `musl64.tests.cardano-wallet-jormungandr.jormungandr-integration.x86_64-linux` Fixed jobs: - [x] `native.stackShell.x86_64-darwin` - [x] `musl64.benchmarks.cardano-wallet-jormungandr.latency.x86_64-linux` - [x] `musl64.tests.cardano-wallet-jormungandr.jormungandr-integration.x86_64-linux` - [x] `musl64.tests.cardano-wallet*` - [x] `musl64.benchmarks.cardano-wallet*` Disabled jobs: - [x] `musl64.migration-tests.x86_64-linux` Co-authored-by: Rodney Lorrimar <[email protected]>
LGTM. |
Context
Integration and unit tests are now running in Hydra:
#703 (comment)
Although all integration and unit tests area passing on Windows when running locally:
#1115 (comment)
Some jobs are still failing on Hydra:
Unit:
cardano-wallet-launcher.unit
e.g. https://hydra.iohk.io/build/1585119
cardano-wallet-core
e.g. https://hydra.iohk.io/build/1585086
Integration:
e.g. https://hydra.iohk.io/build/1585087
Test Case
Unit:
cardano-wallet-launcher.unit
e.g. https://hydra.iohk.io/build/1585119
cardano-wallet-core
e.g. https://hydra.iohk.io/build/1585086
Integration:
e.g. https://hydra.iohk.io/build/1585087
Failure / Counter-example
Resolution
QA
The text was updated successfully, but these errors were encountered: