buildtools/wafsamba: Avoid decode when using python2

To avoid problematic type checking for 'str' types which fail
when result from str.decode is used.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13777

Signed-off-by: Noel Power <noel.power@suse.com>
22 jobs for bso#13777 in 19 minutes and 40 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
failed #157308779
docker shared
build_ctdb

00:03:17

failed #157308792
docker private
build_nt4

00:03:57

failed #157308783
docker shared
build_others

00:03:14

failed #157308786
docker private
build_samba

00:05:41

failed #157308790
docker private
build_samba_ad_dc

00:03:55

failed #157308766
docker shared
build_samba_ad_dc_2

00:03:14

failed #157308769
docker shared
build_samba_ad_dc_2_py2

00:03:16

failed #157308767
docker shared
build_samba_ad_dc_backup

00:03:09

failed #157308791
docker private
build_samba_ad_dc_py2

00:03:54

failed #157308784
docker shared
build_samba_buildpy2_only

00:03:15

failed #157308781
docker shared
build_samba_ctdb

00:03:57

failed #157308788
docker private
build_samba_fileserver

00:04:01

failed #157308771
docker shared
build_samba_libs

00:03:50

failed #157308774
docker shared
build_samba_libs_py2

00:03:13

failed #157308748
docker shared
build_samba_none_env

00:03:09

failed #157308751
docker shared
build_samba_none_env_py2

00:03:06

failed #157308754
docker shared
build_samba_nopython

00:03:16

failed #157308763
docker shared
build_samba_o3

00:03:17

failed #157308787
docker private
build_samba_py2

00:03:44

failed #157308777
docker shared
build_samba_static

00:03:19

failed #157308756
docker shared
build_samba_systemkrb5

00:03:22

failed #157308759
docker shared
build_samba_xc

00:03:19

 
Name Stage Failure
failed
build_samba_none_env_py2 Build
samba-none-env-py2: [configure] failed './configure.developer --with-selftest-prefix=./bin/ab --picky-developer --prefix=/tmp/samba-testbase/b17/prefix/samba-none-env-py2 --extra-python=/usr/bin/python2 --with-profiling-data' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308751 responseStatus=201 Created token=8x4XSVP7
ERROR: Job failed: exit code 1
failed
build_samba_o3 Build
samba-o3: [configure] failed 'ADDITIONAL_CFLAGS='-O3 -Wp,-D_FORTIFY_SOURCE=2' ./configure.developer --with-selftest-prefix=./bin/ab --abi-check-disable --picky-developer --prefix=/tmp/samba-testbase/b17/prefix/samba-o3  --with-profiling-data' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308763 responseStatus=201 Created token=jqZQyPXo
ERROR: Job failed: exit code 1
failed
build_samba_static Build
samba-static: [allstatic-configure] failed './configure.developer  --picky-developer --prefix=/tmp/samba-testbase/b17/prefix/samba-static  --with-profiling-data --with-static-modules=ALL' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308777 responseStatus=201 Created token=3_bieF7m
ERROR: Job failed: exit code 1
failed
build_samba_libs_py2 Build
samba-libs-py2: [talloc-configure] failed 'cd lib/talloc && PYTHONPATH=/tmp/samba-testbase/b17/prefix/samba-libs-py2/lib/python3.4/site-packages:$PYTHONPATH PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/tmp/samba-testbase/b17/prefix/samba-libs-py2/lib/pkgconfig ADDITIONAL_CFLAGS='-Wmissing-prototypes' ./configure --abi-check --enable-debug --picky-developer -C --prefix=/tmp/samba-testbase/b17/prefix/samba-libs-py2 --bundled-libraries=cmocka,popt,NONE --extra-python=/usr/bin/python2' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308774 responseStatus=201 Created token=oRzNRd1e
ERROR: Job failed: exit code 1
failed
build_samba_ad_dc_2_py2 Build
samba-ad-dc-2-py2: [configure] failed './configure.developer --with-selftest-prefix=./bin/ab --picky-developer --prefix=/tmp/samba-testbase/b17/prefix/samba-ad-dc-2-py2 --extra-python=/usr/bin/python2 --with-profiling-data' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308769 responseStatus=201 Created token=L2xbVb7F
ERROR: Job failed: exit code 1
failed
build_samba_ctdb Build
samba-ctdb: [tdb-configure] failed 'cd lib/tdb && PYTHONPATH=/tmp/samba-testbase/b17/prefix/samba-ctdb/lib/python3.4/site-packages:$PYTHONPATH PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/tmp/samba-testbase/b17/prefix/samba-ctdb/lib/pkgconfig ./configure --bundled-libraries=NONE --abi-check --enable-debug -C --prefix=/tmp/samba-testbase/b17/prefix/samba-ctdb' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308781 responseStatus=201 Created token=Qg_vGL9s
ERROR: Job failed: exit code 1
failed
build_samba_py2 Build

the autobuild has been abandoned. Please fix the error and resubmit.

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


samba-py2: [configure] failed './configure.developer --with-selftest-prefix=./bin/ab --picky-developer --prefix=/tmp/samba-testbase/b11/prefix/samba-py2 --extra-python=/usr/bin/python2 --with-profiling-data' with status 1
Logs in logs.tar.gz
ERROR: Job failed: exit code 1
failed
build_samba_ad_dc Build

the autobuild has been abandoned. Please fix the error and resubmit.

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


samba-ad-dc: [configure] failed './configure.developer --with-selftest-prefix=./bin/ab --picky-developer --prefix=/tmp/samba-testbase/b11/prefix/samba-ad-dc --with-profiling-data' with status 1
Logs in logs.tar.gz
ERROR: Job failed: exit code 1
failed
build_samba Build

