Upgrade to launcher 2.1.0, allowing the use of any JVM vendor in tests #289
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / JUnit Test Report
failed
Oct 25, 2023 in 0s
34 tests run, 32 passed, 0 skipped, 2 failed.
Annotations
Check failure on line 77 in src/test/kotlin/test/de/itemis/mps/gradle/RunMigrationsTest.kt
github-actions / JUnit Test Report
RunMigrationsTest.check run migrations works with MPS 2020_3
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
Raw output
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
at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:264)
at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:338)
at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:262)
at app//test.de.itemis.mps.gradle.RunMigrationsTest.check run migrations works with MPS 2020_3(RunMigrationsTest.kt:77)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at app//org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at app//org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at app//org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at app//org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at app//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at app//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at app//org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at app//org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at app//org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at app//org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at app//org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at app//org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:108)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:57)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:39)
at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at jdk.proxy1/jdk.proxy1.$Proxy2.processTestClass(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
Check failure on line 131 in src/test/kotlin/test/de/itemis/mps/gradle/RunMigrationsTest.kt
github-actions / JUnit Test Report
RunMigrationsTest.check run migrations works with MPS 2021_3 with force flag
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
Raw output
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
at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:264)
at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:338)
at app//org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:262)
at app//test.de.itemis.mps.gradle.RunMigrationsTest.check run migrations works with MPS 2021_3 with force flag(RunMigrationsTest.kt:131)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at app//org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at app//org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at app//org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at app//org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at app//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at app//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at app//org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at app//org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at app//org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at app//org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at app//org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at app//org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:108)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:57)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:39)
at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at jdk.proxy1/jdk.proxy1.$Proxy2.processTestClass(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
Loading