Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 573206

Summary: I20210428-0040 - BUILD FAILED with compilation failure in org.eclipse.test
Product: [Eclipse Project] Platform Reporter: Sravan Kumar Lakkimsetti <sravankumarl>
Component: RelengAssignee: Platform-Releng-Inbox <platform-releng-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: sarika.sinha
Version: 4.20   
Target Milestone: 4.20 M2   
Hardware: PC   
OS: Windows 10   
See Also: https://git.eclipse.org/r/c/platform/eclipse.platform.releng/+/179905
https://git.eclipse.org/c/platform/eclipse.platform.releng.git/commit/?id=3b93e4149e92a4d567a2c040c6953311b9fdb135
Whiteboard:
Bug Depends on:    
Bug Blocks: 572447    

Description Sravan Kumar Lakkimsetti CLA 2021-04-28 02:18:09 EDT
We are seeing compilation failure in org.eclipse.test

01:30:34.051  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:2.4.0-SNAPSHOT:compile (default-compile) on project org.eclipse.test: Compilation failure: Compilation failure: 
01:30:34.051  [ERROR] /home/jenkins/agent/workspace/I-build-4.20/eclipse.platform.releng.aggregator/eclipse.platform.releng.aggregator/cje-production/gitCache/eclipse.platform.releng.aggregator/eclipse.platform.releng/bundles/org.eclipse.test/src/org/eclipse/test/LegacyXmlResultFormatter.java:[47] 
01:30:34.051  [ERROR] 	public class LegacyXmlResultFormatter extends AbstractJUnitResultFormatter {
01:30:34.051  [ERROR] 	             ^^^^^^^^^^^^^^^^^^^^^^^^
01:30:34.051  [ERROR] The type LegacyXmlResultFormatter must implement the inherited abstract method TestResultFormatter.setUseLegacyReportingName(boolean)
01:30:34.051  [ERROR] 1 problem (1 error)
01:30:34.051  [ERROR] -> [Help 1]
01:30:34.051  [ERROR] 
01:30:34.051  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
01:30:34.051  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
01:30:34.051  [ERROR] 
01:30:34.051  [ERROR] For more information about the errors and possible solutions, please read the following articles:
01:30:34.051  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
01:30:34.051  [ERROR] 
01:30:34.051  [ERROR] After correcting the problems, you can resume the build with the command
01:30:34.051  [ERROR]   mvn <args> -rf org.eclipse.test:org.eclipse.test
Comment 1 Sravan Kumar Lakkimsetti CLA 2021-04-28 02:47:21 EDT
This is due to Ant update to 1.10.10

a new breaking change has been done in ant org.apache.tools.ant.taskdefs.optional.junitlauncher.TestResultFormatter.setUseLegacyReportingName(boolean) needs to implemented
Comment 2 Eclipse Genie CLA 2021-04-28 02:54:32 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.releng/+/179905
Comment 4 Sravan Kumar Lakkimsetti CLA 2021-04-28 03:37:22 EDT
Merged to master now.