Skip to content
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

cmd/link: TestMemProfileCheck failure on OpenBSD #49751

Open
mknyszek opened this issue Nov 23, 2021 · 1 comment
Open

cmd/link: TestMemProfileCheck failure on OpenBSD #49751

mknyszek opened this issue Nov 23, 2021 · 1 comment

Comments

@mknyszek
Copy link
Contributor

@mknyszek mknyszek commented Nov 23, 2021

Saw a trybot failure in TestMemProfileCheck: https://storage.googleapis.com/go-build-log/f46e4835/openbsd-amd64-68_61f03b52.log

Maybe not a real issue, and since it seems like the problem is when invoking the system ld, I'm inclined to believe this isn't our problem.

CC @thanm

@thanm
Copy link
Contributor

@thanm thanm commented Nov 24, 2021

I looked at the testpoint in question -- it's not using the system "ld" as far as I can tell. Looks more like the test built a small Go program, ran it, and the resulting binary crashed (or did an early exit) without emitting any output. Tried greplogs:

greplogs -E TestMemProfileCheck -dashboard Output
2021-10-07T18:09:53-4607ebc/plan9-arm:
--- FAIL: TestMemProfileCheck (0.01s)
    --- FAIL: TestMemProfileCheck/with_memprofile_runtime_pprof (7.36s)
        ld_test.go:336: exit status: 'go 46650: 2'
FAIL
FAIL	cmd/link/internal/ld

2021-09-08T22:41:27-47f3e1e/freebsd-amd64-race:
--- FAIL: TestMemProfileCheck (0.00s)
--- FAIL: TestMemProfileCheck/no_memprofile (8.26s)
ld_test.go:326: signal: segmentation fault (core dumped)
FAIL
FAIL cmd/link/internal/ld

2021-09-05T23:10:46-7619a45/freebsd-386-12_2:
--- FAIL: TestMemProfileCheck (0.00s)
--- FAIL: TestMemProfileCheck/with_memprofile (2.25s)
ld_test.go:326: signal: segmentation fault (core dumped)
FAIL
FAIL cmd/link/internal/ld

2021-06-14T22:42:48-7841cb1/freebsd-386-12_2:
--- FAIL: TestMemProfileCheck (0.00s)
--- FAIL: TestMemProfileCheck/with_memprofile_indirect (0.09s)
ld_test.go:324: exit status 2
FAIL
FAIL cmd/link/internal/ld

2021-04-21T20:44:00-122fca4/plan9-arm:
--- FAIL: TestMemProfileCheck (0.02s)
--- FAIL: TestMemProfileCheck/no_memprofile (4.28s)
ld_test.go:318: exit status: 'go 41673: 2'
FAIL
FAIL cmd/link/internal/ld

Looks like this may be another one of those "bad things happen on freebsd/openbsd" problems.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants