New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pulled image jenkins/jenkins doesn't run on arm64 architecture #686
Comments
|
there is no docker image build for arm |
|
@carlossg thanks for confirming this. As the pull works on arm64 machine, I thought the arm64 build of jenkins/jenkins is available. I just did an arm64 build of jenkins/jenkins image and confirmed it works on arm64 architecture. I really want to get arm64 architecture supported by jenkins docker image. Is there anything I can do to help it happen? Thanks. |
|
ping @rtyler |
|
@shawnguo2 I think the right way forward is to file an INFRA issue on https://issues.jenkins-ci.org/projects/INFRA/issues/INFRA. Cheers |
|
@batmat Thanks a lot for the hint. I just created an INFRA issue as below. Please let me know if I need to add more information into the issue. Thanks. https://issues.jenkins-ci.org/projects/INFRA/issues/INFRA-1652 Update - the issue link is changed to: https://issues.jenkins-ci.org/browse/JENKINS-52090 Thanks @lag-linaro for spotting it. |
|
So far is is a feature request for the scripts in this repository. |
|
I think you need to do the build in ARM, but not sure |
|
hi, I also wanted to try jenkins on aarch64 ( rock64 in my case ). Steps to use:
For the jenkinsci-developers: It is working for me, just finished setup and now I see "Willkommen bei Jenkins!" ;-) |
|
Oddly the link to the Jenkins Issue for this provided by Shawn isn't working. For reference, it's here: https://issues.jenkins-ci.org/browse/JENKINS-52090 |
|
@lag-linaro Yes, the issue was moved by @oleg-nenashev and I forgot to update the page here. |
|
Why isn't this project part of Docker's Official Images repo? This issue would just go away if it was, since Docker's builders create and publish images for all architectures tagged as supported, and since Jenkins is based on OpenJDK it should 'just work'. |
|
because the official images repo is manually updated and this is currently fully automated for each release |
|
Okay, understood. So the only way to move this forward is for you guys to fully automate ARM64 builds too, right? Is there anything we can do to expedite that process? |
|
Hi - any update on ARM64 builds ? |
|
So an INFRA was raised over 2 months ago now, but hasn't gained any attention. Is there anything we can do to expedite support for Aarch64? This project literally 'just works'. |
|
Unless someone can come up with a way to build without arm server it requires infrastructure that is not yet available |
|
@lag-linaro Would Linaro be interested to contribute/sponsor some infrastructure for that? Or maybe build the image on ci.linaro.org? If yes, we could find a way to host it IMHO. If it is something you may consider, I propose to start a thread in the Jenkins Platform SIG we have a meeting at 2PM UTC today, and I am happy to sync-up on this topic if you want. P.S: Soon I also plan to create an Embedded SIG. We had a discussion about something like that with Linaro folks at the last FOSDEM, so maybe we could use such venues to coordinate the activities |
|
As proposed in the Ticket, we could start from offering the build from the Jenkins Experimental repo: https://hub.docker.com/r/jenkins/jenkins-experimental/ or equivalent. This is built on DockerHub, and it will have much less quality requirements than building official Docker images in Trusted CI |
|
@oleg-nenashev thanks for taking this on, I really appreciate it. With regards to infrastructure, it would be preferred if you were to use a publicly available service such as CodeFresh, WorksOnARM or Shippable.
I can personally vouch for CodeFresh, as I've set some builds up there recently. The platform is very easy to use and initial set-up is trivial, especially if you have a Dockerfile. |
|
We have a related discussion in Platform SIG about multi-arch images: https://groups.google.com/forum/#!topic/jenkins-platform-sig/6-X_8J0Ii8s . I propose to have a call next week and to discuss this multi-architecture Docker images (see the timeframe voting link). Personally I find WorksOnARM really interesting from the Jenkins project PoV. We have recently reached Quality Outreach program, and I would be interested to join such program for Arm platforms. |
|
#719 actually addresses it, right? |
|
@oleg-nenashev, yes the two commits seem to address it. |
|
related to #646 |
|
Happy to help with this, and as well bringing this to the attention of @tianon regarding official Docker image support. |
|
Good news. I am able to build this for ARM64 with no issues. I have taken the liberty to push the build into CodeFresh CI. Anyone can pull the resultant build from any ARM64 platform using:
Please could you add
|
|
@lag-linaro There is pending #719 which enables building platforms with QEMU. I believe we could add the Arm flow to it as well. WDYT? |
|
@oleg-nenashev -- adding arm64 to #719 sounds like it would be a win. |
|
@oleg-nenashev go for it. Works for me. |
|
@oleg-nenashev could I trouble you for an update please? |
|
It is still in progress, we need to figure out some issues with the
deployment flow
…On Sat, Mar 9, 2019 at 5:42 PM darcyrush ***@***.***> wrote:
It looks like #719 <#719> and #750
<#750> recently got merged. I'm
looking in jenkins4eval/jenkins-multiarch and
jenkins4eval/jenkins-multiarch-qemu but not seeing any tags for either.
jenkins/jenkins-experimental has some builds but they are for other
projects and over 4 months old.
The hacking docs
<https://github.com/jmreicha/docker/blob/8fac4d781d96e5991943120a977132471eda81e7/HACKING.adoc#multiarch-support>
says builds should be pushed to jenkins4eval/jenkins/
<https://hub.docker.com/r/jenkins4eval/jenkins/> but this comment
<#750 (comment)>
implies credentials may still be needed for the images to be pushed.
Is this the case or am I misunderstanding the purpose of these PRs? I want
to pull a jenkins image to run on my Raspberry Pi.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#686 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC3IoPC5XE13LTFlU-9OpgGl_DLsz2Jaks5vU-RxgaJpZM4UcTx0>
.
|
|
Is this likely to be delivered any time soon? |
|
The permissions are fixed now, so the publishing will hopefully start working. There are some other issues with some agents that are causing build failures, but that is hopefully being addressed. You can monitor https://hub.docker.com/r/jenkins4eval/jenkins for builds for different architectures. |
|
@slide |
|
Hello,
Please use a dedicated subject and the mailing list for such questions:
https://jenkins.io/mailing-lists
Updating the container this way is unsupported and I am not sure there is
even password set (cannot check easily, bad connection here now).
Either create a custom image, or better run your workload in an agent. On
the mailing list there will be more people watching (hundreds) and able to
help. Here we discuss and fix bugs related to the Jenkins docker image.
Thanks!
Le dim. 4 août 2019 à 07:27, Peiying Yang(Brian) <notifications@github.com>
a écrit :
… @slide <https://github.com/slide>
I enter to the container by docker exec -it jenkins bash
Then I run apt update. It shows permission denied,
What is the password? I want to install npm in this container.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#686?email_source=notifications&email_token=AABWU3MHMJPSBOKUUUIPNPLQCZSDPA5CNFSM4FDRHR2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3P2YRA#issuecomment-517975108>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABWU3KOZZFKNGCG2CAJS63QCZSDPANCNFSM4FDRHR2A>
.
|
|
The Jenkins user that is created does not have permissions to install sw. You would need to create your own custom image based on this one. As batmat says, you should ask questions on the mailing lists. |
|
This should be possible now with Buildx: https://engineering.docker.com/2019/04/multi-arch-images/. Buildx is still an experimental feature and needs to be enabled manually but I think it's the way to go. |
|
@bmuschko we are already building cross platform images under the jenkins4eval org on docker hub. |
|
The images on jenkins4eval looks good. Tested on my AArch64 platform. How long will the image sit there before it is available in the main repo? |
|
I made #872 to track the progress of combining the builds. |
|
the latest alpine images from jenkins4eval are not so good (at least for me). I build ~2 month old images based on any one else observing the same behavior? |
|
I think you might be one of the first people actually using the image. They are alpha level images as we don't have much in the way of testing on the newer platforms. Can you give more details on the processor you are using? |
|
hi @slide I am using Rockchip RK3328 Quad-Core SOC. Can reproduce the issue on all 5 boards i have. jfyi: I just build jenkins-2.204.5 with Thanks! |
|
Yes, that would be helpful |
|
I have a 6 core Rockchip RK3399 SOC with Mali T860 MP4 GPU that I'll try on. |
|
it looks like the last working image is: note: it stating up fine, but fails randomly (i had ~200 restarts over the night). navigating: login -> manage -> configure reproducedes this issues for me constantly on a random step too; |
|
I tried a few images on my arm64 and they all worked fine for me. What OS are you running? |
|
Does it only happen when an agent connects? |
|
hi @slide OS One note, I am using k8s v1.17.3 and containerd://1.2.10 runtime (not a docker). It does not seems to be happen on the agent connection, but during workload being running. Let me see if I would be able to reproduce it on a clean setup. |
|
no luck. full log: https://pastebin.com/Yape7aM2 there is a similar report for the make java error for arm64: openhab/openhab-docker#233
Looks like this issue is more related to openjdk/alpine rather than jenkins:
|
|
Tried building official Dockerfile with docker buildx to arm64 architecture - didn't work. However this guy has Dockerfile (https://github.com/djdefi/rpi-jenkins) that builds Jenkins on top of official Rasbian Stretch image. I built it and works fine on my RPi4. |
|
This image was starting fine for me a few months ago, but I noticed that it would crash every few minutes and the image would reboot. I'll try to get logs for you guys. Would you prefer me to start a new ticket to track the frequent crashes? I've got a setup using Kubernetes on Raspberry PI 4. IIRC: no builds were taking place at the time. It was sitting idle and still crashing. Previous images had the same issue. I'm now waiting for it to reproduce with the latest image: jenkins4eval/jenkins:2.225-alpine-arm64 It crashed after about 20 minutes, with no agents connecting. |
|
This fatal error occurred after more than 10 minutes of runtime. |
|
I noticed issues with JDK 8 on ARM64, I switched to JDK 11 and it worked better. Please do file a new issue, though it looks like an issue with the JDK on ARM64. |
|
We're now publishing See tags on dockerhub: |
Hi,
I can pull jenkins/jenkins successfully on arm64 architecture, but it fails to run as below.
The text was updated successfully, but these errors were encountered: