Skip to content

cmd/release: linux-arm release build fails #13577

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

Closed
davecheney opened this issue Dec 11, 2015 · 9 comments
Closed

cmd/release: linux-arm release build fails #13577

davecheney opened this issue Dec 11, 2015 · 9 comments
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge
Milestone

Comments

@davecheney
Copy link
Contributor

After applying CL 17663 the release build fails to complete the tests.

--- FAIL: TestGdbPython (4.19s)
        runtime-gdb_test.go:42: gdb version 7.7
        runtime-gdb_test.go:129: failed to load Go runtime support: warning: File "/usr/local/go/src/runtime/runtime-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load:/workdir/go/src/
runtime".
FAIL
FAIL    runtime 143.480s

I believe this is because the release build runs with GOROOT_FINAL set, altering the path to runtime-gdb.py which is embedded into the binary.

Blocks #13066

/cc @bradfitz @broady

@davecheney davecheney added this to the Go1.6 milestone Dec 11, 2015
@davecheney davecheney added the Builders x/build issues (builders, bots, dashboards) label Dec 11, 2015
@rsc
Copy link
Contributor

rsc commented Dec 17, 2015

Where did auto-load safe-path come from?

@davecheney
Copy link
Contributor Author

It's coming from the Ubuntu 14.04 flavour of Linux our scaleway arm boxes
come with. I suspect the GCE Linux builders don't come with gdb installed.

On Thu, 17 Dec 2015, 18:14 Russ Cox [email protected] wrote:

Where did auto-load safe-path come from?


Reply to this email directly or view it on GitHub
#13577 (comment).

@mwhudson
Copy link
Contributor

Certainly my not very sophisticated approach to Debian package builds
failing on this test is to run them in a chroot that does not have gdb
installed.

On 17 December 2015 at 20:40, Dave Cheney [email protected] wrote:

It's coming from the Ubuntu 14.04 flavour of Linux our scaleway arm boxes
come with. I suspect the GCE Linux builders don't come with gdb installed.

On Thu, 17 Dec 2015, 18:14 Russ Cox [email protected] wrote:

Where did auto-load safe-path come from?


Reply to this email directly or view it on GitHub
#13577 (comment).


Reply to this email directly or view it on GitHub
#13577 (comment).

@rsc
Copy link
Contributor

rsc commented Dec 17, 2015

https://go-review.googlesource.com/17970 should take care of disabling the test in this case.

@rsc rsc closed this as completed in d270a67 Dec 17, 2015
@davecheney
Copy link
Contributor Author

I went even more lowbrow. I used gomote to rm /usr/bin/gdb before the builder got to that phase of ./all.bash

On 17 Dec 2015, at 21:04, Michael Hudson-Doyle [email protected] wrote:

Certainly my not very sophisticated approach to Debian package builds
failing on this test is to run them in a chroot that does not have gdb
installed.

On 17 December 2015 at 20:40, Dave Cheney [email protected] wrote:

It's coming from the Ubuntu 14.04 flavour of Linux our scaleway arm boxes
come with. I suspect the GCE Linux builders don't come with gdb installed.

On Thu, 17 Dec 2015, 18:14 Russ Cox [email protected] wrote:

Where did auto-load safe-path come from?


Reply to this email directly or view it on GitHub
#13577 (comment).


Reply to this email directly or view it on GitHub
#13577 (comment).


Reply to this email directly or view it on GitHub.

@bradfitz
Copy link
Contributor

Um, the scaleway builders don't run in Docker containers. They run under systemd with a freshly tmpfs as their build filesystem $WORKDIR, but /usr/bin/gdb was the host's gdb you deleted. :-)

@davecheney
Copy link
Contributor Author

Oh crap. Sorry. I did not know that.

On 18 Dec 2015, at 10:10, Brad Fitzpatrick [email protected] wrote:

Um, the scaleway builders don't run in Docker containers. They run under systemd with a freshly tmpfs as their build filesystem $WORKDIR, but /usr/bin/gdb was the host's gdb you deleted. :-)


Reply to this email directly or view it on GitHub.

@rsc
Copy link
Contributor

rsc commented Dec 17, 2015 via email

@davecheney
Copy link
Contributor Author

I did that process last week when I was trailing the change on the Go 1.5.2
release tag

On Fri, 18 Dec 2015, 10:34 Russ Cox [email protected] wrote:

Did you try it with my CL before deleting gdb? Just curious whether it
helped at all.


Reply to this email directly or view it on GitHub
#13577 (comment).

@golang golang locked and limited conversation to collaborators Dec 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

5 participants