-
Notifications
You must be signed in to change notification settings - Fork 54
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
Multiple different driver bugs from a large-scale parse #268
Comments
It's going to take a while to grok 500mb of logs :) Thank you very much! From a very quick glance there are at least some:
Going to dig deeper tomorrow and update the list here, before proceeding with fixes. |
I am currently running massive parsing on several machines, once they finish I will share more logs 👍 |
13 bugs so far 😆 - I think it's a fair start :) Good news is that the next |
Could not resist: here is a nice distribution of error logs per language
Script to reproduce for LANG in java javascript php ruby go python csharp cpp bash typescript
do
echo "${LANG}"; grep "language=${LANG}$" bblfshd.log | grep -c "error"
done
grep -oP "error: rpc error: code = [[:alnum:]]*" bblfshd.log | sort | uniq -c | sort -dr And here is the distribution of all 34,892 grpc error reports by type 22292 error: rpc error: code = Internal
11762 error: rpc error: code = FailedPrecondition
416 error: rpc error: code = DeadlineExceeded
394 error: rpc error: code = Canceled
28 error: rpc error: code = ResourceExhausted Scripts in details could be useful to compare this with the next log analysis, using a new bblfshd version. |
Should we move this issue to |
Moved to bblfshd. Going to file individual driver issues from #268 (comment) now. |
A concrete demonstration of Bjarne Stroustrup's occasional observation that there are two kinds of languages: Those everyone complains about, and those nobody uses. Apparently even the compiler agrees. 😜 |
Triaged, actionable bugs:
Update:
|
As soon as origin of last C++ failure is identified and a new issue is created for it under https://github.com/bblfsh/cpp-driver/milestone/1 - I think it should be good to close this issue in favor of individual driver milestones. |
@bzz FWIW here is another log which is 8 times bigger, taken yesterday night: https://drive.google.com/file/d/1kBCdZm49sVEjVzVmcFX1flUgv6gvHBw1 |
Thank you! We still have to finish the scope from the previous one first, I'm afraid 😆 What would really help is if we could collect a new log like that as soon as new bblfhsd is released. E.g if you could describe some simple procedure of getting one - we could run it on our own. Otherwise, I'll get back and analyse this log but after finishing with current issues, most probably next week. Thanks again! |
If it's possible, let's run the same large-scale parse again with the latest bblfshd. It should fix most of the issues. |
I am going to do this next week. |
It seems like all, but C++ and Ruby driver bugs were already fixed now. |
Let's wait for the new bblfshd release, rerun the parse job and see if it catches anything new. |
v2.13.0 is out, we can start testing it. |
@dennwc do you think we could close this one now, in favor of a separate new issue for different logs? |
I noticed that the cpp driver crashed at some point of my massive GitHub repository parsing.
Here are the logs: https://drive.google.com/file/d/1SqQt4s6sAJtF5im4nb3nY-Ig1K7gquQ9
The text was updated successfully, but these errors were encountered: