[Pkg-samba-maint] [samba] 03/06: Run quicktest during build

Mathieu Parent math.parent at gmail.com
Tue May 3 15:25:38 UTC 2016


2016-05-03 15:14 GMT+02:00 Mathieu Parent <sathieu at moszumanska.debian.org>:
> This is an automated email from the git hooks/post-receive script.
>
> sathieu pushed a commit to branch master
> in repository samba.
>
> commit 51d49f10880b61605ed12db0956a5f73fbc9459e
> Author: Mathieu Parent <math.parent at gmail.com>
> Date:   Mon Apr 4 15:40:50 2016 +0200
>
>     Run quicktest during build

I can already say that this breaks the builds on 32bit arches:

[32(151)/356 at 1m9s] samba3.raw.write(nt4_dc)
smbtorture 4.4.3-Debian
Using seed 1462284679
Testing RAW_WRITE_WRITE
Trying zero write
Trying small write
Trying large write
Trying bad fnum
Setting file as sparse
Trying 2^32 offset
UNEXPECTED(failure): samba3.raw.write.write(nt4_dc)
REASON: Exception: Exception: ../source4/torture/raw/write.c:197:
(../source4/torture/raw/write.c:197) Incorrect status
NT_STATUS_UNSUCCESSFUL - should be NT_STATUS_OK
Testing RAW_WRITE_WRITEUNLOCK
Trying zero write
Trying small write
Trying large write
Trying bad fnum
Setting file as sparse
Trying 2^32 offset
UNEXPECTED(failure): samba3.raw.write.write unlock(nt4_dc)
REASON: Exception: Exception: ../source4/torture/raw/write.c:524:
(../source4/torture/raw/write.c:524) Incorrect status
NT_STATUS_DISK_FULL - should be NT_STATUS_OK
Testing RAW_WRITE_WRITECLOSE
Trying zero write
Trying small write
Trying large write
Trying bad fnum
Setting file as sparse
Trying 2^32 offset
UNEXPECTED(failure): samba3.raw.write.write close(nt4_dc)
REASON: Exception: Exception: ../source4/torture/raw/write.c:676:
(../source4/torture/raw/write.c:676) Incorrect status
NT_STATUS_DISK_FULL - should be NT_STATUS_OK
dangerous not set - limiting range of test to 2^33
Testing RAW_WRITE_WRITEX
Trying zero write
Trying small write
Trying large write
Trying bad fnum
Testing wmode
Trying locked region
Setting file as sparse
Trying 2^32 offset
UNEXPECTED(failure): samba3.raw.write.writex(nt4_dc)
REASON: Exception: Exception: ../source4/torture/raw/write.c:356:
(../source4/torture/raw/write.c:356) Incorrect status
NT_STATUS_DISK_FULL - should be NT_STATUS_OK
command: /«BUILDDIR»/samba-4.4.3+dfsg/bin/smbtorture  $LOADLIST
--configfile=$SMB_CONF_PATH --option='fss:sequence timeout=1'
--maximum-runtime=$SELFTEST_MAXTIME --basedir=$SELFTEST_TMPDIR
--format=subunit --option=torture:progress=no
--option=torture:quick=yes --option=torture:sharedelay=100000
--option=torture:writetimeupdatedelay=500000 --target=samba3
//$SERVER_IP/tmp -U$USERNAME%$PASSWORD raw.write 2>&1  |
/«BUILDDIR»/samba-4.4.3+dfsg/selftest/filter-subunit --fail-on-empty
--prefix="samba3.raw.write." --suffix="(nt4_dc)"
expanded command: /«BUILDDIR»/samba-4.4.3+dfsg/bin/smbtorture
$LOADLIST --configfile=/«BUILDDIR»/samba-4.4.3+dfsg/st/client/client.conf
--option='fss:sequence timeout=1' --maximum-runtime=1200
--basedir=/«BUILDDIR»/samba-4.4.3+dfsg/st/tmp --format=subunit
--option=torture:progress=no --option=torture:quick=yes
--option=torture:sharedelay=100000
--option=torture:writetimeupdatedelay=500000 --target=samba3
//127.0.0.3/tmp -Ubuildd%localntdc2pass raw.write 2>&1  |
/«BUILDDIR»/samba-4.4.3+dfsg/selftest/filter-subunit --fail-on-empty
--prefix="samba3.raw.write." --suffix="(nt4_dc)"
ERROR: Testsuite[samba3.raw.write(nt4_dc)]
REASON: Exit code was 1


