Skip to content

Source-build October 2020 servicing #1768

Closed

Description

@dagood

3.1.9 / 3.1.109

    • Create a page at ".NET Core A&D" OneNote -> "Servicing" section -> "Retrospective" -> "{Month} {YYYY}" to take ongoing notes on problems with the process, workarounds, and fixes.
      • This is useful to make sure context is available to review later. It may end up blank if the release goes very smoothly.
      • There are other notes on servicing in this OneNote. It may be useful to review if something goes wrong to see if it's been fixed before.
      • [Non-Internal] File GitHub issues as you encounter problems, and link to them from the notes. Provide info in the issue rather than in the notes.
    • Version update cleanup and confirmations
      • [3.1]
        • Verify that the PrivateSourceBuiltArtifactsPackageVersion in eng/Versions.props matches N-1 release artifacts.
        • Update the global.json SDK version to N-1: the latest released "3.1.XYY" SDK version, where "3.1.X" matches the SDK we're building.
    • Start building locally (for quick diagnosis) and in CI (for super clean build) and iterate towards a green build.
      • Update baseline from the CI job, using the centos71 Offline artifacts.
        • Logs centos71 Offline/source-build/logs/artifacts/prebuilt-report/generated-new-baseline.xml
          • => tools-local/prebuilt-baseline-online.xml
        • Logs centos71 Offline/tarball/logs/artifacts/prebuilt-report/generated-new-baseline.xml
          • => tools-local/prebuilt-baseline-offline.xml
    • Review prebuilt baseline diff and iterate builds to drive to zero.
      • Find an explanation for each change in each (online/offline) baseline.
        • If possible, figure out the cause and fix.
          • Discuss with repo or code owner if the fix is a new patch.
          • This may require adding packages to dotnet/source-build-reference-packages.
        • If the baseline change is due to the change in patch version, make sure there's an issue tracking fixing the instability, or start tracking it.
        • If in doubt, talk to the team. Someone might have already encountered a similar diff in the past.
    • Complete manual validation steps
      • Ask for confirmation on poison report.
        • Confirm with team how to check this for a specific build/release.
      • [3.1] Verify the packs included in the SDK are from source-build-reference-packages, not source-build.
        • E.g. in testing-smoke/builtCli, run find . -iname System.IO.Pipelines.dll -exec sha256sum {} \; | sort and look at file origin based on checksum of the file in the SDK.
      • [3.1] Verify the packs included in the SDK have XML documentation comments. Presence of XML files in the SDK dir is adequate. Issue tracking automation of this: #1579
      • Re-validate the SHA1s in Versions file with the manifest in VSU share dir.
      • [3.1] Review the file list diff between Microsoft-built SDK and source-built SDK in smoke-test output.
    • Add team members as reviewers to the PR. Get acceptance.
    • Upload tarballs and smoke-test prereqs to blob storage.
    • Coordinate with team and complete manual distributed smoke-testing. Suggested assignment below, but it's flexible. Send email with direct links to artifacts from green PR.
      • [3.1]
        • RHEL 7 VM - crummel
        • RHEL 8 VM - dagood
        • RHEL Docker - dleeapho
        • Fedora30 - dseefeld
        • CentOS 7 - dagood
        • CentOS 8 - dseefeld
        • Debian - dagood
    • Notify distro maintainers and partners about the release tags
    • [3.1] Upload merged Private.SourceBuilt.Artifacts.XX.tar.gz file to dotnetcli account source-built-artifacts blob container.
      • Never overwrite a tarball. Use a sub-patch version if one already exists, e.g. 0.1.0-3.1.105.1.
    • If there's a respin (for any reason: source-build infra fixes or upstream repo problems):
      • Go back in this process checklist as far as necessary.
      • When tagging, make sure to create a new tag. A sub-patch version tag for SDK and runtime must be generated. E.g - v2.1.300.1-SDK
    • Clean up retrospective notes if necessary.

2.1.23 / 2.1.519

