Diff of the two buildlogs: -- --- b1/build.log 2025-03-19 05:14:24.043659517 +0000 +++ b2/build.log 2025-03-19 05:29:05.575935600 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 18 17:02:47 -12 2025 -I: pbuilder-time-stamp: 1742360567 +I: Current time: Wed Mar 19 19:14:55 +14 2025 +I: pbuilder-time-stamp: 1742361295 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking kustomize_5.5.0+ds-4.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/5205/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/11161/tmp/hooks/D01_modify_environment starting +debug: Running on virt64c. +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 Mar 19 05:15 /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/11161/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/11161/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='5a017f8f9d6b48118ce5ac863c9a9ee2' - 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='5205' - PS1='# ' - PS2='> ' + INVOCATION_ID=26910b09c16d4b3cb38c8711dba6c4a7 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=11161 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.BhVpXpAt/pbuilderrc_LmE1 --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.BhVpXpAt/b1 --logfile b1/build.log kustomize_5.5.0+ds-4.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.BhVpXpAt/pbuilderrc_2nCO --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.BhVpXpAt/b2 --logfile b2/build.log kustomize_5.5.0+ds-4.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32a 6.1.0-32-armmp-lpae #1 SMP Debian 6.1.129-1 (2025-03-06) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/5205/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/11161/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -80,7 +112,7 @@ Depends: debhelper-compat (= 13), dh-exec, dh-sequence-golang, golang-any, golang-github-google-go-cmp-dev, golang-github-spf13-cobra-dev, golang-github-spf13-pflag-dev, golang-github-stretchr-testify-dev, golang-golang-x-exp-dev, golang-golang-x-text-dev, golang-k8s-sigs-kustomize-api-dev, golang-k8s-sigs-kustomize-cmd-config-dev, golang-k8s-sigs-kustomize-kyaml-dev, golang-k8s-sigs-yaml-dev, help2man dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. -(Reading database ... 19559 files and directories currently installed.) +(Reading database ... 19509 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: @@ -268,10 +300,10 @@ Get: 135 http://deb.debian.org/debian unstable/main armhf golang-k8s-sigs-kustomize-api-dev all 0.18.0+ds-4 [260 kB] Get: 136 http://deb.debian.org/debian unstable/main armhf golang-k8s-sigs-kustomize-cmd-config-dev all 0.15.0+ds-2 [42.8 kB] Get: 137 http://deb.debian.org/debian unstable/main armhf help2man armhf 1.49.3 [198 kB] -Fetched 85.8 MB in 2s (40.3 MB/s) +Fetched 85.8 MB in 5s (17.6 MB/s) Preconfiguring packages ... Selecting previously unselected package liblocale-gettext-perl. -(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 ... 19559 files and directories currently installed.) +(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 ... 19509 files and directories currently installed.) Preparing to unpack .../000-liblocale-gettext-perl_1.07-7+b1_armhf.deb ... Unpacking liblocale-gettext-perl (1.07-7+b1) ... Selecting previously unselected package tzdata. @@ -721,8 +753,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Mar 19 05:06:29 UTC 2025. -Universal Time is now: Wed Mar 19 05:06:29 UTC 2025. +Local time is now: Wed Mar 19 05:18:01 UTC 2025. +Universal Time is now: Wed Mar 19 05:18:01 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-spf13-pflag-dev (1.0.6~git20210604-d5e0c0615ace-1) ... @@ -837,7 +869,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/kustomize-5.5.0+ds/ && 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 > ../kustomize_5.5.0+ds-4_source.changes +I: user script /srv/workspace/pbuilder/11161/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/11161/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/kustomize-5.5.0+ds/ && 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 > ../kustomize_5.5.0+ds-4_source.changes dpkg-buildpackage: info: source package kustomize dpkg-buildpackage: info: source version 5.5.0+ds-4 dpkg-buildpackage: info: source distribution unstable @@ -864,18 +900,18 @@ mv /build/reproducible-path/kustomize-5.5.0+ds/_build/src/sigs.k8s.io/kustomize/kustomize/kustomize /build/reproducible-path/kustomize-5.5.0+ds/_build/src/sigs.k8s.io/kustomize/kustomize/v5 make[1]: Leaving directory '/build/reproducible-path/kustomize-5.5.0+ds' dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 sigs.k8s.io/kustomize/kustomize/v5 sigs.k8s.io/kustomize/kustomize/v5/commands sigs.k8s.io/kustomize/kustomize/v5/commands/build sigs.k8s.io/kustomize/kustomize/v5/commands/create sigs.k8s.io/kustomize/kustomize/v5/commands/edit sigs.k8s.io/kustomize/kustomize/v5/commands/edit/add sigs.k8s.io/kustomize/kustomize/v5/commands/edit/fix sigs.k8s.io/kustomize/kustomize/v5/commands/edit/listbuiltin sigs.k8s.io/kustomize/kustomize/v5/commands/edit/remove sigs.k8s.io/kustomize/kustomize/v5/commands/edit/set sigs.k8s.io/kustomize/kustomize/v5/commands/internal/configmapsecret sigs.k8s.io/kustomize/kustomize/v5/commands/internal/kustfile sigs.k8s.io/kustomize/kustomize/v5/commands/internal/testutils sigs.k8s.io/kustomize/kustomize/v5/commands/internal/util sigs.k8s.io/kustomize/kustomize/v5/commands/localize sigs.k8s.io/kustomize/kustomize/v5/commands/openapi sigs.k8s.io/kustomize/kustomize/v5/commands/openapi/fetch sigs.k8s.io/kustomize/kustomize/v5/commands/openapi/info sigs.k8s.io/kustomize/kustomize/v5/commands/version + cd _build && go install -trimpath -v -p 4 sigs.k8s.io/kustomize/kustomize/v5 sigs.k8s.io/kustomize/kustomize/v5/commands sigs.k8s.io/kustomize/kustomize/v5/commands/build sigs.k8s.io/kustomize/kustomize/v5/commands/create sigs.k8s.io/kustomize/kustomize/v5/commands/edit sigs.k8s.io/kustomize/kustomize/v5/commands/edit/add sigs.k8s.io/kustomize/kustomize/v5/commands/edit/fix sigs.k8s.io/kustomize/kustomize/v5/commands/edit/listbuiltin sigs.k8s.io/kustomize/kustomize/v5/commands/edit/remove sigs.k8s.io/kustomize/kustomize/v5/commands/edit/set sigs.k8s.io/kustomize/kustomize/v5/commands/internal/configmapsecret sigs.k8s.io/kustomize/kustomize/v5/commands/internal/kustfile sigs.k8s.io/kustomize/kustomize/v5/commands/internal/testutils sigs.k8s.io/kustomize/kustomize/v5/commands/internal/util sigs.k8s.io/kustomize/kustomize/v5/commands/localize sigs.k8s.io/kustomize/kustomize/v5/commands/openapi sigs.k8s.io/kustomize/kustomize/v5/commands/openapi/fetch sigs.k8s.io/kustomize/kustomize/v5/commands/openapi/info sigs.k8s.io/kustomize/kustomize/v5/commands/version internal/goarch +internal/byteorder internal/unsafeheader internal/cpu -internal/byteorder -internal/abi -internal/chacha8rand -internal/bytealg internal/coverage/rtcov +internal/abi internal/godebugs +internal/chacha8rand internal/goexperiment internal/goos +internal/bytealg internal/profilerecord internal/runtime/atomic internal/asan @@ -883,21 +919,17 @@ internal/runtime/math internal/runtime/sys internal/runtime/syscall -internal/runtime/exithook internal/stringslite sync/atomic +internal/runtime/exithook unicode/utf8 -internal/race cmp math/bits -internal/runtime/maps -internal/sync internal/itoa encoding -math unicode -runtime internal/nettrace +math unicode/utf16 log/internal google.golang.org/protobuf/internal/flags @@ -905,7 +937,10 @@ container/list crypto/internal/fips140/alias crypto/internal/fips140deps/byteorder +internal/race crypto/internal/fips140deps/cpu +internal/runtime/maps +internal/sync crypto/internal/boring/sig vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias @@ -917,71 +952,91 @@ sigs.k8s.io/kustomize/cmd/config/internal/generateddocs/commands sigs.k8s.io/kustomize/cmd/config/internal/generateddocs/api sigs.k8s.io/kustomize/cmd/config/internal/generateddocs/tutorials +runtime internal/reflectlite sync iter -slices weak +slices maps crypto/internal/fips140/subtle crypto/subtle -internal/bisect -internal/testlog -internal/singleflight +sort errors -unique +internal/bisect internal/oserror io path -internal/godebug syscall +internal/godebug +internal/testlog strconv strings bytes -reflect +vendor/golang.org/x/net/dns/dnsmessage bufio -time +reflect +internal/singleflight +unique +runtime/cgo internal/syscall/unix +time internal/syscall/execenv -vendor/golang.org/x/net/dns/dnsmessage net/netip io/fs -internal/filepathlite internal/poll -os +internal/filepathlite context +regexp/syntax +os internal/fmtsort encoding/binary -runtime/cgo -fmt +regexp encoding/base64 -sort +hash +google.golang.org/protobuf/internal/pragma +embed +hash/fnv +hash/crc32 +fmt path/filepath +net +google.golang.org/protobuf/internal/detrand +google.golang.org/protobuf/internal/editiondefaults +io/ioutil +crypto +crypto/internal/fips140deps/godebug +crypto/internal/sysrand +crypto/internal/fips140 +crypto/internal/entropy +math/rand/v2 +crypto/internal/fips140/sha256 +crypto/internal/fips140/sha3 +crypto/internal/fips140/sha512 +crypto/internal/randutil +crypto/internal/fips140/hmac +math/rand +crypto/internal/fips140/check +crypto/internal/fips140/aes flag encoding/csv encoding/hex -regexp/syntax net/url text/template/parse -regexp -net encoding/json -text/template github.com/go-errors/errors -log -hash sigs.k8s.io/kustomize/kyaml/errors -hash/fnv +log +text/template sigs.k8s.io/kustomize/kyaml/filesys -google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire -google.golang.org/protobuf/internal/pragma -go/token google.golang.org/protobuf/reflect/protoreflect -embed -google.golang.org/protobuf/internal/editiondefaults +go/token compress/flate +google.golang.org/protobuf/internal/version +gopkg.in/yaml.v3 +compress/gzip google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order @@ -992,64 +1047,41 @@ google.golang.org/protobuf/proto google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/encoding/text -hash/crc32 google.golang.org/protobuf/internal/encoding/defval -compress/gzip -google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/internal/protolazy -google.golang.org/protobuf/internal/version -io/ioutil -gopkg.in/yaml.v3 -google.golang.org/protobuf/internal/encoding/tag -google.golang.org/protobuf/internal/impl -github.com/spf13/pflag github.com/google/gnostic-models/jsonschema -crypto -crypto/internal/fips140deps/godebug -github.com/spf13/cobra -crypto/internal/fips140 -crypto/internal/fips140/sha256 -crypto/internal/fips140/sha3 -crypto/internal/fips140/sha512 -crypto/internal/fips140/hmac -crypto/internal/fips140/check -crypto/internal/fips140/aes -crypto/internal/sysrand -math/rand/v2 -crypto/internal/entropy -math/rand -crypto/internal/randutil crypto/internal/fips140/drbg -math/big crypto/internal/fips140/aes/gcm crypto/internal/fips140only +math/big crypto/cipher crypto/internal/boring +github.com/spf13/pflag crypto/aes crypto/des crypto/internal/fips140/nistec/fiat +google.golang.org/protobuf/internal/encoding/tag +google.golang.org/protobuf/internal/impl crypto/rand crypto/internal/fips140/edwards25519/field -google.golang.org/protobuf/internal/filetype crypto/internal/boring/bbig crypto/internal/impl crypto/internal/fips140/bigmod -google.golang.org/protobuf/runtime/protoimpl -google.golang.org/protobuf/types/known/anypb +github.com/spf13/cobra crypto/sha3 crypto/internal/fips140hash crypto/sha512 -github.com/google/gnostic-models/extensions encoding/asn1 -crypto/internal/fips140/edwards25519 -crypto/internal/fips140/ed25519 vendor/golang.org/x/crypto/cryptobyte crypto/internal/fips140/nistec -crypto/ed25519 +crypto/internal/fips140/edwards25519 crypto/hmac crypto/internal/fips140/hkdf crypto/internal/fips140/mlkem +crypto/internal/fips140/ed25519 +crypto/ed25519 crypto/internal/fips140/tls12 crypto/internal/fips140/tls13 vendor/golang.org/x/crypto/chacha20 @@ -1062,112 +1094,116 @@ crypto/sha256 crypto/tls/internal/fips140tls crypto/dsa -crypto/rsa crypto/x509/pkix encoding/pem +crypto/rsa vendor/golang.org/x/text/transform -vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/secure/bidirule crypto/internal/fips140/ecdh +vendor/golang.org/x/text/unicode/bidi crypto/elliptic crypto/ecdh crypto/internal/fips140/ecdsa crypto/internal/hpke -net/textproto -vendor/golang.org/x/net/idna +vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/text/unicode/norm crypto/ecdsa +net/textproto vendor/golang.org/x/net/http2/hpack +google.golang.org/protobuf/internal/filetype mime -vendor/golang.org/x/net/http/httpguts +google.golang.org/protobuf/runtime/protoimpl +google.golang.org/protobuf/types/known/anypb crypto/x509 -vendor/golang.org/x/net/http/httpproxy +github.com/google/gnostic-models/extensions mime/quotedprintable +vendor/golang.org/x/net/idna net/http/internal net/http/internal/ascii -os/exec mime/multipart +os/exec github.com/josharian/intern -github.com/mailru/easyjson/buffer github.com/mailru/easyjson/jlexer -github.com/mailru/easyjson/jwriter +vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy +github.com/mailru/easyjson/buffer github.com/go-openapi/jsonreference/internal +github.com/mailru/easyjson/jwriter encoding/base32 sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1_21_2 k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json -sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi sigs.k8s.io/kustomize/kyaml/openapi/kustomizationapi +sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi github.com/davecgh/go-spew/spew -crypto/tls sigs.k8s.io/kustomize/kyaml/utils sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/sets +crypto/tls sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/errors sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation -sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels sigs.k8s.io/yaml/goyaml.v2 +sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/labels sigs.k8s.io/yaml/goyaml.v3 sigs.k8s.io/yaml github.com/monochromegane/go-gitignore github.com/xlab/treeprint -net/http/httptrace sigs.k8s.io/kustomize/api/internal/kusterr sigs.k8s.io/kustomize/cmd/config/completion gopkg.in/inf.v0 -net/http -sigs.k8s.io/kustomize/cmd/config/internal/commands/internal/k8sgen/pkg/api/resource sigs.k8s.io/kustomize/kyaml/pathutil sigs.k8s.io/kustomize/cmd/config/runner os/user github.com/pkg/errors +sigs.k8s.io/kustomize/cmd/config/internal/commands/internal/k8sgen/pkg/api/resource github.com/evanphx/json-patch/v5 sigs.k8s.io/kustomize/api/internal/image plugin github.com/google/shlex sigs.k8s.io/kustomize/api/internal/konfig/builtinpluginconsts database/sql/driver -runtime/debug github.com/blang/semver/v4 +net/http/httptrace +net/http +runtime/debug +sigs.k8s.io/kustomize/api/provenance golang.org/x/text/internal/tag golang.org/x/text/internal/language -sigs.k8s.io/kustomize/api/provenance golang.org/x/text/transform golang.org/x/text/unicode/norm -golang.org/x/text/internal/language/compact -golang.org/x/text/language sigs.k8s.io/kustomize/api/pkg/util html -golang.org/x/text/internal github.com/sergi/go-diff/diffmatchpatch -golang.org/x/text/cases +golang.org/x/text/internal/language/compact +golang.org/x/text/language sigs.k8s.io/kustomize/kyaml/copyutil sigs.k8s.io/kustomize/kustomize/v5/commands/openapi/fetch sigs.k8s.io/kustomize/kustomize/v5/commands/openapi/info github.com/pmezard/go-difflib/difflib -github.com/google/gnostic-models/compiler -github.com/go-openapi/swag sigs.k8s.io/kustomize/kustomize/v5/commands/openapi -github.com/google/gnostic-models/openapiv2 github.com/stretchr/testify/assert/yaml net/http/internal/testcert +internal/sysinfo +golang.org/x/text/internal +runtime/trace +golang.org/x/text/cases +testing +github.com/go-openapi/swag net/http/httptest +github.com/google/gnostic-models/compiler github.com/stretchr/testify/assert +github.com/google/gnostic-models/openapiv2 github.com/go-openapi/jsonpointer github.com/go-openapi/jsonreference -k8s.io/kube-openapi/pkg/internal -internal/sysinfo -runtime/trace -testing github.com/stretchr/testify/require +k8s.io/kube-openapi/pkg/internal k8s.io/kube-openapi/pkg/validation/spec sigs.k8s.io/kustomize/kyaml/yaml sigs.k8s.io/kustomize/kyaml/openapi sigs.k8s.io/kustomize/api/hasher sigs.k8s.io/kustomize/kyaml/kio/kioutil sigs.k8s.io/kustomize/kyaml/order -sigs.k8s.io/kustomize/kyaml/kio sigs.k8s.io/kustomize/api/filters/filtersutil sigs.k8s.io/kustomize/kustomize/v5/commands/version +sigs.k8s.io/kustomize/kyaml/kio sigs.k8s.io/kustomize/kyaml/resid sigs.k8s.io/kustomize/kyaml/fieldmeta sigs.k8s.io/kustomize/kyaml/yaml/schema @@ -1175,97 +1211,97 @@ sigs.k8s.io/kustomize/api/filters/patchjson6902 sigs.k8s.io/kustomize/api/filters/valueadd sigs.k8s.io/kustomize/kyaml/yaml/walk -sigs.k8s.io/kustomize/api/konfig sigs.k8s.io/kustomize/api/ifc +sigs.k8s.io/kustomize/api/konfig +sigs.k8s.io/kustomize/api/filters/fieldspec sigs.k8s.io/kustomize/api/internal/validate sigs.k8s.io/kustomize/api/internal/generators sigs.k8s.io/kustomize/api/internal/utils -sigs.k8s.io/kustomize/api/filters/fieldspec -sigs.k8s.io/kustomize/api/internal/git sigs.k8s.io/kustomize/api/filters/fsslice -sigs.k8s.io/kustomize/api/filters/annotations sigs.k8s.io/kustomize/api/filters/iampolicygenerator +sigs.k8s.io/kustomize/api/filters/annotations +sigs.k8s.io/kustomize/api/internal/git sigs.k8s.io/kustomize/api/filters/imagetag +sigs.k8s.io/kustomize/api/filters/labels +sigs.k8s.io/kustomize/api/filters/namespace +sigs.k8s.io/kustomize/api/filters/prefix +sigs.k8s.io/kustomize/api/filters/replicacount +sigs.k8s.io/kustomize/api/filters/suffix +sigs.k8s.io/kustomize/api/kv sigs.k8s.io/kustomize/kyaml/yaml/merge2 +sigs.k8s.io/kustomize/api/internal/loader sigs.k8s.io/kustomize/kyaml/comments sigs.k8s.io/kustomize/kyaml/yaml/merge3 -sigs.k8s.io/kustomize/api/filters/patchstrategicmerge +sigs.k8s.io/kustomize/api/filters/refvar +sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig +sigs.k8s.io/kustomize/api/pkg/loader sigs.k8s.io/kustomize/kyaml/fn/runtime/runtimeutil -sigs.k8s.io/kustomize/api/resource +sigs.k8s.io/kustomize/kustomize/v5/commands/internal/kustfile +sigs.k8s.io/kustomize/api/filters/patchstrategicmerge sigs.k8s.io/kustomize/kyaml/kio/filters +sigs.k8s.io/kustomize/kustomize/v5/commands/internal/util sigs.k8s.io/kustomize/kyaml/fn/runtime/exec +sigs.k8s.io/kustomize/kustomize/v5/commands/edit/remove sigs.k8s.io/kustomize/kyaml/fn/runtime/container -sigs.k8s.io/kustomize/api/provider +sigs.k8s.io/kustomize/api/resource sigs.k8s.io/kustomize/kyaml/runfn -sigs.k8s.io/kustomize/api/filters/labels -sigs.k8s.io/kustomize/api/filters/namespace -sigs.k8s.io/kustomize/api/filters/prefix -sigs.k8s.io/kustomize/api/filters/replacement -sigs.k8s.io/kustomize/api/filters/replicacount +sigs.k8s.io/kustomize/kustomize/v5/commands/internal/testutils sigs.k8s.io/kustomize/cmd/config/internal/commands -sigs.k8s.io/kustomize/api/filters/suffix -sigs.k8s.io/kustomize/api/kv -sigs.k8s.io/kustomize/api/internal/loader +sigs.k8s.io/kustomize/api/provider sigs.k8s.io/kustomize/api/resmap -sigs.k8s.io/kustomize/api/filters/refvar -sigs.k8s.io/kustomize/cmd/config/configcobra -sigs.k8s.io/kustomize/api/internal/plugins/builtinconfig +sigs.k8s.io/kustomize/api/filters/replacement +sigs.k8s.io/kustomize/kustomize/v5/commands/create +sigs.k8s.io/kustomize/kustomize/v5/commands/edit/add +sigs.k8s.io/kustomize/kustomize/v5/commands/edit/set sigs.k8s.io/kustomize/api/internal/builtins +sigs.k8s.io/kustomize/cmd/config/configcobra sigs.k8s.io/kustomize/api/internal/plugins/utils +sigs.k8s.io/kustomize/api/filters/nameref +sigs.k8s.io/kustomize/kustomize/v5/commands/internal/configmapsecret sigs.k8s.io/kustomize/api/internal/plugins/execplugin sigs.k8s.io/kustomize/api/internal/plugins/fnplugin -sigs.k8s.io/kustomize/api/filters/nameref -sigs.k8s.io/kustomize/api/pkg/loader -sigs.k8s.io/kustomize/kustomize/v5/commands/internal/kustfile sigs.k8s.io/kustomize/api/internal/accumulator -sigs.k8s.io/kustomize/kustomize/v5/commands/internal/util sigs.k8s.io/kustomize/api/internal/plugins/builtinhelpers -sigs.k8s.io/kustomize/kustomize/v5/commands/create sigs.k8s.io/kustomize/api/internal/plugins/loader -sigs.k8s.io/kustomize/kustomize/v5/commands/edit/add -sigs.k8s.io/kustomize/kustomize/v5/commands/edit/remove sigs.k8s.io/kustomize/api/internal/target -sigs.k8s.io/kustomize/kustomize/v5/commands/edit/set -sigs.k8s.io/kustomize/kustomize/v5/commands/internal/testutils -sigs.k8s.io/kustomize/kustomize/v5/commands/internal/configmapsecret -sigs.k8s.io/kustomize/api/krusty sigs.k8s.io/kustomize/api/internal/localizer -sigs.k8s.io/kustomize/kustomize/v5/commands/build +sigs.k8s.io/kustomize/api/krusty sigs.k8s.io/kustomize/kustomize/v5/commands/edit/listbuiltin -sigs.k8s.io/kustomize/api/krusty/localizer +sigs.k8s.io/kustomize/kustomize/v5/commands/build sigs.k8s.io/kustomize/kustomize/v5/commands/edit/fix +sigs.k8s.io/kustomize/api/krusty/localizer sigs.k8s.io/kustomize/kustomize/v5/commands/localize sigs.k8s.io/kustomize/kustomize/v5/commands/edit sigs.k8s.io/kustomize/kustomize/v5/commands sigs.k8s.io/kustomize/kustomize/v5 dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 sigs.k8s.io/kustomize/kustomize/v5 sigs.k8s.io/kustomize/kustomize/v5/commands sigs.k8s.io/kustomize/kustomize/v5/commands/build sigs.k8s.io/kustomize/kustomize/v5/commands/create sigs.k8s.io/kustomize/kustomize/v5/commands/edit sigs.k8s.io/kustomize/kustomize/v5/commands/edit/add sigs.k8s.io/kustomize/kustomize/v5/commands/edit/fix sigs.k8s.io/kustomize/kustomize/v5/commands/edit/listbuiltin sigs.k8s.io/kustomize/kustomize/v5/commands/edit/remove sigs.k8s.io/kustomize/kustomize/v5/commands/edit/set sigs.k8s.io/kustomize/kustomize/v5/commands/internal/configmapsecret sigs.k8s.io/kustomize/kustomize/v5/commands/internal/kustfile sigs.k8s.io/kustomize/kustomize/v5/commands/internal/testutils sigs.k8s.io/kustomize/kustomize/v5/commands/internal/util sigs.k8s.io/kustomize/kustomize/v5/commands/localize sigs.k8s.io/kustomize/kustomize/v5/commands/openapi sigs.k8s.io/kustomize/kustomize/v5/commands/openapi/fetch sigs.k8s.io/kustomize/kustomize/v5/commands/openapi/info sigs.k8s.io/kustomize/kustomize/v5/commands/version + cd _build && go test -vet=off -v -p 4 sigs.k8s.io/kustomize/kustomize/v5 sigs.k8s.io/kustomize/kustomize/v5/commands sigs.k8s.io/kustomize/kustomize/v5/commands/build sigs.k8s.io/kustomize/kustomize/v5/commands/create sigs.k8s.io/kustomize/kustomize/v5/commands/edit sigs.k8s.io/kustomize/kustomize/v5/commands/edit/add sigs.k8s.io/kustomize/kustomize/v5/commands/edit/fix sigs.k8s.io/kustomize/kustomize/v5/commands/edit/listbuiltin sigs.k8s.io/kustomize/kustomize/v5/commands/edit/remove sigs.k8s.io/kustomize/kustomize/v5/commands/edit/set sigs.k8s.io/kustomize/kustomize/v5/commands/internal/configmapsecret sigs.k8s.io/kustomize/kustomize/v5/commands/internal/kustfile sigs.k8s.io/kustomize/kustomize/v5/commands/internal/testutils sigs.k8s.io/kustomize/kustomize/v5/commands/internal/util sigs.k8s.io/kustomize/kustomize/v5/commands/localize sigs.k8s.io/kustomize/kustomize/v5/commands/openapi sigs.k8s.io/kustomize/kustomize/v5/commands/openapi/fetch sigs.k8s.io/kustomize/kustomize/v5/commands/openapi/info sigs.k8s.io/kustomize/kustomize/v5/commands/version ? sigs.k8s.io/kustomize/kustomize/v5 [no test files] ? sigs.k8s.io/kustomize/kustomize/v5/commands [no test files] === RUN TestBuild # Warning: 'commonLabels' is deprecated. Please use 'labels' instead. Run 'kustomize edit fix' to update your Kustomization automatically. # Warning: 'patchesJson6902' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically. ---- PASS: TestBuild (0.05s) +--- PASS: TestBuild (0.07s) === RUN TestBuildWithShardedOutput # Warning: 'commonLabels' is deprecated. Please use 'labels' instead. Run 'kustomize edit fix' to update your Kustomization automatically. # Warning: 'patchesJson6902' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically. ---- PASS: TestBuildWithShardedOutput (0.04s) +--- PASS: TestBuildWithShardedOutput (0.07s) === RUN TestHelp --- PASS: TestHelp (0.00s) === RUN TestValidation +=== RUN TestValidation/noArgs +=== RUN TestValidation/dotArg === RUN TestValidation/file === RUN TestValidation/directory === RUN TestValidation/tooManyArgs -=== RUN TestValidation/noArgs -=== RUN TestValidation/dotArg --- PASS: TestValidation (0.00s) + --- PASS: TestValidation/noArgs (0.00s) + --- PASS: TestValidation/dotArg (0.00s) --- PASS: TestValidation/file (0.00s) --- PASS: TestValidation/directory (0.00s) --- PASS: TestValidation/tooManyArgs (0.00s) - --- PASS: TestValidation/noArgs (0.00s) - --- PASS: TestValidation/dotArg (0.00s) PASS -ok sigs.k8s.io/kustomize/kustomize/v5/commands/build 0.118s +ok sigs.k8s.io/kustomize/kustomize/v5/commands/build 0.199s === RUN TestCreateNoArgs --- PASS: TestCreateNoArgs (0.00s) === RUN TestCreateWithResources @@ -1273,26 +1309,26 @@ === RUN TestCreateWithResourcesWithFileNotFound --- PASS: TestCreateWithResourcesWithFileNotFound (0.00s) === RUN TestCreateWithNamespace ---- PASS: TestCreateWithNamespace (0.00s) +--- PASS: TestCreateWithNamespace (0.01s) === RUN TestCreateWithLabels --- PASS: TestCreateWithLabels (0.00s) === RUN TestCreateWithAnnotations ---- PASS: TestCreateWithAnnotations (0.00s) +--- PASS: TestCreateWithAnnotations (0.01s) === RUN TestCreateWithNamePrefix --- PASS: TestCreateWithNamePrefix (0.00s) === RUN TestCreateWithNameSuffix --- PASS: TestCreateWithNameSuffix (0.00s) === RUN TestCreateWithDetect ---- PASS: TestCreateWithDetect (0.00s) +--- PASS: TestCreateWithDetect (0.01s) === RUN TestCreateWithDetectRecursive --- PASS: TestCreateWithDetectRecursive (0.01s) PASS -ok sigs.k8s.io/kustomize/kustomize/v5/commands/create 0.042s +ok sigs.k8s.io/kustomize/kustomize/v5/commands/create 0.087s ? sigs.k8s.io/kustomize/kustomize/v5/commands/edit [no test files] === RUN TestAddBaseHappyPath ---- PASS: TestAddBaseHappyPath (0.01s) +--- PASS: TestAddBaseHappyPath (0.02s) === RUN TestAddBaseAlreadyThere ---- PASS: TestAddBaseAlreadyThere (0.02s) +--- PASS: TestAddBaseAlreadyThere (0.04s) === RUN TestAddBaseNoArgs Error: must specify a base directory Usage: @@ -1309,12 +1345,12 @@ === RUN TestAddBuildMetadata --- PASS: TestAddBuildMetadata (0.00s) === RUN TestAddComponentHappyPath ---- PASS: TestAddComponentHappyPath (0.01s) +--- PASS: TestAddComponentHappyPath (0.06s) === RUN TestAddComponentAlreadyThere -2025/03/18 17:11:37 component myWonderfulComponent.yaml already in kustomization file ---- PASS: TestAddComponentAlreadyThere (0.02s) +2025/03/19 19:26:00 component myWonderfulComponent.yaml already in kustomization file +--- PASS: TestAddComponentAlreadyThere (0.04s) === RUN TestAddKustomizationFileAsComponent ---- PASS: TestAddKustomizationFileAsComponent (0.01s) +--- PASS: TestAddKustomizationFileAsComponent (0.03s) === RUN TestAddComponentNoArgs Error: must specify a component file Usage: @@ -1341,38 +1377,38 @@ === RUN TestMergeFlagsIntoConfigMapArgs_EnvSource --- PASS: TestMergeFlagsIntoConfigMapArgs_EnvSource (0.00s) === RUN TestMergeFlagsIntoConfigMapArgs_Behavior ---- PASS: TestMergeFlagsIntoConfigMapArgs_Behavior (0.00s) +--- PASS: TestMergeFlagsIntoConfigMapArgs_Behavior (0.01s) === RUN TestEditAddConfigMapWithLiteralSource === RUN TestEditAddConfigMapWithLiteralSource/use_literal-source_with_default_namespace === RUN TestEditAddConfigMapWithLiteralSource/use_literal-source_with_specified_namespace ---- PASS: TestEditAddConfigMapWithLiteralSource (0.05s) - --- PASS: TestEditAddConfigMapWithLiteralSource/use_literal-source_with_default_namespace (0.02s) - --- PASS: TestEditAddConfigMapWithLiteralSource/use_literal-source_with_specified_namespace (0.03s) +--- PASS: TestEditAddConfigMapWithLiteralSource (0.09s) + --- PASS: TestEditAddConfigMapWithLiteralSource/use_literal-source_with_default_namespace (0.03s) + --- PASS: TestEditAddConfigMapWithLiteralSource/use_literal-source_with_specified_namespace (0.06s) === RUN TestEditAddConfigMapWithEnvSource === RUN TestEditAddConfigMapWithEnvSource/use_env-source_with_default_namespace === RUN TestEditAddConfigMapWithEnvSource/use_env-source_with_a_specified_namespace ---- PASS: TestEditAddConfigMapWithEnvSource (0.09s) - --- PASS: TestEditAddConfigMapWithEnvSource/use_env-source_with_default_namespace (0.03s) +--- PASS: TestEditAddConfigMapWithEnvSource (0.10s) + --- PASS: TestEditAddConfigMapWithEnvSource/use_env-source_with_default_namespace (0.06s) --- PASS: TestEditAddConfigMapWithEnvSource/use_env-source_with_a_specified_namespace (0.05s) === RUN TestEditAddConfigMapWithFileSource === RUN TestEditAddConfigMapWithFileSource/use_file-source_with_default_namespace === RUN TestEditAddConfigMapWithFileSource/use_file-source_with_specified_namespace --- PASS: TestEditAddConfigMapWithFileSource (0.12s) --- PASS: TestEditAddConfigMapWithFileSource/use_file-source_with_default_namespace (0.06s) - --- PASS: TestEditAddConfigMapWithFileSource/use_file-source_with_specified_namespace (0.05s) + --- PASS: TestEditAddConfigMapWithFileSource/use_file-source_with_specified_namespace (0.06s) === RUN TestEditAddConfigMapNamespaced === RUN TestEditAddConfigMapNamespaced/adds_new_key_to_configmap_when_default_namespace_matches_empty === RUN TestEditAddConfigMapNamespaced/adds_new_key_to_configmap_when_empty_namespace_matches_default === RUN TestEditAddConfigMapNamespaced/creates_a_new_generator_when_namespaces_don't_match ---- PASS: TestEditAddConfigMapNamespaced (0.11s) +--- PASS: TestEditAddConfigMapNamespaced (0.12s) --- PASS: TestEditAddConfigMapNamespaced/adds_new_key_to_configmap_when_default_namespace_matches_empty (0.02s) - --- PASS: TestEditAddConfigMapNamespaced/adds_new_key_to_configmap_when_empty_namespace_matches_default (0.05s) - --- PASS: TestEditAddConfigMapNamespaced/creates_a_new_generator_when_namespaces_don't_match (0.04s) + --- PASS: TestEditAddConfigMapNamespaced/adds_new_key_to_configmap_when_empty_namespace_matches_default (0.04s) + --- PASS: TestEditAddConfigMapNamespaced/creates_a_new_generator_when_namespaces_don't_match (0.06s) === RUN TestAddGeneratorHappyPath ---- PASS: TestAddGeneratorHappyPath (0.02s) +--- PASS: TestAddGeneratorHappyPath (0.01s) === RUN TestAddGeneratorAlreadyThere -2025/03/18 17:11:38 generator myWonderfulGenerator.yaml already in kustomization file ---- PASS: TestAddGeneratorAlreadyThere (0.07s) +2025/03/19 19:26:01 generator myWonderfulGenerator.yaml already in kustomization file +--- PASS: TestAddGeneratorAlreadyThere (0.09s) === RUN TestAddGeneratorNoArgs Error: must specify a yaml file which contains a generator plugin resource Usage: @@ -1389,7 +1425,7 @@ === RUN TestAddGeneratorMissingKustomizationYAML --- PASS: TestAddGeneratorMissingKustomizationYAML (0.00s) === RUN TestRunAddAnnotation ---- PASS: TestRunAddAnnotation (0.02s) +--- PASS: TestRunAddAnnotation (0.03s) === RUN TestAddAnnotationNoArgs Error: must specify annotation Usage: @@ -1407,13 +1443,13 @@ === RUN TestAddAnnotationInvalidFormat --- PASS: TestAddAnnotationInvalidFormat (0.00s) === RUN TestAddAnnotationManyArgs ---- PASS: TestAddAnnotationManyArgs (0.02s) +--- PASS: TestAddAnnotationManyArgs (0.03s) === RUN TestAddAnnotationValueQuoted ---- PASS: TestAddAnnotationValueQuoted (0.04s) +--- PASS: TestAddAnnotationValueQuoted (0.05s) === RUN TestAddAnnotationValueWithColon ---- PASS: TestAddAnnotationValueWithColon (0.03s) +--- PASS: TestAddAnnotationValueWithColon (0.02s) === RUN TestAddAnnotationValueWithComma ---- PASS: TestAddAnnotationValueWithComma (0.01s) +--- PASS: TestAddAnnotationValueWithComma (0.02s) === RUN TestAddAnnotationNoKey --- PASS: TestAddAnnotationNoKey (0.00s) === RUN TestAddAnnotationTooManyColons @@ -1421,11 +1457,11 @@ === RUN TestAddAnnotationNoValue --- PASS: TestAddAnnotationNoValue (0.03s) === RUN TestAddAnnotationMultipleArgs ---- PASS: TestAddAnnotationMultipleArgs (0.01s) +--- PASS: TestAddAnnotationMultipleArgs (0.02s) === RUN TestAddAnnotationForce ---- PASS: TestAddAnnotationForce (0.11s) +--- PASS: TestAddAnnotationForce (0.07s) === RUN TestRunAddLabel ---- PASS: TestRunAddLabel (0.02s) +--- PASS: TestRunAddLabel (0.01s) === RUN TestAddLabelNoArgs Error: must specify label Usage: @@ -1447,28 +1483,28 @@ === RUN TestAddLabelNoKey --- PASS: TestAddLabelNoKey (0.00s) === RUN TestAddLabelTooManyColons ---- PASS: TestAddLabelTooManyColons (0.01s) +--- PASS: TestAddLabelTooManyColons (0.03s) === RUN TestAddLabelNoValue ---- PASS: TestAddLabelNoValue (0.03s) +--- PASS: TestAddLabelNoValue (0.02s) === RUN TestAddLabelMultipleArgs ---- PASS: TestAddLabelMultipleArgs (0.03s) +--- PASS: TestAddLabelMultipleArgs (0.02s) === RUN TestAddLabelForce ---- PASS: TestAddLabelForce (0.08s) +--- PASS: TestAddLabelForce (0.09s) === RUN TestAddLabelWithoutSelector ---- PASS: TestAddLabelWithoutSelector (0.02s) +--- PASS: TestAddLabelWithoutSelector (0.01s) === RUN TestAddLabelWithoutSelectorIncludeTemplates ---- PASS: TestAddLabelWithoutSelectorIncludeTemplates (0.01s) +--- PASS: TestAddLabelWithoutSelectorIncludeTemplates (0.02s) === RUN TestAddLabelIncludeTemplatesWithoutRequiredFlag --- PASS: TestAddLabelIncludeTemplatesWithoutRequiredFlag (0.00s) === RUN TestAddLabelWithoutSelectorAddLabel ---- PASS: TestAddLabelWithoutSelectorAddLabel (0.01s) +--- PASS: TestAddLabelWithoutSelectorAddLabel (0.02s) === RUN TestAddPatchWithFilePath ---- PASS: TestAddPatchWithFilePath (0.01s) +--- PASS: TestAddPatchWithFilePath (0.02s) === RUN TestAddPatchWithPatchContent ---- PASS: TestAddPatchWithPatchContent (0.01s) +--- PASS: TestAddPatchWithPatchContent (0.02s) === RUN TestAddPatchAlreadyThere -2025/03/18 17:11:38 patch types.Patch{Path:"myWonderfulPatch.yaml", Patch:"", Target:(*types.Selector)(0x2780040), Options:map[string]bool(nil)} already in kustomization file ---- PASS: TestAddPatchAlreadyThere (0.04s) +2025/03/19 19:26:02 patch types.Patch{Path:"myWonderfulPatch.yaml", Patch:"", Target:(*types.Selector)(0x2470100), Options:map[string]bool(nil)} already in kustomization file +--- PASS: TestAddPatchAlreadyThere (0.08s) === RUN TestAddPatchNoArgs Error: must provide either patch or path Usage: @@ -1492,12 +1528,12 @@ --- PASS: TestAddPatchNoArgs (0.00s) === RUN TestAddResourceHappyPath ---- PASS: TestAddResourceHappyPath (0.03s) +--- PASS: TestAddResourceHappyPath (0.02s) === RUN TestAddResourceAlreadyThere -2025/03/18 17:11:38 resource myWonderfulResource.yaml already in kustomization file ---- PASS: TestAddResourceAlreadyThere (0.05s) +2025/03/19 19:26:02 resource myWonderfulResource.yaml already in kustomization file +--- PASS: TestAddResourceAlreadyThere (0.04s) === RUN TestAddKustomizationFileAsResource ---- PASS: TestAddKustomizationFileAsResource (0.03s) +--- PASS: TestAddKustomizationFileAsResource (0.04s) === RUN TestAddResourceNoArgs Error: must specify a resource file Usage: @@ -1511,7 +1547,7 @@ -h, --help help for resource --no-verify skip validation for resources ---- PASS: TestAddResourceNoArgs (0.00s) +--- PASS: TestAddResourceNoArgs (0.01s) === RUN TestAddResourceFileNotFound --- PASS: TestAddResourceFileNotFound (0.00s) === RUN TestNewCmdAddSecretIsNotNil @@ -1527,24 +1563,24 @@ === RUN TestMergeFlagsIntoSecretArgs_DisableNameSuffixHash --- PASS: TestMergeFlagsIntoSecretArgs_DisableNameSuffixHash (0.00s) === RUN TestEditAddSecretWithLiteralSource ---- PASS: TestEditAddSecretWithLiteralSource (0.05s) +--- PASS: TestEditAddSecretWithLiteralSource (0.03s) === RUN TestEditAddSecretWithEnvSource ---- PASS: TestEditAddSecretWithEnvSource (0.03s) +--- PASS: TestEditAddSecretWithEnvSource (0.04s) === RUN TestEditAddSecretWithFileSource ---- PASS: TestEditAddSecretWithFileSource (0.04s) +--- PASS: TestEditAddSecretWithFileSource (0.06s) === RUN TestEditAddSecretNamespaced === RUN TestEditAddSecretNamespaced/adds_new_key_to_secret_when_default_namespace_matches_empty === RUN TestEditAddSecretNamespaced/adds_new_key_to_secret_when_empty_namespace_matches_default === RUN TestEditAddSecretNamespaced/creates_a_new_generator_when_namespaces_don't_match ---- PASS: TestEditAddSecretNamespaced (0.10s) +--- PASS: TestEditAddSecretNamespaced (0.16s) --- PASS: TestEditAddSecretNamespaced/adds_new_key_to_secret_when_default_namespace_matches_empty (0.03s) - --- PASS: TestEditAddSecretNamespaced/adds_new_key_to_secret_when_empty_namespace_matches_default (0.02s) - --- PASS: TestEditAddSecretNamespaced/creates_a_new_generator_when_namespaces_don't_match (0.05s) + --- PASS: TestEditAddSecretNamespaced/adds_new_key_to_secret_when_empty_namespace_matches_default (0.06s) + --- PASS: TestEditAddSecretNamespaced/creates_a_new_generator_when_namespaces_don't_match (0.07s) === RUN TestAddTransformerHappyPath ---- PASS: TestAddTransformerHappyPath (0.01s) +--- PASS: TestAddTransformerHappyPath (0.02s) === RUN TestAddTransformerAlreadyThere -2025/03/18 17:11:39 transformer myWonderfulTransformer.yaml already in kustomization file ---- PASS: TestAddTransformerAlreadyThere (0.05s) +2025/03/19 19:26:02 transformer myWonderfulTransformer.yaml already in kustomization file +--- PASS: TestAddTransformerAlreadyThere (0.07s) === RUN TestAddTransformerNoArgs Error: must specify a yaml file which contains a transformer plugin resource Usage: @@ -1561,7 +1597,7 @@ === RUN TestAddTransformerMissingKustomizationYAML --- PASS: TestAddTransformerMissingKustomizationYAML (0.00s) PASS -ok sigs.k8s.io/kustomize/kustomize/v5/commands/edit/add 1.556s +ok sigs.k8s.io/kustomize/kustomize/v5/commands/edit/add 1.958s === RUN TestFixVarsSimple # Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically. @@ -1571,7 +1607,7 @@ commonLabels -> labels vars -> replacements Warning: 'Fixed' kustomization now produces the error when running `kustomize build`: nothing selected by Secret.v1.[noGrp]/my-secret.[noNs] ---- PASS: TestFixVarsSimple (0.03s) +--- PASS: TestFixVarsSimple (0.06s) === RUN TestFixVarsDelimiterPrefix # Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically. @@ -1581,7 +1617,7 @@ commonLabels -> labels vars -> replacements Warning: 'Fixed' kustomization now produces the error when running `kustomize build`: nothing selected by Secret.v1.[noGrp]/my-secret.[noNs] ---- PASS: TestFixVarsDelimiterPrefix (0.03s) +--- PASS: TestFixVarsDelimiterPrefix (0.04s) === RUN TestFixVarsDelimiterSuffix # Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically. @@ -1591,7 +1627,7 @@ commonLabels -> labels vars -> replacements Warning: 'Fixed' kustomization now produces the error when running `kustomize build`: nothing selected by Secret.v1.[noGrp]/my-secret.[noNs] ---- PASS: TestFixVarsDelimiterSuffix (0.02s) +--- PASS: TestFixVarsDelimiterSuffix (0.03s) === RUN TestFixVarsDelimiter # Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically. @@ -1601,10 +1637,10 @@ commonLabels -> labels vars -> replacements Warning: 'Fixed' kustomization now produces the error when running `kustomize build`: nothing selected by Secret.v1.[noGrp]/my-secret.[noNs] ---- PASS: TestFixVarsDelimiter (0.02s) +--- PASS: TestFixVarsDelimiter (0.04s) === RUN TestFixVarsNotDelimited # Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically. ---- PASS: TestFixVarsNotDelimited (0.03s) +--- PASS: TestFixVarsNotDelimited (0.02s) === RUN TestFixVarsWithPatchBasic # Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically. @@ -1614,7 +1650,7 @@ commonLabels -> labels vars -> replacements Warning: 'Fixed' kustomization now produces the error when running `kustomize build`: nothing selected by Secret.v1.[noGrp]/my-secret.[noNs] ---- PASS: TestFixVarsWithPatchBasic (0.60s) +--- PASS: TestFixVarsWithPatchBasic (0.87s) === RUN TestFixVarsWithPatchDifferentName # Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically. @@ -1624,7 +1660,7 @@ commonLabels -> labels vars -> replacements Warning: 'Fixed' kustomization now produces the error when running `kustomize build`: nothing selected by Secret.v1.[noGrp]/my-secret.[noNs] ---- PASS: TestFixVarsWithPatchDifferentName (0.05s) +--- PASS: TestFixVarsWithPatchDifferentName (0.11s) === RUN TestFixVarsWithPatchNameChange # Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically. @@ -1644,7 +1680,7 @@ commonLabels -> labels vars -> replacements Warning: 'Fixed' kustomization now produces the error when running `kustomize build`: nothing selected by Secret.v1.[noGrp]/my-secret.[noNs] ---- PASS: TestFixVarsWithPatchMultipleResources (0.06s) +--- PASS: TestFixVarsWithPatchMultipleResources (0.09s) === RUN TestFixVarsWithPatchMultipleResourcesAndKindChange # Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically. @@ -1654,7 +1690,7 @@ commonLabels -> labels vars -> replacements Warning: 'Fixed' kustomization now produces the error when running `kustomize build`: nothing selected by Secret.v1.[noGrp]/my-secret.[noNs] ---- PASS: TestFixVarsWithPatchMultipleResourcesAndKindChange (0.09s) +--- PASS: TestFixVarsWithPatchMultipleResourcesAndKindChange (0.10s) === RUN TestFixVarsWithOverlay # Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically. @@ -1664,7 +1700,7 @@ commonLabels -> labels vars -> replacements Warning: 'Fixed' kustomization now produces the error when running `kustomize build`: nothing selected by Secret.v1.[noGrp]/my-secret.[noNs] ---- PASS: TestFixVarsWithOverlay (0.05s) +--- PASS: TestFixVarsWithOverlay (0.04s) === RUN TestFixVarsWithDot # Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically. @@ -1674,7 +1710,7 @@ commonLabels -> labels vars -> replacements Warning: 'Fixed' kustomization now produces the error when running `kustomize build`: nothing selected by Secret.v1.[noGrp]/my-secret.[noNs] ---- PASS: TestFixVarsWithDot (0.03s) +--- PASS: TestFixVarsWithDot (0.04s) === RUN TestFixVarsWithPatch # Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically. # Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically. @@ -1685,7 +1721,7 @@ commonLabels -> labels vars -> replacements Warning: 'Fixed' kustomization now produces the error when running `kustomize build`: no resource matches strategic merge patch "Deployment.v1.apps/controller-manager.system": no matches for Id Deployment.v1.apps/controller-manager.system; failed to find unique target for patch Deployment.v1.apps/controller-manager.system ---- PASS: TestFixVarsWithPatch (0.07s) +--- PASS: TestFixVarsWithPatch (0.06s) === RUN TestFix Fixed fields: @@ -1856,30 +1892,28 @@ WARNING: Converting vars to replacements will potentially overwrite many resource files and the resulting files may not produce the same output when `kustomize build` is run. We recommend doing this in a clean git repository where the change is easy to undo. ---- PASS: TestFixCommand (0.42s) +--- PASS: TestFixCommand (0.49s) --- PASS: TestFixCommand/FixOutdatedPatchesFieldTitle (0.03s) - --- PASS: TestFixCommand/TestRenameAndKeepOutdatedPatchesField (0.04s) - --- PASS: TestFixCommand/TestFixOutdatedPatchesStrategicMergeFieldTitle (0.03s) - --- PASS: TestFixCommand/TestFixAndMergeOutdatedPatchesStrategicMergeFieldTitle (0.05s) - --- PASS: TestFixCommand/TestFixOutdatedPatchesStrategicMergeToPathFieldTitle (0.02s) + --- PASS: TestFixCommand/TestRenameAndKeepOutdatedPatchesField (0.08s) + --- PASS: TestFixCommand/TestFixOutdatedPatchesStrategicMergeFieldTitle (0.04s) + --- PASS: TestFixCommand/TestFixAndMergeOutdatedPatchesStrategicMergeFieldTitle (0.09s) + --- PASS: TestFixCommand/TestFixOutdatedPatchesStrategicMergeToPathFieldTitle (0.01s) --- PASS: TestFixCommand/TestFixOutdatedPatchesStrategicMergeToPathFieldYMLTitle (0.02s) --- PASS: TestFixCommand/Test_fix_outdated_patchesStrategicMerge_from_a_file_and_one_string_literal (0.07s) - --- PASS: TestFixCommand/Test_fix_outdated_patchesStrategicMerge_and_patchesJson6902 (0.01s) - --- PASS: TestFixCommand/TestFixOutdatedPatchesStrategicMergeFieldPatchEndOfYamlTitle (0.06s) - --- PASS: TestFixCommand/TestFixOutdatedCommonLabels (0.09s) + --- PASS: TestFixCommand/Test_fix_outdated_patchesStrategicMerge_and_patchesJson6902 (0.04s) + --- PASS: TestFixCommand/TestFixOutdatedPatchesStrategicMergeFieldPatchEndOfYamlTitle (0.04s) + --- PASS: TestFixCommand/TestFixOutdatedCommonLabels (0.07s) === RUN TestFixOutdatedCommonLabelsDuplicate # Warning: 'commonLabels' is deprecated. Please use 'labels' instead. Run 'kustomize edit fix' to update your Kustomization automatically. ---- PASS: TestFixOutdatedCommonLabelsDuplicate (0.04s) +--- PASS: TestFixOutdatedCommonLabelsDuplicate (0.02s) PASS -ok sigs.k8s.io/kustomize/kustomize/v5/commands/edit/fix 1.667s +ok sigs.k8s.io/kustomize/kustomize/v5/commands/edit/fix 2.149s ? sigs.k8s.io/kustomize/kustomize/v5/commands/edit/listbuiltin [no test files] === RUN TestRemoveBuildMetadata ---- PASS: TestRemoveBuildMetadata (0.00s) +--- PASS: TestRemoveBuildMetadata (0.01s) === RUN TestRemoveConfigMap -=== RUN TestRemoveConfigMap/handles_empty_namespace_as_default_in_the_args -=== RUN TestRemoveConfigMap/handles_empty_namespace_as_default_in_the_kustomization_file -=== RUN TestRemoveConfigMap/fails_when_single_configmap_name_is_specified_and_doesn't_exist_in_the_specified_namespace -Error: no specified configmap(s) were found in the kustomization.yaml file +=== RUN TestRemoveConfigMap/fails_when_no_configmap_name_is_specified +Error: at least one configmap name must be specified Usage: configmap NAME [,NAME] [--namespace=namespace-name] [flags] @@ -1896,8 +1930,13 @@ -h, --help help for configmap --namespace string Namespace to remove ConfigMap(s) from -=== RUN TestRemoveConfigMap/fails_when_too_many_configmap_names_are_specified -Error: too many arguments: [test1 test2]; to provide multiple configmaps to remove, please separate configmap names by commas +=== RUN TestRemoveConfigMap/removes_a_configmap_successfully +=== RUN TestRemoveConfigMap/removes_multiple_configmaps_successfully +=== RUN TestRemoveConfigMap/succeeds_when_one_configmap_name_exists_and_one_doesn't_exist +2025/03/19 19:26:20 configmap foo doesn't exist in kustomization file +=== RUN TestRemoveConfigMap/succeeds_when_one_configmap_name_exists_in_the_specified_namespace +=== RUN TestRemoveConfigMap/fails_when_single_configmap_name_is_specified_and_doesn't_exist +Error: no specified configmap(s) were found in the kustomization.yaml file Usage: configmap NAME [,NAME] [--namespace=namespace-name] [flags] @@ -1914,8 +1953,7 @@ -h, --help help for configmap --namespace string Namespace to remove ConfigMap(s) from -=== RUN TestRemoveConfigMap/removes_a_configmap_successfully -=== RUN TestRemoveConfigMap/fails_when_single_configmap_name_is_specified_and_doesn't_exist +=== RUN TestRemoveConfigMap/fails_when_single_configmap_name_is_specified_and_doesn't_exist_in_the_specified_namespace Error: no specified configmap(s) were found in the kustomization.yaml file Usage: configmap NAME [,NAME] [--namespace=namespace-name] [flags] @@ -1933,8 +1971,8 @@ -h, --help help for configmap --namespace string Namespace to remove ConfigMap(s) from -=== RUN TestRemoveConfigMap/fails_when_single_configmap_name_is_specified_and_doesn't_exist_in_the_specified_namespace,_and_neither_namespace_is_the_default_one -Error: no specified configmap(s) were found in the kustomization.yaml file +=== RUN TestRemoveConfigMap/fails_when_too_many_configmap_names_are_specified +Error: too many arguments: [test1 test2]; to provide multiple configmaps to remove, please separate configmap names by commas Usage: configmap NAME [,NAME] [--namespace=namespace-name] [flags] @@ -1951,8 +1989,11 @@ -h, --help help for configmap --namespace string Namespace to remove ConfigMap(s) from -=== RUN TestRemoveConfigMap/fails_when_no_configmap_name_is_specified -Error: at least one configmap name must be specified +=== RUN TestRemoveConfigMap/removes_a_configmap_successfully_when_single_configmap_name_is_specified,_it_exists,_but_is_not_the_only_configmap_present +=== RUN TestRemoveConfigMap/handles_empty_namespace_as_default_in_the_args +=== RUN TestRemoveConfigMap/handles_empty_namespace_as_default_in_the_kustomization_file +=== RUN TestRemoveConfigMap/fails_when_single_configmap_name_is_specified_and_doesn't_exist_in_the_specified_namespace,_and_neither_namespace_is_the_default_one +Error: no specified configmap(s) were found in the kustomization.yaml file Usage: configmap NAME [,NAME] [--namespace=namespace-name] [flags] @@ -1969,28 +2010,23 @@ -h, --help help for configmap --namespace string Namespace to remove ConfigMap(s) from -=== RUN TestRemoveConfigMap/removes_multiple_configmaps_successfully -=== RUN TestRemoveConfigMap/removes_a_configmap_successfully_when_single_configmap_name_is_specified,_it_exists,_but_is_not_the_only_configmap_present -=== RUN TestRemoveConfigMap/succeeds_when_one_configmap_name_exists_and_one_doesn't_exist -2025/03/18 17:12:00 configmap foo doesn't exist in kustomization file -=== RUN TestRemoveConfigMap/succeeds_when_one_configmap_name_exists_in_the_specified_namespace ---- PASS: TestRemoveConfigMap (0.11s) - --- PASS: TestRemoveConfigMap/handles_empty_namespace_as_default_in_the_args (0.01s) - --- PASS: TestRemoveConfigMap/handles_empty_namespace_as_default_in_the_kustomization_file (0.00s) - --- PASS: TestRemoveConfigMap/fails_when_single_configmap_name_is_specified_and_doesn't_exist_in_the_specified_namespace (0.01s) - --- PASS: TestRemoveConfigMap/fails_when_too_many_configmap_names_are_specified (0.00s) - --- PASS: TestRemoveConfigMap/removes_a_configmap_successfully (0.00s) - --- PASS: TestRemoveConfigMap/fails_when_single_configmap_name_is_specified_and_doesn't_exist (0.01s) - --- PASS: TestRemoveConfigMap/fails_when_single_configmap_name_is_specified_and_doesn't_exist_in_the_specified_namespace,_and_neither_namespace_is_the_default_one (0.01s) +--- PASS: TestRemoveConfigMap (0.15s) --- PASS: TestRemoveConfigMap/fails_when_no_configmap_name_is_specified (0.00s) + --- PASS: TestRemoveConfigMap/removes_a_configmap_successfully (0.01s) --- PASS: TestRemoveConfigMap/removes_multiple_configmaps_successfully (0.01s) - --- PASS: TestRemoveConfigMap/removes_a_configmap_successfully_when_single_configmap_name_is_specified,_it_exists,_but_is_not_the_only_configmap_present (0.01s) - --- PASS: TestRemoveConfigMap/succeeds_when_one_configmap_name_exists_and_one_doesn't_exist (0.03s) - --- PASS: TestRemoveConfigMap/succeeds_when_one_configmap_name_exists_in_the_specified_namespace (0.02s) + --- PASS: TestRemoveConfigMap/succeeds_when_one_configmap_name_exists_and_one_doesn't_exist (0.00s) + --- PASS: TestRemoveConfigMap/succeeds_when_one_configmap_name_exists_in_the_specified_namespace (0.01s) + --- PASS: TestRemoveConfigMap/fails_when_single_configmap_name_is_specified_and_doesn't_exist (0.01s) + --- PASS: TestRemoveConfigMap/fails_when_single_configmap_name_is_specified_and_doesn't_exist_in_the_specified_namespace (0.03s) + --- PASS: TestRemoveConfigMap/fails_when_too_many_configmap_names_are_specified (0.00s) + --- PASS: TestRemoveConfigMap/removes_a_configmap_successfully_when_single_configmap_name_is_specified,_it_exists,_but_is_not_the_only_configmap_present (0.02s) + --- PASS: TestRemoveConfigMap/handles_empty_namespace_as_default_in_the_args (0.02s) + --- PASS: TestRemoveConfigMap/handles_empty_namespace_as_default_in_the_kustomization_file (0.01s) + --- PASS: TestRemoveConfigMap/fails_when_single_configmap_name_is_specified_and_doesn't_exist_in_the_specified_namespace,_and_neither_namespace_is_the_default_one (0.02s) === RUN TestRemoveAnnotation --- PASS: TestRemoveAnnotation (0.00s) === RUN TestRemoveAnnotationIgnore ---- PASS: TestRemoveAnnotationIgnore (0.00s) +--- PASS: TestRemoveAnnotationIgnore (0.01s) === RUN TestRemoveAnnotationNoDefinition --- PASS: TestRemoveAnnotationNoDefinition (0.00s) === RUN TestRemoveAnnotationNoDefinitionIgnore @@ -2012,13 +2048,13 @@ === RUN TestRemoveAnnotationInvalidFormat --- PASS: TestRemoveAnnotationInvalidFormat (0.00s) === RUN TestRemoveAnnotationMultipleArgs ---- PASS: TestRemoveAnnotationMultipleArgs (0.01s) +--- PASS: TestRemoveAnnotationMultipleArgs (0.02s) === RUN TestRemoveAnnotationMultipleArgsInvalidFormat --- PASS: TestRemoveAnnotationMultipleArgsInvalidFormat (0.00s) === RUN TestRemoveLabel ---- PASS: TestRemoveLabel (0.00s) +--- PASS: TestRemoveLabel (0.01s) === RUN TestRemoveLabelIgnore ---- PASS: TestRemoveLabelIgnore (0.01s) +--- PASS: TestRemoveLabelIgnore (0.02s) === RUN TestRemoveLabelNoDefinition --- PASS: TestRemoveLabelNoDefinition (0.00s) === RUN TestRemoveLabelNoDefinitionIgnore @@ -2044,36 +2080,35 @@ === RUN TestRemoveLabelMultipleArgsInvalidFormat --- PASS: TestRemoveLabelMultipleArgsInvalidFormat (0.00s) === RUN TestRemovePatch ---- PASS: TestRemovePatch (0.04s) +--- PASS: TestRemovePatch (0.12s) === RUN TestRemovePatch2 ---- PASS: TestRemovePatch2 (0.06s) +--- PASS: TestRemovePatch2 (0.14s) === RUN TestRemovePatchNotDefinedInKustomization -2025/03/18 17:12:00 patch doesn't exist in kustomization file ---- PASS: TestRemovePatchNotDefinedInKustomization (0.07s) +2025/03/19 19:26:20 patch doesn't exist in kustomization file +--- PASS: TestRemovePatchNotDefinedInKustomization (0.13s) === RUN TestRemovePatchNotExist -2025/03/18 17:12:00 patch doesn't exist in kustomization file ---- PASS: TestRemovePatchNotExist (0.07s) +2025/03/19 19:26:20 patch doesn't exist in kustomization file +--- PASS: TestRemovePatchNotExist (0.12s) === RUN TestRemovePatchNoArgs -2025/03/18 17:12:00 patch doesn't exist in kustomization file ---- PASS: TestRemovePatchNoArgs (0.04s) +2025/03/19 19:26:20 patch doesn't exist in kustomization file +--- PASS: TestRemovePatchNoArgs (0.07s) === RUN TestRemoveResources === RUN TestRemoveResources/remove_resources === RUN TestRemoveResources/remove_resource_with_pattern === RUN TestRemoveResources/nothing_found_to_remove === RUN TestRemoveResources/no_arguments === RUN TestRemoveResources/remove_with_multiple_pattern_arguments ---- PASS: TestRemoveResources (0.02s) - --- PASS: TestRemoveResources/remove_resources (0.00s) - --- PASS: TestRemoveResources/remove_resource_with_pattern (0.00s) +--- PASS: TestRemoveResources (0.03s) + --- PASS: TestRemoveResources/remove_resources (0.01s) + --- PASS: TestRemoveResources/remove_resource_with_pattern (0.01s) --- PASS: TestRemoveResources/nothing_found_to_remove (0.00s) --- PASS: TestRemoveResources/no_arguments (0.00s) - --- PASS: TestRemoveResources/remove_with_multiple_pattern_arguments (0.00s) + --- PASS: TestRemoveResources/remove_with_multiple_pattern_arguments (0.01s) === RUN TestRemoveSecret +=== RUN TestRemoveSecret/removes_a_secret_successfully === RUN TestRemoveSecret/removes_multiple_secrets_successfully -=== RUN TestRemoveSecret/removes_a_secret_successfully_when_single_secret_name_is_specified,_it_exists,_but_is_not_the_only_secret_present -=== RUN TestRemoveSecret/succeeds_when_one_secret_name_exists_and_one_doesn't_exist -2025/03/18 17:12:00 secret test-secret-2 doesn't exist in kustomization file -=== RUN TestRemoveSecret/handles_empty_namespace_as_default_in_the_args +=== RUN TestRemoveSecret/succeeds_when_one_secret_name_exists_in_the_specified_namespace +=== RUN TestRemoveSecret/handles_empty_namespace_as_default_in_the_kustomization_file === RUN TestRemoveSecret/fails_when_single_secret_name_is_specified_and_doesn't_exist_in_the_specified_namespace Error: no specified secret(s) were found in the kustomization.yaml file Usage: @@ -2092,10 +2127,7 @@ -h, --help help for secret --namespace string Namespace to remove Secret(s) from -=== RUN TestRemoveSecret/removes_a_secret_successfully -=== RUN TestRemoveSecret/succeeds_when_one_secret_name_exists_in_the_specified_namespace -=== RUN TestRemoveSecret/handles_empty_namespace_as_default_in_the_kustomization_file -=== RUN TestRemoveSecret/fails_when_single_secret_name_is_specified_and_doesn't_exist +=== RUN TestRemoveSecret/fails_when_single_secret_name_is_specified_and_doesn't_exist_in_the_specified_namespace,_and_neither_namespace_is_the_default_one Error: no specified secret(s) were found in the kustomization.yaml file Usage: secret NAME [,NAME] [--namespace=namespace-name] [flags] @@ -2113,8 +2145,8 @@ -h, --help help for secret --namespace string Namespace to remove Secret(s) from -=== RUN TestRemoveSecret/fails_when_single_secret_name_is_specified_and_doesn't_exist_in_the_specified_namespace,_and_neither_namespace_is_the_default_one -Error: no specified secret(s) were found in the kustomization.yaml file +=== RUN TestRemoveSecret/fails_when_too_many_secret_names_are_specified +Error: too many arguments: [test1 test2]; to provide multiple secrets to remove, please separate secret names by commas Usage: secret NAME [,NAME] [--namespace=namespace-name] [flags] @@ -2131,8 +2163,12 @@ -h, --help help for secret --namespace string Namespace to remove Secret(s) from -=== RUN TestRemoveSecret/fails_when_no_secret_name_is_specified -Error: at least one secret name must be specified +=== RUN TestRemoveSecret/removes_a_secret_successfully_when_single_secret_name_is_specified,_it_exists,_but_is_not_the_only_secret_present +=== RUN TestRemoveSecret/succeeds_when_one_secret_name_exists_and_one_doesn't_exist +2025/03/19 19:26:21 secret test-secret-2 doesn't exist in kustomization file +=== RUN TestRemoveSecret/handles_empty_namespace_as_default_in_the_args +=== RUN TestRemoveSecret/fails_when_single_secret_name_is_specified_and_doesn't_exist +Error: no specified secret(s) were found in the kustomization.yaml file Usage: secret NAME [,NAME] [--namespace=namespace-name] [flags] @@ -2149,8 +2185,8 @@ -h, --help help for secret --namespace string Namespace to remove Secret(s) from -=== RUN TestRemoveSecret/fails_when_too_many_secret_names_are_specified -Error: too many arguments: [test1 test2]; to provide multiple secrets to remove, please separate secret names by commas +=== RUN TestRemoveSecret/fails_when_no_secret_name_is_specified +Error: at least one secret name must be specified Usage: secret NAME [,NAME] [--namespace=namespace-name] [flags] @@ -2167,35 +2203,35 @@ -h, --help help for secret --namespace string Namespace to remove Secret(s) from ---- PASS: TestRemoveSecret (0.08s) - --- PASS: TestRemoveSecret/removes_multiple_secrets_successfully (0.01s) - --- PASS: TestRemoveSecret/removes_a_secret_successfully_when_single_secret_name_is_specified,_it_exists,_but_is_not_the_only_secret_present (0.01s) - --- PASS: TestRemoveSecret/succeeds_when_one_secret_name_exists_and_one_doesn't_exist (0.00s) - --- PASS: TestRemoveSecret/handles_empty_namespace_as_default_in_the_args (0.01s) - --- PASS: TestRemoveSecret/fails_when_single_secret_name_is_specified_and_doesn't_exist_in_the_specified_namespace (0.01s) - --- PASS: TestRemoveSecret/removes_a_secret_successfully (0.01s) +--- PASS: TestRemoveSecret (0.22s) + --- PASS: TestRemoveSecret/removes_a_secret_successfully (0.03s) + --- PASS: TestRemoveSecret/removes_multiple_secrets_successfully (0.02s) --- PASS: TestRemoveSecret/succeeds_when_one_secret_name_exists_in_the_specified_namespace (0.01s) - --- PASS: TestRemoveSecret/handles_empty_namespace_as_default_in_the_kustomization_file (0.00s) - --- PASS: TestRemoveSecret/fails_when_single_secret_name_is_specified_and_doesn't_exist (0.01s) - --- PASS: TestRemoveSecret/fails_when_single_secret_name_is_specified_and_doesn't_exist_in_the_specified_namespace,_and_neither_namespace_is_the_default_one (0.01s) - --- PASS: TestRemoveSecret/fails_when_no_secret_name_is_specified (0.00s) + --- PASS: TestRemoveSecret/handles_empty_namespace_as_default_in_the_kustomization_file (0.01s) + --- PASS: TestRemoveSecret/fails_when_single_secret_name_is_specified_and_doesn't_exist_in_the_specified_namespace (0.03s) + --- PASS: TestRemoveSecret/fails_when_single_secret_name_is_specified_and_doesn't_exist_in_the_specified_namespace,_and_neither_namespace_is_the_default_one (0.02s) --- PASS: TestRemoveSecret/fails_when_too_many_secret_names_are_specified (0.00s) + --- PASS: TestRemoveSecret/removes_a_secret_successfully_when_single_secret_name_is_specified,_it_exists,_but_is_not_the_only_secret_present (0.03s) + --- PASS: TestRemoveSecret/succeeds_when_one_secret_name_exists_and_one_doesn't_exist (0.01s) + --- PASS: TestRemoveSecret/handles_empty_namespace_as_default_in_the_args (0.03s) + --- PASS: TestRemoveSecret/fails_when_single_secret_name_is_specified_and_doesn't_exist (0.01s) + --- PASS: TestRemoveSecret/fails_when_no_secret_name_is_specified (0.01s) === RUN TestRemoveTransformer === RUN TestRemoveTransformer/remove_transformers === RUN TestRemoveTransformer/remove_transformer_with_pattern === RUN TestRemoveTransformer/nothing_found_to_remove === RUN TestRemoveTransformer/no_arguments === RUN TestRemoveTransformer/remove_with_multiple_pattern_arguments ---- PASS: TestRemoveTransformer (0.02s) - --- PASS: TestRemoveTransformer/remove_transformers (0.00s) - --- PASS: TestRemoveTransformer/remove_transformer_with_pattern (0.00s) - --- PASS: TestRemoveTransformer/nothing_found_to_remove (0.00s) +--- PASS: TestRemoveTransformer (0.05s) + --- PASS: TestRemoveTransformer/remove_transformers (0.01s) + --- PASS: TestRemoveTransformer/remove_transformer_with_pattern (0.01s) + --- PASS: TestRemoveTransformer/nothing_found_to_remove (0.01s) --- PASS: TestRemoveTransformer/no_arguments (0.00s) --- PASS: TestRemoveTransformer/remove_with_multiple_pattern_arguments (0.01s) PASS -ok sigs.k8s.io/kustomize/kustomize/v5/commands/edit/remove 1.597s +ok sigs.k8s.io/kustomize/kustomize/v5/commands/edit/remove 1.185s === RUN TestSetNamePrefixHappyPath ---- PASS: TestSetNamePrefixHappyPath (0.01s) +--- PASS: TestSetNamePrefixHappyPath (0.03s) === RUN TestSetNamePrefixNoArgs Error: must specify exactly one prefix value Usage: @@ -2214,7 +2250,7 @@ --- PASS: TestSetNamePrefixNoArgs (0.00s) === RUN TestSetNameSuffixHappyPath ---- PASS: TestSetNameSuffixHappyPath (0.01s) +--- PASS: TestSetNameSuffixHappyPath (0.03s) === RUN TestSetNameSuffixNoArgs Error: must specify exactly one suffix value Usage: @@ -2233,7 +2269,7 @@ --- PASS: TestSetNameSuffixNoArgs (0.00s) === RUN TestRunSetAnnotation ---- PASS: TestRunSetAnnotation (0.01s) +--- PASS: TestRunSetAnnotation (0.03s) === RUN TestSetAnnotationNoArgs Error: must specify annotation Usage: @@ -2250,7 +2286,7 @@ === RUN TestSetAnnotationInvalidFormat --- PASS: TestSetAnnotationInvalidFormat (0.00s) === RUN TestSetAnnotationPrefixColonName ---- PASS: TestSetAnnotationPrefixColonName (0.01s) +--- PASS: TestSetAnnotationPrefixColonName (0.05s) === RUN TestSetAnnotation253Prefix63Name --- PASS: TestSetAnnotation253Prefix63Name (0.01s) === RUN TestSetAnnotation254Prefix62Name @@ -2260,15 +2296,15 @@ === RUN TestSetAnnotationNoKey --- PASS: TestSetAnnotationNoKey (0.00s) === RUN TestSetAnnotationTooManyColons ---- PASS: TestSetAnnotationTooManyColons (0.01s) +--- PASS: TestSetAnnotationTooManyColons (0.02s) === RUN TestSetAnnotationNoValue --- PASS: TestSetAnnotationNoValue (0.00s) === RUN TestSetAnnotationMultipleArgs ---- PASS: TestSetAnnotationMultipleArgs (0.01s) +--- PASS: TestSetAnnotationMultipleArgs (0.02s) === RUN TestSetAnnotationExisting ---- PASS: TestSetAnnotationExisting (0.01s) +--- PASS: TestSetAnnotationExisting (0.05s) === RUN TestSetBuildMetadata ---- PASS: TestSetBuildMetadata (0.01s) +--- PASS: TestSetBuildMetadata (0.02s) === RUN TestErrorCasesEditSetConfigMap === RUN TestErrorCasesEditSetConfigMap/fails_to_set_a_value_because_key_doesn't_exist Error: failed to create configmap: failed to update literal sources: key 'test-key' not found in resource @@ -2385,12 +2421,12 @@ --namespace string Current namespace of the target ConfigMap --new-namespace string New namespace value for the target ConfigMap ---- PASS: TestErrorCasesEditSetConfigMap (0.02s) - --- PASS: TestErrorCasesEditSetConfigMap/fails_to_set_a_value_because_key_doesn't_exist (0.01s) +--- PASS: TestErrorCasesEditSetConfigMap (0.08s) + --- PASS: TestErrorCasesEditSetConfigMap/fails_to_set_a_value_because_key_doesn't_exist (0.04s) --- PASS: TestErrorCasesEditSetConfigMap/fails_to_set_a_value_because_configmap_doesn't_exist (0.01s) - --- PASS: TestErrorCasesEditSetConfigMap/fails_validation_because_no_attributes_are_being_changed (0.00s) + --- PASS: TestErrorCasesEditSetConfigMap/fails_validation_because_no_attributes_are_being_changed (0.01s) --- PASS: TestErrorCasesEditSetConfigMap/fails_when_a_literal_source_doesn't_have_a_key (0.01s) - --- PASS: TestErrorCasesEditSetConfigMap/fails_when_the_configMapGenerator_field_has_no_items (0.00s) + --- PASS: TestErrorCasesEditSetConfigMap/fails_when_the_configMapGenerator_field_has_no_items (0.01s) === RUN TestSuccessCasesEditSetConfigMap === RUN TestSuccessCasesEditSetConfigMap/set_a_value_successfully === RUN TestSuccessCasesEditSetConfigMap/successfully_update_namespace_of_target_configmap @@ -2398,13 +2434,13 @@ === RUN TestSuccessCasesEditSetConfigMap/successfully_update_namespace_of_target_configmap_with_default_namespace_and_no_namespace_specified_in_command === RUN TestSuccessCasesEditSetConfigMap/successfully_update_literal_source_of_target_configmap_with_empty_namespace_in_file_and_namespace_specified_in_command === RUN TestSuccessCasesEditSetConfigMap/successfully_update_namespace_of_target_configmap_with_default_namespace_and_no_namespace_specified_in_command#01 ---- PASS: TestSuccessCasesEditSetConfigMap (0.09s) - --- PASS: TestSuccessCasesEditSetConfigMap/set_a_value_successfully (0.02s) - --- PASS: TestSuccessCasesEditSetConfigMap/successfully_update_namespace_of_target_configmap (0.02s) - --- PASS: TestSuccessCasesEditSetConfigMap/successfully_update_namespace_of_target_configmap_with_empty_namespace_in_file_and_namespace_specified_in_command (0.01s) - --- PASS: TestSuccessCasesEditSetConfigMap/successfully_update_namespace_of_target_configmap_with_default_namespace_and_no_namespace_specified_in_command (0.02s) - --- PASS: TestSuccessCasesEditSetConfigMap/successfully_update_literal_source_of_target_configmap_with_empty_namespace_in_file_and_namespace_specified_in_command (0.01s) - --- PASS: TestSuccessCasesEditSetConfigMap/successfully_update_namespace_of_target_configmap_with_default_namespace_and_no_namespace_specified_in_command#01 (0.01s) +--- PASS: TestSuccessCasesEditSetConfigMap (0.30s) + --- PASS: TestSuccessCasesEditSetConfigMap/set_a_value_successfully (0.07s) + --- PASS: TestSuccessCasesEditSetConfigMap/successfully_update_namespace_of_target_configmap (0.04s) + --- PASS: TestSuccessCasesEditSetConfigMap/successfully_update_namespace_of_target_configmap_with_empty_namespace_in_file_and_namespace_specified_in_command (0.03s) + --- PASS: TestSuccessCasesEditSetConfigMap/successfully_update_namespace_of_target_configmap_with_default_namespace_and_no_namespace_specified_in_command (0.07s) + --- PASS: TestSuccessCasesEditSetConfigMap/successfully_update_literal_source_of_target_configmap_with_empty_namespace_in_file_and_namespace_specified_in_command (0.03s) + --- PASS: TestSuccessCasesEditSetConfigMap/successfully_update_namespace_of_target_configmap_with_default_namespace_and_no_namespace_specified_in_command#01 (0.05s) === RUN TestSetImage === RUN TestSetImage/[image1=my-image1:my-tag] === RUN TestSetImage/[image1=my-image1:1234] @@ -2431,34 +2467,34 @@ === RUN TestSetImage/keep_new_name_and_update_digest[image2=*@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] === RUN TestSetImage/keep_new_name,_remove_tag,_and_set_digest[image2=*@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] === RUN TestSetImage/update_new_name_and_keep_the_digest[image2=my-image2@*] ---- PASS: TestSetImage (0.19s) - --- PASS: TestSetImage/[image1=my-image1:my-tag] (0.01s) - --- PASS: TestSetImage/[image1=my-image1:1234] (0.01s) - --- PASS: TestSetImage/[image1=my-image1:3.2e2] (0.01s) - --- PASS: TestSetImage/[image1=my-image1@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] (0.01s) - --- PASS: TestSetImage/[image1:my-tag] (0.01s) - --- PASS: TestSetImage/[image1@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] (0.01s) - --- PASS: TestSetImage/[my-image1:my-tag@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] (0.01s) - --- PASS: TestSetImage/[image1=my-image1:my-tag@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] (0.01s) - --- PASS: TestSetImage/=[ngnix=localhost:5000/my-project/ngnix] (0.01s) - --- PASS: TestSetImage/[ngnix=localhost:5000/my-project/ngnix:dev-01] (0.01s) - --- PASS: TestSetImage/override_file[image1=foo.bar.foo:8800/foo/image1:foo-bar] (0.01s) - --- PASS: TestSetImage/override_file_with_patch[image1=foo.bar.foo:8800/foo/image1:foo-bar] (0.02s) - --- PASS: TestSetImage/override_new_tag_and_new_name_with_just_a_new_tag[image1:v1] (0.00s) - --- PASS: TestSetImage/multiple_args_with_multiple_overrides[image1=foo.bar.foo:8800/foo/image1:foo-bar_image2=my-image2@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3_image3:my-tag] (0.01s) +--- PASS: TestSetImage (0.47s) + --- PASS: TestSetImage/[image1=my-image1:my-tag] (0.02s) + --- PASS: TestSetImage/[image1=my-image1:1234] (0.02s) + --- PASS: TestSetImage/[image1=my-image1:3.2e2] (0.04s) + --- PASS: TestSetImage/[image1=my-image1@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] (0.02s) + --- PASS: TestSetImage/[image1:my-tag] (0.02s) + --- PASS: TestSetImage/[image1@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] (0.03s) + --- PASS: TestSetImage/[my-image1:my-tag@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] (0.02s) + --- PASS: TestSetImage/[image1=my-image1:my-tag@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] (0.02s) + --- PASS: TestSetImage/=[ngnix=localhost:5000/my-project/ngnix] (0.02s) + --- PASS: TestSetImage/[ngnix=localhost:5000/my-project/ngnix:dev-01] (0.03s) + --- PASS: TestSetImage/override_file[image1=foo.bar.foo:8800/foo/image1:foo-bar] (0.02s) + --- PASS: TestSetImage/override_file_with_patch[image1=foo.bar.foo:8800/foo/image1:foo-bar] (0.05s) + --- PASS: TestSetImage/override_new_tag_and_new_name_with_just_a_new_tag[image1:v1] (0.01s) + --- PASS: TestSetImage/multiple_args_with_multiple_overrides[image1=foo.bar.foo:8800/foo/image1:foo-bar_image2=my-image2@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3_image3:my-tag] (0.02s) --- PASS: TestSetImage/error:_no_args[] (0.00s) --- PASS: TestSetImage/error:_invalid_args[bad_args] (0.00s) - --- PASS: TestSetImage/override_new_tag_but_keep_new_name[image1=*:v1] (0.00s) + --- PASS: TestSetImage/override_new_tag_but_keep_new_name[image1=*:v1] (0.01s) --- PASS: TestSetImage/override_new_name_but_keep_new_tag[image1=my-image1:*] (0.01s) - --- PASS: TestSetImage/keep_new_name_and_new_tag_(rare_case)[image1=*:*] (0.01s) + --- PASS: TestSetImage/keep_new_name_and_new_tag_(rare_case)[image1=*:*] (0.00s) --- PASS: TestSetImage/do_not_set_asterisk_as_new_name_for_existing_image[image1=*:v1] (0.00s) - --- PASS: TestSetImage/do_not_set_asterisk_as_new_name[image1=*:v1] (0.01s) + --- PASS: TestSetImage/do_not_set_asterisk_as_new_name[image1=*:v1] (0.02s) --- PASS: TestSetImage/do_not_set_asterisk_as_new_tag[image1=my-image1:*] (0.02s) - --- PASS: TestSetImage/keep_new_name_and_update_digest[image2=*@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] (0.00s) - --- PASS: TestSetImage/keep_new_name,_remove_tag,_and_set_digest[image2=*@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] (0.00s) - --- PASS: TestSetImage/update_new_name_and_keep_the_digest[image2=my-image2@*] (0.00s) + --- PASS: TestSetImage/keep_new_name_and_update_digest[image2=*@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] (0.02s) + --- PASS: TestSetImage/keep_new_name,_remove_tag,_and_set_digest[image2=*@sha256:24a0c4b4a4c0eb97a1aabb8e29f18e917d05abfe1b7a7c07857230879ce7d3d3] (0.01s) + --- PASS: TestSetImage/update_new_name_and_keep_the_digest[image2=my-image2@*] (0.01s) === RUN TestRunSetLabel ---- PASS: TestRunSetLabel (0.01s) +--- PASS: TestRunSetLabel (0.02s) === RUN TestSetLabelNoArgs Error: must specify label Usage: @@ -2471,23 +2507,23 @@ Flags: -h, --help help for label ---- PASS: TestSetLabelNoArgs (0.00s) +--- PASS: TestSetLabelNoArgs (0.01s) === RUN TestSetLabelInvalidFormat --- PASS: TestSetLabelInvalidFormat (0.00s) === RUN TestSetLabelNoKey --- PASS: TestSetLabelNoKey (0.00s) === RUN TestSetLabelTooManyColons ---- PASS: TestSetLabelTooManyColons (0.01s) +--- PASS: TestSetLabelTooManyColons (0.02s) === RUN TestSetLabelNoValue ---- PASS: TestSetLabelNoValue (0.01s) +--- PASS: TestSetLabelNoValue (0.02s) === RUN TestSetLabelMultipleArgs ---- PASS: TestSetLabelMultipleArgs (0.01s) +--- PASS: TestSetLabelMultipleArgs (0.02s) === RUN TestSetLabelExisting ---- PASS: TestSetLabelExisting (0.02s) +--- PASS: TestSetLabelExisting (0.05s) === RUN TestSetNamespaceHappyPath ---- PASS: TestSetNamespaceHappyPath (0.01s) +--- PASS: TestSetNamespaceHappyPath (0.02s) === RUN TestSetNamespaceOverride ---- PASS: TestSetNamespaceOverride (0.01s) +--- PASS: TestSetNamespaceOverride (0.04s) === RUN TestSetNamespaceNoArgs Error: must specify exactly one namespace value Usage: @@ -2516,7 +2552,7 @@ === RUN TestSetReplicas/error:_invalid_args_--_non-integer_count[app=bad] --- PASS: TestSetReplicas (0.03s) --- PASS: TestSetReplicas/[app=5] (0.02s) - --- PASS: TestSetReplicas/override_file[app=5] (0.00s) + --- PASS: TestSetReplicas/override_file[app=5] (0.01s) --- PASS: TestSetReplicas/multiple_args_with_multiple_overrides[app=100_other-app=200] (0.00s) --- PASS: TestSetReplicas/error:_no_args[] (0.00s) --- PASS: TestSetReplicas/error:_invalid_args_--_no_=[bad_args] (0.00s) @@ -2637,8 +2673,8 @@ --namespace string Current namespace of the target Secret --new-namespace string New namespace value for the target Secret ---- PASS: TestFailureCasesEditSetSecret (0.03s) - --- PASS: TestFailureCasesEditSetSecret/fails_to_set_a_value_because_key_doesn't_exist (0.01s) +--- PASS: TestFailureCasesEditSetSecret (0.04s) + --- PASS: TestFailureCasesEditSetSecret/fails_to_set_a_value_because_key_doesn't_exist (0.02s) --- PASS: TestFailureCasesEditSetSecret/fails_to_set_a_value_because_secret_doesn't_exist (0.01s) --- PASS: TestFailureCasesEditSetSecret/fails_validation_because_no_attributes_are_being_changed (0.00s) --- PASS: TestFailureCasesEditSetSecret/fails_when_a_literal_source_doesn't_have_a_key (0.01s) @@ -2650,24 +2686,24 @@ === RUN TestSuccessCasesEditSetSecret/successfully_update_namespace_of_target_secret_with_default_namespace_and_no_namespace_specified_in_command === RUN TestSuccessCasesEditSetSecret/successfully_update_literal_source_of_target_secret_with_empty_namespace_in_file_and_namespace_specified_in_command === RUN TestSuccessCasesEditSetSecret/successfully_update_namespace_of_target_secret_with_default_namespace_and_no_namespace_specified_in_command#01 ---- PASS: TestSuccessCasesEditSetSecret (0.09s) - --- PASS: TestSuccessCasesEditSetSecret/set_a_value_successfully (0.02s) - --- PASS: TestSuccessCasesEditSetSecret/successfully_update_namespace_of_target_secret (0.01s) - --- PASS: TestSuccessCasesEditSetSecret/successfully_update_namespace_of_target_secret_with_empty_namespace_in_file_and_namespace_specified_in_command (0.01s) +--- PASS: TestSuccessCasesEditSetSecret (0.13s) + --- PASS: TestSuccessCasesEditSetSecret/set_a_value_successfully (0.03s) + --- PASS: TestSuccessCasesEditSetSecret/successfully_update_namespace_of_target_secret (0.02s) + --- PASS: TestSuccessCasesEditSetSecret/successfully_update_namespace_of_target_secret_with_empty_namespace_in_file_and_namespace_specified_in_command (0.02s) --- PASS: TestSuccessCasesEditSetSecret/successfully_update_namespace_of_target_secret_with_default_namespace_and_no_namespace_specified_in_command (0.02s) --- PASS: TestSuccessCasesEditSetSecret/successfully_update_literal_source_of_target_secret_with_empty_namespace_in_file_and_namespace_specified_in_command (0.01s) --- PASS: TestSuccessCasesEditSetSecret/successfully_update_namespace_of_target_secret_with_default_namespace_and_no_namespace_specified_in_command#01 (0.02s) PASS -ok sigs.k8s.io/kustomize/kustomize/v5/commands/edit/set 2.021s +ok sigs.k8s.io/kustomize/kustomize/v5/commands/edit/set 1.591s ? sigs.k8s.io/kustomize/kustomize/v5/commands/internal/configmapsecret [no test files] === RUN TestFieldOrder --- PASS: TestFieldOrder (0.00s) === RUN TestWriteAndRead ---- PASS: TestWriteAndRead (0.00s) +--- PASS: TestWriteAndRead (0.01s) === RUN TestReadAndWrite ---- PASS: TestReadAndWrite (0.11s) +--- PASS: TestReadAndWrite (0.20s) === RUN TestReadAndWriteDummy ---- PASS: TestReadAndWriteDummy (0.13s) +--- PASS: TestReadAndWriteDummy (0.20s) === RUN TestGetPath --- PASS: TestGetPath (0.00s) === RUN TestNewNotExist @@ -2675,17 +2711,17 @@ === RUN TestAllKustomizationFileNames --- PASS: TestAllKustomizationFileNames (0.00s) === RUN TestPreserveComments ---- PASS: TestPreserveComments (0.05s) +--- PASS: TestPreserveComments (0.06s) === RUN TestPreserveCommentsWithAdjust --- PASS: TestPreserveCommentsWithAdjust (0.04s) === RUN TestFixPatchesFieldForExtendedPatch ---- PASS: TestFixPatchesFieldForExtendedPatch (0.03s) +--- PASS: TestFixPatchesFieldForExtendedPatch (0.04s) === RUN TestCommentsWithDocumentSeperatorAtBeginning ---- PASS: TestCommentsWithDocumentSeperatorAtBeginning (0.00s) +--- PASS: TestCommentsWithDocumentSeperatorAtBeginning (0.01s) === RUN TestUnknownFieldInKustomization --- PASS: TestUnknownFieldInKustomization (0.00s) PASS -ok sigs.k8s.io/kustomize/kustomize/v5/commands/internal/kustfile 0.410s +ok sigs.k8s.io/kustomize/kustomize/v5/commands/internal/kustfile 0.602s ? sigs.k8s.io/kustomize/kustomize/v5/commands/internal/testutils [no test files] === RUN TestValidateAdd === RUN TestValidateAdd/validateAdd_with_no_arguments @@ -2724,7 +2760,7 @@ === RUN TestExpandFileSourceWithKey --- PASS: TestExpandFileSourceWithKey (0.00s) === RUN TestExpandFileSourceWithKeyAndError -2025/03/18 17:12:52 dir/fa* has no match +2025/03/19 19:26:37 dir/fa* has no match --- PASS: TestExpandFileSourceWithKeyAndError (0.00s) === RUN TestUpdateLiteralSources === RUN TestUpdateLiteralSources/fails_when_key_doesn't_exist @@ -2763,29 +2799,29 @@ --- PASS: TestNamespaceEqual/fails_when_one_is_empty_and_other_is_different_from_default (0.00s) --- PASS: TestNamespaceEqual/fails_when_one_is_different_from_default_and_other_is_empty (0.00s) PASS -ok sigs.k8s.io/kustomize/kustomize/v5/commands/internal/util 0.041s +ok sigs.k8s.io/kustomize/kustomize/v5/commands/internal/util 0.059s === RUN TestScopeFlag -2025/03/18 17:12:58 VERIFICATION SUCCESS: `kustomize build` for /tmp/kustomize-350084307/target and /tmp/kustomize-350084307/dst are the same after localization. -2025/03/18 17:12:58 SUCCESS: localized "/tmp/kustomize-350084307/target" to directory /tmp/kustomize-350084307/dst ---- PASS: TestScopeFlag (0.03s) +2025/03/19 19:26:47 VERIFICATION SUCCESS: `kustomize build` for /tmp/kustomize-1255678769/target and /tmp/kustomize-1255678769/dst are the same after localization. +2025/03/19 19:26:47 SUCCESS: localized "/tmp/kustomize-1255678769/target" to directory /tmp/kustomize-1255678769/dst +--- PASS: TestScopeFlag (0.07s) === RUN TestNoVerifyFlag ---- PASS: TestNoVerifyFlag (0.00s) +--- PASS: TestNoVerifyFlag (0.01s) === RUN TestFailingBuildCmd ---- PASS: TestFailingBuildCmd (0.00s) +--- PASS: TestFailingBuildCmd (0.01s) === RUN TestOptionalArgs === RUN TestOptionalArgs/no_target === RUN TestOptionalArgs/no_dst ---- PASS: TestOptionalArgs (0.04s) - --- PASS: TestOptionalArgs/no_target (0.01s) - --- PASS: TestOptionalArgs/no_dst (0.02s) +--- PASS: TestOptionalArgs (0.07s) + --- PASS: TestOptionalArgs/no_target (0.03s) + --- PASS: TestOptionalArgs/no_dst (0.03s) === RUN TestOutput ---- PASS: TestOutput (0.01s) +--- PASS: TestOutput (0.02s) === RUN TestAlpha ---- PASS: TestAlpha (0.00s) +--- PASS: TestAlpha (0.01s) === RUN TestTooManyArgs --- PASS: TestTooManyArgs (0.00s) PASS -ok sigs.k8s.io/kustomize/kustomize/v5/commands/localize 0.135s +ok sigs.k8s.io/kustomize/kustomize/v5/commands/localize 0.249s ? sigs.k8s.io/kustomize/kustomize/v5/commands/openapi [no test files] ? sigs.k8s.io/kustomize/kustomize/v5/commands/openapi/fetch [no test files] ? sigs.k8s.io/kustomize/kustomize/v5/commands/openapi/info [no test files] @@ -2835,8 +2871,8 @@ dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang dpkg-deb: building package 'kustomize' in '../kustomize_5.5.0+ds-4_armhf.deb'. -dpkg-deb: building package 'kustomize-dbgsym' in '../kustomize-dbgsym_5.5.0+ds-4_armhf.deb'. dpkg-deb: building package 'golang-k8s-sigs-kustomize-dev' in '../golang-k8s-sigs-kustomize-dev_5.5.0+ds-4_all.deb'. +dpkg-deb: building package 'kustomize-dbgsym' in '../kustomize-dbgsym_5.5.0+ds-4_armhf.deb'. dpkg-genbuildinfo --build=binary -O../kustomize_5.5.0+ds-4_armhf.buildinfo dpkg-genchanges --build=binary -O../kustomize_5.5.0+ds-4_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2844,12 +2880,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/11161/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/11161/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/5205 and its subdirectories -I: Current time: Tue Mar 18 17:14:19 -12 2025 -I: pbuilder-time-stamp: 1742361259 +I: removing directory /srv/workspace/pbuilder/11161 and its subdirectories +I: Current time: Wed Mar 19 19:29:00 +14 2025 +I: pbuilder-time-stamp: 1742362140