NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/49674: Failed test case: lib/librumphijack/t_tcpip:http
>Number: 49674
>Category: misc
>Synopsis: Failed test case: lib/librumphijack/t_tcpip:http
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 18 02:30:00 +0000 2015
>Originator: Travis Paul
>Release: 6.1.5
>Organization:
>Environment:
NetBSD x1.glob.io 6.1.5 NetBSD 6.1.5 (GENERIC) amd64
>Description:
The lib/librumphijack/t_tcpip:http test case fails when running the test suite on a fresh install performed using sysinstall. This error ONLY occurs when running the test as a regular user, it does not fail when being run as root. I can reproduce these failures on 2 different amd64 machines.
Note that I will create a separate PR for the fs/vfs/t_renamerace:lfs_renamerace_dirs error below.
Summarized Output:
$ cd /usr/tests
$ atf-run | atf-report
...
lib/librumphijack/t_tcpip (400/500): 4 test cases
http: [0.054570s] Failed: atf-check failed; see the output of the test for details
nfs: [0.188953s] Passed.
nfs_autoload: [0.025749s] Skipped: test currently valid only on i386
ssh: [0.647354s] Passed.
[0.918876s]
...
Failed test cases:
fs/vfs/t_renamerace:lfs_renamerace_dirs, lib/librumphijack/t_tcpip:http
Summary for 500 test programs:
2740 passed test cases.
2 failed test cases.
32 expected failed test cases.
305 skipped test cases.
Detailed output:
$ cd /usr/tests/lib/librumphijack/
$ atf-run t_tcpip
Content-Type: application/X-atf-tps; version="3"
info: atf.version, Automated Testing Framework 0.15 (atf-0.15)
info: tests.root, /usr/tests/lib/librumphijack
...
tc-start: 1424225450.926942, http
tc-so:Executing command [ rump_server -lrumpnet -lrumpnet_net -lrumpnet_netinet unix://csock ]
c-so:Executing command [ env LD_PRELOAD=/usr/lib/librumphijack.so /usr/libexec/httpd -P ./httpd.pid -b -s /usr/tests/lib/librump
hijack ]
tc-so:Executing command [ rump.netstat -a ]
tc-se:Fail: incorrect exit status: 1, expected: 0
tc-se:stdout:
tc-se:Active Internet connections (including servers)
tc-se:Proto Recv-Q Send-Q Local Address Foreign Address State
tc-se:tcp 0 0 *.http *.* LISTEN
tc-se:
tc-se:stderr:
tc-se:rump.netstat: kvm error: /dev/mem: Permission denied
tc-se:
tc-end: 1424225450.980832, http, failed, atf-check failed; see the output of the test for details
...
>How-To-Repeat:
Perform an amd64 install, reboot and run the test suite described by tests(7) as a non-root user.
>Fix:
Running the test as root or adding 'atf_set "require.user" "root"' to the http_head function suppresses the failure however I'm not sure this is the correct fix.
Home |
Main Index |
Thread Index |
Old Index