PalladioSimulator / Palladio-Analyzer-Slingshot

0 stars 1 forks source link

Update pom.xml #18

Closed noahrog02 closed 6 months ago

noahrog02 commented 6 months ago

Building with Maven from Console now works.

klinakuf commented 6 months ago

I get an error on EventDriver Test (detailed log see below). I built with mvn clean verify.

Is this a me-only-problem, or can anyone reproduce?

Detailed Log:

[...]
An error has occurred. See the log file
/Users/stiesssh/uni/repos/slingshot-github/Palladio-Analyzer-Slingshot/tests/org.palladiosimulator.analyzer.slingshot.eventdriver.test/target/work/configuration/1710249654969.log.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] slingshot 0.0.2-SNAPSHOT ........................... SUCCESS [  2.644 s]
[INFO] bundles 0.0.2-SNAPSHOT ............................. SUCCESS [  0.069 s]
[INFO] [bundle] Eventdriver 1.0.0-SNAPSHOT ................ SUCCESS [  3.442 s]
[INFO] [bundle] Common 1.0.0-SNAPSHOT ..................... SUCCESS [  0.418 s]
[INFO] [bundle] Core 1.0.0-SNAPSHOT ....................... SUCCESS [  1.713 s]
[INFO] [bundle] Events 1.0.0-SNAPSHOT ..................... SUCCESS [  0.320 s]
[INFO] [bundle] Workflow Events 1.0.0-SNAPSHOT ............ SUCCESS [  0.821 s]
[INFO] [bundle] Workflow 1.0.0-SNAPSHOT ................... SUCCESS [  1.023 s]
[INFO] [bundle] Ui 1.0.0-SNAPSHOT ......................... SUCCESS [  1.069 s]
[INFO] [bundle] Annotationprocessor 1.0.0-SNAPSHOT ........ SUCCESS [  0.213 s]
[INFO] releng 0.0.2-SNAPSHOT .............................. SUCCESS [  0.041 s]
[INFO] org.palladiosimulator.analyzer.slingshot.updatesite 0.0.2-SNAPSHOT SUCCESS [  1.634 s]
[INFO] [aggregator] features 0.0.2-SNAPSHOT ............... SUCCESS [  0.061 s]
[INFO] [feature] Feature 1.0.0-SNAPSHOT ................... SUCCESS [  0.146 s]
[INFO] [feature] UI Feature 1.0.0-SNAPSHOT ................ SUCCESS [  0.132 s]
[INFO] tests 0.0.2-SNAPSHOT ............................... SUCCESS [  0.053 s]
[INFO] [test-bundle] EventDriver Test 1.0.0-SNAPSHOT ...... FAILURE [  3.003 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  35.796 s
[INFO] Finished at: 2024-03-12T14:20:57+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:2.7.0:test (default-test) on project org.palladiosimulator.analyzer.slingshot.eventdriver.test: An unexpected error occurred while launching the test runtime (process returned error code 13). Command-line used to launch the sub-process was /usr/local/Cellar/openjdk@11/11.0.18/libexec/openjdk.jdk/Contents/Home/bin/java -Dosgi.noShutdown=false -Dosgi.os=macosx -Dosgi.ws=cocoa -Dosgi.arch=x86_64 -javaagent:/Users/stiesssh/.m2/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/Users/stiesssh/uni/repos/slingshot-github/Palladio-Analyzer-Slingshot/tests/org.palladiosimulator.analyzer.slingshot.eventdriver.test/target/jacoco.exec -Dosgi.clean=true -jar /Users/stiesssh/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.6.400.v20210924-0641/org.eclipse.equinox.launcher-1.6.400.v20210924-0641.jar -data /Users/stiesssh/uni/repos/slingshot-github/Palladio-Analyzer-Slingshot/tests/org.palladiosimulator.analyzer.slingshot.eventdriver.test/target/work/data -install /Users/stiesssh/uni/repos/slingshot-github/Palladio-Analyzer-Slingshot/tests/org.palladiosimulator.analyzer.slingshot.eventdriver.test/target/work -configuration /Users/stiesssh/uni/repos/slingshot-github/Palladio-Analyzer-Slingshot/tests/org.palladiosimulator.analyzer.slingshot.eventdriver.test/target/work/configuration -application org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties /Users/stiesssh/uni/repos/slingshot-github/Palladio-Analyzer-Slingshot/tests/org.palladiosimulator.analyzer.slingshot.eventdriver.test/target/surefire.properties in working directory /Users/stiesssh/uni/repos/slingshot-github/Palladio-Analyzer-Slingshot/tests/org.palladiosimulator.analyzer.slingshot.eventdriver.test -> [Help 1]

Same for me, but mvn clean compile runs fine

stiesssh commented 6 months ago

I get an error on EventDriver Test (detailed log see below). I built with mvn clean verify.

[...]

Nevermind, figured it out. I forgot to set $JAVA_HOME to the correct jdk. (more like, i did set it, but i didn't work because j17 was not correctly linked, thus my mac did not find it.... i hate mac >_>)