Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build broken #189

Closed
cdietrich opened this issue Aug 27, 2021 · 5 comments
Closed

Build broken #189

cdietrich opened this issue Aug 27, 2021 · 5 comments

Comments

@cdietrich
Copy link
Member

Build on workflow does no longer work

2021-08-27T09:25:17.7877756Z :xtext-gradle-plugin:latestIntegrationTest
2021-08-27T09:25:17.7878699Z 
2021-08-27T09:25:17.7880866Z org.xtext.gradle.test.BuildingASimpleXtendProjectWithStandardCharsets > canCompileWithCharset[US-ASCII with helloWorld = "Hello World!"] FAILED
2021-08-27T09:25:17.7884047Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProjectWithStandardCharsets.java:99
2021-08-27T09:25:21.3199506Z 
2021-08-27T09:25:21.3202567Z org.xtext.gradle.test.BuildingASimpleXtendProjectWithStandardCharsets > canCompileWithCharset[ISO-8859-1 with helloWorld = "Hello World!"] FAILED
2021-08-27T09:25:21.3205776Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProjectWithStandardCharsets.java:99
2021-08-27T09:25:24.5478377Z 
2021-08-27T09:25:24.5482248Z org.xtext.gradle.test.BuildingASimpleXtendProjectWithStandardCharsets > canCompileWithCharset[UTF-8 with 你好世界 = "ওহে বিশ্ব!"] FAILED
2021-08-27T09:25:24.5486204Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProjectWithStandardCharsets.java:99
2021-08-27T09:25:26.1579699Z 
2021-08-27T09:25:26.1582970Z org.xtext.gradle.test.BuildingASimpleXtendProjectWithStandardCharsets > canCompileWithCharset[UTF-16BE with 你好世界 = "ওহে বিশ্ব!"] FAILED
2021-08-27T09:25:26.1586218Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProjectWithStandardCharsets.java:99
2021-08-27T09:25:27.7405348Z 
2021-08-27T09:25:27.7408835Z org.xtext.gradle.test.BuildingASimpleXtendProjectWithStandardCharsets > canCompileWithCharset[UTF-16LE with 你好世界 = "ওহে বিশ্ব!"] FAILED
2021-08-27T09:25:27.7412004Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProjectWithStandardCharsets.java:99
2021-08-27T09:25:29.2788518Z 
2021-08-27T09:25:29.2791590Z org.xtext.gradle.test.BuildingASimpleXtendProjectWithStandardCharsets > canCompileWithCharset[UTF-16 with 你好世界 = "ওহে বিশ্ব!"] FAILED
2021-08-27T09:25:29.2794721Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProjectWithStandardCharsets.java:99
2021-08-27T09:25:30.9025993Z 
2021-08-27T09:25:30.9034945Z org.xtext.gradle.test.BuildingAPlainLanguageProject > theGeneratorShouldNotRunWhenAllFilesAreUpToDate FAILED
2021-08-27T09:25:30.9037645Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAPlainLanguageProject.java:109
2021-08-27T09:25:32.5733468Z 
2021-08-27T09:25:32.5735397Z org.xtext.gradle.test.BuildingAPlainLanguageProject > theGeneratorShouldRunOnValidInput FAILED
2021-08-27T09:25:32.5737775Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAPlainLanguageProject.java:95
2021-08-27T09:25:34.2612863Z 
2021-08-27T09:25:34.2615033Z org.xtext.gradle.test.BuildingAPlainLanguageProject > theGeneratorShouldOnlyRunForAffectedFiles FAILED
2021-08-27T09:25:34.2617920Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAPlainLanguageProject.java:134
2021-08-27T09:25:35.8826120Z 
2021-08-27T09:25:35.8828143Z org.xtext.gradle.test.BuildingAMultiModuleXtendProject > upStreamClassesCanBeReferenced FAILED
2021-08-27T09:25:35.8830692Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAMultiModuleXtendProject.java:65
2021-08-27T09:25:37.4059600Z 
2021-08-27T09:25:37.4062854Z org.xtext.gradle.test.BuildingAMultiModuleXtendProject > upStreamChangesArePickedUpDownStream FAILED
2021-08-27T09:25:37.4066655Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAMultiModuleXtendProject.java:96
2021-08-27T09:25:38.9345653Z 
2021-08-27T09:25:38.9348391Z org.xtext.gradle.test.BuildingAMultiModuleXtendProject > downStreamProjectsAreNotRebuiltWhenUpStreamClassesStayTheSame FAILED
2021-08-27T09:25:38.9351513Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAMultiModuleXtendProject.java:76
2021-08-27T09:25:40.7323372Z 
2021-08-27T09:25:40.7326254Z org.xtext.gradle.test.WhenUsingXtextForProductionAndXtendForTests > buildShouldCreateJavaFilesInOutputFoldersAsDefinedbySourceSets FAILED
2021-08-27T09:25:40.7329737Z     org.gradle.testkit.runner.UnexpectedBuildFailure at WhenUsingXtextForProductionAndXtendForTests.java:116
2021-08-27T09:25:42.1894226Z 
2021-08-27T09:25:42.1896379Z org.xtext.gradle.test.WhenSettingsChange > shouldRecompileWhenEncodingChanges FAILED
2021-08-27T09:25:42.1898442Z     org.gradle.testkit.runner.UnexpectedBuildFailure at WhenSettingsChange.java:38
2021-08-27T09:25:43.6514794Z 
2021-08-27T09:25:43.6517545Z org.xtext.gradle.test.WhenUsingXtendForProductionAndForTests > buildShouldCreateFilesInOutputFoldersAsDefinedbySourceSets FAILED
2021-08-27T09:25:43.6520947Z     org.gradle.testkit.runner.UnexpectedBuildFailure at WhenUsingXtendForProductionAndForTests.java:27
2021-08-27T09:25:45.8913338Z 
2021-08-27T09:25:45.8915593Z org.xtext.gradle.test.BuildingANonStandardXtendProject > failsOnConstantBooleanExpressionWhenConfigured FAILED
2021-08-27T09:25:45.8917909Z     java.lang.AssertionError at BuildingANonStandardXtendProject.java:92
2021-08-27T09:25:47.3627747Z 
2021-08-27T09:25:47.3629888Z org.xtext.gradle.test.BuildingANonStandardXtendProject > compilesToJava7SourceWhenConfigured FAILED
2021-08-27T09:25:47.3632712Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingANonStandardXtendProject.java:44
2021-08-27T09:25:48.8935335Z 
2021-08-27T09:25:48.8937460Z org.xtext.gradle.test.BuildingANonStandardXtendProject > compilesToJava8SourceWhenConfigured FAILED
2021-08-27T09:25:48.8939958Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingANonStandardXtendProject.java:25
2021-08-27T09:25:50.3380125Z 
2021-08-27T09:25:50.3382356Z org.xtext.gradle.test.WhenConfiguringTheDebuggerSupport > sourcesCanBeInstalledAsPrimary FAILED
2021-08-27T09:25:50.3384849Z     org.gradle.testkit.runner.UnexpectedBuildFailure at WhenConfiguringTheDebuggerSupport.java:151
2021-08-27T09:25:51.8683155Z 
2021-08-27T09:25:51.8684793Z org.xtext.gradle.test.WhenConfiguringTheDebuggerSupport > sourcesCanBeInstalledAsSmap FAILED
2021-08-27T09:25:51.8687023Z     org.gradle.testkit.runner.UnexpectedBuildFailure at WhenConfiguringTheDebuggerSupport.java:151
2021-08-27T09:25:53.3598091Z 
2021-08-27T09:25:53.3600107Z org.xtext.gradle.test.WhenConfiguringTheDebuggerSupport > sourcesInstallationCanBeSkipped FAILED
2021-08-27T09:25:53.3602619Z     org.gradle.testkit.runner.UnexpectedBuildFailure at WhenConfiguringTheDebuggerSupport.java:151
2021-08-27T09:25:54.9773967Z 
2021-08-27T09:25:54.9776364Z org.xtext.gradle.test.BuildingAMultiModulePlainLanguageProject > upStreamModelsCanBeReferenced FAILED
2021-08-27T09:25:54.9779261Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAMultiModulePlainLanguageProject.java:154
2021-08-27T09:25:56.4213226Z 
2021-08-27T09:25:56.4215412Z org.xtext.gradle.test.BuildingAMultiModulePlainLanguageProject > generatorOnlyRunsForLocalModels FAILED
2021-08-27T09:25:56.4218152Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAMultiModulePlainLanguageProject.java:165
2021-08-27T09:25:57.9478436Z 
2021-08-27T09:25:57.9480757Z org.xtext.gradle.test.BuildingAMultiModulePlainLanguageProject > upStreamChangesArePickedUpDownStream FAILED
2021-08-27T09:25:57.9483797Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAMultiModulePlainLanguageProject.java:185
2021-08-27T09:25:59.7000212Z 
2021-08-27T09:25:59.7015968Z org.xtext.gradle.test.WhenUsingXtendForTestsOnly > theGeneratorShouldRunOnValidInput FAILED
2021-08-27T09:25:59.7018314Z     org.gradle.testkit.runner.UnexpectedBuildFailure at WhenUsingXtendForTestsOnly.java:32
2021-08-27T09:26:09.3840938Z 
2021-08-27T09:26:09.3843029Z org.xtext.gradle.test.BuildingAgainstDifferentXtextVersions > theGeneratorShouldRunOn_Xtext_2_11_0 FAILED
2021-08-27T09:26:09.3845626Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAgainstDifferentXtextVersions.java:127
2021-08-27T09:26:11.4339512Z 
2021-08-27T09:26:11.4341713Z org.xtext.gradle.test.BuildingAgainstDifferentXtextVersions > theGeneratorShouldRunOn_Xtext_2_12_0 FAILED
2021-08-27T09:26:11.4344136Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAgainstDifferentXtextVersions.java:127
2021-08-27T09:26:13.4521160Z 
2021-08-27T09:26:13.4523220Z org.xtext.gradle.test.BuildingAgainstDifferentXtextVersions > theGeneratorShouldRunOn_Xtext_2_13_0 FAILED
2021-08-27T09:26:13.4525795Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAgainstDifferentXtextVersions.java:127
2021-08-27T09:26:14.8672528Z 
2021-08-27T09:26:14.8674569Z org.xtext.gradle.test.BuildingAgainstDifferentXtextVersions > theGeneratorShouldRunOn_Xtext_2_14_0 FAILED
2021-08-27T09:26:14.8677200Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAgainstDifferentXtextVersions.java:127
2021-08-27T09:26:17.2234567Z 
2021-08-27T09:26:17.2244546Z org.xtext.gradle.test.BuildingAgainstDifferentXtextVersions > theGeneratorShouldRunOn_Xtext_2_9_0 FAILED
2021-08-27T09:26:17.2247292Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingAgainstDifferentXtextVersions.java:127
2021-08-27T09:26:27.7466076Z 
2021-08-27T09:26:27.7468297Z org.xtext.gradle.test.BuildingASimpleXtendProject > theGeneratorShouldNotRunWhenAllFilesAreUpToDate FAILED
2021-08-27T09:26:27.7474481Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:74
2021-08-27T09:26:29.1983201Z 
2021-08-27T09:26:29.1985165Z org.xtext.gradle.test.BuildingASimpleXtendProject > theOutputIsCleanedOnAFullBuild FAILED
2021-08-27T09:26:29.1987432Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:282
2021-08-27T09:26:30.6579973Z 
2021-08-27T09:26:30.6581805Z org.xtext.gradle.test.BuildingASimpleXtendProject > classFilesAreGenerated FAILED
2021-08-27T09:26:30.6584171Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:226
2021-08-27T09:26:32.1718824Z 
2021-08-27T09:26:32.1720755Z org.xtext.gradle.test.BuildingASimpleXtendProject > theGeneratorShouldRunOnValidInput FAILED
2021-08-27T09:26:32.1723047Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:60
2021-08-27T09:26:33.6988780Z 
2021-08-27T09:26:33.6991188Z org.xtext.gradle.test.BuildingASimpleXtendProject > theGeneratorShouldRunAndCompileWhenInvokedInSeperateBuilds FAILED
2021-08-27T09:26:33.6994045Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:20
2021-08-27T09:26:35.1666275Z 
2021-08-27T09:26:35.1668239Z org.xtext.gradle.test.BuildingASimpleXtendProject > classFilesAdhereToPackageStructure FAILED
2021-08-27T09:26:35.1670557Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:240
2021-08-27T09:26:36.6223621Z 
2021-08-27T09:26:36.6225498Z org.xtext.gradle.test.BuildingASimpleXtendProject > builtInActiveAnnotationsWork FAILED
2021-08-27T09:26:36.6227722Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:172
2021-08-27T09:26:38.0902933Z 
2021-08-27T09:26:38.0906015Z org.xtext.gradle.test.BuildingASimpleXtendProject > theGeneratorShouldRunAndCompileWhenInvokedInSeperateBuildsWithJavaPackage FAILED
2021-08-27T09:26:38.0909168Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:41
2021-08-27T09:26:39.5366742Z 
2021-08-27T09:26:39.5368885Z org.xtext.gradle.test.BuildingASimpleXtendProject > theGeneratorShouldOnlyRunForAffectedFiles FAILED
2021-08-27T09:26:39.5371325Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:99
2021-08-27T09:26:41.0756968Z 
2021-08-27T09:26:41.0759121Z org.xtext.gradle.test.BuildingASimpleXtendProject > theIndexerCanHandleDirectoryClasspathEntries FAILED
2021-08-27T09:26:41.0761643Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:341
2021-08-27T09:26:42.5526661Z 
2021-08-27T09:26:42.5528876Z org.xtext.gradle.test.BuildingASimpleXtendProject > theIndexerCanHandleNonExistentClasspathEntries FAILED
2021-08-27T09:26:42.5531443Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:322
2021-08-27T09:26:44.0486688Z 
2021-08-27T09:26:44.0488605Z org.xtext.gradle.test.BuildingASimpleXtendProject > theOutputFolderCanBeConfigured FAILED
2021-08-27T09:26:44.0490892Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:259
2021-08-27T09:26:45.9091860Z 
2021-08-27T09:26:45.9093785Z org.xtext.gradle.test.BuildingASimpleXtendProject > shouldCompileAfterErrorIsFixed FAILED
2021-08-27T09:26:45.9096396Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:216
2021-08-27T09:26:47.3691268Z 
2021-08-27T09:26:47.3693483Z org.xtext.gradle.test.BuildingASimpleXtendProject > affectedResourcesAreDetectedAcrossXtendAndJava FAILED
2021-08-27T09:26:47.3696220Z     org.gradle.testkit.runner.UnexpectedBuildFailure at BuildingASimpleXtendProject.java:131
2021-08-27T09:26:47.7169239Z 
2021-08-27T09:26:47.7170283Z 56 tests completed, 44 failed, 2 skipped
2021-08-27T09:26:47.8460921Z :xtext-gradle-plugin:latestIntegrationTest FAILED
@cdietrich
Copy link
Member Author

