[
https://issues.apache.org/jira/browse/CASSANDRA-20422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936138#comment-17936138
]
Stefan Miklosovic commented on CASSANDRA-20422:
-----------------------------------------------
The build in case of ARM fails on
{code:java}
def getJarTasks() {
Map jars = tasks()['jars']
assertJarTasks(jars)
return jars
}
def assertJarTasks(jars) {
if (jars.size() < 2) {
error("Nothing to build. Check parameters: jdk ${params.jdk}
(${javaVersionsSupported()}), arch ${params.architecture}
(${archsSupported()})")
}
} {code}
if (jars.size() < 2) > this evaluates to "true". Hence, for ARM, "Map jars"
has size of 1 (or 0?) instead of 2 (or more) as it is for other architecture.
Looking into successful build,
[https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch-5/184/cloudbees-pipeline-explorer/?line=45]
this differs from unsuccessful, arm one
https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch-5/189/cloudbees-pipeline-explorer/?line=45
> improve the golang download when building source code
> -----------------------------------------------------
>
> Key: CASSANDRA-20422
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20422
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: Build
> Reporter: Ling Mao
> Assignee: Ling Mao
> Priority: Low
> Fix For: 5.0.x, 5.x
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 1. Optimized the download process for Go (Golang) to make it faster if you
> already have it installed locally. Every build typically requires fetching
> Go, which can be time-consuming
> 2. In regions where access to Google is restricted (e.g., China), the build
> process can hang indefinitely while attempting to download Go. To address
> this, we can enhance the wget command by adding timeout and retry options.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]