microsoft / BuildXL

Microsoft Build Accelerator
MIT License
902 stars 141 forks source link

Anti-Virus Scanning for Symantec Endpoint Protection (sysfer)? #1296

Open malkia opened 2 years ago

malkia commented 2 years ago

[6:44] warning DX0268: [Pip60EF7993CD54B656, dotnet.exe, BuildXL.Cache.ContentStore, DistributedTest.dll, {configuration:"debug", targetFramework:"netcoreapp3.1", targetRuntime:"win-x64"}, acquires semaphores (BuildXL.xunit_semaphore:1)] Pip completed successfully, but with file monitoring violations. It will not be stored to the cache, since its declared inputs or outputs may be inaccurate. [6:44] error DX0500: [Pip60EF7993CD54B656, dotnet.exe, BuildXL.Cache.ContentStore, DistributedTest.dll, {configuration:"debug", targetFramework:"netcoreapp3.1", targetRuntime:"win-x64"}, acquires semaphores (BuildXL.xunit_semaphore:1)] - Disallowed file accesses were detected (R = read, W = write): Disallowed file accesses performed by: F:\p\BuildXL\Out\Objects\w\j\bdxe7pnjz9j84qy53zby9nvw\testRun\redisServer\redis-server.exe W C:\Bld_area\SEP_14.2-RU2-MP1\Output\SEPClientProtection\Bin64.iru\sysfer.pdb

ljcollins25 commented 2 years ago

Is your enlistment under an excluded directory for virus scan? Generally, we suggest for performance and reliability that you build under a directory excluded from virus scan.

malkia commented 2 years ago

I think it is, but not sure if I need to add exclude for the subst drive (B:) - I'll try it out! Thanks!