Several incremental build tests fail on the public dnceng-public pipeline because they rely on Fast Deployment, which is only available in commercial builds. These tests should call AssertCommercialBuild() with a comment explaining why.
Failing tests from build 1427200:
| Test |
Failed Assertion |
ResolveLibraryProjectImports(NativeAOT) |
_UpdateAndroidResgen should be skipped |
ManifestMergerIncremental(MonoVM) |
_ManifestMerger should have been skipped |
BuildApplicationWithAssetPack(True,NativeAOT) |
_GenerateAndroidAssetsDir should have been skipped |
AndroidResourceChange(NativeAOT) |
_CompileJava should have been skipped |
CheckDontUpdateResourceIfNotNeeded(True,CoreCLR) |
_UpdateAndroidResgen should have been skipped |
OverlayManifestIncrementalBuildTest(CoreCLR) |
_ManifestMerger should have been skipped |
BuildAotApplicationAndmlts("arm64-v8a",False,False) |
_CompileJava target should be skipped |
All of these are incremental build tests that verify certain MSBuild targets are skipped on the second build. They fail on public CI because without Fast Deployment, additional targets run during the incremental build.
Fix: Each test should call AssertCommercialBuild() with a comment explaining that Fast Deployment is needed for the incremental assertions to hold.
Several incremental build tests fail on the public dnceng-public pipeline because they rely on Fast Deployment, which is only available in commercial builds. These tests should call
AssertCommercialBuild()with a comment explaining why.Failing tests from build 1427200:
ResolveLibraryProjectImports(NativeAOT)_UpdateAndroidResgenshould be skippedManifestMergerIncremental(MonoVM)_ManifestMergershould have been skippedBuildApplicationWithAssetPack(True,NativeAOT)_GenerateAndroidAssetsDirshould have been skippedAndroidResourceChange(NativeAOT)_CompileJavashould have been skippedCheckDontUpdateResourceIfNotNeeded(True,CoreCLR)_UpdateAndroidResgenshould have been skippedOverlayManifestIncrementalBuildTest(CoreCLR)_ManifestMergershould have been skippedBuildAotApplicationAndmlts("arm64-v8a",False,False)_CompileJavatarget should be skippedAll of these are incremental build tests that verify certain MSBuild targets are skipped on the second build. They fail on public CI because without Fast Deployment, additional targets run during the incremental build.
Fix: Each test should call
AssertCommercialBuild()with a comment explaining that Fast Deployment is needed for the incremental assertions to hold.