Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Jenkins Build: fails to load dependencies during build (edit)
  • From: Denis Roy <denis.roy@xxxxxxxxxxxxxxxxxxxxxx>
  • Date: Tue, 9 Apr 2019 09:26:32 -0400
  • Autocrypt: addr=denis.roy@xxxxxxxxxxxxxxxxxxxxxx; prefer-encrypt=mutual; keydata= mQENBFSQVYcBCACphCllQd59H3sF23T1XUD8h6pNPvRwuKKpfcwTAL7qe98PbMBQBLuy3ocj 04PcvlRj8lCR9JmChFc9V5Bi61MTdCrshEbiyomw/ZWdfFbmc4/rlMWg00gTO94SP0zMl96x np0aNi8cGwD258NUVD1+tlvraukr6yixD25qCGQ313lOO71l1R8eJun/Kx7SEFXtMFJ7Er4r /QnfFioFFwWGiUXbGhioCZhggQWnq3U+LOZzGKp0SuWSQuu0RzQB57Fy8EN2bmX61EKGaFnr TR/8yk8EdifupYgDc6XCxndktFJYFse4v4XQSPNIIUwcBT/Ji732xdXiR4YnL0SNAVBDABEB AAG0NkRlbmlzIFJveSAoRWNsaXBzZSkgPGRlbmlzLnJveUBlY2xpcHNlLWZvdW5kYXRpb24u b3JnPokBOAQTAQIAIgUCWWjoCAIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQQI23 cA21ZyMHGgf/THQqUR43XqUhSytf3q0Wmq1KBCDUpLXQYfpe1uh464robj4iUsoCMDhlEzbU uy0p+de87aVv68ZGRPOlz0oIt80NZbHxLErhunjFGhJvnw/V5jf2lYThiWysDcQMUSIGERuy 3wIyVFVF4RDZB4jjvrPvQ/dy+x+mN38t76C8x5sp4oup19sy9u4EUzPpEInBNs8ADoKO9kOl ZbTOkIFSqC4aI0yABRMbur+mks+b9IaVVQytK4zlzTROuBNHnjx6kgfAV5L8ezQpgBkVLrLw HwB+Rmsnx/qbRXrRmESiiD6aVQQntkfj0zXK/XzMpm1+9qxA8TBj6nFXo/ivNqDx7LkBDQRU kFWHAQgAy/xnfKzcxiCyHtP2a3mbRW04xMwDoLWj+3khfudiHgQWNLDiN/oTAJag5cOrh17L ewRDuhEctJ71Nb+bkMNHvJvq5KC0oB1x54ocQGa493Q/9irIYaEbXVcVqyggmTO6lPvLcA9+ mdQZNvfFlnxS05z+c2CvNNqhgrFU4xS6MTuGEA6oduha0mbDodPKNBh8MkL7OjlYO/44H4l0 MsBYJ57QhQqeOVv1C8Sc2hstk8ZcCc3G2W29Beh0Li5WFYf7F8L0JtxuDSLGisWJL5cAZvdE Zrd/BNAOE02+fANl9iYkX+pG1rjYMdtm/UpLo38jovcyWhOc+TE7qab72wO8iQARAQABiQEf BBgBAgAJBQJUkFWHAhsMAAoJEECNt3ANtWcjxEMH/Rer0weIKA1jV72FNQpHaKuGuUmqW6ak qQHSRKZEECjTa9E1M/Mvdr21qE/zYR7tFD9zc2wqhxBDBD8azKQLZo2TSTnqyUPdr2Dy3KFS FoavCvaVzEt7c3sA/TxXWXQhxGJL56yj2VZaF+k7j/DtYl6nG62bS0rQbg/3/RllmXa51QIT V5ZPnTo6NFJ5K3lbn7EoQbVT2LdkPmabPqw6DT+ZjQlJS3Q8iI0wSoS6r9D7QQG/VaeKGjoK TRDRn/5YUnof4vjpao8jIRMJ+5RBlRto96jwt7hfNm842GsqT4ddMyYmTLGnYLUae9rl2GmN ahBMbQ9PB8Ta/DeCpIxpOyk=
  • Delivered-to: cbi-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cbi-dev>
  • List-help: <mailto:cbi-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cbi-dev>, <mailto:cbi-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cbi-dev>, <mailto:cbi-dev-request@eclipse.org?subject=unsubscribe>
  • Openpgp: preference=signencrypt
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Apologies, I had replied to the wrong thread.

On your successful build, I see:

