From 90c61e38777d1f043366e3e0d2d02965bbd6ecd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Pysson=20=F0=9F=8D=95?= Date: Wed, 29 Sep 2021 23:26:14 +0000 Subject: [PATCH] Merged PR 631845: Get rid of warning in RunCheckinTests in PR validations The "PartB" validation isn't hooked up to the shared cache, so it always times out after 5 seconds and emits a warning. Disable usage of the shared cache. I don't expect much impact on dev builds since folks aren't running this suite locally. --- RunCheckInTests.cmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RunCheckInTests.cmd b/RunCheckInTests.cmd index 289b98885..175e9ec6d 100644 --- a/RunCheckInTests.cmd +++ b/RunCheckInTests.cmd @@ -82,7 +82,7 @@ if EXIST %ENLISTMENTROOT%\Out\frontend\Nuget\specs ( set start=%time% set stepName=Building 'release\win-x64' and DistributedBuildRunner using Lkg and deploying to RunCheckinTests call :StatusMessage %stepName% - call :RunBxl -Use LKG -Deploy RunCheckinTests -DeployConfig Release -DeployRuntime win-x64 /f:output='%ENLISTMENTROOT%\Out\Bin\release\win-x64\*'oroutput='%ENLISTMENTROOT%\Out\Bin\release\tools\DistributedBuildRunner\*' %BUILDXL_ARGS% /enableLazyOutputs- /TraceInfo:RunCheckinTests=LKG /useCustomPipDescriptionOnConsole- /validateCgManifestForNugets:%ENLISTMENTROOT%\cg\nuget\cgmanifest.json + call :RunBxl -Use LKG -Deploy RunCheckinTests -DeployConfig Release -DeployRuntime win-x64 /f:output='%ENLISTMENTROOT%\Out\Bin\release\win-x64\*'oroutput='%ENLISTMENTROOT%\Out\Bin\release\tools\DistributedBuildRunner\*' %BUILDXL_ARGS% /enableLazyOutputs- /TraceInfo:RunCheckinTests=LKG /useCustomPipDescriptionOnConsole- /validateCgManifestForNugets:%ENLISTMENTROOT%\cg\nuget\cgmanifest.json -SharedCacheMode disable if %ERRORLEVEL% NEQ 0 goto BadLKGMessage call :RecordStep "%stepName%" %start% @@ -151,7 +151,7 @@ endlocal && exit /b 0 set start=!time! set stepName=Performing a /cleanonly build call :StatusMessage !stepName! - call :RunBxl -Use RunCheckinTests %BUILDXL_ARGS% /cleanonly /f:spec='%ENLISTMENTROOT%\Public\Src\Utilities\Instrumentation\LogGen\BuildXL.LogGen.dsc' /TraceInfo:RunCheckinTests=CleanOnly + call :RunBxl -Use RunCheckinTests %BUILDXL_ARGS% /cleanonly /f:spec='%ENLISTMENTROOT%\Public\Src\Utilities\Instrumentation\LogGen\BuildXL.LogGen.dsc' /TraceInfo:RunCheckinTests=CleanOnly -SharedCacheMode disable if !ERRORLEVEL! NEQ 0 (exit /b 1) call :RecordStep "!stepName!" !start! @@ -226,7 +226,7 @@ endlocal && exit /b 0 set start=!time! set stepName=Running SymLink Tests call :StatusMessage !stepName! - call :RunBxl -Use RunCheckinTests %BUILDXL_ARGS% /c:%ENLISTMENTROOT%\Public\Src\Sandbox\Windows\DetoursTests\SymLink1\config.dsc /TraceInfo:RunCheckinTests=Symlink /logsDirectory:%~dp0out\Logs\SymLinkTest\ + call :RunBxl -Use RunCheckinTests %BUILDXL_ARGS% /c:%ENLISTMENTROOT%\Public\Src\Sandbox\Windows\DetoursTests\SymLink1\config.dsc /TraceInfo:RunCheckinTests=Symlink /logsDirectory:%~dp0out\Logs\SymLinkTest\ -SharedCacheMode disable rmdir /s /q %ENLISTMENTROOT%\Public\Src\Sandbox\Windows\DetoursTests\SymLink1\Out if !ERRORLEVEL! NEQ 0 (exit /b 1) call :RecordStep "!stepName!" !start!