-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSTest task with code covereage enabled fills up disk with IntelliTrace files #6694
Comments
@ChristopherHaws Thanks for reporting the issue, We have fixed |
@ChristopherHaws, this has been fixed and is pending release. It should be available around next week. Can't commit to a date yet. You can get the latest vstest platform by using the test platform tools installer task. You can monitor the nuget package for the new version which should have the fix @smadala made. |
Closing this issue now. Please reopen if you need more assistance with the tools installer task or if in the next release this issue still persists. |
@smadala, @ShreyasRmsft, this issue also happens when running tests from Visual Studio on the developer machine. It is also fixed in Visual Studio? Or the fix is for TFS Task only? Thanks |
Yes, Fixed in both. |
@ShreyasRmsft, when you say it will be available next week, it will be a RTM version? Or 15.7 Preview 2? Thanks |
@ChristopherHaws, @fujiy It will be available for VSTS next week. But you'll have to wait longer for the VS RTM release where this will be fix will be released for the IDE as we do not have the convenience to shipping as and when we want. But for VSTS we can and the fix will be out via the nuget package as I have specified above. |
Fix available in https://www.nuget.org/packages/Microsoft.TestPlatform/15.6.2 . |
I am seeing a buildup of .itrace files in VSTest version 16.2.0. I'm using Agent version 2.155.1 x64 on Windows Server 2016. [Edit]: Tested with VSTest 15.7.0, and it seems to be a problem here as well. Just a thought, but we are running the agent interactive and also as administrator, so the problem could be somewhere there. |
Environment
Issue Description
When using the VSTest Task with CodeCoverage enabled, IntelliTrace logs get placed into the
%WINDIR%\temp\
directory and do not get cleaned up. OurC:\Windows\Temp
directory was using over 100GB due to.itrace
files. During the build I was able to locate a file inF:\vsts\builds\a1\_temp
calledIntelliTrace_Logging_History_15.0_intellitrace_00002bb0_01d3bb24c81e8e1d
with the following content:Here is the yaml of our VSTest task, and we have no custom build variables:
Error logs
There are no errors occurring other than disk full errors when the disk runs out of space.
References
DevCommunity post of this issue: https://developercommunity.visualstudio.com/content/problem/195034/cwindowstemp-fills-up-with-itrace-files-after-upgr.html
The text was updated successfully, but these errors were encountered: