[Bugs] [Bug 1614062] Provide/preserve tarball of retried tests
bugzilla at redhat.com
bugzilla at redhat.com
Thu Aug 9 14:42:50 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1614062
Worker Ant <bugzilla-bot at gluster.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|POST |MODIFIED
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20682 committed in master by "Atin
Mukherjee" <amukherj at redhat.com> with a commit message- tests: Add ability to
preserve older tarball for retried tests
When a test is retried, the cleanup directives overwrite the
older tarball with the latest one, thus losing the logs from
the failed run.
This patch changes run-tests.sh to rename the older tarball
when retrying a test, thus preserving the same.
The tarball is renamed using a time stamp and optionally a
trailing sequence number, in case the test fails within the
very second. Although the sequence # is not strictly required
as we retry only once, it provides a defence for any future
enhancements to the same.
Fixes: bz#1614062
Change-Id: I9afe486b0b6f6a26f2ad0642e38bc0ba15b3ecc9
Signed-off-by: ShyamsundarR <srangana at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=uWm18LpqtD&a=cc_unsubscribe
More information about the Bugs
mailing list