[33(155)/356 at 1m10s, 1 errors] samba3.raw.write(ad_dc)
smbtorture 4.4.3-Debian
Using seed 1462284679
Testing RAW_WRITE_WRITE
Trying zero write
Trying small write
Trying large write
Trying bad fnum
Setting file as sparse
Trying 2^32 offset
UNEXPECTED(failure): samba3.raw.write.write(ad_dc)
REASON: Exception: Exception: ../source4/torture/raw/write.c:197:
(../source4/torture/raw/write.c:197) Incorrect status
NT_STATUS_UNSUCCESSFUL - should be NT_STATUS_OK
Testing RAW_WRITE_WRITEUNLOCK
Trying zero write
Trying small write
Trying large write
Trying bad fnum
Setting file as sparse
Trying 2^32 offset
UNEXPECTED(failure): samba3.raw.write.write unlock(ad_dc)
REASON: Exception: Exception: ../source4/torture/raw/write.c:524:
(../source4/torture/raw/write.c:524) Incorrect status
NT_STATUS_DISK_FULL - should be NT_STATUS_OK
Testing RAW_WRITE_WRITECLOSE
Trying zero write
Trying small write
Trying large write
Trying bad fnum
Setting file as sparse
Trying 2^32 offset
UNEXPECTED(failure): samba3.raw.write.write close(ad_dc)
REASON: Exception: Exception: ../source4/torture/raw/write.c:676:
(../source4/torture/raw/write.c:676) Incorrect status
NT_STATUS_DISK_FULL - should be NT_STATUS_OK
dangerous not set - limiting range of test to 2^33
Testing RAW_WRITE_WRITEX
Trying zero write
Trying small write
Trying large write
Trying bad fnum
Testing wmode
Trying locked region
Setting file as sparse
Trying 2^32 offset
UNEXPECTED(failure): samba3.raw.write.writex(ad_dc)
REASON: Exception: Exception: ../source4/torture/raw/write.c:356:
(../source4/torture/raw/write.c:356) Incorrect status
NT_STATUS_DISK_FULL - should be NT_STATUS_OK
command: /«BUILDDIR»/samba-4.4.3+dfsg/bin/smbtorture  $LOADLIST
--configfile=$SMB_CONF_PATH --option='fss:sequence timeout=1'
--maximum-runtime=$SELFTEST_MAXTIME --basedir=$SELFTEST_TMPDIR
--format=subunit --option=torture:progress=no
--option=torture:quick=yes --option=torture:sharedelay=100000
--option=torture:writetimeupdatedelay=500000 --target=samba3
//$SERVER/tmp -U$USERNAME%$PASSWORD raw.write 2>&1  |
/«BUILDDIR»/samba-4.4.3+dfsg/selftest/filter-subunit --fail-on-empty
--prefix="samba3.raw.write." --suffix="(ad_dc)"
expanded command: /«BUILDDIR»/samba-4.4.3+dfsg/bin/smbtorture
$LOADLIST --configfile=/«BUILDDIR»/samba-4.4.3+dfsg/st/client/client.conf
--option='fss:sequence timeout=1' --maximum-runtime=1200
--basedir=/«BUILDDIR»/samba-4.4.3+dfsg/st/tmp --format=subunit
--option=torture:progress=no --option=torture:quick=yes
--option=torture:sharedelay=100000
--option=torture:writetimeupdatedelay=500000 --target=samba3
//addc/tmp -UAdministrator%locDCpass1 raw.write 2>&1  |
/«BUILDDIR»/samba-4.4.3+dfsg/selftest/filter-subunit --fail-on-empty
--prefix="samba3.raw.write." --suffix="(ad_dc)"
ERROR: Testsuite[samba3.raw.write(ad_dc)]
REASON: Exit code was 1

The LFS patch is not enough?



> ---
>  debian/control |  8 +++++++-
>  debian/rules   | 10 +++++++---
>  2 files changed, 14 insertions(+), 4 deletions(-)
>
> diff --git a/debian/control b/debian/control
> index c1d198c..7cbad10 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -49,7 +49,13 @@ Build-Depends: bison,
>                 python-testtools,
>                 python3,
>                 xsltproc,
> -               zlib1g-dev (>= 1:1.2.3)
> +               zlib1g-dev (>= 1:1.2.3),
> +               ldb-tools,
> +               libnss-wrapper,
> +               libresolv-wrapper,
> +               libsocket-wrapper,
> +               libuid-wrapper,
> +               python-crypto
>  Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-samba/samba.git
>  Vcs-Git: git://anonscm.debian.org/pkg-samba/samba.git -b master
>  XS-Testsuite: autopkgtest
> diff --git a/debian/rules b/debian/rules
> index 2d5d9bb..b9e5d70 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -65,7 +65,8 @@ conf_args = \
>                 --minimum-library-version="$(shell ./debian/autodeps.py --minimum-library-version)" \
>                 --with-cluster-support \
>                 --with-socketpath=/var/run/ctdb/ctdbd.socket \
> -               --with-logdir=/var/log/ctdb
> +               --with-logdir=/var/log/ctdb \
> +               --enable-selftest
>
>  %:
>         dh $* --with python2 --with systemd
> @@ -90,8 +91,11 @@ override_dh_auto_build:
>         DESTDIR="$(DESTDIR)" $(WAF)
>
>  override_dh_auto_test:
> -       # Running make test requires configuration with --enable-selftest, which
> -       # we don't want to do for production systems.
> +ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
> +       make quicktest
> +else
> +    @echo "** tests disabled"
> +endif
>
>  override_dh_systemd_start:
>         dh_systemd_start -pctdb --no-start --no-restart-on-upgrade
>
> --
> Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git
>
>
> _______________________________________________
> Pkg-samba-maint mailing list
> Pkg-samba-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-samba-maint



-- 
Mathieu



More information about the Pkg-samba-maint mailing list