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

Checklist for Temurin Release January 2024 #16

Closed
74 tasks done
Haroon-Khel opened this issue Jan 8, 2024 · 0 comments
Closed
74 tasks done

Checklist for Temurin Release January 2024 #16

Haroon-Khel opened this issue Jan 8, 2024 · 0 comments

Comments

@Haroon-Khel
Copy link
Contributor

Haroon-Khel commented Jan 8, 2024

This Temurin release checklist based on the release doc captures what activities must happen during a release.

The target release date is: 2024-01-16

The release champion for this release is: @Haroon-Khel

Planned absences during the release cycle:

The role of the release champion is to ensure that all release activities listed in this checklist get completed (by delegation to the broader team or by the release champion themselves). The final task of the release champion during a release is to confirm that all items in the checklist were completed satisfactorily and the release can be declared complete.

Everyone participating in a release, including the release champion are requested to provide feedback into the release retrospective so that the release process can be continuously improved (through simplification and/or automation).


Two Weeks Prior To Release

  • Release Champion named whose responsibility is to ensure every item in this checklist gets completed

  • Release Checklist Created Create this issue to track the release and the preparation tasks.

  • Identify Expected Release Versions - Find out the version numbers from here

  • Notify release branching of build repositories : Slack message, branching build repositories

  • Create build repositories release Branches : Create build repository release branches

  • Identify the aqa branch name for the upcoming release - SL/Jan8: v1.0.0-release

Ensure ALL nodes online prior to running these following TC steps:

  • TC: Run the DeleteJCKMultiNode process cleaning job on all ci.role.test nodes, to remove any now redundent jck-versions, to ensure healthy state, verify all nodes successful: https://ci.eclipse.org/temurin-compliance/job/DeleteJCKMultiNode

  • TC: Run the ProcessCheckMultiNode process cleaning job on all ci.role.test nodes, to ensure healthy state, verify all nodes successful: https://ci.eclipse.org/temurin-compliance/job/ProcessCheckMultiNode/build?delay=0sec

  • TC: Run the Setup_JCK_Run_Multinode job with CLEAN_DIR=true (to purge any old release contents/results) on all ci.role.test nodes, this will extract the jck_run folder with all the temurin.jtx exclude files, verify all nodes successful : https://ci.eclipse.org/temurin-compliance/job/Setup_JCK_Run_Multinode/build?delay=0sec

  • Check the nagios server to ensure there are no critical infrastructure issues
    Log in to the public nagios server, and check the Problems / Services page. If you do not have access, please request it via an issue in the infrastructure repository. If there are any issues, then please log an issue in the infrastructure repository.

  • Regenerate The Release Build Pipeline Jobs In Jenkins

  • Prepare & Perform Dry Run Of Build & Tests : Dry-run

  • Triage dry-run TCK job results

  • Perform TCK Auto-manuals on x64Linux for each dry-run version

One Week Prior To Release

  • Final Code Freeze Warning post a message to the build & release slack channels : Slack message

After 1 day, then :-

  • Declare code freeze to ensure stability of build systems and infrastructure during release process : #build and #release slack message: "Code Freeze is now being enabled"

  • Enable code freeze bot : Enabling code freeze

  • Disable standard builds temporarily; both nightlies and weeklies

    • This frees up resources and ensures no competing jobs during release week.
    • This should be done by running build-pipeline-generator with the default for ENABLE_PIPELINE_SCHEDULE set to false.
  • Disable evaluation builds temporarily; both nightlies and weeklies

    • This frees up resources and ensures no competing jobs during release week.
    • This should be done by running evaluation-pipeline-generator with the default for ENABLE_PIPELINE_SCHEDULE set to false.
  • Prepare For Release

Wait For All Of The Above To Complete Successfully Before Proceeding!


Release Week Checklist:

  • -- Check All Nodes Online https://ci.eclipse.org/temurin-compliance/label/ci.role.test/
  • Run https://ci.eclipse.org/temurin-compliance/job/ProcessCheckMultiNode/ -- with defaults
  • Run Setup_JCK_Multinode with CLEAN_DIR=true for ( ci.role.test )
  • Disable Setup_JCK_Run_Multinode To Ensure Test Evidence Is Not Lost
  • As detailed earlier, again check the nagios server to ensure there are no critical infrastructure issues
  • Create the Github Issues for tracking progress against each Java version in the adoptium/temurin repo
  • Create the Github issues for the Adoptium public retro & TC retro in the adoptium/temurin repo
  • Update the links on the slack channel for the release status and retrospective issues.

