MDBF-1124 Extend MTRTest _save_logs() in master-migration config - #844
Conversation
483a4b3 to
8bd1cb2
Compare
8bd1cb2 to
4c15770
Compare
|
@grooverdan Saving cores + plugins + mariadbd scenario: https://buildbot.dev.mariadb.org/#/builders/535/builds/11 First case,
Second case:
|
480bf6d to
4339b26
Compare
|
@fauust this patch will save more artifacts to help developers debug. When at least one
The first two are required so developers can effectively analyse the If you want and have time, have a look at this patch.
So please let me know if you have any concerns with the overall storage capabilities of |
4339b26 to
291606f
Compare
|
Asking a How to save the plugins when running from the installed tree? E.g. https://buildbot.dev.mariadb.org/#/builders/573/builds/28
plugin_dir=$( [ -d /usr/lib/mysql/plugin ] && echo /usr/lib/mysql/plugin || echo "$vardir/plugins" )then Suggestions welcomed. |
I'm very happy, I was stuck how to reference the mariadbd in its number of variants without breaking some boundaries within the code.
If its an install tree, then there are packages already, and those can be used to pull the binaries. So I don't think this case needs to be considered. |
grooverdan
left a comment
There was a problem hiding this comment.
one minor correction (of mine) other great!
@grooverdan Currently, on the existing release builders, even if the builders that trigger 'autobake' have a failed test, the packages will still be published. In order to have the plugins available as packages, we would have to continue accepting this behavior. Back to the scope of this patch, |
1856b55 to
68a4a1c
Compare
[1] compress core files generated by mtr [2] save mariadbd binary if core files were generated [3] save plugins .so files if core files were generated Note on [1]: By doing exec false, find will return non-0 on there being matches and then tar can save the plugins, de-referencing the list of symlinks make by mtr.
68a4a1c to
61e8952
Compare


gzip isn't the fasted but its available. And there's no parallel here, hopefully max-test fail limits cores that way, but heres the test and outcome: