Граф коммитов

441 Коммитов

Автор SHA1 Сообщение Дата
Doug Bunting f072ff85b5
!nits! Build cleanup (#38979)
- condense `$(_UseHelixOpenQueues)` YAML
- restore ability to override `$(IsUnitTestProject)`
- treat `$(IsUnitTestProject)` and `$(IsTestProject)` as `bool` after Arcade SDK.props imported
- avoid attempts to override `$(RunQuarantinedTests)`; it's set globally
- remove unnecessary `$(IsUnitTestProject)` and `$(IsTestProject)` settings
  - override `$(IsUnitTestProject)` (not `$(IsTestProject)`) _before_ root Directory.Build.props
2021-12-13 15:34:17 -08:00
Doug Bunting 6b652e8196
Double source-build timeout (#38775)
- internal job timed out a couple of times in the last week
2021-12-02 03:28:22 +00:00
Tanay Parikh f444e01827
Fix `components-e2e` Pipeline (#38704)
* 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>
2021-11-30 15:48:29 -08:00
Tanay Parikh ba18614ec2
Quarantine CanAddAndDisposeRootComponents (#38693) 2021-11-29 22:08:06 +00:00
Doug Bunting d4d4c4bda5
Remove Arm64-specific jobs in matrix pipelines (#38564)
- 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
2021-11-22 21:10:20 +00:00
Doug Bunting 64c37113aa
[main] Update Docker images, queues, etc. (#38427)
- 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
2021-11-19 22:08:45 -08:00
Tanay Parikh 0835032e86
Stop running Components E2E Tests in Quarantined Test Pipelines (#37891)
* Fixes https://github.com/dotnet/aspnetcore/issues/37443

* CI -> ContinuousIntegrationBuild

* Skip E2EMigration Tests in CI

* Exclude Migration Tests from Helix
2021-10-29 10:17:51 -07:00
Tanay Parikh daebaf7ad6
Add `timeoutInMinutes` for `components-e2e-tests` Pipeline (#37892)
![image](https://user-images.githubusercontent.com/14852843/139164753-a89a765c-ea5d-4811-9294-03e76d5850ff.png)

Based on analytics 75 minute timeout seems appropriate.

![image](https://user-images.githubusercontent.com/14852843/139165049-0ff7615b-ecf3-45be-9581-0d12743167d6.png)
2021-10-27 21:05:00 -07:00
Tanay Parikh 3876913a5b
Fix Quarantined Tests Scheduled Runtime (#37763)
Tests are currently running at 11 **AM** PDT. Updated to run at 6 AM UTC / 10 PM PST / 11 PM PDT

https://dev.azure.com/dnceng/public/_build?definitionId=331
2021-10-21 22:20:50 +00:00
Doug Bunting 84fa727235
Publish Windows x64/x86 checksums (#37557)
- 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
2021-10-15 07:32:11 -07:00
Javier Calvarro Nelson 0dedcf6705
[Infrastructure] Update nodejs to use node 16 (#37454) 2021-10-11 10:55:41 -07:00
Tanay Parikh 34ed6d4978
Binary Logs for Test Jobs (#37339)
As requested in https://github.com/dotnet/aspnetcore/pull/37146#issuecomment-937279059
2021-10-07 01:21:43 +00:00
Doug Bunting d5b3f4c541
Cleanup YAML jobs (#37231)
* 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
2021-10-04 16:04:12 -07:00
Doug Bunting fc286da973
Add source-index build job to pipeline (#37028)
- #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
2021-10-04 13:54:28 -07:00
Doug Bunting 55c92f4e71
Cleanup YAML parameters and settings (#37186)
- 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)
2021-10-01 21:53:48 -07:00
Doug Bunting 079b8552d4
Skip Helix tests when skipping tests (#37171)
- also make `Skip tests?` option visible when starting manual runs
2021-10-01 10:44:48 -07:00
Doug Bunting 1576b10794
Remove unused parameter and add requested comments (#37077)
- `parameters.buildScript` was only ever set to its default value
- add comments explaining the `parameters.steps` expansion
  - see https://github.com/dotnet/aspnetcore/pull/36824#pullrequestreview-764795624
2021-09-29 12:52:06 -07:00
Doug Bunting fbb80d67ca
Get `dotnet` cores on Linux / macOS (#36824)
- 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
2021-09-27 21:08:57 -07:00
William Godbe e3c86b7bb3
Update container used for Linux Musl (#31599)
* Update container used for Linux Musl

* Update ci.yml

* Update ci.yml

* Update ci.yml
2021-09-24 19:17:08 +00:00
Doug Bunting 277e42f4dc
Don't clear NuGet caches at all (#36898)
- `$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
2021-09-23 23:42:36 +00:00
Steve Sanderson 8b03a50702
Remove continueOnBuildError for components E2E tests. Fixes #35565 (#36839) 2021-09-22 17:14:04 +00:00
Jon Fortescue f7dc5e24af
Switch to 1ES R&D Pools on main (#36820) 2021-09-22 09:42:33 -07:00
Doug Bunting 3bd0658600
Test in manual internal builds (#36424)
- make it a bit easier to test _everything_ in one go
  - builds site extensions, publishes to BAR, and runs all aspnetcore-ci tests
2021-09-13 12:31:42 -07:00
Doug Bunting c9c883ae5e
Ensure _Dumps artifacts aren't empty (#36400)
- avoid yellow builds due to `PublishBuildArtifacts@1` warnings
- always include a small file
2021-09-11 12:56:48 -07:00
Doug Bunting 0d0103b4c0
Capture `dotnet` dumps (#36385)
- capture `dotnet` dumps
  - builds are failing soon after `dotnet msbuild` launch
- do not upload dumps twice

nit: Remove disabled explicit component detection job
2021-09-10 20:18:59 +00:00
William Godbe 313f8dbd46
Add Win11 helix-matrix/quarantine queue, remove win7/8 (#36040)
* Add Win11 helix-matrix/quarantine queue, remove win7/8

* Add 6.0 config

* Fix Win
2021-09-09 15:09:24 -07:00
Javier Calvarro Nelson c1d16e3ccd
[Blazor] Update npm dependencies (#36088)
* 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.
2021-09-08 02:30:31 -07:00
Steve Sanderson b0d5651a73
Make E2E tests work on Linux, support retries, and have new Azure pipeline (#36207)
* 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>
2021-09-07 20:57:49 +01:00
Hao Kung d05a904bad
Paint it green (#35559) 2021-08-20 18:57:12 +00:00
Steve Sanderson 10e3fe3462
E2E test fixes (#35414) 2021-08-18 17:44:07 +01:00
Hao Kung 64dca63118
Add new components pipeline yml (#35189)
* Create components.yml

* Update components.yml

* Skip components E2E tests in main build

* Rename file

* Rename job

Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
2021-08-12 08:21:31 +01:00
Michael Simons 02dbcc0a41
Source build patches necessary for tarball build (#35024) 2021-08-04 20:10:53 -05:00
William Godbe fab0234454
Change display name of OSX test job to 10.15 (#34998) 2021-08-03 19:01:23 +00:00
Eric StJohn bc6355d1af
Honor RecursiveDir when used on packed items in framework packs (#34291)
* 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>
2021-07-12 17:16:01 -07:00
dotnet-maestro[bot] 6c396e75d6
[main] Update dependencies from dotnet/efcore dotnet/runtime (#34033)
[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
2021-07-12 12:39:48 +00:00
Michael Simons 88347d7378 Update build pipeline to publish source-build packages 2021-06-15 13:30:07 -05:00
John Luo 4d67e70c17
Arcade powered source build (#32790)
* Add source-build ci leg

* Remove patches

* Fixup project type logic

* Mark Components.E2ETests as NodeJsProject

* Exclude YarnMSBuild project in source build

* Update binlog parameter logic

* Modify source build global json script

Co-authored-by: Michael Simons <msimons@microsoft.com>
2021-06-03 14:44:56 -07:00
Doug Bunting 9e2144d974
Publish in a separate step
- Publishing.props executes the `_GetPackageVersionInfo` target in Microsoft.AspNetCore.App.Runtime.csproj
- that target currently fails when using a new SDK and desktop `msbuild`
2021-05-25 16:01:04 -07:00
Hao Kung 614c4969d8
Stop running template tests on mac/OS (#33002) 2021-05-25 19:19:03 +00:00
Hao Kung 7a842b7165
Stop running template tests on azdo job (already helix-ified) (#32985) 2021-05-25 09:44:38 -07:00
Doug Bunting 46b56aa065
Enable compiling with `crossgen2` (#32508)
* 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>
2021-05-24 23:53:49 +00:00
Doug Bunting 83f7970b8c
Clean out Ubuntu 16.04 testing (#32894)
* 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)`
2021-05-21 17:46:08 -07:00
Tanay Parikh 3ffb13be89
Update richnav pipeline trigger branches (#32280) 2021-04-29 22:37:50 +00:00
Sébastien Ros 9d91021a8a
Fix duplicate LANG variables in ci.yml (#32059) 2021-04-22 09:37:02 -07:00
Sébastien Ros e52cfce395
Merge branch 'main' into merge/release/5.0-to-main 2021-04-21 15:22:20 -07:00
Sébastien Ros 9819c08be9
Merge pull request #31656 from dotnet-maestro-bot/merge/release/3.1-to-main
[automated] Merge branch 'release/3.1' => 'main'
2021-04-21 12:24:22 -07:00
Jan Vorlicek d1a2d8838d Move ARM and ARM64 to Ubuntu 18.04 2021-04-16 02:12:14 +02:00
Jan Vorlicek c0b4428a89 Update Alpine ARM docker image
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.
2021-04-16 01:11:03 +02:00
Pranav K 87326bcc3a
Merge remote-tracking branch 'origin/release/3.1' 2021-04-13 11:08:51 -07:00
John Luo 13a34c6c06
Set locale for ubuntu 18.04 (#31649) 2021-04-09 21:54:01 +00:00