Libelektra: Jenkins: Build Job für `Master` Branch schlägt fehl

Erstellt am 30. Jan. 2019  ·  11Kommentare  ·  Quelle: ElektraInitiative/libelektra

Problembeschreibung

Ich bin mir nicht ganz sicher, warum, aber seit einem der neuesten Updates ist der Build-Job für den Zweig master "instabil" . Soweit ich das beurteilen kann, schlägt das Erstellen des Debian-Pakets fehl, obwohl alle Unteraufgaben der Phase „Build-Artefakte“ erfolgreich zu sein scheinen.

bug build

Hilfreichster Kommentar

Ich habe ein separates Verzeichnis für latest (Dokument aus Master Build) erstellt (siehe # 2347). Dies sollte das Problem "Berechtigung verweigert" beheben.

Alle 11 Kommentare

Vielen Dank, dass Sie dieses Problem gemeldet haben! @kodebach arbeitet daran, siehe # 2350

@BernhardDenner @ingwinlu Haben Sie eine Idee, warum dieser Job instabil ist?

Ich dachte, dass instabil sich auf fehlgeschlagene Testfälle bezieht, aber dies scheint nicht der Fall zu sein?

Nur ein kleines Update: Derzeit ist der Build für neue Pull-Anforderungen nicht mehr instabil, kann jedoch die folgende Fehlermeldung nicht drucken :

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

.

Die Fehlermeldung ist das erwartete Verhalten, bis # 2350 zusammengeführt wird, da einige Dateien verschoben wurden und der Debian-Zweig aktualisiert werden musste.

Ich habe # 2350 zusammengeführt. Hoffentlich wird der Meister jetzt wieder stabil.

Scheint, als hätten wir jetzt ein anderes Problem:

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

Es scheint, als ob AddressSanitizer / LeakSanitizer jetzt Probleme finden.

@sanssecours Es scheint seit # 2346 aufzutreten?

@kodebach Warum ist es nicht in deiner PR

Ich habe einen Umbau ausgelöst. Vielleicht hängt es mit einem Upgrade in Debian instabil zusammen?

Vielleicht hängt es mit einem Upgrade in Debian instabil zusammen?

Das wäre auch meine Vermutung.

Für den Fall, dass # 2359 nicht die Lösung für dieses Problem ist: Ich habe Elektra mit scan-build und eine ganze Reihe von Problemen gefunden , von denen einige mit Memleaks zusammenhängen.

Ich glaube, ich habe das Problem gefunden. Der Build-Job doc (Teil von "Vollständige Builds") schlägt im Schritt "Build-Artefakte über SSH senden "

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 Hast du eine Idee, wie das hätte passieren können und wie man es behebt?

Vielleicht hat das das Reparieren des Links (# 2347) verursacht? Oder die Änderungen aufgrund der Zertifikate?

Ich habe ein separates Verzeichnis für latest (Dokument aus Master Build) erstellt (siehe # 2347). Dies sollte das Problem "Berechtigung verweigert" beheben.

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen

Verwandte Themen

mpranj picture mpranj  ·  3Kommentare

e1528532 picture e1528532  ·  4Kommentare

mpranj picture mpranj  ·  4Kommentare

dominicjaeger picture dominicjaeger  ·  3Kommentare

sanssecours picture sanssecours  ·  4Kommentare