[Samba] Samba4 on CentOS6 make quicktest failed

Konstantin Pobudzey 5836000 at gmail.com
Wed Aug 3 07:30:58 MDT 2011


Hello all
I followed samba4 how to
( CentOS6 minimum install )

#working fro me
./configure.developer
   make

#failed for me

[root at dcmsc samba-4.0.0alpha16]# make quicktest
WAF_MAKE=1 ./buildtools/bin/waf test --quick
'test' finished successfully (0.000s)
Waf: Entering directory `/root/download/samba-4.0.0alpha16/bin'
[ 111/3389] Generating VERSION
Waf: Leaving directory `/root/download/samba-4.0.0alpha16/bin'
'build' finished successfully (5.131s)
test: running (/usr/bin/perl 
/root/download/samba-4.0.0alpha16/selftest/selftest.pl --target=samba 
--prefix=./st --srcdir=/root/download/samba-4.0.0alpha16 
--exclude=./st/skip --testlist="/usr/bin/python 
/root/download/samba-4.0.0alpha16/source3/selftest/tests.py|" 
--testlist="/usr/bin/python 
/root/download/samba-4.0.0alpha16/source4/selftest/tests.py|" 
--binary-mapping=nmblookup3:nmblookup3,smbclient3:smbclient3,smbtorture4:smbtorture,ntlm_auth3:ntlm_auth3 
--exclude=./st/slow --quick --include=./st/quick --socket-wrapper && 
touch ./st/st_done) | /usr/bin/python -u 
/root/download/samba-4.0.0alpha16/selftest/filter-subunit 
--expected-failures=./st/knownfail | tee ./st/subunit | /usr/bin/python 
-u /root/download/samba-4.0.0alpha16/selftest/format-subunit 
--prefix=./st --immediate
You don't have Time::Hires installed !
SOCKET_WRAPPER_DIR=/root/download/samba-4.0.0alpha16/st/w
[2011/08/03 16:17:44,  0] ../lib/util/debug.c:572(reopen_logs_internal)
   Unable to open new log file '/usr/local/samba/var/log.smbd': No such 
file or directory
Can't locate Test/More.pm in @INC (@INC contains: /usr/local/lib64/perl5 
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at -e 
line 1.
Can't locate Test/More.pm in @INC (@INC contains: /usr/local/lib64/perl5 
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at -e 
line 1.
Unknown parameter encountered: "announce as"
Ignoring unknown parameter "announce as"
Version 4.0.0alpha16
OPTIONS --configfile=$SMB_CONF_PATH --maximum-runtime=$SELFTEST_MAXTIME 
--target=samba4 --basedir=$SELFTEST_TMPDIR --option=torture:progress=no 
--format=subunit --option=torture:quick=yes
WARNING: allowing empty subunit output from ldb.base
skipping pidl.cutil (Test::More not available)
skipping pidl.dump (Test::More not available)
skipping pidl.header (Test::More not available)
skipping pidl.ndr (Test::More not available)
skipping pidl.ndr_align (Test::More not available)
skipping pidl.ndr_alloc (Test::More not available)
skipping pidl.ndr_array (Test::More not available)
skipping pidl.ndr_compat (Test::More not available)
skipping pidl.ndr_deprecations (Test::More not available)
skipping pidl.ndr_fullptr (Test::More not available)
skipping pidl.ndr_refptr (Test::More not available)
skipping pidl.ndr_represent (Test::More not available)
skipping pidl.ndr_simple (Test::More not available)
skipping pidl.ndr_string (Test::More not available)
skipping pidl.ndr_tagtype (Test::More not available)
skipping pidl.parse_idl (Test::More not available)
skipping pidl.samba-ndr (Test::More not available)
skipping pidl.samba3-cli (Test::More not available)
skipping pidl.samba3-srv (Test::More not available)
skipping pidl.tdr (Test::More not available)
skipping pidl.test_util (Test::More not available)
skipping pidl.typelist (Test::More not available)
skipping pidl.util (Test::More not available)
skipping pidl.wireshark-conf (Test::More not available)
skipping pidl.wireshark-ndr (Test::More not available)
WARNING: allowing empty subunit output from 
samba4.urgent_replication.python(dc)
WARNING: allowing empty subunit output from samba4.blackbox.samba3dump
WARNING: allowing empty subunit output from samba4.blackbox.upgrade
PROVISIONING S3DC...CREATE TEST ENVIRONMENT IN './st/s3dc'...DONE
STARTING NMBD...DONE
STARTING WINBINDD...DONE
STARTING SMBD...DONE
delaying for nbt name registration
querying __SAMBA__ on 127.0.0.2
127.0.0.2 __SAMBA__<00>
127.0.0.2 __SAMBA__<00>
querying __SAMBA__ on 127.255.255.255
127.0.0.2 __SAMBA__<00>
querying LOCALS3DC2 on 127.0.0.2
127.0.0.2 LOCALS3DC2<00>
127.0.0.2 LOCALS3DC2<00>
wait for smbd
Domain=[SAMBA-TEST] OS=[Unix] Server=[Samba 4.0.0alpha16]

         Sharename       Type      Comment
         ---------       ----      -------
         tmp             Disk
         tmpguest        Disk
         guestonly       Disk
         forceuser       Disk
         forcegroup      Disk
         ro-tmp          Disk
         msdfs-share     Disk
         hideunread      Disk
         tmpcase         Disk
         hideunwrite     Disk
         print1          Printer
         print2          Printer
         print3          Printer
         lp              Printer
         print$          Disk
         IPC$            IPC       IPC Service (Samba 4.0.0alpha16)

         Server               Comment
         ---------            -------

         Workgroup            Master
         ---------            -------
Successfully added group domusers to the mapping db as a domain group
SMBD LOG of: LOCALS3DC2
Unable to setup corepath for smbd: No such file or directory
smbd version 4.0.0alpha16 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
standard input is not a socket, assuming -D option
NMBD LOG of: LOCALS3DC2
Unable to setup corepath for nmbd: No such file or directory
nmbd version 4.0.0alpha16 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
standard input is not a socket, assuming -D option
add_domain_logon_names:
Attempting to become logon server for workgroup SAMBA-TEST on subnet 
127.0.0.2
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup SAMBA-TEST on 
subnet 127.0.0.2
become_domain_master_browser_bcast: querying subnet 127.0.0.2 for domain 
master browser on workgroup SAMBA-TEST
become_logon_server_success: Samba is now a logon server for workgroup 
SAMBA-TEST on subnet 127.0.0.2
*****

Samba server LOCALS3DC2 is now a domain master browser for workgroup 
SAMBA-TEST on subnet 127.0.0.2

*****
*****

Samba name server LOCALS3DC2 is now a local master browser for workgroup 
SAMBA-TEST on subnet 127.0.0.2

*****
WINBINDD LOG of: LOCALS3DC2
Starting winbindd with config 
/root/download/samba-4.0.0alpha16/st/s3dc/lib/server.conf)
Unable to setup corepath for winbindd: No such file or directory
winbindd version 4.0.0alpha16 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
initialize_winbindd_cache: clearing cache and re-creating with version 
number 2
Upgrading winbindd_idmap.tdb from an old version
[1/246 in 0s] samba3.posix_s3.base.attr (s3dc)
[2/246 in 1m11s] samba3.posix_s3.base.chkpath (s3dc)
[3/246 in 1m51s] samba3.posix_s3.base.delete (s3dc)
maximum runtime exceeded for smbtorture - terminating
UNEXPECTED(error): samba3.posix_s3.base.delete .deltest15 
(subunit.RemotedTestCase)
REASON: _StringException: _StringException: was started but never finished!

command: /root/download/samba-4.0.0alpha16/bin/smbtorture 
--configfile=$SMB_CONF_PATH --maximum-runtime=$SELFTEST_MAXTIME 
--target=samba3 --basedir=$SELFTEST_TMPDIR 
--option="torture:winbindd_netbios_name=$SERVER" 
--option="torture:winbindd_netbios_domain=$DOMAIN" 
--option=torture:sharedelay=100000 --option=torture:progress=no 
--format=subunit --option=torture:quick=yes $LISTOPT //$SERVER_IP/tmp 
-U$USERNAME%$PASSWORD base.delete $LOADLIST 2>&1 | 
/root/download/samba-4.0.0alpha16/selftest/filter-subunit $LISTOPT 
--fail-on-empty --prefix="samba3.posix_s3.base.delete ."
expanded command: /root/download/samba-4.0.0alpha16/bin/smbtorture 
--configfile=/root/download/samba-4.0.0alpha16/st/client/client.conf 
--maximum-runtime=1200 --target=samba3 
--basedir=/root/download/samba-4.0.0alpha16/st/tmp 
--option="torture:winbindd_netbios_name=LOCALS3DC2" 
--option="torture:winbindd_netbios_domain=SAMBA-TEST" 
--option=torture:sharedelay=100000 --option=torture:progress=no 
--format=subunit --option=torture:quick=yes $LISTOPT //127.0.0.2/tmp 
-Uroot%locals3dc2pass base.delete $LOADLIST 2>&1 | 
/root/download/samba-4.0.0alpha16/selftest/filter-subunit $LISTOPT 
--fail-on-empty --prefix="samba3.posix_s3.base.delete ."
ERROR: Testsuite[samba3.posix_s3.base.delete (s3dc)]
REASON: Exit code was 1

  errors[1]

[4/246 in 21m51s, 1 errors] samba3.posix_s3.base.open (s3dc)
[5/246 in 23m12s, 1 errors] samba3.posix_s3.base.openattr (s3dc)
[6/246 in 23m52s, 1 errors] samba3.posix_s3.base.tcon (s3dc)
[7/246 in 24m32s, 1 errors] samba3.posix_s3.base.tcondev (s3dc)
[8/246 in 25m12s, 1 errors] samba3.posix_s3.base.unlink (s3dc)
[9/246 in 25m52s, 1 errors] samba3.posix_s3.raw.close (s3dc)
[10/246 in 26m32s, 1 errors] samba3.posix_s3.raw.eas (s3dc)
[11/246 in 27m12s, 1 errors] samba3.posix_s3.raw.mkdir (s3dc)
[12/246 in 27m53s, 1 errors] samba3.posix_s3.raw.open (s3dc)
[13/246 in 41m55s, 1 errors] samba3.posix_s3.raw.read (s3dc)
[14/246 in 45m15s, 1 errors] samba3.posix_s3.raw.rename (s3dc)

#####################################

Should I install perl-Time-HiRes  ?

#What should I install to avoid message below?

skipping pidl.cutil (Test::More not available)


#########################################

Thanks You in advance.





More information about the samba mailing list