Home | History | Annotate | only in /src/tests/lib/librumpclient
History log of /src/tests/lib/librumpclient
RevisionDateAuthorComments
 1.2 02-Dec-2012  pgoyette Helper programs are programs, not tests, so build them appropriately.

Thie removes the need for custom Atffiles whose only purpose was to exclude
the helpers that had been built as tests.
 1.1 15-Feb-2011  pooka branches: 1.1.2; 1.1.6; 1.1.12;
add some exec() tests
 1.1.12.1 25-Feb-2013  tls resync with head
 1.1.6.1 16-Jan-2013  yamt sync with (a bit old) head
 1.1.2.2 17-Feb-2011  bouyer Sync with HEAD
 1.1.2.1 15-Feb-2011  bouyer file Atffile was added on branch bouyer-quota2 on 2011-02-17 12:00:54 +0000
 1.10 13-May-2019  bad Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed
after moving rump's mainbus from rumpdev to rumpkern.

Produces the same atf-run results as before.
 1.9 06-Oct-2016  christos branches: 1.9.14;
revert, fixing the real cause.
 1.8 06-Oct-2016  christos Add more indirect library dependencies
 1.7 10-Aug-2016  kre Extra libs for rump.
 1.6 23-Jan-2016  christos branches: 1.6.2;
Define _KERNTYPES for things that need it.
 1.5 02-Dec-2012  pgoyette Helper programs are programs, not tests, so build them appropriately.

Thie removes the need for custom Atffiles whose only purpose was to exclude
the helpers that had been built as tests.
 1.4 08-Mar-2011  pooka branches: 1.4.4; 1.4.10;
add test case for multithreaded client calling exec
 1.3 16-Feb-2011  pooka branches: 1.3.2;
no need to create a hardlinked name for the helper, just fake argv[]
 1.2 15-Feb-2011  pooka add some exec() tests
 1.1 09-Feb-2011  pooka Add test which checks rumpclient does not use fds 0-2 for its
internal purposes.
 1.3.2.2 17-Feb-2011  bouyer Sync with HEAD
 1.3.2.1 16-Feb-2011  bouyer file Makefile was added on branch bouyer-quota2 on 2011-02-17 12:00:54 +0000
 1.4.10.1 25-Feb-2013  tls resync with head
 1.4.4.1 16-Jan-2013  yamt sync with (a bit old) head
 1.6.2.1 04-Nov-2016  pgoyette Sync with HEAD
 1.9.14.1 10-Jun-2019  christos Sync with HEAD
 1.7 03-Aug-2023  andvar fix typos in comments and one definition, mainly s/sucket/socket/.
 1.6 16-Feb-2011  pooka branches: 1.6.2;
test rumpclient_vfork()
 1.5 16-Feb-2011  pooka no need to create a hardlinked name for the helper, just fake argv[]
 1.4 16-Feb-2011  pooka Don't use hijack here since exec is now easy in pure rump clients.
 1.3 15-Feb-2011  pooka remove unnecessary debug printf
 1.2 15-Feb-2011  pooka test FD_CLOEXEC
 1.1 15-Feb-2011  pooka add some exec() tests
 1.6.2.2 17-Feb-2011  bouyer Sync with HEAD
 1.6.2.1 16-Feb-2011  bouyer file h_exec.c was added on branch bouyer-quota2 on 2011-02-17 12:00:54 +0000
 1.7 24-Nov-2016  dholland Turn off the PR 49140 logging, because it itself makes the test fail.

As usual, ATF is actively interfering with test debugging. Almost all
runs in the past few days have failed this test with "stdout not
empty". In one run it timed out:
http://releng.netbsd.org/b5reports/i386/build/2016.11.22.06.51.14/test.html
but in this case ATF helpfully suppressed the log data.

Maybe if someone can figure out how to make the test hang reliably
then they can turn the logging on again and run it outside of ATF to
see what's happening.

