-
Notifications
You must be signed in to change notification settings - Fork 77
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
Many duplicate filename warnings in log output #150
Comments
Yes, we're experiencing the same, after upgrading from 1.1.3 to 1.1.4. In our case the build nodes (and the master) are all running Windows Server, and there's no |
I've rolled back to 1.1.3. With the number of builds we run that use |
Now with the High-severity XXE vulnerability in 1.1.4 and older, we've had to upgrade to 1.1.5 so are once again faced with enormous log growth due to these This issue with Warnings appears to have been introduced by the fix for #140 in #142. In our case, with .NET projects, it appears to be primarily warning of duplicates as it crawls through bin, obj, and packages (NuGet) folders, presumably given the |
As an example from a recent 1.1.5 console log:
I can see that they are indeed duplicate names -- likely due to coming from different bin or obj folders in the solution -- so would prefer either the removal of these WARNING messages (log spam), if it's not actually having an adverse effect, or the addition of file paths in order to disambiguate these (so that they are no longer duplicates). In the case above, this is occurring during a Publish Coverage Report step using Cobertura coverage reports. Ideally, I would have expected this would only attempt to copy source files that are named within the coverage report in question (e.g., in the |
The Jacoco fix in 4081720 brought new code that tries to find the source file in case other ways didn't work. To do this it creates a map of file names to look for. And it logs warnings in case of any duplicates. Becase there may be a lot of them a log would quite apace, we remove the warnings.
Fix #150. Remove wars about source files with the same names
Will be resolved in 1.1.6, likely in a couple of days will be released. |
We recently updated the Code Coverage API plugin to version 1.1.4 and suddenly our logs were filled with warnings about duplicate files. Log file size has jumped from around 200KB to 1.1MB, so there really are a lot of warnings in there.
Example:
Rolling the plugin back to the previous version (1.0.11) has got rid of the warnings.
System info
The problem might be because we create a
venv
within the workspace (to allow easy deletion on the next build) and it contains another copy of the installed files.The text was updated successfully, but these errors were encountered: