<86>Dec 19 04:21:09 userdel[807577]: delete user 'rooter' <86>Dec 19 04:21:09 userdel[807577]: removed group 'rooter' owned by 'rooter' <86>Dec 19 04:21:09 userdel[807577]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 19 04:21:09 groupadd[807624]: group added to /etc/group: name=rooter, GID=1820 <86>Dec 19 04:21:09 groupadd[807624]: group added to /etc/gshadow: name=rooter <86>Dec 19 04:21:09 groupadd[807624]: new group: name=rooter, GID=1820 <86>Dec 19 04:21:09 useradd[807661]: new user: name=rooter, UID=1820, GID=1820, home=/root, shell=/bin/bash, from=none <86>Dec 19 04:21:09 userdel[807723]: delete user 'builder' <86>Dec 19 04:21:09 userdel[807723]: removed group 'builder' owned by 'builder' <86>Dec 19 04:21:09 userdel[807723]: removed shadow group 'builder' owned by 'builder' <86>Dec 19 04:21:09 groupadd[807769]: group added to /etc/group: name=builder, GID=1821 <86>Dec 19 04:21:09 groupadd[807769]: group added to /etc/gshadow: name=builder <86>Dec 19 04:21:09 groupadd[807769]: new group: name=builder, GID=1821 <86>Dec 19 04:21:09 useradd[807816]: new user: name=builder, UID=1821, GID=1821, home=/usr/src, shell=/bin/bash, from=none <13>Dec 19 04:21:13 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718968 installed <13>Dec 19 04:21:13 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Dec 19 04:21:13 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 19 04:21:13 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Dec 19 04:21:13 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Dec 19 04:21:13 rpmi: libgnutls30-3.8.8-alt2 sisyphus+364832.100.1.1 1734007749 installed <13>Dec 19 04:21:13 rpmi: libngtcp2.16-1.9.1-alt1 sisyphus+363819.100.1.1 1733129254 installed <13>Dec 19 04:21:13 rpmi: libngtcp2_crypto_gnutls8-1.9.1-alt1 sisyphus+363819.100.1.1 1733129254 installed <13>Dec 19 04:21:14 rpmi: golang-src-1.23.4-alt1 sisyphus+364018.100.1.1 1733260969 installed <13>Dec 19 04:21:14 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>Dec 19 04:21:14 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Dec 19 04:21:14 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684769 installed <13>Dec 19 04:21:14 rpmi: libnghttp3.9-1.6.0-alt1 sisyphus+363819.40.1.1 1733129194 installed <13>Dec 19 04:21:14 rpmi: libnghttp2-1.64.0-alt1 sisyphus+363795.200.2.1 1733118555 installed <13>Dec 19 04:21:14 rpmi: openldap-common-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 19 04:21:14 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>Dec 19 04:21:14 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>Dec 19 04:21:14 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 19 04:21:14 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 19 04:21:14 rpmi: libxxhash-0.8.2-alt1 sisyphus+336514.200.7.1 1702672118 installed <13>Dec 19 04:21:14 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Dec 19 04:21:14 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Dec 19 04:21:14 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819640 installed <13>Dec 19 04:21:14 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Dec 19 04:21:14 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <13>Dec 19 04:21:14 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922743 installed <13>Dec 19 04:21:14 rpmi: less-633-alt1 sisyphus+328181.300.2.1 1693321749 installed <13>Dec 19 04:21:14 rpmi: diffstat-1.64-alt1 sisyphus+346132.200.3.2 1716466240 installed <13>Dec 19 04:21:14 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 19 04:21:14 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 19 04:21:14 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 19 04:21:14 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 19 04:21:14 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 19 04:21:14 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 19 04:21:14 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <86>Dec 19 04:21:14 groupadd[827976]: group added to /etc/group: name=_keytab, GID=999 <86>Dec 19 04:21:14 groupadd[827976]: group added to /etc/gshadow: name=_keytab <86>Dec 19 04:21:14 groupadd[827976]: new group: name=_keytab, GID=999 <13>Dec 19 04:21:14 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735141 installed <13>Dec 19 04:21:14 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905430 installed <86>Dec 19 04:21:14 groupadd[828142]: group added to /etc/group: name=sasl, GID=998 <86>Dec 19 04:21:14 groupadd[828142]: group added to /etc/gshadow: name=sasl <86>Dec 19 04:21:14 groupadd[828142]: new group: name=sasl, GID=998 <13>Dec 19 04:21:14 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed <13>Dec 19 04:21:14 rpmi: libldap2-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 19 04:21:14 rpmi: openssh-common-9.6p1-alt2 sisyphus+351911.100.1.1 1719838544 installed <86>Dec 19 04:21:14 groupadd[828285]: group added to /etc/group: name=sshagent, GID=997 <86>Dec 19 04:21:14 groupadd[828285]: group added to /etc/gshadow: name=sshagent <86>Dec 19 04:21:14 groupadd[828285]: new group: name=sshagent, GID=997 <13>Dec 19 04:21:14 rpmi: openssh-clients-9.6p1-alt2 sisyphus+351911.100.1.1 1719838544 installed <13>Dec 19 04:21:14 rpmi: rsync-3.2.7-alt1 sisyphus+325006.2000.1.1 1689497333 installed <13>Dec 19 04:21:14 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593137 installed <13>Dec 19 04:21:14 rpmi: libcurl-8.11.1-alt1 sisyphus+364692.100.1.1 1733905204 installed <13>Dec 19 04:21:14 rpmi: git-core-2.42.2-alt1 sisyphus+348068.100.1.1 1715721632 installed <13>Dec 19 04:21:16 rpmi: golang-1.23.4-alt1 sisyphus+364018.100.1.1 1733260969 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/gitleaks-8.21.2-alt1.nosrc.rpm (w1.gzdio) Installing gitleaks-8.21.2-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.54313 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf gitleaks-8.21.2 + echo 'Source #0 (gitleaks-8.21.2.tar):' Source #0 (gitleaks-8.21.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/gitleaks-8.21.2.tar + cd gitleaks-8.21.2 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.54313 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gitleaks-8.21.2 + go build -v -buildmode=pie -ldflags -X=github.com/zricethezav/gitleaks/v8/cmd.Version=8.21.2 internal/godebugs internal/goos internal/goarch internal/byteorder internal/profilerecord internal/goexperiment internal/unsafeheader unicode/utf8 unicode internal/coverage/rtcov sync/atomic internal/race internal/cpu internal/runtime/syscall internal/asan internal/runtime/atomic internal/itoa internal/msan runtime/internal/math internal/abi runtime/internal/sys cmp encoding math/bits unicode/utf16 internal/nettrace log/internal container/list internal/chacha8rand crypto/internal/alias crypto/subtle crypto/internal/boring/sig vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias golang.org/x/exp/maps image/color github.com/rivo/uniseg internal/bytealg math internal/runtime/exithook internal/stringslite runtime iter internal/reflectlite internal/weak sync maps slices internal/bisect internal/testlog internal/singleflight runtime/cgo internal/godebug errors sort internal/oserror io path github.com/hashicorp/hcl/hcl/strconv vendor/golang.org/x/net/dns/dnsmessage math/rand/v2 crypto/internal/edwards25519/field strconv math/rand crypto/internal/nistec/fiat syscall internal/concurrent crypto/internal/edwards25519 bytes hash crypto/internal/randutil strings unique hash/crc32 hash/adler32 crypto crypto/rc4 reflect net/netip vendor/golang.org/x/text/transform golang.org/x/text/transform crypto/cipher crypto/md5 bufio net/http/internal/ascii github.com/h2non/filetype/types html regexp/syntax crypto/internal/boring crypto/des crypto/aes crypto/sha512 crypto/hmac crypto/sha1 crypto/sha256 vendor/golang.org/x/crypto/hkdf internal/syscall/execenv time internal/syscall/unix regexp context io/fs internal/poll golang.org/x/sync/semaphore embed internal/filepathlite encoding/binary internal/fmtsort crypto/internal/nistec os encoding/base64 github.com/h2non/filetype/matchers/isobmff vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 golang.org/x/sys/unix github.com/h2non/filetype/matchers encoding/pem crypto/ecdh io/ioutil fmt path/filepath github.com/mattn/go-runewidth github.com/h2non/filetype os/signal vendor/golang.org/x/sys/cpu net vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/sha3 github.com/muesli/reflow/ansi github.com/muesli/reflow/truncate github.com/muesli/reflow/wrap github.com/muesli/reflow/wordwrap github.com/spf13/afero/mem os/exec encoding/json github.com/hashicorp/hcl/hcl/token text/tabwriter log compress/flate encoding/csv text/template/parse encoding/hex flag net/url vendor/golang.org/x/text/unicode/norm mime vendor/golang.org/x/net/http2/hpack math/big github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/hcl/scanner github.com/hashicorp/hcl/json/token mime/quotedprintable vendor/golang.org/x/text/unicode/bidi net/http/internal golang.org/x/text/unicode/norm github.com/hashicorp/hcl/hcl/parser github.com/spf13/jwalterweatherman github.com/hashicorp/hcl/json/scanner github.com/subosito/gotenv gopkg.in/ini.v1 gopkg.in/yaml.v2 database/sql/driver github.com/aymanbagabas/go-osc52/v2 github.com/hashicorp/hcl/json/parser github.com/hashicorp/hcl/hcl/printer github.com/fatih/semgroup github.com/fsnotify/fsnotify compress/gzip github.com/mattn/go-isatty compress/zlib github.com/hashicorp/hcl github.com/BobuSumisu/aho-corasick encoding/xml vendor/golang.org/x/text/secure/bidirule text/template vendor/golang.org/x/net/idna github.com/lucasb-eyer/go-colorful crypto/rand crypto/elliptic crypto/internal/boring/bbig crypto/internal/bigmod encoding/asn1 crypto/dsa github.com/pelletier/go-toml crypto/ed25519 crypto/internal/hpke crypto/internal/mlkem768 github.com/muesli/termenv html/template crypto/rsa crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte github.com/charmbracelet/lipgloss crypto/ecdsa github.com/spf13/cast github.com/rs/zerolog/internal/json vendor/golang.org/x/net/http/httpproxy net/textproto github.com/mitchellh/mapstructure crypto/x509 github.com/spf13/pflag github.com/rs/zerolog vendor/golang.org/x/net/http/httpguts net/mail mime/multipart github.com/gitleaks/go-gitdiff/gitdiff github.com/rs/zerolog/log github.com/spf13/cobra crypto/tls github.com/zricethezav/gitleaks/v8/sources net/http/httptrace net/http github.com/magiconair/properties github.com/spf13/afero github.com/spf13/viper github.com/zricethezav/gitleaks/v8/config github.com/zricethezav/gitleaks/v8/report github.com/zricethezav/gitleaks/v8/detect github.com/zricethezav/gitleaks/v8/cmd github.com/zricethezav/gitleaks/v8 + ./gitleaks completion bash + ./gitleaks completion fish + ./gitleaks completion zsh + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.51739 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/gitleaks-buildroot + : + /bin/rm -rf -- /usr/src/tmp/gitleaks-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd gitleaks-8.21.2 + install -Dp gitleaks -t /usr/src/tmp/gitleaks-buildroot/usr/bin + install -Dpm644 gitleaks.bash /usr/src/tmp/gitleaks-buildroot/usr/share/bash-completion/completions/gitleaks + install -Dpm644 gitleaks.fish /usr/src/tmp/gitleaks-buildroot/usr/share/fish/vendor_completions.d/gitleaks.fish + install -Dpm644 gitleaks.zsh /usr/src/tmp/gitleaks-buildroot/usr/share/zsh/site-functions/_gitleaks + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/gitleaks-buildroot (auto) Verifying and fixing files in /usr/src/tmp/gitleaks-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/gitleaks-buildroot/ (default) Compressing files in /usr/src/tmp/gitleaks-buildroot (auto) debugedit: ./usr/bin/gitleaks: DWARF version 0 unhandled [28] .debug_gdb_scripts NOT compressed, wouldn't be smaller Verifying ELF objects in /usr/src/tmp/gitleaks-buildroot (arch=strict,fhs=strict,lfs=strict,lint=relaxed,rpath=strict,stack=strict,textrel=strict,unresolved=strict) phdr[2]: unknown object file note type 4 with owner name 'Go' at offset 100 section [24] '.tbss': alloc flag set but section not in any loaded segment section [26] '.note.go.buildid': unknown object file note type 4 with owner name 'Go' at offset 100 verify-elf: WARNING: ./usr/bin/gitleaks: eu-elflint failed Splitting links to aliased files under /{,s}bin in /usr/src/tmp/gitleaks-buildroot Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.59432 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gitleaks-8.21.2 + /usr/src/tmp/gitleaks-buildroot/usr/bin/gitleaks version + grep -Fx 8.21.2 8.21.2 + go test -v -race ./... ? github.com/zricethezav/gitleaks/v8 [no test files] ? github.com/zricethezav/gitleaks/v8/cmd [no test files] ? github.com/zricethezav/gitleaks/v8/cmd/generate/config [no test files] ? github.com/zricethezav/gitleaks/v8/cmd/generate/config/rules [no test files] ? github.com/zricethezav/gitleaks/v8/cmd/generate/config/utils [no test files] ? github.com/zricethezav/gitleaks/v8/cmd/generate/secrets [no test files] === RUN TestConfigAllowlistRegexes === RUN TestConfigAllowlistRegexes/environment_variables === RUN TestConfigAllowlistRegexes/interpolated_variables_-_string_fmt_-_golang === RUN TestConfigAllowlistRegexes/interpolated_variables_-_string_fmt_-_python === RUN TestConfigAllowlistRegexes/general_placeholders === RUN TestConfigAllowlistRegexes/general_placeholders_-_repeated_characters === RUN TestConfigAllowlistRegexes/interpolated_variables_-_ansible === RUN TestConfigAllowlistRegexes/interpolated_variables_-_github_actions === RUN TestConfigAllowlistRegexes/interpolated_variables_-_nuget === RUN TestConfigAllowlistRegexes/interpolated_variables_-_ucd --- PASS: TestConfigAllowlistRegexes (0.01s) --- PASS: TestConfigAllowlistRegexes/environment_variables (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_string_fmt_-_golang (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_string_fmt_-_python (0.00s) --- PASS: TestConfigAllowlistRegexes/general_placeholders (0.00s) --- PASS: TestConfigAllowlistRegexes/general_placeholders_-_repeated_characters (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_ansible (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_github_actions (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_nuget (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_ucd (0.00s) === RUN TestConfigAllowlistPaths === RUN TestConfigAllowlistPaths/javascript_-_common_static_assets === RUN TestConfigAllowlistPaths/python --- PASS: TestConfigAllowlistPaths (0.02s) --- PASS: TestConfigAllowlistPaths/javascript_-_common_static_assets (0.01s) --- PASS: TestConfigAllowlistPaths/python (0.01s) PASS ok github.com/zricethezav/gitleaks/v8/cmd/generate/config/base 1.044s === RUN TestCommitAllowed --- PASS: TestCommitAllowed (0.00s) === RUN TestRegexAllowed --- PASS: TestRegexAllowed (0.00s) === RUN TestPathAllowed --- PASS: TestPathAllowed (0.00s) === RUN TestValidate --- PASS: TestValidate (0.00s) === RUN TestTranslate === RUN TestTranslate/allowlist_old_compat === RUN TestTranslate/allowlist_invalid_empty === RUN TestTranslate/allowlist_invalid_old_and_new === RUN TestTranslate/allowlist_invalid_regextarget === RUN TestTranslate/allow_aws_re === RUN TestTranslate/allow_commit === RUN TestTranslate/allow_path === RUN TestTranslate/entropy_group === RUN TestTranslate/missing_id === RUN TestTranslate/no_regex_or_path === RUN TestTranslate/bad_entropy_group === RUN TestTranslate/base {"level":"debug","time":"2024-12-19T04:21:42Z","message":"extending config with ../testdata/config/extend_2.toml"} {"level":"debug","time":"2024-12-19T04:21:42Z","message":"extending config with ../testdata/config/extend_1.toml"} === RUN TestTranslate/extend_rule_allowlist_or {"level":"debug","time":"2024-12-19T04:21:42Z","message":"extending config with ../testdata/config/extend_rule_allowlist_base.toml"} === RUN TestTranslate/extend_rule_allowlist_and {"level":"debug","time":"2024-12-19T04:21:42Z","message":"extending config with ../testdata/config/extend_rule_allowlist_base.toml"} === RUN TestTranslate/extend_empty_regexpath {"level":"debug","time":"2024-12-19T04:21:42Z","message":"extending config with ../testdata/config/extend_3.toml"} === RUN TestTranslate/override_description {"level":"debug","time":"2024-12-19T04:21:42Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_entropy {"level":"debug","time":"2024-12-19T04:21:42Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_secret_group {"level":"debug","time":"2024-12-19T04:21:42Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_regex {"level":"debug","time":"2024-12-19T04:21:42Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_path {"level":"debug","time":"2024-12-19T04:21:42Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_tags {"level":"debug","time":"2024-12-19T04:21:42Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_keywords {"level":"debug","time":"2024-12-19T04:21:42Z","message":"extending config with ../testdata/config/simple.toml"} --- PASS: TestTranslate (0.09s) --- PASS: TestTranslate/allowlist_old_compat (0.00s) --- PASS: TestTranslate/allowlist_invalid_empty (0.00s) --- PASS: TestTranslate/allowlist_invalid_old_and_new (0.00s) --- PASS: TestTranslate/allowlist_invalid_regextarget (0.00s) --- PASS: TestTranslate/allow_aws_re (0.00s) --- PASS: TestTranslate/allow_commit (0.00s) --- PASS: TestTranslate/allow_path (0.00s) --- PASS: TestTranslate/entropy_group (0.00s) --- PASS: TestTranslate/missing_id (0.00s) --- PASS: TestTranslate/no_regex_or_path (0.00s) --- PASS: TestTranslate/bad_entropy_group (0.00s) --- PASS: TestTranslate/base (0.00s) --- PASS: TestTranslate/extend_rule_allowlist_or (0.00s) --- PASS: TestTranslate/extend_rule_allowlist_and (0.00s) --- PASS: TestTranslate/extend_empty_regexpath (0.00s) --- PASS: TestTranslate/override_description (0.01s) --- PASS: TestTranslate/override_entropy (0.01s) --- PASS: TestTranslate/override_secret_group (0.01s) --- PASS: TestTranslate/override_regex (0.01s) --- PASS: TestTranslate/override_path (0.01s) --- PASS: TestTranslate/override_tags (0.01s) --- PASS: TestTranslate/override_keywords (0.01s) PASS ok github.com/zricethezav/gitleaks/v8/config 1.111s === RUN TestIsNew --- PASS: TestIsNew (0.00s) === RUN TestFileLoadBaseline --- PASS: TestFileLoadBaseline (0.00s) === RUN TestIgnoreIssuesInBaseline {"level":"debug","time":"2024-12-19T04:21:43Z","message":"baseline duplicate -- ignoring finding with Fingerprint 5:::0"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"baseline duplicate -- ignoring finding with Fingerprint 5:::0"} --- PASS: TestIgnoreIssuesInBaseline (0.23s) === RUN TestDecode === RUN TestDecode/only_b64_chunk {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:0, relativeEnd:36, absoluteStart:0, absoluteEnd:36, decodedStart:0, decodedEnd:26, decodedValue:\"longer-encoded-secret-test\", encoding:\"base64\"}"} === RUN TestDecode/mixed_content {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:7, relativeEnd:43, absoluteStart:7, absoluteEnd:43, decodedStart:7, decodedEnd:33, decodedValue:\"longer-encoded-secret-test\", encoding:\"base64\"}"} === RUN TestDecode/no_chunk === RUN TestDecode/env_var_(looks_like_all_b64_decodable_but_has_`=`_in_the_middle) {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:20, relativeEnd:44, absoluteStart:20, absoluteEnd:44, decodedStart:20, decodedEnd:37, decodedValue:\"test-secret-value\", encoding:\"base64\"}"} === RUN TestDecode/has_longer_b64_inside {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:21, relativeEnd:57, absoluteStart:21, absoluteEnd:57, decodedStart:21, decodedEnd:47, decodedValue:\"longer-encoded-secret-test\", encoding:\"base64\"}"} === RUN TestDecode/many_possible_i_:=_0substrings {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:75, relativeEnd:107, absoluteStart:75, absoluteEnd:107, decodedStart:75, decodedEnd:99, decodedValue:\"this encapsulated secret\", encoding:\"base64\"}"} === RUN TestDecode/b64-url-safe:_only_b64_chunk {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:0, relativeEnd:35, absoluteStart:0, absoluteEnd:35, decodedStart:0, decodedEnd:26, decodedValue:\"longer-encoded-secret-test\", encoding:\"base64\"}"} === RUN TestDecode/b64-url-safe:_mixed_content {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:7, relativeEnd:42, absoluteStart:7, absoluteEnd:42, decodedStart:7, decodedEnd:33, decodedValue:\"longer-encoded-secret-test\", encoding:\"base64\"}"} === RUN TestDecode/b64-url-safe:_env_var_(looks_like_all_b64_decodable_but_has_`=`_in_the_middle) {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:20, relativeEnd:44, absoluteStart:20, absoluteEnd:44, decodedStart:20, decodedEnd:37, decodedValue:\"test-secret-value\", encoding:\"base64\"}"} === RUN TestDecode/b64-url-safe:_has_longer_b64_inside {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:21, relativeEnd:56, absoluteStart:21, absoluteEnd:56, decodedStart:21, decodedEnd:47, decodedValue:\"longer-encoded-secret-test\", encoding:\"base64\"}"} === RUN TestDecode/b64-url-safe:_hyphen_url_b64 {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:0, relativeEnd:34, absoluteStart:0, absoluteEnd:34, decodedStart:0, decodedEnd:25, decodedValue:\"trufflehog>>finds-secrets\", encoding:\"base64\"}"} === RUN TestDecode/b64-url-safe:_underscore_url_b64 {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:0, relativeEnd:48, absoluteStart:0, absoluteEnd:48, decodedStart:0, decodedEnd:36, decodedValue:\"b64urlsafe-test-secret-underscores??\", encoding:\"base64\"}"} === RUN TestDecode/invalid_base64_string --- PASS: TestDecode (0.00s) --- PASS: TestDecode/only_b64_chunk (0.00s) --- PASS: TestDecode/mixed_content (0.00s) --- PASS: TestDecode/no_chunk (0.00s) --- PASS: TestDecode/env_var_(looks_like_all_b64_decodable_but_has_`=`_in_the_middle) (0.00s) --- PASS: TestDecode/has_longer_b64_inside (0.00s) --- PASS: TestDecode/many_possible_i_:=_0substrings (0.00s) --- PASS: TestDecode/b64-url-safe:_only_b64_chunk (0.00s) --- PASS: TestDecode/b64-url-safe:_mixed_content (0.00s) --- PASS: TestDecode/b64-url-safe:_env_var_(looks_like_all_b64_decodable_but_has_`=`_in_the_middle) (0.00s) --- PASS: TestDecode/b64-url-safe:_has_longer_b64_inside (0.00s) --- PASS: TestDecode/b64-url-safe:_hyphen_url_b64 (0.00s) --- PASS: TestDecode/b64-url-safe:_underscore_url_b64 (0.00s) --- PASS: TestDecode/invalid_base64_string (0.00s) === RUN TestDetect === RUN TestDetect/simple_-_tmp.go {"level":"trace","rule-id":"aws-access-key","path":"tmp.go","finding":"AKIALALEMEL33243OKIA","time":"2024-12-19T04:21:43Z","message":"Skipping finding due to 'gitleaks:allow' signature"} === RUN TestDetect/simple_-_tmp.go#01 {"level":"trace","rule-id":"aws-access-key","path":"tmp.go","finding":"AKIALALEMEL33243OKIA","time":"2024-12-19T04:21:43Z","message":"Skipping finding due to 'gitleaks:allow' signature"} === RUN TestDetect/simple_-_tmp.go#02 === RUN TestDetect/escaped_character_group_-_tmp.go === RUN TestDetect/simple_-_tmp.go#03 === RUN TestDetect/simple_-_tmp.sh === RUN TestDetect/simple_-_tmp.sh#01 === RUN TestDetect/simple_-_tmp.sh#02 === RUN TestDetect/allow_aws_re_-_tmp.go {"level":"trace","rule-id":"aws-access-key","path":"tmp.go","finding":"AKIALALEMEL33243OLIA","condition":"OR","regex-allowed":true,"contains-stopword":false,"time":"2024-12-19T04:21:43Z","message":"Skipping finding due to rule allowlist"} === RUN TestDetect/allow_path_-_tmp.go {"level":"trace","rule-id":"aws-access-key","path":"tmp.go","condition":"OR","commit-allowed":false,"path-allowed":false,"time":"2024-12-19T04:21:43Z","message":"Skipping fragment due to rule allowlist"} === RUN TestDetect/allow_commit_-_tmp.go {"level":"trace","rule-id":"aws-access-key","commit":"allowthiscommit","path":"tmp.go","condition":"OR","commit-allowed":true,"path-allowed":true,"time":"2024-12-19T04:21:43Z","message":"Skipping fragment due to rule allowlist"} === RUN TestDetect/entropy_group_-_tmp.go === RUN TestDetect/generic_with_py_path_-_tmp.go === RUN TestDetect/generic_with_py_path_-_tmp.py === RUN TestDetect/path_only_-_tmp.py === RUN TestDetect/bad_entropy_group_-_tmp.go === RUN TestDetect/simple_-_../testdata/config/simple.toml === RUN TestDetect/allow_global_aws_re_-_tmp.go {"level":"trace","rule-id":"aws-access-key","path":"tmp.go","finding":"AKIALALEMEL33243OLIA","time":"2024-12-19T04:21:43Z","message":"Skipping finding due to global allowlist regex"} === RUN TestDetect/generic_with_py_path_-_tmp.py#01 {"level":"trace","rule-id":"generic-api-key","path":"tmp.py","finding":"load2523fb86ed64c836a979cf8465fbd436378c653c1db38f9ae87bc62a6fd5","time":"2024-12-19T04:21:43Z","message":"Skipping finding due to global allowlist regex"} === RUN TestDetect/path_only_-_.baseline.json === RUN TestDetect/base64_encoded_-_tmp.go {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:180, relativeEnd:372, absoluteStart:180, absoluteEnd:372, decodedStart:180, decodedEnd:324, decodedValue:\"-----BEGIN PRIVATE KEY-----\\n435f/bRUBHrbHqLY/xS3I7Oth+8rgG+0tBwfMcbk05Sgxq6QUzSYIQAop+WvsTwk2sR+C38g0Mnb\\nu+QDkg0spw==\\n-----END PRIVATE KEY-----\\n\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:429, relativeEnd:465, absoluteStart:429, absoluteEnd:465, decodedStart:381, decodedEnd:408, decodedValue:\"{\\\"alg\\\":\\\"HS256\\\",\\\"typ\\\":\\\"JWT\\\"}\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:466, relativeEnd:772, absoluteStart:466, absoluteEnd:772, decodedStart:409, decodedEnd:638, decodedValue:\"{\\\"sub\\\":\\\"1234567890\\\",\\\"config\\\":\\\"W2RlZmF1bHRdCnJlZ2lvbiA9IHVzLWVhc3QtMgphd3NfYWNjZXNzX2tleV9pZCA9IEFTSUFJT1NGT0ROTjdMWE0xMEpJCmF3c19zZWNyZXRfYWNjZXNzX2tleSA9IHdKYWxyWFV0bkZFTUkvSzdNREVORy9iUHhSZmlDWUVGVUNEbEVYMUEK\\\",\\\"iat\\\":1516239022}\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:967, relativeEnd:983, absoluteStart:967, absoluteEnd:983, decodedStart:833, decodedEnd:845, decodedValue:\"small-secret\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:1071, relativeEnd:1099, absoluteStart:1071, absoluteEnd:1099, decodedStart:933, decodedEnd:953, decodedValue:\"decoded-secret-value\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(nil), relativeStart:1126, relativeEnd:1174, absoluteStart:1126, absoluteEnd:1174, decodedStart:980, decodedEnd:1015, decodedValue:\"secret=ZGVjb2RlZC1zZWNyZXQtdmFsdWU=\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(0xc0001dc4e0), relativeStart:439, relativeEnd:619, absoluteStart:466, absoluteEnd:772, decodedStart:439, decodedEnd:574, decodedValue:\"[default]\\nregion = us-east-2\\naws_access_key_id = ASIAIOSFODNN7LXM10JI\\naws_secret_access_key = wJalrXUtnFEMI/K7MDENG/bPxRfiCYEFUCDlEX1A\\n\", encoding:\"base64\"}"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(0xc0001dc780), relativeStart:987, relativeEnd:1015, absoluteStart:1126, absoluteEnd:1174, decodedStart:942, decodedEnd:962, decodedValue:\"decoded-secret-value\", encoding:\"base64\"}"} --- PASS: TestDetect (0.11s) --- PASS: TestDetect/simple_-_tmp.go (0.01s) --- PASS: TestDetect/simple_-_tmp.go#01 (0.01s) --- PASS: TestDetect/simple_-_tmp.go#02 (0.01s) --- PASS: TestDetect/escaped_character_group_-_tmp.go (0.00s) --- PASS: TestDetect/simple_-_tmp.go#03 (0.01s) --- PASS: TestDetect/simple_-_tmp.sh (0.01s) --- PASS: TestDetect/simple_-_tmp.sh#01 (0.01s) --- PASS: TestDetect/simple_-_tmp.sh#02 (0.01s) --- PASS: TestDetect/allow_aws_re_-_tmp.go (0.00s) --- PASS: TestDetect/allow_path_-_tmp.go (0.00s) --- PASS: TestDetect/allow_commit_-_tmp.go (0.00s) --- PASS: TestDetect/entropy_group_-_tmp.go (0.00s) --- PASS: TestDetect/generic_with_py_path_-_tmp.go (0.00s) --- PASS: TestDetect/generic_with_py_path_-_tmp.py (0.00s) --- PASS: TestDetect/path_only_-_tmp.py (0.00s) --- PASS: TestDetect/bad_entropy_group_-_tmp.go (0.00s) --- PASS: TestDetect/simple_-_../testdata/config/simple.toml (0.01s) --- PASS: TestDetect/allow_global_aws_re_-_tmp.go (0.00s) --- PASS: TestDetect/generic_with_py_path_-_tmp.py#01 (0.00s) --- PASS: TestDetect/path_only_-_.baseline.json (0.00s) --- PASS: TestDetect/base64_encoded_-_tmp.go (0.01s) === RUN TestFromGit {"level":"debug","time":"2024-12-19T04:21:43Z","message":"found .gitleaksignore file: ../testdata/repos/small/.gitleaksignore"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"executing: /usr/bin/git -C ../testdata/repos/small log -p -U0 --full-history --all"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"ignoring finding with Fingerprint 53cd7a3c6eb4937f413e3c25e4a9f39289afa69e:api/ignoreCommit.go:aws-access-key:20"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"ignoring finding with global Fingerprint 53cd7a3c6eb4937f413e3c25e4a9f39289afa69e:api/ignoreGlobal.go:aws-access-key:20"} {"level":"info","time":"2024-12-19T04:21:43Z","message":"8 commits scanned."} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"Note: this number might be smaller than expected due to commits with no additions"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"found .gitleaksignore file: ../testdata/repos/small/.gitleaksignore"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"executing: /usr/bin/git -C ../testdata/repos/small log -p -U0 --all foo..."} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"ignoring finding with global Fingerprint 53cd7a3c6eb4937f413e3c25e4a9f39289afa69e:api/ignoreGlobal.go:aws-access-key:20"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"ignoring finding with Fingerprint 53cd7a3c6eb4937f413e3c25e4a9f39289afa69e:api/ignoreCommit.go:aws-access-key:20"} {"level":"info","time":"2024-12-19T04:21:43Z","message":"3 commits scanned."} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"Note: this number might be smaller than expected due to commits with no additions"} --- PASS: TestFromGit (0.03s) === RUN TestFromGitStaged {"level":"debug","time":"2024-12-19T04:21:43Z","message":"found .gitleaksignore file: ../testdata/repos/staged/.gitleaksignore"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"executing: /usr/bin/git -C ../testdata/repos/staged diff -U0 --no-ext-diff --staged ."} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"ignoring finding with global Fingerprint api/api.go:aws-access-key:6"} {"level":"info","time":"2024-12-19T04:21:43Z","message":"1 commits scanned."} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"Note: this number might be smaller than expected due to commits with no additions"} --- PASS: TestFromGitStaged (0.01s) === RUN TestFromFiles {"level":"debug","time":"2024-12-19T04:21:43Z","message":"found .gitleaksignore file: ../testdata/repos/nogit/.gitleaksignore"} {"level":"trace","path":"../testdata/repos/nogit/.env.prod","time":"2024-12-19T04:21:43Z","message":"Scanning path"} {"level":"trace","path":"../testdata/repos/nogit/.gitleaksignore","time":"2024-12-19T04:21:43Z","message":"Scanning path"} {"level":"trace","path":"../testdata/repos/nogit/main.go","time":"2024-12-19T04:21:43Z","message":"Scanning path"} {"level":"trace","path":"../testdata/repos/nogit/api.go","time":"2024-12-19T04:21:43Z","message":"Scanning path"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"ignoring finding with global Fingerprint ../testdata/repos/nogit/api.go:aws-access-key:20"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"found .gitleaksignore file: ../testdata/repos/nogit/.gitleaksignore"} {"level":"trace","path":"../testdata/repos/nogit/main.go","time":"2024-12-19T04:21:43Z","message":"Scanning path"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"found .gitleaksignore file: ../testdata/repos/nogit/.gitleaksignore"} {"level":"trace","path":"../testdata/repos/nogit/api.go","time":"2024-12-19T04:21:43Z","message":"Scanning path"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"ignoring finding with global Fingerprint ../testdata/repos/nogit/api.go:aws-access-key:20"} {"level":"debug","time":"2024-12-19T04:21:43Z","message":"found .gitleaksignore file: ../testdata/repos/nogit/.gitleaksignore"} {"level":"trace","path":"../testdata/repos/nogit/.env.prod","time":"2024-12-19T04:21:43Z","message":"Scanning path"} --- PASS: TestFromFiles (0.04s) === RUN TestDetectWithSymlinks {"level":"trace","path":"../testdata/repos/symlinks/source_file/id_ed25519","time":"2024-12-19T04:21:43Z","message":"Scanning path"} --- PASS: TestDetectWithSymlinks (0.01s) === RUN TestDetectRuleAllowlist === RUN TestDetectRuleAllowlist/commit_AND_path_allowed {"level":"trace","rule-id":"test-rule","commit":"41edf1f7f612199f401ccfc3144c2ebd0d7aeb48","path":"package-lock.json","condition":"AND","commit-allowed":true,"path-allowed":true,"time":"2024-12-19T04:21:43Z","message":"Skipping fragment due to rule allowlist"} === RUN TestDetectRuleAllowlist/commit_AND_path_NOT_allowed === RUN TestDetectRuleAllowlist/commit_AND_path_NOT_allowed_-_other_conditions === RUN TestDetectRuleAllowlist/commit_allowed {"level":"trace","rule-id":"test-rule","commit":"41edf1f7f612199f401ccfc3144c2ebd0d7aeb48","path":"","condition":"OR","commit-allowed":true,"path-allowed":true,"time":"2024-12-19T04:21:43Z","message":"Skipping fragment due to rule allowlist"} === RUN TestDetectRuleAllowlist/commit_OR_path_allowed {"level":"trace","rule-id":"test-rule","commit":"41edf1f7f612199f401ccfc3144c2ebd0d7aeb48","path":"package-lock.json","condition":"OR","commit-allowed":false,"path-allowed":false,"time":"2024-12-19T04:21:43Z","message":"Skipping fragment due to rule allowlist"} === RUN TestDetectRuleAllowlist/regex_AND_stopword_allowed {"level":"trace","rule-id":"test-rule","path":"","finding":"Summer2024!","condition":"AND","regex-allowed":true,"contains-stopword":true,"time":"2024-12-19T04:21:44Z","message":"Skipping finding due to rule allowlist"} === RUN TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed_-_other_conditions === RUN TestDetectRuleAllowlist/regex_OR_stopword_allowed {"level":"trace","rule-id":"test-rule","path":"","finding":"Summer2024!","condition":"OR","regex-allowed":true,"contains-stopword":false,"time":"2024-12-19T04:21:44Z","message":"Skipping finding due to rule allowlist"} === RUN TestDetectRuleAllowlist/regex_allowed {"level":"trace","rule-id":"test-rule","path":"","finding":"Summer2024!","condition":"OR","regex-allowed":true,"contains-stopword":false,"time":"2024-12-19T04:21:44Z","message":"Skipping finding due to rule allowlist"} === RUN TestDetectRuleAllowlist/stopwords_allowed {"level":"trace","rule-id":"test-rule","path":"","finding":"Summer2024!","condition":"OR","regex-allowed":false,"contains-stopword":true,"time":"2024-12-19T04:21:44Z","message":"Skipping finding due to rule allowlist"} === RUN TestDetectRuleAllowlist/regex_AND_stopword_allowed_-_other_conditions {"level":"trace","rule-id":"test-rule","commit":"41edf1f7f612199f401ccfc3144c2ebd0d7aeb48","path":"config.js","finding":"Summer2024!","condition":"AND","regex-allowed":true,"contains-stopword":true,"time":"2024-12-19T04:21:44Z","message":"Skipping finding due to rule allowlist"} === RUN TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed_-_non-git,_other_conditions === RUN TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed === RUN TestDetectRuleAllowlist/path_allowed {"level":"trace","rule-id":"test-rule","path":"package-lock.json","condition":"OR","commit-allowed":false,"path-allowed":false,"time":"2024-12-19T04:21:44Z","message":"Skipping fragment due to rule allowlist"} --- PASS: TestDetectRuleAllowlist (1.57s) --- PASS: TestDetectRuleAllowlist/commit_AND_path_allowed (0.11s) --- PASS: TestDetectRuleAllowlist/commit_AND_path_NOT_allowed (0.11s) --- PASS: TestDetectRuleAllowlist/commit_AND_path_NOT_allowed_-_other_conditions (0.12s) --- PASS: TestDetectRuleAllowlist/commit_allowed (0.11s) --- PASS: TestDetectRuleAllowlist/commit_OR_path_allowed (0.11s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_allowed (0.11s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed_-_other_conditions (0.11s) --- PASS: TestDetectRuleAllowlist/regex_OR_stopword_allowed (0.11s) --- PASS: TestDetectRuleAllowlist/regex_allowed (0.11s) --- PASS: TestDetectRuleAllowlist/stopwords_allowed (0.11s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_allowed_-_other_conditions (0.11s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed_-_non-git,_other_conditions (0.11s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed (0.12s) --- PASS: TestDetectRuleAllowlist/path_allowed (0.11s) === RUN TestGetLocation --- PASS: TestGetLocation (0.00s) === RUN TestDetectReader === RUN TestDetectReader/Test_case_-_Reader_returns_n_>_0_bytes_and_nil_error === RUN TestDetectReader/Test_case_-_Reader_returns_n_>_0_bytes_and_io.EOF_error --- PASS: TestDetectReader (0.22s) --- PASS: TestDetectReader/Test_case_-_Reader_returns_n_>_0_bytes_and_nil_error (0.11s) --- PASS: TestDetectReader/Test_case_-_Reader_returns_n_>_0_bytes_and_io.EOF_error (0.11s) PASS ok github.com/zricethezav/gitleaks/v8/detect 3.245s === RUN TestWriteCSV === RUN TestWriteCSV/simple === RUN TestWriteCSV/empty --- PASS: TestWriteCSV (0.00s) --- PASS: TestWriteCSV/simple (0.00s) --- PASS: TestWriteCSV/empty (0.00s) === RUN TestRedact --- PASS: TestRedact (0.00s) === RUN TestMask === RUN TestMask/normal_secret === RUN TestMask/empty_secret === RUN TestMask/short_secret --- PASS: TestMask (0.00s) --- PASS: TestMask/normal_secret (0.00s) --- PASS: TestMask/empty_secret (0.00s) --- PASS: TestMask/short_secret (0.00s) === RUN TestMaskSecret === RUN TestMaskSecret/normal_masking === RUN TestMaskSecret/high_masking === RUN TestMaskSecret/low_masking === RUN TestMaskSecret/invalid_masking --- PASS: TestMaskSecret (0.00s) --- PASS: TestMaskSecret/normal_masking (0.00s) --- PASS: TestMaskSecret/high_masking (0.00s) --- PASS: TestMaskSecret/low_masking (0.00s) --- PASS: TestMaskSecret/invalid_masking (0.00s) === RUN TestWriteJSON === RUN TestWriteJSON/simple === RUN TestWriteJSON/empty --- PASS: TestWriteJSON (0.00s) --- PASS: TestWriteJSON/simple (0.00s) --- PASS: TestWriteJSON/empty (0.00s) === RUN TestWriteJSONExtra --- PASS: TestWriteJSONExtra (0.00s) === RUN TestWriteJunit --- PASS: TestWriteJunit (0.00s) === RUN TestReport === RUN TestReport/json === RUN TestReport/.json === RUN TestReport/.jsonj === RUN TestReport/.csv === RUN TestReport/csv === RUN TestReport/CSV === RUN TestReport/.xml === RUN TestReport/junit --- PASS: TestReport (0.00s) --- PASS: TestReport/json (0.00s) --- PASS: TestReport/.json (0.00s) --- PASS: TestReport/.jsonj (0.00s) --- PASS: TestReport/.csv (0.00s) --- PASS: TestReport/csv (0.00s) --- PASS: TestReport/CSV (0.00s) --- PASS: TestReport/.xml (0.00s) --- PASS: TestReport/junit (0.00s) === RUN TestWriteSarif === RUN TestWriteSarif/simple --- PASS: TestWriteSarif (0.01s) --- PASS: TestWriteSarif/simple (0.01s) PASS ok github.com/zricethezav/gitleaks/v8/report 1.034s testing: warning: no tests to run PASS ok github.com/zricethezav/gitleaks/v8/sources 1.012s [no tests to run] + exit 0 Processing files: gitleaks-8.21.2-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.11371 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gitleaks-8.21.2 + DOCDIR=/usr/src/tmp/gitleaks-buildroot/usr/share/doc/gitleaks + export DOCDIR + /bin/mkdir -p /usr/src/tmp/gitleaks-buildroot/usr/share/doc/gitleaks + cp -prL CONTRIBUTING.md LICENSE README.md USERS.md scripts/pre-commit.py /usr/src/tmp/gitleaks-buildroot/usr/share/doc/gitleaks + chmod -R go-w /usr/src/tmp/gitleaks-buildroot/usr/share/doc/gitleaks + chmod -R a+rX /usr/src/tmp/gitleaks-buildroot/usr/share/doc/gitleaks + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.59quuE find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uNhsDu find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.32)(64bit), libc.so.6(GLIBC_2.34)(64bit) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lHuqxM Creating gitleaks-debuginfo package Processing files: gitleaks-debuginfo-8.21.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IrGzNE find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6ejEKS find-requires: running scripts (debuginfo) Requires: gitleaks = 8.21.2-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6) Adding to gitleaks-debuginfo a strict dependency on gitleaks Wrote: /usr/src/RPM/RPMS/x86_64/gitleaks-8.21.2-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/gitleaks-debuginfo-8.21.2-alt1.x86_64.rpm (w2.lzdio) 89.05user 23.03system 0:34.35elapsed 326%CPU (0avgtext+0avgdata 209820maxresident)k 0inputs+0outputs (0major+4640111minor)pagefaults 0swaps 3.43user 2.80system 0:47.90elapsed 13%CPU (0avgtext+0avgdata 137100maxresident)k 0inputs+0outputs (0major+234016minor)pagefaults 0swaps