Upgrade to launcher 2.1.0, allowing the use of any JVM vendor in tests #289
Annotations
5 errors
RunMigrationsTest.check run migrations works with MPS 2020_3:
src/test/kotlin/test/de/itemis/mps/gradle/RunMigrationsTest.kt#L77
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit8732912755118273864 with arguments [runMigrations]
Output:
> Task :resolveMpsForMigrations
[ant:migrate]
[ant:migrate] Start Failed
[ant:migrate] Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
[ant:migrate]
[ant:migrate] java.lang.ExceptionInInitializerError
[ant:migrate] at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:294)
[ant:migrate] at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:242)
[ant:migrate] at com.intellij.ide.plugins.MainRunner.lambda$start$1(MainRunner.java:41)
[ant:migrate] at java.base/java.lang.Thread.run(Thread.java:833)
[ant:migrate] Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent) accessible: module java.desktop does not "opens java.awt" to unnamed module @6f29c911
[ant:migrate] at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
[ant:migrate] at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
[ant:migrate] at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
[ant:migrate] at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
[ant:migrate] at com.intellij.util.ReflectionUtil.makeAccessible(ReflectionUtil.java:253)
[ant:migrate] at com.intellij.util.ReflectionUtil.getDeclaredMethod(ReflectionUtil.java:270)
[ant:migrate] at com.intellij.util.ui.EdtInvocationManager.<clinit>(EdtInvocationManager.java:33)
[ant:migrate] ... 4 more
[ant:migrate]
[ant:migrate] -----
[ant:migrate] Your JRE: 17.0.8.1+1 amd64 (Eclipse Adoptium)
[ant:migrate] /usr/lib/jvm/temurin-17-jdk-amd64
> Task :runMigrations FAILED
Trying to override old definition of datatype module
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runMigrations'.
> Process exited with code 3.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 29s
2 actionable tasks: 2 executed
|
RunMigrationsTest.check run migrations works with MPS 2021_3 with force flag:
src/test/kotlin/test/de/itemis/mps/gradle/RunMigrationsTest.kt#L131
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit13759478983003893576 with arguments [runMigrations]
Output:
> Task :resolveMpsForMigrations
[ant:migrate] workFromMain
[ant:migrate] java.lang.IllegalAccessError: class com.intellij.idea.StartupUtil (in unnamed module @0x6f29c911) cannot access class sun.awt.AWTAutoShutdown (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x6f29c911
[ant:migrate] at com.intellij.idea.StartupUtil.start(StartupUtil.java:301)
[ant:migrate] at jetbrains.mps.tool.environment.MPSHeadlessPlatformStarter$Holder.createApp(MPSHeadlessPlatformStarter.java:50)
[ant:migrate] at jetbrains.mps.tool.environment.IdeaEnvironment.createIdeaApplication(IdeaEnvironment.java:180)
[ant:migrate] at jetbrains.mps.tool.environment.IdeaEnvironment.init(IdeaEnvironment.java:79)
[ant:migrate] at jetbrains.mps.build.migration.MigrationWorker.createEnvironment(MigrationWorker.java:42)
[ant:migrate] at jetbrains.mps.tool.builder.WorkerBase.workFromMain(WorkerBase.java:131)
[ant:migrate] at jetbrains.mps.build.migration.MigrationWorker.main(MigrationWorker.java:139)
[ant:migrate]
> Task :runMigrations FAILED
Trying to override old definition of datatype module
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runMigrations'.
> Process exited with code 1.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 35s
2 actionable tasks: 2 executed
|
build (17)
Process completed with exit code 1.
|
build (11)
The job was canceled because "_17" failed.
|
build (11)
The operation was canceled.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
junit-xmls
Expired
|
47.5 KB |
|