Project

General

Profile

Actions

Bug #5642

closed

(Jenkins) Collect artifacts on master build failures

Added by daniel 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/09/2022
Due date:
% Done:

100%

Spec Reference:

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

Related to Core testing infrastructure - Bug #5665: ERROR: files left in build directory after distclean: ./tests/coreNewfixeria08/28/2022

Actions
Actions #1

Updated by fixeria 4 months 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
Actions #3

Updated by osmith 3 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90
Actions #4

Updated by osmith 3 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions #5

Updated by fixeria 3 months ago

  • Related to Bug #5665: ERROR: files left in build directory after distclean: ./tests/core added
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)