提交 3c80118c 编写于 作者: V Viktor Hofer 提交者: GitHub

Publish test artifacts to AzDO (dotnet/corefx#37296)

* Publish test artifacts to AzDO

* Disable two flaky UAP tests

* Remove leftover buildconfiguration for netfx

* Disable flaky printer test

* Disable flaky PipeWriter test


Commit migrated from https://github.com/dotnet/corefx/commit/75a54c95e2d31370bf8b5024a5b68b3e83cefb2e
上级 75c9a915
......@@ -8,11 +8,20 @@ trigger:
include:
- master
- release/3.0
paths:
exclude:
- Documentation/*
- /*.md
# TODO: add paths to exclude CI when modifying docs or stuff not affecting the build
pr:
- master
- release/3.0
branches:
include:
- master
- release/3.0
paths:
exclude:
- Documentation/*
- /*.md
resources:
containers:
......
......@@ -198,19 +198,14 @@ jobs:
msbuildScript: $(_msbuildCommand)
framework: $(_framework)
outerloop: $(_outerloop)
enableAzurePipelinesReporter: false
${{ if eq(parameters.isOfficialBuild, 'true') }}:
isExternal: false
waitForCompletion: false
officialBuildId: $(Build.BuildNumber)
helixToken: $(HelixApiAccessToken)
${{ if eq(parameters.isOfficialBuild, 'false') }}:
# TODO: SET Creator to the PR owner whenever Azure DevOps supports a good way to retrieve it.
creator: dotnet-bot
isExternal: true
waitForCompletion: true
helixToken: ''
- ${{ if eq(parameters.isOfficialBuild, 'true') }}:
......
......@@ -5,12 +5,9 @@ parameters:
framework: ''
helixQueues: ''
helixToken: ''
isExternal: '' # true | false
msbuildScript: ''
targetOS: ''
waitForCompletion: '' # true | false
officialBuildId: ''
enableAzurePipelinesReporter: '' # true | false
outerloop: '' # true | false
condition: always()
......@@ -26,11 +23,8 @@ steps:
/p:HelixTargetQueues=${{ parameters.helixQueues }}
/p:HelixBuild=$(Build.BuildNumber)
/p:HelixAccessToken=${{ parameters.helixToken }}
/p:WaitForWorkItemCompletion=${{ parameters.waitForCompletion }}
/p:IsExternal=${{ parameters.isExternal }}
/p:Creator=${{ parameters.creator }}
/p:OfficialBuildId=${{ parameters.officialBuildId }}
/p:EnableAzurePipelinesReporter=${{ parameters.enableAzurePipelinesReporter }}
/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/SendToHelix.binlog
displayName: Send to Helix
condition: and(succeeded(), ${{ parameters.condition }})
......
......@@ -167,8 +167,6 @@ jobs:
submitToHelix: true
buildExtraArguments: /p:RuntimeOS=win10
# azure pipelines reporter only supports xunit results based tests.
enableAzurePipelinesReporter: false
variables:
- _outerloop: false
......
......@@ -32,19 +32,7 @@
<TestRunNamePrefix>$(BuildConfiguration)-</TestRunNamePrefix>
<TestRunNamePrefix Condition="'$(IsPackageTesting)' == 'true'">PackageTests-$(ConfigurationGroup)-$(ArchGroup)</TestRunNamePrefix>
<MaxRetryCount Condition="'$(MaxRetryCount)' == ''">4</MaxRetryCount>
</PropertyGroup>
<!-- If mission control reports a test failure then fail the build whenever helix wait runs. -->
<PropertyGroup Condition="'$(FailOnMissionControlTestFailure)' == ''">
<FailOnMissionControlTestFailure>true</FailOnMissionControlTestFailure>
<FailOnMissionControlTestFailure Condition="'$(OfficialBuildId)' != ''">false</FailOnMissionControlTestFailure>
</PropertyGroup>
<!-- If mission control reports a test crash (fireball) then fail the build on helix wait -->
<PropertyGroup Condition="'$(FailOnWorkItemFailure)' == ''">
<FailOnWorkItemFailure>true</FailOnWorkItemFailure>
<FailOnWorkItemFailure Condition="'$(OfficialBuildId)' != ''">false</FailOnWorkItemFailure>
<FailOnTestFailure Condition="'$(WaitForWorkItemCompletion)' != ''">$(WaitForWorkItemCompletion)</FailOnTestFailure>
</PropertyGroup>
<PropertyGroup Condition="'$(HelixType)' == ''">
......
......@@ -3,7 +3,6 @@
<BuildConfigurations>
netcoreapp;
uap;
netfx;
</BuildConfigurations>
</PropertyGroup>
</Project>
\ No newline at end of file
......@@ -1471,6 +1471,7 @@ public void TestHandleCount_OSX()
}
}
[ActiveIssue(37325)]
[Fact]
[PlatformSpecific(TestPlatforms.Linux | TestPlatforms.Windows)] // Expected process HandleCounts differs on OSX
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Handle count change is not reliable, but seems less robust on NETFX")]
......
......@@ -169,6 +169,7 @@ public void BeginPrint_SetValue_ReturnsExpected()
}
[ActiveIssue(20884, TestPlatforms.AnyUnix)]
[ActiveIssue(30223)]
[ConditionalFact(Helpers.AnyInstalledPrinters, Helpers.IsDrawingSupported)]
public void EndPrint_SetValue_ReturnsExpected()
{
......
......@@ -233,6 +233,7 @@ public async Task WritesUsingGetMemoryWorks()
pipe.Reader.Complete();
}
[ActiveIssue(37239)]
[Fact]
public async Task CompleteWithLargeWriteThrows()
{
......
......@@ -194,6 +194,7 @@ public async Task Http2_ServerSendsValidSettingsValues_Success()
}
}
[ActiveIssue(35466)]
[ConditionalTheory(nameof(SupportsAlpn))]
[InlineData(SettingId.MaxFrameSize, 16383, ProtocolErrors.PROTOCOL_ERROR, true)]
[InlineData(SettingId.MaxFrameSize, 162777216, ProtocolErrors.PROTOCOL_ERROR, true)]
......
......@@ -65,6 +65,7 @@ public void MulticastOption_CreateSocketSetGetOption_GroupAndInterfaceIndex_SetS
}
}
[ActiveIssue(31609, TargetFrameworkMonikers.Uap)]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] // Skip on Nano: dotnet/corefx #29929
public async Task MulticastInterface_Set_AnyInterface_Succeeds()
{
......@@ -129,6 +130,7 @@ public void MulticastInterface_Set_InvalidIndex_Throws()
}
}
[ActiveIssue(31609, TargetFrameworkMonikers.Uap)]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] // Skip on Nano: dotnet/corefx #29929
[PlatformSpecific(~TestPlatforms.OSX)]
public async Task MulticastInterface_Set_IPv6_AnyInterface_Succeeds()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册