Diff of the two buildlogs: -- --- b1/build.log 2025-04-15 02:30:50.544135699 +0000 +++ b2/build.log 2025-04-15 02:35:37.478081084 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 14 14:23:59 -12 2025 -I: pbuilder-time-stamp: 1744683839 +I: Current time: Tue Apr 15 16:31:32 +14 2025 +I: pbuilder-time-stamp: 1744684292 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying 0001-Use_chasquid_user.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3163/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4577/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 15 02:31 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/4577/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4577/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='c26b12d3daa646bdbb2525a726af0c74' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3163' - PS1='# ' - PS2='> ' + INVOCATION_ID=7f5f272c0fd2477c9e284550cbdde6fe + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=4577 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.8jpfW6vp/pbuilderrc_Q6UT --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8jpfW6vp/b1 --logfile b1/build.log chasquid_1.15.0-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.8jpfW6vp/pbuilderrc_U60c --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.8jpfW6vp/b2 --logfile b2/build.log chasquid_1.15.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff4a 6.1.0-33-armmp-lpae #1 SMP Debian 6.1.133-1 (2025-04-10) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-33-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3163/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/4577/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -172,7 +204,7 @@ Get: 43 http://deb.debian.org/debian unstable/main armhf golang-blitiri-go-log-dev all 1.1.0-1 [6724 B] Get: 44 http://deb.debian.org/debian unstable/main armhf golang-blitiri-go-spf-dev all 1.5.1-1 [37.2 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf golang-blitiri-go-systemd-dev all 1.1.0-1 [6952 B] -Fetched 65.0 MB in 3s (20.7 MB/s) +Fetched 65.0 MB in 1s (68.8 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19566 files and directories currently installed.) @@ -367,7 +399,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/chasquid-1.15.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../chasquid_1.15.0-1_source.changes +I: user script /srv/workspace/pbuilder/4577/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4577/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/chasquid-1.15.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../chasquid_1.15.0-1_source.changes dpkg-buildpackage: info: source package chasquid dpkg-buildpackage: info: source version 1.15.0-1 dpkg-buildpackage: info: source distribution unstable @@ -387,18 +423,18 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/chasquid-1.15.0' dh_auto_build -- -ldflags " -X main.version=1.15.0-1 -X main.sourceDateTs=1737288581" - cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 3 -ldflags " -X main.version=1.15.0-1 -X main.sourceDateTs=1737288581" blitiri.com.ar/go/chasquid blitiri.com.ar/go/chasquid/cmd/chasquid-util blitiri.com.ar/go/chasquid/cmd/mda-lmtp blitiri.com.ar/go/chasquid/cmd/smtp-check blitiri.com.ar/go/chasquid/internal/aliases blitiri.com.ar/go/chasquid/internal/auth blitiri.com.ar/go/chasquid/internal/config blitiri.com.ar/go/chasquid/internal/courier blitiri.com.ar/go/chasquid/internal/dkim blitiri.com.ar/go/chasquid/internal/domaininfo blitiri.com.ar/go/chasquid/internal/dovecot blitiri.com.ar/go/chasquid/internal/envelope blitiri.com.ar/go/chasquid/internal/expvarom blitiri.com.ar/go/chasquid/internal/haproxy blitiri.com.ar/go/chasquid/internal/localrpc blitiri.com.ar/go/chasquid/internal/maillog blitiri.com.ar/go/chasquid/internal/nettrace blitiri.com.ar/go/chasquid/internal/normalize blitiri.com.ar/go/chasquid/internal/protoio blitiri.com.ar/go/chasquid/internal/protoio/testpb blitiri.com.ar/go/chasquid/internal/queue blitiri.com.ar/go/chasquid/internal/safeio blitiri.com.ar/go/chasquid/internal/set blitiri.com.ar/go/chasquid/internal/smtp blitiri.com.ar/go/chasquid/internal/smtpsrv blitiri.com.ar/go/chasquid/internal/sts blitiri.com.ar/go/chasquid/internal/testlib blitiri.com.ar/go/chasquid/internal/tlsconst blitiri.com.ar/go/chasquid/internal/trace blitiri.com.ar/go/chasquid/internal/userdb -internal/unsafeheader + cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 4 -ldflags " -X main.version=1.15.0-1 -X main.sourceDateTs=1737288581" blitiri.com.ar/go/chasquid blitiri.com.ar/go/chasquid/cmd/chasquid-util blitiri.com.ar/go/chasquid/cmd/mda-lmtp blitiri.com.ar/go/chasquid/cmd/smtp-check blitiri.com.ar/go/chasquid/internal/aliases blitiri.com.ar/go/chasquid/internal/auth blitiri.com.ar/go/chasquid/internal/config blitiri.com.ar/go/chasquid/internal/courier blitiri.com.ar/go/chasquid/internal/dkim blitiri.com.ar/go/chasquid/internal/domaininfo blitiri.com.ar/go/chasquid/internal/dovecot blitiri.com.ar/go/chasquid/internal/envelope blitiri.com.ar/go/chasquid/internal/expvarom blitiri.com.ar/go/chasquid/internal/haproxy blitiri.com.ar/go/chasquid/internal/localrpc blitiri.com.ar/go/chasquid/internal/maillog blitiri.com.ar/go/chasquid/internal/nettrace blitiri.com.ar/go/chasquid/internal/normalize blitiri.com.ar/go/chasquid/internal/protoio blitiri.com.ar/go/chasquid/internal/protoio/testpb blitiri.com.ar/go/chasquid/internal/queue blitiri.com.ar/go/chasquid/internal/safeio blitiri.com.ar/go/chasquid/internal/set blitiri.com.ar/go/chasquid/internal/smtp blitiri.com.ar/go/chasquid/internal/smtpsrv blitiri.com.ar/go/chasquid/internal/sts blitiri.com.ar/go/chasquid/internal/testlib blitiri.com.ar/go/chasquid/internal/tlsconst blitiri.com.ar/go/chasquid/internal/trace blitiri.com.ar/go/chasquid/internal/userdb encoding +internal/unsafeheader internal/goarch internal/cpu internal/byteorder internal/abi -internal/chacha8rand -internal/bytealg internal/coverage/rtcov internal/godebugs +internal/chacha8rand internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic @@ -407,26 +443,25 @@ internal/runtime/math internal/runtime/sys internal/runtime/syscall -internal/runtime/exithook internal/stringslite cmp +internal/runtime/exithook internal/itoa math/bits unicode/utf8 -math sync/atomic -internal/race -internal/runtime/maps -internal/sync +math unicode log/internal internal/nettrace google.golang.org/protobuf/internal/flags unicode/utf16 +internal/race +internal/runtime/maps +internal/sync google.golang.org/protobuf/internal/set container/ring container/list -runtime crypto/internal/fips140/alias crypto/internal/fips140deps/byteorder crypto/internal/fips140deps/cpu @@ -434,67 +469,75 @@ vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias blitiri.com.ar/go/chasquid/internal/set +runtime iter internal/reflectlite sync -slices weak -maps crypto/internal/fips140/subtle +slices +maps crypto/subtle errors sort internal/bisect -strconv +internal/testlog io +strconv internal/oserror path internal/godebug -syscall -reflect -internal/testlog strings +syscall vendor/golang.org/x/net/dns/dnsmessage -time -internal/syscall/unix -internal/syscall/execenv +reflect internal/singleflight unique +runtime/cgo net/netip +time +internal/syscall/unix +internal/syscall/execenv +hash +hash/fnv io/fs -internal/filepathlite -internal/fmtsort internal/poll +internal/filepathlite context -runtime/cgo -encoding/binary +internal/fmtsort os -hash -hash/fnv +encoding/binary bytes google.golang.org/protobuf/internal/pragma embed -fmt -path/filepath -google.golang.org/protobuf/internal/detrand -google.golang.org/protobuf/internal/editiondefaults bufio +google.golang.org/protobuf/internal/editiondefaults hash/crc32 encoding/base64 +html +regexp/syntax +math/rand +fmt +net +path/filepath +google.golang.org/protobuf/internal/detrand +blitiri.com.ar/go/chasquid/internal/safeio +crypto +crypto/internal/fips140deps/godebug +regexp flag log google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire go/token -net google.golang.org/protobuf/reflect/protoreflect compress/flate -compress/gzip encoding/json +compress/gzip google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/strs -google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/genid +google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/order google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface @@ -504,63 +547,52 @@ google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/internal/protolazy google.golang.org/protobuf/internal/version -blitiri.com.ar/go/chasquid/internal/safeio +net/url +text/template/parse google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc -net/url blitiri.com.ar/go/chasquid/internal/protoio -html -regexp/syntax -google.golang.org/protobuf/internal/encoding/tag -google.golang.org/protobuf/internal/impl -regexp -log/syslog -text/template/parse -blitiri.com.ar/go/log -math/rand -crypto -crypto/internal/fips140deps/godebug +text/template crypto/internal/fips140 crypto/internal/fips140/sha256 -text/template crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 crypto/internal/fips140/hmac crypto/internal/fips140/check +html/template crypto/internal/fips140/aes +google.golang.org/protobuf/internal/encoding/tag +google.golang.org/protobuf/internal/impl crypto/internal/sysrand -html/template crypto/internal/entropy math/rand/v2 crypto/internal/randutil crypto/internal/fips140/drbg crypto/internal/fips140/aes/gcm crypto/internal/fips140only -crypto/cipher math/big +log/syslog +crypto/cipher +blitiri.com.ar/go/log crypto/internal/boring -crypto/aes crypto/des +crypto/aes crypto/internal/fips140/nistec/fiat -google.golang.org/protobuf/internal/filetype -google.golang.org/protobuf/runtime/protoimpl -blitiri.com.ar/go/chasquid/internal/config -crypto/rand crypto/internal/fips140/edwards25519/field -crypto/internal/boring/bbig crypto/internal/impl crypto/internal/fips140/bigmod crypto/sha3 crypto/internal/fips140hash crypto/sha512 -encoding/asn1 crypto/internal/fips140/edwards25519 -vendor/golang.org/x/crypto/cryptobyte +crypto/rand +crypto/internal/boring/bbig +encoding/asn1 crypto/internal/fips140/ed25519 crypto/ed25519 -crypto/internal/fips140/nistec crypto/hmac crypto/internal/fips140/hkdf +vendor/golang.org/x/crypto/cryptobyte crypto/internal/fips140/mlkem crypto/internal/fips140/tls12 crypto/internal/fips140/tls13 @@ -568,6 +600,7 @@ vendor/golang.org/x/crypto/internal/poly1305 crypto/md5 vendor/golang.org/x/crypto/chacha20poly1305 +crypto/internal/fips140/nistec crypto/rc4 crypto/internal/fips140/rsa crypto/sha1 @@ -581,90 +614,93 @@ vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm +google.golang.org/protobuf/internal/filetype +google.golang.org/protobuf/runtime/protoimpl +blitiri.com.ar/go/chasquid/internal/config +net/textproto +vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/net/http2/hpack +mime +mime/quotedprintable crypto/internal/fips140/ecdh -crypto/ecdh crypto/elliptic crypto/internal/fips140/ecdsa +crypto/ecdh +vendor/golang.org/x/net/idna crypto/internal/hpke crypto/ecdsa -vendor/golang.org/x/text/secure/bidirule -net/textproto -vendor/golang.org/x/net/idna -vendor/golang.org/x/net/http2/hpack -mime -crypto/x509 -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy -mime/quotedprintable -net/http/internal mime/multipart +net/http/internal net/http/internal/ascii blitiri.com.ar/go/chasquid/internal/envelope golang.org/x/text/transform golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm -crypto/tls +vendor/golang.org/x/net/http/httpguts +crypto/x509 +vendor/golang.org/x/net/http/httpproxy golang.org/x/text/secure/bidirule golang.org/x/text/internal/tag golang.org/x/text/internal/language -golang.org/x/net/idna -golang.org/x/text/internal/language/compact -golang.org/x/text/language golang.org/x/text/runes golang.org/x/text/width -golang.org/x/text/internal -golang.org/x/text/cases +golang.org/x/net/idna os/exec +golang.org/x/text/internal/language/compact +golang.org/x/text/language blitiri.com.ar/go/chasquid/internal/dovecot -golang.org/x/text/secure/precis -blitiri.com.ar/go/chasquid/internal/dkim blitiri.com.ar/go/chasquid/internal/haproxy +crypto/tls +blitiri.com.ar/go/chasquid/internal/dkim net/mail -blitiri.com.ar/go/chasquid/internal/normalize +golang.org/x/text/internal +golang.org/x/text/cases blitiri.com.ar/go/chasquid/internal/tlsconst golang.org/x/crypto/pbkdf2 -golang.org/x/crypto/scrypt blitiri.com.ar/go/spf -blitiri.com.ar/go/chasquid/internal/userdb +golang.org/x/crypto/scrypt blitiri.com.ar/go/systemd internal/profile text/tabwriter +golang.org/x/text/secure/precis runtime/pprof -net/http/httptrace -net/http -net/smtp -blitiri.com.ar/go/chasquid/internal/smtp runtime/trace os/signal runtime/debug +blitiri.com.ar/go/chasquid/internal/normalize +blitiri.com.ar/go/chasquid/internal/userdb golang.org/x/sys/unix blitiri.com.ar/go/chasquid/cmd/mda-lmtp blitiri.com.ar/go/chasquid/internal/protoio/testpb internal/sysinfo testing -golang.org/x/term +net/http/httptrace +net/smtp +net/http blitiri.com.ar/go/chasquid/internal/testlib -expvar +blitiri.com.ar/go/chasquid/internal/smtp +golang.org/x/term golang.org/x/net/context/ctxhttp +expvar net/http/pprof blitiri.com.ar/go/chasquid/internal/nettrace blitiri.com.ar/go/chasquid/internal/trace +blitiri.com.ar/go/chasquid/internal/maillog blitiri.com.ar/go/chasquid/internal/localrpc blitiri.com.ar/go/chasquid/internal/domaininfo blitiri.com.ar/go/chasquid/internal/expvarom -blitiri.com.ar/go/chasquid/internal/maillog blitiri.com.ar/go/chasquid/internal/auth blitiri.com.ar/go/chasquid/cmd/chasquid-util -blitiri.com.ar/go/chasquid/internal/sts blitiri.com.ar/go/chasquid/internal/aliases -blitiri.com.ar/go/chasquid/internal/courier +blitiri.com.ar/go/chasquid/internal/sts blitiri.com.ar/go/chasquid/cmd/smtp-check +blitiri.com.ar/go/chasquid/internal/courier blitiri.com.ar/go/chasquid/internal/queue blitiri.com.ar/go/chasquid/internal/smtpsrv blitiri.com.ar/go/chasquid make[1]: Leaving directory '/build/reproducible-path/chasquid-1.15.0' dh_auto_test -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 blitiri.com.ar/go/chasquid blitiri.com.ar/go/chasquid/cmd/chasquid-util blitiri.com.ar/go/chasquid/cmd/mda-lmtp blitiri.com.ar/go/chasquid/cmd/smtp-check blitiri.com.ar/go/chasquid/internal/aliases blitiri.com.ar/go/chasquid/internal/auth blitiri.com.ar/go/chasquid/internal/config blitiri.com.ar/go/chasquid/internal/courier blitiri.com.ar/go/chasquid/internal/dkim blitiri.com.ar/go/chasquid/internal/domaininfo blitiri.com.ar/go/chasquid/internal/dovecot blitiri.com.ar/go/chasquid/internal/envelope blitiri.com.ar/go/chasquid/internal/expvarom blitiri.com.ar/go/chasquid/internal/haproxy blitiri.com.ar/go/chasquid/internal/localrpc blitiri.com.ar/go/chasquid/internal/maillog blitiri.com.ar/go/chasquid/internal/nettrace blitiri.com.ar/go/chasquid/internal/normalize blitiri.com.ar/go/chasquid/internal/protoio blitiri.com.ar/go/chasquid/internal/protoio/testpb blitiri.com.ar/go/chasquid/internal/queue blitiri.com.ar/go/chasquid/internal/safeio blitiri.com.ar/go/chasquid/internal/set blitiri.com.ar/go/chasquid/internal/smtp blitiri.com.ar/go/chasquid/internal/smtpsrv blitiri.com.ar/go/chasquid/internal/sts blitiri.com.ar/go/chasquid/internal/testlib blitiri.com.ar/go/chasquid/internal/tlsconst blitiri.com.ar/go/chasquid/internal/trace blitiri.com.ar/go/chasquid/internal/userdb + cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 4 blitiri.com.ar/go/chasquid blitiri.com.ar/go/chasquid/cmd/chasquid-util blitiri.com.ar/go/chasquid/cmd/mda-lmtp blitiri.com.ar/go/chasquid/cmd/smtp-check blitiri.com.ar/go/chasquid/internal/aliases blitiri.com.ar/go/chasquid/internal/auth blitiri.com.ar/go/chasquid/internal/config blitiri.com.ar/go/chasquid/internal/courier blitiri.com.ar/go/chasquid/internal/dkim blitiri.com.ar/go/chasquid/internal/domaininfo blitiri.com.ar/go/chasquid/internal/dovecot blitiri.com.ar/go/chasquid/internal/envelope blitiri.com.ar/go/chasquid/internal/expvarom blitiri.com.ar/go/chasquid/internal/haproxy blitiri.com.ar/go/chasquid/internal/localrpc blitiri.com.ar/go/chasquid/internal/maillog blitiri.com.ar/go/chasquid/internal/nettrace blitiri.com.ar/go/chasquid/internal/normalize blitiri.com.ar/go/chasquid/internal/protoio blitiri.com.ar/go/chasquid/internal/protoio/testpb blitiri.com.ar/go/chasquid/internal/queue blitiri.com.ar/go/chasquid/internal/safeio blitiri.com.ar/go/chasquid/internal/set blitiri.com.ar/go/chasquid/internal/smtp blitiri.com.ar/go/chasquid/internal/smtpsrv blitiri.com.ar/go/chasquid/internal/sts blitiri.com.ar/go/chasquid/internal/testlib blitiri.com.ar/go/chasquid/internal/tlsconst blitiri.com.ar/go/chasquid/internal/trace blitiri.com.ar/go/chasquid/internal/userdb ? blitiri.com.ar/go/chasquid [no test files] ? blitiri.com.ar/go/chasquid/cmd/chasquid-util [no test files] ? blitiri.com.ar/go/chasquid/cmd/mda-lmtp [no test files] @@ -676,7 +712,7 @@ === RUN TestUserLookupErrors --- PASS: TestUserLookupErrors (0.00s) === RUN TestAddrRewrite ---- PASS: TestAddrRewrite (0.02s) +--- PASS: TestAddrRewrite (0.00s) === RUN TestExists --- PASS: TestExists (0.00s) === RUN TestRemoveDropsAndSuffix @@ -684,21 +720,21 @@ === RUN TestRemoveDropCharacters --- PASS: TestRemoveDropCharacters (0.00s) === RUN TestTooMuchRecursion ---- PASS: TestTooMuchRecursion (0.01s) +--- PASS: TestTooMuchRecursion (0.00s) === RUN TestTooMuchRecursionOnCatchAll ---- PASS: TestTooMuchRecursionOnCatchAll (0.01s) +--- PASS: TestTooMuchRecursionOnCatchAll (0.00s) === RUN TestAddFile ---- PASS: TestAddFile (0.03s) +--- PASS: TestAddFile (0.01s) === RUN TestRichFile ---- PASS: TestRichFile (0.01s) +--- PASS: TestRichFile (0.00s) === RUN TestManyFiles ---- PASS: TestManyFiles (0.01s) +--- PASS: TestManyFiles (0.00s) === RUN TestHookError _ aliases.go:544 Hook.Alias-Resolve a@localA: error: exit status 1 _ aliases.go:544 Hook.Alias-Resolve a@localA: error: exit status 1 _ aliases.go:544 Hook.Alias-Resolve *@localA: error: exit status 1 _ aliases.go:544 Hook.Alias-Resolve a@localA: error: exit status 1 ---- PASS: TestHookError (0.04s) +--- PASS: TestHookError (0.03s) === RUN FuzzReader === RUN FuzzReader/seed#0 === RUN FuzzReader/1c24d2215db69748c6fd16797673ad11ebc7e6167fe1bc1f54c6959ec10407b6 @@ -706,7 +742,7 @@ === RUN FuzzReader/8234d8c5719f30e50525290db70743bf97d940e60591cf4a638c72158d35504a === RUN FuzzReader/c9c80ba9f513841cb081fe9bb7439d36f9f7a06bb999d4c39441991ccc878a9e === RUN FuzzReader/d40a98862ed393eb712e47a91bcef18e6f24cf368bb4bd248c7a7101ef8e178d ---- PASS: FuzzReader (0.02s) +--- PASS: FuzzReader (0.00s) --- PASS: FuzzReader/seed#0 (0.00s) --- PASS: FuzzReader/1c24d2215db69748c6fd16797673ad11ebc7e6167fe1bc1f54c6959ec10407b6 (0.00s) --- PASS: FuzzReader/4adaceaa32e2b32c00322948769d62c2dd42e1d9f4950d3c5b411c710e6d4a86 (0.00s) @@ -714,7 +750,7 @@ --- PASS: FuzzReader/c9c80ba9f513841cb081fe9bb7439d36f9f7a06bb999d4c39441991ccc878a9e (0.00s) --- PASS: FuzzReader/d40a98862ed393eb712e47a91bcef18e6f24cf368bb4bd248c7a7101ef8e178d (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/aliases 0.230s +ok blitiri.com.ar/go/chasquid/internal/aliases 0.059s === RUN TestDecodeResponse auth_test.go:56: OK: "" failed with response pieces != 3, as per RFC auth_test.go:56: OK: "\x00" failed with response pieces != 3, as per RFC @@ -727,11 +763,11 @@ auth_test.go:56: OK: "\xffa@b\x00\xffa@b\x00pass" failed with bidirule: failed Bidi Rule --- PASS: TestDecodeResponse (0.00s) === RUN TestAuthenticate ---- PASS: TestAuthenticate (0.97s) +--- PASS: TestAuthenticate (0.68s) === RUN TestInterfaces --- PASS: TestInterfaces (0.00s) === RUN TestMultipleBackends ---- PASS: TestMultipleBackends (0.18s) +--- PASS: TestMultipleBackends (0.19s) === RUN TestErrors --- PASS: TestErrors (0.00s) === RUN TestReload @@ -748,7 +784,7 @@ === RUN FuzzDecodeResponse/c2ae184876dd0fe9acfc8a5e2f2174a968b889b01e0f5c9a61fa27d7361f0091 === RUN FuzzDecodeResponse/d9aa9c617d1f5b3021aca758b9d896d136e3b16ed53233d02abffd02aa73ffa4 === RUN FuzzDecodeResponse/de05c7993312bab83e8114e9d9ced331c49822dc55c1a353f1cc9718a28226e7 ---- PASS: FuzzDecodeResponse (0.01s) +--- PASS: FuzzDecodeResponse (0.03s) --- PASS: FuzzDecodeResponse/0274b170c6fe2654ca5418a914b804e9c7cc5d8e5c2a7c5fcf5c29540ec5ae52 (0.00s) --- PASS: FuzzDecodeResponse/24d35771ef1fe0645d90b061e13a777faea328736483ec2833b63950d26b5399 (0.00s) --- PASS: FuzzDecodeResponse/2e5d0b26626f2d2dd6fb423e1e1cc432277ae9877c622fe6ca067e247bc11c9d (0.00s) @@ -760,27 +796,27 @@ --- PASS: FuzzDecodeResponse/d9aa9c617d1f5b3021aca758b9d896d136e3b16ed53233d02abffd02aa73ffa4 (0.00s) --- PASS: FuzzDecodeResponse/de05c7993312bab83e8114e9d9ced331c49822dc55c1a353f1cc9718a28226e7 (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/auth 1.192s +ok blitiri.com.ar/go/chasquid/internal/auth 0.906s === RUN TestEmptyStruct --- PASS: TestEmptyStruct (0.00s) === RUN TestEmptyConfig - testlib.go:32: test directory: "/tmp/testlib_2645970177" ---- PASS: TestEmptyConfig (0.01s) + testlib.go:32: test directory: "/tmp/testlib_3025919637" +--- PASS: TestEmptyConfig (0.00s) === RUN TestFullConfig - testlib.go:32: test directory: "/tmp/testlib_3324734324" + testlib.go:32: test directory: "/tmp/testlib_3461995244" --- PASS: TestFullConfig (0.00s) === RUN TestErrorLoading --- PASS: TestErrorLoading (0.00s) === RUN TestBrokenConfig - testlib.go:32: test directory: "/tmp/testlib_2010787697" + testlib.go:32: test directory: "/tmp/testlib_3690509281" --- PASS: TestBrokenConfig (0.00s) === RUN TestBrokenOverride - testlib.go:32: test directory: "/tmp/testlib_3853059900" + testlib.go:32: test directory: "/tmp/testlib_1361901234" --- PASS: TestBrokenOverride (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/config 0.039s +ok blitiri.com.ar/go/chasquid/internal/config 0.028s === RUN TestMDA - testlib.go:32: test directory: "/tmp/testlib_3346585305" + testlib.go:32: test directory: "/tmp/testlib_2736162827" --- PASS: TestMDA (0.01s) === RUN TestMDATimeout _ mda.go:73 Courier.MDA to@local: error: operation timed out @@ -795,10 +831,10 @@ === RUN TestSanitize --- PASS: TestSanitize (0.00s) === RUN TestSMTP - testlib.go:32: test directory: "/tmp/testlib_118056146" - testlib.go:32: test directory: "/tmp/testlib_1453484995" -_ smtp.go:127 Courier.SMTP to@to: error: Could not dial: dial tcp: address ::::34063: too many colons in address -_ smtp.go:101 Courier.SMTP to@to: error: \":::\" returned transient error: Could not dial: dial tcp: address ::::34063: too many colons in address + testlib.go:32: test directory: "/tmp/testlib_473200436" + testlib.go:32: test directory: "/tmp/testlib_2073216705" +_ smtp.go:127 Courier.SMTP to@to: error: Could not dial: dial tcp: address ::::43539: too many colons in address +_ smtp.go:101 Courier.SMTP to@to: error: \":::\" returned transient error: Could not dial: dial tcp: address ::::43539: too many colons in address fakeserver_test.go:98: fakeServer got connection fakeserver_test.go:109: fakeServer read: "EHLO hello" fakeserver_test.go:109: fakeServer read: "MAIL FROM:" @@ -806,26 +842,26 @@ fakeserver_test.go:109: fakeServer read: "DATA" fakeserver_test.go:109: fakeServer read: "QUIT" fakeserver_test.go:105: fakeServer exiting: EOF ---- PASS: TestSMTP (0.80s) +--- PASS: TestSMTP (0.34s) === RUN TestSMTPErrors - testlib.go:32: test directory: "/tmp/testlib_3023631422" - testlib.go:32: test directory: "/tmp/testlib_1945846278" + testlib.go:32: test directory: "/tmp/testlib_3969307716" + testlib.go:32: test directory: "/tmp/testlib_983644381" fakeserver_test.go:98: fakeServer got connection -_ smtp.go:138 Courier.SMTP to@to: error: Error saying hello: write tcp 127.0.0.1:33740->127.0.0.1:36913: i/o timeout -_ smtp.go:101 Courier.SMTP to@to: error: \"127.0.0.1\" returned transient error: Error saying hello: write tcp 127.0.0.1:33740->127.0.0.1:36913: i/o timeout -_ smtp.go:105 Courier.SMTP to@to: error: all MXs returned transient failures (last: Error saying hello: write tcp 127.0.0.1:33740->127.0.0.1:36913: i/o timeout) - smtp_test.go:140: failed as expected: all MXs returned transient failures (last: Error saying hello: write tcp 127.0.0.1:33740->127.0.0.1:36913: i/o timeout) +_ smtp.go:138 Courier.SMTP to@to: error: Error saying hello: write tcp 127.0.0.1:37042->127.0.0.1:36073: i/o timeout +_ smtp.go:101 Courier.SMTP to@to: error: \"127.0.0.1\" returned transient error: Error saying hello: write tcp 127.0.0.1:37042->127.0.0.1:36073: i/o timeout +_ smtp.go:105 Courier.SMTP to@to: error: all MXs returned transient failures (last: Error saying hello: write tcp 127.0.0.1:37042->127.0.0.1:36073: i/o timeout) + smtp_test.go:140: failed as expected: all MXs returned transient failures (last: Error saying hello: write tcp 127.0.0.1:37042->127.0.0.1:36073: i/o timeout) fakeserver_test.go:105: fakeServer exiting: EOF - testlib.go:32: test directory: "/tmp/testlib_3637573499" - testlib.go:32: test directory: "/tmp/testlib_4050745776" + testlib.go:32: test directory: "/tmp/testlib_1940090694" + testlib.go:32: test directory: "/tmp/testlib_1549422275" fakeserver_test.go:98: fakeServer got connection fakeserver_test.go:109: fakeServer read: "EHLO hello" fakeserver_test.go:109: fakeServer read: "MAIL FROM:" _ smtp.go:202 Courier.SMTP to@to: error: MAIL+RCPT 501 mail error smtp_test.go:140: failed as expected: MAIL+RCPT 501 mail error fakeserver_test.go:105: fakeServer exiting: EOF - testlib.go:32: test directory: "/tmp/testlib_2929206011" - testlib.go:32: test directory: "/tmp/testlib_1693346905" + testlib.go:32: test directory: "/tmp/testlib_2357360687" + testlib.go:32: test directory: "/tmp/testlib_3663708784" fakeserver_test.go:98: fakeServer got connection fakeserver_test.go:109: fakeServer read: "EHLO hello" fakeserver_test.go:109: fakeServer read: "MAIL FROM:" @@ -833,8 +869,8 @@ _ smtp.go:202 Courier.SMTP to@to: error: MAIL+RCPT 501 rcpt error smtp_test.go:140: failed as expected: MAIL+RCPT 501 rcpt error fakeserver_test.go:105: fakeServer exiting: EOF - testlib.go:32: test directory: "/tmp/testlib_518684528" - testlib.go:32: test directory: "/tmp/testlib_320538144" + testlib.go:32: test directory: "/tmp/testlib_3350555652" + testlib.go:32: test directory: "/tmp/testlib_2743127425" fakeserver_test.go:98: fakeServer got connection fakeserver_test.go:109: fakeServer read: "EHLO hello" fakeserver_test.go:109: fakeServer read: "MAIL FROM:" @@ -843,8 +879,8 @@ _ smtp.go:207 Courier.SMTP to@to: error: DATA 554 data error smtp_test.go:140: failed as expected: DATA 554 data error fakeserver_test.go:132: fakeServer exiting: unexpected EOF - testlib.go:32: test directory: "/tmp/testlib_2468347578" - testlib.go:32: test directory: "/tmp/testlib_1332621396" + testlib.go:32: test directory: "/tmp/testlib_2332404482" + testlib.go:32: test directory: "/tmp/testlib_433125523" fakeserver_test.go:98: fakeServer got connection fakeserver_test.go:109: fakeServer read: "EHLO hello" fakeserver_test.go:109: fakeServer read: "MAIL FROM:" @@ -853,9 +889,9 @@ _ smtp.go:216 Courier.SMTP to@to: error: DATA closing 551 data response error smtp_test.go:140: failed as expected: DATA closing 551 data response error fakeserver_test.go:105: fakeServer exiting: EOF ---- PASS: TestSMTPErrors (5.33s) +--- PASS: TestSMTPErrors (3.96s) === RUN TestNoMXServer - testlib.go:32: test directory: "/tmp/testlib_1492932164" + testlib.go:32: test directory: "/tmp/testlib_862255383" _ smtp.go:82 Courier.SMTP to@to: error: Could not find mail server: smtp_test.go:158: got permanent failure, as expected: Could not find mail server: --- PASS: TestNoMXServer (0.00s) @@ -870,8 +906,8 @@ === RUN TestLookupInvalidDomain --- PASS: TestLookupInvalidDomain (0.00s) === RUN TestTLS - testlib.go:32: test directory: "/tmp/testlib_2673615430" - testlib.go:32: test directory: "/tmp/testlib_4178726608" + testlib.go:32: test directory: "/tmp/testlib_3910014070" + testlib.go:32: test directory: "/tmp/testlib_1162028739" fakeserver_test.go:98: fakeServer got connection fakeserver_test.go:109: fakeServer read: "EHLO hello" fakeserver_test.go:109: fakeServer read: "STARTTLS" @@ -882,7 +918,7 @@ fakeserver_test.go:109: fakeServer read: "DATA" fakeserver_test.go:109: fakeServer read: "QUIT" fakeserver_test.go:105: fakeServer exiting: EOF - testlib.go:32: test directory: "/tmp/testlib_1428626266" + testlib.go:32: test directory: "/tmp/testlib_288533667" fakeserver_test.go:98: fakeServer got connection fakeserver_test.go:109: fakeServer read: "EHLO hello" _ domaininfo.go:145 DomainInfo.Outgoing to: error: to outgoing denied: PLAIN < TLS_INSECURE @@ -890,26 +926,26 @@ _ smtp.go:101 Courier.SMTP to@to: error: \"localhost\" returned transient error: Security level check failed (level:PLAIN) _ smtp.go:105 Courier.SMTP to@to: error: all MXs returned transient failures (last: Security level check failed (level:PLAIN)) fakeserver_test.go:105: fakeServer exiting: EOF ---- PASS: TestTLS (1.95s) +--- PASS: TestTLS (1.06s) === RUN TestTLSError - testlib.go:32: test directory: "/tmp/testlib_3831623507" - testlib.go:32: test directory: "/tmp/testlib_3399904502" + testlib.go:32: test directory: "/tmp/testlib_3397609843" + testlib.go:32: test directory: "/tmp/testlib_4017443065" fakeserver_test.go:98: fakeServer got connection fakeserver_test.go:109: fakeServer read: "EHLO hello" fakeserver_test.go:109: fakeServer read: "STARTTLS" _ smtp.go:171 Courier.SMTP to@to: error: TLS error, retrying without TLS: 500 starttls err - fakeserver_test.go:105: fakeServer exiting: EOF fakeserver_test.go:98: fakeServer got connection + fakeserver_test.go:105: fakeServer exiting: EOF fakeserver_test.go:109: fakeServer read: "EHLO hello" fakeserver_test.go:109: fakeServer read: "MAIL FROM:" fakeserver_test.go:109: fakeServer read: "RCPT TO:" fakeserver_test.go:109: fakeServer read: "DATA" fakeserver_test.go:109: fakeServer read: "QUIT" fakeserver_test.go:105: fakeServer exiting: EOF ---- PASS: TestTLSError (0.97s) +--- PASS: TestTLSError (1.15s) === RUN TestSTSPolicyEnforcement - testlib.go:32: test directory: "/tmp/testlib_2257782990" - testlib.go:32: test directory: "/tmp/testlib_235483248" + testlib.go:32: test directory: "/tmp/testlib_2570048847" + testlib.go:32: test directory: "/tmp/testlib_196188126" fakeserver_test.go:98: fakeServer got connection fakeserver_test.go:109: fakeServer read: "EHLO hello" fakeserver_test.go:109: fakeServer read: "STARTTLS" @@ -917,7 +953,7 @@ _ domaininfo.go:153 DomainInfo.Outgoing to: to outgoing level raised: TLS_INSECURE > PLAIN _ smtp.go:194 test test: error: invalid security level (TLS_INSECURE) for STS policy fakeserver_test.go:105: fakeServer exiting: EOF - testlib.go:32: test directory: "/tmp/testlib_2453823186" + testlib.go:32: test directory: "/tmp/testlib_3099892389" fakeserver_test.go:98: fakeServer got connection fakeserver_test.go:109: fakeServer read: "EHLO hello" fakeserver_test.go:109: fakeServer read: "STARTTLS" @@ -928,9 +964,9 @@ fakeserver_test.go:109: fakeServer read: "DATA" fakeserver_test.go:109: fakeServer read: "QUIT" fakeserver_test.go:105: fakeServer exiting: EOF ---- PASS: TestSTSPolicyEnforcement (1.44s) +--- PASS: TestSTSPolicyEnforcement (1.61s) PASS -ok blitiri.com.ar/go/chasquid/internal/courier 10.638s +ok blitiri.com.ar/go/chasquid/internal/courier 8.269s === RUN TestStringToCanonicalization --- PASS: TestStringToCanonicalization (0.00s) === RUN TestSimpleBody @@ -956,7 +992,7 @@ === RUN TestSkipBadRecords --- PASS: TestSkipBadRecords (0.00s) === RUN TestParsePublicKey ---- PASS: TestParsePublicKey (0.03s) +--- PASS: TestParsePublicKey (0.02s) === RUN TestPublicKeyMatches --- PASS: TestPublicKeyMatches (0.00s) === RUN TestStrictDomainCheck @@ -966,7 +1002,7 @@ file_test.go:50: Loaded DNS results: map[string][]string{"brisbane._domainkey.football.example.com":[]string{" v=DKIM1; k=ed25519; p=11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo="}, "test._domainkey.football.example.com":[]string{" v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkHlOQoBTzWRiGs5V6NpP3idY6Wk08a5qhdR6wy5bdOKb2jLQiY/J16JYi0Qvx/byYzCNb3W91y3FutACDfzwQ/BC/e/8uBsCR+yz1Lxj+PL6lHvqMKrM3rG4hstT5QjvHO9PzoxZyVYLzBfO2EeC3Ip3G+2kryOTIKT+l/K4w3QIDAQAB"}} file_test.go:50: Loaded DNS errors: map[] file_test.go:55: Message: "DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed;\r\n " - file_test.go:56: Want result: &{Found:2 Valid:2 Results:[0x1207890 0x12078c0]} + file_test.go:56: Want result: &{Found:2 Valid:2 Results:[0x2600600 0x2600630]} file_test.go:57: Want error: context.go:17: Found DKIM-Signature header: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=football.example.com; i=@football.example.com; @@ -1010,7 +1046,7 @@ file_test.go:50: Loaded DNS results: map[string][]string{"brisbane._domainkey.football.example.com":[]string{" v=DKIM1; k=ed25519; p=11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo="}, "test._domainkey.football.example.com":[]string{" v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkHlOQoBTzWRiGs5V6NpP3idY6Wk08a5qhdR6wy5bdOKb2jLQiY/J16JYi0Qvx/byYzCNb3W91y3FutACDfzwQ/BC/e/8uBsCR+yz1Lxj+PL6lHvqMKrM3rG4hstT5QjvHO9PzoxZyVYLzBfO2EeC3Ip3G+2kryOTIKT+l/K4w3QIDAQAB"}} file_test.go:50: Loaded DNS errors: map[] file_test.go:55: Message: "DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed;\r\n " - file_test.go:56: Want result: &{Found:5 Valid:5 Results:[0x1207c20 0x1207c50 0x1207c80 0x1207cb0 0x1207ce0]} + file_test.go:56: Want result: &{Found:5 Valid:5 Results:[0x25a4240 0x25a4270 0x25a42a0 0x25a42d0 0x25a4300]} file_test.go:57: Want error: context.go:17: Found DKIM-Signature header: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=football.example.com; i=@football.example.com; @@ -1122,7 +1158,7 @@ file_test.go:50: Loaded DNS results: map[string][]string{} file_test.go:50: Loaded DNS errors: map[] file_test.go:55: Message: "DKIM-Signature: v=8; a=ed25519-sha256; c=relaxed/relaxed;\r\n " - file_test.go:56: Want result: &{Found:1 Valid:0 Results:[0x12aa2a0]} + file_test.go:56: Want result: &{Found:1 Valid:0 Results:[0x25a47b0]} file_test.go:57: Want error: context.go:17: Found DKIM-Signature header: v=8; a=ed25519-sha256; c=relaxed/relaxed; d=football.example.com; i=@football.example.com; @@ -1136,7 +1172,7 @@ file_test.go:50: Loaded DNS results: map[string][]string{"test._domainkey.football.example.com":[]string{" v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkHlOQoBTzWRiGs5V6NpP3idY6Wk08a5qhdR6wy5bdOKb2jLQiY/J16JYi0Qvx/byYzCNb3W91y3FutACDfzwQ/BC/e/8uBsCR+yz1Lxj+PL6lHvqMKrM3rG4hstT5QjvHO9PzoxZyVYLzBfO2EeC3Ip3G+2kryOTIKT+l/K4w3QIDAQAB"}} file_test.go:50: Loaded DNS errors: map[brisbane._domainkey.football.example.com:lookup : temporary error (for testing)] file_test.go:55: Message: "DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed;\r\n " - file_test.go:56: Want result: &{Found:2 Valid:1 Results:[0x12aa450 0x12aa480]} + file_test.go:56: Want result: &{Found:2 Valid:1 Results:[0x25a4960 0x25a4990]} file_test.go:57: Want error: context.go:17: Found DKIM-Signature header: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=football.example.com; i=@football.example.com; @@ -1170,7 +1206,7 @@ file_test.go:50: Loaded DNS results: map[string][]string{"test._domainkey.football.example.com":[]string{" v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkHlOQoBTzWRiGs5V6NpP3idY6Wk08a5qhdR6wy5bdOKb2jLQiY/J16JYi0Qvx/byYzCNb3W91y3FutACDfzwQ/BC/e/8uBsCR+yz1Lxj+PL6lHvqMKrM3rG4hstT5QjvHO9PzoxZyVYLzBfO2EeC3Ip3G+2kryOTIKT+l/K4w3QIDAQAB"}} file_test.go:50: Loaded DNS errors: map[brisbane._domainkey.football.example.com:lookup : permanent error (for testing)] file_test.go:55: Message: "DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed;\r\n " - file_test.go:56: Want result: &{Found:2 Valid:1 Results:[0x12aa720 0x12aa750]} + file_test.go:56: Want result: &{Found:2 Valid:1 Results:[0x25a4c30 0x25a4c60]} file_test.go:57: Want error: context.go:17: Found DKIM-Signature header: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=football.example.com; i=@football.example.com; @@ -1204,7 +1240,7 @@ file_test.go:50: Loaded DNS results: map[string][]string{"brisbane._domainkey.football.example.com":[]string{" v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkHlOQoBTzWRiGs5V6NpP3idY6Wk08a5qhdR6wy5bdOKb2jLQiY/J16JYi0Qvx/byYzCNb3W91y3FutACDfzwQ/BC/e/8uBsCR+yz1Lxj+PL6lHvqMKrM3rG4hstT5QjvHO9PzoxZyVYLzBfO2EeC3Ip3G+2kryOTIKT+l/K4w3QIDAQAB", " v=DKIM1; k=ed25519; p=11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo="}, "test._domainkey.football.example.com":[]string{" v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkHlOQoBTzWRiGs5V6NpP3idY6Wk08a5qhdR6wy5bdOKb2jLQiY/J16JYi0Qvx/byYzCNb3W91y3FutACDfzwQ/BC/e/8uBsCR+yz1Lxj+PL6lHvqMKrM3rG4hstT5QjvHO9PzoxZyVYLzBfO2EeC3Ip3G+2kryOTIKT+l/K4w3QIDAQAB"}} file_test.go:50: Loaded DNS errors: map[] file_test.go:55: Message: "DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed;\r\n " - file_test.go:56: Want result: &{Found:2 Valid:2 Results:[0x12aa9c0 0x12aa9f0]} + file_test.go:56: Want result: &{Found:2 Valid:2 Results:[0x25a4ed0 0x25a4f00]} file_test.go:57: Want error: context.go:17: Found DKIM-Signature header: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=football.example.com; i=@football.example.com; @@ -1251,7 +1287,7 @@ file_test.go:50: Loaded DNS results: map[string][]string{"brisbane._domainkey.football.example.com":[]string{" v=DKIM1; k=ed25519; p=11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo="}, "selector._domainkey.example.com":[]string{" v=DKIM1; k=ed25519; p=SvoPT692bVrQBT8UNxt6SF538O3snA4fE3/i/glCxwQ="}, "test._domainkey.football.example.com":[]string{" v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkHlOQoBTzWRiGs5V6NpP3idY6Wk08a5qhdR6wy5bdOKb2jLQiY/J16JYi0Qvx/byYzCNb3W91y3FutACDfzwQ/BC/e/8uBsCR+yz1Lxj+PL6lHvqMKrM3rG4hstT5QjvHO9PzoxZyVYLzBfO2EeC3Ip3G+2kryOTIKT+l/K4w3QIDAQAB"}} file_test.go:50: Loaded DNS errors: map[] file_test.go:55: Message: "DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed;\r\n " - file_test.go:56: Want result: &{Found:3 Valid:3 Results:[0x12aacc0 0x12aacf0 0x12aad20]} + file_test.go:56: Want result: &{Found:3 Valid:3 Results:[0x25a51d0 0x25a5200 0x25a5230]} file_test.go:57: Want error: context.go:17: Found DKIM-Signature header: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=example.com; s=selector; t=1709341950; @@ -1311,7 +1347,7 @@ file_test.go:50: Loaded DNS results: map[string][]string{"brisbane._domainkey.football.example.com":[]string{" v=DKIM1; k=ed25519; p=11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo="}, "selector._domainkey.example.com":[]string{" v=DKIM1; k=ed25519; p=SvoPT692bVrQBT8UNxt6SF538O3snA4fE3/i/glCxwQ="}, "test._domainkey.football.example.com":[]string{" v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkHlOQoBTzWRiGs5V6NpP3idY6Wk08a5qhdR6wy5bdOKb2jLQiY/J16JYi0Qvx/byYzCNb3W91y3FutACDfzwQ/BC/e/8uBsCR+yz1Lxj+PL6lHvqMKrM3rG4hstT5QjvHO9PzoxZyVYLzBfO2EeC3Ip3G+2kryOTIKT+l/K4w3QIDAQAB"}} file_test.go:50: Loaded DNS errors: map[] file_test.go:55: Message: "DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed;\r\n " - file_test.go:56: Want result: &{Found:3 Valid:3 Results:[0x12ab080 0x12ab0b0 0x12ab0e0]} + file_test.go:56: Want result: &{Found:3 Valid:3 Results:[0x25a5590 0x25a55c0 0x25a55f0]} file_test.go:57: Want error: context.go:17: Found DKIM-Signature header: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=example.com; s=selector; t=1709368031; @@ -1371,7 +1407,7 @@ file_test.go:50: Loaded DNS results: map[string][]string{"brisbane._domainkey.football.example.com":[]string{" v=DKIM1; k=ed25519; t=s; p=11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo="}, "test._domainkey.football.example.com":[]string{" v=DKIM1; k=rsa; t=s; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkHlOQoBTzWRiGs5V6NpP3idY6Wk08a5qhdR6wy5bdOKb2jLQiY/J16JYi0Qvx/byYzCNb3W91y3FutACDfzwQ/BC/e/8uBsCR+yz1Lxj+PL6lHvqMKrM3rG4hstT5QjvHO9PzoxZyVYLzBfO2EeC3Ip3G+2kryOTIKT+l/K4w3QIDAQAB"}} file_test.go:50: Loaded DNS errors: map[] file_test.go:55: Message: "DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed;\r\n " - file_test.go:56: Want result: &{Found:2 Valid:2 Results:[0x12ab4a0 0x12ab4d0]} + file_test.go:56: Want result: &{Found:2 Valid:2 Results:[0x25a59b0 0x25a59e0]} file_test.go:57: Want error: context.go:17: Found DKIM-Signature header: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=football.example.com; i=@football.example.com; @@ -1417,7 +1453,7 @@ file_test.go:50: Loaded DNS results: map[string][]string{"selector._domainkey.example.com":[]string{" v=DKIM1; k=ed25519; t=s; p=SvoPT692bVrQBT8UNxt6SF538O3snA4fE3/i/glCxwQ="}} file_test.go:50: Loaded DNS errors: map[] file_test.go:55: Message: "DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed;\r\n " - file_test.go:56: Want result: &{Found:1 Valid:0 Results:[0x12ab770]} + file_test.go:56: Want result: &{Found:1 Valid:0 Results:[0x25a5c80]} file_test.go:57: Want error: context.go:17: Found DKIM-Signature header: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=example.com; s=selector; t=1709466347; @@ -1438,14 +1474,14 @@ context.go:17: Resulting hash: "kFTkVTyR9JWKX/Stl1+sUIuAgitRiOf7MwTBy5a2/ZA=" context.go:17: PK [ed25519:4afa0f4faf766d5a]: Strict domain check failed: "example.com" != "sub.example.com" ("test@sub.example.com") context.go:17: Found 1 signatures, 0 valid ---- PASS: TestFromFiles (0.11s) - --- PASS: TestFromFiles/testdata/01-rfc8463 (0.02s) - --- PASS: TestFromFiles/testdata/02-too_many_headers (0.02s) +--- PASS: TestFromFiles (0.09s) + --- PASS: TestFromFiles/testdata/01-rfc8463 (0.01s) + --- PASS: TestFromFiles/testdata/02-too_many_headers (0.01s) --- PASS: TestFromFiles/testdata/03-bad_message (0.00s) --- PASS: TestFromFiles/testdata/04-bad_dkim_signature_header (0.00s) --- PASS: TestFromFiles/testdata/05-dns_temp_error (0.01s) --- PASS: TestFromFiles/testdata/06-dns_perm_error (0.01s) - --- PASS: TestFromFiles/testdata/07-algo_mismatch (0.01s) + --- PASS: TestFromFiles/testdata/07-algo_mismatch (0.00s) --- PASS: TestFromFiles/testdata/08-our_signature (0.01s) --- PASS: TestFromFiles/testdata/09-limited_body (0.01s) --- PASS: TestFromFiles/testdata/10-strict_domain_check_pass (0.01s) @@ -1473,18 +1509,18 @@ context.go:17: Hashing header: "date:Fri, 11 Jul 2003 21:00:37 -0700 (PDT)\r\n" context.go:17: Hashing header: "to:Suzie Q \r\n" context.go:17: Hashing header: "message-id:<20030712040037.46341.5F8J@football.example.com>\r\n" - context.go:17: Hashing header: "dkim-signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.com; s=test; t=1744684158; h=from:subject:date:to:message-id:from:subject:date:to:cc:message-id; bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=; b=;" - context.go:17: Resulting hash: "Miem38SQtUKfezSMKPBp6GXMIn8LT9BpB6bmPdf20dE=" + context.go:17: Hashing header: "dkim-signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.com; s=test; t=1744684476; h=from:subject:date:to:message-id:from:subject:date:to:cc:message-id; bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=; b=;" + context.go:17: Resulting hash: "+wtn5gaOKLfiJTSu2TIsru2X/7Js+TsXDQ9YbLaThsw=" context.go:17: Found DKIM-Signature header: v=1; a=rsa-sha256; c=relaxed/relaxed; - d=example.com; s=test; t=1744684158; + d=example.com; s=test; t=1744684476; h=from:subject:date:to:message-id:from:subject:date:to:cc:message-id; bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=; - b=XdKhkZu2FTFKSt3OCCsNENQe1cC7NjZd7XgtzcLnI2LLPOwUVCMJfUqbNqqUnbOFSF3rqw - KTl4oRJpu3KSTtRz1mBa3hky3tDIUAAl+6SpD61NQV8uTE6dRjXXCJcfGZArXw5X5D1scX - 6Ba4kBVHjBki4BJE+bz8nU4YX4Eb9mfDzwUJuHX+Y/QnrlQESOzAr21h0Fsoxbz8MWBN/J - OTXAclOUbLLRIuX0YBI89bs0X43+2vRAWpO2S64cgrBnkLRi7b1RG2IJRraZwDbiV0+osV - 2g45iGeo/p+OnFKvPGW+Fa5gbikXv6ivzAOmRVrOEvQN3+iYjbBGkIJgC3jwGw==; - context.go:17: TXT record for "test._domainkey.example.com": "v=DKIM1; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArXKe0Vvy1t63EiGZgkXckB8QMxBMCU/dO8baY/IzC9wBmcQmsT+vThY0pTyd8Yt/SYkaoGZBaN5Z1FO3vouwjLjAfo1kbthL3j0gLGPT1MptkHZ6AZ0c6Juw+Mr5mFDJMd+HE16EZzVNHV/3K7p/1WFv1UAX/wX2ET0YETA62qaM5T8evhOvOw3XfQr5/SCAn8Tkgh6INQ+Zx4i4J1ttm4QaeC05Ftb6/JXikWTtO7cvcu/Fpr1VgwHzPB6rdsm0mbzi+Bku2HAjEKGfwy0COqDICWFDdiU5cK9KTxKyxRUJOoqxRTA9GgFE1onoCMMoaPB5y8HCNYVO5qFqxwk41wIDAQAB" + b=cdIurIy3H3YDpoK7ALAwkFBI9335rpb1lYU+sG7NJM9ldc2DKTZ5a4s4euFLOcChNPd00C + VfiO9ARBngw+/s4Q4Ydokf66imKw9M5hvEZHcoZJby19jmbvn69kE1uHmDVQBqZhhSiCQt + w37LdFuMYy70lSXAuVHFAbKfDqfQuHsKy96x1wP1e0DiGDzq1PktoxsVCZBkZJANHHO67H + oi8+223q/RUlQhsAVsjy0IA9eDZPIMGvEuN5IwvpEamJm/sW752XUfT0i8I/gPCBTY2K05 + 1RjW14RkMDU3mKgiYI+ZBiUBc9wPKDO5+BuUuD7U7uVOlBLJV2a2hX2a0Yx8PA==; + context.go:17: TXT record for "test._domainkey.example.com": "v=DKIM1; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAua3b/xZXrnq8quSd3pE+Dqiq+fcJYrp2JAl6SygzmTTG03XYJWKj/5k7UrU3tz0b4ImFkqAg8n1J/UPdJujmRaM2VgYMDbXdEBGjY8cWb8YVXf/hmzAZaTu+3w3Zu4mdcy+SyqwBAzGod/wHCfPh6E39flDn7o7TRhsppkSlENY7qEPKOClDHH1ueKiiX9z3PTcbriGbAUu6Y3tNmf4jntu/9fErgL7MGOOdfVTM/rG53ND2eh/yWSSY9I7Xl73M2yCzFLbAjJcyYHPYcnKlJXaZQPSu4mVf8IbqxfZcBTlL9Hv9TXaDnK8xQL0Za1LXMoc/Yjkffu7tGEKJ9k8m+wIDAQAB" context.go:17: Parsed public key: [rsa:30820122300d0609] context.go:17: Body hash matches: "2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=" context.go:17: Hashing header: "from:Joe SixPack \r\n" @@ -1492,11 +1528,11 @@ context.go:17: Hashing header: "date:Fri, 11 Jul 2003 21:00:37 -0700 (PDT)\r\n" context.go:17: Hashing header: "to:Suzie Q \r\n" context.go:17: Hashing header: "message-id:<20030712040037.46341.5F8J@football.example.com>\r\n" - context.go:17: Hashing header: "dkim-signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.com; s=test; t=1744684158; h=from:subject:date:to:message-id:from:subject:date:to:cc:message-id; bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=; b=;" - context.go:17: Resulting hash: "Miem38SQtUKfezSMKPBp6GXMIn8LT9BpB6bmPdf20dE=" + context.go:17: Hashing header: "dkim-signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.com; s=test; t=1744684476; h=from:subject:date:to:message-id:from:subject:date:to:cc:message-id; bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=; b=;" + context.go:17: Resulting hash: "+wtn5gaOKLfiJTSu2TIsru2X/7Js+TsXDQ9YbLaThsw=" context.go:17: PK [rsa:30820122300d0609]: Verification succeeded context.go:17: Found 1 signatures, 1 valid ---- PASS: TestSignRSA (6.95s) +--- PASS: TestSignRSA (2.23s) === RUN TestSignEd25519 context.go:17: Signing for example.com / test with ed25519-sha256 context.go:17: Hashing header: "from:Joe SixPack \r\n" @@ -1504,27 +1540,27 @@ context.go:17: Hashing header: "date:Fri, 11 Jul 2003 21:00:37 -0700 (PDT)\r\n" context.go:17: Hashing header: "to:Suzie Q \r\n" context.go:17: Hashing header: "message-id:<20030712040037.46341.5F8J@football.example.com>\r\n" - context.go:17: Hashing header: "dkim-signature:v=1; a=ed25519-sha256; c=relaxed/relaxed; d=example.com; s=test; t=1744684158; h=from:subject:date:to:message-id:from:subject:date:to:cc:message-id; bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=; b=;" - context.go:17: Resulting hash: "ego7IVjKzsHI6Ued6DRlk+ROVPiQKm1IWz6XiLyDCyg=" + context.go:17: Hashing header: "dkim-signature:v=1; a=ed25519-sha256; c=relaxed/relaxed; d=example.com; s=test; t=1744684476; h=from:subject:date:to:message-id:from:subject:date:to:cc:message-id; bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=; b=;" + context.go:17: Resulting hash: "fZQn4qyKCbpJqntZ9BhXPFeiPbXAGNiQxyLhMccuu5s=" context.go:17: Found DKIM-Signature header: v=1; a=ed25519-sha256; c=relaxed/relaxed; - d=example.com; s=test; t=1744684158; + d=example.com; s=test; t=1744684476; h=from:subject:date:to:message-id:from:subject:date:to:cc:message-id; bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=; - b=CEWnfGpzGioFVu30bUUZELoGgfjqLu0GURz14NHOy5+nxTciO8xp4DjuxqtrwrmlWYh10K - jlZRzxKDNihHObCg==; - context.go:17: TXT record for "test._domainkey.example.com": "v=DKIM1; k=ed25519; p=o3ZDkjwJcnCFsvjpQvGp6hmkYQ7KQWCUBbhX2tRg/w4=" - context.go:17: Parsed public key: [ed25519:a37643923c097270] + b=Fo4MD6w84LvN5NXyAJ3Onc9xBZYF1bp4vaVxRb6K6GhK6LrzFwgEEZoAYfg7Apw0Z7NByX + xA1QDUICfCaIsVBg==; + context.go:17: TXT record for "test._domainkey.example.com": "v=DKIM1; k=ed25519; p=/jl8Z0S6VfQhbhbN+/fkyy6A5ItBrjNtrS4WYpUcoeA=" + context.go:17: Parsed public key: [ed25519:fe397c6744ba55f4] context.go:17: Body hash matches: "2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=" context.go:17: Hashing header: "from:Joe SixPack \r\n" context.go:17: Hashing header: "subject:Is dinner ready?\r\n" context.go:17: Hashing header: "date:Fri, 11 Jul 2003 21:00:37 -0700 (PDT)\r\n" context.go:17: Hashing header: "to:Suzie Q \r\n" context.go:17: Hashing header: "message-id:<20030712040037.46341.5F8J@football.example.com>\r\n" - context.go:17: Hashing header: "dkim-signature:v=1; a=ed25519-sha256; c=relaxed/relaxed; d=example.com; s=test; t=1744684158; h=from:subject:date:to:message-id:from:subject:date:to:cc:message-id; bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=; b=;" - context.go:17: Resulting hash: "ego7IVjKzsHI6Ued6DRlk+ROVPiQKm1IWz6XiLyDCyg=" - context.go:17: PK [ed25519:a37643923c097270]: Verification succeeded + context.go:17: Hashing header: "dkim-signature:v=1; a=ed25519-sha256; c=relaxed/relaxed; d=example.com; s=test; t=1744684476; h=from:subject:date:to:message-id:from:subject:date:to:cc:message-id; bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=; b=;" + context.go:17: Resulting hash: "fZQn4qyKCbpJqntZ9BhXPFeiPbXAGNiQxyLhMccuu5s=" + context.go:17: PK [ed25519:fe397c6744ba55f4]: Verification succeeded context.go:17: Found 1 signatures, 1 valid ---- PASS: TestSignEd25519 (0.06s) +--- PASS: TestSignEd25519 (0.03s) === RUN TestSignBadMessage --- PASS: TestSignBadMessage (0.00s) === RUN TestSignBadAlgorithm @@ -1721,25 +1757,25 @@ --- PASS: FuzzParsePublicKey/seed#12 (0.00s) --- PASS: FuzzParsePublicKey/seed#13 (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/dkim 7.201s +ok blitiri.com.ar/go/chasquid/internal/dkim 2.395s === RUN TestBasic - testlib.go:32: test directory: "/tmp/testlib_443097124" + testlib.go:32: test directory: "/tmp/testlib_186807344" _ domaininfo.go:117 DomainInfo.Incoming d1: d1 incoming level raised: TLS_SECURE > PLAIN _ domaininfo.go:109 DomainInfo.Incoming d1: error: d1 incoming denied: TLS_INSECURE < TLS_SECURE _ domaininfo.go:153 DomainInfo.Outgoing d1: d1 outgoing level raised: TLS_SECURE > PLAIN _ domaininfo.go:145 DomainInfo.Outgoing d1: error: d1 outgoing denied: TLS_INSECURE < TLS_SECURE _ domaininfo.go:109 DomainInfo.Incoming d1: error: d1 incoming denied: TLS_INSECURE < TLS_SECURE _ domaininfo.go:182 DomainInfo.SetToPlain d1: set to plain ---- PASS: TestBasic (0.01s) +--- PASS: TestBasic (0.02s) === RUN TestNewDomain - testlib.go:32: test directory: "/tmp/testlib_3578678467" + testlib.go:32: test directory: "/tmp/testlib_1008923853" _ domaininfo.go:153 DomainInfo.Outgoing insecure: insecure outgoing level raised: TLS_INSECURE > PLAIN _ domaininfo.go:117 DomainInfo.Incoming insecure: insecure incoming level raised: TLS_INSECURE > PLAIN _ domaininfo.go:153 DomainInfo.Outgoing secure: secure outgoing level raised: TLS_SECURE > PLAIN _ domaininfo.go:117 DomainInfo.Incoming secure: secure incoming level raised: TLS_SECURE > PLAIN --- PASS: TestNewDomain (0.00s) === RUN TestProgressions - testlib.go:32: test directory: "/tmp/testlib_651624222" + testlib.go:32: test directory: "/tmp/testlib_3015306304" _ domaininfo.go:117 DomainInfo.Incoming pisis: pisis incoming level raised: TLS_INSECURE > PLAIN _ domaininfo.go:153 DomainInfo.Outgoing pisis: pisis outgoing level raised: TLS_INSECURE > PLAIN _ domaininfo.go:117 DomainInfo.Incoming pisis: pisis incoming level raised: TLS_SECURE > TLS_INSECURE @@ -1752,29 +1788,29 @@ _ domaininfo.go:145 DomainInfo.Outgoing ssip: error: ssip outgoing denied: TLS_INSECURE < TLS_SECURE _ domaininfo.go:109 DomainInfo.Incoming ssip: error: ssip incoming denied: PLAIN < TLS_SECURE _ domaininfo.go:145 DomainInfo.Outgoing ssip: error: ssip outgoing denied: PLAIN < TLS_SECURE ---- PASS: TestProgressions (0.01s) +--- PASS: TestProgressions (0.00s) === RUN TestErrors - testlib.go:32: test directory: "/tmp/testlib_2346998497" + testlib.go:32: test directory: "/tmp/testlib_3867751049" _ domaininfo.go:117 DomainInfo.Incoming d1: d1 incoming level raised: TLS_SECURE > PLAIN _ domaininfo.go:67 DomainInfo.Reload reload: error: id \"d1\": proto:\u00a0syntax error (line 1:1): invalid field name: invalid-text-protobuf-contents _ domaininfo.go:67 DomainInfo.Reload reload: error: id \"d1\": proto:\u00a0syntax error (line 1:1): invalid field name: invalid-text-protobuf-contents --- PASS: TestErrors (0.00s) === RUN TestDirectoryErrors - testlib.go:32: test directory: "/tmp/testlib_747220353" -_ domaininfo.go:59 DomainInfo.Reload reload: error: open /tmp/testlib_747220353/db: no such file or directory -_ domaininfo.go:84 DomainInfo.write d1: error: open /tmp/testlib_747220353/db/.s:d198803222: no such file or directory + testlib.go:32: test directory: "/tmp/testlib_2741688294" +_ domaininfo.go:59 DomainInfo.Reload reload: error: open /tmp/testlib_2741688294/db: no such file or directory +_ domaininfo.go:84 DomainInfo.write d1: error: open /tmp/testlib_2741688294/db/.s:d13474894788: no such file or directory --- PASS: TestDirectoryErrors (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/domaininfo 0.041s +ok blitiri.com.ar/go/chasquid/internal/domaininfo 0.037s === RUN TestUsernameNotSafe --- PASS: TestUsernameNotSafe (0.00s) === RUN TestAutodetect - testlib.go:32: test directory: "/tmp/testlib_3333014662" + testlib.go:32: test directory: "/tmp/testlib_2358594667" --- PASS: TestAutodetect (0.00s) === RUN TestReload --- PASS: TestReload (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/dovecot 0.018s +ok blitiri.com.ar/go/chasquid/internal/dovecot 0.015s === RUN TestSplit --- PASS: TestSplit (0.00s) === RUN TestDomainIn @@ -1782,13 +1818,13 @@ === RUN TestAddHeader --- PASS: TestAddHeader (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/envelope 0.008s +ok blitiri.com.ar/go/chasquid/internal/envelope 0.027s === RUN TestHandler --- PASS: TestHandler (0.00s) === RUN TestMapLabelAccident --- PASS: TestMapLabelAccident (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/expvarom 0.015s +ok blitiri.com.ar/go/chasquid/internal/expvarom 0.016s === RUN TestNoNewline --- PASS: TestNoNewline (0.00s) === RUN TestBasic @@ -1813,21 +1849,21 @@ haproxy_test.go:69: testing 18: PROXY TCP6 5::5 6::6 7777 8888 --- PASS: TestBasic (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/haproxy 0.022s +ok blitiri.com.ar/go/chasquid/internal/haproxy 0.019s === RUN TestBadServer - asm_arm.s:884: FakeServer &{{0x24760f0}}: accepted - asm_arm.s:884: FakeServer &{{0x24760f0}}: readRequest: "" "" / EOF - asm_arm.s:884: FakeServer &{{0x24760f0}}: writeMessage("xxx"): 0 write unix /tmp/rpc-test-2489956217/rpc.sock->@: write: broken pipe - asm_arm.s:884: FakeServer &{{0x24760f0}}: closing - asm_arm.s:884: FakeServer &{{0x2476140}}: accepted - asm_arm.s:884: FakeServer &{{0x2476140}}: readRequest: "Echo" "" / - asm_arm.s:884: FakeServer &{{0x2476140}}: writeMessage("xxx"): 3 - asm_arm.s:884: FakeServer &{{0x2476140}}: closing ---- PASS: TestBadServer (0.02s) + asm_arm.s:884: FakeServer &{{0x11860f0}}: accepted + asm_arm.s:884: FakeServer &{{0x11860f0}}: readRequest: "" "" / EOF + asm_arm.s:884: FakeServer &{{0x11860f0}}: writeMessage("xxx"): 0 write unix /tmp/rpc-test-2637154347/rpc.sock->@: write: broken pipe + asm_arm.s:884: FakeServer &{{0x11860f0}}: closing + asm_arm.s:884: FakeServer &{{0x1186140}}: accepted + asm_arm.s:884: FakeServer &{{0x1186140}}: readRequest: "Echo" "" / + asm_arm.s:884: FakeServer &{{0x1186140}}: writeMessage("xxx"): 3 + asm_arm.s:884: FakeServer &{{0x1186140}}: closing +--- PASS: TestBadServer (0.01s) === RUN TestBadSocket --- PASS: TestBadSocket (0.00s) === RUN TestEndToEnd -_ localrpc.go:63 LocalRPC.Server /tmp/rpc-test-458517482/sock: Listening +_ localrpc.go:63 LocalRPC.Server /tmp/rpc-test-902399027/sock: Listening === RUN TestEndToEnd/Echo === RUN TestEndToEnd/Echo#01 === RUN TestEndToEnd/Hola @@ -1835,8 +1871,8 @@ _ localrpc.go:139 LocalRPC.Handle @: error: -> 500 test error === RUN TestEndToEnd/UnknownMethod _ localrpc.go:139 LocalRPC.Handle @: error: -> 500 unknown method -_ localrpc.go:67 LocalRPC.Server /tmp/rpc-test-458517482/sock: error: Accept error: accept unix /tmp/rpc-test-458517482/sock: use of closed network connection ---- PASS: TestEndToEnd (0.02s) +_ localrpc.go:67 LocalRPC.Server /tmp/rpc-test-902399027/sock: error: Accept error: accept unix /tmp/rpc-test-902399027/sock: use of closed network connection +--- PASS: TestEndToEnd (0.01s) --- PASS: TestEndToEnd/Echo (0.00s) --- PASS: TestEndToEnd/Echo#01 (0.00s) --- PASS: TestEndToEnd/Hola (0.00s) @@ -1846,11 +1882,11 @@ --- PASS: TestListenError (0.00s) === RUN TestServerBadRequest _ localrpc.go:139 LocalRPC.Handle pipe: error: -> 500 invalid semicolon separator in query ---- PASS: TestServerBadRequest (0.00s) +--- PASS: TestServerBadRequest (0.01s) === RUN TestShortReadRequest --- PASS: TestShortReadRequest (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/localrpc 0.089s +ok blitiri.com.ar/go/chasquid/internal/localrpc 0.061s === RUN TestLogger --- PASS: TestLogger (0.00s) === RUN TestDefault @@ -1858,7 +1894,7 @@ === RUN TestFailedLogger --- PASS: TestFailedLogger (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/maillog 0.028s +ok blitiri.com.ar/go/chasquid/internal/maillog 0.013s === RUN TestContext --- PASS: TestContext (0.00s) === RUN TestHistogramBasic @@ -1866,15 +1902,15 @@ === RUN TestHistogramEmpty --- PASS: TestHistogramEmpty (0.00s) === RUN TestHTTP ---- PASS: TestHTTP (0.05s) +--- PASS: TestHTTP (0.02s) === RUN TestHTTPLong ---- PASS: TestHTTPLong (0.02s) +--- PASS: TestHTTPLong (0.01s) === RUN TestHTTPErrors ---- PASS: TestHTTPErrors (0.06s) +--- PASS: TestHTTPErrors (0.02s) === RUN TestHTTPUroboro ---- PASS: TestHTTPUroboro (0.07s) +--- PASS: TestHTTPUroboro (0.04s) === RUN TestHTTPDeep ---- PASS: TestHTTPDeep (0.03s) +--- PASS: TestHTTPDeep (0.02s) === RUN TestStripZeros --- PASS: TestStripZeros (0.00s) === RUN TestRegisterHandler @@ -1894,7 +1930,7 @@ === RUN TestFindParent --- PASS: TestFindParent (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/nettrace 0.259s +ok blitiri.com.ar/go/chasquid/internal/nettrace 0.141s === RUN TestUser --- PASS: TestUser (0.00s) === RUN TestDomain @@ -1911,7 +1947,7 @@ === RUN FuzzUser/6d603c8b9fbe8b9aa021dbde499ec1b3a00922b9338c68b2984cd314c3d5e633 === RUN FuzzUser/ccde73fe7b7352806a87cece8eb81867bdeb177019b69a4bb3c7bb5a277b9c32 === RUN FuzzUser/dc0204d8e2ab058a763873d2a5fede806e95235771ecdd96b56c906886822c19 ---- PASS: FuzzUser (0.00s) +--- PASS: FuzzUser (0.01s) --- PASS: FuzzUser/263da65bb5a59369f294d26a64a36a989a9a36ed5c60950b123e395bedbe881c (0.00s) --- PASS: FuzzUser/31400a53be6363c91bf6585789663189fa30b16181c1d18f19708acccc85f4a1 (0.00s) --- PASS: FuzzUser/6d603c8b9fbe8b9aa021dbde499ec1b3a00922b9338c68b2984cd314c3d5e633 (0.00s) @@ -1923,7 +1959,7 @@ === RUN FuzzDomain/6d603c8b9fbe8b9aa021dbde499ec1b3a00922b9338c68b2984cd314c3d5e633 === RUN FuzzDomain/ccde73fe7b7352806a87cece8eb81867bdeb177019b69a4bb3c7bb5a277b9c32 === RUN FuzzDomain/dc0204d8e2ab058a763873d2a5fede806e95235771ecdd96b56c906886822c19 ---- PASS: FuzzDomain (0.02s) +--- PASS: FuzzDomain (0.00s) --- PASS: FuzzDomain/263da65bb5a59369f294d26a64a36a989a9a36ed5c60950b123e395bedbe881c (0.00s) --- PASS: FuzzDomain/31400a53be6363c91bf6585789663189fa30b16181c1d18f19708acccc85f4a1 (0.00s) --- PASS: FuzzDomain/6d603c8b9fbe8b9aa021dbde499ec1b3a00922b9338c68b2984cd314c3d5e633 (0.00s) @@ -1954,41 +1990,41 @@ --- PASS: FuzzDomainToUnicode/d8637022b61fb5c4df4e153063564accd6331debaafdd594405c320a5e9f2e70 (0.00s) --- PASS: FuzzDomainToUnicode/dc0204d8e2ab058a763873d2a5fede806e95235771ecdd96b56c906886822c19 (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/normalize 0.047s +ok blitiri.com.ar/go/chasquid/internal/normalize 0.024s === RUN TestBin - testlib.go:32: test directory: "/tmp/testlib_2021510788" ---- PASS: TestBin (0.00s) + testlib.go:32: test directory: "/tmp/testlib_4051704372" +--- PASS: TestBin (0.01s) === RUN TestText - testlib.go:32: test directory: "/tmp/testlib_4251384284" + testlib.go:32: test directory: "/tmp/testlib_3741992787" --- PASS: TestText (0.00s) === RUN TestStore - testlib.go:32: test directory: "/tmp/testlib_2493474921" + testlib.go:32: test directory: "/tmp/testlib_3593139764" --- PASS: TestStore (0.00s) === RUN TestFileErrors - testlib.go:32: test directory: "/tmp/testlib_2840982568" + testlib.go:32: test directory: "/tmp/testlib_3756164953" --- PASS: TestFileErrors (0.00s) === RUN TestMarshalErrors - testlib.go:32: test directory: "/tmp/testlib_471589424" + testlib.go:32: test directory: "/tmp/testlib_702502647" --- PASS: TestMarshalErrors (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/protoio 0.036s +ok blitiri.com.ar/go/chasquid/internal/protoio 0.034s ? blitiri.com.ar/go/chasquid/internal/protoio/testpb [no test files] === RUN TestDSN dsn_test.go:49: From: Mail Delivery System To: Subject: Mail delivery failed: returning message to sender - Message-ID: - Date: Tue, 15 Apr 2025 02:29:27 +0000 + Message-ID: + Date: Tue, 15 Apr 2025 02:34:41 +0000 In-Reply-To: References: X-Failed-Recipients: pepe@africa.org, ñaca@africa.org, Auto-Submitted: auto-replied MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; - boundary="H20tmderp_I" + boundary="HuQGK7lUZHY" - --H20tmderp_I + --HuQGK7lUZHY Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Description: Notification @@ -2013,7 +2049,7 @@ oh! the humanity! - --H20tmderp_I + --HuQGK7lUZHY Content-Type: message/global-delivery-status Content-Description: Delivery Report Content-Transfer-Encoding: 8bit @@ -2044,7 +2080,7 @@ - --H20tmderp_I + --HuQGK7lUZHY Content-Type: message/rfc822 Content-Description: Undelivered Message Content-Transfer-Encoding: 8bit @@ -2054,76 +2090,79 @@ Data ñaca. - --H20tmderp_I-- + --HuQGK7lUZHY-- --- PASS: TestDSN (0.00s) === RUN TestBasic - testlib.go:32: test directory: "/tmp/testlib_43369458" -_ queue.go:308 Queue.SendLoop xt4yxd5-aiM: from from -_ queue.go:367 Queue.SendLoop xt4yxd5-aiM: nodomain sent -_ queue.go:367 Queue.SendLoop xt4yxd5-aiM: am@loco sent -_ queue.go:367 Queue.SendLoop xt4yxd5-aiM: x@remote sent -_ queue.go:342 Queue.SendLoop xt4yxd5-aiM: all done ---- PASS: TestBasic (0.03s) + testlib.go:32: test directory: "/tmp/testlib_3366427192" +_ queue.go:308 Queue.SendLoop lUCgABaQxXs: from from +_ queue.go:367 Queue.SendLoop lUCgABaQxXs: nodomain sent +_ queue.go:367 Queue.SendLoop lUCgABaQxXs: am@loco sent +_ queue.go:367 Queue.SendLoop lUCgABaQxXs: x@remote sent +_ queue.go:342 Queue.SendLoop lUCgABaQxXs: all done +--- PASS: TestBasic (0.02s) === RUN TestDSNOnTimeout - testlib.go:32: test directory: "/tmp/testlib_989337583" -_ queue.go:308 Queue.SendLoop KkPVbw6GHUI: from from@loco -_ queue.go:467 Queue.SendLoop KkPVbw6GHUI: queued DSN: 7y39S9wx_QA -_ queue.go:342 Queue.SendLoop KkPVbw6GHUI: all done -_ queue.go:308 Queue.SendLoop 7y39S9wx_QA: from <> -_ queue.go:367 Queue.SendLoop 7y39S9wx_QA: from@loco sent -_ queue.go:342 Queue.SendLoop 7y39S9wx_QA: all done ---- PASS: TestDSNOnTimeout (0.01s) + testlib.go:32: test directory: "/tmp/testlib_2303042325" +_ queue.go:308 Queue.SendLoop HvgRcDwI7Ek: from from@loco +_ queue.go:467 Queue.SendLoop HvgRcDwI7Ek: queued DSN: fdkL4hzp2JQ +_ queue.go:342 Queue.SendLoop HvgRcDwI7Ek: all done +_ queue.go:308 Queue.SendLoop fdkL4hzp2JQ: from <> +_ queue.go:367 Queue.SendLoop fdkL4hzp2JQ: from@loco sent +_ queue.go:342 Queue.SendLoop fdkL4hzp2JQ: all done +--- PASS: TestDSNOnTimeout (0.00s) === RUN TestAliases - testlib.go:32: test directory: "/tmp/testlib_1521795546" -_ queue.go:308 Queue.SendLoop sbIUvdSEjRs: from from -_ queue.go:367 Queue.SendLoop sbIUvdSEjRs: ata@hualpa sent -_ queue.go:367 Queue.SendLoop sbIUvdSEjRs: pq@loco sent -_ queue.go:367 Queue.SendLoop sbIUvdSEjRs: rs@loco sent -_ queue.go:342 Queue.SendLoop sbIUvdSEjRs: all done ---- PASS: TestAliases (0.01s) + testlib.go:32: test directory: "/tmp/testlib_1910578258" +_ queue.go:308 Queue.SendLoop lvpvTr7uoaQ: from from +_ queue.go:367 Queue.SendLoop lvpvTr7uoaQ: ata@hualpa sent +_ queue.go:367 Queue.SendLoop lvpvTr7uoaQ: pq@loco sent +--- PASS: TestAliases (0.00s) === RUN TestFullQueue - testlib.go:32: test directory: "/tmp/testlib_526005066" + testlib.go:32: test directory: "/tmp/testlib_378111693" _ queue.go:164 Queue.Put from: error: queue full ---- PASS: TestFullQueue (0.01s) +--- PASS: TestFullQueue (0.00s) === RUN TestPipes - testlib.go:32: test directory: "/tmp/testlib_1885451540" -_ queue.go:308 Queue.SendLoop NhweN2t53C4: from from -_ queue.go:367 Queue.SendLoop NhweN2t53C4: to sent -_ queue.go:375 Queue.SendLoop NhweN2t53C4: error: failed to write: open /tmp/testlib_526005066/.m:NhweN2t53C42594849311: no such file or directory -_ queue.go:342 Queue.SendLoop NhweN2t53C4: all done -E queue.go:230 failed to remove queue file "/tmp/testlib_526005066/m:NhweN2t53C4": remove /tmp/testlib_526005066/m:NhweN2t53C4: no such file or directory ---- PASS: TestPipes (0.00s) + testlib.go:32: test directory: "/tmp/testlib_689151902" +_ queue.go:308 Queue.SendLoop G4C1BFbZ3fI: from from +_ queue.go:367 Queue.SendLoop G4C1BFbZ3fI: to sent +_ queue.go:375 Queue.SendLoop G4C1BFbZ3fI: error: failed to write: open /tmp/testlib_378111693/.m:G4C1BFbZ3fI3486117245: no such file or directory +_ queue.go:342 Queue.SendLoop G4C1BFbZ3fI: all done +E queue.go:230 failed to remove queue file "/tmp/testlib_378111693/m:G4C1BFbZ3fI": remove /tmp/testlib_378111693/m:G4C1BFbZ3fI: no such file or directory +_ queue.go:375 Queue.SendLoop lvpvTr7uoaQ: error: failed to write: open /tmp/testlib_1910578258/.m:lvpvTr7uoaQ3810041426: no such file or directory +_ queue.go:367 Queue.SendLoop lvpvTr7uoaQ: rs@loco sent +_ queue.go:375 Queue.SendLoop lvpvTr7uoaQ: error: failed to write: open /tmp/testlib_1910578258/.m:lvpvTr7uoaQ834980763: no such file or directory +_ queue.go:342 Queue.SendLoop lvpvTr7uoaQ: all done +E queue.go:230 failed to remove queue file "/tmp/testlib_1910578258/m:lvpvTr7uoaQ": remove /tmp/testlib_1910578258/m:lvpvTr7uoaQ: no such file or directory +--- PASS: TestPipes (0.01s) === RUN TestBadPath --- PASS: TestBadPath (0.00s) === RUN TestNextDelay --- PASS: TestNextDelay (0.00s) === RUN TestSerialization - testlib.go:32: test directory: "/tmp/testlib_3066592055" -_ queue.go:308 Queue.SendLoop xyFee6Tey14: from from@loco -_ queue.go:367 Queue.SendLoop xyFee6Tey14: to@to sent -_ queue.go:342 Queue.SendLoop xyFee6Tey14: all done + testlib.go:32: test directory: "/tmp/testlib_3902669259" +_ queue.go:308 Queue.SendLoop RAUyBJ58Ugc: from from@loco +_ queue.go:367 Queue.SendLoop RAUyBJ58Ugc: to@to sent +_ queue.go:342 Queue.SendLoop RAUyBJ58Ugc: all done --- PASS: TestSerialization (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/queue 0.087s +ok blitiri.com.ar/go/chasquid/internal/queue 0.064s === RUN TestWriteFile - testlib.go:32: test directory: "/tmp/testlib_1217223894" ---- PASS: TestWriteFile (0.01s) + testlib.go:32: test directory: "/tmp/testlib_1492926391" +--- PASS: TestWriteFile (0.02s) === RUN TestWriteFileWithOp - testlib.go:32: test directory: "/tmp/testlib_874541404" + testlib.go:32: test directory: "/tmp/testlib_2497431561" --- PASS: TestWriteFileWithOp (0.00s) === RUN TestWriteFileWithFailingOp - testlib.go:32: test directory: "/tmp/testlib_214166301" + testlib.go:32: test directory: "/tmp/testlib_1975233498" --- PASS: TestWriteFileWithFailingOp (0.00s) === RUN TestErrors - testlib.go:32: test directory: "/tmp/testlib_2659924485" + testlib.go:32: test directory: "/tmp/testlib_4088780334" --- PASS: TestErrors (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/safeio 0.031s +ok blitiri.com.ar/go/chasquid/internal/safeio 0.034s === RUN TestString --- PASS: TestString (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/set 0.023s +ok blitiri.com.ar/go/chasquid/internal/set 0.012s === RUN TestIsPermanent --- PASS: TestIsPermanent (0.00s) === RUN TestIsASCII @@ -2137,20 +2176,20 @@ === RUN TestFallbackToIDNA --- PASS: TestFallbackToIDNA (0.00s) === RUN TestLineTooLong ---- PASS: TestLineTooLong (0.06s) +--- PASS: TestLineTooLong (0.10s) PASS -ok blitiri.com.ar/go/chasquid/internal/smtp 0.079s -_ server.go:300 Server listening on 127.0.0.1:36299 (SMTP) -2025-04-15 02:29:33.782725 daemon listening on 127.0.0.1:36299 -_ server.go:300 Server listening on 127.0.0.1:39853 (submission) -2025-04-15 02:29:33.783203 daemon listening on 127.0.0.1:39853 -_ server.go:300 Server listening on 127.0.0.1:34927 (submission+TLS) -2025-04-15 02:29:33.783350 daemon listening on 127.0.0.1:34927 +ok blitiri.com.ar/go/chasquid/internal/smtp 0.130s +_ server.go:300 Server listening on 127.0.0.1:43423 (submission+TLS) +2025-04-15 02:34:45.257352 daemon listening on 127.0.0.1:43423 +_ server.go:300 Server listening on 127.0.0.1:38915 (SMTP) +2025-04-15 02:34:45.257722 daemon listening on 127.0.0.1:38915 +_ server.go:300 Server listening on 127.0.0.1:35211 (submission) +2025-04-15 02:34:45.257804 daemon listening on 127.0.0.1:35211 === RUN TestSecLevel -_ conn.go:209 SMTP.Conn 127.0.0.1:38742: error: error completing TLS handshake: EOF _ domaininfo.go:117 DomainInfo.Incoming slc: slc incoming level raised: TLS_CLIENT > PLAIN _ domaininfo.go:109 DomainInfo.Incoming slc: error: slc incoming denied: PLAIN < TLS_CLIENT _ conn.go:559 testconn testconn: error: security level check for slc failed (PLAIN) +_ conn.go:209 SMTP.Conn 127.0.0.1:59852: error: error completing TLS handshake: EOF --- PASS: TestSecLevel (0.00s) === RUN TestIsHeader --- PASS: TestIsHeader (0.00s) @@ -2163,183 +2202,182 @@ === RUN TestReadUntilDotReadError --- PASS: TestReadUntilDotReadError (0.00s) === RUN TestSimple -_ conn.go:722 SMTP.Conn 127.0.0.1:60180: Queued from from@from to [to@localhost] - 2zW7v70BkjQ -2025-04-15 02:29:33.896370 2zW7v70BkjQ from=from@from queued ip=127.0.0.1:60180 to=[to@localhost] -_ queue.go:308 Queue.SendLoop 2zW7v70BkjQ: from from@from -_ queue.go:367 Queue.SendLoop 2zW7v70BkjQ: testuser@localhost sent -2025-04-15 02:29:33.896726 2zW7v70BkjQ from=from@from to=testuser@localhost sent -_ queue.go:342 Queue.SendLoop 2zW7v70BkjQ: all done -2025-04-15 02:29:33.897557 2zW7v70BkjQ from=from@from all done ---- PASS: TestSimple (0.01s) +_ conn.go:722 SMTP.Conn 127.0.0.1:33016: Queued from from@from to [to@localhost] - 7eb34rUw7wA +2025-04-15 02:34:45.367131 7eb34rUw7wA from=from@from queued ip=127.0.0.1:33016 to=[to@localhost] +_ queue.go:308 Queue.SendLoop 7eb34rUw7wA: from from@from +_ queue.go:367 Queue.SendLoop 7eb34rUw7wA: testuser@localhost sent +2025-04-15 02:34:45.367378 7eb34rUw7wA from=from@from to=testuser@localhost sent +--- PASS: TestSimple (0.00s) === RUN TestSimpleTLS -_ conn.go:722 SMTP.Conn 127.0.0.1:60194: Queued from from@from to [to@localhost] - 2EFGpG0Se4Y -2025-04-15 02:29:33.930912 2EFGpG0Se4Y from=from@from queued ip=127.0.0.1:60194 to=[to@localhost] -_ queue.go:308 Queue.SendLoop 2EFGpG0Se4Y: from from@from -_ queue.go:367 Queue.SendLoop 2EFGpG0Se4Y: testuser@localhost sent -2025-04-15 02:29:33.931250 2EFGpG0Se4Y from=from@from to=testuser@localhost sent -_ queue.go:342 Queue.SendLoop 2EFGpG0Se4Y: all done -2025-04-15 02:29:33.931988 2EFGpG0Se4Y from=from@from all done ---- PASS: TestSimpleTLS (0.03s) +_ queue.go:342 Queue.SendLoop 7eb34rUw7wA: all done +2025-04-15 02:34:45.372085 7eb34rUw7wA from=from@from all done +_ conn.go:722 SMTP.Conn 127.0.0.1:33018: Queued from from@from to [to@localhost] - WsGNWVdCMFQ +2025-04-15 02:34:45.385121 WsGNWVdCMFQ from=from@from queued ip=127.0.0.1:33018 to=[to@localhost] +_ queue.go:308 Queue.SendLoop WsGNWVdCMFQ: from from@from +_ queue.go:367 Queue.SendLoop WsGNWVdCMFQ: testuser@localhost sent +2025-04-15 02:34:45.385331 WsGNWVdCMFQ from=from@from to=testuser@localhost sent +_ queue.go:342 Queue.SendLoop WsGNWVdCMFQ: all done +2025-04-15 02:34:45.385903 WsGNWVdCMFQ from=from@from all done +--- PASS: TestSimpleTLS (0.02s) === RUN TestManyEmails -_ conn.go:722 SMTP.Conn 127.0.0.1:60206: Queued from from@from to [to@localhost] - bgjYNt25eRM -2025-04-15 02:29:33.970263 bgjYNt25eRM from=from@from queued ip=127.0.0.1:60206 to=[to@localhost] -_ queue.go:308 Queue.SendLoop bgjYNt25eRM: from from@from -_ queue.go:367 Queue.SendLoop bgjYNt25eRM: testuser@localhost sent -2025-04-15 02:29:33.970566 bgjYNt25eRM from=from@from to=testuser@localhost sent -_ queue.go:342 Queue.SendLoop bgjYNt25eRM: all done -2025-04-15 02:29:33.971307 bgjYNt25eRM from=from@from all done -_ conn.go:722 SMTP.Conn 127.0.0.1:60206: Queued from from@from to [to@localhost] - NTbmvKUEVEk -2025-04-15 02:29:33.978121 NTbmvKUEVEk from=from@from queued ip=127.0.0.1:60206 to=[to@localhost] -_ queue.go:308 Queue.SendLoop NTbmvKUEVEk: from from@from -_ queue.go:367 Queue.SendLoop NTbmvKUEVEk: testuser@localhost sent -2025-04-15 02:29:33.978443 NTbmvKUEVEk from=from@from to=testuser@localhost sent -_ queue.go:342 Queue.SendLoop NTbmvKUEVEk: all done -2025-04-15 02:29:33.979189 NTbmvKUEVEk from=from@from all done -_ conn.go:722 SMTP.Conn 127.0.0.1:60206: Queued from from@from to [to@localhost] - ANxAhFdYF8A -2025-04-15 02:29:33.982036 ANxAhFdYF8A from=from@from queued ip=127.0.0.1:60206 to=[to@localhost] -_ queue.go:308 Queue.SendLoop ANxAhFdYF8A: from from@from -_ queue.go:367 Queue.SendLoop ANxAhFdYF8A: testuser@localhost sent -2025-04-15 02:29:33.982411 ANxAhFdYF8A from=from@from to=testuser@localhost sent ---- PASS: TestManyEmails (0.05s) -_ queue.go:342 Queue.SendLoop ANxAhFdYF8A: all done -2025-04-15 02:29:33.983786 ANxAhFdYF8A from=from@from all done +_ conn.go:722 SMTP.Conn 127.0.0.1:33032: Queued from from@from to [to@localhost] - KtHlHk-k2sI +2025-04-15 02:34:45.402311 KtHlHk-k2sI from=from@from queued ip=127.0.0.1:33032 to=[to@localhost] +_ queue.go:308 Queue.SendLoop KtHlHk-k2sI: from from@from +_ queue.go:367 Queue.SendLoop KtHlHk-k2sI: testuser@localhost sent +2025-04-15 02:34:45.402558 KtHlHk-k2sI from=from@from to=testuser@localhost sent +_ queue.go:342 Queue.SendLoop KtHlHk-k2sI: all done +2025-04-15 02:34:45.403112 KtHlHk-k2sI from=from@from all done +_ conn.go:722 SMTP.Conn 127.0.0.1:33032: Queued from from@from to [to@localhost] - TQxiKwCHnuc +2025-04-15 02:34:45.404887 TQxiKwCHnuc from=from@from queued ip=127.0.0.1:33032 to=[to@localhost] +_ queue.go:308 Queue.SendLoop TQxiKwCHnuc: from from@from +_ queue.go:367 Queue.SendLoop TQxiKwCHnuc: testuser@localhost sent +2025-04-15 02:34:45.405104 TQxiKwCHnuc from=from@from to=testuser@localhost sent +_ queue.go:342 Queue.SendLoop TQxiKwCHnuc: all done +2025-04-15 02:34:45.405627 TQxiKwCHnuc from=from@from all done +_ conn.go:722 SMTP.Conn 127.0.0.1:33032: Queued from from@from to [to@localhost] - MVyixID5ryw +2025-04-15 02:34:45.407233 MVyixID5ryw from=from@from queued ip=127.0.0.1:33032 to=[to@localhost] +_ queue.go:308 Queue.SendLoop MVyixID5ryw: from from@from +_ queue.go:367 Queue.SendLoop MVyixID5ryw: testuser@localhost sent +2025-04-15 02:34:45.407434 MVyixID5ryw from=from@from to=testuser@localhost sent +_ queue.go:342 Queue.SendLoop MVyixID5ryw: all done +2025-04-15 02:34:45.407979 MVyixID5ryw from=from@from all done +--- PASS: TestManyEmails (0.02s) === RUN TestAuth -2025-04-15 02:29:34.307642 127.0.0.1:51754 auth succeeded for testuser@localhost -_ conn.go:722 SMTP.Conn 127.0.0.1:51754: Queued from testuser@localhost to [to@localhost] - NL5CNt85mOA -2025-04-15 02:29:34.310782 NL5CNt85mOA from=testuser@localhost queued ip=127.0.0.1:51754 to=[to@localhost] -_ queue.go:308 Queue.SendLoop NL5CNt85mOA: from testuser@localhost -_ queue.go:367 Queue.SendLoop NL5CNt85mOA: testuser@localhost sent -2025-04-15 02:29:34.311188 NL5CNt85mOA from=testuser@localhost to=testuser@localhost sent ---- PASS: TestAuth (0.33s) +2025-04-15 02:34:45.571766 127.0.0.1:58562 auth succeeded for testuser@localhost +_ conn.go:722 SMTP.Conn 127.0.0.1:58562: Queued from testuser@localhost to [to@localhost] - mx-HC4DDFQU +2025-04-15 02:34:45.573892 mx-HC4DDFQU from=testuser@localhost queued ip=127.0.0.1:58562 to=[to@localhost] +_ queue.go:308 Queue.SendLoop mx-HC4DDFQU: from testuser@localhost +_ queue.go:367 Queue.SendLoop mx-HC4DDFQU: testuser@localhost sent +2025-04-15 02:34:45.574119 mx-HC4DDFQU from=testuser@localhost to=testuser@localhost sent +_ queue.go:342 Queue.SendLoop mx-HC4DDFQU: all done +2025-04-15 02:34:45.574810 mx-HC4DDFQU from=testuser@localhost all done +--- PASS: TestAuth (0.17s) === RUN TestSubmissionWithoutAuth -_ queue.go:342 Queue.SendLoop NL5CNt85mOA: all done -2025-04-15 02:29:34.328572 NL5CNt85mOA from=testuser@localhost all done -_ conn.go:318 SMTP.Conn 127.0.0.1:51766: error: MAIL failed: 550 5.7.9 Mail to submission port must be authenticated ---- PASS: TestSubmissionWithoutAuth (0.08s) +_ conn.go:318 SMTP.Conn 127.0.0.1:58570: error: MAIL failed: 550 5.7.9 Mail to submission port must be authenticated +--- PASS: TestSubmissionWithoutAuth (0.01s) === RUN TestAuthOnTLS -2025-04-15 02:29:34.761394 127.0.0.1:38748 auth succeeded for testuser@localhost -_ conn.go:722 SMTP.Conn 127.0.0.1:38748: Queued from testuser@localhost to [to@localhost] - 07EYRxygxFE -2025-04-15 02:29:34.764108 07EYRxygxFE from=testuser@localhost queued ip=127.0.0.1:38748 to=[to@localhost] -_ queue.go:308 Queue.SendLoop 07EYRxygxFE: from testuser@localhost -_ queue.go:367 Queue.SendLoop 07EYRxygxFE: testuser@localhost sent -2025-04-15 02:29:34.764629 07EYRxygxFE from=testuser@localhost to=testuser@localhost sent -_ queue.go:342 Queue.SendLoop 07EYRxygxFE: all done -2025-04-15 02:29:34.765636 07EYRxygxFE from=testuser@localhost all done ---- PASS: TestAuthOnTLS (0.36s) +2025-04-15 02:34:45.753498 127.0.0.1:59854 auth succeeded for testuser@localhost +_ conn.go:722 SMTP.Conn 127.0.0.1:59854: Queued from testuser@localhost to [to@localhost] - BSTW6w9j6Rk +2025-04-15 02:34:45.755606 BSTW6w9j6Rk from=testuser@localhost queued ip=127.0.0.1:59854 to=[to@localhost] +_ queue.go:308 Queue.SendLoop BSTW6w9j6Rk: from testuser@localhost +_ queue.go:367 Queue.SendLoop BSTW6w9j6Rk: testuser@localhost sent +2025-04-15 02:34:45.756105 BSTW6w9j6Rk from=testuser@localhost to=testuser@localhost sent +_ queue.go:342 Queue.SendLoop BSTW6w9j6Rk: all done +2025-04-15 02:34:45.756769 BSTW6w9j6Rk from=testuser@localhost all done +--- PASS: TestAuthOnTLS (0.17s) === RUN TestAuthOnSMTP -2025-04-15 02:29:35.072923 127.0.0.1:60214 auth succeeded for testuser@localhost -_ conn.go:722 SMTP.Conn 127.0.0.1:60214: Queued from testuser@localhost to [to@localhost] - OXveuH6C7EM -2025-04-15 02:29:35.075618 OXveuH6C7EM from=testuser@localhost queued ip=127.0.0.1:60214 to=[to@localhost] -_ queue.go:308 Queue.SendLoop OXveuH6C7EM: from testuser@localhost -_ queue.go:367 Queue.SendLoop OXveuH6C7EM: testuser@localhost sent -2025-04-15 02:29:35.076017 OXveuH6C7EM from=testuser@localhost to=testuser@localhost sent -_ queue.go:342 Queue.SendLoop OXveuH6C7EM: all done -2025-04-15 02:29:35.077095 OXveuH6C7EM from=testuser@localhost all done ---- PASS: TestAuthOnSMTP (0.31s) +2025-04-15 02:34:45.922257 127.0.0.1:33046 auth succeeded for testuser@localhost +_ conn.go:722 SMTP.Conn 127.0.0.1:33046: Queued from testuser@localhost to [to@localhost] - Clhnv6fNy-M +2025-04-15 02:34:45.925487 Clhnv6fNy-M from=testuser@localhost queued ip=127.0.0.1:33046 to=[to@localhost] +_ queue.go:308 Queue.SendLoop Clhnv6fNy-M: from testuser@localhost +_ queue.go:367 Queue.SendLoop Clhnv6fNy-M: testuser@localhost sent +2025-04-15 02:34:45.925722 Clhnv6fNy-M from=testuser@localhost to=testuser@localhost sent +_ queue.go:342 Queue.SendLoop Clhnv6fNy-M: all done +2025-04-15 02:34:45.926382 Clhnv6fNy-M from=testuser@localhost all done +--- PASS: TestAuthOnSMTP (0.17s) === RUN TestBrokenAuth -_ conn.go:1193 SMTP.Conn 127.0.0.1:51780: error: error authenticating \"user\"@\"broken\": failed to auth -2025-04-15 02:29:35.216457 127.0.0.1:51780 auth failed for user@broken -_ conn.go:318 SMTP.Conn 127.0.0.1:51780: error: AUTH failed: 454 4.7.0 Temporary authentication failure -_ conn.go:318 SMTP.Conn 127.0.0.1:51780: error: unknown<\"*\"> failed: 500 5.5.1 Unknown command ---- PASS: TestBrokenAuth (0.14s) +_ conn.go:1193 SMTP.Conn 127.0.0.1:58576: error: error authenticating \"user\"@\"broken\": failed to auth +2025-04-15 02:34:46.056838 127.0.0.1:58576 auth failed for user@broken +_ conn.go:318 SMTP.Conn 127.0.0.1:58576: error: AUTH failed: 454 4.7.0 Temporary authentication failure +_ conn.go:318 SMTP.Conn 127.0.0.1:58576: error: unknown<\"*\"> failed: 500 5.5.1 Unknown command +--- PASS: TestBrokenAuth (0.13s) === RUN TestWrongMailParsing -_ conn.go:318 SMTP.Conn 127.0.0.1:60224: error: MAIL failed: 501 5.1.7 Sender address malformed -_ conn.go:318 SMTP.Conn 127.0.0.1:60224: error: RCPT failed: 501 5.1.3 Malformed destination address -_ conn.go:318 SMTP.Conn 127.0.0.1:60224: error: RCPT failed: 501 5.1.3 Malformed destination address -_ conn.go:325 SMTP.Conn 127.0.0.1:60224: error: too many errors, breaking connection -_ conn.go:318 SMTP.Conn 127.0.0.1:60228: error: MAIL failed: 501 5.1.7 Sender address malformed -_ conn.go:318 SMTP.Conn 127.0.0.1:60228: error: RCPT failed: 501 5.1.3 Malformed destination address -_ conn.go:318 SMTP.Conn 127.0.0.1:60228: error: RCPT failed: 501 5.1.3 Malformed destination address -_ conn.go:325 SMTP.Conn 127.0.0.1:60228: error: too many errors, breaking connection -_ conn.go:318 SMTP.Conn 127.0.0.1:60230: error: MAIL failed: 501 5.1.7 Sender address malformed -_ conn.go:318 SMTP.Conn 127.0.0.1:60230: error: RCPT failed: 501 5.1.3 Malformed destination address -_ conn.go:318 SMTP.Conn 127.0.0.1:60230: error: RCPT failed: 501 5.1.3 Malformed destination address -_ conn.go:325 SMTP.Conn 127.0.0.1:60230: error: too many errors, breaking connection -_ conn.go:318 SMTP.Conn 127.0.0.1:60246: error: MAIL failed: 501 5.1.7 Sender address malformed -_ conn.go:318 SMTP.Conn 127.0.0.1:60246: error: RCPT failed: 501 5.1.3 Malformed destination address -_ conn.go:318 SMTP.Conn 127.0.0.1:60246: error: RCPT failed: 501 5.1.3 Malformed destination address -_ conn.go:325 SMTP.Conn 127.0.0.1:60246: error: too many errors, breaking connection -_ conn.go:318 SMTP.Conn 127.0.0.1:60256: error: MAIL failed: 501 5.1.7 Sender address malformed -_ conn.go:318 SMTP.Conn 127.0.0.1:60256: error: RCPT failed: 501 5.1.3 Malformed destination address -_ conn.go:318 SMTP.Conn 127.0.0.1:60256: error: RCPT failed: 501 5.1.3 Malformed destination address -_ conn.go:325 SMTP.Conn 127.0.0.1:60256: error: too many errors, breaking connection -_ conn.go:318 SMTP.Conn 127.0.0.1:60272: error: MAIL failed: 501 5.1.7 Sender address malformed -_ conn.go:318 SMTP.Conn 127.0.0.1:60272: error: RCPT failed: 501 5.1.3 Malformed destination address -_ conn.go:318 SMTP.Conn 127.0.0.1:60272: error: RCPT failed: 501 5.1.3 Malformed destination address -_ conn.go:325 SMTP.Conn 127.0.0.1:60272: error: too many errors, breaking connection +_ conn.go:318 SMTP.Conn 127.0.0.1:33050: error: MAIL failed: 501 5.1.7 Sender address malformed +_ conn.go:318 SMTP.Conn 127.0.0.1:33050: error: RCPT failed: 501 5.1.3 Malformed destination address +_ conn.go:318 SMTP.Conn 127.0.0.1:33050: error: RCPT failed: 501 5.1.3 Malformed destination address +_ conn.go:325 SMTP.Conn 127.0.0.1:33050: error: too many errors, breaking connection +_ conn.go:318 SMTP.Conn 127.0.0.1:33064: error: MAIL failed: 501 5.1.7 Sender address malformed +_ conn.go:318 SMTP.Conn 127.0.0.1:33064: error: RCPT failed: 501 5.1.3 Malformed destination address +_ conn.go:318 SMTP.Conn 127.0.0.1:33064: error: RCPT failed: 501 5.1.3 Malformed destination address +_ conn.go:325 SMTP.Conn 127.0.0.1:33064: error: too many errors, breaking connection +_ conn.go:318 SMTP.Conn 127.0.0.1:33076: error: MAIL failed: 501 5.1.7 Sender address malformed +_ conn.go:318 SMTP.Conn 127.0.0.1:33076: error: RCPT failed: 501 5.1.3 Malformed destination address +_ conn.go:318 SMTP.Conn 127.0.0.1:33076: error: RCPT failed: 501 5.1.3 Malformed destination address +_ conn.go:325 SMTP.Conn 127.0.0.1:33076: error: too many errors, breaking connection +_ conn.go:318 SMTP.Conn 127.0.0.1:33080: error: MAIL failed: 501 5.1.7 Sender address malformed +_ conn.go:318 SMTP.Conn 127.0.0.1:33080: error: RCPT failed: 501 5.1.3 Malformed destination address +_ conn.go:318 SMTP.Conn 127.0.0.1:33080: error: RCPT failed: 501 5.1.3 Malformed destination address +_ conn.go:325 SMTP.Conn 127.0.0.1:33080: error: too many errors, breaking connection +_ conn.go:318 SMTP.Conn 127.0.0.1:33090: error: MAIL failed: 501 5.1.7 Sender address malformed +_ conn.go:318 SMTP.Conn 127.0.0.1:33090: error: RCPT failed: 501 5.1.3 Malformed destination address +_ conn.go:318 SMTP.Conn 127.0.0.1:33090: error: RCPT failed: 501 5.1.3 Malformed destination address +_ conn.go:325 SMTP.Conn 127.0.0.1:33090: error: too many errors, breaking connection +_ conn.go:318 SMTP.Conn 127.0.0.1:33102: error: MAIL failed: 501 5.1.7 Sender address malformed +_ conn.go:318 SMTP.Conn 127.0.0.1:33102: error: RCPT failed: 501 5.1.3 Malformed destination address +_ conn.go:318 SMTP.Conn 127.0.0.1:33102: error: RCPT failed: 501 5.1.3 Malformed destination address +_ conn.go:325 SMTP.Conn 127.0.0.1:33102: error: too many errors, breaking connection --- PASS: TestWrongMailParsing (0.01s) === RUN TestNullMailFrom --- PASS: TestNullMailFrom (0.00s) === RUN TestRcptBeforeMail -_ conn.go:318 SMTP.Conn 127.0.0.1:60288: error: RCPT failed: 503 5.5.1 Sender not yet given +_ conn.go:318 SMTP.Conn 127.0.0.1:33130: error: RCPT failed: 503 5.5.1 Sender not yet given --- PASS: TestRcptBeforeMail (0.00s) === RUN TestRcptOption ---- PASS: TestRcptOption (0.03s) +--- PASS: TestRcptOption (0.02s) === RUN TestRelayForbidden -2025-04-15 02:29:35.271194 127.0.0.1:60310 rejected from=from@somewhere to=[to@somewhere] - relay not allowed -_ conn.go:318 SMTP.Conn 127.0.0.1:60310: error: RCPT failed: 503 5.7.1 Relay not allowed +2025-04-15 02:34:46.085794 127.0.0.1:33156 rejected from=from@somewhere to=[to@somewhere] - relay not allowed +_ conn.go:318 SMTP.Conn 127.0.0.1:33156: error: RCPT failed: 503 5.7.1 Relay not allowed --- PASS: TestRelayForbidden (0.00s) === RUN TestTooManyRecipients -2025-04-15 02:29:35.578770 127.0.0.1:51784 auth succeeded for testuser@localhost -_ conn.go:318 SMTP.Conn 127.0.0.1:51784: error: RCPT failed: 452 4.5.3 Too many recipients ---- PASS: TestTooManyRecipients (0.34s) +2025-04-15 02:34:46.263059 127.0.0.1:58584 auth succeeded for testuser@localhost +_ conn.go:318 SMTP.Conn 127.0.0.1:58584: error: RCPT failed: 452 4.5.3 Too many recipients +--- PASS: TestTooManyRecipients (0.19s) === RUN TestRcptBrokenExists -_ conn.go:622 SMTP.Conn 127.0.0.1:60312: error: error checking if user \"to@broken\" exists: failed to check if user exists -2025-04-15 02:29:35.660693 127.0.0.1:60312 rejected from=from@localhost to=[to@broken] - error checking if user exists: failed to check if user exists -_ conn.go:318 SMTP.Conn 127.0.0.1:60312: error: RCPT failed: 451 4.4.3 Temporary error checking address ---- PASS: TestRcptBrokenExists (0.05s) +_ conn.go:622 SMTP.Conn 127.0.0.1:33172: error: error checking if user \"to@broken\" exists: failed to check if user exists +2025-04-15 02:34:46.299897 127.0.0.1:33172 rejected from=from@localhost to=[to@broken] - error checking if user exists: failed to check if user exists +_ conn.go:318 SMTP.Conn 127.0.0.1:33172: error: RCPT failed: 451 4.4.3 Temporary error checking address +--- PASS: TestRcptBrokenExists (0.02s) === RUN TestRcptUserDoesNotExist -2025-04-15 02:29:35.719132 127.0.0.1:60326 rejected from=from@localhost to=[doesnotexist@localhost] - local user does not exist -_ conn.go:318 SMTP.Conn 127.0.0.1:60326: error: RCPT failed: 550 5.1.1 Destination address is unknown (user does not exist) ---- PASS: TestRcptUserDoesNotExist (0.06s) +2025-04-15 02:34:46.315201 127.0.0.1:33186 rejected from=from@localhost to=[doesnotexist@localhost] - local user does not exist +_ conn.go:318 SMTP.Conn 127.0.0.1:33186: error: RCPT failed: 550 5.1.1 Destination address is unknown (user does not exist) +--- PASS: TestRcptUserDoesNotExist (0.02s) === RUN TestTooMuchData -_ conn.go:722 SMTP.Conn 127.0.0.1:60330: Queued from from@from to [to@localhost] - gHeQgV559oo -2025-04-15 02:29:36.387439 gHeQgV559oo from=from@from queued ip=127.0.0.1:60330 to=[to@localhost] -_ queue.go:308 Queue.SendLoop gHeQgV559oo: from from@from -_ queue.go:367 Queue.SendLoop gHeQgV559oo: testuser@localhost sent -2025-04-15 02:29:36.387662 gHeQgV559oo from=from@from to=testuser@localhost sent -_ queue.go:342 Queue.SendLoop gHeQgV559oo: all done -2025-04-15 02:29:36.702879 gHeQgV559oo from=from@from all done -_ conn.go:722 SMTP.Conn 127.0.0.1:60330: Queued from from@from to [to@localhost] - 4_sNzLA0__c -2025-04-15 02:29:37.036354 4_sNzLA0__c from=from@from queued ip=127.0.0.1:60330 to=[to@localhost] -_ queue.go:308 Queue.SendLoop 4_sNzLA0__c: from from@from -_ queue.go:367 Queue.SendLoop 4_sNzLA0__c: testuser@localhost sent -2025-04-15 02:29:37.036495 4_sNzLA0__c from=from@from to=testuser@localhost sent -_ queue.go:342 Queue.SendLoop 4_sNzLA0__c: all done -2025-04-15 02:29:37.347863 4_sNzLA0__c from=from@from all done -_ conn.go:318 SMTP.Conn 127.0.0.1:60330: error: DATA failed: 552 5.3.4 Message too big -_ conn.go:722 SMTP.Conn 127.0.0.1:60330: Queued from from@from to [to@localhost] - muc8Py7ZoJc -_ queue.go:308 Queue.SendLoop muc8Py7ZoJc: from from@from -2025-04-15 02:29:38.327826 muc8Py7ZoJc from=from@from queued ip=127.0.0.1:60330 to=[to@localhost] -_ queue.go:367 Queue.SendLoop muc8Py7ZoJc: testuser@localhost sent -2025-04-15 02:29:38.327946 muc8Py7ZoJc from=from@from to=testuser@localhost sent ---- PASS: TestTooMuchData (2.61s) +_ conn.go:722 SMTP.Conn 127.0.0.1:33196: Queued from from@from to [to@localhost] - 05FqgqDr3Pc +2025-04-15 02:34:46.711877 05FqgqDr3Pc from=from@from queued ip=127.0.0.1:33196 to=[to@localhost] +_ queue.go:308 Queue.SendLoop 05FqgqDr3Pc: from from@from +_ queue.go:367 Queue.SendLoop 05FqgqDr3Pc: testuser@localhost sent +2025-04-15 02:34:46.712230 05FqgqDr3Pc from=from@from to=testuser@localhost sent +_ queue.go:342 Queue.SendLoop 05FqgqDr3Pc: all done +2025-04-15 02:34:46.760394 05FqgqDr3Pc from=from@from all done +_ conn.go:722 SMTP.Conn 127.0.0.1:33196: Queued from from@from to [to@localhost] - OuKpME8Iyjc +2025-04-15 02:34:47.093984 OuKpME8Iyjc from=from@from queued ip=127.0.0.1:33196 to=[to@localhost] +_ queue.go:308 Queue.SendLoop OuKpME8Iyjc: from from@from +_ queue.go:367 Queue.SendLoop OuKpME8Iyjc: testuser@localhost sent +2025-04-15 02:34:47.094891 OuKpME8Iyjc from=from@from to=testuser@localhost sent +_ queue.go:342 Queue.SendLoop OuKpME8Iyjc: all done +2025-04-15 02:34:47.131254 OuKpME8Iyjc from=from@from all done +_ conn.go:318 SMTP.Conn 127.0.0.1:33196: error: DATA failed: 552 5.3.4 Message too big +_ conn.go:722 SMTP.Conn 127.0.0.1:33196: Queued from from@from to [to@localhost] - 7zv7bSxAhHo +2025-04-15 02:34:47.841345 7zv7bSxAhHo from=from@from queued ip=127.0.0.1:33196 to=[to@localhost] +_ queue.go:308 Queue.SendLoop 7zv7bSxAhHo: from from@from +_ queue.go:367 Queue.SendLoop 7zv7bSxAhHo: testuser@localhost sent +2025-04-15 02:34:47.841504 7zv7bSxAhHo from=from@from to=testuser@localhost sent +--- PASS: TestTooMuchData (1.53s) === RUN TestSimpleCommands -_ conn.go:318 SMTP.Conn 127.0.0.1:60334: error: VRFY failed: 502 5.5.1 You have a strange feeling for a moment, then it passes. -_ conn.go:318 SMTP.Conn 127.0.0.1:60334: error: EXPN failed: 502 5.5.1 You feel disoriented for a moment. +_ conn.go:318 SMTP.Conn 127.0.0.1:33198: error: VRFY failed: 502 5.5.1 You have a strange feeling for a moment, then it passes. +_ conn.go:318 SMTP.Conn 127.0.0.1:33198: error: EXPN failed: 502 5.5.1 You feel disoriented for a moment. --- PASS: TestSimpleCommands (0.00s) === RUN TestLongLines -_ conn.go:318 SMTP.Conn 127.0.0.1:60350: error: unknown<\"\"> failed: 500 5.5.1 Unknown command -_ conn.go:348 SMTP.Conn 127.0.0.1:60350: error: exiting with error: line too long ---- PASS: TestLongLines (0.01s) +_ conn.go:318 SMTP.Conn 127.0.0.1:33204: error: unknown<\"\"> failed: 500 5.5.1 Unknown command +_ conn.go:348 SMTP.Conn 127.0.0.1:33204: error: exiting with error: line too long +--- PASS: TestLongLines (0.00s) === RUN TestReset --- PASS: TestReset (0.00s) === RUN TestRepeatedStartTLS -_ conn.go:318 SMTP.Conn 127.0.0.1:60374: error: STARTTLS failed: 503 5.5.1 You are already wearing that! ---- PASS: TestRepeatedStartTLS (0.05s) +_ conn.go:318 SMTP.Conn 127.0.0.1:33222: error: STARTTLS failed: 503 5.5.1 You are already wearing that! +--- PASS: TestRepeatedStartTLS (0.02s) === RUN TestStartTLSOnTLS -_ conn.go:318 SMTP.Conn 127.0.0.1:38750: error: STARTTLS failed: 503 5.5.1 You are already wearing that! ---- PASS: TestStartTLSOnTLS (0.03s) +_ conn.go:318 SMTP.Conn 127.0.0.1:59858: error: STARTTLS failed: 503 5.5.1 You are already wearing that! +--- PASS: TestStartTLSOnTLS (0.01s) === RUN TestAddDKIMSigner - testlib.go:32: test directory: "/tmp/testlib_1708308417" ---- PASS: TestAddDKIMSigner (0.06s) + testlib.go:32: test directory: "/tmp/testlib_826451009" +_ queue.go:342 Queue.SendLoop 7zv7bSxAhHo: all done +2025-04-15 02:34:47.884538 7zv7bSxAhHo from=from@from all done +--- PASS: TestAddDKIMSigner (0.03s) === RUN FuzzConnection --- PASS: FuzzConnection (0.00s) PASS -_ queue.go:342 Queue.SendLoop muc8Py7ZoJc: all done -2025-04-15 02:29:38.523035 muc8Py7ZoJc from=from@from all done -E queue.go:230 failed to remove queue file "/tmp/chasquid_test:4167122350/queue/m:muc8Py7ZoJc": remove /tmp/chasquid_test:4167122350/queue/m:muc8Py7ZoJc: no such file or directory -ok blitiri.com.ar/go/chasquid/internal/smtpsrv 5.631s +ok blitiri.com.ar/go/chasquid/internal/smtpsrv 3.002s === RUN TestParsePolicy sts_test.go:90: pol1: &{Version:STSv1 Mode:enforce MXs:[*.mail.example.com] MaxAge:34h17m36s} --- PASS: TestParsePolicy (0.00s) @@ -2359,14 +2397,14 @@ sts_test.go:242: got error as expected: MTA-STS TXT record missing --- PASS: TestPolicyTooBig (0.04s) === RUN TestCacheBasics - testlib.go:32: test directory: "/tmp/testlib_3866490124" + testlib.go:32: test directory: "/tmp/testlib_2171506245" sts_test.go:277: cache fetched domain.com: &{STSv1 enforce [*.mail.domain.com] 1h0m0s} sts_test.go:286: cache fetched domain.com: &{STSv1 enforce [*.mail.domain.com] 1h0m0s} sts_test.go:300: cache fetched domain.com: &{STSv1 enforce [*.mail.domain.com] 1h0m0s} sts_test.go:309: cache fetched domErr: ---- PASS: TestCacheBasics (0.00s) +--- PASS: TestCacheBasics (0.01s) === RUN TestCacheBadData - testlib.go:32: test directory: "/tmp/testlib_2320234492" + testlib.go:32: test directory: "/tmp/testlib_3384145597" sts_test.go:349: cache fetched domain.com: &{STSv1 enforce [*.mail.domain.com] 1h0m0s} sts_test.go:363: cache fetched domain.com: &{STSv1 enforce [*.mail.domain.com] 1h0m0s} sts_test.go:372: cache fetched domain.com: &{STSv1 enforce [*.mail.domain.com] 1h0m0s} @@ -2375,13 +2413,13 @@ sts_test.go:372: cache fetched domain.com: &{STSv1 enforce [*.mail.domain.com] 1h0m0s} --- PASS: TestCacheBadData (0.01s) === RUN TestCacheRefresh - testlib.go:32: test directory: "/tmp/testlib_1691090384" + testlib.go:32: test directory: "/tmp/testlib_489666458" sts_test.go:389: Fetch "refresh-test": &{STSv1 enforce [mx] 1m40s} sts_test.go:389: Fetch "refresh-test": &{STSv1 enforce [mx] 1m40s} sts_test.go:389: Fetch "refresh-test": &{STSv1 enforce [mx] 3m20s} --- PASS: TestCacheRefresh (0.01s) === RUN TestCacheSlashSafe - testlib.go:32: test directory: "/tmp/testlib_3871137528" + testlib.go:32: test directory: "/tmp/testlib_3051679266" sts_test.go:464: recovered: domain contains slash --- PASS: TestCacheSlashSafe (0.00s) === RUN TestURLForDomain @@ -2389,11 +2427,11 @@ === RUN TestHasSTSRecord --- PASS: TestHasSTSRecord (0.00s) === RUN TestHTTPGet ---- PASS: TestHTTPGet (0.01s) +--- PASS: TestHTTPGet (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/sts 0.097s +ok blitiri.com.ar/go/chasquid/internal/sts 0.092s === RUN TestBasic - testlib.go:32: test directory: "/tmp/testlib_3387843226" + testlib.go:32: test directory: "/tmp/testlib_2845574952" --- PASS: TestBasic (0.00s) === RUN TestRemoveCheck testlib_test.go:33: recovered: invalid/dangerous directory @@ -2404,55 +2442,55 @@ testlib_test.go:60: recovered: invalid/dangerous path --- PASS: TestRewriteSafeguard (0.00s) === RUN TestRewrite - testlib.go:32: test directory: "/tmp/testlib_3317262679" + testlib.go:32: test directory: "/tmp/testlib_2110322165" --- PASS: TestRewrite (0.00s) === RUN TestGetFreePort --- PASS: TestGetFreePort (0.00s) === RUN TestWaitFor --- PASS: TestWaitFor (0.02s) === RUN TestGenerateCert - testlib.go:32: test directory: "/tmp/testlib_2137709416" ---- PASS: TestGenerateCert (0.82s) + testlib.go:32: test directory: "/tmp/testlib_1765804669" +--- PASS: TestGenerateCert (0.70s) === RUN TestGenerateCertBadDir ---- PASS: TestGenerateCertBadDir (0.75s) +--- PASS: TestGenerateCertBadDir (0.18s) PASS -ok blitiri.com.ar/go/chasquid/internal/testlib 1.622s +ok blitiri.com.ar/go/chasquid/internal/testlib 0.909s === RUN TestVersionName --- PASS: TestVersionName (0.00s) === RUN TestCipherSuiteName --- PASS: TestCipherSuiteName (0.00s) PASS -ok blitiri.com.ar/go/chasquid/internal/tlsconst 0.008s +ok blitiri.com.ar/go/chasquid/internal/tlsconst 0.016s ? blitiri.com.ar/go/chasquid/internal/trace [no test files] === RUN TestEmptyLoad - userdb_test.go:37: file: "/tmp/userdb_test2790348062" - userdb_test.go:37: file: "/tmp/userdb_test3874595938" + userdb_test.go:37: file: "/tmp/userdb_test658119816" + userdb_test.go:37: file: "/tmp/userdb_test783616593" --- PASS: TestEmptyLoad (0.00s) === RUN TestWrite - userdb_test.go:37: file: "/tmp/userdb_test3146449524" ---- PASS: TestWrite (1.86s) + userdb_test.go:37: file: "/tmp/userdb_test3756889261" +--- PASS: TestWrite (1.06s) === RUN TestNew ---- PASS: TestNew (0.22s) +--- PASS: TestNew (0.15s) === RUN TestInvalidUsername - userdb_test.go:37: file: "/tmp/userdb_test2356309254" + userdb_test.go:37: file: "/tmp/userdb_test2599495107" --- PASS: TestInvalidUsername (0.00s) === RUN TestPlainScheme - userdb_test.go:37: file: "/tmp/userdb_test1777723564" + userdb_test.go:37: file: "/tmp/userdb_test2297015334" --- PASS: TestPlainScheme (0.00s) === RUN TestDeniedScheme - userdb_test.go:37: file: "/tmp/userdb_test696008098" + userdb_test.go:37: file: "/tmp/userdb_test3839347227" --- PASS: TestDeniedScheme (0.00s) === RUN TestReload - userdb_test.go:37: file: "/tmp/userdb_test403223663" + userdb_test.go:37: file: "/tmp/userdb_test1667350002" --- PASS: TestReload (0.00s) === RUN TestRemoveUser - userdb_test.go:37: file: "/tmp/userdb_test515315732" ---- PASS: TestRemoveUser (0.20s) + userdb_test.go:37: file: "/tmp/userdb_test3173133873" +--- PASS: TestRemoveUser (0.15s) === RUN TestExists - userdb_test.go:37: file: "/tmp/userdb_test4288095926" ---- PASS: TestExists (0.22s) + userdb_test.go:37: file: "/tmp/userdb_test99124175" +--- PASS: TestExists (0.15s) PASS -ok blitiri.com.ar/go/chasquid/internal/userdb 2.551s +ok blitiri.com.ar/go/chasquid/internal/userdb 1.522s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -2515,12 +2553,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/4577/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4577/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3163 and its subdirectories -I: Current time: Mon Apr 14 14:30:46 -12 2025 -I: pbuilder-time-stamp: 1744684246 +I: removing directory /srv/workspace/pbuilder/4577 and its subdirectories +I: Current time: Tue Apr 15 16:35:32 +14 2025 +I: pbuilder-time-stamp: 1744684532