* Fix `components-e2e` Pipeline
Support for the `QuarantinedTest` attribute.
Using the `Quarantined` trait defined here:
ba18614ec2/src/Testing/src/xunit/QuarantinedTestTraitDiscoverer.cs (L18)
Extension of https://github.com/dotnet/aspnetcore/pull/38693 which got auto-merged.
* Update components-e2e-tests.yml
* PR Feedback
* Update components-e2e-tests.yml
- I pointed to an `xUnit` example, sorry
* PR Feedback
* PR Feedback
* Update artifacts dir
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
- stop using `$(TargetArchitecture)` in Helix.Common.props and Helix.targets
- add `$(IsArm64HelixQueue)`
- make Helix queue choices more readable
- use `<Choose/>
- remove excess `Condition` clauses
- rename `$(IsHelixDaily)` ➡️ `$(IsHelixPRCheck)`
- use new property only in ci.yml and quarantined-pr.yml
- flip check in Helix.Common.props
nit: remove unused `$(IsRequiredCheck)` and `$(CreateHelixPayload)` properties
- part of dotnet/aspnetcore-internal#3950
- also touches on #36032
- update Helix queues from Alpine 3.12 to 3.14, OSX 10.14 to 10.15, and (for Arm64) Debian 9 to 11
- use OSX 11.00 when testing PRs and rolling builds; reduce 10.15 usage to scheduled runs
- remove overlap (all 3 queues) between PRs / rolling builds and scheduled runs
- remove quarantined-pr / quarantined-tests overlap
- build source-index on `windows-latest` (not `vs2017-win2016`)
- update build and Helix Docker images to latest tags
- skip a test class on macOS 10.15
- #38542
nits:
- don't skip unused Helix queues
- remove versions from pipeline job display names
- some were already outdated; rest will be confusing in the future
- remove most comments about unused Helix queues
- were missing because AfterSigning.proj executes only when main build does something
- i.e. must combine checksum generation w/ `Build`, `Test`, `Pack`, or similar targets
- recombine Installers and Publish build steps, matching what we have in release/5.0
* Remove extra aspnetcore-components-e2e build tasks
- remove `isTestingJob` parameters in YAML
- controls `PublishTestResults@2` tasks that all fail
- add comments in components-e2e and Helix jobs about "missing" `isTestingJob` parameters
nits:
- remove mention of non-existent `Windows_Templates_Test` job
- use `testResultsFormat` input name for consistency (alias of `testRunner`)
* Skip useless test publications
- add `enablePublishTestResults` parameter to default-build
- quarantined-pr contains test jobs but all publish their tests explicitly
- do not attempt to publish TRX files
nit: simplify a YAML snippet
- `parameters.buildDirectory` is never empty (has a default)
* Eval two conditions during template expansion
- remove jobs that will never execute from UI
* Address feedback
- rename `parameters.isTestingJob` to `isAzDOTestingJob`
- remove `condition`s about `variables.DotNetFinalVersionKind`
- variable has not been used in a _very_ long time
- document `parameters.isAzDOTestingJob` and `enablePublishTestResults`
* !fixup! Add comment for eb9e4c9ea4b9 change
- explain how to test site extension changes
* !fixup! Simplify one more expression
- missed this one in fc286da973
- #33534
- copy source-index-stage1 template into ci.yml and split steps in two:
- current template not well suited to reuse a binary log from another job
- first, process Windows_arm_build binary log in that job
- align binary log with source-indexing tool support i.e. always use Windows
- much faster than Windows x64/x86 build
- provides another binary log, even in internal builds
- second, do source index upload after other jobs
- do not update https://source.dot.net/ from failed builds
- add `testSourceIndexing` parameter
- use 1ES agent for source-index upload
- `windows-latest` might work but prefer to protect binary log
nits:
- remove unnecessary backslashes in the Linux_x64_build job's `script`s
- instead separate commands with a semicolon
- confirm test build success before BAR updates in manual builds
- merge a couple of `in(...)` expressions
- do not set parameters to their default values
- do not set `installJdk` except in Windows jobs (ignored otherwise)
- remove unused `continueOnBuildError` and `installTar` parameters
- components-e2e-tests.yml no longer needs `continueOnBuildError`
- remove confusing `SkipTests` conditions in test-only pipelines
nits:
- sort parameters to align with documentation
- provide defaults for undocumented parameters (reduce searching)
- follow up to 0d0103b4c0
- `COMPlus*` variables were uppercased and `dotnet` ignored them on Linux / macOS
- only upload dumps in `failed()` jobs
- use scripts to avoid more YAML complications and avoid empty artifacts
- `$use_global_nuget_cache` and `$useGlobalNuGetCache` have default values in our pipelines
- therefore, cache is always within `$(System.DefaultWorkingDirectory)` and should not exist at job start
* Updates npm dependencies to their latest versions.
* Standardizes build process for our JS dependencies on webpack 5 with babel, etc.
* Updates dependencies for the auth packages to their latest versions.
* Fixes test assets so that they can be run locally.
* Make E2E tests work on Linux, support retries, and have new Azure pipeline
* Opt components E2E tests out of other CI pipelines (run only in the new one)
* Update src/Components/test/E2ETest/Tests/InputFileTest.cs
Co-authored-by: Martin Costello <martin@martincostello.com>
* Move new pipeline logic into old pipeline
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Martin Costello <martin@martincostello.com>
* Honor RecursiveDir when used on packed items
* Remove workarounds from dependency update PR
* Honor RecursiveDir when staging the ref-pack directory
Co-authored-by: Safia Abdalla <safia@safia.rocks>
[main] Update dependencies from dotnet/efcore dotnet/runtime
- Workaround duplicate logging source generator
- Merge branch 'main' into darc-main-1709b9ed-50a0-4e28-b9b8-0e3759aee720
- Fix CS8795
https://dev.azure.com/dnceng/public/_build/results?buildId=1222936&view=logs&jobId=b5df7d42-2bda-5dee-96bd-1838a4f7499c&j=b5df7d42-2bda-5dee-96bd-1838a4f7499c&t=c1ffdaa9-e800-5fe8-052c-643f2e9f52ff
- Update Wasm.Performance.TestApp.csproj
- Fix skipEnabledCheck
- Merge branch 'main' into darc-main-1709b9ed-50a0-4e28-b9b8-0e3759aee720
- Update Workarounds.targets
- Revert "Fix CS8795"
This reverts commit a2ec9d6e0f.
- Revert "Convert HealthChecks logging to use new Logging Source Generator (#32414)"
This reverts commit 1dd00f43ca.
- Utilize class level SkipEnabledCheckLogOptions
- React to MvcCoreLoggerExtensions feedback
- Merge remote-tracking branch 'origin/main' into darc-main-1709b9ed-50a0-4e28-b9b8-0e3759aee720
- React to nullability changes in TypeConverter
- Merge branch 'main' into darc-main-1709b9ed-50a0-4e28-b9b8-0e3759aee720
- React to new analyzer warnings
- Revert "Revert "Convert HealthChecks logging to use new Logging Source Generator (#32414)""
This reverts commit 5d6e21e650.
- Update src/Http/Routing/src/Matching/DfaMatcher.cs
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
- Update exception caught in HTTP2 tests
- Merge branch 'main' of https://github.com/dotnet/aspnetcore into darc-main-1709b9ed-50a0-4e28-b9b8-0e3759aee720
- Revert "Remove usings from templates implicitly added by the SDK (#34219)"
This reverts commit d8bba727bd.
- Fix up exceptions for HTTP2 tests
- Revert "Revert "Remove usings from templates implicitly added by the SDK (#34219)""
This reverts commit cce1bd7f71.
- Bump up SDK to bring in usings changes
- Try running template tests on non-Helix
- Update ci.yml
- Try disabling template tests on Helix
- Revert "Stop running template tests on azdo job (already helix-ified) (#32985)"
This reverts commit 7a842b7165.
- Don't build Helix payload for template tests
- Temporarily skip FrameworkListListsContainsCorrectPaths
- Use dotnet test for test discovery
- Revert "Use dotnet test for test discovery"
This reverts commit f5cecb21c6.
- Try skipping listing tests list in helix
- Revert "Try disabling template tests on Helix"
This reverts commit 2136f31e08.
- Remove generic type from test method
- Removed another generic from the test method
- Publishing.props executes the `_GetPackageVersionInfo` target in Microsoft.AspNetCore.App.Runtime.csproj
- that target currently fails when using a new SDK and desktop `msbuild`
* Enable compiling Asp.NET with crossgen2
* Use use linux crossgen2 instead of linux-musl crossgen2 when targetting linux-musl from the build
* Attempt to make musl work
* Fix typo
* Use correct bits to compile take #3
* Add Pgo data
* Fix mistaken at symbol
* Move to Core-Eng build agents
- should resolve problems w/ disk space in "Tests: Helix ARM64 matrix" job
- need `node` in this job for some reason
* Remove `crossgen` tool infrastructure
- remove many properties related only to the `crossgen` tool
- may have missed a few of course
nits:
- `crossgen` -> `crossgen2` in a few comments
- add / expand a few comments to improve clarity
Co-authored-by: David Wrighton <davidwr@microsoft.com>
* Clean out Ubuntu 16.04 testing
- use Ubuntu 18.04 agents for testing in Docker containers on Helix
nits:
- clean up a few old mentions of Centos and Fedora testing
- fix `%(Platform)` metadata for OSX `@(HelixAvailableTargetQueue)` items
- don't mention unused internal queues in `$(TestDependsOnPlaywright)` update of `$(SkipHelixQueues)`
- sort remaining queues alphabetically in `$(SkipHelixQueues)`
The Alpine ARM docker image is used for cross compilation. There was a
breaking change in Alpine 3.13 - it uses a new MUSL that has 64 bit
time_t even on 32 bit platforms. Since the official support for Alpine
ARM was not announced yet, it was decided that we will support it only
on Alpine >= 3.13 instead of having to build and distribute two
different
versions of runtime.
This change updates the docker image used to build Alpine ARM runtime to
a new version that uses Alpine 3.13 rootfs. It is also using Ubuntu
16.04 instead of 18.04 as a host to unify it with the one we use to
build for Alpine ARM64.