[INFO] Building de.cognicrypt.crysl.handler 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading from xtend: http://build.eclipse.org/common/xtend/maven/de/darmstadt/tu/crossing/CryptSL/de.darmstadt.tu.crossing.CryptSL/1.0.0-SNAPSHOT/maven-metadata.xml
[WARNING] Checksum validation failed, expected <!doctype but is c143977810d6345b60e0d28515110a949a29a3a8 from xtend for http://build.eclipse.org/common/xtend/maven/de/darmstadt/tu/crossing/CryptSL/de.darmstadt.tu.crossing.CryptSL/1.0.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not validate integrity of download from http://build.eclipse.org/common/xtend/maven/de/darmstadt/tu/crossing/CryptSL/de.darmstadt.tu.crossing.CryptSL/1.0.0-SNAPSHOT/maven-metadata.xml: Checksum validation failed, expected <!doctype but is c143977810d6345b60e0d28515110a949a29a3a8
[WARNING] Checksum validation failed, expected <!doctype but is c143977810d6345b60e0d28515110a949a29a3a8 from xtend for http://build.eclipse.org/common/xtend/maven/de/darmstadt/tu/crossing/CryptSL/de.darmstadt.tu.crossing.CryptSL/1.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from xtend: http://build.eclipse.org/common/xtend/maven/de/darmstadt/tu/crossing/CryptSL/de.darmstadt.tu.crossing.CryptSL/1.0.0-SNAPSHOT/maven-metadata.xml (1.2 kB at 355 B/s)
[WARNING] The metadata /var/lib/jenkins/.m2/repository/de/darmstadt/tu/crossing/CryptSL/de.darmstadt.tu.crossing.CryptSL/1.0.0-SNAPSHOT/maven-metadata-xtend.xml is invalid: unexpected markup <!d (position: START_DOCUMENT seen <!d... @1:3) 
[WARNING] The metadata /var/lib/jenkins/.m2/repository/de/darmstadt/tu/crossing/CryptSL/de.darmstadt.tu.crossing.CryptSL/1.0.0-SNAPSHOT/maven-metadata-xtend.xml is invalid: unexpected markup <!d (position: START_DOCUMENT seen <!d... @1:3) 

Notice the Validation Failed and Unexpected Markup.


On the failed build, I see:
[INFO] Building de.cognicrypt.crysl.handler 1.0.0-SNAPSHOT               [4/10]
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[DEBUG] Using transporter WagonTransporter with priority -1.0 for http://build.eclipse.org/common/xtend/maven/
[INFO] Downloading from xtend: http://build.eclipse.org/common/xtend/maven/de/darmstadt/tu/crossing/CryptSL/de.darmstadt.tu.crossing.CryptSL/1.0.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata de.darmstadt.tu.crossing.CryptSL:de.darmstadt.tu.crossing.CryptSL:1.0.0-SNAPSHOT/maven-metadata.xml from/to xtend (http://build.eclipse.org/common/xtend/maven/): eclipse.org: Name or service not known
[WARNING] Failure to transfer de.darmstadt.tu.crossing.CryptSL:de.darmstadt.tu.crossing.CryptSL:1.0.0-SNAPSHOT/maven-metadata.xml from http://build.eclipse.org/common/xtend/maven/ was cached in the local repository, resolution will not be reattempted until the update interval of xtend has elapsed or updates are forced. Original error: Could not transfer metadata de.darmstadt.tu.crossing.CryptSL:de.darmstadt.tu.crossing.CryptSL:1.0.0-SNAPSHOT/maven-metadata.xml from/to xtend (http://build.eclipse.org/common/xtend/maven/): eclipse.org: Name or service not known


In the end, this URL is a 404:

http://build.eclipse.org/common/xtend/maven/de/darmstadt/tu/crossing/CryptSL/de.darmstadt.tu.crossing.CryptSL/1.0.0-SNAPSHOT/maven-metadata.xml


I'm not sure why that succeeds on your end, because it never gets downloaded anyway. Perhaps one build job does not fail on warnings.

At any rate, obtaining Xtend from build.eclipse.org has to be severely outdated.


Denis



On 2019-04-08 6:32 a.m., Johannes Spaeth wrote:
Hi all,

we are trying to set up the official Eclipse Jenkins server for CogniCrypt. (https://jenkins.eclipse.org/cognicrypt/job/CogniCrypt/)

However the builds (
https://jenkins.eclipse.org/cognicrypt/job/CogniCrypt/69/console)  fails to load a dependencies:

[ERROR] Failed to execute goal on project de.cognicrypt.crysl.handler: Could not resolve dependencies for project de.cognicrypt:de.cognicrypt.crysl.handler:eclipse-plugin:1.0.0-SNAPSHOT: Failed to collect dependencies at de.darmstadt.tu.crossing.CryptSL:de.darmstadt.tu.crossing.CryptSL:jar:1.0.0-SNAPSHOT:Failed to read artifact descriptor for de.darmstadt.tu.crossing.CryptSL:de.darmstadt.tu.crossing.CryptSL:jar:1.0.0-SNAPSHOT:Could not transfer artifact de.darmstadt.tu.crossing.CryptSL:de.darmstadt.tu.crossing.CryptSL:pom:1.0.0-SNAPSHOTfrom/to xtend (
http://build.eclipse.org/common/xtend/maven/): eclipse.org: Unknown host eclipse.org -> [Help 1]

We have setup our own Jenkins server with the exact same configuration (
https://soot-build.cs.uni-paderborn.de/jenkins/job/boomerang/job/eclipse-cognicrypt/1/), and the build succeeds.

The error appears when fetching the artifact from
http://build.eclipse.org/common/xtend/maven/, however the jar is deployed to this repository: https://it.crossing.tu-darmstadt.de/cognicrypt, which is also mentioned in the pom.xml

Does anyone have an idea how to resolve the issue?

Thanks a lot.

Cheers,

Johannes
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cbi-dev
--

Denis Roy

Director, IT Services | Eclipse Foundation, Inc.

Eclipse Foundation: The Platform for Open Innovation and Collaboration

Twitter: @droy_eclipse


Back to the top