Skip to content

Rust test lab #260

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

Merged
merged 18 commits into from
Jun 15, 2022
Merged

Rust test lab #260

merged 18 commits into from
Jun 15, 2022

Conversation

Alenar
Copy link
Collaborator

@Alenar Alenar commented Jun 13, 2022

Introduce the rust test lab:

  • "Only" adapt the part that run & check the mithril processes (Aggregator, Signer, Client)
  • The Haskell part still exist to launch the test network, the part checking the mithril process is replaced by a call to the rust e2e test runner.
  • Updated the CI to build the rust e2e binary within the existing matrix

see #248

@Alenar Alenar requested review from jpraynaud, a user and ghubertpalo June 13, 2022 14:43
@github-actions
Copy link

github-actions bot commented Jun 13, 2022

Unit Test Results

204 tests  +5   204 ✔️ +5   7m 30s ⏱️ +26s
  17 suites +3       0 💤 ±0 
    6 files   +1       0 ±0 

Results for commit 8782616. ± Comparison against base commit d4ad4b7.

♻️ This comment has been updated with latest results.

@Alenar Alenar force-pushed the djo/248-rust_test_lab branch 7 times, most recently from b58b3bc to 5b03950 Compare June 13, 2022 21:41
Alenar added 13 commits June 14, 2022 00:20
Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
* Refactor MithrilProcess into MithrilCommand to split build and run
* Add a Client to run the mithril client

Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
+ add a new error if the snapshot has not be downloaded when trying a
  restore

Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
* mithril-test-lab/mithril-end-to-end/ to mithril-test-lab/mithril-end-to-end-legacy/
* mithril-test-lab/mithril-end-to-end-rust/ to mithril-test-lab/mithril-end-to-end/

Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
Remove the Aggregator, Client & Signer code since they are now handled by the rust e2e runner.

Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
Signed-off-by: DJO <790521+Alenar@users.noreply.github.com>
@Alenar Alenar force-pushed the djo/248-rust_test_lab branch from 5b03950 to dbb67f5 Compare June 13, 2022 22:21
* always output logs if the test failed
* show a frame containing the process name when dumping logs
* write process logs synchronously so there's no logs from
  other sources stuck between dumped process logs.
@Alenar Alenar force-pushed the djo/248-rust_test_lab branch from f876e7f to e5e639c Compare June 14, 2022 10:21
Copy link
Member

@jpraynaud jpraynaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Alenar Alenar merged commit b9976b4 into main Jun 15, 2022
@Alenar Alenar deleted the djo/248-rust_test_lab branch June 15, 2022 07:48
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