diff --git a/Documentation/Projects/Build Analysis/LandingPage.md b/Documentation/Projects/Build Analysis/LandingPage.md index 9af66a5a02f..92f0a084042 100644 --- a/Documentation/Projects/Build Analysis/LandingPage.md +++ b/Documentation/Projects/Build Analysis/LandingPage.md @@ -4,6 +4,7 @@ The Build Analysis offers a set of features to make build and pull request resul Explore all the features offered by build analysis: +- [Build Analysis Website](https://helix.dot.net/BuildAnalysis): Find the builds that are impacted by an error, that occurs either in tests or in timelines, across the dotnet organization, in the same way as Runfo does. You can also obtain the latest report for any known issue and a list of all open issues and their impact. - [Build Analysis GitHub Check](https://github.com/dotnet/arcade/blob/main/Documentation/Projects/Build%20Analysis/Introduction.md): Makes GitHub pull request results more actionable by highlighting build and test information most helpful to .NET developers. - [Known Issues](https://github.com/dotnet/arcade/blob/main/Documentation/Projects/Build%20Analysis/KnownIssues.md): Report known issues so these can be automatically identified and reported on failed builds. - [Automatic Test Retries](https://github.com/dotnet/arcade/blob/main/Documentation/Projects/Build%20Analysis/Test%20Retry%20Documentation.md): Configure tests in your repo's pull requests to automatically retry when they encounter specific errors. diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index e560d8f1c6f..60585c8983c 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -11,29 +11,29 @@ https://dev.azure.com/dnceng/internal/_git/dotnet-symuploader 62ceb439e80bf0814d0ffa17f022d4624ea4aa6c - + https://github.com/dotnet/templating - 22cfe7c44f905a6c792e41a81815303df34b3d63 + 7d0d699d78ff44494425a9b2c106d871a75cf440 - + https://github.com/dotnet/arcade - c4a85adbff520f62bfade7a6132f471506c3d35a + bdc59254cf108e1d48451dc43bb9ebc331cdca7b - + https://github.com/dotnet/arcade - c4a85adbff520f62bfade7a6132f471506c3d35a + bdc59254cf108e1d48451dc43bb9ebc331cdca7b - + https://github.com/dotnet/arcade - c4a85adbff520f62bfade7a6132f471506c3d35a + bdc59254cf108e1d48451dc43bb9ebc331cdca7b - + https://github.com/dotnet/arcade - c4a85adbff520f62bfade7a6132f471506c3d35a + bdc59254cf108e1d48451dc43bb9ebc331cdca7b - + https://github.com/dotnet/arcade - c4a85adbff520f62bfade7a6132f471506c3d35a + bdc59254cf108e1d48451dc43bb9ebc331cdca7b https://github.com/dotnet/arcade-services @@ -43,26 +43,26 @@ https://github.com/dotnet/arcade-services a5f3ed9d5f560555ff6d26b286acdcfbb7ce3b14 - + https://github.com/dotnet/xharness - 8d789cbeecb6c89bf470fdc7727a8f501724fc8a + 0c619f8eb8879a7f46d0a167d8849dd4f94de3d0 - + https://github.com/dotnet/roslyn - 6a5a63bbc9f4449d9bd1e95a8f9624939c3ccdc3 + 271ccd71554f7d28d2f90551aafd0bdeb5d327aa https://github.com/dotnet/linker 3efd231da430baa0fd670e278f6b5c3e62834bde - + https://github.com/dotnet/sourcelink - 401652e13a35e7f139d0df71ef75a7a737272959 + 5585cd4cd5779bc7efdf3e2f19ed0bef50b15f7b - + https://github.com/dotnet/sourcelink - 401652e13a35e7f139d0df71ef75a7a737272959 + 5585cd4cd5779bc7efdf3e2f19ed0bef50b15f7b https://github.com/dotnet/symreader-converter @@ -72,9 +72,9 @@ https://github.com/dotnet/symreader-converter c5ba7c88f92e2dde156c324a8c8edc04d9fa4fe0 - + https://github.com/dotnet/xliff-tasks - c92d29d251f88bc3a9fa958efaad048bdabbf8a9 + 95794aa6747aa08b79869e7dac06a9ac5d922ab2 https://github.com/NuGet/NuGet.Client diff --git a/eng/Versions.props b/eng/Versions.props index 2bcadc7e297..5c2295a4f38 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -42,7 +42,7 @@ 2.0.0 6.0.0 2.1.0 - 4.5.0-6.23109.5 + 4.5.0-6.23123.11 17.4.0-preview-20220707-01 6.0.100-1.22103.2 1.0.0-v3.14.0.5722 @@ -72,24 +72,24 @@ 8.5.0 2.4.2 2.0.3 - 8.0.0-beta.23120.1 - 8.0.0-beta.23120.1 + 8.0.0-beta.23151.4 + 8.0.0-beta.23151.4 2.0.0 1.6.0 1.0.0 2.0.4 1.1.0-beta2-19575-01 1.1.0-beta.21553.1 - 1.2.0-beta-23121-02 - 1.2.0-beta-23121-02 - 8.0.0-beta.23120.1 - 1.0.0-beta.23121.1 + 1.2.0-beta-23151-02 + 1.2.0-beta-23151-02 + 8.0.0-beta.23151.4 + 1.0.0-beta.23151.1 1.1.0-beta.22076.4 - 1.0.0-prerelease.23117.1 + 1.0.0-prerelease.23121.1 2.0.0-preview.1.21526.15 2.0.0-preview.1.21526.15 7.0.100-preview.5.22273.2 1.0.0-preview5.1.22263.1 - 8.0.100-preview.2.23119.1 + 8.0.100-preview.3.23127.2 diff --git a/eng/common/cross/build-rootfs.sh b/eng/common/cross/build-rootfs.sh index f027af75978..ff113f73353 100755 --- a/eng/common/cross/build-rootfs.sh +++ b/eng/common/cross/build-rootfs.sh @@ -55,7 +55,7 @@ __AlpinePackages+=" gettext-dev" __AlpinePackages+=" icu-dev" __AlpinePackages+=" libunwind-dev" __AlpinePackages+=" lttng-ust-dev" -__AlpinePackages+=" compiler-rt-static" +__AlpinePackages+=" compiler-rt" __AlpinePackages+=" numactl-dev" # runtime libraries' dependencies @@ -150,7 +150,6 @@ while :; do __BuildArch=riscv64 __AlpineArch=riscv64 __AlpinePackages="${__AlpinePackages// lldb-dev/}" - __AlpinePackages="${__AlpinePackages// compiler-rt-static/}" __QEMUArch=riscv64 __UbuntuArch=riscv64 __UbuntuRepo="http://deb.debian.org/debian-ports" @@ -160,10 +159,6 @@ while :; do if [[ -e "/usr/share/keyrings/debian-ports-archive-keyring.gpg" ]]; then __Keyring="--keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg --include=debian-ports-archive-keyring" fi - - if [[ "$version" != "edge" && ( -z "$__AlpineVersion" || -z "$__AlpineMajorVersion" )]]; then - __AlpineVersion=edge # minimum version with APKINDEX.tar.gz (packages archive) - fi ;; ppc64le) __BuildArch=ppc64le @@ -175,10 +170,6 @@ while :; do __UbuntuPackages="${__UbuntuPackages// libomp-dev/}" __UbuntuPackages="${__UbuntuPackages// libomp5/}" unset __LLDB_Package - - if [[ "$version" != "edge" && ( -z "$__AlpineVersion" || -z "$__AlpineMajorVersion" )]]; then - __AlpineVersion=3.15 # minimum version that supports compiler-rt - fi ;; s390x) __BuildArch=s390x @@ -190,10 +181,6 @@ while :; do __UbuntuPackages="${__UbuntuPackages// libomp-dev/}" __UbuntuPackages="${__UbuntuPackages// libomp5/}" unset __LLDB_Package - - if [[ "$version" != "edge" && ( -z "$__AlpineVersion" || -z "$__AlpineMajorVersion" )]]; then - __AlpineVersion=3.15 # minimum version that supports compiler-rt - fi ;; x64) __BuildArch=x64 @@ -206,6 +193,7 @@ while :; do x86) __BuildArch=x86 __UbuntuArch=i386 + __AlpineArch=x86 __UbuntuRepo="http://archive.ubuntu.com/ubuntu/" ;; lldb*) @@ -311,29 +299,8 @@ while :; do parts=(${version//./ }) __AlpineMajorVersion="${parts[0]}" __AlpineMinoVersion="${parts[1]}" - - if [[ -z "$__AlpineVersion" ]]; then - __AlpineVersion="$__AlpineMajorVersion.$__AlpineMinoVersion" - fi + __AlpineVersion="$__AlpineMajorVersion.$__AlpineMinoVersion" fi - - case "$__AlpineVersion" in - 3.14) __AlpinePackages+=" llvm11-libs" ;; - 3.15) __AlpinePackages+=" llvm12-libs" ;; - 3.16) __AlpinePackages+=" llvm13-libs" ;; - 3.17) __AlpinePackages+=" llvm15-libs" ;; - edge) __AlpineLlvmLibsLookup=1 ;; - *) - if [[ "$__AlpineArch" =~ "s390x|ppc64le" ]]; then - __AlpineVersion=3.15 # minimum version that supports compiler-rt - __AlpinePackages+=" llvm12-libs" - elif [[ "$__AlpineArch" == "riscv64" ]]; then - __AlpineLlvmLibsLookup=1 - __AlpineVersion=edge # minimum version with APKINDEX.tar.gz (packages archive) - else - __AlpineVersion=3.13 # 3.13 to maximize compatibility - fi - esac ;; freebsd12) __CodeName=freebsd @@ -376,10 +343,41 @@ while :; do shift done +case "$__AlpineVersion" in + 3.14) __AlpinePackages+=" llvm11-libs" ;; + 3.15) __AlpinePackages+=" llvm12-libs" ;; + 3.16) __AlpinePackages+=" llvm13-libs" ;; + 3.17) __AlpinePackages+=" llvm15-libs" ;; + edge) __AlpineLlvmLibsLookup=1 ;; + *) + if [[ "$__AlpineArch" =~ s390x|ppc64le ]]; then + echo boo + __AlpineVersion=3.15 # minimum version that supports lldb-dev + __AlpinePackages+=" llvm12-libs" + elif [[ "$__AlpineArch" == "x86" ]]; then + __AlpineVersion=3.17 # minimum version that supports lldb-dev + __AlpinePackages+=" llvm15-libs" + elif [[ "$__AlpineArch" == "riscv64" ]]; then + __AlpineLlvmLibsLookup=1 + __AlpineVersion=edge # minimum version with APKINDEX.tar.gz (packages archive) + else + __AlpineVersion=3.13 # 3.13 to maximize compatibility + __AlpinePackages+=" llvm10-libs" + + if [[ "$__AlpineArch" == "armv7" ]]; then + __AlpinePackages="${__AlpinePackages//numactl-dev/}" + fi + fi +esac + +if [[ "$__AlpineVersion" =~ 3\.1[345] ]]; then + # compiler-rt--static was merged in compiler-rt package in alpine 3.16 + # for older versions, we need compiler-rt--static, so replace the name + __AlpinePackages="${__AlpinePackages/compiler-rt/compiler-rt-static}" +fi + if [[ "$__BuildArch" == "armel" ]]; then __LLDB_Package="lldb-3.5-dev" -elif [[ "$__BuildArch" == "arm" && "$__AlpineVersion" == "3.13" ]]; then - __AlpinePackages="${__AlpinePackages//numactl-dev/}" fi __UbuntuPackages+=" ${__LLDB_Package:-}" @@ -422,26 +420,27 @@ if [[ "$__CodeName" == "alpine" ]]; then version="v$__AlpineVersion" fi + # initialize DB "$__ApkToolsDir/apk.static" \ -X "http://dl-cdn.alpinelinux.org/alpine/$version/main" \ -X "http://dl-cdn.alpinelinux.org/alpine/$version/community" \ - -U --allow-untrusted --root "$__RootfsDir" --arch "$__AlpineArch" --initdb \ - add $__AlpinePackages + -U --allow-untrusted --root "$__RootfsDir" --arch "$__AlpineArch" --initdb add if [[ "$__AlpineLlvmLibsLookup" == 1 ]]; then - "$__ApkToolsDir/apk.static" \ + __AlpinePackages+=" $("$__ApkToolsDir/apk.static" \ -X "http://dl-cdn.alpinelinux.org/alpine/$version/main" \ -X "http://dl-cdn.alpinelinux.org/alpine/$version/community" \ -U --allow-untrusted --root "$__RootfsDir" --arch "$__AlpineArch" \ - search 'llvm*-libs' | sort | tail -1 | while IFS=- read name rest; do - "$__ApkToolsDir/apk.static" \ - -X "http://dl-cdn.alpinelinux.org/alpine/$version/main" \ - -X "http://dl-cdn.alpinelinux.org/alpine/$version/community" \ - -U --allow-untrusted --root "$__RootfsDir" --arch "$__AlpineArch" \ - add "$name-libs" - done + search 'llvm*-libs' | sort | tail -1 | sed 's/-[^-]*//2g')" fi + # install all packages in one go + "$__ApkToolsDir/apk.static" \ + -X "http://dl-cdn.alpinelinux.org/alpine/$version/main" \ + -X "http://dl-cdn.alpinelinux.org/alpine/$version/community" \ + -U --allow-untrusted --root "$__RootfsDir" --arch "$__AlpineArch" \ + add $__AlpinePackages + rm -r "$__ApkToolsDir" elif [[ "$__CodeName" == "freebsd" ]]; then mkdir -p "$__RootfsDir"/usr/local/etc diff --git a/eng/common/templates/job/source-index-stage1.yml b/eng/common/templates/job/source-index-stage1.yml index 71b66aeb8a5..b98202aa02d 100644 --- a/eng/common/templates/job/source-index-stage1.yml +++ b/eng/common/templates/job/source-index-stage1.yml @@ -1,6 +1,6 @@ parameters: runAsPublic: false - sourceIndexPackageVersion: 1.0.1-20221220.2 + sourceIndexPackageVersion: 1.0.1-20230228.2 sourceIndexPackageSource: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json sourceIndexBuildCommand: powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "eng/common/build.ps1 -restore -build -binarylog -ci" preSteps: [] diff --git a/eng/publishing/v3/publish.yml b/eng/publishing/v3/publish.yml index ef136fb3bbb..a372ad520bd 100644 --- a/eng/publishing/v3/publish.yml +++ b/eng/publishing/v3/publish.yml @@ -161,10 +161,7 @@ stages: displayName: Publish packages, blobs and symbols inputs: filePath: $(Build.SourcesDirectory)/eng/common/sdk-task.ps1 - arguments: -task PublishArtifactsInManifest - -restore - -msbuildEngine dotnet - -verbosity detailed + arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet /p:PublishingInfraVersion=3 /p:BARBuildId=${{ parameters.BARBuildId }} /p:TargetChannels='${{ parameters.PromoteToChannelIds }}' diff --git a/global.json b/global.json index 8ead39610c6..8d5bc03dd93 100644 --- a/global.json +++ b/global.json @@ -3,7 +3,7 @@ "dotnet": "8.0.100-preview.1.23115.2" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23120.1", - "Microsoft.DotNet.Helix.Sdk": "8.0.0-beta.23120.1" + "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23151.4", + "Microsoft.DotNet.Helix.Sdk": "8.0.0-beta.23151.4" } } diff --git a/src/Microsoft.DotNet.Build.Tasks.Feed/src/common/LatestLinksManager.cs b/src/Microsoft.DotNet.Build.Tasks.Feed/src/common/LatestLinksManager.cs index fbd1eb6b483..01be6d8c65d 100644 --- a/src/Microsoft.DotNet.Build.Tasks.Feed/src/common/LatestLinksManager.cs +++ b/src/Microsoft.DotNet.Build.Tasks.Feed/src/common/LatestLinksManager.cs @@ -118,6 +118,7 @@ public AkaMSLink GetAkaMSLinkForAsset(string shortUrlPrefix, string feedBaseUrl, ShortUrl = GetLatestShortUrlForBlob(shortUrlPrefix, asset, flatten), TargetUrl = actualTargetUrl }; + Logger.LogMessage(MessageImportance.High, $" {Path.GetFileName(asset)}"); Logger.LogMessage(MessageImportance.High, $" aka.ms/{newLink.ShortUrl} -> {newLink.TargetUrl}");