<86>Dec 25 05:02:22 userdel[3458065]: delete user 'rooter' <86>Dec 25 05:02:22 userdel[3458065]: removed group 'rooter' owned by 'rooter' <86>Dec 25 05:02:22 userdel[3458065]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 25 05:02:22 groupadd[3458095]: group added to /etc/group: name=rooter, GID=1859 <86>Dec 25 05:02:22 groupadd[3458095]: group added to /etc/gshadow: name=rooter <86>Dec 25 05:02:22 groupadd[3458095]: new group: name=rooter, GID=1859 <86>Dec 25 05:02:22 useradd[3458115]: new user: name=rooter, UID=1859, GID=1859, home=/root, shell=/bin/bash, from=none <86>Dec 25 05:02:22 userdel[3458149]: delete user 'builder' <86>Dec 25 05:02:22 userdel[3458149]: removed group 'builder' owned by 'builder' <86>Dec 25 05:02:22 userdel[3458149]: removed shadow group 'builder' owned by 'builder' <86>Dec 25 05:02:22 groupadd[3458175]: group added to /etc/group: name=builder, GID=1860 <86>Dec 25 05:02:22 groupadd[3458175]: group added to /etc/gshadow: name=builder <86>Dec 25 05:02:22 groupadd[3458175]: new group: name=builder, GID=1860 <86>Dec 25 05:02:22 useradd[3458201]: new user: name=builder, UID=1860, GID=1860, home=/usr/src, shell=/bin/bash, from=none <13>Dec 25 05:02:26 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718968 installed <13>Dec 25 05:02:26 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Dec 25 05:02:26 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 25 05:02:26 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Dec 25 05:02:26 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Dec 25 05:02:26 rpmi: libgnutls30-3.8.8-alt2 sisyphus+364832.100.1.1 1734007749 installed <13>Dec 25 05:02:26 rpmi: libngtcp2.16-1.10.0-alt1 sisyphus+366376.200.1.1 1735020753 installed <13>Dec 25 05:02:26 rpmi: libngtcp2_crypto_gnutls8-1.10.0-alt1 sisyphus+366376.200.1.1 1735020753 installed <13>Dec 25 05:02:27 rpmi: golang-src-1.23.4-alt1 sisyphus+364018.100.1.1 1733260969 installed <13>Dec 25 05:02:27 rpmi: libexpat-2.6.4-alt1 sisyphus+365521.100.1.1 1734700243 installed <13>Dec 25 05:02:27 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Dec 25 05:02:27 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684769 installed <13>Dec 25 05:02:27 rpmi: libnghttp3.9-1.7.0-alt1 sisyphus+366376.100.1.1 1735020696 installed <13>Dec 25 05:02:27 rpmi: libnghttp2-1.64.0-alt1 sisyphus+363795.200.2.1 1733118555 installed <13>Dec 25 05:02:27 rpmi: openldap-common-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 25 05:02:27 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>Dec 25 05:02:27 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>Dec 25 05:02:27 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 25 05:02:27 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 25 05:02:27 rpmi: libxxhash-0.8.2-alt1 sisyphus+336514.200.7.1 1702672118 installed <13>Dec 25 05:02:27 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Dec 25 05:02:27 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Dec 25 05:02:27 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819640 installed <13>Dec 25 05:02:27 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Dec 25 05:02:27 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <13>Dec 25 05:02:27 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922743 installed <13>Dec 25 05:02:27 rpmi: less-633-alt1 sisyphus+328181.300.2.1 1693321749 installed <13>Dec 25 05:02:27 rpmi: diffstat-1.64-alt1 sisyphus+346132.200.3.2 1716466240 installed <13>Dec 25 05:02:27 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 25 05:02:27 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 25 05:02:27 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 25 05:02:27 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 25 05:02:27 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 25 05:02:28 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 25 05:02:28 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <86>Dec 25 05:02:28 groupadd[3469750]: group added to /etc/group: name=_keytab, GID=999 <86>Dec 25 05:02:28 groupadd[3469750]: group added to /etc/gshadow: name=_keytab <86>Dec 25 05:02:28 groupadd[3469750]: new group: name=_keytab, GID=999 <13>Dec 25 05:02:28 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735141 installed <13>Dec 25 05:02:28 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905430 installed <86>Dec 25 05:02:28 groupadd[3469829]: group added to /etc/group: name=sasl, GID=998 <86>Dec 25 05:02:28 groupadd[3469829]: group added to /etc/gshadow: name=sasl <86>Dec 25 05:02:28 groupadd[3469829]: new group: name=sasl, GID=998 <13>Dec 25 05:02:28 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed <13>Dec 25 05:02:28 rpmi: libldap2-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 25 05:02:28 rpmi: openssh-common-9.6p1-alt2 sisyphus+351911.100.1.1 1719838544 installed <86>Dec 25 05:02:28 groupadd[3469876]: group added to /etc/group: name=sshagent, GID=997 <86>Dec 25 05:02:28 groupadd[3469876]: group added to /etc/gshadow: name=sshagent <86>Dec 25 05:02:28 groupadd[3469876]: new group: name=sshagent, GID=997 <13>Dec 25 05:02:28 rpmi: openssh-clients-9.6p1-alt2 sisyphus+351911.100.1.1 1719838544 installed <13>Dec 25 05:02:28 rpmi: rsync-3.2.7-alt1 sisyphus+325006.2000.1.1 1689497333 installed <13>Dec 25 05:02:28 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593137 installed <13>Dec 25 05:02:28 rpmi: libcurl-8.11.1-alt1 sisyphus+364692.100.1.1 1733905204 installed <13>Dec 25 05:02:28 rpmi: git-core-2.42.2-alt1 sisyphus+348068.100.1.1 1715721632 installed <13>Dec 25 05:02:30 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.65558 + 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.65558 + 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/goos internal/coverage/rtcov internal/godebugs internal/byteorder unicode internal/profilerecord unicode/utf8 internal/asan internal/race internal/goarch internal/unsafeheader internal/goexperiment internal/runtime/syscall sync/atomic internal/runtime/atomic internal/itoa cmp internal/cpu internal/msan encoding math/bits unicode/utf16 runtime/internal/math internal/chacha8rand runtime/internal/sys internal/abi internal/nettrace log/internal container/list 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/runtime/exithook internal/bytealg math internal/stringslite runtime iter internal/weak internal/reflectlite sync maps slices internal/bisect internal/testlog internal/singleflight runtime/cgo errors sort internal/oserror io internal/godebug github.com/hashicorp/hcl/hcl/strconv vendor/golang.org/x/net/dns/dnsmessage path crypto/internal/edwards25519/field math/rand/v2 strconv crypto/internal/nistec/fiat math/rand syscall bytes hash crypto/internal/randutil strings hash/adler32 hash/crc32 crypto/internal/edwards25519 internal/concurrent unique crypto/cipher vendor/golang.org/x/text/transform golang.org/x/text/transform net/netip crypto crypto/rc4 reflect bufio regexp/syntax net/http/internal/ascii github.com/h2non/filetype/types html crypto/md5 crypto/internal/boring crypto/des crypto/aes crypto/sha512 crypto/sha256 crypto/hmac crypto/sha1 vendor/golang.org/x/crypto/hkdf regexp internal/syscall/execenv time internal/syscall/unix context internal/poll io/fs golang.org/x/sync/semaphore embed internal/filepathlite crypto/internal/nistec internal/fmtsort encoding/binary os encoding/base64 vendor/golang.org/x/crypto/chacha20 github.com/h2non/filetype/matchers/isobmff vendor/golang.org/x/crypto/internal/poly1305 golang.org/x/sys/unix github.com/h2non/filetype/matchers encoding/pem crypto/ecdh io/ioutil fmt github.com/h2non/filetype os/signal github.com/mattn/go-runewidth path/filepath vendor/golang.org/x/sys/cpu net github.com/muesli/reflow/ansi vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/sha3 github.com/spf13/afero/mem os/exec github.com/muesli/reflow/truncate github.com/muesli/reflow/wrap github.com/muesli/reflow/wordwrap encoding/csv text/template/parse encoding/json vendor/golang.org/x/text/unicode/norm encoding/hex net/url mime text/tabwriter math/big github.com/hashicorp/hcl/hcl/token flag vendor/golang.org/x/net/http2/hpack log compress/flate mime/quotedprintable github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/hcl/scanner github.com/hashicorp/hcl/json/token github.com/hashicorp/hcl/json/scanner net/http/internal golang.org/x/text/unicode/norm github.com/subosito/gotenv gopkg.in/ini.v1 github.com/hashicorp/hcl/hcl/parser vendor/golang.org/x/text/unicode/bidi github.com/spf13/jwalterweatherman gopkg.in/yaml.v2 github.com/hashicorp/hcl/json/parser database/sql/driver text/template github.com/aymanbagabas/go-osc52/v2 github.com/fatih/semgroup github.com/hashicorp/hcl github.com/hashicorp/hcl/hcl/printer compress/gzip compress/zlib encoding/xml github.com/fsnotify/fsnotify github.com/BobuSumisu/aho-corasick github.com/mattn/go-isatty vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna github.com/lucasb-eyer/go-colorful html/template crypto/internal/boring/bbig crypto/rand crypto/elliptic crypto/internal/bigmod crypto/dsa encoding/asn1 github.com/pelletier/go-toml github.com/muesli/termenv crypto/ed25519 crypto/internal/hpke crypto/internal/mlkem768 crypto/rsa github.com/charmbracelet/lipgloss github.com/spf13/cast crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa vendor/golang.org/x/net/http/httpproxy net/textproto github.com/mitchellh/mapstructure github.com/rs/zerolog/internal/json 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 crypto/tls github.com/spf13/cobra 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.586 + 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.12217 + 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/interpolated_variables_-_nuget === RUN TestConfigAllowlistRegexes/interpolated_variables_-_string_fmt_-_golang === RUN TestConfigAllowlistRegexes/general_placeholders === RUN TestConfigAllowlistRegexes/general_placeholders_-_repeated_characters === RUN TestConfigAllowlistRegexes/interpolated_variables_-_github_actions === RUN TestConfigAllowlistRegexes/interpolated_variables_-_ucd === RUN TestConfigAllowlistRegexes/environment_variables === RUN TestConfigAllowlistRegexes/interpolated_variables_-_ansible === RUN TestConfigAllowlistRegexes/interpolated_variables_-_string_fmt_-_python --- PASS: TestConfigAllowlistRegexes (0.01s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_nuget (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_string_fmt_-_golang (0.00s) --- PASS: TestConfigAllowlistRegexes/general_placeholders (0.00s) --- PASS: TestConfigAllowlistRegexes/general_placeholders_-_repeated_characters (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_github_actions (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_ucd (0.00s) --- PASS: TestConfigAllowlistRegexes/environment_variables (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_ansible (0.00s) --- PASS: TestConfigAllowlistRegexes/interpolated_variables_-_string_fmt_-_python (0.00s) === RUN TestConfigAllowlistPaths === RUN TestConfigAllowlistPaths/javascript_-_common_static_assets === RUN TestConfigAllowlistPaths/python --- PASS: TestConfigAllowlistPaths (0.03s) --- PASS: TestConfigAllowlistPaths/javascript_-_common_static_assets (0.01s) --- PASS: TestConfigAllowlistPaths/python (0.02s) PASS ok github.com/zricethezav/gitleaks/v8/cmd/generate/config/base 1.055s === 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-25T05:03:10Z","message":"extending config with ../testdata/config/extend_2.toml"} {"level":"debug","time":"2024-12-25T05:03:10Z","message":"extending config with ../testdata/config/extend_1.toml"} === RUN TestTranslate/extend_rule_allowlist_or {"level":"debug","time":"2024-12-25T05:03:10Z","message":"extending config with ../testdata/config/extend_rule_allowlist_base.toml"} === RUN TestTranslate/extend_rule_allowlist_and {"level":"debug","time":"2024-12-25T05:03:10Z","message":"extending config with ../testdata/config/extend_rule_allowlist_base.toml"} === RUN TestTranslate/extend_empty_regexpath {"level":"debug","time":"2024-12-25T05:03:10Z","message":"extending config with ../testdata/config/extend_3.toml"} === RUN TestTranslate/override_description {"level":"debug","time":"2024-12-25T05:03:10Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_entropy {"level":"debug","time":"2024-12-25T05:03:10Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_secret_group {"level":"debug","time":"2024-12-25T05:03:10Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_regex {"level":"debug","time":"2024-12-25T05:03:10Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_path {"level":"debug","time":"2024-12-25T05:03:10Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_tags {"level":"debug","time":"2024-12-25T05:03:10Z","message":"extending config with ../testdata/config/simple.toml"} === RUN TestTranslate/override_keywords {"level":"debug","time":"2024-12-25T05:03:10Z","message":"extending config with ../testdata/config/simple.toml"} --- PASS: TestTranslate (0.13s) --- 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.02s) --- PASS: TestTranslate/override_entropy (0.02s) --- PASS: TestTranslate/override_secret_group (0.02s) --- PASS: TestTranslate/override_regex (0.01s) --- PASS: TestTranslate/override_path (0.02s) --- PASS: TestTranslate/override_tags (0.01s) --- PASS: TestTranslate/override_keywords (0.02s) PASS ok github.com/zricethezav/gitleaks/v8/config 1.150s === RUN TestIsNew --- PASS: TestIsNew (0.00s) === RUN TestFileLoadBaseline --- PASS: TestFileLoadBaseline (0.00s) === RUN TestIgnoreIssuesInBaseline {"level":"debug","time":"2024-12-25T05:03:10Z","message":"baseline duplicate -- ignoring finding with Fingerprint 5:::0"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"baseline duplicate -- ignoring finding with Fingerprint 5:::0"} --- PASS: TestIgnoreIssuesInBaseline (0.41s) === RUN TestDecode === RUN TestDecode/only_b64_chunk {"level":"debug","time":"2024-12-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","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-25T05:03:11Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(0xc000094480), 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-25T05:03:11Z","message":"segment found: detect.EncodedSegment{parent:(*detect.EncodedSegment)(0xc000094720), relativeStart:987, relativeEnd:1015, absoluteStart:1126, absoluteEnd:1174, decodedStart:942, decodedEnd:962, decodedValue:\"decoded-secret-value\", encoding:\"base64\"}"} --- PASS: TestDetect (0.15s) --- PASS: TestDetect/simple_-_tmp.go (0.02s) --- PASS: TestDetect/simple_-_tmp.go#01 (0.02s) --- PASS: TestDetect/simple_-_tmp.go#02 (0.02s) --- 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.02s) === RUN TestFromGit {"level":"debug","time":"2024-12-25T05:03:11Z","message":"found .gitleaksignore file: ../testdata/repos/small/.gitleaksignore"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"executing: /usr/bin/git -C ../testdata/repos/small log -p -U0 --full-history --all"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"ignoring finding with Fingerprint 53cd7a3c6eb4937f413e3c25e4a9f39289afa69e:api/ignoreCommit.go:aws-access-key:20"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"ignoring finding with global Fingerprint 53cd7a3c6eb4937f413e3c25e4a9f39289afa69e:api/ignoreGlobal.go:aws-access-key:20"} {"level":"info","time":"2024-12-25T05:03:11Z","message":"8 commits scanned."} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"Note: this number might be smaller than expected due to commits with no additions"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"found .gitleaksignore file: ../testdata/repos/small/.gitleaksignore"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"executing: /usr/bin/git -C ../testdata/repos/small log -p -U0 --all foo..."} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"ignoring finding with Fingerprint 53cd7a3c6eb4937f413e3c25e4a9f39289afa69e:api/ignoreCommit.go:aws-access-key:20"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"ignoring finding with global Fingerprint 53cd7a3c6eb4937f413e3c25e4a9f39289afa69e:api/ignoreGlobal.go:aws-access-key:20"} {"level":"info","time":"2024-12-25T05:03:11Z","message":"3 commits scanned."} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"Note: this number might be smaller than expected due to commits with no additions"} --- PASS: TestFromGit (0.05s) === RUN TestFromGitStaged {"level":"debug","time":"2024-12-25T05:03:11Z","message":"found .gitleaksignore file: ../testdata/repos/staged/.gitleaksignore"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"executing: /usr/bin/git -C ../testdata/repos/staged diff -U0 --no-ext-diff --staged ."} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"ignoring finding with global Fingerprint api/api.go:aws-access-key:6"} {"level":"info","time":"2024-12-25T05:03:11Z","message":"1 commits scanned."} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"Note: this number might be smaller than expected due to commits with no additions"} --- PASS: TestFromGitStaged (0.02s) === RUN TestFromFiles {"level":"debug","time":"2024-12-25T05:03:11Z","message":"found .gitleaksignore file: ../testdata/repos/nogit/.gitleaksignore"} {"level":"trace","path":"../testdata/repos/nogit/.env.prod","time":"2024-12-25T05:03:11Z","message":"Scanning path"} {"level":"trace","path":"../testdata/repos/nogit/.gitleaksignore","time":"2024-12-25T05:03:11Z","message":"Scanning path"} {"level":"trace","path":"../testdata/repos/nogit/main.go","time":"2024-12-25T05:03:11Z","message":"Scanning path"} {"level":"trace","path":"../testdata/repos/nogit/api.go","time":"2024-12-25T05:03:11Z","message":"Scanning path"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"ignoring finding with global Fingerprint ../testdata/repos/nogit/api.go:aws-access-key:20"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"found .gitleaksignore file: ../testdata/repos/nogit/.gitleaksignore"} {"level":"trace","path":"../testdata/repos/nogit/main.go","time":"2024-12-25T05:03:11Z","message":"Scanning path"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"found .gitleaksignore file: ../testdata/repos/nogit/.gitleaksignore"} {"level":"trace","path":"../testdata/repos/nogit/api.go","time":"2024-12-25T05:03:11Z","message":"Scanning path"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"ignoring finding with global Fingerprint ../testdata/repos/nogit/api.go:aws-access-key:20"} {"level":"debug","time":"2024-12-25T05:03:11Z","message":"found .gitleaksignore file: ../testdata/repos/nogit/.gitleaksignore"} {"level":"trace","path":"../testdata/repos/nogit/.env.prod","time":"2024-12-25T05:03:11Z","message":"Scanning path"} --- PASS: TestFromFiles (0.06s) === RUN TestDetectWithSymlinks {"level":"trace","path":"../testdata/repos/symlinks/source_file/id_ed25519","time":"2024-12-25T05:03:11Z","message":"Scanning path"} --- PASS: TestDetectWithSymlinks (0.01s) === RUN TestDetectRuleAllowlist === RUN TestDetectRuleAllowlist/stopwords_allowed {"level":"trace","rule-id":"test-rule","path":"","finding":"Summer2024!","condition":"OR","regex-allowed":false,"contains-stopword":true,"time":"2024-12-25T05:03:11Z","message":"Skipping finding due to rule allowlist"} === RUN TestDetectRuleAllowlist/commit_AND_path_NOT_allowed === RUN TestDetectRuleAllowlist/commit_AND_path_NOT_allowed_-_other_conditions === 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-25T05:03:12Z","message":"Skipping finding due to rule allowlist"} === 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-25T05:03:12Z","message":"Skipping finding due to rule allowlist"} === 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-25T05:03:12Z","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-25T05:03:12Z","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/regex_AND_stopword_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-25T05:03:12Z","message":"Skipping fragment due to rule allowlist"} === 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-25T05:03:13Z","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-25T05:03:13Z","message":"Skipping fragment 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-25T05:03:13Z","message":"Skipping finding due to rule allowlist"} --- PASS: TestDetectRuleAllowlist (1.88s) --- PASS: TestDetectRuleAllowlist/stopwords_allowed (0.13s) --- PASS: TestDetectRuleAllowlist/commit_AND_path_NOT_allowed (0.15s) --- PASS: TestDetectRuleAllowlist/commit_AND_path_NOT_allowed_-_other_conditions (0.12s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_allowed_-_other_conditions (0.13s) --- PASS: TestDetectRuleAllowlist/regex_OR_stopword_allowed (0.13s) --- PASS: TestDetectRuleAllowlist/path_allowed (0.14s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_allowed (0.15s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed_-_non-git,_other_conditions (0.12s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed (0.15s) --- PASS: TestDetectRuleAllowlist/regex_AND_stopword_NOT_allowed_-_other_conditions (0.13s) --- PASS: TestDetectRuleAllowlist/commit_allowed (0.12s) --- PASS: TestDetectRuleAllowlist/commit_AND_path_allowed (0.13s) --- PASS: TestDetectRuleAllowlist/commit_OR_path_allowed (0.14s) --- PASS: TestDetectRuleAllowlist/regex_allowed (0.12s) === 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.27s) --- PASS: TestDetectReader/Test_case_-_Reader_returns_n_>_0_bytes_and_nil_error (0.14s) --- PASS: TestDetectReader/Test_case_-_Reader_returns_n_>_0_bytes_and_io.EOF_error (0.13s) PASS ok github.com/zricethezav/gitleaks/v8/detect 3.896s === 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/invalid_masking === RUN TestMaskSecret/normal_masking === RUN TestMaskSecret/high_masking === RUN TestMaskSecret/low_masking --- PASS: TestMaskSecret (0.00s) --- PASS: TestMaskSecret/invalid_masking (0.00s) --- PASS: TestMaskSecret/normal_masking (0.00s) --- PASS: TestMaskSecret/high_masking (0.00s) --- PASS: TestMaskSecret/low_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.02s) --- PASS: TestWriteSarif/simple (0.02s) PASS ok github.com/zricethezav/gitleaks/v8/report 1.050s testing: warning: no tests to run PASS ok github.com/zricethezav/gitleaks/v8/sources 1.013s [no tests to run] + exit 0 Processing files: gitleaks-8.21.2-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.41840 + 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.EWJtL2 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.QQKVRJ 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.fw8RhH 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.5jiDxI find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TArrxr 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) 103.70user 21.51system 0:49.23elapsed 254%CPU (0avgtext+0avgdata 224396maxresident)k 0inputs+0outputs (0major+1693965minor)pagefaults 0swaps 3.68user 2.65system 1:02.88elapsed 10%CPU (0avgtext+0avgdata 135448maxresident)k 0inputs+0outputs (0major+220369minor)pagefaults 0swaps