[MDBF-333] Buildbot: Save entire var/ contents when test fails Created: 2022-02-08 Updated: 2022-11-21 Resolved: 2022-11-21 |
|
| Status: | Closed |
| Project: | MariaDB Foundation Development |
| Component/s: | Buildbot |
| Affects Version/s: | N/A |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Vicențiu Ciorbaru | Assignee: | Vlad Bogolin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 1d | ||
| Original Estimate: | Not Specified | ||
| Description |
|
In order to help debug race conditions that happen sporadically, we need the contents of var/ directory to be saved. As this folder can be rather big, save it only when the run has failed. We can discuss smarter approaches later if space is a big issue. Identify a time frame for how long these files need to be stored. Comments: |
| Comments |
| Comment by Elena Stepanova [ 2022-02-08 ] | |
|
There are some things in vardir which can be removed before you archive it. They are either copies of files from elsewhere, or just useless.
| |
| Comment by Vlad Bogolin [ 2022-06-28 ] | |
|
One example of required file is:
Since this can be quite large, we probably need to define a separate service that uploads the files to make them available. Potential flow: 1. Buildbot creates the archive and stores it on the worker side. Problems: since the upload will not be made during the actual build step, there will be a timeframe where the link to download the archive does not work. | |
| Comment by Faustin Lammler [ 2022-06-29 ] | |
|
vladbogo I suggest we try to skip the 2/, since all workers are connected to BB master (wireguard), it should not be too difficult to make this available from ci.mariadb.org (or something else) with a nginx reverse proxy (or haproxy). So that would be: |