-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile/internal/ssa: test TestNexting failing #37050
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
Comments
Works for me. I'd assume a flake, unless you can repeat this (this test can flake, worked pretty hard to deflake it but it's not zero). Maybe dlv has some extra behavior that I don't know about, depending on environment, hard to say. |
How many (if any) of the builders have Looking at the test body, it appears that we skip the test entirely otherwise (rather that, say, falling back to GDB). Is that intentional? Given that Delve is a Go program, perhaps the test should instead download and build (a specific version of) the go/src/cmd/compile/internal/ssa/debug_test.go Line 114 in 0efbd10
go/src/cmd/compile/internal/ssa/debug_test.go Lines 130 to 136 in 0efbd10
|
We were running this on our workstations as part of the testing in the release process. |
@bcmills I added dlv to the containers that run longtests, so it should be there. Using gdb is a recipe for flaky awfulness, different versions behave differently, it can be sensitive to your Python installation, it's not an option on Macs anymore (as in, I have been unable to build and install it correctly despite multiple tries and many searches for how-to recipes -- I follow them, I do not end up debugging code as a non-root user). |
This seems to be happening on I'll do some more investigation to confirm how reproducible it is. It's worth keeping in mind that the |
It is also happening on the release-branch.go1.13 branch. See the post-submit failure here, and the SlowBot run here. From looking at the recent results (post-CL 234520) in the |
I've been playing with gdb-on-Darwin, now that I figured out the truly secret handshake for code signing (use certificate name for email address; only Trust-Always for codesigning, leave the rest alone) and it works by hand, fails by program, no idea why. The new version of Delve continues to work just fine. |
The version of
The latest stable release at https://github.com/go-delve/delve/releases seems to be v1.4.1.
@dr2chase Which exact version did you try? Do you think a good next step would be to update |
I just remembered @bcmills's #37050 (comment) from earlier, that seems like another good option to consider, as it would make the test depend on the environment configuration less, and able to run in more environments. I can reproduce the
|
I tried Delve 1.4.1. I just rebooted after a Catalina security or dot upgrade, and one of my copies of gdb now hangs from the keyboard, the other (same binary, different signing) does not. All of them still hang running under the control of |
Upon further testing, it seems the problem was not the version of dlv, but the fact that the installed I can get the test to fail the same way (in the linux/386 configuration) if I install and use |
So, using an amd64 delve to debug a 386 Go binary leads to flakiness? |
Delve says it doesn't support 386:
and then it panics all over the place. Still haven't gotten gdb to work consistently-properly on either Darwin or Linux; I have a fear that success depends not just on gdb version, but also on the version of Python that is compiled into it when gdb is built. |
I've looked into how the
Yes. It's not just flakiness, it's reproducible failure: I think there are two distinct issues between this issue and #37404.
|
What version of Go are you using (
go version
)?What operating system and processor architecture are you using?
Debian GNU/Linux rodete
amd64
What did you do?
Ran test from the
src
directory.$ go/src> go test cmd
What did you expect to see?
Passing tests
What did you see instead?
The text was updated successfully, but these errors were encountered: