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

[Travis] Show functional tests progress #943

Merged

Conversation

Projects
None yet
6 participants
@Warrows
Copy link
Collaborator

commented Jul 7, 2019

Backport of bitcoin#14504, bitcoin#14569 and bitcoin#15466.
This should help to see which test takes too long or blocks travis when it hangs because of the 50 minutes limit.

isghe and others added some commits Oct 17, 2018

show the progress of functional test
example (added the progress index `n/m`)
```
1/107 - wallet_hd.py passed, Duration: 27 s
.........................................................................................
2/107 - mining_getblocktemplate_longpoll.py passed, Duration: 72 s
..................................................................
3/107 - feature_maxuploadtarget.py passed, Duration: 78 s
```

- clear dots line
```
$ test/functional/test_runner.py -t can_trash
Temporary test directory at can_trash/test_runner_₿_🏃_20181018_220600
1/105 - wallet_hd.py passed, Duration: 21 s
2/105 - mining_getblocktemplate_longpoll.py passed, Duration: 71 s
3/105 - feature_maxuploadtarget.py passed, Duration: 68 s
..................
```

- don't print the `dot` progressive if `--quiet`

- done_str
- nothing commit to check again travis tests
tests: Print remaining jobs in test_runner.py
This helps finding out which tests fail to finish.

@Warrows Warrows self-assigned this Jul 7, 2019

@Fuzzbawls

This comment has been minimized.

Copy link
Collaborator

commented Jul 7, 2019

utACK ae0b4d0

Warrows and others added some commits Jul 9, 2019

@Warrows Warrows changed the title [Travis] Show functional tests progress [WIP] [Travis] Show functional tests progress Jul 9, 2019

@Warrows

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 9, 2019

Added backport of bitcoin#16214

[Travis] Give more time to tests
Travis was regularly failing because the full test suite with coverage
takestoo much time.
Bitcoin has some optimisations in there which allows them to give less
time to the test part of the process. We don't so until we do, we have
to reserve more time. We will probably have to restart manually more
travis jobs but that's the only way to have them run to the end.

@Warrows Warrows changed the title [WIP] [Travis] Show functional tests progress [Travis] Show functional tests progress Jul 9, 2019

@Warrows

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 9, 2019

This is good to go now. This should avoid seeing travis build fail at the 50mn mark with no way to get them to succeed.

@Fuzzbawls

This comment has been minimized.

Copy link
Collaborator

commented Jul 11, 2019

ACK 5fbf26c

@Fuzzbawls Fuzzbawls merged commit 5fbf26c into PIVX-Project:master Jul 11, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

Fuzzbawls added a commit that referenced this pull request Jul 11, 2019

Merge #943: [Travis] Show functional tests progress
5fbf26c [Travis] Give more time to tests (warrows)
1aa76d0 travis: Use absolute paths for cache dirs (MarcoFalke)
1fa0bf3 travis: Fix caching issues (MarcoFalke)
e4945a2 [Travis] Log more info (warrows)
ae0b4d0 tests: Print remaining jobs in test_runner.py (Steven Roose)
a57939f tests: Print dots by default (Chun Kuan Lee)
cde9d13 show the progress of functional test (Isidoro Ghezzi)

Pull request description:

  Backport of bitcoin#14504, bitcoin#14569 and bitcoin#15466.
  This should help to see which test takes too long or blocks travis when it hangs because of the 50 minutes limit.

ACKs for commit 5fbf26:
  Fuzzbawls:
    ACK 5fbf26c

Tree-SHA512: 0c2bebd8f160e2c6358a598f3cf95c3451068af1b5e269d79366fe890f9609c140555cb182f0f4563dac35a0a433556eaf06e4a45865fd55bdd357130acc1d2c

@Warrows Warrows deleted the Warrows:2019_travis_log-current-functional-test branch Jul 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.