Libelektra: Jenkins: Build Job for `master` Branch Fails

Created on 30 Jan 2019  ·  11Comments  ·  Source: ElektraInitiative/libelektra

Problem Description

I am not exactly sure why, but since one of the latest updates the build job for the master branch is “unstable”. As far as I can tell building the Debian package fails, although all subtasks of the stage “Build artifacts” seem to be successful.

bug build

Most helpful comment

I've created a separate directory for latest (docu from master build) (see #2347). This should fix the "Permission denied" problem.

All 11 comments

Thank you for reporting this problem! @kodebach is working on this, see #2350

@BernhardDenner @ingwinlu Do you have an idea why this job is unstable?

I thought that unstable refers to failing test cases but this does not seem to be the case?

Just a minor update: Currently the build for new pull requests is not unstable any more, but fails printing the following error message:

make[1]: Entering directory '/home/jenkins/workspace/libelektra_PR-2356-EN6GWJOR5VHPPOXXAYQ7ZKJOW5Z5GVNVM2BBC6LIIINSCUQMGGEQ/libelektra'
dh_install --list-missing
dh_install: Cannot find (any matches for) "usr/include/elektra/elektra/error.h" (tried in "." and "debian/tmp")
dh_install: libelektra-dev missing files: usr/include/elektra/elektra/error.h
dh_install: Cannot find (any matches for) "usr/include/elektra/elektra/errors.h" (tried in "." and "debian/tmp")
dh_install: libelektra-dev missing files: usr/include/elektra/elektra/errors.h
dh_install: Cannot find (any matches for) "usr/include/elektra/elektra/errorcodes.h" (tried in "." and "debian/tmp")
dh_install: libelektra-dev missing files: usr/include/elektra/elektra/errorcodes.h
dh_install: Cannot find (any matches for) "usr/include/elektra/elektra/types.h" (tried in "." and "debian/tmp")
dh_install: libelektra-dev missing files: usr/include/elektra/elektra/types.h
dh_install: Cannot find (any matches for) "usr/include/elektra/elektra/conversion.h" (tried in "." and "debian/tmp")
dh_install: libelektra-dev missing files: usr/include/elektra/elektra/conversion.h
dh_install: Cannot find (any matches for) "usr/lib/*/pkgconfig/elektra-highlevel.pc" (tried in "." and "debian/tmp")
dh_install: libelektra-dev missing files: usr/lib/*/pkgconfig/elektra-highlevel.pc
dh_install: usr/share/libelektra-test/test-data/yaypeg/comment.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/double_quoted_scalar.hpp exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/double_quoted_scalar.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/list-list_map-mixed_scalars.hpp exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/list-list_map-mixed_scalars.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/list-plain_scalars.hpp exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/list-plain_scalars.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/map-list-plain_scalars.hpp exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/map-list-plain_scalars.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/map-map-plain_scalars.hpp exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/map-map-plain_scalars.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/map-null.hpp exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/map-null.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/map-plain_scalar.hpp exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/map-plain_scalar.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/map-plain_scalars.hpp exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/map-plain_scalars.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/null.hpp exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/null.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/plain_scalar-word_chars.hpp exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/plain_scalar-word_chars.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/plain_scalar-word_chars_space.hpp exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/plain_scalar-word_chars_space.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/single_quoted_scalar.hpp exists in debian/tmp but is not installed to anywhere
dh_install: usr/share/libelektra-test/test-data/yaypeg/single_quoted_scalar.yaml exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/x86_64-linux-gnu/elektra4/libelektra-yaypeg.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/python2.7/site-packages/elektra_gen-0.8.25-py2.7.egg-info exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/python2.7/site-packages/support/c_elektra.py exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/python2.7/site-packages/support/c_elektra.pyc exists in debian/tmp but is not installed to anywhere
dh_install: usr/include/elektra/error.h exists in debian/tmp but is not installed to anywhere
dh_install: usr/include/elektra/errorcodes.h exists in debian/tmp but is not installed to anywhere
dh_install: usr/include/elektra/errors.h exists in debian/tmp but is not installed to anywhere
dh_install: usr/include/elektra/conversion.h exists in debian/tmp but is not installed to anywhere
dh_install: usr/include/elektra/types.h exists in debian/tmp but is not installed to anywhere
dh_install: missing files, aborting
debian/rules:71: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory '/home/jenkins/workspace/libelektra_PR-2356-EN6GWJOR5VHPPOXXAYQ7ZKJOW5Z5GVNVM2BBC6LIIINSCUQMGGEQ/libelektra'
debian/rules:56: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1116:
dpkg-buildpackage -rfakeroot -us -uc -i -I -sa failed
gbp:error: 'debuild -i -I -sa' failed: it exited with 25
script returned exit code 1

.

The error message is the expected behaviour until #2350 is merged, because some file where moved and the debian branch needed updates.

I merged #2350. Hopefully, master now gets stable again.

Seems like we have a different problem now:

https://build.libelektra.org/jenkins/blue/organizations/jenkins/libelektra/detail/master/373/pipeline

Seems like AddressSanitizer/LeakSanitizer now find problems.

@sanssecours It seems to occur since #2346?

@kodebach Why didn't it show up in your PR?

I triggered a rebuild. Maybe it is related to an upgrade in Debian unstable?

Maybe it is related to an upgrade in Debian unstable?

That would be my guess too.

In case #2359 isn't the solution to this problem: I built Elektra using scan-build and found quite a lot of problems, some of which are related to memleaks.

I think I found the problem. The build job doc (part of “Full builds”) fails in the step “Send build artifacts over SSH”:

SSH: Connecting from host [i7]
SSH: Connecting with configuration [doc.libelektra.org] ...
SSH: Disconnecting configuration [doc.libelektra.org] ...
ERROR: Exception when publishing, exception message [Permission denied]

.

@BernhardDenner Do you have an idea how this could have been happened and how to fix it?

Maybe fixing of the link (#2347) caused that? Or the changes because of the certificates?

I've created a separate directory for latest (docu from master build) (see #2347). This should fix the "Permission denied" problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

raphi011 picture raphi011  ·  32Comments

PhilippGackstatter picture PhilippGackstatter  ·  45Comments

sanssecours picture sanssecours  ·  28Comments

markus2330 picture markus2330  ·  585Comments

markus2330 picture markus2330  ·  49Comments