Attila Doroszlai created HDDS-11872:
---------------------------------------

             Summary: Disable snapshot repository in CI
                 Key: HDDS-11872
                 URL: https://issues.apache.org/jira/browse/HDDS-11872
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: build, CI
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


CI build sometimes times out fetch information from snapshot repository, e.g.:

{code}
2024-12-06T07:47:25.4243391Z [INFO] --- 
cyclonedx-maven-plugin:2.9.1:makeAggregateBom (default) @ ozone-main ---
2024-12-06T07:47:25.4954425Z [INFO] CycloneDX: Resolving Aggregated Dependencies
2024-12-06T07:49:40.7194464Z [WARNING] Could not transfer metadata 
org.apache.ozone:hdds-interface-client:2.0.0-SNAPSHOT/maven-metadata.xml 
from/to apache.snapshots.https 
(https://repository.apache.org/content/repositories/snapshots): transfer failed 
for 
https://repository.apache.org/content/repositories/snapshots/org/apache/ozone/hdds-interface-client/2.0.0-SNAPSHOT/maven-metadata.xml
2024-12-06T07:49:40.7214435Z [WARNING] 
org.apache.ozone:hdds-interface-client:2.0.0-SNAPSHOT/maven-metadata.xmlfailed 
to transfer from https://repository.apache.org/content/repositories/snapshots 
during a previous attempt. This failure was cached in the local repository and 
resolution will not be reattempted until the update interval of 
apache.snapshots.https has elapsed or updates are forced. Original error: Could 
not transfer metadata 
org.apache.ozone:hdds-interface-client:2.0.0-SNAPSHOT/maven-metadata.xml 
from/to apache.snapshots.https 
(https://repository.apache.org/content/repositories/snapshots): transfer failed 
for 
https://repository.apache.org/content/repositories/snapshots/org/apache/ozone/hdds-interface-client/2.0.0-SNAPSHOT/maven-metadata.xml
2024-12-06T07:51:51.7637609Z [WARNING] 
org.apache.ozone:hdds-interface-client:2.0.0-SNAPSHOT/maven-metadata.xmlfailed 
to transfer from https://repository.apache.org/content/repositories/snapshots 
during a previous attempt. This failure was cached in the local repository and 
resolution will not be reattempted until the update interval of 
apache.snapshots.https has elapsed or updates are forced. Original error: Could 
not transfer metadata 
org.apache.ozone:hdds-interface-client:2.0.0-SNAPSHOT/maven-metadata.xml 
from/to apache.snapshots.https 
(https://repository.apache.org/content/repositories/snapshots): transfer failed 
for 
https://repository.apache.org/content/repositories/snapshots/org/apache/ozone/hdds-interface-client/2.0.0-SNAPSHOT/maven-metadata.xml
2024-12-06T07:54:02.8239175Z [WARNING] Could not transfer metadata 
org.apache.ozone:hdds-hadoop-dependency-test:2.0.0-SNAPSHOT/maven-metadata.xml 
from/to apache.snapshots.https 
(https://repository.apache.org/content/repositories/snapshots): transfer failed 
for 
https://repository.apache.org/content/repositories/snapshots/org/apache/ozone/hdds-hadoop-dependency-test/2.0.0-SNAPSHOT/maven-metadata.xml
{code}

Ozone does not use snapshot dependencies, so I propose disabling the snapshot 
repository in CI.



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