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/pprof: TestDisasm fails on raspbian #47024

Open
68CodingMonkeys opened this issue Jul 2, 2021 · 0 comments
Open

cmd/pprof: TestDisasm fails on raspbian #47024

68CodingMonkeys opened this issue Jul 2, 2021 · 0 comments

Comments

@68CodingMonkeys
Copy link

@68CodingMonkeys 68CodingMonkeys commented Jul 2, 2021

What did you do?

  1. git clone https://go.googlesource.com/go goroot
  2. cd goroot/src
  3. ./all.bash

What did you expect to see?

ALL TESTS PASSED

What did you see instead?

:
ok cmd/objdump 84.223s
ok cmd/pack 27.747s
--- FAIL: TestDisasm (21.25s)
pprof_test.go:125: pprof disasm got Total: 160ms
want contains "ROUTINE ======================== main.main"
FAIL
FAIL cmd/pprof 62.966s
ok cmd/trace 0.536s
ok cmd/vet 100.480s
:

Does this issue reproduce with the latest release (go1.16.5)?

Maybe. Downloaded repo on 2 July of 2021. Cant tell until the build finishes.

FYI: apt-get gave me 11.1 but it stuggled being to old, so I decided to compile
latest and greatest on my own with official doc at https://golang.org/doc/install/source

I disabled the test by patching and ignoring linux / arm, what impact has this?

System details

go version go1.11.6 linux/arm
GOARCH="arm"
GOBIN=""
GOCACHE="/home/ethereum/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/ethereum/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/go-1.11"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.11/pkg/tool/linux_arm"
GCCGO="gccgo"
GOARM="6"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
GOROOT/bin/go version: go version go1.11.6 linux/arm
GOROOT/bin/go tool compile -V: compile version go1.11.6
uname -sr: Linux 5.10.17-v7l+
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
/lib/arm-linux-gnueabihf/libc.so.6: GNU C Library (Debian GLIBC 2.28-10+rpi1) stable release version 2.28.
gdb --version: GNU gdb (Raspbian 8.2.1-2) 8.2.1
@dmitshur dmitshur changed the title build from cloned repo failed on raspbian cmd/pprof: TestDisasm fails on raspbian Jul 2, 2021
@dmitshur dmitshur added this to the Backlog milestone Jul 2, 2021
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