Repository navigation
[release/6.0.1xx] Add some additional distros to the CI matrix - #12141
MichaelSimons merged 41 commits into
Conversation
|
The source-build tarball wont build on a bunch of platforms we care about. For CentOS 7, the bootstrap tools were built with a too-new version of glibc:
For CentOS 8, we don't have a libunwind we can use:
Fedora 34 fails with a file not being found:
(I dont really understand this because I can build this locally just fine on Fedora 34). Ubuntu 16.04 and 21.04 don't have curl:
|
The rc1 package on nuget.org is a portable one (no libunwind dependency) that doesn't need such a high glibc version. Has this regressed from rc1 to this rc2 package?
What is built when this happens? |
Yes but also no. The upstream/portable package in RC 2 ( It's the package in previously-source-built packages that was built with a different OS baseline and dependencies.
I don't know. Can someone help me find the build steps to recreate the previously-source-built packages locally? |
You can use that one for bootstrapping.
For bootstrapping to work across a range of distros we need the real portable linux-x64. It would be hard to source-build it because it needs a specific environment to work (like the old glibc). I expect source-build to just copy what Microsoft built as Anything that gets built by us after that and gets |
Tried it out; didn't quite work: dotnet/source-build#2477 (comment) |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Heh. |
|
They will run - the fact that they are shown as passing/failing is broken AzDO functionality IMO. The reason their status doesn't change initially is because they are jobs that depend on other jobs (e.g. the create tarball job). Their status doesn't change until they actually get run. If you look you will see the existing Build Fedora jobs show as passing (their previous status) right away. |
|
To workaround this set of API compat errors, I had to add |
|
[Triage]: It appears that previously source-built packages may need to be built separately per distro. Or another alternative is to build previously source-built packages on the distro with the oldest version of glibc so portable packages are actually portable across all distros. |
acdb29c to
a8f7b8c
Compare
|
This is blocked on tarball build running in release/6.0.1xx. #12245 |
5b6065a to
8a56fcc
Compare
8a56fcc to
dd7430b
Compare
dd7430b to
e322bc4
Compare
…into arpow-add-distros-to-ci-matrix
6d52eac to
d89f734
Compare
…into arpow-add-distros-to-ci-matrix
|
This PR is ready for review. A test run of the changes can be viewed at: https://dev.azure.com/dnceng/public/_build/results?buildId=1511409&view=results |
| testingDir="$SCRIPT_ROOT/testing-smoke" | ||
| cliDir="$testingDir/builtCli" | ||
| logFile="$testingDir/smoke-test.log" | ||
| logsDir="$testingDir/logs" |
There was a problem hiding this comment.
The changes to this file are to collect all of the logs in a common folder. This is convenient for collection purposes as well as it enhances the dev UX as they don't pollute the top level folder w/logs.
|
|
||
| # Run restore on project to initiate download of bootstrap packages | ||
| $DOTNET_SDK_PATH/dotnet restore $workingDir/buildBootstrapPreviouslySB.csproj /bl /p:ArchiveDir="$SCRIPT_ROOT/packages/archive/" | ||
| $DOTNET_SDK_PATH/dotnet restore $workingDir/buildBootstrapPreviouslySB.csproj /bl:artifacts/prep/bootstrap.binlog /fileLoggerParameters:LogFile=artifacts/prep/bootstrap.log /p:ArchiveDir="$SCRIPT_ROOT/packages/archive/" |
There was a problem hiding this comment.
This change cleans up some log files that were getting created at the tarball's root.
| export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 | ||
| export NUGET_PACKAGES=$restoredPackagesDir/ | ||
|
|
||
| LogDateStamp=$(date +"%m%d%H%M%S") |
There was a problem hiding this comment.
These changes cleanup some log files that were getting created at the tarball's root.
I don't expect this to pass CI right now. I am mostly looking to understand the failures.
See dotnet/source-build#2299