Skip to content
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

Fix jormungandr integration tests on Windows and Wine. #1466

Merged
merged 1 commit into from
Apr 9, 2020

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Mar 20, 2020

Issue number

#1283

Overview

  • Fix stuck jormungandr process in launcher cli integration tests on windows.

@rvl rvl self-assigned this Mar 20, 2020
@rvl rvl force-pushed the rvl/1283/wintegration-tests branch from 6ad3c9d to 2175d09 Compare March 20, 2020 07:39
@rvl rvl mentioned this pull request Mar 20, 2020
11 tasks
@KtorZ
Copy link
Member

KtorZ commented Mar 20, 2020

How come this was passing before?

@rvl
Copy link
Contributor Author

rvl commented Mar 24, 2020

How come this was passing before?

@KtorZ These tests were not testing whether the node was working correctly, just that it was running. What happens when the --config file is missing is that jormungandr loops indefinitely printing this message:

Mar 19 23:15:23.900 ERRO trusted-peers cannot be empty. to avoid bootstrap use 'skip_bootstrap: true', task: bootstrap
Mar 19 23:15:23.900 INFO bootstrap attempt #1 failed, trying again in 5 seconds..., task: bootstrap

Why these tests do not exit under this circumstance, I do not know, and at this stage we probably don't need to know...

It was failing with this message printed repeatedly:

    Mar 19 23:15:23.900 ERRO trusted-peers cannot be empty. to avoid bootstrap use 'skip_bootstrap: true', task: bootstrap
    Mar 19 23:15:23.900 INFO bootstrap attempt #1 failed, trying again in 5 seconds..., task: bootstrap

Then jormungandr would never exit.
@rvl rvl force-pushed the rvl/1283/wintegration-tests branch from 2175d09 to d44cc95 Compare March 31, 2020 14:44
@rvl rvl marked this pull request as ready for review March 31, 2020 14:44
@rvl rvl changed the title Fix integration tests on Windows and Wine. Fix jormungandr integration tests on Windows and Wine. Apr 2, 2020
@Anviking
Copy link
Member

Anviking commented Apr 7, 2020

Is this still failing? I cannot find a recent run of the jormungandr integration tests

Skärmavbild 2020-04-07 kl  13 24 08

@rvl
Copy link
Contributor Author

rvl commented Apr 7, 2020

It would probably still be failing except that I removed jormungandr integration tests from Hydra because we are not running them on Buildkite either.
Whether we merge or close this probably doesn't make much difference.

@rvl
Copy link
Contributor Author

rvl commented Apr 9, 2020

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Apr 9, 2020

@iohk-bors iohk-bors bot merged commit 5c3bc11 into master Apr 9, 2020
@iohk-bors iohk-bors bot deleted the rvl/1283/wintegration-tests branch April 9, 2020 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants