[pkg-golang-devel] Bug#805517: golang: Panic when running go_test:runtime and go_test:cmd/go tests

Nathan Osman nathan at quickmediasolutions.com
Thu Nov 19 02:39:30 UTC 2015


Source: golang
Version: 1.5.1-4
Severity: normal

Dear Maintainer,

I am attempting to build the Go 1.5.1 package on my Raspberry Pi model 
B. This device has a 700 MHz ARMv6 CPU and 512 MB of RAM (384 MB usable 
after GPU split).

Because the go_test:runtime and go_test:cmd/go tests are so extensive, 
the default timeout is reached, causing a panic. Thankfully, the timeout 
can be extended by setting the GO_TEST_TIMEOUT_SCALE environment variable.

Therefore, I am attaching a small patch that sets this variable to 6, 
extending the timeout to 18 minutes (which seems to be enough for 
completing the tests). This variable is only set when compiling on ARM CPUs.

(I'm also attaching the stack traces from the two panics.)

-- System Information:
Debian Release: 8.0
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: runtime_failed_test.txt
Type: text/x-c
Size: 3235 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-golang-devel/attachments/20151118/c502719f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd_go_failed_test.txt
Type: text/x-c
Size: 13399 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-golang-devel/attachments/20151118/c502719f/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adjust_test_timeout.patch
Type: text/x-diff
Size: 491 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-golang-devel/attachments/20151118/c502719f/attachment.patch>


More information about the pkg-golang-devel mailing list