You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. download go tip src tree.
2. make sure ulimit is like following at least
-bash-4.2$ ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 2097152
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 1027616
max memory size (kbytes, -m) 3080188
open files (-n) 512
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 4096
cpu time (seconds, -t) unlimited
max user processes (-u) 1024
virtual memory (kbytes, -v) 2101248
-bash-4.2$ ^C
3. cd go/src;all.bash
What is the expected output?
no test errors
What do you see instead?
install http/fcgi
install rpc/jsonrpc
gmake: Leaving directory `/home/tip/go/src/pkg'
---
Installed Go for openbsd/386 in /home/tip/go.
Installed commands in /home/tip/go/bin.
*** You need to add /home/tip/go/bin to your $PATH. ***
The compiler is 8g.
--- cd pkg
test archive/tar
TEST FAIL archive/tar
gmake[1]: Entering directory `/home/tip/go/src/pkg/archive/tar'
gotest -test.short -test.timeout=120
rm -f _test/archive/tar.a
8g -p archive/tar -o _gotest_.8 common.go reader.go writer.go reader_test.go
writer_test.go
rm -f _test/archive/tar.a
gopack grc _test/archive/tar.a _gotest_.8
runtime: failed to create new OS thread (have 1 already; errno=91)
runtime: is kern.rthreads disabled?
throw: runtime.newosproc
goroutine 2 [syscall]:
syscall.Syscall6()
/home/tip/go/src/pkg/syscall/asm_openbsd_386.s:38 +0x5
syscall.Select(0x0, 0x0, 0x0, 0x0, 0x186001e0, ...)
/home/tip/go/src/pkg/syscall/zsyscall_openbsd_386.go:727 +0x5e
syscall.Sleep(0x3b9aca00, 0x0, 0x0, 0x0)
/home/tip/go/src/pkg/syscall/syscall_bsd.go:140 +0x91
time.sysSleep(0x3b9aca00, 0x0, 0x0, 0x0)
/home/tip/go/src/pkg/time/sys_unix.go:13 +0x2e
time.sleeper(0x1, 0x0)
/home/tip/go/src/pkg/time/sleep.go:128 +0x132
created by time.after
/home/tip/go/src/pkg/time/sleep.go:109 +0x25f
goroutine 1 [chan receive]:
testing.RunTests(0x8048c00, 0x81943e8, 0x5)
/home/tip/go/src/pkg/testing/testing.go:201 +0x53c
testing.Main(0x8048c00, 0x81943e8, 0x5, 0x5, 0x819d718, ...)
/home/tip/go/src/pkg/testing/testing.go:168 +0x46
main.main()
/home/tip/go/src/pkg/archive/tar/_testmain.go:33 +0x40
goroutine 3 [runnable]:
testing.tRunner(0x186161c0, 0x81943e8, 0x0)
/home/tip/go/src/pkg/testing/testing.go:155
created by testing.RunTests
/home/tip/go/src/pkg/testing/testing.go:200 +0x50e
gotest: "./8.out -test.short=true -test.timeout=120" failed: exit status 2
gmake[1]: *** [testshort] Error 2
gmake[1]: Leaving directory `/home/tip/go/src/pkg/archive/tar'
gmake: *** [archive/tar.testshort] Error 1
-bash-4.2$
Which operating system are you using?
-bash-4.2$ uname -a
OpenBSD openbsd50.test.net 5.0 GENERIC.MP#66 i386
-bash-4.2$
Which revision are you using? (hg identify)
-bash-4.2$ hg id
5729b8d311d4 tip
-bash-4.2$
Please provide any additional information below.
The text was updated successfully, but these errors were encountered:
Thanks. Resolved by following command.
-bash-4.2# sysctl kern.rthreads=1
kern.rthreads: 0 -> 1
-bash-4.2#
Message of "is kern.rthreads disabled ?" could be more helpful to OpenBSD beginner(like me) with above sysctl command appended.
The text was updated successfully, but these errors were encountered: