[Samba] Samba Testsuite causes machine to crash
christian.weickhmann at gmx.de
Tue Dec 4 20:07:14 UTC 2018
I decided to build Samba from source and have a look at the testsuite to
learn something about it.
So, after a configure (including the testsuite, see parameters below)
and a make, I tried
$ make quicktest # Which failed at some tests but left my virtual
$ make test
For Samba 4.9.3 I noticed that running the full test suite lets my
virtual machine (1 CPU, 4GB RAM) crash right after
./st/simpleserver/smbd_test.log is written.
I tried the same with Samba 4.9.2 (because, you know, might be some of
that new stuff ^^) and it, too, crashes. This time right after
Short explanation how I got to these particular log files:
Since I did not find any central log of the testsuite, I did a `find`
for the most current .log file, assuming that whatever test wrote that
file made it to write the file to disk.
So either that test or the following test crashed the machine.
I will test the same thing with a VM with more RAM since I had a
somewhat similar issue (without the crash but with a failing build) with
another FOSS package recently.
Maybe someone can give me a hint. Thanks!
PS: My build sequence (both with 4.9.3 and 4.9.2):
--enable-selftest # This last option is needed for testing only
PPS: Searching for the last log-file written.
find ./ -name "*.log" -printf "%T@ %Tc %p\n" | sort -n
Host: Windows 10
VM: VirtualBox 5.22
Guest: Ubuntu 18.04.1
VM RAM: 4 GB
VM CPU: 1
VM HDD: 20 GB
upgraded VM RAM: 8 GB
upgraded VM CPU: 2
upgraded VM HDD: 80 GB
More information about the samba