A child process of Symantec DLP (specifically kvoop.exe) holding on to a temporarily generated zip file by maven induced sonarqube source code analysis, which causes the upload of the analysis to fail.
Typically, after the source code analysis is complete and just before the upload to the Sonarqube server, following happens - snippet of java exception:
[ERROR] Failed to delete temp folder
java.nio.file.DirectoryNotEmptyException: C:\git\app1\target\sonar\.sonartmp
at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:266)
Manually trying to delete the above folder will prompt for admin access; even with admin access, will not let me delete the folder. After 15 mins or so the lock on the file goes away or if I kill the kvoop.exe process via process explorer.
Any solution to this will be appreciated.
Thanks, Tj