Release Day Onwards

  • Check Tags have been released upstream - Look for mailing list announcements and -ga tags in version control.

  • Check the published GA tags are the "expected" tags entered in the aqa-tests release branch testenv.properties. If they are not then update.

  • Check Tags have been Mirrored Mirrors.

  • Check "auto-trigger" pipelines or Launch build pipelines for each version being released. Verify if the release pipline "auto-triggered", if not (maybe expected tag was wrong), then manually launch (as per release doc) once release tags are available via launch page in Jenkins. Provide links in this issue to each version's pipeline build(s). There may be multiple pipelines per version if primary and secondary platforms are separated to expedite the release. In some cases, where there are unforeseen configuration or infrastructure issues, reruns may be needed.

  • Check Upstream Tags, Mirror Tags & Trigger Builds For JDK8 AARCH32 This specific version is built from a separate mirror repository and has a separate build process, this is CURRENTLY not part of the automation which is handled for the other platforms and version. Also note that there is a seperate properties file (testenv_arm32.properties) which needs to be updated.

  • Add links to the status doc to indicate per-platform builds ready

  • Add website banner

    • Make a PR.
    • Check it was automatically published to the website.
    • Announce that we target releases to be available within 48-72 hours of the GA tags being available.
  • Summarize test results. Find each launched build pipeline in TRSS to view a summary of test results. Can use the Release Summary Report feature in TRSS to generate a summary of failures, history and possible issues in markup format to be added to this issue as a comment.

  • Triage each build and test failure in the release summary report (following the Triage guidelines) and determine blocking or non-blocking. Supply links to triage issues or docs for each version here.

  • Fix blocking failures if they exist and confirm others are non-blocking.

  • Confirm Temurin-compliance items completed, per platform/version/binaryType

  • Get PMC 'ready to publish' approval, once no blocking failures exist.

  • **Generate The Release Notes Per JDK Version **, ( Use https://ci.adoptium.net/job/build-scripts/job/release/job/create_release_notes/ ) - SL/Jan24 - Shelley will run these

  • Publish the release (run the restricted access release tool job on Jenkins) ( also publish release notes )

  • Consider updating the API as required via the relevant parts of the Adoptium API model constants.

  • Verify binaries published successfully to github releases repo and website (automate*, this could also be an automated test)

  • Publish updates to the containers to dockerhub

  • Edit the Homebrew Temurin Cask and replace the version and sha256 as appropriate. This means for Homebrew users that they install the latest by default and can use the @ notation to install older versions if they wish.

  • Update support page (automate* github workflow to create a PR to update support webpage)

  • Update release notes (automate* - github workflow to create update for release notes pages - example)

  • Trigger linux installers pipeline currently it is part of the build pipelines (will eventually be updated to run independently)

  • Publicize the release via Slack #release channel and Twitter (can be partially automated)

  • Declare code freeze end opening up the code for further development

  • Disable code freeze bot In order to enable the code freeze GitHub you need to change the line if: github.repository_owner == 'adoptium' && true to be if: github.repository_owner == 'adoptium' && false in the code-freeze.yml GitHub workflow. Please contact the PMC if you need help merging this change.

  • Remove website banner (automate* via github workflow in website repository)

  • Check for presence of jdk8u aarch32 GA tag and mirror it Mercurial repo - Mirror job

  • Do all of the above for the jdk8u/aarch32 build: Ensure to specify overridePublishName param

  • Archive/upload all TCK results

  • Use EclipseMirror job in the Temurin Compliance jenkins to store a backup of the release artifacts

  • Declare the release complete and close this issue

  • Re-enable testing: Once the release is deployed, don't forget to re-enable any testing that was disabled during the release process to ensure that the system is working as expected. This includes unit tests, integration tests, end-to-end tests, and any other testing that was temporarily paused. Be sure to validate that all tests are running successfully before considering the release complete.

  • Create a draft PR for a release blog post for next release in the adoptium.net repository and ensure to delegate the task of finalizing and publishing the existing draft PR for this release's blog post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant