Closed sxa closed 2 months ago
run tests
Please check out the information below if you have not made a pull request here before (or if you need a reminder how things work).
If you have not done so already, please familiarise yourself with our Contributing Guidelines and Code Of Conduct, even if you have contributed before.
Github actions will run a set of jobs against your PR that will lint and unit test your changes. Keep an eye out for the results from these on the latest commit you submitted. For more information, please see our testing documentation.
In order to run the advanced pipeline tests (executing a set of mock pipelines), it requires an admin to post run tests
on this PR.
If you are not an admin, please ask for one's attention in #infrastructure on Slack or ping one here.
To run full set of tests, use "run tests"; a subset of tests on specific jdk version, use "run tests quick 11,21"
❎ Some pipelines failed or the job was aborted! ❎
See the pipeline-build-check
below for more information...
run tests
Noting that I've been using this for a few days now without any problems, so the logic appears to be safe and reliable.
The initial pr test pipeline failed on jdk11u with this which should have nothing to do with this PR:
18:20:07 Compiling 3 files for BUILD_DEMO_FileChooserDemo
18:20:09 Updating support/demos/image/jfc/FileChooserDemo/src.zip
18:20:10 Note: c:\workspace\openjdk-build\workspace\build\src\src\demo\share\jfc\FileChooserDemo\FileChooserDemo.java uses or overrides a deprecated API.
18:20:10 Note: Recompile with -Xlint:deprecation for details.
18:20:10 Note: c:\workspace\openjdk-build\workspace\build\src\src\demo\share\jfc\FileChooserDemo\FileChooserDemo.java uses unchecked or unsafe operations.
18:20:10 Note: Recompile with -Xlint:unchecked for details.
18:20:10 make[3]: *** [CompileDemos.gmk:177: /cygdrive/c/workspace/openjdk-build/workspace/build/src/build/windows-x86_64-normal-clientandserver-release/support/demos/classes/jfc/FileChooserDemo/_the.BUILD_DEMO_FileChooserDemo_batch] Error 1
18:20:10 make[3]: *** Waiting for unfinished jobs....
18:20:10 make[2]: *** [make/Main.gmk:330: demos-jdk] Error 2
18:20:10 make[2]: *** Waiting for unfinished jobs....
The jdk11u ea triggered pipeline from yesterday built ok, so we shall see if there is any failure in the new pipeline triggered by the run tests
command today https://ci.adoptium.net/job/build-scripts-pr-tester/job/openjdk-build-pr-tester/1914/ (Should trigger jdk11 windows pipeline 195)
✅ All pipelines passed! ✅
(Should trigger jdk11 windows pipeline 195)
195 is good so the failure with JDK11u in 194 seems to have been a transient bug, potentially in the upstream build.
Continuation of the first phase in https://github.com/adoptium/ci-jenkins-pipelines/pull/1099 Resolves https://github.com/adoptium/infrastructure/issues/3710 Part of https://github.com/adoptium/infrastructure/issues/3286
The solution here is a copy of the logic in the non-docker case. Noting that I have not adjusted the logic for the case where a Dockerfile is supplied. That is not used currently functionality which we use at Temurin so I don't want to encourage anyone :-)
Saving pipeline link here