took a while to figure out why all your tests fail

Mark Andrews marka at isc.org
Thu May 6 23:03:50 UTC 2021


First of all the user running the tests needs to be able to write to bin/tests/system. See the permission denied from tee. 

-- 
Mark Andrews

> On 7 May 2021, at 08:20, Dennis Clarke via bind-users <bind-users at lists.isc.org> wrote:
> 
> 
> 
> I very carefully created an airgap test system for this process and did
> setup all the required network interfaces. However all tests fail
> terribly due to some weird python requirement ?
> 
> airgap$ ./runall.sh -n
> + SYSTEMTESTTOP=.
> + . ./conf.sh
> ++ TOP=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005
> ++ DEFAULT_ALGORITHM=RSASHA256
> ++ DEFAULT_ALGORITHM_NUMBER=8
> ++ DEFAULT_BITS=1280
> ++ TMPDIR=/tmp
> ++ ALTERNATIVE_ALGORITHM=RSASHA1
> ++ ALTERNATIVE_ALGORITHM_NUMBER=5
> ++ ALTERNATIVE_BITS=1280
> ++ DISABLED_ALGORITHM=ECDSAP384SHA384
> ++ DISABLED_ALGORITHM_NUMBER=14
> ++ DISABLED_BITS=384
> ++ NAMED=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/named/named
> ++
> LWRESD='/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/named/named -l'
> ++ DIG=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/dig/dig
> ++ DELV=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/delv/delv
> ++ RNDC=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/rndc/rndc
> ++
> NSUPDATE=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/nsupdate/nsupdate
> ++
> DDNSCONFGEN=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/confgen/ddns-confgen
> ++
> TSIGKEYGEN=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/confgen/tsig-keygen
> ++
> RNDCCONFGEN=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/confgen/rndc-confgen
> ++
> KEYGEN=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/dnssec/dnssec-keygen
> ++
> KEYFRLAB=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/dnssec/dnssec-keyfromlabel
> ++
> SIGNER=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/dnssec/dnssec-signzone
> ++
> REVOKE=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/dnssec/dnssec-revoke
> ++
> SETTIME=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/dnssec/dnssec-settime
> ++
> DSFROMKEY=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/dnssec/dnssec-dsfromkey
> ++ HOST=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/dig/host
> ++
> IMPORTKEY=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/dnssec/dnssec-importkey
> ++
> CHECKDS=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/python/dnssec-checkds
> ++
> COVERAGE=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/python/dnssec-coverage
> ++
> KEYMGR=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/python/dnssec-keymgr
> ++
> CHECKZONE=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/check/named-checkzone
> ++
> CHECKCONF=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/check/named-checkconf
> ++
> PK11GEN='/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/pkcs11/pkcs11-keygen
> -q -s 0 -p 1234'
> ++
> PK11LIST='/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/pkcs11/pkcs11-list
> -s 0 -p 1234'
> ++
> PK11DEL='/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/pkcs11/pkcs11-destroy
> -s 0 -p 1234 -w 0'
> ++
> JOURNALPRINT=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tools/named-journalprint
> ++
> VERIFY=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/dnssec/dnssec-verify
> ++
> ARPANAME=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tools/arpaname
> ++
> RESOLVE=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/lib/samples/resolve
> ++
> RRCHECKER=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tools/named-rrchecker
> ++
> GENRANDOM=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tools/genrandom
> ++
> NSLOOKUP=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/dig/nslookup
> ++
> DNSTAPREAD=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tools/dnstap-read
> ++ MDIG=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tools/mdig
> ++
> NZD2NZF=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tools/named-nzd2nzf
> ++ FSTRM_CAPTURE=
> ++
> FEATURETEST=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/feature-test
> ++
> RANDFILE=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/random.data
> ++
> BIGKEY=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/rsabigexponent/bigkey
> ++
> GENCHECK=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/rndc/gencheck
> ++
> KEYCREATE=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/tkey/keycreate
> ++
> KEYDELETE=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/tkey/keydelete
> ++
> LWTEST=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/lwresd/lwtest
> ++
> MAKEJOURNAL=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/makejournal
> ++
> PIPEQUERIES=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/pipelined/pipequeries
> ++
> SAMPLEUPDATE=/opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/lib/samples/sample-update
> ++ KRB5_CONFIG=/dev/null
> ++ RANDOMSIZE=4096
> ++ SEQUENTIALDIRS='ecdsa eddsa gost lwresd  tkey'
> ++ PARALLELDIRS='dnssec rpzrecurse      acl additional addzone
> allow-query auth autosign        builtin cacheclean case catz chain
> checkconf checknames checkzone          cookie database digdelv dlv dlz
> dlzexternal     dns64  dscp dsdigest dyndb      ednscompliance
> emptyzones       fetchlimit filter-aaaa formerr forward  geoip geoip2
> glue idna inline integrity ixfr    legacy limits logfileconfig
> masterfile masterformat metadata mkeys  names notify nslookup nsupdate
> nzd2nzf  pending pipelined       reclimit redirect resolver rndc
> rootkeysentinel rpz     rrchecker rrl rrsetorder rsabigexponent runtime
>        sfcache smartsign sortlist      spf staticstub statistics
> statschannel stub     tcp tsig tsiggss        unknown upforwd verify
> views wildcard   xfer xferquota zero zonechecks'
> ++ SUBDIRS='ecdsa eddsa gost lwresd  tkey dnssec rpzrecurse     acl
> additional addzone allow-query auth autosign        builtin cacheclean
> case catz chain      checkconf checknames checkzone          cookie
> database digdelv dlv dlz dlzexternal     dns64  dscp dsdigest dyndb
> ednscompliance emptyzones       fetchlimit filter-aaaa formerr forward
> geoip geoip2 glue idna inline integrity ixfr    legacy limits
> logfileconfig     masterfile masterformat metadata mkeys  names notify
> nslookup nsupdate nzd2nzf  pending pipelined       reclimit redirect
> resolver rndc rootkeysentinel rpz     rrchecker rrl rrsetorder
> rsabigexponent runtime         sfcache smartsign sortlist      spf
> staticstub statistics statschannel stub     tcp tsig tsiggss
> unknown upforwd verify views wildcard   xfer xferquota zero zonechecks'
> ++ KILL=kill
> ++ DIFF=diff
> ++ DOS2UNIX=true
> ++ TP=.
> ++ SHELL=/opt/bw/bin/bash
> ++ CURL=/opt/bw/bin/curl
> ++ XMLLINT=/opt/bw/bin/xmllint
> ++ XSLTPROC=/bin/xsltproc
> ++ PERL=/opt/bw/bin/perl
> ++ PSSUSPEND=
> ++ PYTHON=
> ++ CHECK_DSA=0
> ++ HAVEXMLSTATS=1
> ++ HAVEJSONSTATS=
> ++ ZLIB=1
> ++ NZD=
> ++ . /opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/version
> +++ PRODUCT=BIND
> +++ DESCRIPTION='(Extended Support Version)'
> +++ MAJORVER=9
> +++ MINORVER=11
> +++ PATCHVER=31
> +++ RELEASETYPE=
> +++ RELEASEVER=
> +++ EXTENSIONS=
> ++ '[' 0 -eq 1 ']'
> ++ test -t 1
> ++ type tput
> ++ tput setaf 7
> ++ COLOR_END=
> ++ COLOR_FAIL=
> ++ COLOR_INFO=
> ++ COLOR_NONE=
> ++ COLOR_PASS=
> ++ COLOR_START=
> ++ COLOR_WARN=
> +++ basename
> /opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system
> ++ SYSTESTDIR=system
> ++ type printf
> ++ export ARPANAME
> ++ export BIGKEY
> ++ export CHECKZONE
> ++ export CYGWIN
> ++ export DESCRIPTION
> ++ export DIG
> ++ export FEATURETEST
> ++ export FSTRM_CAPTURE
> ++ export GENCHECK
> ++ export JOURNALPRINT
> ++ export KEYCREATE
> ++ export KEYDELETE
> ++ export KEYFRLAB
> ++ export KEYGEN
> ++ export KEYSETTOOL
> ++ export KEYSIGNER
> ++ export KRB5_CONFIG
> ++ export LWRESD
> ++ export LWTEST
> ++ export MAKEJOURNAL
> ++ export MDIG
> ++ export NAMED
> ++ export NSLOOKUP
> ++ export NSUPDATE
> ++ export NZD2NZF
> ++ export PERL
> ++ export PIPEQUERIES
> ++ export PK11DEL
> ++ export PK11GEN
> ++ export PK11LIST
> ++ export PSSUSPEND
> ++ export PYTHON
> ++ export RANDFILE
> ++ export RESOLVE
> ++ export RNDC
> ++ export RRCHECKER
> ++ export SAMPLEUPDATE
> ++ export SIGNER
> ++ export SUBDIRS
> ++ export TMPDIR
> + usage='Usage: ./runall.sh [-c] [-n] [numprocesses]'
> + SYSTEMTEST_FORCE_COLOR=0
> + SYSTEMTEST_NO_CLEAN=0
> + getopts cn flag
> + case "$flag" in
> + SYSTEMTEST_NO_CLEAN=1
> + getopts cn flag
> + export NOCLEAN
> ++ expr 2 - 1
> + shift 1
> + '[' 0 -eq 0 ']'
> + numproc=1
> + export SYSTEMTEST_FORCE_COLOR
> + export SYSTEMTEST_NO_CLEAN
> + status=0
> + '[' '' = '' ']'
> + '[' '' = '' ']'
> + make -j 1 check
> make: Warning: Ignoring DistributedMake -j option
> making all in
> /opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/dlzexternal
> make: Warning: Ignoring DistributedMake -j option
> making all in
> /opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/dyndb
> make: Warning: Ignoring DistributedMake -j option
> making all in
> /opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/dyndb/driver
> make: Warning: Ignoring DistributedMake -j option
> making all in
> /opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/lwresd
> make: Warning: Ignoring DistributedMake -j option
> making all in
> /opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/pipelined
> make: Warning: Ignoring DistributedMake -j option
> making all in
> /opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/rndc
> make: Warning: Ignoring DistributedMake -j option
> making all in
> /opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/rsabigexponent
> make: Warning: Ignoring DistributedMake -j option
> making all in
> /opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system/tkey
> make: Warning: Ignoring DistributedMake -j option
> make: Warning: Ignoring DistributedMake -j option
> tee: test.output.dnssec: Permission denied
> S:dnssec:Thu May  6 22:16:17 GMT 2021
> T:dnssec:1:A
> A:dnssec:System test dnssec
> I:dnssec:PORTRANGE:5000 - 5099
> I:dnssec:This test requires Python and the dnspython module.
> I:dnssec:Prerequisites missing, skipping test.
> R:dnssec:UNTESTED
> E:dnssec:Thu May  6 22:16:18 GMT 2021
> *** Error code 1
> The following command caused the error:
> /opt/bw/bin/bash ./run.sh -p 5000 dnssec 2>&1 | tee test.output.dnssec
> make: Fatal error: Command failed for target `test-dnssec'
> Current working directory
> /opt/bw/build/bind-9.11.31_sunos5.10_sparcv9.005/bin/tests/system
> *** Error code 1
> The following command caused the error:
> make -f parallel.mk check
> make: Fatal error: Command failed for target `test'
> airgap$
> 
> 
> So then, is there a non-node.js and python way to test this build?
> 
> 
> -- 
> Dennis Clarke
> RISC-V/SPARC/PPC/ARM/CISC
> UNIX and Linux spoken
> GreyBeard and suspenders optional
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
> 
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users



More information about the bind-users mailing list