-
Notifications
You must be signed in to change notification settings - Fork 48
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
Log resolving errors from LibraryClasspathContainerResolverService #3180
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3180 +/- ##
============================================
+ Coverage 69.75% 69.87% +0.11%
- Complexity 2931 2939 +8
============================================
Files 372 372
Lines 13422 13424 +2
Branches 1611 1612 +1
============================================
+ Hits 9363 9380 +17
+ Misses 3377 3365 -12
+ Partials 682 679 -3
Continue to review full report at Codecov.
|
I'll commit this once I have a patch for #3181. |
Hmm, now the logs are littered with exceptions (below) as the fix for #3181 is now executing the remainder of The first type of exception is because we don't have source for
Our SourceAttachers then update the container state with the source bindings, which is failing as the test has completed in the meantime and deleted the project. These SourceAttacherJobs should be part of a family so that
|
788ed4e
to
26e0f7b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Source jars are b/68379022
I've pinged @ludoch
serializer.saveContainer(javaProject, container); | ||
for (Job job : sourceAttacherJobs) { | ||
job.schedule(); | ||
if (!javaProject.getProject().getWorkspace().isTreeLocked()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like the PR is doing more than simply logging errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping. What's the status on this?
It turned into a bit of a tar-baby. The trigger (failing downloads leaving And then there's a separate issue of forking off separate source-jar resolvers. I'm not sure it actually buys us that much since on completion the jobs update the classpath, which will trigger a new build. |
I was hitting puzzling errors running the
ImportNativeAppEngineStandardProjectTest
integration tests locally where our classpath container had no entries. It was really puzzling! I discovered that ourLibraryClasspathContainerResolverService
wasn't logging a key exception, which clued me in that Maven had failed to download an artifact and left a little.lastUpdated
dropping that prevents Maven from attempting to re-resolve for some amount of time.This patch causes that exception to be logged.
Fixes #3181 too.