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
Test fails due to stack traces #21
Comments
Hi, is there any update on this? Maybe even a "Won't Fix"? |
Hey Rock! We’re using an internal copy of this right now — would love a pull request if you feel up for it,
Conrad
…On Tue, Apr 23 2019 at 9:49 AM, Bhavesh Kakadiya < ***@***.*** > wrote:
Hi, is there any update on this? Maybe even a "Won't Fix"?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (
#21 (comment) ) , or
mute the thread (
https://github.com/notifications/unsubscribe-auth/AAAXAQE4FLGZR2GPODWQ4NTPR44Y3ANCNFSM4GTLQ3UA
).
|
Hi @ConradIrwin, I would love a PR on this too :P. In all honesty, I've tried and failed. I clearly lack the knowledge here. If this is going to be a "won't-fix" I'll have to propose ignoring this particular test on the Debian package, which is something I'm currently reluctant to do. Thanks for answering anyway. |
For some reasons, this test seems to pass with Go 1.12, but continues to fail with Go 1.11. Tested with go1.12.7 and go1.11.12. |
Great news. Thanks for the fix in Debian. |
You're very welcome. I needed the fix myself anyway. :-) The stack trace test seems very flaky; or, rather, Go sometimes generate unpredictable stack trace? I am seeing different stack trace outputs with gccgo-8 and gccgo-9, for example, on amd64 vs mipsel.
Oh well... |
Traces look the same but for that number at the end (the program counter?): So maybe the stack comparison should be relaxed to allow such mismatch? I'm honestly too lost here. |
Sorry, I might have overemphasized and missed the main point. Although the test is indeed a bit flaky, or rather, Go's stack trace does not seem to produce identical output, I wouldn't worry too much as long as, for instance, it builds fine on Debian buildd machine and passes the automated tests:
where both the buildd and the automated tests runs only on amd64 with the standard Go compiler (gc) and never with MIPS or gccgo. Furthermore, this particular test really doesn't affect the usability of this Go library, so all is fine now IMHO. :-) |
Hi, tests are failing again since go 1.11.
Maybe @gabrielf could come up again with a solution for this? :P
Thanks a lot.
Originally reported in Debian [1] by Adrian Bunk.
The text was updated successfully, but these errors were encountered: