Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins: Build Job for master Branch Fails #2351

Closed
sanssecours opened this issue Jan 30, 2019 · 11 comments
Closed

Jenkins: Build Job for master Branch Fails #2351

sanssecours opened this issue Jan 30, 2019 · 11 comments
Milestone

Comments

@sanssecours
Copy link
Member

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.

@sanssecours sanssecours added this to the 0.8.26 milestone Jan 30, 2019
@markus2330
Copy link
Contributor

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

@markus2330
Copy link
Contributor

@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?

@sanssecours
Copy link
Member Author

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

.

@kodebach
Copy link
Member

kodebach commented Feb 1, 2019

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

@markus2330
Copy link
Contributor

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

@markus2330
Copy link
Contributor

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?

@sanssecours
Copy link
Member Author

Maybe it is related to an upgrade in Debian unstable?

That would be my guess too.

@kodebach
Copy link
Member

kodebach commented Feb 1, 2019

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.

@sanssecours
Copy link
Member Author

sanssecours commented Feb 1, 2019

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]

.

@markus2330
Copy link
Contributor

@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?

@BernhardDenner
Copy link
Collaborator

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

BernhardDenner added a commit that referenced this issue Feb 2, 2019
This reverts commit 0fc9f65.

Fixed the "Permission denied" issue when publishing the built docu.

#2351 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants