"make test" of samba master fails in a privileged Linux container

Thomas tgeppert at digitx.de
Sat Feb 27 15:18:23 UTC 2021


I did clone the samba git repo within a privileged Debian 10 LXC.
"configure" and "make" completed successful but "make test" fails with:

FAILED (183 failures, 0 errors and 2 unexpected successes in 63 testsuites)

It is an unmodified build of samba master. What am I missing ?
Is it not possible to successfully run "make test" in a privileged Linux container ?

The details:

lsb_release -a
               No LSB modules are available.
               Distributor ID: Debian
               Description:    Debian GNU/Linux 10 (buster)
               Release:        10
               Codename:       buster
uname -r
5.4.98-1-pve

git clone https://git.samba.org/samba.git
cd samba
git status
               On branch master
               Your branch is up to date with 'origin/master'.
               nothing to commit, working tree clean
git log
               commit d6ddb8aa2a91de8b527709658f9a113e5b73377e (HEAD -> master, origin/master, origin/HEAD)
               Author: Noel Power <noel.power at suse.com<mailto:noel.power at suse.com>>
               Date:   Fri Feb 12 15:06:40 2021 +0000
                              vfs: update status of SMB_VFS_LISTXATTR
                              Autobuild-User(master): Jeremy Allison <jra at samba.org<mailto:jra at samba.org>>
                              Autobuild-Date(master): Fri Feb 26 22:35:04 UTC 2021 on sn-devel-184

bootstrap/generated-dists/debian10/bootstrap.sh
bootstrap/generated-dists/debian10//locale.sh

./configure --enable-selftest
               'configure' finished successfully (1m46.519s)
make
               'build' finished successfully (26m50.803s)
make test
......
[1237(7354)/2756 at 2h7m27s, 63 errors] samba3.net_lookup_ldap(ad_dc:local)
[1238(7357)/2756 at 2h7m31s, 63 errors] samba3.blackbox.force-user-unlink(maptoguest:local)
[1239(7358)/2756 at 2h7m32s, 63 errors] samba3.clustered.smb2.deny.deny2(clusteredmember)
Can't call method "getlog_env" on an undefined value at /root/dev/samba/selftest/selftest.pl line 863.
server_stdin_handler: samba: EOF on stdin - PID 7175 terminating
server_stdin_handler: samba: EOF on stdin - PID 6877 terminating
server_stdin_handler: samba: EOF on stdin - PID 7348 terminating
server_stdin_handler: samba: EOF on stdin - PID 753 terminating
server_stdin_handler: samba: EOF on stdin - PID 28071 terminating
server_stdin_handler: samba: EOF on stdin - PID 895 terminating
dns_hub: after poll()
dns_hub[UDP[10.53.57.64]]: before shutdown()
server_stdin_handler: samba: EOF on stdin - PID 27184 terminating
server_stdin_handler: samba: EOF on stdin - PID 27714 terminating
dns_hub[UDP[10.53.57.64]]: after serve_forever()
dns_hub[UDP[10.53.57.64]]: after shutdown()
dns_hub[UDP[fd00:0000:0000:0000:0000:0000:5357:5f40]]: before shutdown()
smbtorture 4.15.0pre1-DEVELOPERBUILD
Using seed 1614435528
Failed to load unc names list from './st/clusteredmember/unclists/tmp.txt'
UNEXPECTED(failure): samba3.clustered.smb2.deny.deny2.deny2(clusteredmember)
REASON: Exception: Exception: ../../source4/torture/smb2/smb2.c:96: Establishing SMB2 connection failed
dns_hub[UDP[fd00:0000:0000:0000:0000:0000:5357:5f40]]: after serve_forever()
dns_hub[UDP[fd00:0000:0000:0000:0000:0000:5357:5f40]]: after shutdown()
dns_hub: before exit()

FAILED (183 failures, 0 errors and 2 unexpected successes in 63 testsuites)

A summary with detailed information can be found in:
  ./st/summary
TOP 10 slowest tests
samba3.smbtorture_s3.plain.readdir-timestamp(clusteredmember) -> 1614431924
ldb.python -> 349
samba4.blackbox.upgradeprovision.release-4-0-0 -> 238
samba4.blackbox.upgradeprovision.alpha13 -> 236
samba3.smb2.maxfid(nt4_dc) -> 178
samba4.blackbox.schemaupgrade -> 173
samba3.smb2.lease(nt4_dc) -> 168
samba3.smb2.maxfid(ad_dc) -> 139
samba3.smbtorture_s3.vfs_aio_fork(fileserver_smb1).RW2(fileserver_smb1) -> 135
samba4.blackbox.dbcheck.release-4-0-0 -> 124
test: running (/usr/bin/perl /root/dev/samba/selftest/selftest.pl --target=samba --prefix=./st --srcdir=/root/
dev/samba --exclude=/root/dev/samba/selftest/skip --testlist="/usr/bin/python3 /root/dev/samba/selftest/tests.
py|" --testlist="/usr/bin/python3 /root/dev/samba/source3/selftest/tests.py|" --testlist="/usr/bin/python3 /ro
ot/dev/samba/source4/selftest/tests.py|"  --exclude=/root/dev/samba/selftest/slow --nss_wrapper_so_path=/root/
dev/samba/bin/default/third_party/nss_wrapper/libnss-wrapper.so --resolv_wrapper_so_path=/root/dev/samba/bin/d
efault/third_party/resolv_wrapper/libresolv-wrapper.so --uid_wrapper_so_path=/root/dev/samba/bin/default/third
_party/uid_wrapper/libuid-wrapper.so --socket_wrapper_so_path=/root/dev/samba/bin/default/third_party/socket_w
rapper/libsocket-wrapper.so --socket-wrapper  && touch ./st/st_done) | /usr/bin/python3 -u /root/dev/samba/sel
ftest/filter-subunit --expected-failures=/root/dev/samba/selftest/knownfail --expected-failures=/root/dev/samb
a/selftest/knownfail.d --flapping=/root/dev/samba/selftest/flapping --flapping=/root/dev/samba/selftest/flappi
ng.d --expected-failures=/root/dev/samba/selftest/knownfail_heimdal_kdc | tee ./st/subunit | /usr/bin/python3
-u /root/dev/samba/selftest/format-subunit --prefix=./st --immediate
ERROR: test failed with exit code 1
make: *** [Makefile:16: test] Error 1



More information about the samba-technical mailing list