com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: java.lang.UnsupportedClassVersionError: org/eclipse/core/runtime/OperationCanceledException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

@cdietrich
Copy link
Member Author

so this is bascially the same cause as #187

@cdietrich
Copy link
Member Author

looks like newer versions of the plugin dont like the
11:58:10.793 [DEBUG] [org.eclipse.xtext.linking.impl.DefaultLinkingService] before getLinkedObjects: node: 'BaseVariant'
11:58:10.794 [DEBUG] [org.eclipse.xtext.linking.impl.DefaultLinkingService] after getLinkedObjects: node: 'BaseVariant' result: null
class

oehme added a commit that referenced this issue Aug 27, 2021
EMF has open version ranges pulling in whatever the latest core runtime
version is, thereby breaking Java 8 compatibility. This change fixes those
versions back up. For newer Xtext/Gradle versions it uses the Xtext BOM.
For older versions it does some hand-picked version fixes.

To test this properly, we're now not just testing against  different Gradle versions.
I've also raised the maximum versions to the latest ones that we can support without
major test rewrites.

Fixes #187
Fixes #189
oehme added a commit that referenced this issue Aug 28, 2021
EMF has open version ranges pulling in whatever the latest core runtime
version is, thereby breaking Java 8 compatibility. This change fixes those
versions back up. For newer Xtext/Gradle versions it uses the Xtext BOM.
For older versions it does some hand-picked version fixes.

To test this properly, we're now not just testing against  different Gradle versions.
I've also raised the maximum versions to the latest ones that we can support without
major test rewrites.

Fixes #187
Fixes #189
@oehme oehme closed this as completed in 1ffdb7b Aug 28, 2021
@cdietrich
Copy link
Member Author

nice, many thanks

@szarnekow
Copy link
Member

Thank you very much @oehme!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants