Openj9: Update Jenkins node labels to match AdoptOpenJDK label schema

Created on 27 Mar 2018  路  9Comments  路  Source: eclipse/openj9

Ref AdoptOpenJDK/openjdk-infrastructure#93

Since we will be reusing Adopt test JenkinsFiles (#1450), it would be a good idea to have the same node labelling schema. We should only add the labels we need.

We could also use NodeHelper API and NodeLabel job

  • [x] Add new labels to nodes
  • [x] Pull Request to update the labels for our existing build & test pipelines #2204
  • [x] Remove old labels from nodes

Labels to add

zLinux

  • hw.arch.s390x
  • sw.os.linux
  • sw.os.ubuntu
  • sw.os.ubuntu.16

    pLinux

  • hw.arch.ppc64le

  • sw.os.linux
  • sw.os.ubuntu
  • sw.os.ubuntu.16

    aix

  • hw.arch.ppc64

  • sw.os.aix
  • sw.os.aix.7_2
build

Most helpful comment

@llxia I have updated the machines with the new labels

All 9 comments

@llxia can you confirm which os label you want/prefer for test.
i.e. sw.os.linux or sw.os.ubuntu or sw.os.ubuntu.16

Talked with Adam, we should use the same labeling across sites and we can use Shubham's tool to label machine automatically.

As we use Jenkins files from AdoptOpenJDK for test and both sites have different labeling schema, we pass in LABEL as parameter for now.
For example:
https://ci.eclipse.org/openj9/view/Test/job/Test-Sanity-Functional-JDK8-linux_390-64_cmprssptrs/

@llxia I have updated the machines with the new labels

Please note that test jobs are using the passed in LABEL parameter. If the label is changed, please update the default value in the test jobs.

For example:
https://ci.eclipse.org/openj9/view/Test/job/Test-sanity.functional-JDK10-aix_ppc-64_cmprssptrs/configure

Once the labels are in sync between OpenJ9 and AdoptOpenJDK, we should not need LABEL parameter any more.

Waiting on AdoptOpenJDK/openjdk-tests#481 before I remove the old labels

AdoptOpenJDK/openjdk-tests#481 has been merged

This is now complete. Thanks @smlambert and @llxia for helping drive this at Adopt

Updated all test jobs to set default value for LABEL to be empty ( LABEL option is kept just in case we need it for debugging). All test jobs will use the LABEL value from the AdoptOpenJDK test script.

Was this page helpful?
0 / 5 - 0 ratings