Bug #5642
closed(Jenkins) Collect artifacts on master build failures
100%
Description
Today we had an issue where a master-libosmocore job failed with a segfault:
https://jenkins.osmocom.org/jenkins/view/master/job/master-libosmocore/2898/a2=default,a3=default,a4=default,arch=amd64,label=osmocom-master-debian9/consoleFull
ERROR: files left in build directory after distclean: ./tests/core make[1]: Leaving directory '/build/libosmocore-1.7.0.26-862dd/_build/sub' make[1]: *** [Makefile:1010: distcleancheck] Error 1 make: *** [Makefile:941: distcheck] Error 1
It would be nice to archive some artifacts in case of build failures. Especially core files that may exist, but probably also the (auto)test logs.
Related issues
Updated by fixeria over 1 year ago
For the record, today I saw another job master-osmo-msc
also failed with a segfault:
https://jenkins.osmocom.org/jenkins/view/master/job/master-osmo-msc/31982/
https://jenkins.osmocom.org/jenkins/view/master/job/master-osmo-msc/31982/IU=--disable-iu,WITH_MANUALS=1,a3=default,a4=default,label=osmocom-master-debian9/console
make[2]: Leaving directory '/build/osmo-msc-1.9.0.16-62977/_build/sub/tests' make[2]: Entering directory '/build/osmo-msc-1.9.0.16-62977/_build/sub' rm -rf .libs _libs rm -f *.lo test -z "" || rm -f rm -f config.h stamp-h1 test . = "../.." || test -z "" || rm -f rm -f libtool config.lt rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f cscope.out cscope.in.out cscope.po.out cscope.files make[2]: Leaving directory '/build/osmo-msc-1.9.0.16-62977/_build/sub' rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile ERROR: files left in build directory after distclean: ./core make[1]: *** [Makefile:756: distcleancheck] Error 1 make[1]: Leaving directory '/build/osmo-msc-1.9.0.16-62977/_build/sub' make: *** [Makefile:687: distcheck] Error 1 + cat-testlogs.sh Build step 'Execute shell' marked build as failure
Updated by fixeria over 1 year ago
Similarly, master-osmo-bsc
failed with a segfault on Aug 6th:
https://jenkins.osmocom.org/jenkins/view/master/job/master-osmo-bsc/18754/
https://jenkins.osmocom.org/jenkins/view/master/job/master-osmo-bsc/18754/a1=default,a2=default,a3=default,a4=default,label=osmocom-master-debian9/console
Updated by osmith over 1 year ago
- Status changed from New to In Progress
- % Done changed from 0 to 90
Updated by osmith over 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
Applied in changeset osmo-ci|71bafe74d350ae17d119bcedb9e0d3575f4a64a0.
Updated by fixeria over 1 year ago
- Related to Bug #5665: ERROR: files left in build directory after distclean: ./tests/core added