chungen0126 opened a new pull request, #8567:
URL: https://github.com/apache/ozone/pull/8567

   ## What changes were proposed in this pull request?
   
   See the Maven error message: 
   
   ```
   Error:  Failed to execute goal 
com.coderplus.maven.plugins:copy-rename-maven-plugin:1.0.1:rename 
(rename-generated-config) on project ozone-manager: sourceFile 
/home/runner/work/ozone/ozone/hadoop-ozone/ozone-manager/target/classes/ozone-default-generated.xml
 does not exist -> [Help 1]
   843Error:  
   844Error:  To see the full stack trace of the errors, re-run Maven with the 
-e switch.
   845Error:  Re-run Maven using the -X switch to enable full debug logging.
   846Error:  
   847Error:  For more information about the errors and possible solutions, 
please read the following articles:
   848Error:  [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 
   ```
   
   Fix flaky CI where ozone-default-generated.xml might be missing in the 
second mvn install.
   Some sub-modules were using rename on this file, which causes failures when 
the source file no longer exists after the first install.
   Switched from rename to copy to make the process more stable across repeated 
builds.
   This adds a tiny bit of overhead, but it’s acceptable given the improved 
reliability.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-13179
   
   ## How was this patch tested?
   
   CI: https://github.com/chungen0126/ozone/actions/runs/15466051170
   
   flaky-test-check before changes:
   https://github.com/chungen0126/ozone/actions/runs/15449754673/job/43498162608
   
   flaky-test-check after changes:
   https://github.com/chungen0126/ozone/actions/runs/15466246980


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to