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

Test failures on NetBSD/amd64 #3697

Closed
bsiegert opened this issue Jun 3, 2012 · 5 comments
Closed

Test failures on NetBSD/amd64 #3697

bsiegert opened this issue Jun 3, 2012 · 5 comments

Comments

@bsiegert
Copy link
Contributor

bsiegert commented Jun 3, 2012

The packages net, net/http and os/exec have tests that fail under NetBSD/amd64. The
output is:

--- FAIL: TestExtraFiles (0.06 seconds)
        exec_test.go:199: CombinedOutput: exit status 1; output "leaked parent file. fd = 11; want 10\nUSER     CMD          PID   FD MOUNT       INUM MODE         SZ|DV R/W\nbsiegert exec.test  14609   wd /         434042 drwxr-xr-x     512 r \nbsiegert exec.test  14609    0 /         386252 crw-rw-rw-    null r \nbsiegert exec.test  14609    1* pipe 0xffffa00000bfa140 -> 0xffffa0000131b518 w\nbsiegert exec.test  14609    2* pipe 0xffffa00000bfa140 -> 0xffffa0000131b518 w\nbsiegert exec.test  14609    3 /         227213 -rw-------      12 rw\nbsiegert exec.test  14609    4 /         227212 -rwxr-xr-x  4698151 r \nbsiegert exec.test  14609    5 /         227212 -rwxr-xr-x  4698151 r \nbsiegert exec.test  14609    6 /         227212 -rwxr-xr-x  4698151 r \nbsiegert exec.test  14609    7 /         227212 -rwxr-xr-x  4698151 r \nbsiegert exec.test  14609    8 /         227212 -rwxr-xr-x  4698151 r \nbsiegert exec.test  14609    9 /         227212 -rwxr-xr-x  4698151 r \nbsiegert exec.test  14609    5* misc 0xffffa00000f82f90\nbsiegert exec.test  14609   11 /         227212 -rwxr-xr-x  4698151 r \nbsiegert exec.test  14609   13* pipe 0xffffa0000131b3d8 <- 0xffffa00000bfa3c0 r\n"
FAIL
FAIL    os/exec 0.141s

--- FAIL: TestSimpleMulticastListener (0.00 seconds)
        multicast_test.go:111: First ListenMulticastUDP failed: address family not supported by protocol family
FAIL
FAIL    net     10.013s


The log for net/http is attached due to its size.

Attachments:

  1. http.log (185491 bytes)
@4a6f656c
Copy link
Contributor

4a6f656c commented Jun 4, 2012

Comment 1:

Labels changed: added priority-soon, removed priority-triage.

Owner changed to @4a6f656c.

@minux
Copy link
Member

minux commented Jun 7, 2012

Comment 2:

for the net/http test, you have to raise RLIMIT_NOFILE.
for example, 'ulimit -n 1024' fixes the net/http test.

@rsc
Copy link
Contributor

rsc commented Jun 7, 2012

Comment 3:

Are we leaking file descriptors in net/http?

@4a6f656c
Copy link
Contributor

Comment 4:

TestSimpleMulticastListener now passes (fixed via http://golang.org/cl/6308053)
issue #3955 details the underlying cause of the TestExtraFiles test failure.
All tests pass on netbsd/amd (NetBSD 6.0 BETA 2) with the following changes:
  http://golang.org/cl/6443129
  http://golang.org/cl/6460090

Status changed to Accepted.

@4a6f656c
Copy link
Contributor

Comment 5:

$ uname -a
NetBSD netbsd-amd64.xxx.xx 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) amd64
$ ./all.bash
...
ALL TESTS PASSED
---
Installed Go for netbsd/amd64 in /home/joel/src/go
Installed commands in /home/joel/src/go/bin

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants