Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: change weekly pipeline releaseType from "Release" to "Weekly" #639

Merged
merged 4 commits into from
Jun 14, 2023

Conversation

zdtsw
Copy link
Contributor

@zdtsw zdtsw commented Mar 5, 2023

Ref: #637

After this PR:
change on standard weekly (not evaluation-weekly) will be from release=true to release=false, publish is still the same "true"
So the behavior is set to the same as the evaluation-weekly
weekly will trigger remote TCK , same as when releaseType == Release

I keep the logic of upload artifacts which was planned as input for comparison job
but if we do not set releaseType as release for weekly, then the build result wont be able to do comparison.

This would require adoptium/jenkins-helper#51 to get merged at the same time.

@github-actions
Copy link

github-actions bot commented Mar 5, 2023

Thank you for creating a pull request!

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).

Code Quality and Contributing Guidelines

If you have not done so already, please familiarise yourself with our Contributing Guidelines and Code Of Conduct, even if you have contributed before.

Tests

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,20"

@github-actions github-actions bot added generation Issues that provide enhancements or fixes to the job generators jenkins-pipeline labels Mar 5, 2023
@sophia-guo
Copy link
Contributor

Remote triggers are triggered by both weekly and release build with releaseType=Release. So the remote trigger logic will also need to be updated.

@zdtsw
Copy link
Contributor Author

zdtsw commented Mar 6, 2023

Remote triggers are triggered by both weekly and release build with releaseType=Release. So the remote trigger logic will also need to be updated.

@andrew-m-leonard is the plan to keep having weekly trigger "remote TCK" as well?
if yes, then we need to update

if (buildConfig.VARIANT == 'temurin' && isRelease) {
to include "Weekly".

@smlambert
Copy link
Contributor

re: #639 (comment), we want to run TCKs weekly.

@zdtsw
Copy link
Contributor Author

zdtsw commented Mar 6, 2023

re: #639 (comment), we want to run TCKs weekly.

Will fix that piece. mark as Draft for now

    - this need to update IndividualBuildConfig in "jenkins-helper"

Signed-off-by: Zhou, Wen <[email protected]>
@zdtsw zdtsw marked this pull request as ready for review March 7, 2023 06:59
@andrew-m-leonard
Copy link
Contributor

run tests

@andrew-m-leonard
Copy link
Contributor

run tests

@eclipse-temurin-bot
Copy link
Collaborator

 PR TESTER RESULT 

❎ Some pipelines failed or the job was aborted! ❎
See the pipeline-build-check below for more information...

@zdtsw
Copy link
Contributor Author

zdtsw commented Jun 14, 2023

looks strange, two failed job on win64 indicated something like
"17:17:05 checkoutRequiredCodeToBuild succeeded
17:17:09 warning: failed to remove build/windows-x86_64-server-release/hotspot/variant-server/gensrc/adfiles/ad_x86.hpp: Device or resource busy
17:17:09 warning: failed to remove build/windows-x86_64-server-release/hotspot/variant-server/libjvm/objs/BUILD_LIBJVM.pch: Device or resource busy"

@zdtsw
Copy link
Contributor Author

zdtsw commented Jun 14, 2023

run test quick 8,17

@andrew-m-leonard
Copy link
Contributor

looks strange, two failed job on win64 indicated something like "17:17:05 checkoutRequiredCodeToBuild succeeded 17:17:09 warning: failed to remove build/windows-x86_64-server-release/hotspot/variant-server/gensrc/adfiles/ad_x86.hpp: Device or resource busy 17:17:09 warning: failed to remove build/windows-x86_64-server-release/hotspot/variant-server/libjvm/objs/BUILD_LIBJVM.pch: Device or resource busy"

That's usually a Windows "locked file" issue..

@andrew-m-leonard
Copy link
Contributor

run test quick 8,17

1 similar comment
@andrew-m-leonard
Copy link
Contributor

run test quick 8,17

Copy link
Contributor

@andrew-m-leonard andrew-m-leonard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think looks good now

@andrew-m-leonard
Copy link
Contributor

run tests quick 8,17

@eclipse-temurin-bot
Copy link
Collaborator

 PR TESTER RESULT 

✅ All pipelines passed! ✅

@andrew-m-leonard andrew-m-leonard merged commit b7e00a7 into adoptium:master Jun 14, 2023
luhenry pushed a commit to luhenry/adoptium-ci-jenkins-pipelines that referenced this pull request Feb 3, 2024
…adoptium#639)

* Update: change weekly pipeline releaseType from "Release" to "Weekly"

Signed-off-by: Wen Zhou <[email protected]>

* Update: add new field "WEEKLY" to indicate downstream job to run TCK job

    - this need to update IndividualBuildConfig in "jenkins-helper"

Signed-off-by: Zhou, Wen <[email protected]>

---------

Signed-off-by: Wen Zhou <[email protected]>
Signed-off-by: Zhou, Wen <[email protected]>
Co-authored-by: Andrew Leonard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generation Issues that provide enhancements or fixes to the job generators jenkins-pipeline
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants