-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
teamcity: failed test: TestLint (oom in TestVet) #37061
Comments
Doesn't seem to be tracked anywhere, which is bad given that it's such an annoyance. Ok, who's going to do $SOMETHING about it? I think @jordanlewis and @RaduBerinde have looked at this most recently. Was anything tried already? Also cc @bobvawter |
Hopefully this lands soon: dominikh/go-tools#376 |
That means we need to do something in the meantime. I started looking into this but it really feels that most of what I would be doing has already been done and what's needed first is a braindump. What's consuming the most memory? Is it running in parallel with anything else? Have we considered just giving the TC agents more memory or enabling swap? Etc. Can someone clue me in? |
The problematic tests (Unused, Megacheck) don't run in parallel with other tests. Sure, giving agents more memory would help. We can also try using GOGC=50. It looks like dominikh just posted about a branch with his latest work. We could try running against that (we'll need to update our code though, see the patch linked in #33669) |
I took a look at using the latest branch. The interfaces have changed a lot again, and there's not much in the way of documentation/comments. It would probably require a week of someone banging their head against it. |
Documentation will follow soon (certainly by the time the code lands in master.) |
Thanks @dominikh! For what it's worth, I think we've went too far with using the internal libraries. I think it would be reasonable to just run |
I will look at replacing |
Replace the TestMegacheck and TestUnused tests with a call to the new `staticcheck`. Our custom checkers will need to be rewritten using the new interfaces; disable the old code until then (this will be tracked by cockroachdb#33669). Fixes cockroachdb#37061. Release note: None
37486: lint: switch to new staticcheck r=RaduBerinde a=RaduBerinde Replace the TestMegacheck and TestUnused tests with a call to the new `staticcheck`. Our custom checkers will need to be rewritten using the new interfaces; disable the old code until then (this will be tracked by #33669). Fixes #37061. Release note: None Co-authored-by: Radu Berinde <[email protected]>
The following tests appear to have failed on master (lint): TestLint/TestVet: TestLint/TestVet/shadow, TestLint/TestVet, TestLint
You may want to check for open issues.
#1257210:
Please assign, take a look and update the issue accordingly.
The text was updated successfully, but these errors were encountered: