Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Consider a test as 'flaky' if it was restarted at least 1 time and eventually passed. Print the number of flaked tests and the corresponding info in statistics. * Collect logs of such tests into the 'artifacts' directory, along with logs of failed tests. Example: $ ./test-run.py --force replication-luatest/ Started ./test-run.py --force replication-luatest/ Running in parallel with 16 workers ... <other tests> [016] replication-luatest/gh_6033_box_promote_demote> [ pass ] [014] replication-luatest/gh_5418_qsync_with_anon_te> [ pass ] [012] replication-luatest/quorum_misc_test.lua [ pass ] [005] replication-luatest/linearizable_test.lua [ fail ] ... <traceback> [005] Test "replication-luatest/linearizable_test.lua", conf: "None" [005] failed, rerunning ... [005] replication-luatest/linearizable_test.lua [ pass ] --------------------------------------------------------------------------------- Top 10 longest tests (seconds): * 67.86 replication-luatest/quorum_orphan_test.lua * 26.00 replication-luatest/quorum_misc_test.lua * 15.59 replication-luatest/gh_5418_qsync_with_anon_test.lua * 13.39 replication-luatest/election_fencing_test.lua * 9.77 replication-luatest/gh_5295_split_brain_test.lua * 6.95 replication-luatest/no_quorum_test.lua * 6.29 replication-luatest/bootstrap_strategy_auto_test.lua * 6.26 replication-luatest/gh_5568_read_only_reason_test.lua * 5.31 replication-luatest/gh_7253_election_long_wal_write_test.lua * 5.13 replication-luatest/gh_7086_box_issue_promote_assert_test.lua --------------------------------------------------------------------------------- Statistics: * pass: 37 (flaky: 1) Flaked tasks: - [replication-luatest/linearizable_test.lua, null] # logfile: /private/tmp/t/log/005_replication-luatest.log # reproduce file: /private/tmp/t/reproduce/005_replication-luatest.list.yaml $ ls /tmp/t/artifacts/ 005_replication-luatest/ log/ reproduce/ statistics/
- Loading branch information
Showing
3 changed files
with
69 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters