Open gion86 opened 1 year ago
Hi ! Can you try to see if the last commit I did here fixes the problem? : https://github.com/vrichard12/sirius-emf-json/tree/migration-pojodatatype-featureordering The build is working on my KUbuntu machine, there's a good chance it will work on your machine too!
Please let me know!
Vincent
OK, know the build works, with package
phase.
If I run the verify
phase the tests gets executed and something fails. Not a real problem for me because I can produce the P2 repository.
If you want investigate further: this is the command
./mvnw verify -f releng/org.eclipse.sirius.emfjson.releng/pom.xml -P\!checkstyle
and I get:
[INFO] Building Sirius EMF JSON - Tests 2.3.4-SNAPSHOT [5/8]
[INFO] from /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/pom.xml
[INFO] ------------------------[ eclipse-test-plugin ]-------------------------
[WARNING] Parameter 'debuglevel' is unknown for plugin 'tycho-compiler-plugin:2.7.5:validate-classpath (default-validate-classpath)'
[WARNING] Parameter 'debuglevel' is unknown for plugin 'tycho-compiler-plugin:2.7.5:compile (default-compile)'
[INFO]
[INFO] --- tycho-packaging:2.7.5:build-qualifier (default-build-qualifier) @ org.eclipse.sirius.emfjson.tests ---
[INFO] The project's OSGi version is 2.3.4.202311081046
[INFO]
[INFO] --- tycho-packaging:2.7.5:validate-id (default-validate-id) @ org.eclipse.sirius.emfjson.tests ---
[INFO]
[INFO] --- tycho-packaging:2.7.5:validate-version (default-validate-version) @ org.eclipse.sirius.emfjson.tests ---
[INFO]
[INFO] --- target-platform-configuration:2.7.5:target-platform (default-target-platform) @ org.eclipse.sirius.emfjson.tests ---
[INFO]
[INFO] --- tycho-compiler:2.7.5:validate-classpath (default-validate-classpath) @ org.eclipse.sirius.emfjson.tests ---
[INFO] Resolving class path of Sirius EMF JSON - Tests...
[INFO]
[INFO] --- resources:2.4.1:resources (default-resources) @ org.eclipse.sirius.emfjson.tests ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 296 resources
[INFO]
[INFO] --- tycho-compiler:2.7.5:compile (default-compile) @ org.eclipse.sirius.emfjson.tests ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- resources:2.4.1:testResources (default-testResources) @ org.eclipse.sirius.emfjson.tests ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/src/test/resources
[INFO]
[INFO] --- tycho-packaging:2.7.5:update-consumer-pom (default-update-consumer-pom) @ org.eclipse.sirius.emfjson.tests ---
[INFO]
[INFO] --- tycho-source:2.7.5:plugin-source (plugin-source) @ org.eclipse.sirius.emfjson.tests ---
[INFO] Building jar: /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/target/org.eclipse.sirius.emfjson.tests-2.3.4-SNAPSHOT-sources.jar
[INFO]
[INFO] --- tycho-packaging:2.7.5:package-plugin (default-package-plugin) @ org.eclipse.sirius.emfjson.tests ---
[INFO] Building jar: /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/target/org.eclipse.sirius.emfjson.tests-2.3.4-SNAPSHOT.jar
[INFO]
[INFO] --- tycho-p2:2.7.5:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.sirius.emfjson.tests ---
[INFO]
[INFO] --- tycho-source-feature:2.7.5:source-feature (source-feature) @ org.eclipse.sirius.emfjson.tests ---
[WARNING] Goal 'source-feature' is deprecated: this mojo is replaced by the tycho-source-plugin with execution feature-source which
offers equivalent and even enhanced functionality
[WARNING] Mojo tycho-source-feature-plugin:source-feature is replaced by the tycho-source-plugin:feature-source which offers equivalent and even enhanced functionality
[INFO]
[INFO] --- tycho-p2:2.7.5:p2-metadata (p2-metadata) @ org.eclipse.sirius.emfjson.tests ---
[INFO]
[INFO] --- tycho-surefire:2.7.5:test (default-test) @ org.eclipse.sirius.emfjson.tests ---
[INFO] Could not find a java toolchain of type jdk, using java from JAVA_HOME instead (/usr/lib/jvm/java-11-openjdk-amd64/bin/java)
[INFO] Executing Test Runtime with timeout 0, logs (if any) will be placed at: /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/target/work/data/.metadata/.log
[INFO] Command line:
[/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -Dosgi.noShutdown=false, -Dosgi.os=linux, -Dosgi.ws=gtk, -Dosgi.arch=x86_64, -Dosgi.clean=true, -jar, /home/marchesini.local/boccalini_g/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.5.400.v20190515-0925/org.eclipse.equinox.launcher-1.5.400.v20190515-0925.jar, -data, /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/target/work/data, -install, /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/target/work, -configuration, /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/target/work/configuration, -application, org.eclipse.tycho.surefire.osgibooter.headlesstest, -testproperties, /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/target/surefire.properties, -Xmx1024m]
An error has occurred. See the log file
/home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/target/work/configuration/1699440397745.log.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Sirius EMF JSON 2.3.4-SNAPSHOT:
[INFO]
[INFO] Sirius EMF JSON .................................... SUCCESS [ 0.285 s]
[INFO] emfjson-2019-06 .................................... SUCCESS [ 0.350 s]
[INFO] Sirius EMF JSON .................................... SUCCESS [ 0.675 s]
[INFO] Sirius EMF JSON - IDE Integration .................. SUCCESS [ 0.137 s]
[INFO] Sirius EMF JSON - Tests ............................ FAILURE [ 1.220 s]
[INFO] Sirius EMF JSON Feature ............................ SKIPPED
[INFO] Sirius EMF JSON - IDE Integration Feature .......... SKIPPED
[INFO] Sirius EMF JSON Repository ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.327 s
[INFO] Finished at: 2023-11-08T11:46:38+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:2.7.5:test (default-test) on project org.eclipse.sirius.emfjson.tests: An unexpected error occurred while launching the test runtime (process returned error code 13). Command-line used to launch the sub-process was /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.noShutdown=false -Dosgi.os=linux -Dosgi.ws=gtk -Dosgi.arch=x86_64 -Dosgi.clean=true -jar /home/marchesini.local/boccalini_g/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.5.400.v20190515-0925/org.eclipse.equinox.launcher-1.5.400.v20190515-0925.jar -data /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/target/work/data -install /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/target/work -configuration /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/target/work/configuration -application org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests/target/surefire.properties -Xmx1024m in working directory /home/marchesini.local/boccalini_g/Workspace-Eclipse-EMF/Obeo/Sirius/EMF-Sirius-Vincent/tests/org.eclipse.sirius.emfjson.tests -> [Help 1]
Log attached. 1699440397745.log
Thank you for this feedback, I will definitely have a look at this error.
Meanwhile, you can use this command : mvn -DskipTests clean verify
Hello,
I'm trying to compile this project (master branch), using this command:
I'm using the maven wrapper (v3.1.1).
This is my environment configuration:
I'm getting this error:
On another PC, with Fedora, everything compile beautifully.... I think the only difference is I'm using the "normal" installed Maven and not a wrapper.
Do you know the cause of the problem?
Thankyou!