[ 
https://issues.apache.org/jira/browse/HDDS-11872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai updated HDDS-11872:
------------------------------------
    Description: 
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, nor publish snapshot artifacts to 
Maven, so I propose removing the snapshot repository definition.

It was inherited from Hadoop, which (used to?) publish snapshot artifacts 
(MAPREDUCE-3003).

  was:
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.


> Remove snapshot repository definition
> -------------------------------------
>
>                 Key: HDDS-11872
>                 URL: https://issues.apache.org/jira/browse/HDDS-11872
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: build, CI
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> 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, nor publish snapshot artifacts to 
> Maven, so I propose removing the snapshot repository definition.
> It was inherited from Hadoop, which (used to?) publish snapshot artifacts 
> (MAPREDUCE-3003).



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