Closed vvv closed 5 years ago
@vvv see this example of a failed job, halon.decision.log
is there among the collected artifacts:
http://gitlab.mero.colo.seagate.com/mero/halon/-/jobs/4715/artifacts/browse
resolved all discussions
OK, this makes sense.
currently, halon.decision.log
will be saved as job artifact only for failed jobs, because in such cases halon-cleanup
service doesn't get to remove the logs on the VM
@vvv that's because it's removed at the end of every h0 run-st
test by halon-cleanup
service:
cmu halon-cleanup[7848]: Removing /var/log/halon.decision.log
cmu halon-cleanup[7848]: Removing /var/log/halon.trace.log
so there is nothing to fetch from VM when after_script
is executed
merged
$ unzip -l halon_job_4610__ST_singlenode__logs.zip
Archive: halon_job_4610__ST_singlenode__logs.zip
Length Date Time Name
--------- ---------- ----- ----
366266 03-13-2019 00:18 st-single_syslog.log
--------- -------
366266 1 file
$ unzip -l halon_job_4611__ST_multinode__logs.zip
Archive: halon_job_4611__ST_multinode__logs.zip
Length Date Time Name
--------- ---------- ----- ----
207051 03-13-2019 00:25 st-multi_syslog.log
--------- -------
207051 1 file
@dmitriy.chumak halon.decision.log
is missing.
mentioned in merge request #1534
looks good, will merge after checking artifacts archive naming, after pipeline has completed
added 1 commit
This fixes 7de80de34ec39b9342094f605c380e910fadcaa0.