the autobuild has been abandoned. Please fix the error and resubmit.

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


samba: [configure] failed './configure.developer --with-selftest-prefix=./bin/ab --picky-developer --prefix=/tmp/samba-testbase/b11/prefix/samba --with-profiling-data' with status 1
Logs in logs.tar.gz
ERROR: Job failed: exit code 1
failed
build_nt4 Build

the autobuild has been abandoned. Please fix the error and resubmit.

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


samba-nt4: [configure] failed './configure.developer --without-ads --with-selftest-prefix=./bin/ab --picky-developer --prefix=/tmp/samba-testbase/b11/prefix/samba-nt4 --with-profiling-data' with status 1
Logs in logs.tar.gz
ERROR: Job failed: exit code 1
failed
build_samba_buildpy2_only Build
samba-buildpy2-only: [configure] failed 'PYTHON='python' ./configure.developer --with-selftest-prefix=./bin/ab  --picky-developer --prefix=/tmp/samba-testbase/b17/prefix/samba-buildpy2-only  --with-profiling-data' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308784 responseStatus=201 Created token=3tEmngP1
ERROR: Job failed: exit code 1
failed
build_samba_none_env Build
samba-none-env: [configure] failed './configure.developer --with-selftest-prefix=./bin/ab --picky-developer --prefix=/tmp/samba-testbase/b17/prefix/samba-none-env  --with-profiling-data' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308748 responseStatus=201 Created token=QyPLgJ_C
ERROR: Job failed: exit code 1
failed
build_samba_systemkrb5 Build
samba-systemkrb5: [configure] failed './configure.developer  --picky-developer --prefix=/tmp/samba-testbase/b17/prefix/samba-systemkrb5  --with-profiling-data --with-system-mitkrb5 --without-ad-dc' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308756 responseStatus=201 Created token=V-wEJYaT
ERROR: Job failed: exit code 1
failed
build_samba_ad_dc_backup Build
samba-ad-dc-backup: [configure] failed './configure.developer --with-selftest-prefix=./bin/ab --picky-developer --prefix=/tmp/samba-testbase/b17/prefix/samba-ad-dc-backup  --with-profiling-data' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308767 responseStatus=201 Created token=Zbkxz44x
ERROR: Job failed: exit code 1
failed
build_samba_fileserver Build

the autobuild has been abandoned. Please fix the error and resubmit.

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


samba-fileserver: [configure] failed './configure.developer --without-ad-dc --without-ldap --without-ads --without-json --with-selftest-prefix=./bin/ab --picky-developer --prefix=/tmp/samba-testbase/b11/prefix/samba-fileserver --with-profiling-data' with status 1
Logs in logs.tar.gz
ERROR: Job failed: exit code 1
failed
build_samba_ad_dc_2 Build
samba-ad-dc-2: [configure] failed './configure.developer --with-selftest-prefix=./bin/ab --picky-developer --prefix=/tmp/samba-testbase/b17/prefix/samba-ad-dc-2  --with-profiling-data' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308766 responseStatus=201 Created token=H1JxUK4x
ERROR: Job failed: exit code 1
failed
build_samba_nopython Build
samba-nopython: [configure] failed './configure.developer --picky-developer --prefix=/tmp/samba-testbase/b17/prefix/samba-nopython --with-profiling-data --disable-python --without-ad-dc' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308754 responseStatus=201 Created token=NHsxy5eq
ERROR: Job failed: exit code 1
failed
build_ctdb Build
ctdb: [configure] failed './configure  --enable-developer --picky-developer --prefix=/tmp/samba-testbase/b17/prefix/ctdb' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308779 responseStatus=201 Created token=yTCduuPs
ERROR: Job failed: exit code 1
failed
build_samba_ad_dc_py2 Build

the autobuild has been abandoned. Please fix the error and resubmit.

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


samba-ad-dc-py2: [configure] failed './configure.developer --with-selftest-prefix=./bin/ab --picky-developer --prefix=/tmp/samba-testbase/b11/prefix/samba-ad-dc-py2 --extra-python=/usr/bin/python2 --with-profiling-data' with status 1
Logs in logs.tar.gz
ERROR: Job failed: exit code 1
failed
build_samba_xc Build
samba-xc: [configure-native] failed './configure.developer --with-selftest-prefix=./bin/ab --picky-developer --prefix=/tmp/samba-testbase/b17/prefix/samba-xc  --with-profiling-data' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308759 responseStatus=201 Created token=UsFL71ip
ERROR: Job failed: exit code 1
failed
build_samba_libs Build
samba-libs: [talloc-configure] failed 'cd lib/talloc && PYTHONPATH=/tmp/samba-testbase/b17/prefix/samba-libs/lib/python3.4/site-packages:$PYTHONPATH PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/tmp/samba-testbase/b17/prefix/samba-libs/lib/pkgconfig ADDITIONAL_CFLAGS='-Wmissing-prototypes' ./configure --abi-check --enable-debug --picky-developer -C --prefix=/tmp/samba-testbase/b17/prefix/samba-libs --bundled-libraries=cmocka,popt,NONE ' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308771 responseStatus=201 Created token=qYUUdT78
ERROR: Job failed: exit code 1
failed
build_others Build
ldb: [configure] failed './configure --enable-developer -C --prefix=/tmp/samba-testbase/b17/prefix/ldb ' with status 1
Logs in logs.tar.gz
Uploading artifacts...
*.stdout: found 1 matching files
*.stderr: found 1 matching files

system-info.txt: found 1 matching files

WARNING: /tmp/samba-testbase/*/*/bin/config.log: no matching files
Uploading artifacts to coordinator... ok
id=157308783 responseStatus=201 Created token=G3sKnF7z
ERROR: Job failed: exit code 1