Scan...xml.gz files in Appdata\Local\Temp !?

Hi,

this morning we’ve got an alert for one of our Jenkins masters running on windows server 2012
due to space problems with the system partition.
A bunch of scan…xml.gz files in C:\Users\jenkinsuser\AppData\Local\Temp eats away 14GB,
seems to be one file per scan.
Never saw this files before, didn’t even know about their existence and the documentation has
nothing about.

This seems to be independent of the SONAR_USER_HOME setting.
Is there another setting for the scanner to influence this behaviour or are we bound to use
a scheduled task to clean up ? Or maybe it’s related to the scanner version, we use a mix of
version 3 and 4 ?

Gilbert

Hi Gilbert,
Could you please give the name of some of the files as an example?

Hi Duarte,

here are some file names

…\AppData\Local\Temp\scan1004837661327045111.xml.gz
…\AppData\Local\Temp\scan1010377370483907013.xml.gz
…\AppData\Local\Temp\scan1027657130404888289.xml.gz
…\AppData\Local\Temp\scan103282974903270802.xml.gz
…\AppData\Local\Temp\scan1039609581104863216.xml.gz
…\AppData\Local\Temp\scan1039636532435216549.xml.gz
…\AppData\Local\Temp\scan1075222643672544098.xml.gz
…\AppData\Local\Temp\scan1131864700577445026.xml.gz
…\AppData\Local\Temp\scan1156180311678652950.xml.gz
…\AppData\Local\Temp\scan1169025623106613054.xml.gz

The file size varies between 4kb and 20mb.
I could send some files via PM, but i don’t see an option in this forum.

Gilbert

Hi Duarte,

i see now, it seems those files originate from the Sonatype NexusIQ scanner.
Have been misled by some entry <scannerVersion>...</scannerVersion>
with a version similar to the Sonarqube scanner version in Jenkins :grin:

Sorry,
Gilbert

No worries, I’m glad you found what it is.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.