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
sw.os.ubuntu.16
hw.arch.ppc64le
sw.os.ubuntu.16
hw.arch.ppc64
@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.
Most helpful comment
@llxia I have updated the machines with the new labels