Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52785

Multi Architecture Docker image

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Jenkins Docker image available currently jenkins/jenkins:lts isn't multi architecture. 
      On x86 it works perfectly well but on platforms like s390x , ppc64 it isn't supported.

      Can we make the jenkins image multi-arch ? What would it take to add Docker image support for s390x ?

      Current Problem:

      docker run --name jenkins_s390x -P jenkins/jenkins:lts
       standard_init_linux.go:185: exec user process caused "exec format error" 

      However, if i clone jenkinsci/docker and then do a "docker build " and run , it works fine (check attachment for the same).
      So we will need a mechanism to run the docker build on the platform and then push the image to the repository.

       Refer to conversations and progress reports in the Platform Special Interest Group where s390x progress is regularly being reported. One or more pull requests are in progress, along with hardware provided to the Jenkins project for connection to ci.jenkins.io.

        Attachments

          Issue Links

            Activity

            durgadas Durgadas Kamath created issue -
            durgadas Durgadas Kamath made changes -
            Field Original Value New Value
            Component/s docker [ 20834 ]
            Hide
            durgadas Durgadas Kamath added a comment -

            Oleg Nenashev , What would it take for us to support s390x ? 
            We can provide Z access or PR needed code if needed to try out multi-arch.

            Show
            durgadas Durgadas Kamath added a comment - Oleg Nenashev , What would it take for us to support s390x ?  We can provide Z access or PR needed code if needed to try out multi-arch.
            durgadas Durgadas Kamath made changes -
            Description Jenkins Docker image available currently *jenkins/jenkins:lts* isn't multi architecture. 
            On x86 it works perfectly well but on platforms like s390x , ppc64 it isn't supported.

            Can we make the jenkins image multi-arch ? What would it take to add Docker image support for s390x ?
            Jenkins Docker image available currently *jenkins/jenkins:lts* isn't multi architecture. 
             On x86 it works perfectly well but on platforms like s390x , ppc64 it isn't supported.

            Can we make the jenkins image multi-arch ? What would it take to add Docker image support for s390x ?

            *Current Problem:*
            {noformat}
            docker run --name jenkins_s390x -P jenkins/jenkins:lts
             standard_init_linux.go:185: exec user process caused "exec format error" {noformat}

            However, if i clone jenkinsci/docker and then do a "docker build " and run , it works fine.

             
            durgadas Durgadas Kamath made changes -
            Attachment Docker_Build_S390x.txt [ 43536 ]
            durgadas Durgadas Kamath made changes -
            Description Jenkins Docker image available currently *jenkins/jenkins:lts* isn't multi architecture. 
             On x86 it works perfectly well but on platforms like s390x , ppc64 it isn't supported.

            Can we make the jenkins image multi-arch ? What would it take to add Docker image support for s390x ?

            *Current Problem:*
            {noformat}
            docker run --name jenkins_s390x -P jenkins/jenkins:lts
             standard_init_linux.go:185: exec user process caused "exec format error" {noformat}

            However, if i clone jenkinsci/docker and then do a "docker build " and run , it works fine.

             
            Jenkins Docker image available currently *jenkins/jenkins:lts* isn't multi architecture. 
             On x86 it works perfectly well but on platforms like s390x , ppc64 it isn't supported.

            Can we make the jenkins image multi-arch ? What would it take to add Docker image support for s390x ?

            *Current Problem:*
            {noformat}
            docker run --name jenkins_s390x -P jenkins/jenkins:lts
             standard_init_linux.go:185: exec user process caused "exec format error" {noformat}
            However, if i clone jenkinsci/docker and then do a "docker build " and run , it works fine (check attachment for the same).
            So we will need a mechanism to run the docker build on the platform and then push the image to the repository.

             
            danielbeck Daniel Beck made changes -
            Component/s core [ 15593 ]
            Hide
            sethp Priya Seth added a comment -

            I have tested the Dockerfile on ppc64le and it works fine, would be great to have a multi-arch image available!

            Show
            sethp Priya Seth added a comment - I have tested the Dockerfile on ppc64le and it works fine, would be great to have a multi-arch image available!
            csanchez Carlos Sanchez made changes -
            Remote Link This issue links to "PR-719 (Web Link)" [ 21415 ]
            Hide
            durgadas Durgadas Kamath added a comment -

            Discussions around the feature was done in the Platform SIG Meeting. Notes : https://docs.google.com/document/d/1YofL2uhy7xAa1mx_qFdDvDg4P-molmhDwFD0-8xX8mI/edit?usp=sharing_eip&ts=5b8699c5

            Show
            durgadas Durgadas Kamath added a comment - Discussions around the feature was done in the Platform SIG Meeting. Notes :  https://docs.google.com/document/d/1YofL2uhy7xAa1mx_qFdDvDg4P-molmhDwFD0-8xX8mI/edit?usp=sharing_eip&ts=5b8699c5
            durgadas Durgadas Kamath made changes -
            Remote Link This issue links to "Platform SIG Discussion (Web Link)" [ 21431 ]
            Hide
            slide_o_mix Alex Earl added a comment -

            This is now implemented, see https://hub.docker.com/r/jenkins4eval/jenkins

            Show
            slide_o_mix Alex Earl added a comment - This is now implemented, see https://hub.docker.com/r/jenkins4eval/jenkins
            Hide
            durgadas Durgadas Kamath added a comment -

            Alex Earl yup, this is great. Next milestone would be when it really makes it into jenkins/jenkins instead of jenkins4eval.

            Show
            durgadas Durgadas Kamath added a comment - Alex Earl yup, this is great. Next milestone would be when it really makes it into jenkins/jenkins instead of jenkins4eval.
            markewaite Mark Waite made changes -
            Epic Link INFRA-2519 [ 205091 ]
            markewaite Mark Waite made changes -
            Epic Link INFRA-2519 [ 205091 ]
            markewaite Mark Waite made changes -
            Description Jenkins Docker image available currently *jenkins/jenkins:lts* isn't multi architecture. 
             On x86 it works perfectly well but on platforms like s390x , ppc64 it isn't supported.

            Can we make the jenkins image multi-arch ? What would it take to add Docker image support for s390x ?

            *Current Problem:*
            {noformat}
            docker run --name jenkins_s390x -P jenkins/jenkins:lts
             standard_init_linux.go:185: exec user process caused "exec format error" {noformat}
            However, if i clone jenkinsci/docker and then do a "docker build " and run , it works fine (check attachment for the same).
            So we will need a mechanism to run the docker build on the platform and then push the image to the repository.

             
            Jenkins Docker image available currently *jenkins/jenkins:lts* isn't multi architecture. 
             On x86 it works perfectly well but on platforms like s390x , ppc64 it isn't supported.

            Can we make the jenkins image multi-arch ? What would it take to add Docker image support for s390x ?

            *Current Problem:*
            {noformat}
            docker run --name jenkins_s390x -P jenkins/jenkins:lts
             standard_init_linux.go:185: exec user process caused "exec format error" {noformat}
            However, if i clone jenkinsci/docker and then do a "docker build " and run , it works fine (check attachment for the same).
            So we will need a mechanism to run the docker build on the platform and then push the image to the repository.

             Refer to conversations and progress reports in the [Platform Special Interest Group|https://docs.google.com/document/d/1bDfUdtjpwoX0HO2PRnfqns_TROBOK8tmP6SgVhubr2Y/edit] where s390x progress is regularly being reported. One or more pull requests are in progress, along with hardware provided to the Jenkins project for connection to ci.jenkins.io.
            oleg_nenashev Oleg Nenashev made changes -
            Labels docker platform-sig roadmap
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-61774 [ JENKINS-61774 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-61773 [ JENKINS-61773 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-61775 [ JENKINS-61775 ]
            markewaite Mark Waite made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            markewaite Mark Waite made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            Hide
            markewaite Mark Waite added a comment -

            Arm and s390x support are included in Jenkins Docker images beginning with 2.307 weekly and 2.303.1 LTS.

            PowerPC support can't be included yet due to a QEMU bug. Once that is fixed, we can enable PowerPC support as well.

            Show
            markewaite Mark Waite added a comment - Arm and s390x support are included in Jenkins Docker images beginning with 2.307 weekly and 2.303.1 LTS. PowerPC support can't be included yet due to a QEMU bug. Once that is fixed, we can enable PowerPC support as well.
            markewaite Mark Waite made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              durgadas Durgadas Kamath
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: