Openj9: Acceptance builds for OpenJDK extensions

Created on 29 Apr 2019  路  26Comments  路  Source: eclipse/openj9

OpenJDK extensions are going to have OpenJDK changes merged into a openj9-staging branch. We want to run an acceptance build (similar to OMR) on the openj9-staging branch, and merge openj9-staging into the openj9 banch when the acceptance testing passes.

jdknext is ready to go now, the older versions will follow.
Note the test builds for jdknext aren't working yet, so until they do the acceptance build for jdknext can just be compile only.

build

Most helpful comment

Note: jdk12 MUST not be included in auto-accepting openj9-staging into openj9, as it is Oracle managed and currently openj9-staging is based on jdk12u "head" which may or may not have the correct commits for jdk-12.0.2...

jdk: Auto-merges HEAD into openj9-staging. Good for auto-acceptance.
jdk12: Auto-merges HEAD into openj9-staging. NOT good for auto-acceptance.
jdk11 : Auto-merges latest tagged build into openj9-staging. Good for auto-acceptance.

All 26 comments

@AdamBrousseau @andrew-m-leonard

All platforms? xlinux, xlinux_xl, xlinux_cm?

The same platforms as OMR acceptance. i.e. all

Note: jdk12 MUST not be included in auto-accepting openj9-staging into openj9, as it is Oracle managed and currently openj9-staging is based on jdk12u "head" which may or may not have the correct commits for jdk-12.0.2...

jdk: Auto-merges HEAD into openj9-staging. Good for auto-acceptance.
jdk12: Auto-merges HEAD into openj9-staging. NOT good for auto-acceptance.
jdk11 : Auto-merges latest tagged build into openj9-staging. Good for auto-acceptance.

Also added jdk8u auto-merge of latest tagged builds:
jdk8 : Auto-merges latest tagged build into openj9-staging. Good for auto-acceptance.

PR is ready to be merged. Just need to determine how to trigger the builds. I can look at setting up a hook on the repos that will fire the job when content is pushed to the staging branch.

@AdamBrousseau please confirm that JDK12 will not promote to openj9. We can run the acceptance build to see if anything is failing, but the build should not promote anything.

Thanks @AdamBrousseau. I notice the jdk11 build has TESTS_TARGETS none. We shouldn't be promoting anything that hasn't passed the testing.

fixed (and jdk8)

Until I sort out the trigger, feel free to launch on demand.

Started a jdk11 acceptance. Which should promote, considering the material being staged is the 11.0.3+7 level we already shipped with OpenJ9 0.14

Wee problem

[2019-05-08T12:25:07.049Z] + git push https://****:****@github.com/ibmruntimes/openj9-openjdk-jdk11.git openj9
[2019-05-08T12:25:13.363Z] remote: error: GH006: Protected branch update failed for refs/heads/openj9.        
[2019-05-08T12:25:13.363Z] remote: error: At least 1 approving review is required by reviewers with write access.        
[2019-05-08T12:25:13.363Z] To https://github.com/ibmruntimes/openj9-openjdk-jdk11.git
[2019-05-08T12:25:13.363Z]  ! [remote rejected]       openj9 -> openj9 (protected branch hook declined)
[2019-05-08T12:25:13.363Z] error: failed to push some refs to 'https://****:****@github.com/ibmruntimes/openj9-openjdk-jdk11.git'

Resolved. Branch protections were requiring PR reviews before anything could be pushed. Removed this option from the openj9 branch on all the repos.

The builds are available, working, and can be started manually. Since they aren't automatically triggered yet, I won't close this issue.

The builds are available, working, and can be started manually. Since they aren't automatically triggered yet, I won't close this issue.

I have setup the repo triggers on all repos (8,11,12,next). The builds should launch when content is pushed to the openj9-staging branch. @andrew-m-leonard if you could confirm the next time the merge jobs run and content is pushed that the corresponding Acceptance build fires that would be great.

Two builds for each version (8, 11, 12, next) were started at 10:13 and 10:24pm. Jenkins could not handle this load. I've disabled all the acceptance builds.

@AdamBrousseau jdk11 openj9-staging is now at jdk-11.0.4+2
jdkNext is quite busy and is merging new changes every night

@andrew-m-leonard the linux compile problems are blocking merging new levels, not automated kickoff of acceptance builds. If you've seen a fix get merged, we can try a new build.

https://ci.eclipse.org/openj9/job/Build_JDK11_s390x_linux_OpenJDK11/3/console
https://ci.eclipse.org/openj9/job/Build_JDK11_ppc64le_linux_OpenJDK11/5/console

Made a change to the job trigger configs to hopefully resolve the issue of them all launching. Kicked off a merge job now to test.

No go yet, they all just launched at the same time

Added another filter on the triggers. Hopefully solved now. Will keep an eye on it.

@AdamBrousseau Suggest we launch a merge job during the day today, for one jdk version, in order to test.

@AdamBrousseau jdk8 openj9-staging has just updated to jdk8u222-b02

Looks like we got a build triggered
https://ci.eclipse.org/openj9/job/Pipeline-OpenJDK8-Acceptance/7/
And no other builds triggered. I think this is resolved.

Was this page helpful?
0 / 5 - 0 ratings