eclipse / xtext

Eclipse Xtext™ is a language development framework
http://www.eclipse.org/Xtext
Eclipse Public License 2.0
766 stars 320 forks source link

Integration tests for xtend-archetype failing on jenkins #2258

Open dhuebner opened 7 years ago

dhuebner commented 7 years ago

Tests are passing on my and @spoenemann machine and failing on jenkins. I've disabled them in release branch.

@LorenzoBettini could you have a look?

[INFO] --- maven-archetype-plugin:2.3:integration-test (default-integration-test) @ xtend-archetype ---
[INFO] Processing Archetype IT project: first
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: xtend-archetype:2.11.0
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: integrationtest.group
[INFO] Parameter: artifactId, Value: integrationtest.artifactId
[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
[INFO] Parameter: package, Value: org.eclipse.xtend.xtend.archetype.integrationtest
[INFO] Parameter: packageInPathFormat, Value: org/eclipse/xtend/xtend/archetype/integrationtest
[INFO] Parameter: packageInPathFormat, Value: org/eclipse/xtend/xtend-archetype/integrationtest
[INFO] Parameter: package, Value: org.eclipse.xtend.xtend.archetype.integrationtest
[INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
[INFO] Parameter: sourceEncoding, Value: UTF-8
[INFO] Parameter: groupId, Value: integrationtest.group
[INFO] Parameter: artifactId, Value: integrationtest.artifactId
[ERROR] ResourceManager : unable to find resource 'archetype-resources/pom.xml' in any resource loader.
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building xtend-android-archetype 2.11.0
[INFO] -----------------------------------------
LorenzoBettini commented 7 years ago

@dhuebner do these tests need the UI?

LorenzoBettini commented 7 years ago

by the way, what job fails? In xtext-xtend? or xtext-maven?

spoenemann commented 7 years ago

http://services.typefox.io/open-source/jenkins/job/xtext-xtend/job/release_2.11.0/5/console

LorenzoBettini commented 7 years ago

but now it doesn't seem to fail anymore... or have you disabled something?

dhuebner commented 7 years ago

@LorenzoBettini no UI is needed it'S plain maven test. Disabled in the xtend-archetype/pom.xml see it-tests-skip property

LorenzoBettini commented 7 years ago

I'm afraid I've no experience with Maven archetypes; the only things I found are related to the projects' folder structures (http://stackoverflow.com/questions/8609198/error-installing-a-multimodule-archetype-created-with-mvn-archetypecreate-from https://issues.apache.org/jira/browse/ARCHETYPE-422)

cdietrich commented 6 years ago

Does not work on ci.eclipse.org

cdietrich commented 5 years ago

@kthoms can you please have a look if this is still an issue

kthoms commented 5 years ago

Still an issue. The tests are disabled by default. When I activate them the build currently fails with:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:integration-test (default-integration-test) on project xtend-archetype:
[ERROR] Archetype IT 'first' failed: Missing required properties in archetype.properties: javaVersion
cdietrich commented 5 years ago

that seems to be a different issue see archtetype.properties in the test there is no javaVersion