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

   ## What changes were proposed in this pull request?
   
   When tests fail in some module, its `package` step is skipped.  
`integration` check runs with `fail-at-end` by default, so it continues with 
other modules.  Dependent modules run into the following error:
   
   ```
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-dependency-plugin:3.11.0:copy-dependencies 
(copy-jars) on project ozone-dist: Artifact 
'org.apache.ozone:ozone-s3gateway:jar:2.3.0-SNAPSHOT:runtime' has not been 
packaged yet (is a directory). When used on reactor artifact, copy should be 
executed after packaging: see MDEP-187. -> [Help 2]
   ```
   
   This is harmless, since it does not affect any integration test, but is 
noisy (shown in Develocity as separate error).
   
   To avoid the noise, run only `test` phase instead of `verify`, so modules 
are not packaged, hence `copy-jar` is not executed.  (Except `filesystem` 
split, which does not skip shading, and thus needs package step.)
   
   https://issues.apache.org/jira/browse/HDDS-16605
   
   Originally reported in HDDS-16600 (item 1).
   
   ## How was this patch tested?
   
   Induced test failure in `hdds-config`, verified that no errors about 
`Artifact ... has not been packaged yet` occur in dependent modules. 
([job](https://github.com/adoroszlai/ozone/actions/runs/36120322160/job/108024615971))
   
   Regular CI:
   https://github.com/adoroszlai/ozone/actions/runs/36110481376


-- 
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