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

IllegalArgumentException: Unknown os.arch building core on Linux aarch64 or s390x

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Linux arm
    • 2.405

      After the 2.402 release we are seeing an error when building on arm.

      [ERROR] Step 'eclipse groovy formatter' found problem in 'Jenkinsfile':
      
      Caused by: java.lang.IllegalArgumentException: Unknown os.arch aarch64'. 

       

      logs added as an attachment

       

      I had a quick peak at the differences this release https://github.com/jenkinsci/jenkins/compare/jenkins-2.401...jenkins-2.402

       

      I looked like the related plugin version may have change https://github.com/jenkinsci/jenkins/compare/jenkins-2.401...jenkins-2.402#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8R361 also some changes to the Jenkinsfile.  Not sure if related but figured I'd mention.  

       

      I wonder if this is related to our build environment or could affect anyone building on arm?

       

      For reference we are reverting the merge from our build https://github.com/wolfi-dev/os/pull/1583 note: we don't build CI on arm because of the terrible performance, which is why we are reverting a merge.

       

       

            vlatombe Vincent Latombe
            rawlingsj James Rawlings
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: