-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Analysis task timed out in Version 3.0.1 #936
Comments
I was able to track down the issue a bit further: If I disable the central analyzer the task runs through perfectly. Still: I think the error handling on this one does not work that well! At least an error message could appear, that no connection to maven central was possible instead of silently waiting and then failing with a simple analyzer-timeout... |
While we know the central analyzer has increased the analysis time - this is the first report I've seen for a failure like this. Could you re-run this with the In addition, we are looking at alternatives to the central analyzer. |
I think I ran into the same (or at least a similar issue). I ran " mvn clean package dependency-check:aggregate -Dmaven.test.skip=true -X" which resulted in the attached log file I am on a proxied network, so network problems are highly likely (even though everything should be configured fine on my system) |
@TheNitek I'm curious how you ran dependency-check? Was this just via the command line or via some other script that might have a timeout? The reason I'm asking is that the error message was slightly incorrect - it should have been The actual call was to |
I ran it from command line as mentioned above: "mvn clean package dependency-check:aggregate -Dmaven.test.skip=true -X" (didn't change anything when removing clean, package and the maven.test.skip). Ran it on windows without any other magic. |
It looks like an ODC error message. While current master (at the time of writing this comment) really reports the message I also have some experience with scans exceeding this timeout. This happens especially when the scan runs on some older hardware and the project is large. I even experience some random behavior – build sometimes passes and sometimes fails. AFAIU, the reason for the timeout is that scan over 10 minutes is probably broken. Maybe it is reasonable to have a timeout, but maybe one size doesn't fit all and it should be configurable. EDIT: On Future.get() timeout: Look few lines above, you have a timeout for tasks, see
|
All - sorry it has taken me so long to get back to this issue. A PR was just created that should resolve this issue as it increases the timeout from 10 minutes to 20 minutes - and makes the timeout adjustable via a system property |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi!
Since I updated to version 3.0.1 my analysis task times out. Everything runs fine until the jar analyzer finishes. Then the application waits for like 10 minutes, only to then fail with the message below:
[ERROR] null
Analysis task timed out.
[ERROR] One or more fatal errors occurred
[ERROR] null
The full log can be found here: https://gist.github.com/timothygruetzner/00f9a1b062fc7f68b4b5ab6d00c77879
(Sorry if this issue wasn't opened correctly, am very new to GitHub)
Thanks for your help!
The text was updated successfully, but these errors were encountered: