Diff of the two buildlogs: -- --- b1/build.log 2024-06-08 14:02:24.073718111 +0000 +++ b2/build.log 2024-06-08 14:10:02.862233107 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jul 11 08:23:20 -12 2025 -I: pbuilder-time-stamp: 1752265400 +I: Current time: Sun Jun 9 04:02:28 +14 2024 +I: pbuilder-time-stamp: 1717855348 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking gitleaks_8.16.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/654520/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/510357/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +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 Jun 8 14:02 /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/510357/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/510357/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='d508d9cb6266480d85b143b0b186e6a3' - 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='654520' - PS1='# ' - PS2='> ' + INVOCATION_ID=2494218e6e91430fa5ca1326a5888833 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=510357 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.gKOa2hPl/pbuilderrc_mIBq --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.gKOa2hPl/b1 --logfile b1/build.log gitleaks_8.16.0-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + 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.gKOa2hPl/pbuilderrc_4kt0 --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.gKOa2hPl/b2 --logfile b2/build.log gitleaks_8.16.0-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 5 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/654520/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/510357/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -239,7 +271,7 @@ Get: 106 http://deb.debian.org/debian unstable/main amd64 golang-github-spf13-viper-dev all 1.12.0-1 [68.9 kB] Get: 107 http://deb.debian.org/debian unstable/main amd64 golang-github-spf13-cobra-dev all 1.8.0-1 [73.6 kB] Get: 108 http://deb.debian.org/debian unstable/main amd64 golang-gopkg-h2non-filetype.v1-dev all 1.1.3+ds1-1 [15.5 kB] -Fetched 89.8 MB in 3s (26.9 MB/s) +Fetched 89.8 MB in 10s (9336 kB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19715 files and directories currently installed.) @@ -686,7 +718,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/gitleaks-8.16.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 > ../gitleaks_8.16.0-1_source.changes +I: user script /srv/workspace/pbuilder/510357/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/510357/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/gitleaks-8.16.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 > ../gitleaks_8.16.0-1_source.changes dpkg-buildpackage: info: source package gitleaks dpkg-buildpackage: info: source version 8.16.0-1 dpkg-buildpackage: info: source distribution unstable @@ -704,219 +740,219 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 42 github.com/zricethezav/gitleaks github.com/zricethezav/gitleaks/cmd github.com/zricethezav/gitleaks/config github.com/zricethezav/gitleaks/detect github.com/zricethezav/gitleaks/detect/git github.com/zricethezav/gitleaks/report -internal/goos -unicode/utf16 -internal/nettrace -internal/goarch + cd _build && go install -trimpath -v -p 20 github.com/zricethezav/gitleaks github.com/zricethezav/gitleaks/cmd github.com/zricethezav/gitleaks/config github.com/zricethezav/gitleaks/detect github.com/zricethezav/gitleaks/detect/git github.com/zricethezav/gitleaks/report +internal/unsafeheader internal/godebugs -crypto/internal/alias +internal/itoa +unicode/utf16 +encoding internal/coverage/rtcov +cmp +container/list +math/bits +internal/goarch +internal/goos log/internal +internal/nettrace +internal/cpu +crypto/internal/alias +internal/goexperiment +crypto/subtle +runtime/internal/syscall +sync/atomic unicode/utf8 -image/color -vendor/golang.org/x/crypto/cryptobyte/asn1 -encoding -vendor/golang.org/x/crypto/internal/alias -internal/unsafeheader -math/bits -cmp internal/race -internal/itoa -runtime/internal/syscall -internal/goexperiment -internal/cpu -container/list +crypto/internal/boring/sig runtime/internal/atomic -sync/atomic +vendor/golang.org/x/crypto/internal/alias unicode -crypto/internal/boring/sig -crypto/subtle -internal/abi -runtime/internal/sys +vendor/golang.org/x/crypto/cryptobyte/asn1 +image/color internal/chacha8rand runtime/internal/math -github.com/pelletier/go-toml/v2/internal/characters +internal/abi +runtime/internal/sys slices +github.com/pelletier/go-toml/v2/internal/characters github.com/rivo/uniseg internal/bytealg math runtime -internal/reflectlite sync -internal/singleflight +internal/reflectlite internal/testlog internal/bisect +internal/singleflight +sort +errors github.com/spf13/viper/internal/encoding runtime/cgo -errors -sort -internal/safefilepath -internal/oserror -path -internal/godebug io -vendor/golang.org/x/net/dns/dnsmessage +path +internal/oserror strconv -crypto/internal/nistec/fiat +vendor/golang.org/x/net/dns/dnsmessage github.com/hashicorp/hcl/hcl/strconv +internal/safefilepath +crypto/internal/nistec/fiat syscall -internal/intern -math/rand -crypto/internal/randutil -hash -text/tabwriter bytes +reflect strings -hash/adler32 +text/tabwriter +hash +internal/godebug +crypto/internal/randutil +crypto/rc4 hash/crc32 +hash/adler32 crypto -crypto/rc4 -net/netip -reflect -golang.org/x/text/transform +math/rand +internal/intern vendor/golang.org/x/text/transform -net/http/internal/ascii +golang.org/x/text/transform +net/netip bufio +net/http/internal/ascii github.com/h2non/filetype/types github.com/petar-dambovaliev/aho-corasick -regexp/syntax html golang.org/x/text/runes -internal/syscall/execenv +regexp/syntax internal/syscall/unix +internal/syscall/execenv time regexp context -io/fs internal/poll -internal/fmtsort +io/fs encoding/binary +internal/fmtsort +golang.org/x/sync/semaphore github.com/spf13/afero/internal/common embed -golang.org/x/sync/semaphore -os encoding/base64 -github.com/h2non/filetype/matchers/isobmff -vendor/golang.org/x/crypto/internal/poly1305 -crypto/md5 crypto/cipher crypto/internal/edwards25519/field crypto/internal/nistec +crypto/md5 +github.com/h2non/filetype/matchers/isobmff golang.org/x/sys/unix +vendor/golang.org/x/crypto/internal/poly1305 +os github.com/h2non/filetype/matchers encoding/pem crypto/internal/edwards25519 -crypto/des -vendor/golang.org/x/crypto/chacha20 crypto/internal/boring -crypto/hmac +vendor/golang.org/x/crypto/chacha20 +crypto/des crypto/sha512 +crypto/hmac crypto/sha1 crypto/aes crypto/sha256 vendor/golang.org/x/crypto/hkdf crypto/ecdh -io/ioutil -path/filepath -os/signal -github.com/h2non/filetype fmt +io/ioutil github.com/mattn/go-runewidth -vendor/golang.org/x/sys/cpu +path/filepath net +vendor/golang.org/x/sys/cpu +github.com/h2non/filetype +os/signal github.com/muesli/reflow/ansi vendor/golang.org/x/crypto/chacha20poly1305 +github.com/muesli/reflow/wordwrap +github.com/muesli/reflow/truncate +github.com/muesli/reflow/wrap github.com/spf13/afero/mem os/exec -github.com/muesli/reflow/wrap -github.com/muesli/reflow/truncate -github.com/muesli/reflow/wordwrap -encoding/hex -encoding/csv -flag -net/url +encoding/json log -github.com/subosito/gotenv +compress/flate +text/template/parse +math/big +encoding/csv +golang.org/x/text/unicode/norm +vendor/golang.org/x/net/http2/hpack +mime mime/quotedprintable net/http/internal +github.com/subosito/gotenv +flag +net/url +encoding/hex +vendor/golang.org/x/text/unicode/norm github.com/hashicorp/hcl/hcl/token -github.com/pelletier/go-toml/v2/internal/danger -github.com/aymanbagabas/go-osc52/v2 -github.com/fatih/semgroup -database/sql/driver -vendor/golang.org/x/net/http2/hpack -text/template/parse -mime -encoding/json -golang.org/x/text/unicode/norm gopkg.in/ini.v1 -compress/flate -math/big +github.com/pelletier/go-toml/v2/internal/danger gopkg.in/yaml.v3 -vendor/golang.org/x/text/unicode/norm -github.com/pelletier/go-toml/v2/unstable github.com/hashicorp/hcl/hcl/ast -github.com/hashicorp/hcl/json/token +vendor/golang.org/x/text/unicode/bidi +github.com/spf13/jwalterweatherman github.com/hashicorp/hcl/hcl/scanner +github.com/hashicorp/hcl/json/token +github.com/pelletier/go-toml/v2/unstable +database/sql/driver github.com/hashicorp/hcl/json/scanner -github.com/spf13/jwalterweatherman -vendor/golang.org/x/text/unicode/bidi -github.com/hashicorp/hcl/json/parser +github.com/aymanbagabas/go-osc52/v2 +github.com/fatih/semgroup +github.com/mattn/go-isatty +github.com/fsnotify/fsnotify github.com/hashicorp/hcl/hcl/parser +github.com/hashicorp/hcl/json/parser +github.com/mattn/go-colorable +compress/gzip +compress/zlib github.com/pelletier/go-toml/v2/internal/tracker github.com/hashicorp/hcl/hcl/printer github.com/hashicorp/hcl -compress/gzip -compress/zlib vendor/golang.org/x/text/secure/bidirule -github.com/mattn/go-isatty -github.com/fsnotify/fsnotify -github.com/mattn/go-colorable text/template -github.com/spf13/viper/internal/encoding/hcl github.com/spf13/viper/internal/encoding/json -github.com/lucasb-eyer/go-colorful github.com/pelletier/go-toml/v2 +github.com/lucasb-eyer/go-colorful +github.com/spf13/viper/internal/encoding/hcl vendor/golang.org/x/net/idna crypto/rand crypto/elliptic -crypto/internal/boring/bbig crypto/internal/bigmod -crypto/dsa +crypto/internal/boring/bbig encoding/asn1 -github.com/spf13/viper/internal/encoding/yaml +crypto/dsa crypto/ed25519 -github.com/muesli/termenv -html/template -github.com/spf13/viper/internal/encoding/toml crypto/rsa crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte -github.com/charmbracelet/lipgloss +github.com/spf13/viper/internal/encoding/yaml +github.com/spf13/viper/internal/encoding/toml +github.com/muesli/termenv +html/template crypto/ecdsa +github.com/charmbracelet/lipgloss github.com/spf13/cast github.com/spf13/viper/internal/encoding/dotenv github.com/spf13/viper/internal/encoding/ini +github.com/spf13/pflag github.com/rs/zerolog/internal/json -vendor/golang.org/x/net/http/httpproxy github.com/mitchellh/mapstructure net/textproto +vendor/golang.org/x/net/http/httpproxy crypto/x509 -github.com/spf13/pflag vendor/golang.org/x/net/http/httpguts -mime/multipart net/mail +mime/multipart github.com/rs/zerolog github.com/gitleaks/go-gitdiff/gitdiff -github.com/spf13/cobra crypto/tls github.com/rs/zerolog/log github.com/zricethezav/gitleaks/detect/git +github.com/spf13/cobra net/http/httptrace net/http -github.com/magiconair/properties github.com/spf13/afero +github.com/magiconair/properties github.com/spf13/viper/internal/encoding/javaproperties github.com/spf13/viper github.com/zricethezav/gitleaks/config @@ -925,7 +961,7 @@ github.com/zricethezav/gitleaks/cmd github.com/zricethezav/gitleaks dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 42 github.com/zricethezav/gitleaks github.com/zricethezav/gitleaks/cmd github.com/zricethezav/gitleaks/config github.com/zricethezav/gitleaks/detect github.com/zricethezav/gitleaks/detect/git github.com/zricethezav/gitleaks/report + cd _build && go test -vet=off -v -p 20 github.com/zricethezav/gitleaks github.com/zricethezav/gitleaks/cmd github.com/zricethezav/gitleaks/config github.com/zricethezav/gitleaks/detect github.com/zricethezav/gitleaks/detect/git github.com/zricethezav/gitleaks/report ? github.com/zricethezav/gitleaks [no test files] ? github.com/zricethezav/gitleaks/cmd [no test files] === RUN TestCommitAllowed @@ -935,45 +971,45 @@ === RUN TestPathAllowed --- PASS: TestPathAllowed (0.00s) === RUN TestTranslate -{"level":"debug","time":"2025-07-11T20:25:12Z","message":"extending config with ../testdata/config/extend_2.toml"} -{"level":"trace","time":"2025-07-11T20:25:12Z","message":"adding aws-secret-key-again to base config"} -{"level":"debug","time":"2025-07-11T20:25:12Z","message":"extending config with ../testdata/config/extend_1.toml"} -{"level":"trace","time":"2025-07-11T20:25:12Z","message":"adding aws-secret-key-again to base config"} -{"level":"trace","time":"2025-07-11T20:25:12Z","message":"adding aws-access-key to base config"} ---- PASS: TestTranslate (0.00s) +{"level":"debug","time":"2024-06-08T14:09:10Z","message":"extending config with ../testdata/config/extend_2.toml"} +{"level":"trace","time":"2024-06-08T14:09:10Z","message":"adding aws-secret-key-again to base config"} +{"level":"debug","time":"2024-06-08T14:09:10Z","message":"extending config with ../testdata/config/extend_1.toml"} +{"level":"trace","time":"2024-06-08T14:09:10Z","message":"adding aws-access-key to base config"} +{"level":"trace","time":"2024-06-08T14:09:10Z","message":"adding aws-secret-key-again to base config"} +--- PASS: TestTranslate (0.04s) PASS -ok github.com/zricethezav/gitleaks/config 0.009s +ok github.com/zricethezav/gitleaks/config 0.091s === RUN TestIsNew --- PASS: TestIsNew (0.00s) === RUN TestFileLoadBaseline ---- PASS: TestFileLoadBaseline (0.00s) +--- PASS: TestFileLoadBaseline (0.01s) === RUN TestIgnoreIssuesInBaseline -{"level":"debug","time":"2025-07-11T20:25:12Z","message":"baseline duplicate -- ignoring finding with Fingerprint 5:::0"} -{"level":"debug","time":"2025-07-11T20:25:12Z","message":"baseline duplicate -- ignoring finding with Fingerprint 5:::0"} ---- PASS: TestIgnoreIssuesInBaseline (0.07s) +{"level":"debug","time":"2024-06-08T14:09:12Z","message":"baseline duplicate -- ignoring finding with Fingerprint 5:::0"} +{"level":"debug","time":"2024-06-08T14:09:12Z","message":"baseline duplicate -- ignoring finding with Fingerprint 5:::0"} +--- PASS: TestIgnoreIssuesInBaseline (0.57s) === RUN TestDetect ---- PASS: TestDetect (0.04s) +--- PASS: TestDetect (0.37s) === RUN TestFromGit -{"level":"debug","time":"2025-07-11T20:25:12Z","message":"executing: /usr/bin/git -C ../testdata/repos/small log -p -U0 --full-history --all"} -{"level":"info","time":"2025-07-11T20:25:12Z","message":"7 commits scanned."} -{"level":"debug","time":"2025-07-11T20:25:12Z","message":"Note: this number might be smaller than expected due to commits with no additions"} -{"level":"debug","time":"2025-07-11T20:25:12Z","message":"executing: /usr/bin/git -C ../testdata/repos/small log -p -U0 --all foo..."} -{"level":"info","time":"2025-07-11T20:25:13Z","message":"2 commits scanned."} -{"level":"debug","time":"2025-07-11T20:25:13Z","message":"Note: this number might be smaller than expected due to commits with no additions"} ---- PASS: TestFromGit (0.11s) +{"level":"debug","time":"2024-06-08T14:09:13Z","message":"executing: /usr/bin/git -C ../testdata/repos/small log -p -U0 --full-history --all"} +{"level":"info","time":"2024-06-08T14:09:13Z","message":"7 commits scanned."} +{"level":"debug","time":"2024-06-08T14:09:13Z","message":"Note: this number might be smaller than expected due to commits with no additions"} +{"level":"debug","time":"2024-06-08T14:09:13Z","message":"executing: /usr/bin/git -C ../testdata/repos/small log -p -U0 --all foo..."} +{"level":"info","time":"2024-06-08T14:09:13Z","message":"2 commits scanned."} +{"level":"debug","time":"2024-06-08T14:09:13Z","message":"Note: this number might be smaller than expected due to commits with no additions"} +--- PASS: TestFromGit (0.25s) === RUN TestFromFiles ---- PASS: TestFromFiles (0.01s) +--- PASS: TestFromFiles (0.09s) === RUN TestDetectWithSymlinks ---- PASS: TestDetectWithSymlinks (0.01s) +--- PASS: TestDetectWithSymlinks (0.03s) === RUN TestGetLocation --- PASS: TestGetLocation (0.00s) PASS -ok github.com/zricethezav/gitleaks/detect 0.246s +ok github.com/zricethezav/gitleaks/detect 1.389s testing: warning: no tests to run PASS -ok github.com/zricethezav/gitleaks/detect/git 0.004s [no tests to run] +ok github.com/zricethezav/gitleaks/detect/git 0.062s [no tests to run] === RUN TestWriteCSV ---- PASS: TestWriteCSV (0.00s) +--- PASS: TestWriteCSV (0.01s) === RUN TestRedact --- PASS: TestRedact (0.00s) === RUN TestWriteJSON @@ -982,9 +1018,9 @@ --- PASS: TestReport (0.00s) === RUN TestWriteSarif {{ false} map[apkey:{Asymmetric Private Key apkey 0 0 -----BEGIN ((EC|PGP|DSA|RSA|OPENSSH) )?PRIVATE KEY( BLOCK)?----- [key AsymmetricPrivateKey] [] { [] [] [] []}} aws-access-key:{AWS Access Key aws-access-key 0 0 (A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16} [key AWS] [] { [] [] [] []}} aws-mws-key:{AWS MWS key aws-mws-key 0 0 amzn\.mws\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} [key AWS MWS] [] { [] [] [] []}} aws-secret-key:{AWS Secret Key aws-secret-key 0 0 (?i)aws_(.{0,20})?=?.[\'\"0-9a-zA-Z\/+]{40} [key AWS] [] { [] [] [] []}} dynatrace:{Dynatrace ttoken dynatrace 0 0 dt0[a-zA-Z]{1}[0-9]{2}\.[A-Z0-9]{24}\.[A-Z0-9]{64} [key Dynatrace] [] { [] [] [] []}} facebook-client-id:{Facebook Client ID facebook-client-id 0 0 (?i)(facebook|fb)(.{0,20})?['\"][0-9]{13,17}['\"] [key Facebook] [] { [] [] [] []}} facebook-secret-key:{Facebook Secret Key facebook-secret-key 0 0 (?i)(facebook|fb)(.{0,20})?(?-i)['\"][0-9a-f]{32}['\"] [key Facebook] [] { [] [] [] []}} github-app:{Github App Token github-app 0 0 (ghu|ghs)_[0-9a-zA-Z]{36} [key Github] [] { [] [] [] []}} github-oauth:{Github OAuth Access Token github-oauth 0 0 gho_[0-9a-zA-Z]{36} [key Github] [] { [] [] [] []}} github-pat:{Github Personal Access Token github-pat 0 0 ghp_[0-9a-zA-Z]{36} [key Github] [] { [] [] [] []}} github-refresh:{Github Refresh Token github-refresh 0 0 ghr_[0-9a-zA-Z]{76} [key Github] [] { [] [] [] []}} google:{Google (GCP) Service Account google 0 0 "type": "service_account" [key Google] [] { [] [] [] []}} heroku:{Heroku API key heroku 0 0 (?i)heroku(.{0,20})?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} [key Heroku] [] { [] [] [] []}} linkedin-client:{LinkedIn Client ID linkedin-client 0 0 (?i)linkedin(.{0,20})?(?-i)[0-9a-z]{12} [client LinkedIn] [] { [] [] [] []}} linkedin-secret:{LinkedIn Secret Key linkedin-secret 0 0 (?i)linkedin(.{0,20})?[0-9a-z]{16} [secret LinkedIn] [] { [] [] [] []}} mailchimp:{MailChimp API key mailchimp 0 0 (?i)(mailchimp|mc)(.{0,20})?[0-9a-f]{32}-us[0-9]{1,2} [key Mailchimp] [] { [] [] [] []}} mailgun:{Mailgun API key mailgun 0 0 ((?i)(mailgun|mg)(.{0,20})?)?key-[0-9a-z]{32} [key Mailgun] [] { [] [] [] []}} paypal:{PayPal Braintree access token paypal 0 0 access_token\$production\$[0-9a-z]{16}\$[0-9a-f]{32} [key Paypal] [] { [] [] [] []}} piacatic:{Picatic API key piacatic 0 0 sk_live_[0-9a-z]{32} [key Picatic] [] { [] [] [] []}} pypi:{PyPI upload token pypi 0 0 pypi-AgEIcHlwaS5vcmc[A-Za-z0-9-_]{50,1000} [key pypi] [] { [] [] [] []}} sendgrid:{SendGrid API Key sendgrid 0 0 SG\.[\w_]{16,32}\.[\w_]{16,64} [key SendGrid] [] { [] [] [] []}} shopify:{Shopify shared secret shopify 0 0 shpss_[a-fA-F0-9]{32} [key Shopify] [] { [] [] [] []}} shopify-access:{Shopify access token shopify-access 0 0 shpat_[a-fA-F0-9]{32} [key Shopify] [] { [] [] [] []}} shopify-custom:{Shopify custom app access token shopify-custom 0 0 shpca_[a-fA-F0-9]{32} [key Shopify] [] { [] [] [] []}} shopify-private:{Shopify private app access token shopify-private 0 0 shppa_[a-fA-F0-9]{32} [key Shopify] [] { [] [] [] []}} sidekiq-secret:{Sidekiq Secret sidekiq-secret 0 1 (?i)(?:BUNDLE_ENTERPRISE__CONTRIBSYS__COM|BUNDLE_GEMS__CONTRIBSYS__COM)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{8}:[a-f0-9]{8})(?:['|\"|\n|\r|\s|\x60|;]|$) [] [bundle_enterprise__contribsys__com bundle_gems__contribsys__com] { [] [] [] []}} sidekiq-sensitive-url:{Sidekiq Sensitive URL sidekiq-sensitive-url 0 2 (?i)\b(http(?:s??):\/\/)([a-f0-9]{8}:[a-f0-9]{8})@(?:gems.contribsys.com|enterprise.contribsys.com)(?:[\/|\#|\?|:]|$) [] [gems.contribsys.com enterprise.contribsys.com] { [] [] [] []}} slack:{Slack slack 0 0 xox[baprs]-([0-9a-zA-Z]{10,48})? [key Slack] [] { [] [] [] []}} slack-webhook:{Slack Webhook slack-webhook 0 0 https://hooks.slack.com/services/T[a-zA-Z0-9_]{8}/B[a-zA-Z0-9_]{8,12}/[a-zA-Z0-9_]{24} [key slack] [] { [] [] [] []}} square:{Square access token square 0 0 sq0atp-[0-9A-Za-z\-_]{22} [key square] [] { [] [] [] []}} square-oauth:{Square OAuth secret square-oauth 0 0 sq0csp-[0-9A-Za-z\-_]{43} [key square] [] { [] [] [] []}} stripe:{Stripe API key stripe 0 0 (?i)stripe(.{0,20})?[sr]k_live_[0-9a-zA-Z]{24} [key Stripe] [] { [] [] [] []}} twilio:{Twilio API key twilio 0 0 (?i)twilio(.{0,20})?SK[0-9a-f]{32} [key twilio] [] { [] [] [] []}} twitter-client-id:{Twitter Client ID twitter-client-id 0 0 (?i)twitter(.{0,20})?['\"][0-9a-z]{18,25}['\"] [client Twitter] [] { [] [] [] []}} twitter-secret-key:{Twitter Secret Key twitter-secret-key 0 0 (?i)twitter(.{0,20})?['\"][0-9a-z]{35,44}['\"] [key Twitter] [] { [] [] [] []}}] { [] [] [] []} [bundle_enterprise__contribsys__com bundle_gems__contribsys__com gems.contribsys.com enterprise.contribsys.com] [aws-access-key aws-secret-key aws-mws-key facebook-secret-key facebook-client-id twitter-secret-key twitter-client-id github-pat github-oauth github-app github-refresh linkedin-client linkedin-secret slack apkey google google heroku mailchimp mailgun paypal piacatic sendgrid sidekiq-secret sidekiq-sensitive-url slack-webhook stripe square square-oauth twilio dynatrace shopify shopify-access shopify-custom shopify-private pypi]} ---- PASS: TestWriteSarif (0.01s) +--- PASS: TestWriteSarif (0.04s) PASS -ok github.com/zricethezav/gitleaks/report 0.012s +ok github.com/zricethezav/gitleaks/report 0.100s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1011,8 +1047,8 @@ dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'gitleaks' in '../gitleaks_8.16.0-1_amd64.deb'. dpkg-deb: building package 'gitleaks-dbgsym' in '../gitleaks-dbgsym_8.16.0-1_amd64.deb'. +dpkg-deb: building package 'gitleaks' in '../gitleaks_8.16.0-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../gitleaks_8.16.0-1_amd64.buildinfo dpkg-genchanges --build=binary -O../gitleaks_8.16.0-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1020,12 +1056,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/510357/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/510357/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/654520 and its subdirectories -I: Current time: Fri Jul 11 08:25:21 -12 2025 -I: pbuilder-time-stamp: 1752265521 +I: removing directory /srv/workspace/pbuilder/510357 and its subdirectories +I: Current time: Sun Jun 9 04:10:01 +14 2024 +I: pbuilder-time-stamp: 1717855801