This build was run using feeds without anonymous access, so internal steps are included in this checklist, but it isn't an internal build.

    • Create a page at ".NET Core A&D" OneNote -> "Servicing" section -> "Retrospective" -> "{Month} {YYYY}" to take ongoing notes on problems with the process, workarounds, and fixes.
      • This is useful to make sure context is available to review later. It may end up blank if the release goes very smoothly.
      • There are other notes on servicing in this OneNote. It may be useful to review if something goes wrong to see if it's been fixed before.
    • [Internal] Ensure internal/release/X.Y branch is up to date with mirrored release/X.Y branch.
    • Version update cleanup and confirmations
      • [2.1]
        • Verify that source-build/ProdConFeed.txt contains the latest feed required for the release.
          • Build number should match ProdCon build number.
          • Ensure auth details are not included in this file.
        • Verify/update the ASP.NET versions (MicrosoftAspNetCoreAllPackageVersion and MicrosoftAspNetCoreAppPackageVersion) in dependencies.props.
        • Verify/update the OfficialBuildIds in updated repos (usually coreclr, corefx, core-setup).
        • Update the DotnetCLIVersion.txt SDK version to N-1: the latest released "2.1.XYY" SDK version, where "2.1.X" matches the SDK we're building.
          we're building.
    • [2.1] Fetch internal git data for submodules.
      1. Run git submodule update --init --recursive and see errors due to missing commits.
      2. Run fetch-vsts-commits.sh with a PAT to automatically fetch internal refs.
      3. Run git submodule update --init --recursive again to update failed submodules.
        • If some refs are still missing on unusual repos, those repos may need to be set up in fetch-vsts-commits.sh. Note: Repos in fetch-vsts-commits.sh don't need to be cleaned up.
    • Regenerate patches as necessary.
      • Run ./build.sh to begin clone and patch application and see what, if anything, needs to be regenerated. Issue to track re-patching workflow: #1468
    • Start building locally (for quick diagnosis) and in CI (for super clean build) and iterate towards a green build.
      • [Internal] [2.1] Pass auth arg /p:ProdConBlobFeedUrlPrefix=<url up to and not including 'orchestrated-release-2-1/' from feed.txt>
      • [Internal] [2.1] When running smoke-test locally, also pass /p:ProdConBlobFeedUrlPrefix=<...>
        • The smoke-test command looks like ./build.sh /t:RunSmokeTest /p:Configuration=Release /p:ProdConBlobFeedUrlPrefix=***.
      • Update baseline from the CI job, using the centos71 Offline artifacts.
        • Logs centos71 Offline/source-build/logs/artifacts/prebuilt-report/generated-new-baseline.xml
          • => tools-local/prebuilt-baseline-online.xml
        • Logs centos71 Offline/tarball/logs/artifacts/prebuilt-report/generated-new-baseline.xml
          • => tools-local/prebuilt-baseline-offline.xml
    • Review prebuilt baseline diff and iterate builds to drive to zero.
      • Find an explanation for each change in each (online/offline) baseline.
        • If possible, figure out the cause and fix.
          • Discuss with repo or code owner if the fix is a new patch.
          • This may require adding packages to dotnet/source-build-reference-packages.
        • If the baseline change is due to the change in patch version, make sure there's an issue tracking fixing the instability, or start tracking it.
        • If in doubt, talk to the team. Someone might have already encountered a similar diff in the past.
    • Complete manual validation steps
      • Ask for confirmation on poison report.
        • Confirm with team how to check this for a specific build/release.
      • Re-validate the SHA1s in Versions file with the manifest in VSU share dir.
    • Upload tarballs and smoke-test prereqs to blob storage.
    • Coordinate with team and complete manual distributed smoke-testing. Suggested assignment below, but it's flexible. Send email with direct links to artifacts from green PR.
      • [2.1]
        • RHEL7 and RHEL8 VMs - crummel
        • RHEL docker - dleeapho
        • Fedora30 - dseefeld
        • Fedora31 - dagood
        • Debian9 - crummel
    • [Internal] Send the tarball to partners. Include info about how certain we are that this will be the final Microsoft build.
      • Never overwrite a tarball. At least change the blob storage virtual dir to represent a new build. This can help avoid timing issues and make it more obvious if stale links were accidentally re-sent rather than new ones.
    • [Internal] Push the servicing branch to your GitHub fork and submit a source-build PR.
    • [Internal] Add source-build team as reviewers.
    • [Internal] When CI is green and two reviewers approve, merge.
      • Avoid squash/rebase: nice to preserve commit hashes. However, there are no known dependencies on source-build commits being preserved.
    • Notify distro maintainers and partners about the release tags
    • If there's a respin (for any reason: source-build infra fixes or upstream repo problems):
      • Go back in this process checklist as far as necessary.
      • When tagging, make sure to create a new tag. A sub-patch version tag for SDK and runtime must be generated. E.g - v2.1.300.1-SDK
    • Clean up retrospective notes if necessary.

Activity

  1. added
    area-release
    on Sep 24, 2020
  2. self-assigned this
    on Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-release

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions