Diff of the two buildlogs: -- --- b1/build.log 2020-04-20 16:24:04.083201038 +0000 +++ b2/build.log 2020-04-20 16:25:09.665918394 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 20 04:15:09 -12 2020 -I: pbuilder-time-stamp: 1587399309 +I: Current time: Mon May 24 12:47:05 +14 2021 +I: pbuilder-time-stamp: 1621810025 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Sat Mar 23 06:08:42 2019 -12 +gpgv: Signature made Sun Mar 24 08:08:42 2019 +14 gpgv: using RSA key 3F00E8A7504DD3A2A5B1B7E28EA3388440FC7F5C gpgv: issuer "ssgelm@debian.org" gpgv: Can't check signature: No public key @@ -30,6 +30,18 @@ dpkg-source: info: applying disable-flaky-test.patch I: using fakeroot in build. I: Installing the build-deps +I: user script /srv/workspace/pbuilder/31534/tmp/hooks/D01_modify_environment starting +debug: Running on profitbricks-build6-i386. +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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/31534/tmp/hooks/D01_modify_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -117,7 +129,7 @@ Get: 42 http://deb.debian.org/debian buster/main i386 golang-golang-x-text-dev all 0.3.0-2 [3393 kB] Get: 43 http://deb.debian.org/debian buster/main i386 golang-x-text-dev all 0.3.0-2 [3592 B] Get: 44 http://deb.debian.org/debian buster/main i386 golang-golang-x-net-dev all 1:0.0+git20181201.351d144+dfsg-3 [637 kB] -Fetched 79.5 MB in 32s (2523 kB/s) +Fetched 79.5 MB in 2s (38.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (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 ... 19231 files and directories currently installed.) @@ -316,7 +328,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-google-martian-2.1.0+git20181219.d0b5ad3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/golang-github-google-martian-2.1.0+git20181219.d0b5ad3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package golang-github-google-martian dpkg-buildpackage: info: source version 2.1.0+git20181219.d0b5ad3-3 dpkg-buildpackage: info: source distribution unstable @@ -334,90 +346,90 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-i686-linux-gnu && go install -gcflags=all=\"-trimpath=/build/golang-github-google-martian-2.1.0\+git20181219.d0b5ad3/obj-i686-linux-gnu/src\" -asmflags=all=\"-trimpath=/build/golang-github-google-martian-2.1.0\+git20181219.d0b5ad3/obj-i686-linux-gnu/src\" -v -p 10 github.com/google/martian github.com/google/martian/api github.com/google/martian/auth github.com/google/martian/body github.com/google/martian/cookie github.com/google/martian/cors github.com/google/martian/cybervillains github.com/google/martian/failure github.com/google/martian/fifo github.com/google/martian/filter github.com/google/martian/har github.com/google/martian/header github.com/google/martian/httpspec github.com/google/martian/ipauth github.com/google/martian/log github.com/google/martian/marbl github.com/google/martian/martianhttp github.com/google/martian/martianlog github.com/google/martian/martiantest github.com/google/martian/martianurl github.com/google/martian/messageview github.com/google/martian/method github.com/google/martian/mitm github.com/google/martian/mobile github.com/google/martian/nosigpipe github.com/google/martian/parse github.com/google/martian/pingback github.com/google/martian/port github.com/google/martian/priority github.com/google/martian/proxyauth github.com/google/martian/proxyutil github.com/google/martian/querystring github.com/google/martian/servemux github.com/google/martian/skip github.com/google/martian/stash github.com/google/martian/static github.com/google/martian/status github.com/google/martian/trafficshape github.com/google/martian/verify -crypto/internal/subtle -internal/race -crypto/subtle + cd obj-i686-linux-gnu && go install -gcflags=all=\"-trimpath=/build/golang-github-google-martian-2.1.0\+git20181219.d0b5ad3/obj-i686-linux-gnu/src\" -asmflags=all=\"-trimpath=/build/golang-github-google-martian-2.1.0\+git20181219.d0b5ad3/obj-i686-linux-gnu/src\" -v -p 18 github.com/google/martian github.com/google/martian/api github.com/google/martian/auth github.com/google/martian/body github.com/google/martian/cookie github.com/google/martian/cors github.com/google/martian/cybervillains github.com/google/martian/failure github.com/google/martian/fifo github.com/google/martian/filter github.com/google/martian/har github.com/google/martian/header github.com/google/martian/httpspec github.com/google/martian/ipauth github.com/google/martian/log github.com/google/martian/marbl github.com/google/martian/martianhttp github.com/google/martian/martianlog github.com/google/martian/martiantest github.com/google/martian/martianurl github.com/google/martian/messageview github.com/google/martian/method github.com/google/martian/mitm github.com/google/martian/mobile github.com/google/martian/nosigpipe github.com/google/martian/parse github.com/google/martian/pingback github.com/google/martian/port github.com/google/martian/priority github.com/google/martian/proxyauth github.com/google/martian/proxyutil github.com/google/martian/querystring github.com/google/martian/servemux github.com/google/martian/skip github.com/google/martian/stash github.com/google/martian/static github.com/google/martian/status github.com/google/martian/trafficshape github.com/google/martian/verify unicode -internal/cpu errors +internal/cpu +runtime/internal/sys runtime/internal/atomic +crypto/subtle +crypto/internal/subtle unicode/utf8 -runtime/internal/sys -math/bits +unicode/utf16 +vendor/golang_org/x/crypto/cryptobyte/asn1 sync/atomic -math +runtime/cgo container/list -vendor/golang_org/x/crypto/cryptobyte/asn1 -vendor/golang_org/x/net/dns/dnsmessage -internal/nettrace encoding +math/bits +internal/race +internal/nettrace +github.com/google/martian/cybervillains +vendor/golang_org/x/net/dns/dnsmessage +math internal/testlog -unicode/utf16 internal/bytealg -github.com/google/martian/cybervillains -runtime/cgo runtime strconv crypto/rc4 sync -internal/singleflight io +internal/singleflight math/rand reflect syscall hash -crypto/cipher crypto/internal/randutil +crypto/cipher bytes strings -crypto crypto/hmac +crypto hash/crc32 crypto/sha512 crypto/md5 crypto/sha1 crypto/sha256 crypto/aes -bufio vendor/golang_org/x/text/transform +bufio path internal/syscall/unix time internal/poll encoding/binary sort -regexp/syntax os +regexp/syntax crypto/des vendor/golang_org/x/crypto/poly1305 vendor/golang_org/x/crypto/internal/chacha20 -vendor/golang_org/x/crypto/curve25519 encoding/base64 -path/filepath -fmt +vendor/golang_org/x/crypto/curve25519 vendor/golang_org/x/crypto/chacha20poly1305 encoding/pem -regexp +path/filepath +fmt io/ioutil +regexp encoding/hex context -flag -vendor/golang_org/x/net/http2/hpack -mime log +flag net/url +vendor/golang_org/x/net/http2/hpack compress/flate +mime/quotedprintable +mime +net/http/internal math/big vendor/golang_org/x/text/unicode/norm -mime/quotedprintable +encoding/json github.com/google/martian/log vendor/golang_org/x/text/unicode/bidi -net/http/internal -encoding/json net -compress/gzip vendor/golang_org/x/text/secure/bidirule +compress/gzip vendor/golang_org/x/net/idna crypto/dsa crypto/rand @@ -428,45 +440,45 @@ crypto/x509/pkix vendor/golang_org/x/crypto/cryptobyte github.com/google/martian/nosigpipe -net/textproto vendor/golang_org/x/net/http/httpproxy +net/textproto crypto/x509 vendor/golang_org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http +github.com/google/martian/proxyutil +github.com/google/martian/mitm net/http/httputil -golang.org/x/net/websocket github.com/google/martian/cors -github.com/google/martian/mitm github.com/google/martian/trafficshape -github.com/google/martian/proxyutil +golang.org/x/net/websocket github.com/google/martian/martiantest github.com/google/martian/messageview github.com/google/martian github.com/google/martian/api -github.com/google/martian/parse github.com/google/martian/auth +github.com/google/martian/parse github.com/google/martian/verify -github.com/google/martian/har github.com/google/martian/marbl +github.com/google/martian/har github.com/google/martian/proxyauth github.com/google/martian/ipauth -github.com/google/martian/martianlog -github.com/google/martian/port github.com/google/martian/body +github.com/google/martian/martianlog github.com/google/martian/skip github.com/google/martian/priority +github.com/google/martian/port github.com/google/martian/stash +github.com/google/martian/static github.com/google/martian/filter -github.com/google/martian/fifo github.com/google/martian/failure -github.com/google/martian/martianhttp +github.com/google/martian/fifo github.com/google/martian/method -github.com/google/martian/pingback -github.com/google/martian/static +github.com/google/martian/martianhttp github.com/google/martian/status +github.com/google/martian/pingback github.com/google/martian/cookie github.com/google/martian/servemux github.com/google/martian/querystring @@ -475,7 +487,7 @@ github.com/google/martian/httpspec github.com/google/martian/mobile dh_auto_test -O--buildsystem=golang - cd obj-i686-linux-gnu && go test -vet=off -v -p 10 github.com/google/martian github.com/google/martian/api github.com/google/martian/auth github.com/google/martian/body github.com/google/martian/cookie github.com/google/martian/cors github.com/google/martian/cybervillains github.com/google/martian/failure github.com/google/martian/fifo github.com/google/martian/filter github.com/google/martian/har github.com/google/martian/header github.com/google/martian/httpspec github.com/google/martian/ipauth github.com/google/martian/log github.com/google/martian/marbl github.com/google/martian/martianhttp github.com/google/martian/martianlog github.com/google/martian/martiantest github.com/google/martian/martianurl github.com/google/martian/messageview github.com/google/martian/method github.com/google/martian/mitm github.com/google/martian/mobile github.com/google/martian/nosigpipe github.com/google/martian/parse github.com/google/martian/pingback github.com/google/martian/port github.com/google/martian/priority github.com/google/martian/proxyauth github.com/google/martian/proxyutil github.com/google/martian/querystring github.com/google/martian/servemux github.com/google/martian/skip github.com/google/martian/stash github.com/google/martian/static github.com/google/martian/status github.com/google/martian/trafficshape github.com/google/martian/verify + cd obj-i686-linux-gnu && go test -vet=off -v -p 18 github.com/google/martian github.com/google/martian/api github.com/google/martian/auth github.com/google/martian/body github.com/google/martian/cookie github.com/google/martian/cors github.com/google/martian/cybervillains github.com/google/martian/failure github.com/google/martian/fifo github.com/google/martian/filter github.com/google/martian/har github.com/google/martian/header github.com/google/martian/httpspec github.com/google/martian/ipauth github.com/google/martian/log github.com/google/martian/marbl github.com/google/martian/martianhttp github.com/google/martian/martianlog github.com/google/martian/martiantest github.com/google/martian/martianurl github.com/google/martian/messageview github.com/google/martian/method github.com/google/martian/mitm github.com/google/martian/mobile github.com/google/martian/nosigpipe github.com/google/martian/parse github.com/google/martian/pingback github.com/google/martian/port github.com/google/martian/priority github.com/google/martian/proxyauth github.com/google/martian/proxyutil github.com/google/martian/querystring github.com/google/martian/servemux github.com/google/martian/skip github.com/google/martian/stash github.com/google/martian/static github.com/google/martian/status github.com/google/martian/trafficshape github.com/google/martian/verify === RUN TestContexts --- PASS: TestContexts (0.00s) === RUN TestContextHijack @@ -515,179 +527,159 @@ === RUN TestServerClosesConnection === PAUSE TestServerClosesConnection === RUN TestConstantThrottleAndClose -2020/04/20 16:23:22 INFO: trafficshape: configuration request -2020/04/20 16:23:22 INFO: trafficshape: set capacity: 62500000000 -2020/04/20 16:23:22 INFO: trafficshape: set capacity: 62500000000 -2020/04/20 16:23:22 INFO: trafficshape: set capacity: 100 -2020/04/20 16:23:22 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. -2020/04/20 16:23:22 INFO: trafficshape: Changing connection bandwidth to 100 for urlregex http://example/example at byte offset 0 -2020/04/20 16:23:22 INFO: trafficshape: set capacity: 100 -2020/04/20 16:23:27 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 600 -2020/04/20 16:23:27 ERROR: martian: got error while flushing response back to client: Forcing close connection -2020/04/20 16:23:27 INFO: martian: closing down proxy -2020/04/20 16:23:27 INFO: martian: waiting for connections to close -2020/04/20 16:23:27 INFO: martian: all connections closed ---- PASS: TestConstantThrottleAndClose (5.02s) +2021/05/23 22:47:37 INFO: trafficshape: configuration request +2021/05/23 22:47:37 INFO: trafficshape: set capacity: 62500000000 +2021/05/23 22:47:37 INFO: trafficshape: set capacity: 62500000000 +2021/05/23 22:47:37 INFO: trafficshape: set capacity: 100 +2021/05/23 22:47:37 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. +2021/05/23 22:47:37 INFO: trafficshape: Changing connection bandwidth to 100 for urlregex http://example/example at byte offset 0 +2021/05/23 22:47:37 INFO: trafficshape: set capacity: 100 +2021/05/23 22:47:42 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 600 +2021/05/23 22:47:42 ERROR: martian: got error while flushing response back to client: Forcing close connection +2021/05/23 22:47:42 INFO: martian: closing down proxy +2021/05/23 22:47:42 INFO: martian: waiting for connections to close +2021/05/23 22:47:42 INFO: martian: all connections closed +--- PASS: TestConstantThrottleAndClose (5.00s) === RUN TestSleepAndClose -2020/04/20 16:23:27 INFO: trafficshape: configuration request -2020/04/20 16:23:27 INFO: trafficshape: set capacity: 62500000000 -2020/04/20 16:23:27 INFO: trafficshape: set capacity: 62500000000 -2020/04/20 16:23:27 INFO: trafficshape: set capacity: 5000 -2020/04/20 16:23:27 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. -2020/04/20 16:23:27 INFO: trafficshape: Changing connection bandwidth to 5000 for urlregex http://example/example at byte offset 0 -2020/04/20 16:23:27 INFO: trafficshape: set capacity: 5000 -2020/04/20 16:23:32 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 200 -2020/04/20 16:23:32 ERROR: martian: got error while flushing response back to client: Forcing close connection -2020/04/20 16:23:32 INFO: martian: closing down proxy -2020/04/20 16:23:32 INFO: martian: waiting for connections to close -2020/04/20 16:23:32 INFO: martian: all connections closed +2021/05/23 22:47:42 INFO: trafficshape: configuration request +2021/05/23 22:47:42 INFO: trafficshape: set capacity: 62500000000 +2021/05/23 22:47:42 INFO: trafficshape: set capacity: 62500000000 +2021/05/23 22:47:42 INFO: trafficshape: set capacity: 5000 +2021/05/23 22:47:42 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. +2021/05/23 22:47:42 INFO: trafficshape: Changing connection bandwidth to 5000 for urlregex http://example/example at byte offset 0 +2021/05/23 22:47:42 INFO: trafficshape: set capacity: 5000 +2021/05/23 22:47:47 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 200 +2021/05/23 22:47:47 ERROR: martian: got error while flushing response back to client: Forcing close connection +2021/05/23 22:47:47 INFO: martian: closing down proxy +2021/05/23 22:47:47 INFO: martian: waiting for connections to close +2021/05/23 22:47:47 INFO: martian: all connections closed --- PASS: TestSleepAndClose (5.00s) === RUN TestConstantThrottleAndCloseByteRange -2020/04/20 16:23:32 INFO: trafficshape: configuration request -2020/04/20 16:23:32 INFO: trafficshape: set capacity: 62500000000 -2020/04/20 16:23:32 INFO: trafficshape: set capacity: 62500000000 -2020/04/20 16:23:32 INFO: trafficshape: set capacity: 100 -2020/04/20 16:23:32 INFO: trafficshape: Request http://example/example with Range Start: 500 matches a Shaping request http://example/example. Will enforce Traffic shaping. -2020/04/20 16:23:32 INFO: trafficshape: Changing connection bandwidth to 100 for urlregex http://example/example at byte offset 500 -2020/04/20 16:23:32 INFO: trafficshape: set capacity: 100 -2020/04/20 16:23:37 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 1100 -2020/04/20 16:23:37 ERROR: martian: got error while flushing response back to client: Forcing close connection -2020/04/20 16:23:37 INFO: martian: closing down proxy -2020/04/20 16:23:37 INFO: martian: waiting for connections to close -2020/04/20 16:23:37 INFO: martian: all connections closed +2021/05/23 22:47:47 INFO: trafficshape: configuration request +2021/05/23 22:47:47 INFO: trafficshape: set capacity: 62500000000 +2021/05/23 22:47:47 INFO: trafficshape: set capacity: 62500000000 +2021/05/23 22:47:47 INFO: trafficshape: set capacity: 100 +2021/05/23 22:47:47 INFO: trafficshape: Request http://example/example with Range Start: 500 matches a Shaping request http://example/example. Will enforce Traffic shaping. +2021/05/23 22:47:47 INFO: trafficshape: Changing connection bandwidth to 100 for urlregex http://example/example at byte offset 500 +2021/05/23 22:47:47 INFO: trafficshape: set capacity: 100 +2021/05/23 22:47:52 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 1100 +2021/05/23 22:47:52 ERROR: martian: got error while flushing response back to client: Forcing close connection +2021/05/23 22:47:52 INFO: martian: closing down proxy +2021/05/23 22:47:52 INFO: martian: waiting for connections to close +2021/05/23 22:47:52 INFO: martian: all connections closed --- PASS: TestConstantThrottleAndCloseByteRange (5.00s) === RUN TestMaxBandwidth -2020/04/20 16:23:37 INFO: trafficshape: configuration request -2020/04/20 16:23:37 INFO: trafficshape: set capacity: 62500000000 -2020/04/20 16:23:37 INFO: trafficshape: set capacity: 62500000000 -2020/04/20 16:23:37 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. -2020/04/20 16:23:37 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. -2020/04/20 16:23:37 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. -2020/04/20 16:23:37 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. -2020/04/20 16:23:37 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. -2020/04/20 16:23:39 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 -2020/04/20 16:23:39 ERROR: martian: got error while flushing response back to client: Forcing close connection -2020/04/20 16:23:41 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 -2020/04/20 16:23:41 ERROR: martian: got error while flushing response back to client: Forcing close connection -2020/04/20 16:23:44 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 -2020/04/20 16:23:44 ERROR: martian: got error while flushing response back to client: Forcing close connection -2020/04/20 16:23:45 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 -2020/04/20 16:23:45 ERROR: martian: got error while flushing response back to client: Forcing close connection -2020/04/20 16:23:46 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 -2020/04/20 16:23:46 ERROR: martian: got error while flushing response back to client: Forcing close connection -2020/04/20 16:23:46 INFO: martian: closing down proxy -2020/04/20 16:23:46 INFO: martian: waiting for connections to close -2020/04/20 16:23:46 INFO: martian: all connections closed +2021/05/23 22:47:52 INFO: trafficshape: configuration request +2021/05/23 22:47:52 INFO: trafficshape: set capacity: 62500000000 +2021/05/23 22:47:52 INFO: trafficshape: set capacity: 62500000000 +2021/05/23 22:47:52 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. +2021/05/23 22:47:52 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. +2021/05/23 22:47:52 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. +2021/05/23 22:47:52 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. +2021/05/23 22:47:52 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. +2021/05/23 22:47:54 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 +2021/05/23 22:47:54 ERROR: martian: got error while flushing response back to client: Forcing close connection +2021/05/23 22:47:55 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 +2021/05/23 22:47:55 ERROR: martian: got error while flushing response back to client: Forcing close connection +2021/05/23 22:47:58 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 +2021/05/23 22:47:58 ERROR: martian: got error while flushing response back to client: Forcing close connection +2021/05/23 22:48:00 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 +2021/05/23 22:48:00 ERROR: martian: got error while flushing response back to client: Forcing close connection +2021/05/23 22:48:01 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 +2021/05/23 22:48:01 ERROR: martian: got error while flushing response back to client: Forcing close connection +2021/05/23 22:48:01 INFO: martian: closing down proxy +2021/05/23 22:48:01 INFO: martian: waiting for connections to close +2021/05/23 22:48:01 INFO: martian: all connections closed --- PASS: TestMaxBandwidth (9.00s) === RUN TestConcurrentResponseActions -2020/04/20 16:23:46 INFO: trafficshape: configuration request -2020/04/20 16:23:46 INFO: trafficshape: set capacity: 62500000000 -2020/04/20 16:23:46 INFO: trafficshape: set capacity: 62500000000 -2020/04/20 16:23:46 INFO: trafficshape: set capacity: 250 -2020/04/20 16:23:46 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. -2020/04/20 16:23:46 INFO: trafficshape: set capacity: 250 -2020/04/20 16:23:46 INFO: trafficshape: Request http://example/example with Range Start: 250 matches a Shaping request http://example/example. Will enforce Traffic shaping. -2020/04/20 16:23:46 INFO: trafficshape: Changing connection bandwidth to 250 for urlregex http://example/example at byte offset 0 -2020/04/20 16:23:46 INFO: trafficshape: set capacity: 250 -2020/04/20 16:23:46 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 450 -2020/04/20 16:23:46 ERROR: martian: got error while flushing response back to client: Forcing close connection -2020/04/20 16:23:47 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 -2020/04/20 16:23:47 ERROR: martian: got error while flushing response back to client: Forcing close connection -2020/04/20 16:23:47 INFO: martian: closing down proxy -2020/04/20 16:23:47 INFO: martian: waiting for connections to close -2020/04/20 16:23:47 INFO: martian: all connections closed +2021/05/23 22:48:01 INFO: trafficshape: configuration request +2021/05/23 22:48:01 INFO: trafficshape: set capacity: 62500000000 +2021/05/23 22:48:01 INFO: trafficshape: set capacity: 62500000000 +2021/05/23 22:48:01 INFO: trafficshape: set capacity: 250 +2021/05/23 22:48:01 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. +2021/05/23 22:48:01 INFO: trafficshape: Changing connection bandwidth to 250 for urlregex http://example/example at byte offset 0 +2021/05/23 22:48:01 INFO: trafficshape: set capacity: 250 +2021/05/23 22:48:01 INFO: trafficshape: set capacity: 250 +2021/05/23 22:48:01 INFO: trafficshape: Request http://example/example with Range Start: 250 matches a Shaping request http://example/example. Will enforce Traffic shaping. +2021/05/23 22:48:01 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 450 +2021/05/23 22:48:01 ERROR: martian: got error while flushing response back to client: Forcing close connection +2021/05/23 22:48:02 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 +2021/05/23 22:48:02 ERROR: martian: got error while flushing response back to client: Forcing close connection +2021/05/23 22:48:02 INFO: martian: closing down proxy +2021/05/23 22:48:02 INFO: martian: waiting for connections to close +2021/05/23 22:48:02 INFO: martian: all connections closed --- PASS: TestConcurrentResponseActions (1.00s) === CONT TestIntegrationTemporaryTimeout -=== CONT TestServerClosesConnection +=== CONT TestIntegrationTransparentHTTP +=== CONT TestIntegrationTLSHandshakeErrorCallback +=== CONT TestHTTPThroughConnectWithMITM === CONT TestIntegrationConnectDownstreamProxy +=== CONT TestIntegrationMITM +2021/05/23 22:48:02 INFO: martian: closing down proxy +2021/05/23 22:48:02 INFO: martian: waiting for connections to close +=== CONT TestIntegrationFailedRoundTrip +2021/05/23 22:48:02 INFO: martian: all connections closed +--- PASS: TestIntegrationTransparentHTTP (0.00s) +=== CONT TestIntegrationSkipRoundTrip +=== CONT TestIntegrationConnect +2021/05/23 22:48:02 ERROR: martian: failed to round trip: round trip error === CONT TestIntegrationHTTPDownstreamProxyError +=== CONT TestIntegrationTransparentMITM +2021/05/23 22:48:02 INFO: martian: closing down proxy === CONT TestIntegrationHTTP100Continue +2021/05/23 22:48:02 INFO: martian: waiting for connections to close +2021/05/23 22:48:02 INFO: martian: all connections closed +--- PASS: TestIntegrationFailedRoundTrip (0.01s) +2021/05/23 22:48:02 INFO: martian: closing down proxy +=== CONT TestServerClosesConnection +2021/05/23 22:48:02 INFO: martian: waiting for connections to close +2021/05/23 22:48:02 INFO: martian: all connections closed +--- PASS: TestIntegrationSkipRoundTrip (0.01s) === CONT TestIntegrationHTTPDownstreamProxy +2021/05/23 22:48:02 ERROR: martian: failed to CONNECT: +2021/05/23 22:48:02 ERROR: martian: error modifying CONNECT response: response error +2021/05/23 22:48:02 INFO: proxy_test: accepted connection: [::1]:33718 === CONT TestIntegrationHTTP -2020/04/20 16:23:47 INFO: proxy_test: accepted connection: [::1]:48112 -2020/04/20 16:23:47 INFO: proxy_test: received 100-continue request -2020/04/20 16:23:47 INFO: proxy_test: sent 100-continue response -=== CONT TestIntegrationFailedRoundTrip -2020/04/20 16:23:47 INFO: martian: closing down proxy -2020/04/20 16:23:47 INFO: martian: waiting for connections to close -2020/04/20 16:23:47 INFO: martian: all connections closed +2021/05/23 22:48:02 INFO: martian: closing down proxy +2021/05/23 22:48:02 INFO: martian: waiting for connections to close +2021/05/23 22:48:02 INFO: martian: all connections closed +--- PASS: TestIntegrationHTTPDownstreamProxyError (0.01s) +2021/05/23 22:48:02 INFO: proxy_test: received 100-continue request +2021/05/23 22:48:02 INFO: proxy_test: sent 100-continue response +2021/05/23 22:48:02 INFO: martian: closing down proxy +2021/05/23 22:48:02 INFO: martian: waiting for connections to close +2021/05/23 22:48:02 INFO: martian: all connections closed --- PASS: TestIntegrationHTTP (0.00s) -=== CONT TestHTTPThroughConnectWithMITM -=== CONT TestIntegrationTransparentHTTP -2020/04/20 16:23:47 INFO: martian: closing down proxy -2020/04/20 16:23:47 INFO: martian: waiting for connections to close -2020/04/20 16:23:47 INFO: martian: all connections closed -2020/04/20 16:23:47 INFO: martian: closing down proxy -2020/04/20 16:23:47 INFO: martian: waiting for connections to close -2020/04/20 16:23:47 INFO: martian: all connections closed +2021/05/23 22:48:02 INFO: martian: closing down proxy +2021/05/23 22:48:02 INFO: martian: waiting for connections to close +2021/05/23 22:48:02 INFO: martian: all connections closed +2021/05/23 22:48:02 INFO: martian: closing down proxy +2021/05/23 22:48:02 INFO: martian: waiting for connections to close +2021/05/23 22:48:02 INFO: martian: all connections closed --- PASS: TestIntegrationHTTPDownstreamProxy (0.00s) -=== CONT TestIntegrationTransparentMITM -=== CONT TestIntegrationMITM -2020/04/20 16:23:47 ERROR: martian: failed to round trip: round trip error -2020/04/20 16:23:47 INFO: martian: closing down proxy -2020/04/20 16:23:47 INFO: martian: waiting for connections to close -2020/04/20 16:23:47 INFO: martian: all connections closed ---- PASS: TestIntegrationFailedRoundTrip (0.02s) -=== CONT TestIntegrationSkipRoundTrip -2020/04/20 16:23:47 ERROR: martian: failed to CONNECT: -2020/04/20 16:23:47 ERROR: martian: error modifying CONNECT response: response error -2020/04/20 16:23:47 INFO: martian: closing down proxy -2020/04/20 16:23:47 INFO: martian: waiting for connections to close -2020/04/20 16:23:47 INFO: martian: all connections closed ---- PASS: TestIntegrationSkipRoundTrip (0.00s) -=== CONT TestIntegrationConnect -2020/04/20 16:23:47 INFO: martian: closing down proxy -2020/04/20 16:23:47 INFO: martian: waiting for connections to close -2020/04/20 16:23:47 INFO: martian: all connections closed ---- PASS: TestIntegrationHTTPDownstreamProxyError (0.02s) -=== CONT TestIntegrationTLSHandshakeErrorCallback -2020/04/20 16:23:47 INFO: martian: closing down proxy -2020/04/20 16:23:47 INFO: martian: waiting for connections to close -2020/04/20 16:23:47 INFO: martian: all connections closed ---- PASS: TestIntegrationTransparentHTTP (0.02s) -2020/04/20 16:23:47 INFO: martian: closing down proxy -2020/04/20 16:23:47 INFO: martian: waiting for connections to close -2020/04/20 16:23:47 INFO: martian: all connections closed ---- PASS: TestIntegrationTemporaryTimeout (0.06s) -2020/04/20 16:23:48 INFO: proxy_test: sent 200 response -2020/04/20 16:23:48 INFO: martian: closing down proxy -2020/04/20 16:23:48 INFO: martian: waiting for connections to close -2020/04/20 16:23:48 INFO: martian: all connections closed +2021/05/23 22:48:02 INFO: martian: closing down proxy +2021/05/23 22:48:02 INFO: martian: waiting for connections to close +2021/05/23 22:48:02 INFO: martian: all connections closed +--- PASS: TestIntegrationTemporaryTimeout (0.04s) +2021/05/23 22:48:03 ERROR: martian: error modifying CONNECT request: request error +2021/05/23 22:48:03 ERROR: martian: error modifying CONNECT response: response error +2021/05/23 22:48:03 ERROR: martian: error modifying request: request error +2021/05/23 22:48:03 ERROR: martian: error modifying response: response error +2021/05/23 22:48:03 INFO: martian: closing down proxy +2021/05/23 22:48:03 INFO: martian: waiting for connections to close +2021/05/23 22:48:03 INFO: martian: all connections closed +--- PASS: TestIntegrationMITM (0.95s) +2021/05/23 22:48:03 INFO: proxy_test: sent 200 response +2021/05/23 22:48:03 INFO: martian: closing down proxy +2021/05/23 22:48:03 INFO: martian: waiting for connections to close +2021/05/23 22:48:03 INFO: martian: all connections closed --- PASS: TestIntegrationHTTP100Continue (1.00s) -2020/04/20 16:23:50 ERROR: martian: error modifying CONNECT request: request error -2020/04/20 16:23:50 ERROR: martian: error modifying CONNECT response: response error -2020/04/20 16:23:50 ERROR: martian: error modifying request: request error -2020/04/20 16:23:50 ERROR: martian: error modifying response: response error -2020/04/20 16:23:50 INFO: martian: closing down proxy -2020/04/20 16:23:50 INFO: martian: waiting for connections to close -2020/04/20 16:23:50 INFO: martian: all connections closed ---- PASS: TestIntegrationMITM (3.07s) -2020/04/20 16:23:50 INFO: martian: closing down proxy -2020/04/20 16:23:50 INFO: martian: waiting for connections to close -2020/04/20 16:23:50 INFO: martian: all connections closed ---- SKIP: TestIntegrationTLSHandshakeErrorCallback (3.44s) - proxy_test.go:509: skipping assertion of handshake error callback error due to mysterious deadlock -2020/04/20 16:23:51 INFO: martian: closing down proxy -2020/04/20 16:23:51 INFO: martian: waiting for connections to close -2020/04/20 16:23:51 INFO: martian: all connections closed ---- PASS: TestHTTPThroughConnectWithMITM (3.62s) -2020/04/20 16:23:51 INFO: martian: closing down proxy -2020/04/20 16:23:51 INFO: martian: waiting for connections to close -2020/04/20 16:23:51 INFO: martian: all connections closed ---- PASS: TestIntegrationTransparentMITM (4.37s) -2020/04/20 16:23:53 ERROR: martian: error modifying CONNECT request: request error -2020/04/20 16:23:53 ERROR: martian: error modifying CONNECT response: response error -2020/04/20 16:23:53 INFO: martian: closing down proxy -2020/04/20 16:23:53 INFO: martian: waiting for connections to close -2020/04/20 16:23:53 INFO: martian: all connections closed ---- PASS: TestIntegrationConnect (5.77s) -2020/04/20 16:23:53 INFO: martian: closing down proxy -2020/04/20 16:23:53 INFO: martian: waiting for connections to close -2020/04/20 16:23:53 INFO: martian: all connections closed -2020/04/20 16:23:53 INFO: martian: closing down proxy -2020/04/20 16:23:53 INFO: martian: waiting for connections to close -2020/04/20 16:23:53 INFO: martian: all connections closed ---- PASS: TestIntegrationConnectDownstreamProxy (6.06s) +2021/05/23 22:48:03 ERROR: martian: error modifying CONNECT request: request error +2021/05/23 22:48:03 ERROR: martian: error modifying CONNECT response: response error +2021/05/23 22:48:03 INFO: martian: closing down proxy +2021/05/23 22:48:03 INFO: martian: waiting for connections to close +2021/05/23 22:48:03 INFO: martian: all connections closed +--- PASS: TestIntegrationConnect (1.25s) HTTP/1.1 301 MOVED PERMANENTLY Connection: close Content-Type: text/html @@ -696,18 +688,38 @@ Referer: Server: -2020/04/20 16:23:53 INFO: martian: closing down proxy -2020/04/20 16:23:53 INFO: martian: waiting for connections to close -2020/04/20 16:23:53 INFO: martian: all connections closed ---- PASS: TestServerClosesConnection (6.47s) +2021/05/23 22:48:04 INFO: martian: closing down proxy +2021/05/23 22:48:04 INFO: martian: waiting for connections to close +2021/05/23 22:48:04 INFO: martian: all connections closed +--- PASS: TestServerClosesConnection (1.96s) proxy_test.go:1230: Waiting for server side connection proxy_test.go:1235: Accepted server side connection +2021/05/23 22:48:04 INFO: martian: closing down proxy +2021/05/23 22:48:04 INFO: martian: waiting for connections to close +2021/05/23 22:48:04 INFO: martian: all connections closed +--- PASS: TestIntegrationTransparentMITM (1.96s) +2021/05/23 22:48:04 INFO: martian: closing down proxy +2021/05/23 22:48:04 INFO: martian: waiting for connections to close +2021/05/23 22:48:04 INFO: martian: all connections closed +--- SKIP: TestIntegrationTLSHandshakeErrorCallback (2.24s) + proxy_test.go:509: skipping assertion of handshake error callback error due to mysterious deadlock +2021/05/23 22:48:05 INFO: martian: closing down proxy +2021/05/23 22:48:05 INFO: martian: waiting for connections to close +2021/05/23 22:48:05 INFO: martian: all connections closed +--- PASS: TestHTTPThroughConnectWithMITM (2.96s) +2021/05/23 22:48:05 INFO: martian: closing down proxy +2021/05/23 22:48:05 INFO: martian: waiting for connections to close +2021/05/23 22:48:05 INFO: martian: all connections closed +2021/05/23 22:48:05 INFO: martian: closing down proxy +2021/05/23 22:48:05 INFO: martian: waiting for connections to close +2021/05/23 22:48:05 INFO: martian: all connections closed +--- PASS: TestIntegrationConnectDownstreamProxy (3.52s) PASS -ok github.com/google/martian 31.520s +ok github.com/google/martian 28.537s === RUN TestApiForwarder --- PASS: TestApiForwarder (0.00s) PASS -ok github.com/google/martian/api 0.036s +ok github.com/google/martian/api 0.008s === RUN TestFilter --- PASS: TestFilter (0.00s) === RUN TestModifyRequest @@ -715,7 +727,7 @@ === RUN TestModifyResponse --- PASS: TestModifyResponse (0.00s) PASS -ok github.com/google/martian/auth 0.019s +ok github.com/google/martian/auth 0.013s === RUN TestBodyModifier --- PASS: TestBodyModifier (0.00s) === RUN TestRangeHeaderRequestSingleRange @@ -729,7 +741,7 @@ === RUN TestModifierFromJSON --- PASS: TestModifierFromJSON (0.00s) PASS -ok github.com/google/martian/body 0.027s +ok github.com/google/martian/body 0.017s === RUN TestFilterFromJSON --- PASS: TestFilterFromJSON (0.00s) === RUN TestFilterFromJSONWithoutElse @@ -747,7 +759,7 @@ === RUN TestModifierFromJSON --- PASS: TestModifierFromJSON (0.00s) PASS -ok github.com/google/martian/cookie 0.051s +ok github.com/google/martian/cookie 0.020s === RUN TestServeHTTPSameOrigin --- PASS: TestServeHTTPSameOrigin (0.00s) === RUN TestServeHTTPPreflight @@ -755,7 +767,7 @@ === RUN TestServeHTTPSimple --- PASS: TestServeHTTPSimple (0.00s) PASS -ok github.com/google/martian/cors 0.014s +ok github.com/google/martian/cors 0.028s ? github.com/google/martian/cybervillains [no test files] === RUN TestVerifyRequestFails --- PASS: TestVerifyRequestFails (0.00s) @@ -764,7 +776,7 @@ === RUN TestVerifierFromJSON --- PASS: TestVerifierFromJSON (0.00s) PASS -ok github.com/google/martian/failure 0.024s +ok github.com/google/martian/failure 0.007s === RUN TestGroupFromJSON --- PASS: TestGroupFromJSON (0.00s) === RUN TestModifyRequest @@ -786,7 +798,7 @@ === RUN TestResets --- PASS: TestResets (0.00s) PASS -ok github.com/google/martian/fifo 0.047s +ok github.com/google/martian/fifo 0.016s === RUN TestRequestWhenTrueCondition --- PASS: TestRequestWhenTrueCondition (0.00s) === RUN TestRequestWhenFalseCondition @@ -802,9 +814,9 @@ === RUN TestPassThroughVerifyResponses --- PASS: TestPassThroughVerifyResponses (0.00s) PASS -ok github.com/google/martian/filter 0.012s +ok github.com/google/martian/filter 0.043s === RUN TestExportHandlerServeHTTP -2020/04/20 16:23:25 ERROR: har: invalid value for return param: strconv.ParseBool: parsing "notboolean": invalid syntax +2021/05/23 22:47:37 ERROR: har: invalid value for return param: strconv.ParseBool: parsing "notboolean": invalid syntax --- PASS: TestExportHandlerServeHTTP (0.00s) === RUN TestModifyRequest --- PASS: TestModifyRequest (0.00s) @@ -813,7 +825,7 @@ === RUN TestModifyRequestBodyURLEncoded --- PASS: TestModifyRequestBodyURLEncoded (0.00s) === RUN TestModifyRequestBodyArbitraryContentType -2020/04/20 16:23:25 ERROR: har: cannot parse Content-Type header "": mime: no media type +2021/05/23 22:47:37 ERROR: har: cannot parse Content-Type header "": mime: no media type --- PASS: TestModifyRequestBodyArbitraryContentType (0.00s) === RUN TestModifyRequestBodyMultipart --- PASS: TestModifyRequestBodyMultipart (0.00s) @@ -844,7 +856,7 @@ === RUN TestJSONMarshalPostData --- PASS: TestJSONMarshalPostData (0.00s) PASS -ok github.com/google/martian/har 0.024s +ok github.com/google/martian/har 0.027s === RUN TestCopyModifier --- PASS: TestCopyModifier (0.00s) === RUN TestCopyModifierFromJSON @@ -902,27 +914,27 @@ === RUN TestViaModifier --- PASS: TestViaModifier (0.00s) PASS -ok github.com/google/martian/header 0.026s +ok github.com/google/martian/header 0.039s === RUN TestNewStack --- PASS: TestNewStack (0.00s) PASS -ok github.com/google/martian/httpspec 0.008s +ok github.com/google/martian/httpspec 0.027s === RUN TestModifyRequest --- PASS: TestModifyRequest (0.00s) === RUN TestModifyResponse --- PASS: TestModifyResponse (0.00s) PASS -ok github.com/google/martian/ipauth 0.010s +ok github.com/google/martian/ipauth 0.036s === RUN TestLog --- PASS: TestLog (0.00s) PASS -ok github.com/google/martian/log 0.030s +ok github.com/google/martian/log 0.005s === RUN TestStreamsInSentOrder --- SKIP: TestStreamsInSentOrder (0.00s) handler_test.go:30: skipping test to deflake. === RUN TestUnreadsDontBlock -2020/04/20 16:23:26 ERROR: logstream: failed to send message: write tcp 127.0.0.1:37079->127.0.0.1:53466: write: connection reset by peer ---- PASS: TestUnreadsDontBlock (0.45s) +2021/05/23 22:47:37 ERROR: logstream: failed to send message: write tcp 127.0.0.1:38717->127.0.0.1:37680: write: connection reset by peer +--- PASS: TestUnreadsDontBlock (0.25s) === RUN TestMarkAPIRequestsWithHeader --- PASS: TestMarkAPIRequestsWithHeader (0.00s) === RUN TestSendTimestampWithLogRequest @@ -936,9 +948,9 @@ === RUN TestReturnOriginalRequestPathAndQuery --- PASS: TestReturnOriginalRequestPathAndQuery (0.00s) PASS -ok github.com/google/martian/marbl 0.480s +ok github.com/google/martian/marbl 0.258s === RUN TestAuthorityHandler ---- PASS: TestAuthorityHandler (1.18s) +--- PASS: TestAuthorityHandler (0.80s) === RUN TestIntegration --- PASS: TestIntegration (0.00s) === RUN TestNoModifiers @@ -954,24 +966,24 @@ === RUN TestServeHTTPInvalidMethod --- PASS: TestServeHTTPInvalidMethod (0.00s) === RUN TestServeHTTPInvalidJSON -2020/04/20 16:23:27 ERROR: martianhttp: error parsing JSON: invalid character 'o' in literal null (expecting 'u') +2021/05/23 22:47:38 ERROR: martianhttp: error parsing JSON: invalid character 'o' in literal null (expecting 'u') --- PASS: TestServeHTTPInvalidJSON (0.00s) === RUN TestServeHTTP --- PASS: TestServeHTTP (0.00s) PASS -ok github.com/google/martian/martianhttp 1.232s +ok github.com/google/martian/martianhttp 0.806s === RUN TestLoggerFromJSON --- PASS: TestLoggerFromJSON (0.00s) === RUN ExampleLogger --- PASS: ExampleLogger (0.00s) PASS -ok github.com/google/martian/martianlog 0.042s +ok github.com/google/martian/martianlog 0.039s === RUN TestModifier --- PASS: TestModifier (0.00s) === RUN TestTransport --- PASS: TestTransport (0.00s) PASS -ok github.com/google/martian/martiantest 0.036s +ok github.com/google/martian/martiantest 0.055s === RUN TestMatchHost --- PASS: TestMatchHost (0.00s) === RUN TestFilterModifyRequest @@ -993,7 +1005,7 @@ === RUN TestModifierFromJSON --- PASS: TestModifierFromJSON (0.00s) === RUN TestRegexFilterModifyRequest ---- PASS: TestRegexFilterModifyRequest (0.00s) +--- PASS: TestRegexFilterModifyRequest (0.01s) === RUN TestRegexFilterModifyResponse --- PASS: TestRegexFilterModifyResponse (0.00s) === RUN TestRegexFilterFromJSON @@ -1003,7 +1015,7 @@ === RUN TestVerifierFromJSON --- PASS: TestVerifierFromJSON (0.00s) PASS -ok github.com/google/martian/martianurl 0.043s +ok github.com/google/martian/martianurl 0.036s === RUN TestRequestViewHeadersOnly --- PASS: TestRequestViewHeadersOnly (0.00s) === RUN TestRequestView @@ -1029,9 +1041,9 @@ === RUN TestResponseViewDecodeGzipContentEncodingPartial --- PASS: TestResponseViewDecodeGzipContentEncodingPartial (0.00s) === RUN TestResponseViewDecodeDeflateContentEncoding ---- PASS: TestResponseViewDecodeDeflateContentEncoding (0.00s) +--- PASS: TestResponseViewDecodeDeflateContentEncoding (0.01s) PASS -ok github.com/google/martian/messageview 0.014s +ok github.com/google/martian/messageview 0.072s === RUN TestVerifierFromJSON --- PASS: TestVerifierFromJSON (0.00s) === RUN TestVerifyRequestPasses @@ -1041,13 +1053,13 @@ === RUN TestBadInputToConstructor --- PASS: TestBadInputToConstructor (0.00s) PASS -ok github.com/google/martian/method 0.012s +ok github.com/google/martian/method 0.033s === RUN TestMITM ---- PASS: TestMITM (2.63s) +--- PASS: TestMITM (2.30s) === RUN TestCert ---- PASS: TestCert (4.70s) +--- PASS: TestCert (1.89s) PASS -ok github.com/google/martian/mitm 7.362s +ok github.com/google/martian/mitm 4.216s ? github.com/google/martian/mobile [no test files] ? github.com/google/martian/nosigpipe [no test files] === RUN TestFromJSON @@ -1059,13 +1071,13 @@ === RUN TestParseUnknownModifierReturnsError --- PASS: TestParseUnknownModifierReturnsError (0.00s) PASS -ok github.com/google/martian/parse 0.012s +ok github.com/google/martian/parse 0.020s === RUN TestVerifyRequests --- PASS: TestVerifyRequests (0.00s) === RUN TestVerifierFromJSON --- PASS: TestVerifierFromJSON (0.00s) PASS -ok github.com/google/martian/pingback 0.014s +ok github.com/google/martian/pingback 0.013s === RUN TestFilterModifyRequest --- PASS: TestFilterModifyRequest (0.00s) === RUN TestFilterFromJSON @@ -1085,7 +1097,7 @@ === RUN TestModiferFromJSONInvalidConfigurations --- PASS: TestModiferFromJSONInvalidConfigurations (0.00s) PASS -ok github.com/google/martian/port 0.021s +ok github.com/google/martian/port 0.013s === RUN TestPriorityGroupModifyRequest --- PASS: TestPriorityGroupModifyRequest (0.00s) === RUN TestPriorityGroupModifyRequestHaltsOnError @@ -1097,7 +1109,7 @@ === RUN TestGroupFromJSON --- PASS: TestGroupFromJSON (0.00s) PASS -ok github.com/google/martian/priority 0.014s +ok github.com/google/martian/priority 0.019s === RUN TestNoModifiers --- PASS: TestNoModifiers (0.00s) === RUN TestProxyAuth @@ -1105,7 +1117,7 @@ === RUN TestProxyAuthInvalidCredentials --- PASS: TestProxyAuthInvalidCredentials (0.00s) PASS -ok github.com/google/martian/proxyauth 0.019s +ok github.com/google/martian/proxyauth 0.010s === RUN TestRequestHeader --- PASS: TestRequestHeader (0.00s) === RUN TestRequestHeaderAdd @@ -1119,7 +1131,7 @@ === RUN TestWarning --- PASS: TestWarning (0.00s) PASS -ok github.com/google/martian/proxyutil 0.059s +ok github.com/google/martian/proxyutil 0.046s === RUN TestNoModifiers --- PASS: TestNoModifiers (0.00s) === RUN TestQueryStringFilterWithQuery @@ -1153,7 +1165,7 @@ === RUN TestVerifierFromJSON --- PASS: TestVerifierFromJSON (0.00s) PASS -ok github.com/google/martian/querystring 0.032s +ok github.com/google/martian/querystring 0.006s === RUN TestModifyRequest --- PASS: TestModifyRequest (0.00s) === RUN TestModifyResponse @@ -1165,7 +1177,7 @@ === RUN TestFromJSON --- PASS: TestFromJSON (0.00s) PASS -ok github.com/google/martian/skip 0.011s +ok github.com/google/martian/skip 0.005s === RUN TestStashRequest --- PASS: TestStashRequest (0.00s) === RUN TestStashRequestResponse @@ -1177,11 +1189,11 @@ === RUN TestModiferFromJSONInvalidConfigurations --- PASS: TestModiferFromJSONInvalidConfigurations (0.00s) PASS -ok github.com/google/martian/stash 0.015s +ok github.com/google/martian/stash 0.006s === RUN Test404WhenExplictlyMappedFileDoesNotExist --- PASS: Test404WhenExplictlyMappedFileDoesNotExist (0.00s) === RUN TestFileExistsInBothExplictlyMappedPathAndInferredPath ---- PASS: TestFileExistsInBothExplictlyMappedPathAndInferredPath (0.01s) +--- PASS: TestFileExistsInBothExplictlyMappedPathAndInferredPath (0.00s) === RUN TestStaticModifierExplicitPathMapping --- PASS: TestStaticModifierExplicitPathMapping (0.00s) === RUN TestStaticModifierOnRequest @@ -1193,7 +1205,7 @@ === RUN TestStaticModifierSingleRangeRequest --- PASS: TestStaticModifierSingleRangeRequest (0.00s) PASS -ok github.com/google/martian/static 0.035s +ok github.com/google/martian/static 0.008s === RUN TestFromJSON --- PASS: TestFromJSON (0.00s) === RUN TestStatusModifierOnResponse @@ -1203,7 +1215,7 @@ === RUN TestVerifierFromJSON --- PASS: TestVerifierFromJSON (0.00s) PASS -ok github.com/google/martian/status 0.017s +ok github.com/google/martian/status 0.005s === RUN TestBucket === PAUSE TestBucket === RUN TestBucketClosed @@ -1215,10 +1227,10 @@ === RUN TestBucketFillThrottleCloseBeforeTick === PAUSE TestBucketFillThrottleCloseBeforeTick === RUN TestHandlerIncorrectInputs -2020/04/20 16:23:32 ERROR: Error while parsing the received json: invalid character 'a' looking for beginning of value -2020/04/20 16:23:32 ERROR: Error while parsing the received json: invalid character '"' after object key:value pair -2020/04/20 16:23:32 ERROR: Error while parsing the received json: invalid character '"' after object key:value pair -2020/04/20 16:23:32 ERROR: Error while parsing the received json: invalid character '"' after object key:value pair +2021/05/23 22:47:37 ERROR: Error while parsing the received json: invalid character 'a' looking for beginning of value +2021/05/23 22:47:37 ERROR: Error while parsing the received json: invalid character '"' after object key:value pair +2021/05/23 22:47:37 ERROR: Error while parsing the received json: invalid character '"' after object key:value pair +2021/05/23 22:47:37 ERROR: Error while parsing the received json: invalid character '"' after object key:value pair --- PASS: TestHandlerIncorrectInputs (0.00s) handler_test.go:123: case 1: overlapping throttle handler_test.go:123: case 2: negative bandwidth @@ -1253,48 +1265,48 @@ === CONT TestListenerWrite === CONT TestListenerRead === CONT TestBucketFillThrottleCloseBeforeTick ---- PASS: TestBucket (0.01s) -=== CONT TestBucketClosed -2020/04/20 16:23:32 ERROR: trafficshape: fill on closed bucket -2020/04/20 16:23:32 ERROR: trafficshape: fill on closed bucket === CONT TestBucketThrottle ---- PASS: TestBucketClosed (0.00s) === CONT TestBucketOverflow --- PASS: TestBucketOverflow (0.00s) -2020/04/20 16:23:33 ERROR: trafficshape: fill on closed bucket +=== CONT TestBucketClosed +2021/05/23 22:47:37 ERROR: trafficshape: fill on closed bucket +2021/05/23 22:47:37 ERROR: trafficshape: fill on closed bucket +--- PASS: TestBucketClosed (0.00s) +--- PASS: TestBucket (0.02s) +2021/05/23 22:47:38 ERROR: trafficshape: fill on closed bucket --- PASS: TestBucketFillThrottleCloseBeforeTick (1.00s) -2020/04/20 16:23:33 ERROR: trafficshape: fill on closed bucket +2021/05/23 22:47:38 ERROR: trafficshape: fill on closed bucket --- PASS: TestBucketThrottle (1.00s) -2020/04/20 16:23:33 ERROR: trafficshape: fill on closed bucket -2020/04/20 16:23:33 ERROR: trafficshape: fill on closed bucket -2020/04/20 16:23:33 ERROR: trafficshape: fill on closed bucket -2020/04/20 16:23:33 ERROR: trafficshape: fill on closed bucket +2021/05/23 22:47:38 ERROR: trafficshape: fill on closed bucket +2021/05/23 22:47:38 ERROR: trafficshape: fill on closed bucket +2021/05/23 22:47:38 ERROR: trafficshape: fill on closed bucket +2021/05/23 22:47:38 ERROR: trafficshape: fill on closed bucket --- PASS: TestListenerReadFrom (4.00s) +--- PASS: TestListenerWrite (4.00s) --- PASS: TestListenerWriteTo (4.00s) --- PASS: TestListenerRead (4.00s) ---- PASS: TestListenerWrite (4.00s) PASS ok github.com/google/martian/trafficshape 4.019s === RUN TestHandlerServeHTTPUnsupportedMethod -2020/04/20 16:23:32 ERROR: verify: invalid request method: POST -2020/04/20 16:23:32 ERROR: verify: invalid request method: PUT -2020/04/20 16:23:32 ERROR: verify: invalid request method: DELETE +2021/05/23 22:47:38 ERROR: verify: invalid request method: POST +2021/05/23 22:47:38 ERROR: verify: invalid request method: PUT +2021/05/23 22:47:38 ERROR: verify: invalid request method: DELETE --- PASS: TestHandlerServeHTTPUnsupportedMethod (0.00s) === RUN TestHandlerServeHTTPNoVerifiers --- PASS: TestHandlerServeHTTPNoVerifiers (0.00s) === RUN TestHandlerServeHTTP --- PASS: TestHandlerServeHTTP (0.00s) === RUN TestResetHandlerServeHTTPUnsupportedMethod -2020/04/20 16:23:32 ERROR: verify: invalid request method: GET -2020/04/20 16:23:32 ERROR: verify: invalid request method: PUT -2020/04/20 16:23:32 ERROR: verify: invalid request method: DELETE +2021/05/23 22:47:38 ERROR: verify: invalid request method: GET +2021/05/23 22:47:38 ERROR: verify: invalid request method: PUT +2021/05/23 22:47:38 ERROR: verify: invalid request method: DELETE --- PASS: TestResetHandlerServeHTTPUnsupportedMethod (0.00s) === RUN TestResetHandlerServeHTTPNoVerifiers --- PASS: TestResetHandlerServeHTTPNoVerifiers (0.00s) === RUN TestResetHandlerServeHTTP --- PASS: TestResetHandlerServeHTTP (0.00s) PASS -ok github.com/google/martian/verify 0.023s +ok github.com/google/martian/verify 0.005s create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=golang --with=golang @@ -1322,12 +1334,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/31534/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/31534/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/10627 and its subdirectories -I: Current time: Mon Apr 20 04:24:03 -12 2020 -I: pbuilder-time-stamp: 1587399843 +I: removing directory /srv/workspace/pbuilder/31534 and its subdirectories +I: Current time: Mon May 24 12:48:08 +14 2021 +I: pbuilder-time-stamp: 1621810088