[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jdt-dev] builds not feeling well? --- org.eclipse.tycho:tycho-surefire-plugin:3.0.0-SNAPSHOT ??
|
I have a pull request [1] that's stuck with failing builds for some days now [2].
It fails with a dependency problem not during compilation but when trying to
launch tests:
12:27:11 [ERROR] Failed to execute goal
org.eclipse.tycho:tycho-surefire-plugin:3.0.0-SNAPSHOT:test (default-test) on
project org.eclipse.jdt.core.tests.compiler: Execution default-test of goal
org.eclipse.tycho:tycho-surefire-plugin:3.0.0-SNAPSHOT:test failed: Cannot
resolve dependencies of MavenProject:
org.eclipse.jdt:org.eclipse.jdt.core.tests.compiler:3.12.2000-SNAPSHOT @
/home/jenkins/agent/workspace/eclipse.jdt.core-Github_PR-203/org.eclipse.jdt.core.tests.compiler/pom.xml:
See log for details -> [Help 1]
Earlier in the logs I find:
12:25:32 [INFO] --- tycho-p2-plugin:3.0.0-SNAPSHOT:p2-metadata-default
(default-p2-metadata-default) @ org.eclipse.jdt.core.tests.compiler ---
12:25:33 [WARNING] MavenProject:
org.eclipse.jdt:org.eclipse.jdt.core.tests.compiler:3.12.2000-SNAPSHOT @
/home/jenkins/agent/workspace/eclipse.jdt.core-Github_PR-203/org.eclipse.jdt.core.tests.compiler/pom.xml:
baseline and build artifacts have same version but different contents
12:25:33 classifier-sources: not present in baseline
12:25:33
12:25:33 [INFO] MavenProject:
org.eclipse.jdt:org.eclipse.jdt.core.tests.compiler:3.12.2000-SNAPSHOT @
/home/jenkins/agent/workspace/eclipse.jdt.core-Github_PR-203/org.eclipse.jdt.core.tests.compiler/pom.xml
12:25:33 The main artifact has been replaced with the baseline version.
12:25:33 The following attached artifacts are not present in the baseline
and have been removed: [sources]
"same version" looks wrong, as the test plugin has increased version in 4.25
already [3]
The logs continue:
12:25:33 [INFO] --- tycho-surefire-plugin:3.0.0-SNAPSHOT:test (default-test) @
org.eclipse.jdt.core.tests.compiler ---
12:25:33 [INFO] {osgi.os=linux, osgi.ws=gtk,
org.eclipse.update.install.features=true, osgi.arch=x86_64}
12:25:33 [ERROR] Cannot resolve project dependencies:
12:25:33 [ERROR] Software being installed:
org.eclipse.jdt.core.tests.compiler 3.12.2000.qualifier
12:25:33 [ERROR] Missing requirement: org.eclipse.jdt.core.tests.compiler
3.12.2000.qualifier requires 'osgi.bundle; org.eclipse.jdt.annotation
[2.0.0,3.0.0)' but it could not be found
Needless to say that org.eclipse.jdt.annotation 2.2.600-SNAPSHOT was
successfully built earlier within the same reactor.
What's more: my PR doesn't touch that test plugin, and apparently other builds
suffer from the same problem.
As we are running SNAPSHOT versions of tycho, did tycho introduce a bug under foot??
best,
Stephan
[1] https://github.com/eclipse-jdt/eclipse.jdt.core/pull/203
[2] https://ci.eclipse.org/jdt/job/eclipse.jdt.core-Github/job/PR-203/
[3]
https://github.com/eclipse-jdt/eclipse.jdt.core/commit/90ce9af45986f99c793e919c5134966aad190d56