Wei-Chiu Chuang created HDDS-16600:
--------------------------------------

             Summary: Reduce Develocity CI failures: integration ozone-repo 
reuse, RocksDB wget timeout, repro check
                 Key: HDDS-16600
                 URL: https://issues.apache.org/jira/browse/HDDS-16600
             Project: Apache Ozone
          Issue Type: Task
            Reporter: Wei-Chiu Chuang


h2. Context

Develocity *Failures* for root project *Apache Ozone Main* (Jul 1–Sep 24, 2026 
PDT) shows top *non-verification* Maven failures:

[Develocity Failures 
report|https://develocity.apache.org/scans/failures?search.rootProjectNames=Apache%20Ozone%20Main&search.startTimeMax=1790319599999&search.startTimeMin=1782889200000&search.timeZoneId=America%2FLos_Angeles]

|| ~Builds || Failure ||
| 75 | MDEP-187 — dependency plugin uses reactor artifact before packaging |
| 10 | {{artifact:compare}} on {{ozone-manager}} jar |
| 8 | RocksDB source {{wget}} read timeout on {{hdds-rocks-native}} |
| 8 each | Downstream could-not-resolve cascades |

h2. Problem

* Integration CI runs full-reactor {{verify}} while the build job already 
publishes jars as the {{ozone-repo}} artifact; splits rebuild the reactor and 
hit MDEP-187 during {{prepare-package}} unpack steps.
* {{hdds-rocks-native}} RocksDB tarball download uses a short default read 
timeout on busy CI.
* Repro check ({{artifact:compare}}) needs a consistent reference from 
{{install}}; jar/source packaging should use reproducible timestamps already 
defined via {{project.build.outputTimestamp}}.

h2. Proposed changes

# Wire {{needs-ozone-repo: true}} on integration jobs; set 
{{OZONE_REPO_CACHED}} for {{junit.sh}} to run full-reactor {{mvn test}} (not 
{{verify}}) with deps from {{~/.m2}}.
# Bootstrap {{target/native-lib}} via {{ozone-main}} {{hadoop-native-lib}} 
{{generate-resources}} when integration passes {{-Phadoop-native-lib}}.
# Increase {{download-maven-plugin}} {{readTimeOut}} for RocksDB source fetch 
(module + pluginManagement).
# Run {{repro.sh}} as {{install artifact:compare}}; stabilize {{-Pdist}} source 
jars via {{maven-source-plugin}} manifest configuration.

h2. Testing

* Local {{OZONE_REPO_CACHED=true}} integration smoke after {{mvn install 
-DskipTests}}.
* {{repro.sh}} through {{ozone-manager}} with CI-like profiles.
* Post-merge: watch Develocity non-verification failure counts and 
{{build-branch}} integration/repro jobs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to