[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)

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