[
https://issues.apache.org/jira/browse/SOLR-18032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047146#comment-18047146
]
Jan Høydahl edited comment on SOLR-18032 at 12/23/25 12:33 AM:
---------------------------------------------------------------
Jenkins now comes to the point of attempting multi platform push, but it [fails
to
build|https://ci-builds.apache.org/job/Solr/job/Solr-Docker-Nightly-main/1450/console]
on ARM:
{code:java}
> Task :solr:docker:dockerPush FAILED
FAILURE: Build failed with an exception.
* Where:
Build file
'/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-main/solr/docker/build.gradle'
line: 303
* What went wrong:
Execution failed for task ':solr:docker:dockerPush'.
> Current builder does not support all requested platforms: [linux/arm64]
Supported platforms: linux/amd64, linux/amd64/v2, linux/amd64/v3,
linux/amd64/v4, linux/386
To add platform support, Install QEMU with proper binfmt support.
{code}
We may need to ask INFRA whether our jenkins build boxes do not have QEMU
support. From INFRA-18322 we see that it has been added at some point, but
perhaps not on lucene/solr builders?
*{*}EDIT{*}* Reply in infra slack (user fluxo):
{quote}qemu performance would be absolutely abysmal. open a ticket anyway, we
can see about adding some arm64 build nodes
{quote}
Not sure if an arm build node would help us here, as you need to build and push
both arch at the same time, not? Quite complex to have two jenkins jobs where
one push the amd image and another push the arm image, to the same manifest.
So perhaps we need to move our nightly docker build from Jenkins to schedule
Github Workflow?
was (Author: janhoy):
Jenkins now comes to the point of attempting multi platform push, but it [fails
to
build|https://ci-builds.apache.org/job/Solr/job/Solr-Docker-Nightly-main/1450/console]
on ARM:
{code:java}
> Task :solr:docker:dockerPush FAILED
FAILURE: Build failed with an exception.
* Where:
Build file
'/home/jenkins/jenkins-agent/workspace/Solr/Solr-Docker-Nightly-main/solr/docker/build.gradle'
line: 303
* What went wrong:
Execution failed for task ':solr:docker:dockerPush'.
> Current builder does not support all requested platforms: [linux/arm64]
Supported platforms: linux/amd64, linux/amd64/v2, linux/amd64/v3,
linux/amd64/v4, linux/386
To add platform support, Install QEMU with proper binfmt support.
{code}
We may need to ask INFRA whether our jenkins build boxes do not have QEMU
support. From INFRA-18322 we see that it has been added at some point, but
perhaps not on lucene/solr builders?
> Make our gradle docker tasks support multi platform
> ---------------------------------------------------
>
> Key: SOLR-18032
> URL: https://issues.apache.org/jira/browse/SOLR-18032
> Project: Solr
> Issue Type: Improvement
> Components: Build, Docker
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Priority: Major
> Labels: pull-request-available
> Fix For: main(11.0)
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> It has been discussed in
> [Slack|https://the-asf.slack.com/archives/CEKUCUNE9/p1765901381853849] and a
> [PR|https://github.com/apache/solr/pull/3706/files/20ec9db671769632e959402ea9f6d7cbed838554#r2623671399]
> whether we should push our nightly images for multiple platforms /
> architectures, so they can more easily be consumed by both the AMD camp and
> the ARM camp :)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]