In the meantime this problem is not likely to get fixed until we have
a less obstructive testing framework.
 1.6 21-Nov-2016  dholland As a debugging measure for PR 49141, log what this is doing as it runs
to stdout. Hopefully this will get reported when the test fails in the
testbed rather than just causing ATF to report that it printed
unexpected output.
 1.5 21-Nov-2016  dholland More of previous.
 1.4 21-Nov-2016  dholland If pthread_create fails, report the error instead of discarding it.
 1.3 13-Aug-2014  pooka branches: 1.3.2;
Update hardcoded fd expectations now that rump kernels open 0/1/2.
(since we exec, it's convenient to just assume the values of first 4 fds)
 1.2 08-Mar-2011  pooka branches: 1.2.22;
Enable the "send a lot of syscall requests before exec" code, since
it works now. (or at least works in my tests)
 1.1 08-Mar-2011  pooka add test case for multithreaded client calling exec
 1.2.22.1 09-Dec-2014  martin Pull up following revision(s) (requested by gson in ticket #307):
tests/lib/librumpclient/h_execthr.c: revision 1.3
Update hardcoded fd expectations now that rump kernels open 0/1/2.
(since we exec, it's convenient to just assume the values of first 4 fds)
 1.3.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.13 06-Apr-2025  riastradh librumpclient/t_exec: Sprinkle more diagnostic information.

Let's see exactly what rump.sockstat printed since these tests have
been intermittently failing for a while:

https://releng.netbsd.org/b5reports/i386/2025/2025.03.02.08.14.26/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.02.14.13.22/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.04.00.41.00/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.04.16.40.46/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.08.19.09.46/test.html#lib_librumpclient_t_exec_threxec
https://releng.netbsd.org/b5reports/i386/2025/2025.03.09.18.50.20/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.09.18.58.18/test.html#lib_librumpclient_t_exec_cloexec
https://releng.netbsd.org/b5reports/i386/2025/2025.03.09.22.06.28/test.html#lib_librumpclient_t_exec_cloexec
https://releng.netbsd.org/b5reports/i386/2025/2025.03.10.05.06.02/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.11.05.48.26/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.11.14.13.45/test.html#lib_librumpclient_t_exec_cloexec
https://releng.netbsd.org/b5reports/i386/2025/2025.03.12.07.57.05/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.14.06.40.51/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.14.18.50.03/test.html#lib_librumpclient_t_exec_threxec
https://releng.netbsd.org/b5reports/i386/2025/2025.03.18.07.58.09/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.19.18.15.27/test.html#lib_librumpclient_t_exec_cloexec
https://releng.netbsd.org/b5reports/i386/2025/2025.03.21.07.09.58/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.24.00.13.58/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.26.00.05.56/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.29.11.51.54/test.html#lib_librumpclient_t_exec_threxec
https://releng.netbsd.org/b5reports/i386/2025/2025.03.29.17.29.20/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.29.21.45.08/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.30.14.13.59/test.html#lib_librumpclient_t_exec_threxec
https://releng.netbsd.org/b5reports/i386/2025/2025.03.30.16.23.13/test.html#lib_librumpclient_t_exec_threxec
https://releng.netbsd.org/b5reports/i386/2025/2025.03.31.13.03.23/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.03.31.14.46.42/test.html#lib_librumpclient_t_exec_threxec
https://releng.netbsd.org/b5reports/i386/2025/2025.04.01.23.02.29/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.04.02.17.44.07/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.04.03.14.51.37/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.04.03.17.49.49/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.04.04.18.57.01/test.html#lib_librumpclient_t_exec_vfork
https://releng.netbsd.org/b5reports/i386/2025/2025.04.06.03.33.51/test.html#lib_librumpclient_t_exec_cloexec
 1.12 08-Nov-2020  martin branches: 1.12.8;
PR 55338: re-enable threxec test for more test coverage.
 1.11 29-Aug-2020  martin Skip threxec test pointing at PR 55338, this kills some test beds.
 1.10 13-May-2019  bad Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed
after moving rump's mainbus from rumpdev to rumpkern.

Produces the same atf-run results as before.
 1.9 10-Aug-2016  kre branches: 1.9.14;

Extra libs for rump.
 1.8 08-Mar-2011  pooka add test case for multithreaded client calling exec
 1.7 19-Feb-2011  pooka Run sockstat with -n so that difference in /etc/services don't
affect the test outcome.
 1.6 16-Feb-2011  pooka branches: 1.6.2;
RUMPHIJACK_RETRY -> RUMPHIJACK_RETRYCONNECT
 1.5 16-Feb-2011  pooka test rumpclient_vfork()
 1.4 16-Feb-2011  pooka no need to create a hardlinked name for the helper, just fake argv[]
 1.3 16-Feb-2011  pooka Don't use hijack here since exec is now easy in pure rump clients.
 1.2 15-Feb-2011  pooka test FD_CLOEXEC
 1.1 15-Feb-2011  pooka add some exec() tests
 1.6.2.3 05-Mar-2011  bouyer Sync with HEAD
 1.6.2.2 17-Feb-2011  bouyer Sync with HEAD
 1.6.2.1 16-Feb-2011  bouyer file t_exec.sh was added on branch bouyer-quota2 on 2011-02-17 12:00:54 +0000
 1.9.14.1 10-Jun-2019  christos Sync with HEAD
 1.12.8.1 02-Aug-2025  perseant Sync with HEAD
 1.9 24-Nov-2023  riastradh tests: Audit RZ abuse.

RZ succeeds if x is zero, and fails if x is nonzero, treating a
nonzero value as a error number as in errno(3) to print the message.

The following library routines instead return -1 on failure and set
errno to the error code:

fuse_opt_add_arg
fuse_opt_add_opt
fuse_opt_add_opt_escaped
fuse_opt_insert_arg
lseek
system

So use RL instead for those -- succeeds if x is zero, and fails if x
is -1.

This shouldn't make any tests newly fail or newly succeed -- the
functions in question only ever return 0 or -1 -- but if the tests
were already failing anywhere, they will now fail with meaningful
messages.

TBD: dlinfo, which isn't fit for RL or RZ since it reports errors via
dlerror() rather than errno.
 1.8 03-Aug-2023  andvar fix typos in comments and one definition, mainly s/sucket/socket/.
 1.7 13-May-2019  bad Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed
after moving rump's mainbus from rumpdev to rumpkern.

Produces the same atf-run results as before.
 1.6 13-Jan-2017  christos branches: 1.6.14;
Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
 1.5 10-Aug-2016  kre Extra libs for rump.
 1.4 25-Aug-2011  hannken branches: 1.4.24;
t_fd/sigio: pass test if we receive at least one SIGIO signal.

While a real kernel collects these signals until the connect() returns and
then delivers one signal rump delivers every signal so we get more than one.

Ok: Antti Kantee <pooka@netbsd.org>
 1.3 15-Aug-2011  gson As the sigio test case is currently failing with "sigcnt != 1", print the
actual sigcnt value to aid in diagnosing the problem.
 1.2 20-Feb-2011  pooka Add a test that checks that the client receives SIGIO for an O_ASYNC
socket.
 1.1 09-Feb-2011  pooka branches: 1.1.2;
Add test which checks rumpclient does not use fds 0-2 for its
internal purposes.
 1.1.2.3 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.2 17-Feb-2011  bouyer Sync with HEAD
 1.1.2.1 09-Feb-2011  bouyer file t_fd.c was added on branch bouyer-quota2 on 2011-02-17 12:00:54 +0000
 1.4.24.1 20-Mar-2017  pgoyette Sync with HEAD
 1.6.14.1 10-Jun-2019  christos Sync with HEAD

RSS XML Feed