From 112631c66945a05b485b8b2d4b0cd794a02030da Mon Sep 17 00:00:00 2001 From: Aleksandar Milicevic Date: Tue, 30 Mar 2021 01:52:11 +0000 Subject: [PATCH] Merged PR 605607: Disable Gvfs/Clone configuration for GVFS tests in CloudTest Disable Gvfs/Clone configuration for GVFS tests in CloudTest --- Private/CloudTest/Gvfs/BasicGitOperationTests.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Private/CloudTest/Gvfs/BasicGitOperationTests.cs b/Private/CloudTest/Gvfs/BasicGitOperationTests.cs index e174fbbc0..94c1050d6 100644 --- a/Private/CloudTest/Gvfs/BasicGitOperationTests.cs +++ b/Private/CloudTest/Gvfs/BasicGitOperationTests.cs @@ -21,7 +21,16 @@ namespace BuildXL.CloudTest.Gvfs public static IEnumerable RepoConfigData() { // args: (RepoConfig repoCfg) - yield return new object[] { new RepoConfig(RepoKind.Gvfs, RepoInit.Clone) }; + // TODO: journal tracking inside a cloned gvfs repo is failing in CloudTest with + // Failed to open a path as part of a change-tracking probe (existence only): C:\Users\CLOUDT~1\AppData\Local\Temp\73d30194-37f1-4865-9e5a-cb5658df8a9c\cab472e31c0d4b02b5c9\src\src\files\changingFile.txt: + // Opening a file handle failed: + // Native: 0x171: The provider that supports file system virtualization is temporarily unavailable. + // Expected: True + // Actual: False + // at Test.BuildXL.TestUtilities.Xunit.XAssert.PossiblySucceeded[T](Possible`1 result, String message) in \.\Public\Src\Utilities\UnitTests\TestUtilities.XUnit\XAssert.cs:line 582 + // at BuildXL.CloudTest.Gvfs.JournalHelper.TrackPath(String path) in \.\Private\CloudTest\Gvfs\JournalHelper.cs:line 75 + // at BuildXL.CloudTest.Gvfs.BasicGitOperationTests.EditFile(RepoConfig repoCfg) in \.\Private\CloudTest\Gvfs\BasicGitOperationTests.cs:line 389 + // yield return new object[] { new RepoConfig(RepoKind.Gvfs, RepoInit.Clone) }; yield return new object[] { new RepoConfig(RepoKind.Gvfs, RepoInit.UseExisting) }; yield return new object[] { new RepoConfig(RepoKind.Git, RepoInit.UseExisting) }; }