Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/p/packer/packer_1.6.6+ds1-2+b3_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/packer-1.6.6+ds1-2+b3y82hds62/packer_1.6.6+ds1-2+b3_amd64.buildinfo Get source package info: packer=1.6.6+ds1-2 Source URL: http://snapshot.notset.fr/mr/package/packer/1.6.6+ds1-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11.1 base-passwd=3.5.51 bash=5.1-3 binutils=2.35.2-2 binutils-common=2.35.2-2 binutils-x86-64-linux-gnu=2.35.2-2 bsdextrautils=2.36.1-7 bsdutils=1:2.36.1-7 build-essential=12.9 bzip2=1.0.8-4 ca-certificates=20210119 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20210120+802ebd4-1 debconf=1.5.77 debhelper=13.3.4 debianutils=4.11.2 dh-autoreconf=20 dh-golang=1.51 dh-strip-nondeterminism=1.12.0-1 diffutils=1:3.7-5 dpkg=1.20.9 dpkg-dev=1.20.9 dwz=0.14-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 golang-1.15-go=1.15.9-6 golang-1.15-src=1.15.9-6 golang-any=2:1.15~1 golang-github-agext-levenshtein-dev=1.2.3-1 golang-github-alecthomas-units-dev=0.0~git20201120.1786d5e-1 golang-github-aliyun-aliyun-oss-go-sdk-dev=1.5.0+dfsg1-2 golang-github-apparentlymart-go-cidr-dev=1.1.0-1 golang-github-apparentlymart-go-textseg-dev=12.0.0-1 golang-github-approvals-go-approval-tests-dev=0.0~git20180620.6ae1ec6-1 golang-github-armon-circbuf-dev=0.0~git20190214.5111143-1 golang-github-armon-go-metrics-dev=0.3.4-1 golang-github-armon-go-radix-dev=1.0.0-1 golang-github-aws-aws-sdk-go-dev=1.36.33-1 golang-github-azure-azure-sdk-for-go-dev=43.3.0-1 golang-github-azure-go-autorest-dev=14.1.1-1 golang-github-azure-go-ntlmssp-dev=0.0~git20200615.6637195-1 golang-github-badgerodon-collections-dev=0.0~git20130729.604e922-3 golang-github-beorn7-perks-dev=1.0.1-1 golang-github-bgentry-go-netrc-dev=0.0~git20140422.9fd32a8-1 golang-github-bgentry-speakeasy-dev=0.1.0-2 golang-github-biogo-hts-dev=1.1.0+dfsg1-2 golang-github-bmatcuk-doublestar-dev=2.0.4-1 golang-github-cespare-xxhash-dev=2.1.1-1 golang-github-christrenkamp-goxpath-dev=1.0~alpha3+git20170922.c385f95-1 golang-github-chzyer-readline-dev=1.4.39.g2972be2-1 golang-github-circonus-labs-circonus-gometrics-dev=2.3.1-3 golang-github-circonus-labs-circonusllhist-dev=0.0~git20191022.ec08cde-1 golang-github-creack-pty-dev=1.1.11-1 golang-github-datadog-datadog-go-dev=2.1.0-3 golang-github-davecgh-go-spew-dev=1.1.1-2 golang-github-dgrijalva-jwt-go-dev=3.2.0-3 golang-github-digitalocean-go-qemu-dev=0.0~git20200529.1b453d0-2 golang-github-digitalocean-godo-dev=1.37.0-1 golang-github-dimchansky-utfbom-dev=1.1.1-1 golang-github-dylanmei-iso8601-dev=0.1.0-6 golang-github-dylanmei-winrmtest-dev=0.0~git20151226.0256178-4 golang-github-fatih-color-dev=1.7.0-1 golang-github-go-ini-ini-dev=1.32.0-2.1 golang-github-go-kit-kit-dev=0.6.0-3 golang-github-go-logfmt-logfmt-dev=0.5.0-2 golang-github-go-stack-stack-dev=1.8.0-1 golang-github-gobwas-glob-dev=0.2.3+git20180208.19c076c-2 golang-github-gofrs-flock-dev=0.8.0-1 golang-github-gofrs-uuid-dev=3.2.0-2 golang-github-golang-groupcache-dev=0.0~git20200121.8c9f03a-1 golang-github-golang-mock-dev=1.3.1-2 golang-github-golang-snappy-dev=0.0.2-2 golang-github-google-btree-dev=1.0.0-1 golang-github-google-go-cmp-dev=0.5.4-1 golang-github-google-go-querystring-dev=1.0.0-1 golang-github-google-martian-dev=2.1.0+git20181219.d0b5ad3-3 golang-github-google-pprof-dev=0.0~git20200905.acf8798-2 golang-github-google-shlex-dev=0.0~git20191202.e7afc7f-1 golang-github-google-uuid-dev=1.2.0-1 golang-github-googleapis-gax-go-dev=2.0.5-1 golang-github-gophercloud-gophercloud-dev=0.12.0-1 golang-github-gophercloud-utils-dev=0.0~git20200508.b0167b9-2 golang-github-hashicorp-errwrap-dev=1.1.0-1 golang-github-hashicorp-go-checkpoint-dev=0.5.0-1 golang-github-hashicorp-go-cleanhttp-dev=0.5.2-1 golang-github-hashicorp-go-hclog-dev=0.11.0-1 golang-github-hashicorp-go-immutable-radix-dev=1.3.0-1 golang-github-hashicorp-go-msgpack-dev=0.5.5-1 golang-github-hashicorp-go-multierror-dev=1.1.0-1 golang-github-hashicorp-go-retryablehttp-dev=0.6.4-2 golang-github-hashicorp-go-rootcerts-dev=1.0.2-2 golang-github-hashicorp-go-safetemp-dev=1.0.0-2 golang-github-hashicorp-go-sockaddr-dev=0.0~git20170627.41949a1+ds-2 golang-github-hashicorp-go-syslog-dev=1.0.0-1 golang-github-hashicorp-go-uuid-dev=1.0.2-1 golang-github-hashicorp-go-version-dev=1.2.0-1 golang-github-hashicorp-golang-lru-dev=0.5.4-2 golang-github-hashicorp-logutils-dev=1.0.0-1 golang-github-hashicorp-mdns-dev=1.0.3-2 golang-github-hashicorp-memberlist-dev=0.2.2-1 golang-github-hashicorp-serf-dev=0.9.4~ds1-1 golang-github-hashicorp-yamux-dev=0.0+git20190923.df201c7-1 golang-github-hetznercloud-hcloud-go-dev=1.17.0-1 golang-github-ianlancetaylor-demangle-dev=0.0~git20200824.28f6c0f-1 golang-github-jmespath-go-jmespath-dev=0.4.0-1 golang-github-jpillora-backoff-dev=1.0.0-1.1 golang-github-json-iterator-go-dev=1.1.10-2 golang-github-julienschmidt-httprouter-dev=1.3.0-1 golang-github-klauspost-compress-dev=1.11.7-2 golang-github-klauspost-pgzip-dev=1.2.5-1 golang-github-kr-fs-dev=0.1.0-1 golang-github-kr-pretty-dev=0.2.1+git20200831.59b4212-1 golang-github-kr-text-dev=0.2.0-1 golang-github-masterzen-simplexml-dev=0.0~git20190410.31eea30-1 golang-github-masterzen-winrm-dev=0.0~git20200615.c42b513-1 golang-github-masterzen-xmlpath-dev=0.0~git20140218.13f4951-4 golang-github-mattn-go-colorable-dev=0.1.7-1 golang-github-mattn-go-isatty-dev=0.0.12-1 golang-github-mattn-go-runewidth-dev=0.0.9-1 golang-github-mattn-go-tty-dev=0.0.3-2 golang-github-miekg-dns-dev=1.1.35-1 golang-github-mitchellh-cli-dev=1.1.1-1 golang-github-mitchellh-go-fs-dev=0.0~git20180402.b7b9ca4-1 golang-github-mitchellh-go-homedir-dev=1.1.0-1 golang-github-mitchellh-go-testing-interface-dev=1.14.1-1 golang-github-mitchellh-go-vnc-dev=0.0~git20150629.723ed98-1 golang-github-mitchellh-go-wordwrap-dev=1.0.1-1 golang-github-mitchellh-iochan-dev=1.0.0-1 golang-github-mitchellh-mapstructure-dev=1.3.3-1 golang-github-mitchellh-panicwrap-dev=0.0~git20191104.b3f3dc3-1 golang-github-mitchellh-prefixedio-dev=0.0~git20190213.5733675-1 golang-github-mitchellh-reflectwalk-dev=1.0.1-1 golang-github-modern-go-concurrent-dev=1.0.3-1.1 golang-github-modern-go-reflect2-dev=1.0.1-1 golang-github-mwitkow-go-conntrack-dev=0.0~git20190716.2f06839-2 golang-github-olekukonko-tablewriter-dev=0.0.4-1 golang-github-opentracing-opentracing-go-dev=1.2.0-1 golang-github-packer-community-winrmcp-dev=0.0~git20180921.c76d91c-1 golang-github-pascaldekloe-goe-dev=0.1.0-2 golang-github-pierrec-lz4-dev=2.5.2-1 golang-github-pkg-errors-dev=0.9.1-1 golang-github-pkg-sftp-dev=1.10.1-1 golang-github-pmezard-go-difflib-dev=1.0.0-3 golang-github-posener-complete-dev=1.2.3-2 golang-github-prometheus-client-golang-dev=1.9.0-2 golang-github-prometheus-client-model-dev=0.2.0-2 golang-github-prometheus-common-dev=0.15.0-2 golang-github-prometheus-procfs-dev=0.3.0-2 golang-github-ryanuber-columnize-dev=2.1.1-2 golang-github-ryanuber-go-glob-dev=1.0.0-2 golang-github-satori-go.uuid-dev=1.2.0-2 golang-github-shirou-gopsutil-dev=2.19.11-4 golang-github-shopspring-decimal-dev=1.2.0-1 golang-github-sirupsen-logrus-dev=1.7.0-2 golang-github-stretchr-objx-dev=0.3.0-1 golang-github-stretchr-testify-dev=1.6.1-2 golang-github-tv42-httpunix-dev=0.0~git20150427.b75d861-2 golang-github-ugorji-go-codec-dev=1.1.7-2 golang-github-ulikunitz-xz-dev=0.5.6-2 golang-github-vmihailenco-tagparser-dev=0.1.1-2 golang-github-vmware-govmomi-dev=0.23.0-1 golang-github-xanzy-go-cloudstack-dev=2.9.0-1 golang-github-zclconf-go-cty-dev=1.5.1-1 golang-github-zclconf-go-cty-yaml-dev=1.0.2-2 golang-glog-dev=0.0~git20160126.23def4e-3 golang-go=2:1.15~1 golang-go.opencensus-dev=0.22.4-2 golang-golang-x-crypto-dev=1:0.0~git20201221.eec23a3-1 golang-golang-x-net-dev=1:0.0+git20210119.5f4716e+dfsg-4 golang-golang-x-oauth2-dev=0.0~git20190604.0f29369-2 golang-golang-x-oauth2-google-dev=0.0~git20190604.0f29369-2 golang-golang-x-sync-dev=0.0~git20210220.036812b-1 golang-golang-x-sys-dev=0.0~git20210124.22da62e-1 golang-golang-x-term-dev=0.0~git20201210.2321bbc-1 golang-golang-x-text-dev=0.3.6-1 golang-golang-x-time-dev=0.0+git20200630.3af7569-1 golang-golang-x-xerrors-dev=0.0~git20191204.9bdfabe-1 golang-google-api-dev=0.28.0-2 golang-google-cloud-compute-metadata-dev=0.56.0-1 golang-google-cloud-dev=0.56.0-1 golang-google-genproto-dev=0.0~git20200413.b5235f6-1 golang-google-grpc-dev=1.27.1-1 golang-gopkg-alecthomas-kingpin.v2-dev=2.2.6-3 golang-gopkg-check.v1-dev=0.0+git20200902.038fdea-1 golang-gopkg-cheggaaa-pb.v1-dev=1.0.25-1 golang-gopkg-ini.v1-dev=1.57.0-1 golang-gopkg-mgo.v2-dev=2016.08.01-7 golang-gopkg-square-go-jose.v2-dev=2.5.1-2 golang-gopkg-tomb.v2-dev=0.0~git20161208.d5d1b58-3 golang-gopkg-vmihailenco-msgpack.v2-dev=4.3.1-2 golang-gopkg-yaml.v2-dev=2.4.0-1 golang-gopkg-yaml.v3-dev=3.0.0~git20200121.a6ecf24-3 golang-goprotobuf-dev=1.3.4-2+b5 golang-protobuf-extensions-dev=1.0.1-1 golang-rsc-binaryregexp-dev=0.2.0-2 golang-src=2:1.15~1 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-4 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 iproute2=5.10.0-4 libacl1=2.2.53-10 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.2-2 libblkid1=2.36.1-7 libbpf0=1:0.3-2 libbsd0=0.11.3-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-13 libc-dev-bin=2.31-13 libc6=2.31-13 libc6-dev=2.31-13 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcap2-bin=1:2.44-1 libcc1-0=10.2.1-6 libcom-err2=1.46.2-2 libcrypt-dev=1:4.4.18-4 libcrypt1=1:4.4.18-4 libctf-nobfd0=2.35.2-2 libctf0=2.35.2-2 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.260 libdebhelper-perl=13.3.4 libdpkg-perl=1.20.9 libelf1=0.183-3 libfile-stripnondeterminism-perl=1.12.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-6 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-5 libicu67=67.1-7 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-5 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-5 libkrb5support0=1.18.3-5 liblsan0=10.2.1-6 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmd0=1.0.3-3 libmnl0=1.0.4-3 libmount1=2.36.1-7 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-9 libpam-modules-bin=1.4.0-9 libpam-runtime=1.4.0-9 libpam0g=1.4.0-9 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-4 libpipeline1=1.5.3-1 libprotobuf-dev=3.12.4-1 libprotobuf-lite23=3.12.4-1 libprotobuf23=3.12.4-1 libprotoc23=3.12.4-1 libquadmath0=10.2.1-6 libsasl2-2=2.1.27+dfsg-2.1 libsasl2-dev=2.1.27+dfsg-2.1 libsasl2-modules-db=2.1.27+dfsg-2.1 libseccomp2=2.5.1-1 libselinux1=3.1-3 libsigsegv2=2.13-1 libsmartcols1=2.36.1-7 libssl1.1=1.1.1k-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.3-5 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-5 libunistring2=0.9.10-4 libuuid1=2.36.1-7 libxml2=2.9.10+dfsg-6.7 libxtables12=1.8.7-1 libzstd1=1.4.8+dfsg-2.1 linux-libc-dev=5.10.46-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 mailcap=3.69 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 media-types=4.0.0 mime-support=3.66 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 openssl=1.1.1k-1 patch=2.7.6-7 perl=5.32.1-4 perl-base=5.32.1-4 perl-modules-5.32=5.32.1-4 po-debconf=1.0.21+nmu1 protobuf-compiler=3.12.4-1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-7 tar=1.34+dfsg-1 util-linux=2.36.1-7 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210718T092653Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d packer=1.6.6+ds1-2 && mkdir -p /build/packer-mtIp6E && dpkg-source --no-check -x /*.dsc /build/packer-mtIp6E/packer-1.6.6+ds1 && cd /build/packer-mtIp6E/packer-1.6.6+ds1 && { printf '%s' 'packer (1.6.6+ds1-2+b3) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against golang-1.15 1.15.9-6 -- amd64 / i386 Build Daemon (x86-csail-01) Sun, 18 Jul 2021 09:43:09 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/packer-mtIp6E" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/packer-mtIp6E/packer-1.6.6+ds1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1626601389" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/packer-mtIp6E /tmp/packer-1.6.6+ds1-2+b3y82hds62 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210718T092653Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.JDvILSX9Qy as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.JDvILSX9Qy Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-7). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210718T092653Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210718T092653Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (401 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4667 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-13) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210718T092653Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.JDvILSX9Qy Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210718T092653Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 22s (1021 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.JDvILSX9Qy I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d packer=1.6.6+ds1-2 && mkdir -p /build/packer-mtIp6E && dpkg-source --no-check -x /*.dsc /build/packer-mtIp6E/packer-1.6.6+ds1 && cd /build/packer-mtIp6E/packer-1.6.6+ds1 && { printf '%s' 'packer (1.6.6+ds1-2+b3) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against golang-1.15 1.15.9-6 -- amd64 / i386 Build Daemon (x86-csail-01) Sun, 18 Jul 2021 09:43:09 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/packer-mtIp6E"' exec /tmp/mmdebstrap.JDvILSX9Qy Reading package lists... NOTICE: 'packer' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/packer.git Please use: git clone https://salsa.debian.org/go-team/packages/packer.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 3606 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main packer 1.6.6+ds1-2 (dsc) [4714 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main packer 1.6.6+ds1-2 (tar) [3587 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main packer 1.6.6+ds1-2 (diff) [14.9 kB] Fetched 3606 kB in 3s (1138 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'packer_1.6.6+ds1-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting packer in /build/packer-mtIp6E/packer-1.6.6+ds1 dpkg-source: info: unpacking packer_1.6.6+ds1.orig.tar.gz dpkg-source: info: unpacking packer_1.6.6+ds1-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-only-enable-telemetry-when-CHECKPOINT_DISABLE-is-0.patch dpkg-source: info: applying 0002-fix-ugorji-go-compatibility.patch dpkg-source: info: applying 0003-disable-test-failed-with-reflectwalk-v1.0.1.patch dpkg-source: info: applying 0004-disable-hyperone-linode-uloud-yandex.patch dpkg-source: info: applying 0005-Disable-osc-builder.patch dpkg-source: info: applying 0006-Disable-Impersonation.patch dpkg-source: info: applying 0007-Fix-cd-indexing-in-qemu-builder.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/packer-mtIp6E/packer-1.6.6+ds1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1626601389" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.JDvILSX9Qy dpkg-buildpackage: info: source package packer dpkg-buildpackage: info: source version 1.6.6+ds1-2+b3 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-csail-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --builddirectory=_build --buildsystem=golang --with=golang dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules binary-arch dh binary-arch --builddirectory=_build --buildsystem=golang --with=golang dh_update_autotools_config -a -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf -a -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -a -O--builddirectory=_build -O--buildsystem=golang debian/rules execute_after_dh_auto_configure make[1]: Entering directory '/build/packer-mtIp6E/packer-1.6.6+ds1' # fail on ipv6-only buildd rm -vf _build/src/github.com/hashicorp/packer/builder/proxmox/step_type_boot_command_test.go rm -vf _build/src/github.com/hashicorp/packer/builder/vsphere/common/step_http_ip_discover_test.go removed '_build/src/github.com/hashicorp/packer/builder/vsphere/common/step_http_ip_discover_test.go' # no tty in schroot rm -vf _build/src/github.com/hashicorp/packer/common/terminal_test.go make[1]: Leaving directory '/build/packer-mtIp6E/packer-1.6.6+ds1' dh_auto_build -a -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 4 github.com/hashicorp/packer github.com/hashicorp/packer/builder/alicloud/ecs github.com/hashicorp/packer/builder/alicloud/version github.com/hashicorp/packer/builder/amazon/chroot github.com/hashicorp/packer/builder/amazon/common github.com/hashicorp/packer/builder/amazon/common/awserrors github.com/hashicorp/packer/builder/amazon/common/ssm github.com/hashicorp/packer/builder/amazon/ebs github.com/hashicorp/packer/builder/amazon/ebs/acceptance github.com/hashicorp/packer/builder/amazon/ebssurrogate github.com/hashicorp/packer/builder/amazon/ebsvolume github.com/hashicorp/packer/builder/amazon/instance github.com/hashicorp/packer/builder/amazon/version github.com/hashicorp/packer/builder/azure/arm github.com/hashicorp/packer/builder/azure/chroot github.com/hashicorp/packer/builder/azure/common github.com/hashicorp/packer/builder/azure/common/client github.com/hashicorp/packer/builder/azure/common/constants github.com/hashicorp/packer/builder/azure/common/lin github.com/hashicorp/packer/builder/azure/common/logutil github.com/hashicorp/packer/builder/azure/common/template github.com/hashicorp/packer/builder/azure/dtl github.com/hashicorp/packer/builder/azure/pkcs12 github.com/hashicorp/packer/builder/azure/pkcs12/rc2 github.com/hashicorp/packer/builder/azure/version github.com/hashicorp/packer/builder/cloudstack github.com/hashicorp/packer/builder/cloudstack/version github.com/hashicorp/packer/builder/digitalocean github.com/hashicorp/packer/builder/digitalocean/version github.com/hashicorp/packer/builder/docker github.com/hashicorp/packer/builder/docker/version github.com/hashicorp/packer/builder/file github.com/hashicorp/packer/builder/file/version github.com/hashicorp/packer/builder/googlecompute github.com/hashicorp/packer/builder/googlecompute/version github.com/hashicorp/packer/builder/hcloud github.com/hashicorp/packer/builder/hcloud/version github.com/hashicorp/packer/builder/hyperv/common github.com/hashicorp/packer/builder/hyperv/common/powershell github.com/hashicorp/packer/builder/hyperv/common/powershell/hyperv github.com/hashicorp/packer/builder/hyperv/iso github.com/hashicorp/packer/builder/hyperv/version github.com/hashicorp/packer/builder/hyperv/vmcx github.com/hashicorp/packer/builder/jdcloud github.com/hashicorp/packer/builder/jdcloud/version github.com/hashicorp/packer/builder/lxc github.com/hashicorp/packer/builder/lxc/version github.com/hashicorp/packer/builder/lxd github.com/hashicorp/packer/builder/lxd/version github.com/hashicorp/packer/builder/ncloud github.com/hashicorp/packer/builder/ncloud/version github.com/hashicorp/packer/builder/null github.com/hashicorp/packer/builder/null/version github.com/hashicorp/packer/builder/oneandone github.com/hashicorp/packer/builder/oneandone/version github.com/hashicorp/packer/builder/openstack github.com/hashicorp/packer/builder/openstack/version github.com/hashicorp/packer/builder/oracle/classic github.com/hashicorp/packer/builder/oracle/common github.com/hashicorp/packer/builder/oracle/oci github.com/hashicorp/packer/builder/oracle/version github.com/hashicorp/packer/builder/parallels/common github.com/hashicorp/packer/builder/parallels/iso github.com/hashicorp/packer/builder/parallels/pvm github.com/hashicorp/packer/builder/parallels/version github.com/hashicorp/packer/builder/profitbricks github.com/hashicorp/packer/builder/profitbricks/version github.com/hashicorp/packer/builder/proxmox github.com/hashicorp/packer/builder/proxmox/clone github.com/hashicorp/packer/builder/proxmox/common github.com/hashicorp/packer/builder/proxmox/iso github.com/hashicorp/packer/builder/proxmox/version github.com/hashicorp/packer/builder/qemu github.com/hashicorp/packer/builder/qemu/version github.com/hashicorp/packer/builder/scaleway github.com/hashicorp/packer/builder/scaleway/version github.com/hashicorp/packer/builder/tencentcloud/cvm github.com/hashicorp/packer/builder/tencentcloud/version github.com/hashicorp/packer/builder/triton github.com/hashicorp/packer/builder/triton/version github.com/hashicorp/packer/builder/vagrant github.com/hashicorp/packer/builder/vagrant/version github.com/hashicorp/packer/builder/virtualbox/common github.com/hashicorp/packer/builder/virtualbox/iso github.com/hashicorp/packer/builder/virtualbox/iso/acceptance github.com/hashicorp/packer/builder/virtualbox/ovf github.com/hashicorp/packer/builder/virtualbox/version github.com/hashicorp/packer/builder/virtualbox/vm github.com/hashicorp/packer/builder/vmware/common github.com/hashicorp/packer/builder/vmware/iso github.com/hashicorp/packer/builder/vmware/version github.com/hashicorp/packer/builder/vmware/vmx github.com/hashicorp/packer/builder/vsphere/clone github.com/hashicorp/packer/builder/vsphere/common github.com/hashicorp/packer/builder/vsphere/common/testing github.com/hashicorp/packer/builder/vsphere/driver github.com/hashicorp/packer/builder/vsphere/iso github.com/hashicorp/packer/builder/vsphere/version github.com/hashicorp/packer/command github.com/hashicorp/packer/command/enumflag github.com/hashicorp/packer/command/flag-kv github.com/hashicorp/packer/command/flag-slice github.com/hashicorp/packer/fix github.com/hashicorp/packer/hcl2template github.com/hashicorp/packer/hcl2template/addrs github.com/hashicorp/packer/hcl2template/function github.com/hashicorp/packer/hcl2template/internal github.com/hashicorp/packer/hcl2template/repl github.com/hashicorp/packer/hcl2template/shim github.com/hashicorp/packer/helper/wrappedreadline github.com/hashicorp/packer/helper/wrappedstreams github.com/hashicorp/packer/packer github.com/hashicorp/packer/packer/plugin github.com/hashicorp/packer/packer-plugin-sdk/acctest github.com/hashicorp/packer/packer-plugin-sdk/acctest/provisioneracc github.com/hashicorp/packer/packer-plugin-sdk/acctest/testutils github.com/hashicorp/packer/packer-plugin-sdk/adapter github.com/hashicorp/packer/packer-plugin-sdk/bootcommand github.com/hashicorp/packer/packer-plugin-sdk/chroot github.com/hashicorp/packer/packer-plugin-sdk/common github.com/hashicorp/packer/packer-plugin-sdk/communicator github.com/hashicorp/packer/packer-plugin-sdk/communicator/ssh github.com/hashicorp/packer/packer-plugin-sdk/communicator/sshkey github.com/hashicorp/packer/packer-plugin-sdk/filelock github.com/hashicorp/packer/packer-plugin-sdk/guestexec github.com/hashicorp/packer/packer-plugin-sdk/iochan github.com/hashicorp/packer/packer-plugin-sdk/json github.com/hashicorp/packer/packer-plugin-sdk/multistep github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps github.com/hashicorp/packer/packer-plugin-sdk/net github.com/hashicorp/packer/packer-plugin-sdk/packer github.com/hashicorp/packer/packer-plugin-sdk/packerbuilderdata github.com/hashicorp/packer/packer-plugin-sdk/pathing github.com/hashicorp/packer/packer-plugin-sdk/plugin github.com/hashicorp/packer/packer-plugin-sdk/random github.com/hashicorp/packer/packer-plugin-sdk/retry github.com/hashicorp/packer/packer-plugin-sdk/rpc github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/none github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/ssh github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/winrm github.com/hashicorp/packer/packer-plugin-sdk/shell github.com/hashicorp/packer/packer-plugin-sdk/shell-local github.com/hashicorp/packer/packer-plugin-sdk/shell-local/localexec github.com/hashicorp/packer/packer-plugin-sdk/shutdowncommand github.com/hashicorp/packer/packer-plugin-sdk/template github.com/hashicorp/packer/packer-plugin-sdk/template/config github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate/aws/secretsmanager github.com/hashicorp/packer/packer-plugin-sdk/tmp github.com/hashicorp/packer/packer-plugin-sdk/useragent github.com/hashicorp/packer/packer-plugin-sdk/uuid github.com/hashicorp/packer/packer-plugin-sdk/version github.com/hashicorp/packer/post-processor/alicloud-import github.com/hashicorp/packer/post-processor/alicloud-import/version github.com/hashicorp/packer/post-processor/amazon-import github.com/hashicorp/packer/post-processor/amazon-import/version github.com/hashicorp/packer/post-processor/artifice github.com/hashicorp/packer/post-processor/artifice/version github.com/hashicorp/packer/post-processor/checksum github.com/hashicorp/packer/post-processor/checksum/version github.com/hashicorp/packer/post-processor/compress github.com/hashicorp/packer/post-processor/compress/version github.com/hashicorp/packer/post-processor/digitalocean-import github.com/hashicorp/packer/post-processor/digitalocean-import/version github.com/hashicorp/packer/post-processor/docker-import github.com/hashicorp/packer/post-processor/docker-import/version github.com/hashicorp/packer/post-processor/docker-push github.com/hashicorp/packer/post-processor/docker-push/version github.com/hashicorp/packer/post-processor/docker-save github.com/hashicorp/packer/post-processor/docker-save/version github.com/hashicorp/packer/post-processor/docker-tag github.com/hashicorp/packer/post-processor/docker-tag/version github.com/hashicorp/packer/post-processor/exoscale-import github.com/hashicorp/packer/post-processor/exoscale-import/version github.com/hashicorp/packer/post-processor/googlecompute-export github.com/hashicorp/packer/post-processor/googlecompute-export/version github.com/hashicorp/packer/post-processor/googlecompute-import github.com/hashicorp/packer/post-processor/googlecompute-import/version github.com/hashicorp/packer/post-processor/manifest github.com/hashicorp/packer/post-processor/manifest/version github.com/hashicorp/packer/post-processor/shell-local github.com/hashicorp/packer/post-processor/shell-local/version github.com/hashicorp/packer/post-processor/vagrant github.com/hashicorp/packer/post-processor/vagrant/version github.com/hashicorp/packer/post-processor/vagrant-cloud github.com/hashicorp/packer/post-processor/vagrant-cloud/version github.com/hashicorp/packer/post-processor/vsphere github.com/hashicorp/packer/post-processor/vsphere/version github.com/hashicorp/packer/post-processor/vsphere-template github.com/hashicorp/packer/post-processor/vsphere-template/version github.com/hashicorp/packer/provisioner/ansible github.com/hashicorp/packer/provisioner/ansible/version github.com/hashicorp/packer/provisioner/ansible-local github.com/hashicorp/packer/provisioner/ansible-local/version github.com/hashicorp/packer/provisioner/azure-dtlartifact github.com/hashicorp/packer/provisioner/azure-dtlartifact/version github.com/hashicorp/packer/provisioner/breakpoint github.com/hashicorp/packer/provisioner/breakpoint/version github.com/hashicorp/packer/provisioner/chef-client github.com/hashicorp/packer/provisioner/chef-client/version github.com/hashicorp/packer/provisioner/chef-solo github.com/hashicorp/packer/provisioner/chef-solo/version github.com/hashicorp/packer/provisioner/converge github.com/hashicorp/packer/provisioner/converge/version github.com/hashicorp/packer/provisioner/file github.com/hashicorp/packer/provisioner/file/version github.com/hashicorp/packer/provisioner/inspec github.com/hashicorp/packer/provisioner/inspec/version github.com/hashicorp/packer/provisioner/powershell github.com/hashicorp/packer/provisioner/powershell/version github.com/hashicorp/packer/provisioner/puppet-masterless github.com/hashicorp/packer/provisioner/puppet-masterless/version github.com/hashicorp/packer/provisioner/puppet-server github.com/hashicorp/packer/provisioner/puppet-server/version github.com/hashicorp/packer/provisioner/salt-masterless github.com/hashicorp/packer/provisioner/salt-masterless/version github.com/hashicorp/packer/provisioner/shell github.com/hashicorp/packer/provisioner/shell/version github.com/hashicorp/packer/provisioner/shell-local github.com/hashicorp/packer/provisioner/shell-local/version github.com/hashicorp/packer/provisioner/sleep github.com/hashicorp/packer/provisioner/sleep/version github.com/hashicorp/packer/provisioner/windows-restart github.com/hashicorp/packer/provisioner/windows-restart/version github.com/hashicorp/packer/provisioner/windows-shell github.com/hashicorp/packer/provisioner/windows-shell/version github.com/hashicorp/packer/version internal/unsafeheader runtime/internal/sys internal/cpu runtime/internal/atomic internal/race runtime/internal/math sync/atomic unicode unicode/utf8 internal/bytealg encoding math/bits internal/testlog unicode/utf16 crypto/internal/subtle crypto/subtle math internal/nettrace container/list runtime/cgo runtime vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle github.com/agext/levenshtein github.com/google/go-cmp/cmp/internal/flags github.com/hashicorp/packer/vendor/github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials github.com/ulikunitz/xz/internal/hash golang.org/x/crypto/internal/subtle golang.org/x/sys/internal/unsafeheader github.com/ChrisTrenkamp/goxpath/xconst golang.org/x/net/html/atom golang.org/x/text/encoding/internal/identifier golang.org/x/text/internal/utf8internal github.com/aws/aws-sdk-go/aws/client/metadata github.com/aws/aws-sdk-go/internal/sdkmath google.golang.org/grpc/serviceconfig github.com/golang/groupcache/lru go.opencensus.io go.opencensus.io/trace/internal go.opencensus.io/internal/tagencoding github.com/Azure/azure-sdk-for-go/version github.com/Azure/go-autorest/autorest/to github.com/hashicorp/packer/builder/azure/common/constants github.com/hashicorp/packer/vendor/github.com/jdcloud-api/jdcloud-sdk-go/services/common/models github.com/hashicorp/packer/vendor/github.com/jdcloud-api/jdcloud-sdk-go/services/charge/models github.com/hashicorp/packer/vendor/github.com/jdcloud-api/jdcloud-sdk-go/services/disk/models github.com/hashicorp/packer/vendor/github.com/jdcloud-api/jdcloud-sdk-go/services/vpc/models github.com/hashicorp/packer/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile github.com/golang-collections/collections/stack github.com/hashicorp/packer/vendor/github.com/jdcloud-api/jdcloud-sdk-go/services/vm/models github.com/gobwas/glob/util/runes internal/reflectlite sync internal/singleflight github.com/aws/aws-sdk-go/internal/sync/singleflight math/rand google.golang.org/grpc/internal/buffer google.golang.org/grpc/internal/grpcsync errors sort io strconv internal/oserror syscall vendor/golang.org/x/net/dns/dnsmessage bytes strings reflect hash hash/crc32 bufio crypto internal/syscall/unix internal/syscall/execenv time crypto/internal/randutil crypto/hmac crypto/rc4 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/text/transform path regexp/syntax github.com/apparentlymart/go-textseg/textseg internal/poll encoding/binary internal/fmtsort context os regexp github.com/mitchellh/go-wordwrap golang.org/x/text/transform encoding/base64 crypto/sha512 crypto/cipher crypto/ed25519/internal/edwards25519 crypto/md5 fmt crypto/aes net crypto/des crypto/sha1 crypto/sha256 encoding/json math/big compress/flate compress/gzip encoding/hex encoding/pem path/filepath net/url io/ioutil crypto/rand crypto/elliptic encoding/asn1 crypto/ed25519 crypto/rsa crypto/dsa vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/poly1305 vendor/golang.org/x/sys/cpu crypto/ecdsa vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/crypto/chacha20poly1305 log vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/text/secure/bidirule mime mime/quotedprintable net/http/internal github.com/hashicorp/go-uuid flag os/signal vendor/golang.org/x/net/idna github.com/hashicorp/packer/vendor/github.com/hako/durafmt encoding/gob golang.org/x/text/unicode/norm crypto/x509 net/textproto vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy mime/multipart github.com/chzyer/readline crypto/tls github.com/zclconf/go-cty/cty/set hash/crc64 runtime/debug github.com/zclconf/go-cty/cty encoding/csv github.com/google/go-cmp/cmp/internal/diff github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value database/sql/driver github.com/google/go-cmp/cmp github.com/satori/go.uuid github.com/zclconf/go-cty/cty/convert github.com/zclconf/go-cty/cty/function github.com/hashicorp/packer/vendor/github.com/aliyun/alibaba-cloud-sdk-go/sdk/utils github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/v2 net/http/httptrace github.com/zclconf/go-cty/cty/gocty net/http github.com/zclconf/go-cty/cty/json github.com/jmespath/go-jmespath github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/v2/ext/customdecode encoding/xml github.com/zclconf/go-cty/cty/function/stdlib github.com/hashicorp/packer/vendor/github.com/aliyun/alibaba-cloud-sdk-go/sdk/errors github.com/hashicorp/packer/vendor/github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests github.com/modern-go/concurrent github.com/modern-go/reflect2 gopkg.in/ini.v1 github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/v2/hclsyntax github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/v2/hcldec github.com/json-iterator/go github.com/hashicorp/go-version github.com/hashicorp/packer/packer-plugin-sdk/version github.com/hashicorp/packer/version github.com/hashicorp/packer/builder/alicloud/version os/exec github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/v2/json github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/v2/hclwrite github.com/hashicorp/go-cleanhttp github.com/hashicorp/go-checkpoint github.com/hashicorp/packer/packer-plugin-sdk/common github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/v2/hclparse os/user archive/zip compress/bzip2 github.com/bgentry/go-netrc/netrc github.com/hashicorp/packer/vendor/github.com/hashicorp/go-getter/v2/helper/url github.com/hashicorp/errwrap github.com/hashicorp/go-multierror github.com/hashicorp/go-safetemp github.com/hashicorp/packer/vendor/github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses github.com/mitchellh/go-homedir github.com/mitchellh/go-testing-interface github.com/ulikunitz/xz/internal/xlog github.com/mitchellh/iochan runtime/trace github.com/hashicorp/packer/vendor/github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/signers github.com/hashicorp/packer/vendor/github.com/aliyun/alibaba-cloud-sdk-go/sdk/endpoints github.com/ulikunitz/xz/lzma testing github.com/hashicorp/packer/vendor/github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth github.com/hashicorp/packer/vendor/github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider github.com/ulikunitz/xz github.com/hashicorp/packer/vendor/github.com/aliyun/alibaba-cloud-sdk-go/sdk github.com/hashicorp/packer/packer-plugin-sdk/tmp github.com/kr/fs github.com/pkg/errors golang.org/x/crypto/chacha20 golang.org/x/crypto/curve25519 archive/tar github.com/hashicorp/packer/vendor/github.com/aliyun/alibaba-cloud-sdk-go/services/ecs golang.org/x/crypto/ed25519 golang.org/x/crypto/poly1305 golang.org/x/crypto/blowfish golang.org/x/crypto/ssh/internal/bcrypt_pbkdf golang.org/x/crypto/ssh golang.org/x/sys/unix github.com/hashicorp/packer/vendor/github.com/hashicorp/go-getter/v2 github.com/hashicorp/packer/packer-plugin-sdk/packer golang.org/x/term golang.org/x/net/internal/socks golang.org/x/crypto/ssh/terminal github.com/hashicorp/packer/packer-plugin-sdk/multistep golang.org/x/net/proxy github.com/hashicorp/packer/packer-plugin-sdk/pathing github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/none github.com/pkg/sftp github.com/hashicorp/packer/packer-plugin-sdk/communicator/sshkey golang.org/x/crypto/ssh/agent golang.org/x/crypto/md4 github.com/Azure/go-ntlmssp github.com/ChrisTrenkamp/goxpath/parser/pathexpr github.com/ChrisTrenkamp/goxpath/tree golang.org/x/text/internal/tag golang.org/x/text/internal/language github.com/ChrisTrenkamp/goxpath/internal/execxp/findutil github.com/ChrisTrenkamp/goxpath/internal/xsort github.com/ChrisTrenkamp/goxpath/lexer github.com/ChrisTrenkamp/goxpath/parser golang.org/x/text/internal/language/compact github.com/ChrisTrenkamp/goxpath/tree/xmltree/xmlbuilder github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/ssh github.com/ChrisTrenkamp/goxpath/tree/xmltree/xmlnode golang.org/x/text/language github.com/ChrisTrenkamp/goxpath/tree/xmltree/xmlele golang.org/x/net/html github.com/hashicorp/packer/packer-plugin-sdk/communicator/ssh github.com/ChrisTrenkamp/goxpath/internal/execxp/intfns golang.org/x/text/encoding github.com/ChrisTrenkamp/goxpath/internal/execxp golang.org/x/text/encoding/internal github.com/ChrisTrenkamp/goxpath golang.org/x/text/encoding/charmap golang.org/x/text/encoding/japanese golang.org/x/text/encoding/korean golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/traditionalchinese golang.org/x/text/runes golang.org/x/text/encoding/unicode github.com/gofrs/uuid github.com/masterzen/simplexml/dom golang.org/x/text/encoding/htmlindex github.com/masterzen/winrm/soap golang.org/x/net/html/charset github.com/dylanmei/iso8601 github.com/ChrisTrenkamp/goxpath/tree/xmltree github.com/google/uuid github.com/hashicorp/packer/packer-plugin-sdk/packerbuilderdata github.com/mattn/go-isatty github.com/masterzen/winrm github.com/mattn/go-colorable github.com/hashicorp/go-rootcerts github.com/hashicorp/golang-lru/simplelru github.com/fatih/color github.com/hashicorp/go-immutable-radix github.com/hashicorp/go-hclog github.com/packer-community/winrmcp/winrmcp github.com/armon/go-metrics github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/winrm github.com/mitchellh/mapstructure github.com/aws/aws-sdk-go/aws/awserr github.com/aws/aws-sdk-go/internal/ini github.com/hashicorp/serf/coordinate github.com/aws/aws-sdk-go/internal/shareddefaults github.com/hashicorp/packer/vendor/github.com/hashicorp/consul/api github.com/aws/aws-sdk-go/aws/endpoints github.com/aws/aws-sdk-go/aws/credentials github.com/aws/aws-sdk-go/internal/sdkio github.com/aws/aws-sdk-go/aws/awsutil github.com/aws/aws-sdk-go/internal/sdkrand net/http/httputil github.com/aws/aws-sdk-go/aws/credentials/processcreds github.com/aws/aws-sdk-go/internal/strings github.com/aws/aws-sdk-go/internal/sdkuri github.com/hashicorp/go-retryablehttp github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/hcl/strconv github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/hcl/token github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/hcl/scanner github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/json/token github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/hcl/parser github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/json/scanner github.com/hashicorp/packer/vendor/github.com/hashicorp/vault/sdk/helper/consts github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/json/parser github.com/hashicorp/packer/vendor/github.com/hashicorp/vault/sdk/helper/hclutil compress/lzw github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl github.com/golang/snappy github.com/pierrec/lz4/internal/xxh32 github.com/hashicorp/go-sockaddr github.com/pierrec/lz4 github.com/hashicorp/packer/vendor/github.com/hashicorp/vault/sdk/helper/compressutil github.com/hashicorp/packer/vendor/github.com/hashicorp/vault/sdk/helper/jsonutil github.com/ryanuber/go-glob github.com/hashicorp/packer/vendor/github.com/hashicorp/vault/sdk/helper/strutil golang.org/x/text/unicode/bidi github.com/hashicorp/packer/vendor/github.com/hashicorp/vault/sdk/helper/parseutil golang.org/x/net/http2/hpack golang.org/x/time/rate golang.org/x/text/secure/bidirule golang.org/x/net/idna golang.org/x/crypto/pbkdf2 gopkg.in/square/go-jose.v2/cipher gopkg.in/square/go-jose.v2/json golang.org/x/net/http/httpguts golang.org/x/net/http2 github.com/aws/aws-sdk-go/aws gopkg.in/square/go-jose.v2 github.com/aws/aws-sdk-go/aws/request github.com/aws/aws-sdk-go/aws/client github.com/aws/aws-sdk-go/aws/corehandlers github.com/aws/aws-sdk-go/private/protocol github.com/aws/aws-sdk-go/aws/csm github.com/aws/aws-sdk-go/aws/ec2metadata gopkg.in/square/go-jose.v2/jwt github.com/aws/aws-sdk-go/private/protocol/rest github.com/aws/aws-sdk-go/private/protocol/query/queryutil github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds github.com/aws/aws-sdk-go/aws/signer/v4 github.com/aws/aws-sdk-go/private/protocol/json/jsonutil github.com/aws/aws-sdk-go/private/protocol/query github.com/hashicorp/packer/vendor/github.com/hashicorp/vault/api github.com/aws/aws-sdk-go/aws/credentials/endpointcreds github.com/aws/aws-sdk-go/service/sts github.com/aws/aws-sdk-go/aws/defaults github.com/aws/aws-sdk-go/private/protocol/jsonrpc github.com/aws/aws-sdk-go/service/secretsmanager github.com/aws/aws-sdk-go/service/sts/stsiface github.com/aws/aws-sdk-go/aws/credentials/stscreds github.com/hashicorp/packer/packer-plugin-sdk/uuid github.com/hashicorp/packer/vendor/github.com/jehiah/go-strftime github.com/mitchellh/reflectwalk github.com/aws/aws-sdk-go/aws/session text/template/parse github.com/aws/aws-sdk-go/service/secretsmanager/secretsmanageriface golang.org/x/net/http/httpproxy golang.org/x/net/internal/timeseries github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate/aws/secretsmanager github.com/hashicorp/packer/packer-plugin-sdk/template text/template html text/tabwriter google.golang.org/grpc/backoff google.golang.org/grpc/grpclog github.com/golang/protobuf/proto google.golang.org/grpc/connectivity google.golang.org/grpc/credentials/internal google.golang.org/grpc/internal github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate html/template github.com/hashicorp/packer/packer-plugin-sdk/template/config github.com/hashicorp/packer/packer-plugin-sdk/communicator golang.org/x/net/trace google.golang.org/grpc/metadata google.golang.org/grpc/attributes google.golang.org/grpc/internal/grpcrand google.golang.org/grpc/codes google.golang.org/grpc/encoding google.golang.org/grpc/internal/backoff google.golang.org/grpc/internal/balancerload google.golang.org/grpc/internal/envconfig google.golang.org/grpc/internal/syscall google.golang.org/grpc/keepalive google.golang.org/grpc/stats google.golang.org/grpc/tap google.golang.org/grpc/naming google.golang.org/api/internal/third_party/uritemplates cloud.google.com/go/internal/optional go.opencensus.io/internal google.golang.org/grpc/credentials google.golang.org/grpc/encoding/proto github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp google.golang.org/genproto/googleapis/rpc/status google.golang.org/grpc/resolver github.com/golang/protobuf/ptypes google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/balancer google.golang.org/grpc/status google.golang.org/grpc/balancer/base google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/channelz google.golang.org/grpc/internal/binarylog google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/peer github.com/golang/protobuf/protoc-gen-go/descriptor google.golang.org/genproto/googleapis/type/expr google.golang.org/grpc/internal/transport google.golang.org/api/googleapi go.opencensus.io/trace/tracestate go.opencensus.io/trace google.golang.org/genproto/googleapis/api/annotations google.golang.org/genproto/googleapis/rpc/code cloud.google.com/go/internal/version google.golang.org/api/iterator golang.org/x/net/context/ctxhttp cloud.google.com/go/internal/trace cloud.google.com/go/compute/metadata golang.org/x/oauth2/internal golang.org/x/oauth2/jws golang.org/x/oauth2 go.opencensus.io/trace/propagation go.opencensus.io/resource google.golang.org/grpc go.opencensus.io/plugin/ochttp/propagation/b3 go.opencensus.io/metric/metricdata golang.org/x/oauth2/jwt runtime/pprof go.opencensus.io/metric/metricproducer golang.org/x/oauth2/google google.golang.org/api/googleapi/transport google.golang.org/api/transport/cert google.golang.org/api/transport/http/internal/propagation github.com/aws/aws-sdk-go/aws/arn go.opencensus.io/tag github.com/aws/aws-sdk-go/internal/s3shared/arn github.com/aws/aws-sdk-go/internal/s3shared/s3err github.com/aws/aws-sdk-go/internal/s3shared github.com/aws/aws-sdk-go/private/checksum github.com/aws/aws-sdk-go/private/protocol/eventstream go.opencensus.io/stats/internal go.opencensus.io/stats github.com/aws/aws-sdk-go/private/protocol/restxml go.opencensus.io/stats/view github.com/gofrs/flock go.opencensus.io/plugin/ochttp github.com/hashicorp/packer/packer-plugin-sdk/filelock github.com/hashicorp/packer/packer-plugin-sdk/retry github.com/googleapis/gax-go/v2 google.golang.org/genproto/googleapis/iam/v1 google.golang.org/api/internal cloud.google.com/go/internal google.golang.org/api/internal/gensupport google.golang.org/api/option cloud.google.com/go/iam google.golang.org/api/option/internaloption github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi github.com/hashicorp/packer/packer-plugin-sdk/net github.com/hashicorp/packer/packer-plugin-sdk/iochan google.golang.org/api/transport/http github.com/hashicorp/packer/packer-plugin-sdk/shell-local/localexec github.com/aws/aws-sdk-go/service/s3 github.com/mitchellh/go-fs github.com/hashicorp/packer/packer-plugin-sdk/random github.com/aws/aws-sdk-go/private/protocol/ec2query google.golang.org/api/storage/v1 github.com/mitchellh/go-fs/fat github.com/aws/aws-sdk-go/service/ec2 github.com/aws/aws-sdk-go/service/iam cloud.google.com/go/storage github.com/hashicorp/packer/vendor/github.com/hashicorp/go-getter/gcs/v2 github.com/aws/aws-sdk-go/service/ssm github.com/hashicorp/packer/vendor/github.com/hashicorp/aws-sdk-go-base/tfawserr net/http/httptest github.com/hashicorp/packer/vendor/github.com/hashicorp/aws-sdk-go-base github.com/hashicorp/packer/vendor/github.com/hashicorp/go-getter/s3/v2 github.com/hashicorp/packer/builder/amazon/common/awserrors github.com/hashicorp/packer/packer-plugin-sdk/shell github.com/Azure/go-autorest/autorest/date github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps github.com/Azure/go-autorest/tracing github.com/dgrijalva/jwt-go github.com/hashicorp/packer/builder/alicloud/ecs github.com/hashicorp/packer/packer-plugin-sdk/shell-local github.com/hashicorp/packer/packer-plugin-sdk/chroot net/http/cookiejar github.com/Azure/go-autorest/autorest/adal github.com/Azure/go-autorest/logger github.com/Azure/go-autorest/autorest github.com/Azure/go-autorest/autorest/azure github.com/Azure/go-autorest/autorest/validation github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-04-01/compute github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-03-01/compute github.com/aws/aws-sdk-go/service/ssm/ssmiface github.com/hashicorp/packer/builder/amazon/common/ssm github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-01-01/network github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-02-01/resources github.com/aws/aws-sdk-go/service/ec2/ec2iface github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-10-01/storage github.com/Azure/azure-sdk-for-go/storage github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-12-01/compute github.com/hashicorp/packer/builder/amazon/common github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions github.com/dimchansky/utfbom github.com/Azure/go-autorest/autorest/azure/cli golang.org/x/crypto/pkcs12/internal/rc2 golang.org/x/crypto/pkcs12 github.com/Azure/go-autorest/autorest/azure/auth github.com/hashicorp/packer/builder/azure/version github.com/hashicorp/packer/packer-plugin-sdk/useragent github.com/hashicorp/packer/builder/azure/common/lin github.com/hashicorp/packer/builder/azure/common/logutil github.com/hashicorp/packer/builder/azure/pkcs12/rc2 github.com/hashicorp/packer/builder/azure/pkcs12 github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2018-09-15/dtl github.com/hashicorp/packer/builder/amazon/chroot github.com/hashicorp/packer/builder/amazon/ebs github.com/hashicorp/packer/builder/amazon/ebssurrogate github.com/hashicorp/packer/builder/amazon/ebsvolume github.com/hashicorp/packer/builder/amazon/instance github.com/hashicorp/packer/builder/azure/common/template github.com/xanzy/go-cloudstack/cloudstack github.com/google/go-querystring/query github.com/digitalocean/godo github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-12-01/compute/computeapi github.com/aws/aws-sdk-go/service/ecr github.com/hashicorp/packer/builder/azure/common/client github.com/hashicorp/packer/builder/digitalocean github.com/hashicorp/packer/builder/azure/common github.com/hashicorp/packer/builder/file github.com/hashicorp/packer/builder/googlecompute/version github.com/hashicorp/packer/builder/azure/arm google.golang.org/api/compute/v1 github.com/hashicorp/packer/builder/azure/chroot github.com/hashicorp/packer/builder/azure/dtl github.com/hashicorp/packer/builder/docker google.golang.org/api/oauth2/v2 google.golang.org/api/oslogin/v1 github.com/hetznercloud/hcloud-go/hcloud/schema github.com/hetznercloud/hcloud-go/hcloud github.com/hashicorp/packer/builder/hyperv/common/powershell github.com/hashicorp/packer/builder/hyperv/common/powershell/hyperv github.com/hashicorp/packer/vendor/golang.org/x/mobile/event/key github.com/hashicorp/packer/packer-plugin-sdk/bootcommand github.com/hashicorp/packer/builder/hcloud github.com/hashicorp/packer/builder/hyperv/common github.com/hashicorp/packer/packer-plugin-sdk/shutdowncommand github.com/hashicorp/packer/vendor/github.com/jdcloud-api/jdcloud-sdk-go/core github.com/hashicorp/packer/vendor/github.com/jdcloud-api/jdcloud-sdk-go/services/vm/apis github.com/hashicorp/packer/builder/hyperv/iso github.com/hashicorp/packer/builder/hyperv/vmcx github.com/hashicorp/packer/vendor/github.com/jdcloud-api/jdcloud-sdk-go/services/vm/client github.com/hashicorp/packer/vendor/github.com/jdcloud-api/jdcloud-sdk-go/services/vpc/apis github.com/hashicorp/packer/builder/lxc github.com/hashicorp/packer/builder/lxd github.com/hashicorp/packer/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/ncloud github.com/hashicorp/packer/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/hmac github.com/hashicorp/packer/vendor/github.com/jdcloud-api/jdcloud-sdk-go/services/vpc/client golang.org/x/net/context github.com/hashicorp/packer/vendor/github.com/NaverCloudPlatform/ncloud-sdk-go-v2/services/server github.com/hashicorp/packer/builder/jdcloud github.com/mattn/go-runewidth github.com/olekukonko/tablewriter github.com/hashicorp/packer/builder/null github.com/hashicorp/packer/vendor/github.com/1and1/oneandone-cloudserver-sdk-go github.com/hashicorp/packer/builder/ncloud github.com/gophercloud/gophercloud github.com/hashicorp/packer/builder/oneandone github.com/hashicorp/packer/builder/cloudstack github.com/gophercloud/gophercloud/pagination github.com/gophercloud/gophercloud/openstack/identity/v3/tokens github.com/gophercloud/gophercloud/openstack/identity/v2/tenants github.com/gophercloud/gophercloud/openstack/identity/v3/extensions/ec2tokens github.com/gophercloud/gophercloud/openstack/identity/v2/tokens github.com/gophercloud/gophercloud/openstack/identity/v3/extensions/oauth1 github.com/gophercloud/gophercloud/openstack/utils github.com/gophercloud/gophercloud/openstack/blockstorage/extensions/volumeactions github.com/gophercloud/gophercloud/openstack/blockstorage/v3/volumes github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/attachinterfaces github.com/gophercloud/gophercloud/openstack github.com/gophercloud/gophercloud/openstack/compute/v2/servers github.com/gophercloud/gophercloud/openstack/common/extensions github.com/gophercloud/gophercloud/openstack/compute/v2/flavors github.com/gophercloud/gophercloud/openstack/compute/v2/extensions github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/startstop github.com/gophercloud/gophercloud/openstack/imageservice/v2/imageimport github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/bootfromvolume github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/keypairs github.com/gophercloud/gophercloud/internal github.com/gophercloud/gophercloud/openstack/imageservice/v2/members github.com/gophercloud/gophercloud/openstack/imageservice/v2/images github.com/gophercloud/gophercloud/openstack/networking/v2/networks github.com/gophercloud/gophercloud/openstack/networking/v2/extensions/layer3/floatingips github.com/gophercloud/gophercloud/openstack/networking/v2/subnets github.com/gophercloud/gophercloud/openstack/networking/v2/extensions/external github.com/gophercloud/utils/env gopkg.in/yaml.v2 github.com/gophercloud/utils/openstack/compute/v2/flavors github.com/hashicorp/packer/vendor/github.com/hashicorp/go-oracle-terraform/opc github.com/hashicorp/packer/builder/oracle/common github.com/hashicorp/packer/vendor/github.com/hashicorp/go-oracle-terraform/client github.com/hashicorp/packer/vendor/github.com/oracle/oci-go-sdk/common github.com/hashicorp/packer/vendor/github.com/hashicorp/go-oracle-terraform/compute github.com/gophercloud/utils/openstack/clientconfig github.com/hashicorp/packer/vendor/github.com/oracle/oci-go-sdk/common/auth github.com/hashicorp/packer/builder/googlecompute github.com/hashicorp/packer/builder/openstack github.com/hashicorp/packer/vendor/github.com/oracle/oci-go-sdk/core github.com/hashicorp/packer/builder/parallels/common github.com/hashicorp/packer/vendor/github.com/profitbricks/profitbricks-sdk-go github.com/hashicorp/packer/builder/parallels/iso github.com/hashicorp/packer/builder/parallels/pvm github.com/hashicorp/packer/builder/oracle/classic github.com/hashicorp/packer/builder/profitbricks github.com/hashicorp/packer/vendor/github.com/Telmate/proxmox-api-go/proxmox github.com/digitalocean/go-qemu/qmp github.com/mitchellh/go-vnc github.com/hashicorp/packer/builder/scaleway/version github.com/hashicorp/packer/vendor/github.com/scaleway/scaleway-sdk-go/internal/errors github.com/hashicorp/packer/builder/qemu github.com/hashicorp/packer/vendor/github.com/scaleway/scaleway-sdk-go/internal/marshaler github.com/hashicorp/packer/vendor/github.com/scaleway/scaleway-sdk-go/internal/parameter github.com/hashicorp/packer/builder/proxmox/common github.com/hashicorp/packer/vendor/github.com/scaleway/scaleway-sdk-go/namegenerator github.com/hashicorp/packer/vendor/github.com/scaleway/scaleway-sdk-go/internal/auth github.com/hashicorp/packer/vendor/github.com/scaleway/scaleway-sdk-go/logger github.com/hashicorp/packer/vendor/github.com/scaleway/scaleway-sdk-go/validation github.com/hashicorp/packer/vendor/github.com/scaleway/scaleway-sdk-go/scw github.com/hashicorp/packer/builder/proxmox/iso github.com/hashicorp/packer/builder/proxmox/clone github.com/hashicorp/packer/builder/proxmox github.com/hashicorp/packer/vendor/github.com/scaleway/scaleway-sdk-go/internal/async github.com/hashicorp/packer/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors github.com/hashicorp/packer/vendor/github.com/joyent/triton-go/authentication github.com/hashicorp/packer/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http github.com/hashicorp/packer/vendor/github.com/scaleway/scaleway-sdk-go/api/marketplace/v1 github.com/hashicorp/packer/vendor/github.com/joyent/triton-go github.com/hashicorp/packer/vendor/github.com/scaleway/scaleway-sdk-go/api/instance/v1 github.com/hashicorp/packer/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common github.com/hashicorp/packer/vendor/github.com/joyent/triton-go/errors github.com/hashicorp/packer/vendor/github.com/joyent/triton-go/client github.com/hashicorp/packer/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm/v20170312 github.com/hashicorp/packer/vendor/github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc/v20170312 github.com/hashicorp/packer/builder/scaleway github.com/hashicorp/packer/vendor/github.com/joyent/triton-go/compute github.com/hashicorp/packer/vendor/github.com/joyent/triton-go/network github.com/hashicorp/packer/builder/triton github.com/hashicorp/packer/builder/vagrant github.com/hashicorp/packer/builder/virtualbox/common github.com/vmware/govmomi/vim25/debug github.com/vmware/govmomi/vim25/progress github.com/vmware/govmomi/vim25/types github.com/hashicorp/packer/builder/virtualbox/iso github.com/hashicorp/packer/builder/virtualbox/ovf github.com/hashicorp/packer/builder/virtualbox/vm github.com/vmware/govmomi/vim25/xml golang.org/x/net/websocket github.com/hashicorp/packer/builder/oracle/oci github.com/hashicorp/packer/command/enumflag github.com/hashicorp/packer/command/flag-kv github.com/hashicorp/packer/command/flag-slice github.com/hashicorp/packer/fix github.com/gobwas/glob/util/strings github.com/gobwas/glob/match github.com/gobwas/glob/syntax/lexer github.com/apparentlymart/go-cidr/cidr github.com/gobwas/glob/syntax/ast github.com/hashicorp/packer/vendor/github.com/hashicorp/go-cty-funcs/cidr github.com/gobwas/glob/compiler github.com/gobwas/glob/syntax github.com/hashicorp/packer/vendor/github.com/hashicorp/go-cty-funcs/collection github.com/gobwas/glob golang.org/x/crypto/bcrypt github.com/hashicorp/packer/vendor/github.com/hashicorp/go-cty-funcs/encoding github.com/hashicorp/packer/vendor/github.com/hashicorp/go-cty-funcs/crypto github.com/bmatcuk/doublestar github.com/hashicorp/packer/vendor/github.com/hashicorp/go-cty-funcs/uuid github.com/hashicorp/packer/vendor/github.com/hashicorp/go-cty-funcs/filesystem github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/v2/ext/dynblock github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/v2/ext/tryfunc github.com/hashicorp/packer/builder/tencentcloud/cvm github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/v2/ext/typeexpr github.com/hashicorp/packer/vendor/github.com/hashicorp/hcl/v2/gohcl github.com/hashicorp/packer/hcl2template/addrs github.com/hashicorp/packer/hcl2template/function github.com/hashicorp/packer/hcl2template/repl github.com/hashicorp/packer/hcl2template/shim github.com/cheggaaa/pb github.com/zclconf/go-cty-yaml github.com/mitchellh/panicwrap github.com/hashicorp/packer/helper/wrappedstreams github.com/hashicorp/packer/packer github.com/hashicorp/packer/helper/wrappedreadline github.com/hashicorp/yamux go/token github.com/hashicorp/packer/vendor/github.com/aliyun/alibaba-cloud-sdk-go/services/ram net/rpc github.com/hashicorp/packer/hcl2template github.com/ugorji/go/codec github.com/aliyun/aliyun-oss-go-sdk/oss github.com/aws/aws-sdk-go/service/s3/s3iface github.com/aws/aws-sdk-go/service/s3/s3manager github.com/hashicorp/packer/post-processor/amazon-import github.com/hashicorp/packer/post-processor/artifice github.com/hashicorp/packer/post-processor/checksum github.com/biogo/hts/bgzf github.com/klauspost/compress/flate github.com/hashicorp/packer/packer-plugin-sdk/rpc github.com/hashicorp/packer/post-processor/alicloud-import github.com/hashicorp/packer/post-processor/digitalocean-import github.com/hashicorp/packer/packer-plugin-sdk/plugin github.com/hashicorp/packer/post-processor/docker-import github.com/klauspost/pgzip github.com/hashicorp/packer/vendor/github.com/exoscale/egoscale github.com/hashicorp/packer/post-processor/docker-tag github.com/hashicorp/packer/post-processor/compress github.com/hashicorp/packer/post-processor/docker-push github.com/hashicorp/packer/post-processor/docker-save github.com/hashicorp/packer/post-processor/exoscale-import/version github.com/hashicorp/packer/post-processor/googlecompute-export github.com/hashicorp/packer/post-processor/googlecompute-import github.com/hashicorp/packer/post-processor/manifest github.com/hashicorp/packer/post-processor/shell-local github.com/hashicorp/packer/post-processor/vagrant github.com/hashicorp/packer/post-processor/vagrant-cloud github.com/hashicorp/packer/post-processor/exoscale-import github.com/hashicorp/packer/post-processor/vsphere github.com/google/shlex github.com/hashicorp/packer/provisioner/ansible-local github.com/hashicorp/packer/packer-plugin-sdk/adapter github.com/hashicorp/packer/provisioner/azure-dtlartifact golang.org/x/sync/errgroup github.com/hashicorp/packer/provisioner/ansible github.com/hashicorp/packer/packer-plugin-sdk/guestexec github.com/hashicorp/packer/provisioner/breakpoint github.com/hashicorp/packer/provisioner/chef-solo github.com/hashicorp/packer/provisioner/chef-client github.com/hashicorp/packer/provisioner/converge github.com/hashicorp/packer/provisioner/file github.com/hashicorp/packer/provisioner/inspec github.com/hashicorp/packer/provisioner/powershell github.com/hashicorp/packer/provisioner/puppet-masterless github.com/hashicorp/packer/provisioner/puppet-server github.com/hashicorp/packer/provisioner/salt-masterless github.com/hashicorp/packer/provisioner/shell github.com/hashicorp/packer/provisioner/shell-local github.com/hashicorp/packer/provisioner/sleep github.com/hashicorp/packer/provisioner/windows-restart github.com/hashicorp/packer/provisioner/windows-shell github.com/posener/complete/cmd/install golang.org/x/sync/semaphore github.com/hashicorp/packer/packer/plugin github.com/mattn/go-tty github.com/posener/complete/cmd github.com/posener/complete github.com/armon/go-radix github.com/bgentry/speakeasy github.com/mitchellh/prefixedio github.com/shirou/gopsutil/internal/common github.com/mitchellh/cli github.com/hashicorp/packer/builder/amazon/ebs/acceptance github.com/shirou/gopsutil/cpu github.com/shirou/gopsutil/mem github.com/shirou/gopsutil/net github.com/hashicorp/packer/builder/amazon/version github.com/hashicorp/packer/builder/cloudstack/version github.com/hashicorp/packer/builder/digitalocean/version github.com/hashicorp/packer/builder/docker/version github.com/hashicorp/packer/builder/file/version github.com/hashicorp/packer/builder/hcloud/version github.com/hashicorp/packer/builder/hyperv/version github.com/hashicorp/packer/builder/jdcloud/version github.com/shirou/gopsutil/process github.com/hashicorp/packer/builder/lxc/version github.com/hashicorp/packer/builder/lxd/version github.com/hashicorp/packer/builder/ncloud/version github.com/hashicorp/packer/builder/null/version github.com/hashicorp/packer/builder/oneandone/version github.com/hashicorp/packer/builder/openstack/version github.com/hashicorp/packer/builder/oracle/version github.com/hashicorp/packer/builder/parallels/version github.com/hashicorp/packer/builder/profitbricks/version github.com/hashicorp/packer/builder/proxmox/version github.com/hashicorp/packer/builder/qemu/version github.com/hashicorp/packer/builder/tencentcloud/version github.com/hashicorp/packer/builder/triton/version github.com/hashicorp/packer/builder/vagrant/version github.com/hashicorp/packer/packer-plugin-sdk/acctest/testutils github.com/hashicorp/packer/builder/virtualbox/version github.com/hashicorp/packer/builder/vmware/version github.com/hashicorp/packer/builder/vsphere/version github.com/hashicorp/packer/builder/virtualbox/iso/acceptance github.com/hashicorp/packer/hcl2template/internal github.com/hashicorp/packer/packer-plugin-sdk/acctest github.com/hashicorp/packer/packer-plugin-sdk/json github.com/hashicorp/packer/post-processor/alicloud-import/version github.com/hashicorp/packer/packer-plugin-sdk/acctest/provisioneracc github.com/hashicorp/packer/post-processor/amazon-import/version github.com/hashicorp/packer/post-processor/artifice/version github.com/hashicorp/packer/post-processor/checksum/version github.com/hashicorp/packer/post-processor/compress/version github.com/hashicorp/packer/post-processor/digitalocean-import/version github.com/hashicorp/packer/post-processor/docker-import/version github.com/hashicorp/packer/post-processor/docker-push/version github.com/hashicorp/packer/post-processor/docker-save/version github.com/hashicorp/packer/post-processor/docker-tag/version github.com/hashicorp/packer/post-processor/googlecompute-export/version github.com/hashicorp/packer/post-processor/googlecompute-import/version github.com/hashicorp/packer/post-processor/manifest/version github.com/hashicorp/packer/post-processor/shell-local/version github.com/hashicorp/packer/post-processor/vagrant/version github.com/hashicorp/packer/post-processor/vagrant-cloud/version github.com/hashicorp/packer/post-processor/vsphere/version github.com/hashicorp/packer/post-processor/vsphere-template/version github.com/hashicorp/packer/provisioner/ansible/version github.com/hashicorp/packer/provisioner/ansible-local/version github.com/hashicorp/packer/provisioner/azure-dtlartifact/version github.com/hashicorp/packer/provisioner/breakpoint/version github.com/hashicorp/packer/provisioner/chef-client/version github.com/hashicorp/packer/provisioner/chef-solo/version github.com/hashicorp/packer/provisioner/converge/version github.com/hashicorp/packer/provisioner/file/version github.com/hashicorp/packer/provisioner/inspec/version github.com/hashicorp/packer/provisioner/powershell/version github.com/hashicorp/packer/provisioner/puppet-masterless/version github.com/hashicorp/packer/provisioner/puppet-server/version github.com/hashicorp/packer/provisioner/salt-masterless/version github.com/hashicorp/packer/provisioner/shell/version github.com/hashicorp/packer/provisioner/shell-local/version github.com/hashicorp/packer/provisioner/sleep/version github.com/hashicorp/packer/provisioner/windows-restart/version github.com/hashicorp/packer/provisioner/windows-shell/version github.com/vmware/govmomi/vim25/soap github.com/vmware/govmomi/vim25/methods github.com/vmware/govmomi/vim25 github.com/vmware/govmomi/vim25/mo github.com/vmware/govmomi/property github.com/vmware/govmomi/vapi/internal github.com/vmware/govmomi/ovf github.com/vmware/govmomi/vapi/rest github.com/vmware/govmomi/nfc github.com/vmware/govmomi/list github.com/vmware/govmomi/task github.com/vmware/govmomi/session/keepalive github.com/vmware/govmomi/session github.com/vmware/govmomi github.com/vmware/govmomi/object github.com/vmware/govmomi/vapi/library github.com/vmware/govmomi/find github.com/vmware/govmomi/vapi/vcenter github.com/hashicorp/packer/builder/vmware/common github.com/hashicorp/packer/builder/vsphere/driver github.com/hashicorp/packer/builder/vsphere/common github.com/hashicorp/packer/builder/vsphere/common/testing github.com/hashicorp/packer/builder/vsphere/iso github.com/hashicorp/packer/builder/vsphere/clone github.com/hashicorp/packer/builder/vmware/iso github.com/hashicorp/packer/builder/vmware/vmx github.com/hashicorp/packer/post-processor/vsphere-template github.com/hashicorp/packer/command github.com/hashicorp/packer debian/rules override_dh_auto_test make[1]: Entering directory '/build/packer-mtIp6E/packer-1.6.6+ds1' dh_auto_test -- -timeout 1h cd _build && go test -vet=off -v -p 4 -timeout 1h github.com/hashicorp/packer github.com/hashicorp/packer/builder/alicloud/ecs github.com/hashicorp/packer/builder/alicloud/version github.com/hashicorp/packer/builder/amazon/chroot github.com/hashicorp/packer/builder/amazon/common github.com/hashicorp/packer/builder/amazon/common/awserrors github.com/hashicorp/packer/builder/amazon/common/ssm github.com/hashicorp/packer/builder/amazon/ebs github.com/hashicorp/packer/builder/amazon/ebs/acceptance github.com/hashicorp/packer/builder/amazon/ebssurrogate github.com/hashicorp/packer/builder/amazon/ebsvolume github.com/hashicorp/packer/builder/amazon/instance github.com/hashicorp/packer/builder/amazon/version github.com/hashicorp/packer/builder/azure/arm github.com/hashicorp/packer/builder/azure/chroot github.com/hashicorp/packer/builder/azure/common github.com/hashicorp/packer/builder/azure/common/client github.com/hashicorp/packer/builder/azure/common/constants github.com/hashicorp/packer/builder/azure/common/lin github.com/hashicorp/packer/builder/azure/common/logutil github.com/hashicorp/packer/builder/azure/common/template github.com/hashicorp/packer/builder/azure/dtl github.com/hashicorp/packer/builder/azure/pkcs12 github.com/hashicorp/packer/builder/azure/pkcs12/rc2 github.com/hashicorp/packer/builder/azure/version github.com/hashicorp/packer/builder/cloudstack github.com/hashicorp/packer/builder/cloudstack/version github.com/hashicorp/packer/builder/digitalocean github.com/hashicorp/packer/builder/digitalocean/version github.com/hashicorp/packer/builder/docker github.com/hashicorp/packer/builder/docker/version github.com/hashicorp/packer/builder/file github.com/hashicorp/packer/builder/file/version github.com/hashicorp/packer/builder/googlecompute github.com/hashicorp/packer/builder/googlecompute/version github.com/hashicorp/packer/builder/hcloud github.com/hashicorp/packer/builder/hcloud/version github.com/hashicorp/packer/builder/hyperv/common github.com/hashicorp/packer/builder/hyperv/common/powershell github.com/hashicorp/packer/builder/hyperv/common/powershell/hyperv github.com/hashicorp/packer/builder/hyperv/iso github.com/hashicorp/packer/builder/hyperv/version github.com/hashicorp/packer/builder/hyperv/vmcx github.com/hashicorp/packer/builder/jdcloud github.com/hashicorp/packer/builder/jdcloud/version github.com/hashicorp/packer/builder/lxc github.com/hashicorp/packer/builder/lxc/version github.com/hashicorp/packer/builder/lxd github.com/hashicorp/packer/builder/lxd/version github.com/hashicorp/packer/builder/ncloud github.com/hashicorp/packer/builder/ncloud/version github.com/hashicorp/packer/builder/null github.com/hashicorp/packer/builder/null/version github.com/hashicorp/packer/builder/oneandone github.com/hashicorp/packer/builder/oneandone/version github.com/hashicorp/packer/builder/openstack github.com/hashicorp/packer/builder/openstack/version github.com/hashicorp/packer/builder/oracle/classic github.com/hashicorp/packer/builder/oracle/common github.com/hashicorp/packer/builder/oracle/oci github.com/hashicorp/packer/builder/oracle/version github.com/hashicorp/packer/builder/parallels/common github.com/hashicorp/packer/builder/parallels/iso github.com/hashicorp/packer/builder/parallels/pvm github.com/hashicorp/packer/builder/parallels/version github.com/hashicorp/packer/builder/profitbricks github.com/hashicorp/packer/builder/profitbricks/version github.com/hashicorp/packer/builder/proxmox github.com/hashicorp/packer/builder/proxmox/clone github.com/hashicorp/packer/builder/proxmox/common github.com/hashicorp/packer/builder/proxmox/iso github.com/hashicorp/packer/builder/proxmox/version github.com/hashicorp/packer/builder/qemu github.com/hashicorp/packer/builder/qemu/version github.com/hashicorp/packer/builder/scaleway github.com/hashicorp/packer/builder/scaleway/version github.com/hashicorp/packer/builder/tencentcloud/cvm github.com/hashicorp/packer/builder/tencentcloud/version github.com/hashicorp/packer/builder/triton github.com/hashicorp/packer/builder/triton/version github.com/hashicorp/packer/builder/vagrant github.com/hashicorp/packer/builder/vagrant/version github.com/hashicorp/packer/builder/virtualbox/common github.com/hashicorp/packer/builder/virtualbox/iso github.com/hashicorp/packer/builder/virtualbox/iso/acceptance github.com/hashicorp/packer/builder/virtualbox/ovf github.com/hashicorp/packer/builder/virtualbox/version github.com/hashicorp/packer/builder/virtualbox/vm github.com/hashicorp/packer/builder/vmware/common github.com/hashicorp/packer/builder/vmware/iso github.com/hashicorp/packer/builder/vmware/version github.com/hashicorp/packer/builder/vmware/vmx github.com/hashicorp/packer/builder/vsphere/clone github.com/hashicorp/packer/builder/vsphere/common github.com/hashicorp/packer/builder/vsphere/common/testing github.com/hashicorp/packer/builder/vsphere/driver github.com/hashicorp/packer/builder/vsphere/iso github.com/hashicorp/packer/builder/vsphere/version github.com/hashicorp/packer/command github.com/hashicorp/packer/command/enumflag github.com/hashicorp/packer/command/flag-kv github.com/hashicorp/packer/command/flag-slice github.com/hashicorp/packer/fix github.com/hashicorp/packer/hcl2template github.com/hashicorp/packer/hcl2template/addrs github.com/hashicorp/packer/hcl2template/function github.com/hashicorp/packer/hcl2template/internal github.com/hashicorp/packer/hcl2template/repl github.com/hashicorp/packer/hcl2template/shim github.com/hashicorp/packer/helper/wrappedreadline github.com/hashicorp/packer/helper/wrappedstreams github.com/hashicorp/packer/packer github.com/hashicorp/packer/packer/plugin github.com/hashicorp/packer/packer-plugin-sdk/acctest github.com/hashicorp/packer/packer-plugin-sdk/acctest/provisioneracc github.com/hashicorp/packer/packer-plugin-sdk/acctest/testutils github.com/hashicorp/packer/packer-plugin-sdk/adapter github.com/hashicorp/packer/packer-plugin-sdk/bootcommand github.com/hashicorp/packer/packer-plugin-sdk/chroot github.com/hashicorp/packer/packer-plugin-sdk/common github.com/hashicorp/packer/packer-plugin-sdk/communicator github.com/hashicorp/packer/packer-plugin-sdk/communicator/ssh github.com/hashicorp/packer/packer-plugin-sdk/communicator/sshkey github.com/hashicorp/packer/packer-plugin-sdk/filelock github.com/hashicorp/packer/packer-plugin-sdk/guestexec github.com/hashicorp/packer/packer-plugin-sdk/iochan github.com/hashicorp/packer/packer-plugin-sdk/json github.com/hashicorp/packer/packer-plugin-sdk/multistep github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps github.com/hashicorp/packer/packer-plugin-sdk/net github.com/hashicorp/packer/packer-plugin-sdk/packer github.com/hashicorp/packer/packer-plugin-sdk/packerbuilderdata github.com/hashicorp/packer/packer-plugin-sdk/pathing github.com/hashicorp/packer/packer-plugin-sdk/plugin github.com/hashicorp/packer/packer-plugin-sdk/random github.com/hashicorp/packer/packer-plugin-sdk/retry github.com/hashicorp/packer/packer-plugin-sdk/rpc github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/none github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/ssh github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/winrm github.com/hashicorp/packer/packer-plugin-sdk/shell github.com/hashicorp/packer/packer-plugin-sdk/shell-local github.com/hashicorp/packer/packer-plugin-sdk/shell-local/localexec github.com/hashicorp/packer/packer-plugin-sdk/shutdowncommand github.com/hashicorp/packer/packer-plugin-sdk/template github.com/hashicorp/packer/packer-plugin-sdk/template/config github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate/aws/secretsmanager github.com/hashicorp/packer/packer-plugin-sdk/tmp github.com/hashicorp/packer/packer-plugin-sdk/useragent github.com/hashicorp/packer/packer-plugin-sdk/uuid github.com/hashicorp/packer/packer-plugin-sdk/version github.com/hashicorp/packer/post-processor/alicloud-import github.com/hashicorp/packer/post-processor/alicloud-import/version github.com/hashicorp/packer/post-processor/amazon-import github.com/hashicorp/packer/post-processor/amazon-import/version github.com/hashicorp/packer/post-processor/artifice github.com/hashicorp/packer/post-processor/artifice/version github.com/hashicorp/packer/post-processor/checksum github.com/hashicorp/packer/post-processor/checksum/version github.com/hashicorp/packer/post-processor/compress github.com/hashicorp/packer/post-processor/compress/version github.com/hashicorp/packer/post-processor/digitalocean-import github.com/hashicorp/packer/post-processor/digitalocean-import/version github.com/hashicorp/packer/post-processor/docker-import github.com/hashicorp/packer/post-processor/docker-import/version github.com/hashicorp/packer/post-processor/docker-push github.com/hashicorp/packer/post-processor/docker-push/version github.com/hashicorp/packer/post-processor/docker-save github.com/hashicorp/packer/post-processor/docker-save/version github.com/hashicorp/packer/post-processor/docker-tag github.com/hashicorp/packer/post-processor/docker-tag/version github.com/hashicorp/packer/post-processor/exoscale-import github.com/hashicorp/packer/post-processor/exoscale-import/version github.com/hashicorp/packer/post-processor/googlecompute-export github.com/hashicorp/packer/post-processor/googlecompute-export/version github.com/hashicorp/packer/post-processor/googlecompute-import github.com/hashicorp/packer/post-processor/googlecompute-import/version github.com/hashicorp/packer/post-processor/manifest github.com/hashicorp/packer/post-processor/manifest/version github.com/hashicorp/packer/post-processor/shell-local github.com/hashicorp/packer/post-processor/shell-local/version github.com/hashicorp/packer/post-processor/vagrant github.com/hashicorp/packer/post-processor/vagrant/version github.com/hashicorp/packer/post-processor/vagrant-cloud github.com/hashicorp/packer/post-processor/vagrant-cloud/version github.com/hashicorp/packer/post-processor/vsphere github.com/hashicorp/packer/post-processor/vsphere/version github.com/hashicorp/packer/post-processor/vsphere-template github.com/hashicorp/packer/post-processor/vsphere-template/version github.com/hashicorp/packer/provisioner/ansible github.com/hashicorp/packer/provisioner/ansible/version github.com/hashicorp/packer/provisioner/ansible-local github.com/hashicorp/packer/provisioner/ansible-local/version github.com/hashicorp/packer/provisioner/azure-dtlartifact github.com/hashicorp/packer/provisioner/azure-dtlartifact/version github.com/hashicorp/packer/provisioner/breakpoint github.com/hashicorp/packer/provisioner/breakpoint/version github.com/hashicorp/packer/provisioner/chef-client github.com/hashicorp/packer/provisioner/chef-client/version github.com/hashicorp/packer/provisioner/chef-solo github.com/hashicorp/packer/provisioner/chef-solo/version github.com/hashicorp/packer/provisioner/converge github.com/hashicorp/packer/provisioner/converge/version github.com/hashicorp/packer/provisioner/file github.com/hashicorp/packer/provisioner/file/version github.com/hashicorp/packer/provisioner/inspec github.com/hashicorp/packer/provisioner/inspec/version github.com/hashicorp/packer/provisioner/powershell github.com/hashicorp/packer/provisioner/powershell/version github.com/hashicorp/packer/provisioner/puppet-masterless github.com/hashicorp/packer/provisioner/puppet-masterless/version github.com/hashicorp/packer/provisioner/puppet-server github.com/hashicorp/packer/provisioner/puppet-server/version github.com/hashicorp/packer/provisioner/salt-masterless github.com/hashicorp/packer/provisioner/salt-masterless/version github.com/hashicorp/packer/provisioner/shell github.com/hashicorp/packer/provisioner/shell/version github.com/hashicorp/packer/provisioner/shell-local github.com/hashicorp/packer/provisioner/shell-local/version github.com/hashicorp/packer/provisioner/sleep github.com/hashicorp/packer/provisioner/sleep/version github.com/hashicorp/packer/provisioner/windows-restart github.com/hashicorp/packer/provisioner/windows-restart/version github.com/hashicorp/packer/provisioner/windows-shell github.com/hashicorp/packer/provisioner/windows-shell/version github.com/hashicorp/packer/version === RUN TestDecodeConfig --- PASS: TestDecodeConfig (0.00s) === RUN TestLoadExternalComponentsFromConfig 2021/10/15 04:57:16 loaded plugin: super-shell = /tmp/random-testdata526788610/packer-provisioner-super-shell 2021/10/15 04:57:16 loaded plugin: cloud-xyz = /tmp/random-testdata526788610/packer-builder-cloud-xyz 2021/10/15 04:57:16 loaded plugin: noop = /tmp/random-testdata526788610/packer-post-processor-noop 2021/10/15 04:57:16 using external plugins [cloud-xyz noop super-shell] --- PASS: TestLoadExternalComponentsFromConfig (0.00s) === RUN TestLoadExternalComponentsFromConfig_onlyProvisioner 2021/10/15 04:57:16 loaded plugin: super-shell = /tmp/random-testdata726248313/packer-provisioner-super-shell 2021/10/15 04:57:16 using external plugins [super-shell] --- PASS: TestLoadExternalComponentsFromConfig_onlyProvisioner (0.00s) === RUN TestLoadSingleComponent --- PASS: TestLoadSingleComponent (0.00s) === RUN TestExcludeHelpFunc --- PASS: TestExcludeHelpFunc (0.00s) === RUN TestExtractMachineReadable --- PASS: TestExtractMachineReadable (0.00s) === RUN TestRandom --- PASS: TestRandom (0.00s) PASS ok github.com/hashicorp/packer 0.693s === RUN TestAlicloudAccessConfigPrepareRegion --- PASS: TestAlicloudAccessConfigPrepareRegion (0.00s) === RUN TestArtifact_Impl --- PASS: TestArtifact_Impl (0.00s) === RUN TestArtifactId --- PASS: TestArtifactId (0.00s) === RUN TestArtifactState_atlasMetadata --- PASS: TestArtifactState_atlasMetadata (0.00s) === RUN TestBuilderAcc_validateRegion === PAUSE TestBuilderAcc_validateRegion === RUN TestBuilderAcc_basic === PAUSE TestBuilderAcc_basic === RUN TestBuilderAcc_withDiskSettings === PAUSE TestBuilderAcc_withDiskSettings === RUN TestBuilderAcc_withIgnoreDataDisks === PAUSE TestBuilderAcc_withIgnoreDataDisks === RUN TestBuilderAcc_windows === PAUSE TestBuilderAcc_windows === RUN TestBuilderAcc_regionCopy === PAUSE TestBuilderAcc_regionCopy === RUN TestBuilderAcc_forceDelete === PAUSE TestBuilderAcc_forceDelete === RUN TestBuilderAcc_ECSImageSharing === PAUSE TestBuilderAcc_ECSImageSharing === RUN TestBuilderAcc_forceDeleteSnapshot === PAUSE TestBuilderAcc_forceDeleteSnapshot === RUN TestBuilderAcc_imageTags === PAUSE TestBuilderAcc_imageTags === RUN TestBuilderAcc_dataDiskEncrypted === PAUSE TestBuilderAcc_dataDiskEncrypted === RUN TestBuilderAcc_systemDiskEncrypted === PAUSE TestBuilderAcc_systemDiskEncrypted === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilder_Prepare_BadType --- PASS: TestBuilder_Prepare_BadType (0.01s) === RUN TestBuilderPrepare_ECSImageName --- PASS: TestBuilderPrepare_ECSImageName (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.00s) === RUN TestBuilderPrepare_Devices --- PASS: TestBuilderPrepare_Devices (0.07s) === RUN TestBuilderPrepare_IgnoreDataDisks --- PASS: TestBuilderPrepare_IgnoreDataDisks (0.02s) === RUN TestBuilderPrepare_WaitSnapshotReadyTimeout --- PASS: TestBuilderPrepare_WaitSnapshotReadyTimeout (0.00s) === RUN TestWaitForExpectedExceedRetryTimes need retry: test: let iteration 1 failed need retry: test: let iteration 2 failed need retry: test: let iteration 3 failed need retry: test: let iteration 4 failed need retry: test: let iteration 5 failed need retry: test: let iteration 6 failed need retry: test: let iteration 7 failed need retry: test: let iteration 8 failed need retry: test: let iteration 9 failed need retry: test: let iteration 10 failed need retry: test: let iteration 11 failed need retry: test: let iteration 12 failed --- PASS: TestWaitForExpectedExceedRetryTimes (60.10s) === RUN TestWaitForExpectedExceedRetryTimeout need retry: test: let iteration 1 failed need retry: test: let iteration 2 failed --- PASS: TestWaitForExpectedExceedRetryTimeout (10.00s) === RUN TestECSImageConfigPrepare_name --- PASS: TestECSImageConfigPrepare_name (0.00s) === RUN TestAMIConfigPrepare_regions --- PASS: TestAMIConfigPrepare_regions (0.00s) === RUN TestECSImageConfigPrepare_imageTags --- PASS: TestECSImageConfigPrepare_imageTags (0.00s) === RUN TestRunConfigPrepare --- PASS: TestRunConfigPrepare (0.00s) === RUN TestRunConfigPrepare_InstanceType --- PASS: TestRunConfigPrepare_InstanceType (0.00s) === RUN TestRunConfigPrepare_SourceECSImage --- PASS: TestRunConfigPrepare_SourceECSImage (0.00s) === RUN TestRunConfigPrepare_SSHPort --- PASS: TestRunConfigPrepare_SSHPort (0.00s) === RUN TestRunConfigPrepare_UserData --- PASS: TestRunConfigPrepare_UserData (0.00s) === RUN TestRunConfigPrepare_UserDataFile --- PASS: TestRunConfigPrepare_UserDataFile (0.06s) === RUN TestRunConfigPrepare_TemporaryKeyPairName --- PASS: TestRunConfigPrepare_TemporaryKeyPairName (0.00s) === RUN TestRunConfigPrepare_SSHPrivateIp --- PASS: TestRunConfigPrepare_SSHPrivateIp (0.00s) === RUN TestRunConfigPrepare_DisableStopInstance --- PASS: TestRunConfigPrepare_DisableStopInstance (0.00s) === CONT TestBuilderAcc_validateRegion builder_acc_test.go:21: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_validateRegion (0.00s) === CONT TestBuilderAcc_systemDiskEncrypted testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_systemDiskEncrypted (0.00s) === CONT TestBuilderAcc_dataDiskEncrypted testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_dataDiskEncrypted (0.00s) === CONT TestBuilderAcc_imageTags testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_imageTags (0.00s) === CONT TestBuilderAcc_forceDeleteSnapshot testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_forceDeleteSnapshot (0.00s) === CONT TestBuilderAcc_ECSImageSharing testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_ECSImageSharing (0.00s) === CONT TestBuilderAcc_forceDelete testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_forceDelete (0.00s) === CONT TestBuilderAcc_regionCopy testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_regionCopy (0.00s) === CONT TestBuilderAcc_windows testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_windows (0.00s) === CONT TestBuilderAcc_withIgnoreDataDisks testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_withIgnoreDataDisks (0.00s) === CONT TestBuilderAcc_withDiskSettings testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_withDiskSettings (0.00s) === CONT TestBuilderAcc_basic testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_basic (0.00s) PASS ok github.com/hashicorp/packer/builder/alicloud/ecs 70.431s ? github.com/hashicorp/packer/builder/alicloud/version [no test files] === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilderPrepare_AMIName 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_AMIName (0.00s) === RUN TestBuilderPrepare_ChrootMounts 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_ChrootMounts (0.00s) === RUN TestBuilderPrepare_ChrootMountsBadDefaults 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_ChrootMountsBadDefaults (0.00s) === RUN TestBuilderPrepare_SourceAmi 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_SourceAmi (0.02s) === RUN TestBuilderPrepare_CommandWrapper 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_CommandWrapper (0.00s) === RUN TestBuilderPrepare_CopyFiles 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_CopyFiles (0.00s) === RUN TestBuilderPrepare_CopyFilesNoDefault 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_CopyFilesNoDefault (0.00s) === RUN TestBuilderPrepare_RootDeviceNameAndAMIMappings 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_RootDeviceNameAndAMIMappings (0.00s) === RUN TestBuilderPrepare_AMIMappingsNoRootDeviceName 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_AMIMappingsNoRootDeviceName (0.00s) === RUN TestBuilderPrepare_RootDeviceNameNoAMIMappings 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_RootDeviceNameNoAMIMappings (0.00s) === RUN TestBuilderPrepare_ReturnGeneratedData 2021/10/15 04:55:34 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_ReturnGeneratedData (0.00s) === RUN TestCopyFile --- PASS: TestCopyFile (0.07s) === RUN TestDevicePrefixMatch --- PASS: TestDevicePrefixMatch (0.00s) === RUN TestAttachVolumeCleanupFunc_ImplementsCleanupFunc --- PASS: TestAttachVolumeCleanupFunc_ImplementsCleanupFunc (0.00s) === RUN TestCreateVolume_Default --- PASS: TestCreateVolume_Default (0.00s) === RUN TestCreateVolume_Shrink --- PASS: TestCreateVolume_Shrink (0.00s) === RUN TestCreateVolume_Expand --- PASS: TestCreateVolume_Expand (0.00s) === RUN TestCreateVolume_io1_to_io1 --- PASS: TestCreateVolume_io1_to_io1 (0.00s) === RUN TestCreateVolume_io1_to_gp2 --- PASS: TestCreateVolume_io1_to_gp2 (0.00s) === RUN TestCreateVolume_gp2_to_io1 --- PASS: TestCreateVolume_gp2_to_io1 (0.00s) === RUN TestCreateVolume_Encrypted --- PASS: TestCreateVolume_Encrypted (0.00s) === RUN TestCreateVolume_Custom_KMS_Key_Encrypted --- PASS: TestCreateVolume_Custom_KMS_Key_Encrypted (0.00s) === RUN TestFlockCleanupFunc_ImplementsCleanupFunc --- PASS: TestFlockCleanupFunc_ImplementsCleanupFunc (0.00s) === RUN TestMountDeviceCleanupFunc_ImplementsCleanupFunc --- PASS: TestMountDeviceCleanupFunc_ImplementsCleanupFunc (0.00s) === RUN TestStepRegisterAmi_buildRegisterOpts_pv --- PASS: TestStepRegisterAmi_buildRegisterOpts_pv (0.00s) === RUN TestStepRegisterAmi_buildRegisterOpts_hvm --- PASS: TestStepRegisterAmi_buildRegisterOpts_hvm (0.00s) === RUN TestStepRegisterAmi_buildRegisterOptsFromScratch --- PASS: TestStepRegisterAmi_buildRegisterOptsFromScratch (0.00s) === RUN TestStepRegisterAmi_buildRegisterOptFromExistingImage --- PASS: TestStepRegisterAmi_buildRegisterOptFromExistingImage (0.00s) === RUN TestStepRegisterAmi_buildRegisterOptFromExistingImageWithBlockDeviceMappings --- PASS: TestStepRegisterAmi_buildRegisterOptFromExistingImageWithBlockDeviceMappings (0.00s) PASS ok github.com/hashicorp/packer/builder/amazon/chroot 0.239s === RUN TestAccessConfigPrepare_Region --- PASS: TestAccessConfigPrepare_Region (0.00s) === RUN TestAccessConfigPrepare_RegionRestricted 2021/10/15 04:56:20 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestAccessConfigPrepare_RegionRestricted (0.00s) === RUN TestAMIConfigPrepare_name --- PASS: TestAMIConfigPrepare_name (0.00s) === RUN TestAMIConfigPrepare_regions 2021/10/15 04:56:20 Cannot copy AMI to AWS session region 'us-east-1', deleting it from `ami_regions`. --- PASS: TestAMIConfigPrepare_regions (0.00s) === RUN TestAMIConfigPrepare_Share_EncryptedBoot --- PASS: TestAMIConfigPrepare_Share_EncryptedBoot (0.00s) === RUN TestAMIConfigPrepare_ValidateKmsKey --- PASS: TestAMIConfigPrepare_ValidateKmsKey (0.00s) === RUN TestAMINameValidation --- PASS: TestAMINameValidation (0.00s) === RUN TestArtifact_Impl --- PASS: TestArtifact_Impl (0.00s) === RUN TestArtifactId --- PASS: TestArtifactId (0.00s) === RUN TestArtifactState_atlasMetadata --- PASS: TestArtifactState_atlasMetadata (0.00s) === RUN TestArtifactString --- PASS: TestArtifactString (0.00s) === RUN TestArtifactState --- PASS: TestArtifactState (0.00s) === RUN TestBlockDevice --- PASS: TestBlockDevice (0.00s) === RUN TestIOPSValidation --- PASS: TestIOPSValidation (0.00s) === RUN TestThroughputValidation --- PASS: TestThroughputValidation (0.00s) === RUN TestStepSourceAmiInfo_BuildFilter --- PASS: TestStepSourceAmiInfo_BuildFilter (0.00s) === RUN TestErrorsParsing_RequestFailure --- PASS: TestErrorsParsing_RequestFailure (0.00s) === RUN TestErrorsParsing_NonAuthorizationFailure --- PASS: TestErrorsParsing_NonAuthorizationFailure (0.00s) === RUN TestErrorsParsing_NonAWSError --- PASS: TestErrorsParsing_NonAWSError (0.00s) === RUN TestInterpolateBuildInfo_extractBuildInfo_noSourceImage --- PASS: TestInterpolateBuildInfo_extractBuildInfo_noSourceImage (0.00s) === RUN TestInterpolateBuildInfo_extractBuildInfo_withSourceImage --- PASS: TestInterpolateBuildInfo_extractBuildInfo_withSourceImage (0.00s) === RUN TestInterpolateBuildInfo_extractBuildInfo_GeneratedDataWithSourceImageName --- PASS: TestInterpolateBuildInfo_extractBuildInfo_GeneratedDataWithSourceImageName (0.00s) === RUN TestRunConfigPrepare --- PASS: TestRunConfigPrepare (0.00s) === RUN TestRunConfigPrepare_InstanceType --- PASS: TestRunConfigPrepare_InstanceType (0.00s) === RUN TestRunConfigPrepare_SourceAmi --- PASS: TestRunConfigPrepare_SourceAmi (0.00s) === RUN TestRunConfigPrepare_SourceAmiFilterBlank --- PASS: TestRunConfigPrepare_SourceAmiFilterBlank (0.00s) === RUN TestRunConfigPrepare_SourceAmiFilterOwnersBlank --- PASS: TestRunConfigPrepare_SourceAmiFilterOwnersBlank (0.00s) === RUN TestRunConfigPrepare_SourceAmiFilterGood --- PASS: TestRunConfigPrepare_SourceAmiFilterGood (0.00s) === RUN TestRunConfigPrepare_EnableT2UnlimitedGood --- PASS: TestRunConfigPrepare_EnableT2UnlimitedGood (0.05s) === RUN TestRunConfigPrepare_EnableT2UnlimitedBadInstanceType --- PASS: TestRunConfigPrepare_EnableT2UnlimitedBadInstanceType (0.00s) === RUN TestRunConfigPrepare_EnableT2UnlimitedBadWithSpotInstanceRequest --- PASS: TestRunConfigPrepare_EnableT2UnlimitedBadWithSpotInstanceRequest (0.00s) === RUN TestRunConfigPrepare_SpotAuto --- PASS: TestRunConfigPrepare_SpotAuto (0.00s) === RUN TestRunConfigPrepare_SSHPort --- PASS: TestRunConfigPrepare_SSHPort (0.00s) === RUN TestRunConfigPrepare_UserData --- PASS: TestRunConfigPrepare_UserData (0.02s) === RUN TestRunConfigPrepare_UserDataFile --- PASS: TestRunConfigPrepare_UserDataFile (0.00s) === RUN TestRunConfigPrepare_TemporaryKeyPairName --- PASS: TestRunConfigPrepare_TemporaryKeyPairName (0.00s) === RUN TestRunConfigPrepare_TenancyBad --- PASS: TestRunConfigPrepare_TenancyBad (0.00s) === RUN TestRunConfigPrepare_TenancyGood --- PASS: TestRunConfigPrepare_TenancyGood (0.00s) === RUN TestSSHHost ssh_test.go:70: allowTries=1 vpcId= sshInterface= ok=true wantHost="public.dns.test" sshHostOverride= ssh_test.go:70: allowTries=1 vpcId= sshInterface=private_ip ok=true wantHost="10.0.0.1" sshHostOverride= ssh_test.go:70: allowTries=1 vpcId= sshInterface=session_manager ok=true wantHost="localhost" sshHostOverride= ssh_test.go:70: allowTries=1 vpcId=vpc-id sshInterface= ok=true wantHost="192.168.1.1" sshHostOverride= ssh_test.go:70: allowTries=1 vpcId=vpc-id sshInterface=private_ip ok=true wantHost="10.0.0.1" sshHostOverride= ssh_test.go:70: allowTries=1 vpcId=vpc-id sshInterface=private_dns ok=true wantHost="private.dns.test" sshHostOverride= ssh_test.go:70: allowTries=1 vpcId=vpc-id sshInterface=public_dns ok=true wantHost="public.dns.test" sshHostOverride= ssh_test.go:70: allowTries=1 vpcId=vpc-id sshInterface=public_ip ok=true wantHost="192.168.1.1" sshHostOverride= ssh_test.go:70: allowTries=1 vpcId=vpc-id sshInterface=session_manager ok=true wantHost="localhost" sshHostOverride= ssh_test.go:70: allowTries=2 vpcId= sshInterface= ok=true wantHost="public.dns.test" sshHostOverride= ssh_test.go:70: allowTries=2 vpcId= sshInterface=private_ip ok=true wantHost="10.0.0.1" sshHostOverride= ssh_test.go:70: allowTries=2 vpcId=vpc-id sshInterface= ok=true wantHost="192.168.1.1" sshHostOverride= ssh_test.go:70: allowTries=2 vpcId=vpc-id sshInterface=private_ip ok=true wantHost="10.0.0.1" sshHostOverride= ssh_test.go:70: allowTries=2 vpcId=vpc-id sshInterface=private_dns ok=true wantHost="private.dns.test" sshHostOverride= ssh_test.go:70: allowTries=2 vpcId=vpc-id sshInterface=public_dns ok=true wantHost="public.dns.test" sshHostOverride= ssh_test.go:70: allowTries=2 vpcId=vpc-id sshInterface=public_ip ok=true wantHost="192.168.1.1" sshHostOverride= ssh_test.go:70: allowTries=3 vpcId= sshInterface= ok=false wantHost="" sshHostOverride= ssh_test.go:70: allowTries=3 vpcId= sshInterface=private_ip ok=false wantHost="" sshHostOverride= ssh_test.go:70: allowTries=3 vpcId=vpc-id sshInterface= ok=false wantHost="" sshHostOverride= ssh_test.go:70: allowTries=3 vpcId=vpc-id sshInterface=private_ip ok=false wantHost="" sshHostOverride= ssh_test.go:70: allowTries=3 vpcId=vpc-id sshInterface=private_dns ok=false wantHost="" sshHostOverride= ssh_test.go:70: allowTries=3 vpcId=vpc-id sshInterface=public_dns ok=false wantHost="" sshHostOverride= ssh_test.go:70: allowTries=3 vpcId=vpc-id sshInterface=public_ip ok=false wantHost="" sshHostOverride= ssh_test.go:70: allowTries=1 vpcId= sshInterface= ok=true wantHost="custom.host.value" sshHostOverride=custom.host.value 2021/10/15 04:56:20 Using host value: custom.host.value ssh_test.go:70: allowTries=1 vpcId=vpc-id sshInterface= ok=true wantHost="custom.host.value" sshHostOverride=custom.host.value 2021/10/15 04:56:20 Using host value: custom.host.value ssh_test.go:70: allowTries=2 vpcId=vpc-id sshInterface=private_dns ok=true wantHost="custom.host.value" sshHostOverride=custom.host.value 2021/10/15 04:56:20 Using host value: custom.host.value --- PASS: TestSSHHost (0.01s) === RUN TestStepAMIRegionCopy_duplicates 2021/10/15 04:56:20 ui: Copying/Encrypting AMI (ami-12345) to other regions... 2021/10/15 04:56:20 ui: Copying to: us-east-1 2021/10/15 04:56:20 ui: Waiting for all copies to complete... 2021/10/15 04:56:20 ui: Copying/Encrypting AMI (ami-12345-copied-1) to other regions... 2021/10/15 04:56:20 ui: Copying to: us-east-1 2021/10/15 04:56:20 ui: Copying to: us-west-2 2021/10/15 04:56:20 ui: Copying to: ap-east-1 2021/10/15 04:56:20 ui: Waiting for all copies to complete... 2021/10/15 04:56:20 ui: Copying/Encrypting AMI (ami-12345-copied-1-copied-1) to other regions... 2021/10/15 04:56:20 ui: Copying to: us-west-2 2021/10/15 04:56:20 ui: Copying to: ap-east-1 2021/10/15 04:56:20 ui: Waiting for all copies to complete... --- PASS: TestStepAMIRegionCopy_duplicates (0.00s) === RUN TestStepAmiRegionCopy_nil_encryption --- PASS: TestStepAmiRegionCopy_nil_encryption (0.00s) === RUN TestStepAmiRegionCopy_true_encryption 2021/10/15 04:56:20 ui: Copying/Encrypting AMI (ami-12345) to other regions... 2021/10/15 04:56:20 ui: Copying to: us-east-1 2021/10/15 04:56:20 ui: Waiting for all copies to complete... --- PASS: TestStepAmiRegionCopy_true_encryption (0.00s) === RUN TestStepAmiRegionCopy_nil_intermediary --- PASS: TestStepAmiRegionCopy_nil_intermediary (0.00s) === RUN TestStepAmiRegionCopy_AMISkipBuildRegion 2021/10/15 04:56:20 ui: Copying/Encrypting AMI (ami-12345) to other regions... 2021/10/15 04:56:20 ui: Copying to: us-west-1 2021/10/15 04:56:20 ui: Waiting for all copies to complete... 2021/10/15 04:56:20 ui: Copying/Encrypting AMI (ami-12345) to other regions... 2021/10/15 04:56:20 ui: Copying to: us-west-1 2021/10/15 04:56:20 ui: Waiting for all copies to complete... 2021/10/15 04:56:20 ui: Copying/Encrypting AMI (ami-12345) to other regions... 2021/10/15 04:56:20 ui: Copying to: us-east-1 2021/10/15 04:56:20 ui: Copying to: us-west-1 2021/10/15 04:56:20 ui: Waiting for all copies to complete... 2021/10/15 04:56:20 ui: Copying/Encrypting AMI (ami-12345-copied-1) to other regions... 2021/10/15 04:56:20 ui: Copying to: us-west-1 2021/10/15 04:56:20 ui: Waiting for all copies to complete... --- PASS: TestStepAmiRegionCopy_AMISkipBuildRegion (0.00s) === RUN TestStepPreValidate_checkVpc === RUN TestStepPreValidate_checkVpc/DefaultVpc === RUN TestStepPreValidate_checkVpc/NonDefaultVpcNoSubnet === RUN TestStepPreValidate_checkVpc/NonDefaultVpcWithSubnet === RUN TestStepPreValidate_checkVpc/SubnetWithNoVpc === RUN TestStepPreValidate_checkVpc/NoVpcInformation === RUN TestStepPreValidate_checkVpc/NonDefaultVpcWithSubnetFilter --- PASS: TestStepPreValidate_checkVpc (0.00s) --- PASS: TestStepPreValidate_checkVpc/DefaultVpc (0.00s) --- PASS: TestStepPreValidate_checkVpc/NonDefaultVpcNoSubnet (0.00s) --- PASS: TestStepPreValidate_checkVpc/NonDefaultVpcWithSubnet (0.00s) --- PASS: TestStepPreValidate_checkVpc/SubnetWithNoVpc (0.00s) --- PASS: TestStepPreValidate_checkVpc/NoVpcInformation (0.00s) --- PASS: TestStepPreValidate_checkVpc/NonDefaultVpcWithSubnetFilter (0.00s) === RUN TestCreateTemplateData { Name: "" } --- PASS: TestCreateTemplateData (0.00s) === RUN TestCreateTemplateData_NoEphemeral 2021/10/15 04:56:20 no_ephemeral was set, so creating drives xvdca-xvdcz as empty mappings --- PASS: TestCreateTemplateData_NoEphemeral (0.00s) === RUN TestRun 2021/10/15 04:56:20 ui: Launching a spot AWS instance... 2021/10/15 04:56:20 ui: Interpolating tags for spot instance... 2021/10/15 04:56:20 ui: Adding tag: "Name": "Packer Builder" 2021/10/15 04:56:20 ui: Adding tag: "test-tag": "test-value" 2021/10/15 04:56:20 ui: Loading User Data File... 2021/10/15 04:56:20 ui: Creating Spot Fleet launch template... 2021/10/15 04:56:20 ui: Instance ID: test-instance-id 2021/10/15 04:56:20 ui: Adding tag: "spot-tag": "spot-tag-value" 2021/10/15 04:56:20 ui: Adding tags to source EBS Volumes 2021/10/15 04:56:20 ui: Adding tag: "volume-tag": "volume-tag-value" 2021/10/15 04:56:20 ui: [{ Resources: ["spot-id"], Tags: [{ Key: "spot-tag", Value: "spot-tag-value" }] } { Resources: ["test-instance-id"], Tags: [{ Key: "Name", Value: "Packer Builder" },{ Key: "test-tag", Value: "test-value" }] } { Resources: ["volume-id"], Tags: [{ Key: "volume-tag", Value: "volume-tag-value" }] }] --- PASS: TestRun (0.00s) === RUN TestRun_NoSpotTags 2021/10/15 04:56:20 ui: Launching a spot AWS instance... 2021/10/15 04:56:20 ui: Interpolating tags for spot instance... 2021/10/15 04:56:20 ui: Adding tag: "Name": "Packer Builder" 2021/10/15 04:56:20 ui: Adding tag: "test-tag": "test-value" 2021/10/15 04:56:20 ui: Loading User Data File... 2021/10/15 04:56:20 ui: Creating Spot Fleet launch template... 2021/10/15 04:56:20 ui: Instance ID: test-instance-id 2021/10/15 04:56:20 ui: Adding tags to source EBS Volumes 2021/10/15 04:56:20 ui: Adding tag: "volume-tag": "volume-tag-value" --- PASS: TestRun_NoSpotTags (0.00s) === RUN TestStepSourceAmiInfo_PVImage --- PASS: TestStepSourceAmiInfo_PVImage (0.00s) === RUN TestStepSourceAmiInfo_HVMImage --- PASS: TestStepSourceAmiInfo_HVMImage (0.00s) === RUN TestStepSourceAmiInfo_PVImageWithAMIVirtPV --- PASS: TestStepSourceAmiInfo_PVImageWithAMIVirtPV (0.00s) === RUN TestStepSourceAmiInfo_PVImageWithAMIVirtHVM --- PASS: TestStepSourceAmiInfo_PVImageWithAMIVirtHVM (0.00s) === RUN TestAMITemplatePrepare_clean --- PASS: TestAMITemplatePrepare_clean (0.00s) PASS ok github.com/hashicorp/packer/builder/amazon/common 0.376s ? github.com/hashicorp/packer/builder/amazon/common/awserrors [no test files] ? github.com/hashicorp/packer/builder/amazon/common/ssm [no test files] === RUN TestBuilderAcc_basic testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_basic (0.00s) === RUN TestBuilderAcc_regionCopy testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_regionCopy (0.00s) === RUN TestBuilderAcc_forceDeregister testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_forceDeregister (0.00s) === RUN TestBuilderAcc_forceDeleteSnapshot testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_forceDeleteSnapshot (0.00s) === RUN TestBuilderAcc_amiSharing testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_amiSharing (0.00s) === RUN TestBuilderAcc_encryptedBoot testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_encryptedBoot (0.00s) === RUN TestBuilderAcc_SessionManagerInterface testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_SessionManagerInterface (0.00s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilder_Prepare_BadType --- PASS: TestBuilder_Prepare_BadType (0.00s) === RUN TestBuilderPrepare_AMIName 2021/10/15 04:56:16 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:56:16 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_AMIName (0.10s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.00s) === RUN TestBuilderPrepare_InvalidShutdownBehavior 2021/10/15 04:56:16 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:56:16 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:56:16 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_InvalidShutdownBehavior (0.00s) === RUN TestBuilderPrepare_ReturnGeneratedData 2021/10/15 04:56:16 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_ReturnGeneratedData (0.00s) === RUN TestBuilderTagsAcc_basic testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderTagsAcc_basic (0.00s) PASS ok github.com/hashicorp/packer/builder/amazon/ebs 0.373s ? github.com/hashicorp/packer/builder/amazon/ebs/acceptance [no test files] === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilder_Prepare_BadType --- PASS: TestBuilder_Prepare_BadType (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.00s) === RUN TestBuilderPrepare_ReturnGeneratedData 2021/10/15 04:56:46 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_ReturnGeneratedData (0.01s) === RUN TestStepRegisterAmi_combineDevices --- PASS: TestStepRegisterAmi_combineDevices (0.00s) PASS ok github.com/hashicorp/packer/builder/amazon/ebssurrogate 0.595s === RUN TestArtifactState --- PASS: TestArtifactState (0.00s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilder_Prepare_BadType --- PASS: TestBuilder_Prepare_BadType (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.01s) === RUN TestBuilderPrepare_InvalidShutdownBehavior 2021/10/15 04:56:51 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:56:51 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:56:51 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_InvalidShutdownBehavior (0.09s) === RUN TestBuilderPrepare_ReturnGeneratedData 2021/10/15 04:56:51 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_ReturnGeneratedData (0.00s) PASS ok github.com/hashicorp/packer/builder/amazon/ebsvolume 0.369s === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilderPrepare_AccountId 2021/10/15 04:57:22 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_AccountId (0.29s) === RUN TestBuilderPrepare_AMIName 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_AMIName (0.09s) === RUN TestBuilderPrepare_BundleDestination 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_BundleDestination (0.00s) === RUN TestBuilderPrepare_BundlePrefix 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_BundlePrefix (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.10s) === RUN TestBuilderPrepare_S3Bucket 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_S3Bucket (0.02s) === RUN TestBuilderPrepare_X509CertPath 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_X509CertPath (0.08s) === RUN TestBuilderPrepare_X509KeyPath 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_X509KeyPath (0.08s) === RUN TestBuilderPrepare_X509UploadPath 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_X509UploadPath (0.00s) === RUN TestBuilderPrepare_ReturnGeneratedData 2021/10/15 04:57:23 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS or the configuration options aws_polling_delay_seconds and aws_polling_max_attempts to your desired values. --- PASS: TestBuilderPrepare_ReturnGeneratedData (0.10s) PASS ok github.com/hashicorp/packer/builder/amazon/instance 1.105s ? github.com/hashicorp/packer/builder/amazon/version [no test files] === RUN TestArtifactIdVHD --- PASS: TestArtifactIdVHD (0.00s) === RUN TestArtifactIDManagedImage --- PASS: TestArtifactIDManagedImage (0.00s) === RUN TestArtifactIDManagedImageWithoutOSDiskSnapshotName --- PASS: TestArtifactIDManagedImageWithoutOSDiskSnapshotName (0.00s) === RUN TestArtifactIDManagedImageWithoutDataDiskSnapshotPrefix --- PASS: TestArtifactIDManagedImageWithoutDataDiskSnapshotPrefix (0.00s) === RUN TestArtifactIDManagedImageWithSharedImageGalleryId --- PASS: TestArtifactIDManagedImageWithSharedImageGalleryId (0.00s) === RUN TestArtifactString --- PASS: TestArtifactString (0.00s) === RUN TestAdditionalDiskArtifactString --- PASS: TestAdditionalDiskArtifactString (0.00s) === RUN TestArtifactProperties --- PASS: TestArtifactProperties (0.00s) === RUN TestAdditionalDiskArtifactProperties --- PASS: TestAdditionalDiskArtifactProperties (0.00s) === RUN TestArtifactOverHyphenatedCaptureUri --- PASS: TestArtifactOverHyphenatedCaptureUri (0.00s) === RUN TestArtifactRejectMalformedTemplates --- PASS: TestArtifactRejectMalformedTemplates (0.00s) === RUN TestArtifactRejectMalformedStorageUri --- PASS: TestArtifactRejectMalformedStorageUri (0.00s) === RUN TestArtifactState_StateData --- PASS: TestArtifactState_StateData (0.00s) === RUN TestAzureErrorSimpleShouldUnmarshal --- PASS: TestAzureErrorSimpleShouldUnmarshal (0.00s) === RUN TestAzureErrorNestedShouldUnmarshal --- PASS: TestAzureErrorNestedShouldUnmarshal (0.00s) === RUN TestAzureErrorEmptyShouldFormat --- PASS: TestAzureErrorEmptyShouldFormat (0.00s) === RUN TestAzureErrorSimpleShouldFormat --- PASS: TestAzureErrorSimpleShouldFormat (0.00s) === RUN TestAzureErrorNestedShouldFormat --- PASS: TestAzureErrorNestedShouldFormat (0.00s) === RUN TestBuilderAcc_ManagedDisk_Windows testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_ManagedDisk_Windows (0.00s) === RUN TestBuilderAcc_ManagedDisk_Windows_Build_Resource_Group testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_ManagedDisk_Windows_Build_Resource_Group (0.00s) === RUN TestBuilderAcc_ManagedDisk_Windows_Build_Resource_Group_Additional_Disk testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_ManagedDisk_Windows_Build_Resource_Group_Additional_Disk (0.00s) === RUN TestBuilderAcc_ManagedDisk_Windows_DeviceLogin builder_acc_test.go:59: Device Login Acceptance tests skipped unless env 'DEVICELOGIN_TEST' set, as its requires manual step during execution --- SKIP: TestBuilderAcc_ManagedDisk_Windows_DeviceLogin (0.00s) === RUN TestBuilderAcc_ManagedDisk_Linux testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_ManagedDisk_Linux (0.00s) === RUN TestBuilderAcc_ManagedDisk_Linux_DeviceLogin builder_acc_test.go:81: Device Login Acceptance tests skipped unless env 'DEVICELOGIN_TEST' set, as its requires manual step during execution --- SKIP: TestBuilderAcc_ManagedDisk_Linux_DeviceLogin (0.00s) === RUN TestBuilderAcc_ManagedDisk_Linux_AzureCLI builder_acc_test.go:95: Azure CLI Acceptance tests skipped unless env 'AZURE_CLI_AUTH' is set, and an active `az login` session has been established --- SKIP: TestBuilderAcc_ManagedDisk_Linux_AzureCLI (0.00s) === RUN TestBuilderAcc_Blob_Windows testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_Blob_Windows (0.00s) === RUN TestBuilderAcc_Blob_Linux testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_Blob_Linux (0.00s) === RUN TestStateBagShouldBePopulatedExpectedValues --- PASS: TestStateBagShouldBePopulatedExpectedValues (0.00s) === RUN TestStateBagShouldPoluateExpectedTags --- PASS: TestStateBagShouldPoluateExpectedTags (0.00s) === RUN TestCaptureParseJson --- PASS: TestCaptureParseJson (0.00s) === RUN TestCaptureEmptyOperationJson --- PASS: TestCaptureEmptyOperationJson (0.00s) === RUN TestConfigShouldProvideReasonableDefaultValues --- PASS: TestConfigShouldProvideReasonableDefaultValues (0.01s) === RUN TestConfigUserNameOverride --- PASS: TestConfigUserNameOverride (6.36s) === RUN TestConfigShouldBeAbleToOverrideDefaultedValues --- PASS: TestConfigShouldBeAbleToOverrideDefaultedValues (4.31s) === RUN TestConfigShouldDefaultVMSizeToStandardA1 --- PASS: TestConfigShouldDefaultVMSizeToStandardA1 (0.00s) === RUN TestConfigShouldDefaultImageVersionToLatest --- PASS: TestConfigShouldDefaultImageVersionToLatest (0.11s) === RUN TestConfigShouldNotDefaultImageVersionIfCustomImage --- PASS: TestConfigShouldNotDefaultImageVersionIfCustomImage (0.01s) === RUN TestConfigShouldNormalizeOSTypeCase --- PASS: TestConfigShouldNormalizeOSTypeCase (0.10s) === RUN TestConfigShouldRejectCustomImageAndMarketPlace --- PASS: TestConfigShouldRejectCustomImageAndMarketPlace (0.06s) === RUN TestConfigVirtualNetworkNameIsOptional --- PASS: TestConfigVirtualNetworkNameIsOptional (0.00s) === RUN TestConfigVirtualNetworkResourceGroupNameMustBeSetWithVirtualNetworkName --- PASS: TestConfigVirtualNetworkResourceGroupNameMustBeSetWithVirtualNetworkName (0.03s) === RUN TestConfigVirtualNetworkSubnetNameMustBeSetWithVirtualNetworkName --- PASS: TestConfigVirtualNetworkSubnetNameMustBeSetWithVirtualNetworkName (0.00s) === RUN TestConfigAllowedInboundIpAddressesIsOptional --- PASS: TestConfigAllowedInboundIpAddressesIsOptional (0.00s) === RUN TestConfigShouldAcceptCorrectInboundIpAddresses --- PASS: TestConfigShouldAcceptCorrectInboundIpAddresses (0.10s) === RUN TestConfigShouldRejectIncorrectInboundIpAddresses --- PASS: TestConfigShouldRejectIncorrectInboundIpAddresses (0.01s) === RUN TestConfigShouldRejectInboundIpAddressesWithVirtualNetwork --- PASS: TestConfigShouldRejectInboundIpAddressesWithVirtualNetwork (0.06s) === RUN TestConfigShouldDefaultToPublicCloud --- PASS: TestConfigShouldDefaultToPublicCloud (0.10s) === RUN TestConfigInstantiatesCorrectAzureEnvironment --- PASS: TestConfigInstantiatesCorrectAzureEnvironment (0.38s) === RUN TestUserShouldProvideRequiredValues --- PASS: TestUserShouldProvideRequiredValues (0.41s) === RUN TestSystemShouldDefineRuntimeValues --- PASS: TestSystemShouldDefineRuntimeValues (0.01s) === RUN TestConfigShouldTransformToVirtualMachineCaptureParameters --- PASS: TestConfigShouldTransformToVirtualMachineCaptureParameters (0.00s) === RUN TestConfigShouldSupportPackersConfigElements --- PASS: TestConfigShouldSupportPackersConfigElements (0.00s) === RUN TestWinRMConfigShouldSetRoundTripDecorator --- PASS: TestWinRMConfigShouldSetRoundTripDecorator (2.41s) === RUN TestUserDeviceLoginIsEnabledForLinux --- PASS: TestUserDeviceLoginIsEnabledForLinux (0.08s) === RUN TestConfigShouldRejectMalformedCaptureNamePrefix --- PASS: TestConfigShouldRejectMalformedCaptureNamePrefix (0.32s) === RUN TestConfigShouldRejectMalformedCaptureContainerName --- PASS: TestConfigShouldRejectMalformedCaptureContainerName (0.28s) === RUN TestConfigShouldRejectMalformedManagedImageOSDiskSnapshotName --- PASS: TestConfigShouldRejectMalformedManagedImageOSDiskSnapshotName (0.20s) === RUN TestConfigShouldRejectMalformedManagedImageDataDiskSnapshotPrefix --- PASS: TestConfigShouldRejectMalformedManagedImageDataDiskSnapshotPrefix (0.29s) === RUN TestConfigShouldAcceptTags --- PASS: TestConfigShouldAcceptTags (0.00s) === RUN TestConfigShouldAcceptTag --- PASS: TestConfigShouldAcceptTag (0.01s) === RUN TestConfigShouldRejectTagsInExcessOf15AcceptTags --- PASS: TestConfigShouldRejectTagsInExcessOf15AcceptTags (0.02s) === RUN TestConfigShouldRejectExcessiveTagNameLength --- PASS: TestConfigShouldRejectExcessiveTagNameLength (0.09s) === RUN TestConfigShouldRejectExcessiveTagValueLength --- PASS: TestConfigShouldRejectExcessiveTagValueLength (0.00s) === RUN TestConfigZoneResilientShouldDefaultToFalse --- PASS: TestConfigZoneResilientShouldDefaultToFalse (2.50s) === RUN TestConfigZoneResilientSetFromConfig --- PASS: TestConfigZoneResilientSetFromConfig (5.60s) === RUN TestConfigShouldRejectMissingCustomDataFile --- PASS: TestConfigShouldRejectMissingCustomDataFile (0.01s) === RUN TestConfigShouldRejectManagedImageOSDiskSnapshotNameWithoutManagedImageName --- PASS: TestConfigShouldRejectManagedImageOSDiskSnapshotNameWithoutManagedImageName (0.00s) === RUN TestConfigShouldRejectManagedImageOSDiskSnapshotNameWithoutManagedImageResourceGroupName --- PASS: TestConfigShouldRejectManagedImageOSDiskSnapshotNameWithoutManagedImageResourceGroupName (0.07s) === RUN TestConfigShouldRejectImageDataDiskSnapshotPrefixWithoutManagedImageName --- PASS: TestConfigShouldRejectImageDataDiskSnapshotPrefixWithoutManagedImageName (0.03s) === RUN TestConfigShouldRejectImageDataDiskSnapshotPrefixWithoutManagedImageResourceGroupName --- PASS: TestConfigShouldRejectImageDataDiskSnapshotPrefixWithoutManagedImageResourceGroupName (0.00s) === RUN TestConfigShouldAcceptManagedImageOSDiskSnapshotNameAndManagedImageDataDiskSnapshotPrefix --- PASS: TestConfigShouldAcceptManagedImageOSDiskSnapshotNameAndManagedImageDataDiskSnapshotPrefix (0.07s) === RUN TestConfigShouldRejectManagedImageOSDiskSnapshotNameAndManagedImageDataDiskSnapshotPrefixWithCaptureContainerName --- PASS: TestConfigShouldRejectManagedImageOSDiskSnapshotNameAndManagedImageDataDiskSnapshotPrefixWithCaptureContainerName (0.02s) === RUN TestConfigShouldRejectManagedImageOSDiskSnapshotNameAndManagedImageDataDiskSnapshotPrefixWithCaptureNamePrefix --- PASS: TestConfigShouldRejectManagedImageOSDiskSnapshotNameAndManagedImageDataDiskSnapshotPrefixWithCaptureNamePrefix (0.00s) === RUN TestConfigShouldAcceptPlatformManagedImageBuild --- PASS: TestConfigShouldAcceptPlatformManagedImageBuild (0.01s) === RUN TestConfigShouldRejectVhdAndManagedImageOutput --- PASS: TestConfigShouldRejectVhdAndManagedImageOutput (0.07s) === RUN TestConfigShouldRejectManagedImageSourceAndVhdOutput --- PASS: TestConfigShouldRejectManagedImageSourceAndVhdOutput (0.02s) === RUN TestConfigShouldRejectCustomAndPlatformManagedImageBuild --- PASS: TestConfigShouldRejectCustomAndPlatformManagedImageBuild (0.00s) === RUN TestConfigShouldRejectCustomAndImageUrlForManagedImageBuild --- PASS: TestConfigShouldRejectCustomAndImageUrlForManagedImageBuild (0.00s) === RUN TestConfigShouldRejectMalformedManageImageStorageAccountTypes --- PASS: TestConfigShouldRejectMalformedManageImageStorageAccountTypes (0.00s) === RUN TestConfigShouldRejectMalformedDiskCachingType --- PASS: TestConfigShouldRejectMalformedDiskCachingType (0.00s) === RUN TestConfigShouldAcceptManagedImageStorageAccountTypes --- PASS: TestConfigShouldAcceptManagedImageStorageAccountTypes (0.02s) === RUN TestConfigShouldAcceptDiskCachingTypes --- PASS: TestConfigShouldAcceptDiskCachingTypes (0.07s) === RUN TestConfigShouldRejectTempAndBuildResourceGroupName --- PASS: TestConfigShouldRejectTempAndBuildResourceGroupName (0.01s) === RUN TestConfigShouldRejectInvalidResourceGroupNames --- PASS: TestConfigShouldRejectInvalidResourceGroupNames (0.62s) === RUN TestConfigShouldRejectManagedDiskNames --- PASS: TestConfigShouldRejectManagedDiskNames (0.56s) === RUN TestConfigAdditionalDiskDefaultIsNil --- PASS: TestConfigAdditionalDiskDefaultIsNil (0.00s) === RUN TestConfigAdditionalDiskOverrideDefault --- PASS: TestConfigAdditionalDiskOverrideDefault (0.01s) === RUN TestPlanInfoConfiguration --- PASS: TestPlanInfoConfiguration (0.10s) === RUN TestPlanInfoPromotionCode --- PASS: TestPlanInfoPromotionCode (0.00s) === RUN TestPlanInfoTooManyTagsErrors --- PASS: TestPlanInfoTooManyTagsErrors (0.02s) === RUN TestConfigShouldAllowTempNameOverrides --- PASS: TestConfigShouldAllowTempNameOverrides (0.17s) === RUN TestConfigShouldAllowAsyncResourceGroupOverride --- PASS: TestConfigShouldAllowAsyncResourceGroupOverride (0.01s) === RUN TestConfigShouldAllowAsyncResourceGroupOverrideNoValue --- PASS: TestConfigShouldAllowAsyncResourceGroupOverrideNoValue (0.02s) === RUN TestConfigShouldAllowAsyncResourceGroupOverrideBadValue config_test.go:1932: newConfig failed which is expected 1 error(s) decoding: * cannot parse 'async_resourcegroup_delete' as bool: strconv.ParseBool: parsing "asdasda": invalid syntax --- PASS: TestConfigShouldAllowAsyncResourceGroupOverrideBadValue (0.07s) === RUN TestConfigShouldAllowSharedImageGalleryOptions --- PASS: TestConfigShouldAllowSharedImageGalleryOptions (2.80s) === RUN TestConfigShouldRejectSharedImageGalleryWithVhdTarget config_test.go:1979: expected an error if Shared Image Gallery source is used with VHD target 2 error(s) occurred: * VHD Target [capture_container_name] is not supported when using Shared Image Gallery as source. Use managed_image_resource_group_name instead. * VHD Target [capture_name_prefix] is not supported when using Shared Image Gallery as source. Use managed_image_name instead. --- PASS: TestConfigShouldRejectSharedImageGalleryWithVhdTarget (4.52s) === RUN Test_GivenZoneNotSupportingResiliency_ConfigValidate_ShouldWarn --- PASS: Test_GivenZoneNotSupportingResiliency_ConfigValidate_ShouldWarn (0.01s) === RUN Test_GivenZoneSupportingResiliency_ConfigValidate_ShouldNotWarn --- PASS: Test_GivenZoneSupportingResiliency_ConfigValidate_ShouldNotWarn (0.07s) === RUN TestConfig_PrepareProvidedWinRMPassword === RUN TestConfig_PrepareProvidedWinRMPassword/password_should_be_longer_than_8_characters === RUN TestConfig_PrepareProvidedWinRMPassword/password_should_be_shorter_than_123_characters === RUN TestConfig_PrepareProvidedWinRMPassword/password_should_have_valid_size_but_only_lower_and_upper_case_letters === RUN TestConfig_PrepareProvidedWinRMPassword/password_should_have_valid_size_but_only_digits_and_upper_case_letters === RUN TestConfig_PrepareProvidedWinRMPassword/password_should_have_valid_size,_digits,_upper_and_lower_case_letters === RUN TestConfig_PrepareProvidedWinRMPassword/password_should_have_valid_size,_digits,_special_characters_and_lower_case_letters --- PASS: TestConfig_PrepareProvidedWinRMPassword (5.21s) --- PASS: TestConfig_PrepareProvidedWinRMPassword/password_should_be_longer_than_8_characters (0.01s) --- PASS: TestConfig_PrepareProvidedWinRMPassword/password_should_be_shorter_than_123_characters (0.00s) --- PASS: TestConfig_PrepareProvidedWinRMPassword/password_should_have_valid_size_but_only_lower_and_upper_case_letters (0.08s) --- PASS: TestConfig_PrepareProvidedWinRMPassword/password_should_have_valid_size_but_only_digits_and_upper_case_letters (0.01s) --- PASS: TestConfig_PrepareProvidedWinRMPassword/password_should_have_valid_size,_digits,_upper_and_lower_case_letters (1.69s) --- PASS: TestConfig_PrepareProvidedWinRMPassword/password_should_have_valid_size,_digits,_special_characters_and_lower_case_letters (3.41s) === RUN TestConfigShouldRejectMalformedUserAssignedManagedIdentities --- PASS: TestConfigShouldRejectMalformedUserAssignedManagedIdentities (0.19s) === RUN TestFart --- PASS: TestFart (0.00s) === RUN TestAuthorizedKeyShouldParse --- PASS: TestAuthorizedKeyShouldParse (0.22s) === RUN TestPrivateKeyShouldParse --- PASS: TestPrivateKeyShouldParse (0.17s) === RUN TestResourceResolverIgnoresEmptyVirtualNetworkName --- PASS: TestResourceResolverIgnoresEmptyVirtualNetworkName (0.01s) === RUN TestResourceResolverIgnoresSetVirtualNetwork --- PASS: TestResourceResolverIgnoresSetVirtualNetwork (0.08s) === RUN TestResourceResolverSetVirtualNetworkResourceGroupName --- PASS: TestResourceResolverSetVirtualNetworkResourceGroupName (0.01s) === RUN TestStepCaptureImageShouldFailIfCaptureFails --- PASS: TestStepCaptureImageShouldFailIfCaptureFails (0.00s) === RUN TestStepCaptureImageShouldPassIfCapturePasses --- PASS: TestStepCaptureImageShouldPassIfCapturePasses (0.00s) === RUN TestStepCaptureImageShouldTakeStepArgumentsFromStateBag --- PASS: TestStepCaptureImageShouldTakeStepArgumentsFromStateBag (0.00s) === RUN TestNewStepCertificateInKeyVault 2021/10/15 04:58:08 ui: Setting the certificate in the KeyVault... --- PASS: TestNewStepCertificateInKeyVault (0.00s) === RUN TestNewStepCertificateInKeyVault_error 2021/10/15 04:58:08 ui: Setting the certificate in the KeyVault... 2021/10/15 04:58:08 ui error: Error setting winrm cert in custom keyvault: generic error!! --- PASS: TestNewStepCertificateInKeyVault_error (0.00s) === RUN TestStepCreateResourceGroupShouldFailIfBothGroupNames --- PASS: TestStepCreateResourceGroupShouldFailIfBothGroupNames (0.00s) === RUN TestStepCreateResourceGroupShouldFailIfCreateFails --- PASS: TestStepCreateResourceGroupShouldFailIfCreateFails (0.00s) === RUN TestStepCreateResourceGroupShouldFailIfExistsFails --- PASS: TestStepCreateResourceGroupShouldFailIfExistsFails (0.00s) === RUN TestStepCreateResourceGroupShouldPassIfCreatePasses --- PASS: TestStepCreateResourceGroupShouldPassIfCreatePasses (0.00s) === RUN TestStepCreateResourceGroupShouldTakeStepArgumentsFromStateBag --- PASS: TestStepCreateResourceGroupShouldTakeStepArgumentsFromStateBag (0.00s) === RUN TestStepCreateResourceGroupMarkShouldFailIfTryingExistingButDoesntExist --- PASS: TestStepCreateResourceGroupMarkShouldFailIfTryingExistingButDoesntExist (0.00s) === RUN TestStepCreateResourceGroupMarkShouldFailIfTryingTempButExist --- PASS: TestStepCreateResourceGroupMarkShouldFailIfTryingTempButExist (0.00s) === RUN TestStepCreateResourceGroupShouldFailIfTagsFailCast --- PASS: TestStepCreateResourceGroupShouldFailIfTagsFailCast (0.00s) === RUN TestStepDeleteAdditionalDiskShouldFailIfGetFails --- PASS: TestStepDeleteAdditionalDiskShouldFailIfGetFails (0.01s) === RUN TestStepDeleteAdditionalDiskShouldPassIfGetPasses --- PASS: TestStepDeleteAdditionalDiskShouldPassIfGetPasses (0.00s) === RUN TestStepDeleteAdditionalDiskShouldTakeStepArgumentsFromStateBag --- PASS: TestStepDeleteAdditionalDiskShouldTakeStepArgumentsFromStateBag (0.00s) === RUN TestStepDeleteAdditionalDiskShouldHandleComplexStorageContainerNames --- PASS: TestStepDeleteAdditionalDiskShouldHandleComplexStorageContainerNames (0.00s) === RUN TestStepDeleteAdditionalDiskShouldFailIfVHDNameCannotBeURLParsed --- PASS: TestStepDeleteAdditionalDiskShouldFailIfVHDNameCannotBeURLParsed (0.00s) === RUN TestStepDeleteAdditionalDiskShouldFailIfVHDNameIsTooShort --- PASS: TestStepDeleteAdditionalDiskShouldFailIfVHDNameIsTooShort (0.00s) === RUN TestStepDeleteAdditionalDiskShouldPassIfManagedDiskInTempResourceGroup --- PASS: TestStepDeleteAdditionalDiskShouldPassIfManagedDiskInTempResourceGroup (0.00s) === RUN TestStepDeleteAdditionalDiskShouldFailIfManagedDiskInExistingResourceGroupFailsToDelete --- PASS: TestStepDeleteAdditionalDiskShouldFailIfManagedDiskInExistingResourceGroupFailsToDelete (0.00s) === RUN TestStepDeleteAdditionalDiskShouldFailIfManagedDiskInExistingResourceGroupIsDeleted --- PASS: TestStepDeleteAdditionalDiskShouldFailIfManagedDiskInExistingResourceGroupIsDeleted (0.00s) === RUN TestStepDeployTemplateShouldFailIfDeployFails --- PASS: TestStepDeployTemplateShouldFailIfDeployFails (0.00s) === RUN TestStepDeployTemplateShouldPassIfDeployPasses --- PASS: TestStepDeployTemplateShouldPassIfDeployPasses (0.00s) === RUN TestStepDeployTemplateShouldTakeStepArgumentsFromStateBag --- PASS: TestStepDeployTemplateShouldTakeStepArgumentsFromStateBag (0.00s) === RUN TestStepDeployTemplateDeleteImageShouldFailWhenImageUrlCannotBeParsed --- PASS: TestStepDeployTemplateDeleteImageShouldFailWhenImageUrlCannotBeParsed (0.00s) === RUN TestStepDeployTemplateDeleteImageShouldFailWithInvalidImage --- PASS: TestStepDeployTemplateDeleteImageShouldFailWithInvalidImage (0.00s) === RUN TestStepGetAdditionalDiskShouldFailIfGetFails --- PASS: TestStepGetAdditionalDiskShouldFailIfGetFails (0.00s) === RUN TestStepGetAdditionalDiskShouldPassIfGetPasses --- PASS: TestStepGetAdditionalDiskShouldPassIfGetPasses (0.00s) === RUN TestStepGetAdditionalDiskShouldTakeValidateArgumentsFromStateBag --- PASS: TestStepGetAdditionalDiskShouldTakeValidateArgumentsFromStateBag (0.00s) === RUN TestStepGetCertificateShouldFailIfGetFails --- PASS: TestStepGetCertificateShouldFailIfGetFails (0.00s) === RUN TestStepGetCertificateShouldPassIfGetPasses --- PASS: TestStepGetCertificateShouldPassIfGetPasses (0.00s) === RUN TestStepGetCertificateShouldTakeStepArgumentsFromStateBag --- PASS: TestStepGetCertificateShouldTakeStepArgumentsFromStateBag (0.00s) === RUN TestStepGetIPAddressShouldFailIfGetFails --- PASS: TestStepGetIPAddressShouldFailIfGetFails (0.00s) === RUN TestStepGetIPAddressShouldPassIfGetPasses --- PASS: TestStepGetIPAddressShouldPassIfGetPasses (0.00s) === RUN TestStepGetIPAddressShouldTakeStepArgumentsFromStateBag --- PASS: TestStepGetIPAddressShouldTakeStepArgumentsFromStateBag (0.00s) === RUN TestStepGetOSDiskShouldFailIfGetFails --- PASS: TestStepGetOSDiskShouldFailIfGetFails (0.00s) === RUN TestStepGetOSDiskShouldPassIfGetPasses --- PASS: TestStepGetOSDiskShouldPassIfGetPasses (0.00s) === RUN TestStepGetOSDiskShouldTakeValidateArgumentsFromStateBag --- PASS: TestStepGetOSDiskShouldTakeValidateArgumentsFromStateBag (0.00s) === RUN TestStepPowerOffComputeShouldFailIfPowerOffFails --- PASS: TestStepPowerOffComputeShouldFailIfPowerOffFails (0.00s) === RUN TestStepPowerOffComputeShouldPassIfPowerOffPasses --- PASS: TestStepPowerOffComputeShouldPassIfPowerOffPasses (0.00s) === RUN TestStepPowerOffComputeShouldTakeStepArgumentsFromStateBag --- PASS: TestStepPowerOffComputeShouldTakeStepArgumentsFromStateBag (0.00s) === RUN TestStepPublishToSharedImageGalleryShouldNotPublishForVhd --- PASS: TestStepPublishToSharedImageGalleryShouldNotPublishForVhd (0.00s) === RUN TestStepPublishToSharedImageGalleryShouldPublishForManagedImageWithSig --- PASS: TestStepPublishToSharedImageGalleryShouldPublishForManagedImageWithSig (0.00s) === RUN TestStepSetCertificateShouldPassIfGetPasses --- PASS: TestStepSetCertificateShouldPassIfGetPasses (0.00s) === RUN TestStepSetCertificateShouldTakeStepArgumentsFromStateBag --- PASS: TestStepSetCertificateShouldTakeStepArgumentsFromStateBag (0.00s) === RUN TestStepSnapshotDataDisksShouldFailIfSnapshotFails --- PASS: TestStepSnapshotDataDisksShouldFailIfSnapshotFails (0.00s) === RUN TestStepSnapshotDataDisksShouldNotExecute --- PASS: TestStepSnapshotDataDisksShouldNotExecute (0.00s) === RUN TestStepSnapshotDataDisksShouldPassIfSnapshotPasses --- PASS: TestStepSnapshotDataDisksShouldPassIfSnapshotPasses (0.00s) === RUN TestStepSnapshotOSDiskShouldFailIfSnapshotFails --- PASS: TestStepSnapshotOSDiskShouldFailIfSnapshotFails (0.00s) === RUN TestStepSnapshotOSDiskShouldNotExecute --- PASS: TestStepSnapshotOSDiskShouldNotExecute (0.00s) === RUN TestStepSnapshotOSDiskShouldPassIfSnapshotPasses --- PASS: TestStepSnapshotOSDiskShouldPassIfSnapshotPasses (0.00s) === RUN TestProcessStepResultShouldContinueForNonErrors --- PASS: TestProcessStepResultShouldContinueForNonErrors (0.00s) === RUN TestProcessStepResultShouldHaltOnError --- PASS: TestProcessStepResultShouldHaltOnError (0.00s) === RUN TestStepValidateTemplateShouldFailIfValidateFails --- PASS: TestStepValidateTemplateShouldFailIfValidateFails (0.00s) === RUN TestStepValidateTemplateShouldPassIfValidatePasses --- PASS: TestStepValidateTemplateShouldPassIfValidatePasses (0.00s) === RUN TestStepValidateTemplateShouldTakeStepArgumentsFromStateBag --- PASS: TestStepValidateTemplateShouldTakeStepArgumentsFromStateBag (0.00s) === RUN TestVirtualMachineDeployment00 --- PASS: TestVirtualMachineDeployment00 (0.21s) === RUN TestVirtualMachineDeployment01 --- PASS: TestVirtualMachineDeployment01 (0.00s) === RUN TestVirtualMachineDeployment02 --- PASS: TestVirtualMachineDeployment02 (0.00s) === RUN TestVirtualMachineDeployment03 --- PASS: TestVirtualMachineDeployment03 (0.01s) === RUN TestVirtualMachineDeployment04 --- PASS: TestVirtualMachineDeployment04 (0.09s) === RUN TestVirtualMachineDeployment05 --- PASS: TestVirtualMachineDeployment05 (0.08s) === RUN TestVirtualMachineDeployment06 --- PASS: TestVirtualMachineDeployment06 (0.01s) === RUN TestVirtualMachineDeployment07 --- PASS: TestVirtualMachineDeployment07 (0.02s) === RUN TestVirtualMachineDeployment08 --- PASS: TestVirtualMachineDeployment08 (0.08s) === RUN TestVirtualMachineDeployment09 --- PASS: TestVirtualMachineDeployment09 (0.01s) === RUN TestVirtualMachineDeployment10 --- PASS: TestVirtualMachineDeployment10 (0.01s) === RUN TestVirtualMachineDeployment11 --- PASS: TestVirtualMachineDeployment11 (0.09s) === RUN TestVirtualMachineDeployment12 --- PASS: TestVirtualMachineDeployment12 (0.01s) === RUN TestVirtualMachineDeployment13 --- PASS: TestVirtualMachineDeployment13 (4.29s) === RUN TestVirtualMachineDeployment14 --- PASS: TestVirtualMachineDeployment14 (0.09s) === RUN TestKeyVaultDeployment00 --- PASS: TestKeyVaultDeployment00 (0.00s) === RUN TestKeyVaultDeployment01 --- PASS: TestKeyVaultDeployment01 (0.00s) === RUN TestKeyVaultDeployment02 --- PASS: TestKeyVaultDeployment02 (2.09s) === RUN TestKeyVaultDeployment03 --- PASS: TestKeyVaultDeployment03 (4.81s) === RUN TestPlanInfo01 --- PASS: TestPlanInfo01 (0.09s) === RUN TestPlanInfo02 --- PASS: TestPlanInfo02 (0.02s) === RUN TestTempNameShouldCreatePrefixedRandomNames --- PASS: TestTempNameShouldCreatePrefixedRandomNames (0.00s) === RUN TestTempAdminPassword --- PASS: TestTempAdminPassword (0.00s) === RUN TestTempNameShouldHaveSameSuffix --- PASS: TestTempNameShouldHaveSameSuffix (0.00s) === RUN TestTempNameShouldCreateCustomPrefix --- PASS: TestTempNameShouldCreateCustomPrefix (0.00s) PASS ok github.com/hashicorp/packer/builder/azure/arm 52.186s === RUN TestBuilder_Prepare === RUN TestBuilder_Prepare/platform_image_to_managed_disk 2021/10/15 04:57:21 Source is platform image: credativ:Debian:9:latest === RUN TestBuilder_Prepare/disk_to_managed_image,_validate_temp_disk_id_expansion 2021/10/15 04:57:21 Source is a disk resource ID: /subscriptions/789/resourceGroups/testrg/providers/Microsoft.Compute/disks/diskname === RUN TestBuilder_Prepare/disk_to_both_managed_image_and_shared_image 2021/10/15 04:57:21 Source is a disk resource ID: /subscriptions/789/resourceGroups/testrg/providers/Microsoft.Compute/disks/diskname === RUN TestBuilder_Prepare/disk_to_both_managed_image_and_shared_image_with_missing_property 2021/10/15 04:57:21 Source is a disk resource ID: /subscriptions/789/resourceGroups/testrg/providers/Microsoft.Compute/disks/diskname === RUN TestBuilder_Prepare/from_shared_image 2021/10/15 04:57:21 Source is a disk resource ID: /subscriptions/789/resourceGroups/testrg/providers/Microsoft.Compute/disks/diskname === RUN TestBuilder_Prepare/err:_no_output 2021/10/15 04:57:21 Source is a disk resource ID: /subscriptions/789/resourceGroups/testrg/providers/Microsoft.Compute/disks/diskname --- PASS: TestBuilder_Prepare (0.30s) --- PASS: TestBuilder_Prepare/platform_image_to_managed_disk (0.01s) --- PASS: TestBuilder_Prepare/disk_to_managed_image,_validate_temp_disk_id_expansion (0.09s) --- PASS: TestBuilder_Prepare/disk_to_both_managed_image_and_shared_image (0.00s) --- PASS: TestBuilder_Prepare/disk_to_both_managed_image_and_shared_image_with_missing_property (0.00s) --- PASS: TestBuilder_Prepare/from_shared_image (0.03s) --- PASS: TestBuilder_Prepare/err:_no_output (0.00s) === RUN Test_buildsteps === RUN Test_buildsteps/Source_FromScrath_creates_empty_disk === RUN Test_buildsteps/Source_Platform_image_disk_creation === RUN Test_buildsteps/Source_Platform_image_with_version_latest_adds_StepResolvePlatformImageVersion === RUN Test_buildsteps/Source_Disk_adds_correct_disk_creation === RUN Test_buildsteps/Source_disk_adds_StepVerifySourceDisk --- PASS: Test_buildsteps (0.00s) --- PASS: Test_buildsteps/Source_FromScrath_creates_empty_disk (0.00s) --- PASS: Test_buildsteps/Source_Platform_image_disk_creation (0.00s) --- PASS: Test_buildsteps/Source_Platform_image_with_version_latest_adds_StepResolvePlatformImageVersion (0.00s) --- PASS: Test_buildsteps/Source_Disk_adds_correct_disk_creation (0.00s) --- PASS: Test_buildsteps/Source_disk_adds_StepVerifySourceDisk (0.00s) === RUN Test_DiskAttacherAttachesDiskToVM testclient.go:14: AZURE_INTEGRATION_TEST not set --- SKIP: Test_DiskAttacherAttachesDiskToVM (0.00s) === RUN TestSharedImageGalleryDestination_ResourceID --- PASS: TestSharedImageGalleryDestination_ResourceID (0.00s) === RUN TestSharedImageGalleryDestination_Validate === RUN TestSharedImageGalleryDestination_Validate/complete === RUN TestSharedImageGalleryDestination_Validate/warn_if_target_regions_not_specified === RUN TestSharedImageGalleryDestination_Validate/warn_if_using_exlude_from_latest === RUN TestSharedImageGalleryDestination_Validate/version_format === RUN TestSharedImageGalleryDestination_Validate/required_fields --- PASS: TestSharedImageGalleryDestination_Validate (0.00s) --- PASS: TestSharedImageGalleryDestination_Validate/complete (0.00s) --- PASS: TestSharedImageGalleryDestination_Validate/warn_if_target_regions_not_specified (0.00s) --- PASS: TestSharedImageGalleryDestination_Validate/warn_if_using_exlude_from_latest (0.00s) --- PASS: TestSharedImageGalleryDestination_Validate/version_format (0.00s) --- PASS: TestSharedImageGalleryDestination_Validate/required_fields (0.00s) === RUN TestStepAttachDisk_Run === RUN TestStepAttachDisk_Run/HappyPath 2021/10/15 04:57:21 ui: Attaching disk '/subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/disks/disk1' 2021/10/15 04:57:21 ui: Disk attached, waiting for device to show up 2021/10/15 04:57:21 ui: Disk available at "/dev/sdq" === RUN TestStepAttachDisk_Run/AttachError 2021/10/15 04:57:21 ui: Attaching disk '/subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/disks/disk1' 2021/10/15 04:57:21 StepAttachDisk.Run: error: unit test 2021/10/15 04:57:21 ui error: error attaching disk '/subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/disks/disk1': unit test === RUN TestStepAttachDisk_Run/WaitForDeviceError 2021/10/15 04:57:21 ui: Attaching disk '/subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/disks/disk1' 2021/10/15 04:57:21 ui: Disk attached, waiting for device to show up 2021/10/15 04:57:21 StepAttachDisk.Run: error: unit test 2021/10/15 04:57:21 ui error: error attaching disk '/subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/disks/disk1': unit test --- PASS: TestStepAttachDisk_Run (0.00s) --- PASS: TestStepAttachDisk_Run/HappyPath (0.00s) --- PASS: TestStepAttachDisk_Run/AttachError (0.00s) --- PASS: TestStepAttachDisk_Run/WaitForDeviceError (0.00s) === RUN TestStepCreateImage_Run === RUN TestStepCreateImage_Run/happy_path 2021/10/15 04:57:21 ui: Creating image /subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/images/myImage using /subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/disks/osdisk for os disk. 2021/10/15 04:57:21 ui: using "/subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/disks/datadisk0" for data disk (lun 0). 2021/10/15 04:57:21 ui: using "/subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/disks/datadisk1" for data disk (lun 1). 2021/10/15 04:57:21 ui: using "/subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/disks/datadisk2" for data disk (lun 2). 2021/10/15 04:57:21 Image creation in process... 2021/10/15 04:57:21 Image creation complete: Succeeded --- PASS: TestStepCreateImage_Run (0.00s) --- PASS: TestStepCreateImage_Run/happy_path (0.00s) === RUN TestStepCreateNewDisk_Run === RUN TestStepCreateNewDisk_Run/from_disk 2021/10/15 04:57:21 ui: Creating disk "/subscriptions/SubscriptionID/resourcegroups/ResourceGroupName/providers/Microsoft.Compute/disks/TemporaryOSDiskName" 2021/10/15 04:57:21 ui: Waiting for disks to be created. 2021/10/15 04:57:21 ui: Disk "/subscriptions/SubscriptionID/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/disks/TemporaryOSDiskName" created === RUN TestStepCreateNewDisk_Run/from_platform_image 2021/10/15 04:57:21 ui: Creating disk "/subscriptions/SubscriptionID/resourcegroups/ResourceGroupName/providers/Microsoft.Compute/disks/TemporaryOSDiskName" 2021/10/15 04:57:21 ui: Waiting for disks to be created. 2021/10/15 04:57:21 ui: Disk "/subscriptions/SubscriptionID/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/disks/TemporaryOSDiskName" created === RUN TestStepCreateNewDisk_Run/from_shared_image 2021/10/15 04:57:21 ui: Creating disk "/subscriptions/SubscriptionID/resourcegroups/ResourceGroupName/providers/Microsoft.Compute/disks/TemporaryOSDiskName" 2021/10/15 04:57:21 ui: Creating disk "/subscriptions/SubscriptionID/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/disks/TemporaryDataDisk-5" 2021/10/15 04:57:21 ui: Creating disk "/subscriptions/SubscriptionID/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/disks/TemporaryDataDisk-9" 2021/10/15 04:57:21 ui: Creating disk "/subscriptions/SubscriptionID/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/disks/TemporaryDataDisk-3" 2021/10/15 04:57:21 ui: Waiting for disks to be created. 2021/10/15 04:57:21 ui: Disk "/subscriptions/SubscriptionID/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/disks/TemporaryOSDiskName" created 2021/10/15 04:57:21 ui: Disk "/subscriptions/SubscriptionID/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/disks/TemporaryDataDisk-5" created 2021/10/15 04:57:21 ui: Disk "/subscriptions/SubscriptionID/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/disks/TemporaryDataDisk-9" created 2021/10/15 04:57:21 ui: Disk "/subscriptions/SubscriptionID/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/disks/TemporaryDataDisk-3" created --- PASS: TestStepCreateNewDisk_Run (0.08s) --- PASS: TestStepCreateNewDisk_Run/from_disk (0.00s) --- PASS: TestStepCreateNewDisk_Run/from_platform_image (0.08s) --- PASS: TestStepCreateNewDisk_Run/from_shared_image (0.00s) === RUN TestStepCreateSharedImageVersion_Run === RUN TestStepCreateSharedImageVersion_Run/happy_path 2021/10/15 04:57:21 ui: Creating image version /subscriptions//resourceGroups/ResourceGroup/providers/Microsoft.Compute/galleries/GalleryName/images/ImageName/versions/0.1.2 using "/subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/snapshots/osdisksnapshot" for os disk. 2021/10/15 04:57:21 ui: using "/subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/snapshots/datadisksnapshot0" for data disk (lun 0). 2021/10/15 04:57:21 ui: using "/subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/snapshots/datadisksnapshot1" for data disk (lun 1). 2021/10/15 04:57:21 ui: using "/subscriptions/12345/resourceGroups/group1/providers/Microsoft.Compute/snapshots/datadisksnapshot2" for data disk (lun 2). 2021/10/15 04:57:21 Shared image version creation in process... 2021/10/15 04:57:21 Image creation complete: Succeeded --- PASS: TestStepCreateSharedImageVersion_Run (0.01s) --- PASS: TestStepCreateSharedImageVersion_Run/happy_path (0.01s) === RUN TestStepCreateSnapshot_Run === RUN TestStepCreateSnapshot_Run/happy_path 2021/10/15 04:57:21 ui: Creating snapshot "/subscriptions/1234/resourceGroups/rg/providers/Microsoft.Compute/snapshots/osdisk-snap" === RUN TestStepCreateSnapshot_Run/multi_disk 2021/10/15 04:57:21 ui: Creating snapshot "/subscriptions/1234/resourceGroups/rg/providers/Microsoft.Compute/snapshots/osdisk-snap" 2021/10/15 04:57:21 ui: Creating snapshot "/subscriptions/1234/resourceGroups/rg/providers/Microsoft.Compute/snapshots/datadisk-snap0" 2021/10/15 04:57:21 ui: Creating snapshot "/subscriptions/1234/resourceGroups/rg/providers/Microsoft.Compute/snapshots/datadisk-snap1" 2021/10/15 04:57:21 ui: Creating snapshot "/subscriptions/1234/resourceGroups/rg/providers/Microsoft.Compute/snapshots/datadisk-snap2" === RUN TestStepCreateSnapshot_Run/invalid_ResourceID 2021/10/15 04:57:21 ui error: StepCreateSnapshotset.Run: error: Could not create a valid resource id, tried "notaresourceid": Expected even number of segments 2021/10/15 04:57:21 ui error: StepCreateSnapshotset.Run: error: Resource "notaresourceid" is not of type Microsoft.Compute/snapshots --- PASS: TestStepCreateSnapshot_Run (0.00s) --- PASS: TestStepCreateSnapshot_Run/happy_path (0.00s) --- PASS: TestStepCreateSnapshot_Run/multi_disk (0.00s) --- PASS: TestStepCreateSnapshot_Run/invalid_ResourceID (0.00s) === RUN TestStepCreateSnapshot_Cleanup_skipped --- PASS: TestStepCreateSnapshot_Cleanup_skipped (0.00s) === RUN TestStepCreateSnapshot_Cleanup 2021/10/15 04:57:21 ui: Removing any active SAS for snapshot "/subscriptions/1234/resourceGroups/rg/providers/Microsoft.Compute/snapshots/ossnap" 2021/10/15 04:57:21 StepCreateSnapshotset.Cleanup: removing SAS... 2021/10/15 04:57:21 ui: Deleting snapshot "/subscriptions/1234/resourceGroups/rg/providers/Microsoft.Compute/snapshots/ossnap" 2021/10/15 04:57:21 StepCreateSnapshotset.Cleanup: deleting snapshot... 2021/10/15 04:57:21 ui: Removing any active SAS for snapshot "/subscriptions/1234/resourceGroups/rg/providers/Microsoft.Compute/snapshots/datasnap1" 2021/10/15 04:57:21 StepCreateSnapshotset.Cleanup: removing SAS... 2021/10/15 04:57:21 ui: Deleting snapshot "/subscriptions/1234/resourceGroups/rg/providers/Microsoft.Compute/snapshots/datasnap1" 2021/10/15 04:57:21 StepCreateSnapshotset.Cleanup: deleting snapshot... 2021/10/15 04:57:21 ui: Removing any active SAS for snapshot "/subscriptions/1234/resourceGroups/rg/providers/Microsoft.Compute/snapshots/datasnap2" 2021/10/15 04:57:21 StepCreateSnapshotset.Cleanup: removing SAS... 2021/10/15 04:57:21 ui: Deleting snapshot "/subscriptions/1234/resourceGroups/rg/providers/Microsoft.Compute/snapshots/datasnap2" 2021/10/15 04:57:21 StepCreateSnapshotset.Cleanup: deleting snapshot... --- PASS: TestStepCreateSnapshot_Cleanup (0.00s) === RUN TestStepCreateSnapshotset_Cleanup --- PASS: TestStepCreateSnapshotset_Cleanup (0.00s) === RUN TestStepMountDevice_Run 2021/10/15 04:57:21 Mount path: /tmp/stepmountdevicetest069635187 2021/10/15 04:57:21 ui: Mounting the root device... 2021/10/15 04:57:21 [DEBUG] (step mount) mount command is --- PASS: TestStepMountDevice_Run (0.01s) === RUN TestStepResolvePlatformImageVersion_Run 2021/10/15 04:57:21 ui: Resolved latest version of source image: 1.2.3 --- PASS: TestStepResolvePlatformImageVersion_Run (0.00s) === RUN TestStepVerifySharedImageDestination_Run === RUN TestStepVerifySharedImageDestination_Run/happy_path 2021/10/15 04:57:21 ui: Validating that shared image /subscriptions/subscriptionID/resourcegroup/rg/providers/Microsoft.Compute/galleries/gallery/images/image exists 2021/10/15 04:57:21 StepVerifySharedImageDestination:Run: Image "image-resourceid-goes-here", Location: "region1", HvGen: "", osState: "" 2021/10/15 04:57:21 ui: Found image image-resourceid-goes-here in location region1 === RUN TestStepVerifySharedImageDestination_Run/not_found 2021/10/15 04:57:21 ui: Validating that shared image /subscriptions/subscriptionID/resourcegroup/other-rg/providers/Microsoft.Compute/galleries/gallery/images/image exists 2021/10/15 04:57:21 StepVerifySharedImageDestination.Run: error: Error retrieving shared image "/subscriptions/subscriptionID/resourcegroup/other-rg/providers/Microsoft.Compute/galleries/gallery/images/image": compute.GalleryImagesClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="NotFound" Message="Not found" 2021/10/15 04:57:21 ui error: Error retrieving shared image "/subscriptions/subscriptionID/resourcegroup/other-rg/providers/Microsoft.Compute/galleries/gallery/images/image": compute.GalleryImagesClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="NotFound" Message="Not found" === RUN TestStepVerifySharedImageDestination_Run/wrong_region 2021/10/15 04:57:21 ui: Validating that shared image /subscriptions/subscriptionID/resourcegroup/rg/providers/Microsoft.Compute/galleries/gallery/images/image exists 2021/10/15 04:57:21 StepVerifySharedImageDestination:Run: Image "image-resourceid-goes-here", Location: "region1", HvGen: "", osState: "" 2021/10/15 04:57:21 StepVerifySharedImageDestination.Run: error: Destination shared image resource "image-resourceid-goes-here" is in a different location ("region1") than this VM ("other-region"). Packer does not know how to handle that. 2021/10/15 04:57:21 ui error: Destination shared image resource "image-resourceid-goes-here" is in a different location ("region1") than this VM ("other-region"). Packer does not know how to handle that. === RUN TestStepVerifySharedImageDestination_Run/version_exists 2021/10/15 04:57:21 ui: Validating that shared image /subscriptions/subscriptionID/resourcegroup/rg/providers/Microsoft.Compute/galleries/gallery/images/image exists 2021/10/15 04:57:21 StepVerifySharedImageDestination:Run: Image "image-resourceid-goes-here", Location: "region1", HvGen: "", osState: "" 2021/10/15 04:57:21 ui: Found image image-resourceid-goes-here in location region1 2021/10/15 04:57:21 StepVerifySharedImageDestination.Run: error: Shared image version "2.3.4" already exists for image "image-resourceid-goes-here". 2021/10/15 04:57:21 ui error: Shared image version "2.3.4" already exists for image "image-resourceid-goes-here". === RUN TestStepVerifySharedImageDestination_Run/not_Linux 2021/10/15 04:57:21 ui: Validating that shared image /subscriptions/subscriptionID/resourcegroup/rg/providers/Microsoft.Compute/galleries/gallery/images/windowsimage exists 2021/10/15 04:57:21 StepVerifySharedImageDestination:Run: Image "windows-image-resourceid-goes-here", Location: "region1", HvGen: "", osState: "" 2021/10/15 04:57:21 StepVerifySharedImageDestination.Run: error: The shared image ("windows-image-resourceid-goes-here") is not a Linux image (found "Windows"). Currently only Linux images are supported. 2021/10/15 04:57:21 ui error: The shared image ("windows-image-resourceid-goes-here") is not a Linux image (found "Windows"). Currently only Linux images are supported. --- PASS: TestStepVerifySharedImageDestination_Run (0.00s) --- PASS: TestStepVerifySharedImageDestination_Run/happy_path (0.00s) --- PASS: TestStepVerifySharedImageDestination_Run/not_found (0.00s) --- PASS: TestStepVerifySharedImageDestination_Run/wrong_region (0.00s) --- PASS: TestStepVerifySharedImageDestination_Run/version_exists (0.00s) --- PASS: TestStepVerifySharedImageDestination_Run/not_Linux (0.00s) === RUN TestStepVerifySharedImageSource_Run === RUN TestStepVerifySharedImageSource_Run/happy_path 2021/10/15 04:57:21 ui: Validating that shared image version "/subscriptions/subscriptionID/resourceGroups/rg/providers/Microsoft.Compute/galleries/myGallery/images/myImage/versions/1.2.3" exists 2021/10/15 04:57:21 StepVerifySharedImageSource:Run: Image "image-id", HvGen: "", osState: "" 2021/10/15 04:57:21 ui: Found image source image version "/subscriptions/subscriptionID/resourceGroups/rg/providers/Microsoft.Compute/galleries/myGallery/images/myImage/versions/1.2.3", available in location VM location === RUN TestStepVerifySharedImageSource_Run/resource_is_not_a_shared_image 2021/10/15 04:57:21 StepVerifySharedImageSource.Run: error: Resource id "/subscriptions/subscriptionID/resourceGroups/rg/providers/Microsoft.Compute/disks/myDisk" does not identify a shared image version, expected Microsoft.Compute/galleries/images/versions 2021/10/15 04:57:21 ui error: Resource id "/subscriptions/subscriptionID/resourceGroups/rg/providers/Microsoft.Compute/disks/myDisk" does not identify a shared image version, expected Microsoft.Compute/galleries/images/versions === RUN TestStepVerifySharedImageSource_Run/error_in_resource_id 2021/10/15 04:57:21 StepVerifySharedImageSource.Run: error: Could not parse resource id "not-a-resource-id": Expected even number of segments 2021/10/15 04:57:21 ui error: Could not parse resource id "not-a-resource-id": Expected even number of segments === RUN TestStepVerifySharedImageSource_Run/wrong_location 2021/10/15 04:57:21 ui: Validating that shared image version "/subscriptions/subscriptionID/resourceGroups/rg/providers/Microsoft.Compute/galleries/myGallery/images/myImage/versions/1.2.3" exists 2021/10/15 04:57:21 StepVerifySharedImageSource.Run: error: Target locations ["vmlocation"] for "/subscriptions/subscriptionID/resourceGroups/rg/providers/Microsoft.Compute/galleries/myGallery/images/myImage/versions/1.2.3" does not include VM location "otherlocation" 2021/10/15 04:57:21 ui error: Target locations ["vmlocation"] for "/subscriptions/subscriptionID/resourceGroups/rg/providers/Microsoft.Compute/galleries/myGallery/images/myImage/versions/1.2.3" does not include VM location "otherlocation" === RUN TestStepVerifySharedImageSource_Run/image_not_found 2021/10/15 04:57:21 ui: Validating that shared image version "/subscriptions/subscriptionID/resourceGroups/rg/providers/Microsoft.Compute/galleries/myGallery/images/myImage/versions/2.3.4" exists 2021/10/15 04:57:21 StepVerifySharedImageSource.Run: error: Error retrieving shared image version "/subscriptions/subscriptionID/resourceGroups/rg/providers/Microsoft.Compute/galleries/myGallery/images/myImage/versions/2.3.4": compute.GalleryImageVersionsClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="Unknown" Message="Unknown service error" Details=[{"error":{"code":"NotFound"}}] 2021/10/15 04:57:21 ui error: Error retrieving shared image version "/subscriptions/subscriptionID/resourceGroups/rg/providers/Microsoft.Compute/galleries/myGallery/images/myImage/versions/2.3.4": compute.GalleryImageVersionsClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="Unknown" Message="Unknown service error" Details=[{"error":{"code":"NotFound"}}] === RUN TestStepVerifySharedImageSource_Run/windows_image 2021/10/15 04:57:21 ui: Validating that shared image version "/subscriptions/subscriptionID/resourceGroups/rg/providers/Microsoft.Compute/galleries/myGallery/images/windowsImage/versions/1.2.3" exists 2021/10/15 04:57:21 StepVerifySharedImageSource:Run: Image "image-id", HvGen: "", osState: "" 2021/10/15 04:57:21 StepVerifySharedImageSource.Run: error: The shared image ("image-id") is not a Linux image (found "Windows"). Currently only Linux images are supported. 2021/10/15 04:57:21 ui error: The shared image ("image-id") is not a Linux image (found "Windows"). Currently only Linux images are supported. --- PASS: TestStepVerifySharedImageSource_Run (0.00s) --- PASS: TestStepVerifySharedImageSource_Run/happy_path (0.00s) --- PASS: TestStepVerifySharedImageSource_Run/resource_is_not_a_shared_image (0.00s) --- PASS: TestStepVerifySharedImageSource_Run/error_in_resource_id (0.00s) --- PASS: TestStepVerifySharedImageSource_Run/wrong_location (0.00s) --- PASS: TestStepVerifySharedImageSource_Run/image_not_found (0.00s) --- PASS: TestStepVerifySharedImageSource_Run/windows_image (0.00s) === RUN Test_StepVerifySourceDisk_Run === RUN Test_StepVerifySourceDisk_Run/HappyPath 2021/10/15 04:57:21 ui: Checking source disk location === RUN Test_StepVerifySourceDisk_Run/NotAResourceID 2021/10/15 04:57:21 ui: Checking source disk location 2021/10/15 04:57:21 StepVerifySourceDisk.Run: error: parsing failed for /other. Invalid resource Id format 2021/10/15 04:57:21 ui error: Could not parse resource id "/other": parsing failed for /other. Invalid resource Id format === RUN Test_StepVerifySourceDisk_Run/DiskNotFound 2021/10/15 04:57:21 ui: Checking source disk location 2021/10/15 04:57:21 StepVerifySourceDisk.Run: error: Unable to retrieve disk ("/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Compute/disks/disk1"): compute.DisksClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="Unknown" Message="Unknown service error" 2021/10/15 04:57:21 ui error: Unable to retrieve disk ("/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Compute/disks/disk1"): compute.DisksClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="Unknown" Message="Unknown service error" === RUN Test_StepVerifySourceDisk_Run/NotADisk 2021/10/15 04:57:21 ui: Checking source disk location 2021/10/15 04:57:21 StepVerifySourceDisk.Run: error: Resource ID "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Compute/images/image1" is not a managed disk resource 2021/10/15 04:57:21 ui error: Resource ID "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Compute/images/image1" is not a managed disk resource === RUN Test_StepVerifySourceDisk_Run/OtherSubscription 2021/10/15 04:57:21 ui: Checking source disk location 2021/10/15 04:57:21 StepVerifySourceDisk.Run: error: Source disk resource "/subscriptions/subid2/resourcegroups/rg1/providers/Microsoft.Compute/disks/disk1" is in a different subscription than this VM ("subid1"). Packer does not know how to handle that. 2021/10/15 04:57:21 ui error: Source disk resource "/subscriptions/subid2/resourcegroups/rg1/providers/Microsoft.Compute/disks/disk1" is in a different subscription than this VM ("subid1"). Packer does not know how to handle that. === RUN Test_StepVerifySourceDisk_Run/OtherLocation 2021/10/15 04:57:21 ui: Checking source disk location 2021/10/15 04:57:21 StepVerifySourceDisk.Run: error: Source disk resource "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Compute/disks/disk1" is in a different location ("westus2") than this VM ("eastus"). Packer does not know how to handle that. 2021/10/15 04:57:21 ui error: Source disk resource "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Compute/disks/disk1" is in a different location ("westus2") than this VM ("eastus"). Packer does not know how to handle that. --- PASS: Test_StepVerifySourceDisk_Run (0.00s) --- PASS: Test_StepVerifySourceDisk_Run/HappyPath (0.00s) --- PASS: Test_StepVerifySourceDisk_Run/NotAResourceID (0.00s) --- PASS: Test_StepVerifySourceDisk_Run/DiskNotFound (0.00s) --- PASS: Test_StepVerifySourceDisk_Run/NotADisk (0.00s) --- PASS: Test_StepVerifySourceDisk_Run/OtherSubscription (0.00s) --- PASS: Test_StepVerifySourceDisk_Run/OtherLocation (0.00s) PASS ok github.com/hashicorp/packer/builder/azure/chroot 0.665s === RUN TestArtifact_String --- PASS: TestArtifact_String (0.00s) === RUN TestShouldDumpPublicValues --- PASS: TestShouldDumpPublicValues (0.00s) === RUN TestShouldOnlyDumpStrings --- PASS: TestShouldOnlyDumpStrings (0.00s) === RUN TestDumpShouldMaskSensitiveFieldValues --- PASS: TestDumpShouldMaskSensitiveFieldValues (0.00s) === RUN TestDumpConfigShouldDumpTopLevelValuesOnly --- PASS: TestDumpConfigShouldDumpTopLevelValuesOnly (0.00s) === RUN TestGlueStrings gluestrings_test.go:21: testcase: {a:Some log that starts in a b:starts in a, but continues in b expected:Some log that starts in a, but continues in b} gluestrings_test.go:24: result: 'Some log that starts in a, but continues in b' gluestrings_test.go:21: testcase: {a: b:starts in b expected:starts in b} gluestrings_test.go:24: result: 'starts in b' --- PASS: TestGlueStrings (0.00s) === RUN TestStringsContains === RUN TestStringsContains/found === RUN TestStringsContains/missing === RUN TestStringsContains/case_insensitive --- PASS: TestStringsContains (0.00s) --- PASS: TestStringsContains/found (0.00s) --- PASS: TestStringsContains/missing (0.00s) --- PASS: TestStringsContains/case_insensitive (0.00s) === RUN TestTemplateCleanImageName --- PASS: TestTemplateCleanImageName (0.00s) === RUN TestVaultClientKeyVaultEndpoint --- PASS: TestVaultClientKeyVaultEndpoint (0.00s) === RUN TestVaultClientKeyVaultEndpointPreserveScheme --- PASS: TestVaultClientKeyVaultEndpointPreserveScheme (0.00s) PASS ok github.com/hashicorp/packer/builder/azure/common 0.190s === RUN TestConfigRetrieverFillsTenantIDWhenEmpty --- PASS: TestConfigRetrieverFillsTenantIDWhenEmpty (0.00s) === RUN TestConfigRetrieverLeavesTenantIDWhenNotEmpty --- PASS: TestConfigRetrieverLeavesTenantIDWhenNotEmpty (0.00s) === RUN TestConfigRetrieverReturnsErrorWhenTenantIDEmptyAndRetrievalFails --- PASS: TestConfigRetrieverReturnsErrorWhenTenantIDEmptyAndRetrievalFails (0.00s) === RUN Test_ClientConfig_RequiredParametersSet === RUN Test_ClientConfig_RequiredParametersSet/no_client_id,_client_secret_or_subscription_id_should_enable_MSI_auth === RUN Test_ClientConfig_RequiredParametersSet/use_azure_cli_auth_will_trigger_Azure_CLI_auth === RUN Test_ClientConfig_RequiredParametersSet/subscription_id_is_set_will_trigger_device_flow === RUN Test_ClientConfig_RequiredParametersSet/client_id_without_client_secret,_client_cert_path_or_client_jwt_should_error === RUN Test_ClientConfig_RequiredParametersSet/client_secret_without_client_id_should_error === RUN Test_ClientConfig_RequiredParametersSet/client_cert_path_without_client_id_should_error === RUN Test_ClientConfig_RequiredParametersSet/client_jwt_without_client_id_should_error === RUN Test_ClientConfig_RequiredParametersSet/missing_subscription_id_when_using_secret === RUN Test_ClientConfig_RequiredParametersSet/missing_subscription_id_when_using_certificate === RUN Test_ClientConfig_RequiredParametersSet/missing_subscription_id_when_using_JWT === RUN Test_ClientConfig_RequiredParametersSet/too_many_client_*_values === RUN Test_ClientConfig_RequiredParametersSet/too_many_client_*_values_(2) === RUN Test_ClientConfig_RequiredParametersSet/tenant_id_alone_should_fail --- PASS: Test_ClientConfig_RequiredParametersSet (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/no_client_id,_client_secret_or_subscription_id_should_enable_MSI_auth (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/use_azure_cli_auth_will_trigger_Azure_CLI_auth (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/subscription_id_is_set_will_trigger_device_flow (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/client_id_without_client_secret,_client_cert_path_or_client_jwt_should_error (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/client_secret_without_client_id_should_error (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/client_cert_path_without_client_id_should_error (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/client_jwt_without_client_id_should_error (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/missing_subscription_id_when_using_secret (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/missing_subscription_id_when_using_certificate (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/missing_subscription_id_when_using_JWT (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/too_many_client_*_values (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/too_many_client_*_values_(2) (0.00s) --- PASS: Test_ClientConfig_RequiredParametersSet/tenant_id_alone_should_fail (0.00s) === RUN Test_ClientConfig_DeviceLogin config_test.go:281: AZURE_DEVICE_LOGIN is empty, skipping --- SKIP: Test_ClientConfig_DeviceLogin (0.00s) === RUN Test_ClientConfig_AzureCli config_test.go:281: AZURE_CLI_AUTH is empty, skipping --- SKIP: Test_ClientConfig_AzureCli (0.00s) === RUN Test_ClientConfig_ClientPassword config_test.go:281: AZURE_SUBSCRIPTION is empty, skipping --- SKIP: Test_ClientConfig_ClientPassword (0.00s) === RUN Test_ClientConfig_ClientCert config_test.go:281: AZURE_SUBSCRIPTION is empty, skipping --- SKIP: Test_ClientConfig_ClientCert (0.00s) === RUN Test_ClientConfig_ClientJWT config_test.go:281: AZURE_SUBSCRIPTION is empty, skipping --- SKIP: Test_ClientConfig_ClientJWT (0.00s) === RUN Test_ClientConfig_CanUseDeviceCode === RUN Test_ClientConfig_CanUseDeviceCode/without_TenantID === RUN Test_ClientConfig_CanUseDeviceCode/with_TenantID --- PASS: Test_ClientConfig_CanUseDeviceCode (0.00s) --- PASS: Test_ClientConfig_CanUseDeviceCode/without_TenantID (0.00s) --- PASS: Test_ClientConfig_CanUseDeviceCode/with_TenantID (0.00s) === RUN Test_ClientConfig_CanUseClientSecret --- PASS: Test_ClientConfig_CanUseClientSecret (0.00s) === RUN Test_ClientConfig_CanUseClientSecretWithTenantID --- PASS: Test_ClientConfig_CanUseClientSecretWithTenantID (0.00s) === RUN Test_ClientConfig_CanUseClientJWT --- PASS: Test_ClientConfig_CanUseClientJWT (6.46s) === RUN Test_ClientConfig_CanUseClientJWTWithTenantID --- PASS: Test_ClientConfig_CanUseClientJWTWithTenantID (3.84s) === RUN Test_ClientConfig_CannotUseBothClientJWTAndSecret --- PASS: Test_ClientConfig_CannotUseBothClientJWTAndSecret (5.89s) === RUN Test_ClientConfig_ClientJWTShouldBeValidForAtLeast5Minutes --- PASS: Test_ClientConfig_ClientJWTShouldBeValidForAtLeast5Minutes (4.69s) === RUN Test_ClientConfig_ClientJWTShouldHaveThumbprint --- PASS: Test_ClientConfig_ClientJWTShouldHaveThumbprint (1.12s) === RUN Test_getJWT --- PASS: Test_getJWT (8.80s) === RUN TestIsAzure --- PASS: TestIsAzure (0.06s) === RUN Test_MetadataReturnsComputeInfo metadata_test.go:14: Not running on Azure, skipping live IMDS test --- SKIP: Test_MetadataReturnsComputeInfo (0.00s) === RUN TestNormalizeLocation === RUN TestNormalizeLocation/removes_spaces === RUN TestNormalizeLocation/makes_lowercase === RUN TestNormalizeLocation/North_East_US --- PASS: TestNormalizeLocation (0.00s) --- PASS: TestNormalizeLocation/removes_spaces (0.00s) --- PASS: TestNormalizeLocation/makes_lowercase (0.00s) --- PASS: TestNormalizeLocation/North_East_US (0.00s) === RUN Test_platformImageRegex === RUN Test_platformImageRegex/should_match_0 === RUN Test_platformImageRegex/should_match_1 === RUN Test_platformImageRegex/should_not_match_0 === RUN Test_platformImageRegex/should_not_match_1 --- PASS: Test_platformImageRegex (0.00s) --- PASS: Test_platformImageRegex/should_match_0 (0.00s) --- PASS: Test_platformImageRegex/should_match_1 (0.00s) --- PASS: Test_platformImageRegex/should_not_match_0 (0.00s) --- PASS: Test_platformImageRegex/should_not_match_1 (0.00s) === RUN TestParseResourceID === RUN TestParseResourceID/happy_path === RUN TestParseResourceID/sub_resource === RUN TestParseResourceID/incomplete === RUN TestParseResourceID/incomplete_2 === RUN TestParseResourceID/extra_slash === RUN TestParseResourceID/empty_resource_name === RUN TestParseResourceID/empty_sub_resource_type === RUN TestParseResourceID/ungrouped_resource_path === RUN TestParseResourceID/misspelled_subscriptions === RUN TestParseResourceID/misspelled_resourceGroups === RUN TestParseResourceID/misspelled_providers --- PASS: TestParseResourceID (0.00s) --- PASS: TestParseResourceID/happy_path (0.00s) --- PASS: TestParseResourceID/sub_resource (0.00s) --- PASS: TestParseResourceID/incomplete (0.00s) --- PASS: TestParseResourceID/incomplete_2 (0.00s) --- PASS: TestParseResourceID/extra_slash (0.00s) --- PASS: TestParseResourceID/empty_resource_name (0.00s) --- PASS: TestParseResourceID/empty_sub_resource_type (0.00s) --- PASS: TestParseResourceID/ungrouped_resource_path (0.00s) --- PASS: TestParseResourceID/misspelled_subscriptions (0.00s) --- PASS: TestParseResourceID/misspelled_resourceGroups (0.00s) --- PASS: TestParseResourceID/misspelled_providers (0.00s) === RUN TestResource_String === RUN TestResource_String/happy_path === RUN TestResource_String/happy_path_-_child_resource --- PASS: TestResource_String (0.00s) --- PASS: TestResource_String/happy_path (0.00s) --- PASS: TestResource_String/happy_path_-_child_resource (0.00s) === RUN TestResource_Parent === RUN TestResource_Parent/happy_path === RUN TestResource_Parent/sub_sub === RUN TestResource_Parent/top_level_resource --- PASS: TestResource_Parent (0.00s) --- PASS: TestResource_Parent/happy_path (0.00s) --- PASS: TestResource_Parent/sub_sub (0.00s) --- PASS: TestResource_Parent/top_level_resource (0.00s) === RUN TestNewSecretOAuthTokenProvider --- PASS: TestNewSecretOAuthTokenProvider (0.00s) PASS ok github.com/hashicorp/packer/builder/azure/common/client 30.976s ? github.com/hashicorp/packer/builder/azure/common/constants [no test files] ? github.com/hashicorp/packer/builder/azure/common/lin [no test files] ? github.com/hashicorp/packer/builder/azure/common/logutil [no test files] === RUN TestBuildLinux00 --- PASS: TestBuildLinux00 (0.08s) === RUN TestBuildLinux01 --- PASS: TestBuildLinux01 (0.00s) === RUN TestBuildLinux02 --- PASS: TestBuildLinux02 (0.00s) === RUN TestBuildWindows00 --- PASS: TestBuildWindows00 (0.11s) === RUN TestBuildWindows01 --- PASS: TestBuildWindows01 (0.07s) === RUN TestBuildWindows02 --- PASS: TestBuildWindows02 (0.00s) === RUN TestSharedImageGallery00 --- PASS: TestSharedImageGallery00 (0.00s) === RUN TestNetworkSecurityGroup00 --- PASS: TestNetworkSecurityGroup00 (0.01s) === RUN TestSetIdentity00 --- PASS: TestSetIdentity00 (0.01s) === RUN TestTemplateParametersShouldHaveExpectedKeys --- PASS: TestTemplateParametersShouldHaveExpectedKeys (0.07s) === RUN TestParameterValuesShouldBeSet --- PASS: TestParameterValuesShouldBeSet (0.00s) === RUN TestEmptyValuesShouldBeOmitted --- PASS: TestEmptyValuesShouldBeOmitted (0.00s) PASS ok github.com/hashicorp/packer/builder/azure/common/template 0.422s === RUN TestAzureErrorSimpleShouldUnmarshal --- PASS: TestAzureErrorSimpleShouldUnmarshal (0.00s) === RUN TestAzureErrorNestedShouldUnmarshal --- PASS: TestAzureErrorNestedShouldUnmarshal (0.00s) === RUN TestAzureErrorEmptyShouldFormat --- PASS: TestAzureErrorEmptyShouldFormat (0.00s) === RUN TestAzureErrorSimpleShouldFormat --- PASS: TestAzureErrorSimpleShouldFormat (0.01s) === RUN TestAzureErrorNestedShouldFormat --- PASS: TestAzureErrorNestedShouldFormat (0.00s) === RUN TestBuilderAcc_ManagedDisk_Windows testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_ManagedDisk_Windows (0.00s) === RUN TestBuilderAcc_ManagedDisk_Linux_Artifacts testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_ManagedDisk_Linux_Artifacts (0.00s) === RUN TestStateBagShouldBePopulatedExpectedValues --- PASS: TestStateBagShouldBePopulatedExpectedValues (0.07s) === RUN TestCaptureParseJson --- PASS: TestCaptureParseJson (0.00s) === RUN TestCaptureEmptyOperationJson --- PASS: TestCaptureEmptyOperationJson (0.00s) === RUN TestConfigShouldProvideReasonableDefaultValues --- PASS: TestConfigShouldProvideReasonableDefaultValues (0.00s) === RUN TestConfigShouldDefaultVMSizeToStandardA1 --- PASS: TestConfigShouldDefaultVMSizeToStandardA1 (0.00s) === RUN TestConfigShouldDefaultImageVersionToLatest --- PASS: TestConfigShouldDefaultImageVersionToLatest (0.09s) === RUN TestConfigVirtualNetworkResourceGroupNameMustBeSetWithVirtualNetworkName --- PASS: TestConfigVirtualNetworkResourceGroupNameMustBeSetWithVirtualNetworkName (0.00s) === RUN TestConfigVirtualNetworkSubnetNameMustBeSetWithVirtualNetworkName --- PASS: TestConfigVirtualNetworkSubnetNameMustBeSetWithVirtualNetworkName (0.01s) === RUN TestSystemShouldDefineRuntimeValues --- PASS: TestSystemShouldDefineRuntimeValues (0.08s) === RUN TestConfigShouldTransformToVirtualMachineCaptureParameters --- PASS: TestConfigShouldTransformToVirtualMachineCaptureParameters (0.00s) === RUN TestConfigShouldSupportPackersConfigElements --- PASS: TestConfigShouldSupportPackersConfigElements (0.10s) === RUN TestWinRMConfigShouldSetRoundTripDecorator --- PASS: TestWinRMConfigShouldSetRoundTripDecorator (1.03s) === RUN TestUserDeviceLoginIsEnabledForLinux --- PASS: TestUserDeviceLoginIsEnabledForLinux (0.07s) === RUN TestConfigShouldAcceptTags --- PASS: TestConfigShouldAcceptTags (0.00s) === RUN TestConfigShouldRejectTagsInExcessOf15AcceptTags --- PASS: TestConfigShouldRejectTagsInExcessOf15AcceptTags (0.10s) === RUN TestConfigShouldRejectExcessiveTagNameLength --- PASS: TestConfigShouldRejectExcessiveTagNameLength (0.00s) === RUN TestConfigShouldRejectExcessiveTagValueLength --- PASS: TestConfigShouldRejectExcessiveTagValueLength (0.00s) === RUN TestConfigShouldAcceptPlatformManagedImageBuild --- PASS: TestConfigShouldAcceptPlatformManagedImageBuild (0.00s) === RUN TestConfigShouldAcceptManagedImageStorageAccountTypes --- PASS: TestConfigShouldAcceptManagedImageStorageAccountTypes (0.01s) === RUN TestConfigShouldAcceptDiskCachingTypes --- PASS: TestConfigShouldAcceptDiskCachingTypes (0.10s) === RUN TestConfigAdditionalDiskDefaultIsNil --- PASS: TestConfigAdditionalDiskDefaultIsNil (0.01s) === RUN TestConfigAdditionalDiskOverrideDefault --- PASS: TestConfigAdditionalDiskOverrideDefault (0.00s) === RUN TestConfigShouldAllowSharedImageGalleryOptions --- PASS: TestConfigShouldAllowSharedImageGalleryOptions (7.07s) === RUN TestConfigShouldRejectSharedImageGalleryWithVhdTarget config_test.go:509: expected an error if Shared Image Gallery source is used with VHD target 2 error(s) occurred: * VHD Target [capture_container_name] is not supported when using Shared Image Gallery as source. Use managed_image_resource_group_name instead. * VHD Target [capture_name_prefix] is not supported when using Shared Image Gallery as source. Use managed_image_name instead. --- PASS: TestConfigShouldRejectSharedImageGalleryWithVhdTarget (6.60s) === RUN TestFart --- PASS: TestFart (0.00s) === RUN TestAuthorizedKeyShouldParse --- PASS: TestAuthorizedKeyShouldParse (0.09s) === RUN TestPrivateKeyShouldParse --- PASS: TestPrivateKeyShouldParse (0.02s) === RUN TestProcessStepResultShouldContinueForNonErrors --- PASS: TestProcessStepResultShouldContinueForNonErrors (0.00s) === RUN TestProcessStepResultShouldHaltOnError --- PASS: TestProcessStepResultShouldHaltOnError (0.00s) === RUN TestTemplateCleanImageName --- PASS: TestTemplateCleanImageName (0.00s) PASS ok github.com/hashicorp/packer/builder/azure/dtl 15.993s === RUN TestBMPStringDecode --- PASS: TestBMPStringDecode (0.00s) === RUN TestBMPString --- PASS: TestBMPString (0.00s) === RUN TestPbDecrypterFor --- PASS: TestPbDecrypterFor (0.00s) === RUN TestPbDecrypt --- PASS: TestPbDecrypt (0.18s) === RUN TestRoundTripPkc12EncryptDecrypt --- PASS: TestRoundTripPkc12EncryptDecrypt (0.72s) === RUN TestVerifyMac --- PASS: TestVerifyMac (0.00s) === RUN TestThatPBKDFWorksCorrectlyForLongKeys --- PASS: TestThatPBKDFWorksCorrectlyForLongKeys (0.00s) === RUN TestThatPBKDFHandlesLeadingZeros --- PASS: TestThatPBKDFHandlesLeadingZeros (0.00s) === RUN TestPfx --- PASS: TestPfx (0.10s) === RUN TestPfxRoundTriRsa --- PASS: TestPfxRoundTriRsa (0.27s) === RUN TestPfxRoundTriEcdsa --- PASS: TestPfxRoundTriEcdsa (0.10s) === RUN TestPEM --- PASS: TestPEM (0.11s) === RUN TestRoundTripPkcs8Rsa --- PASS: TestRoundTripPkcs8Rsa (0.01s) === RUN TestRoundTripPkcs8Ecdsa --- PASS: TestRoundTripPkcs8Ecdsa (0.00s) === RUN TestNullParametersPkcs8Rsa --- PASS: TestNullParametersPkcs8Rsa (0.09s) === RUN TestNullParametersPkcs8Ecdsa --- PASS: TestNullParametersPkcs8Ecdsa (0.00s) === RUN TestDefaultAlgorithmParametersPkcs8ShroudedKeyBag --- PASS: TestDefaultAlgorithmParametersPkcs8ShroudedKeyBag (0.08s) === RUN TestRoundTripPkcs8ShroudedKeyBag --- PASS: TestRoundTripPkcs8ShroudedKeyBag (0.12s) PASS ok github.com/hashicorp/packer/builder/azure/pkcs12 1.933s === RUN TestEncryptDecrypt --- PASS: TestEncryptDecrypt (0.00s) PASS ok github.com/hashicorp/packer/builder/azure/pkcs12/rc2 0.176s ? github.com/hashicorp/packer/builder/azure/version [no test files] === RUN TestArtifact_Impl --- PASS: TestArtifact_Impl (0.00s) === RUN TestArtifactId --- PASS: TestArtifactId (0.00s) === RUN TestArtifactString --- PASS: TestArtifactString (0.00s) === RUN TestArtifactState_StateData --- PASS: TestArtifactState_StateData (0.00s) === RUN TestBuilder_Impl --- PASS: TestBuilder_Impl (0.00s) === RUN TestBuilder_Prepare --- PASS: TestBuilder_Prepare (0.01s) === RUN TestNewConfig --- PASS: TestNewConfig (0.48s) PASS ok github.com/hashicorp/packer/builder/cloudstack 0.708s ? github.com/hashicorp/packer/builder/cloudstack/version [no test files] === RUN TestArtifact_Impl --- PASS: TestArtifact_Impl (0.00s) === RUN TestArtifactId --- PASS: TestArtifactId (0.00s) === RUN TestArtifactIdWithoutMultipleRegions --- PASS: TestArtifactIdWithoutMultipleRegions (0.00s) === RUN TestArtifactString --- PASS: TestArtifactString (0.00s) === RUN TestArtifactStringWithoutMultipleRegions --- PASS: TestArtifactStringWithoutMultipleRegions (0.00s) === RUN TestArtifactState_StateData --- PASS: TestArtifactState_StateData (0.00s) === RUN TestBuilderAcc_basic testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_basic (0.00s) === RUN TestBuilderAcc_imageId testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_imageId (0.00s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilder_Prepare_BadType --- PASS: TestBuilder_Prepare_BadType (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.01s) === RUN TestBuilderPrepare_Region --- PASS: TestBuilderPrepare_Region (0.16s) === RUN TestBuilderPrepare_Size --- PASS: TestBuilderPrepare_Size (0.11s) === RUN TestBuilderPrepare_Image --- PASS: TestBuilderPrepare_Image (0.00s) === RUN TestBuilderPrepare_StateTimeout --- PASS: TestBuilderPrepare_StateTimeout (0.00s) === RUN TestBuilderPrepare_SnapshotTimeout --- PASS: TestBuilderPrepare_SnapshotTimeout (0.07s) === RUN TestBuilderPrepare_PrivateNetworking --- PASS: TestBuilderPrepare_PrivateNetworking (0.02s) === RUN TestBuilderPrepare_SnapshotName --- PASS: TestBuilderPrepare_SnapshotName (0.07s) === RUN TestBuilderPrepare_DropletName --- PASS: TestBuilderPrepare_DropletName (0.09s) === RUN TestBuilderPrepare_VPCUUID --- PASS: TestBuilderPrepare_VPCUUID (0.00s) === RUN TestBuilderPrepare_ConnectWithPrivateIP --- PASS: TestBuilderPrepare_ConnectWithPrivateIP (0.01s) === RUN TestBuilder_GetImageType === RUN TestBuilder_GetImageType/ubuntu-20-04-x64 === RUN TestBuilder_GetImageType/123456 --- PASS: TestBuilder_GetImageType (0.00s) --- PASS: TestBuilder_GetImageType/ubuntu-20-04-x64 (0.00s) --- PASS: TestBuilder_GetImageType/123456 (0.00s) PASS ok github.com/hashicorp/packer/builder/digitalocean 0.889s ? github.com/hashicorp/packer/builder/digitalocean/version [no test files] === RUN TestExportArtifact_impl --- PASS: TestExportArtifact_impl (0.00s) === RUN TestImportArtifact_impl --- PASS: TestImportArtifact_impl (0.00s) === RUN TestImportArtifactBuilderId --- PASS: TestImportArtifactBuilderId (0.00s) === RUN TestImportArtifactFiles --- PASS: TestImportArtifactFiles (0.00s) === RUN TestImportArtifactId --- PASS: TestImportArtifactId (0.00s) === RUN TestImportArtifactDestroy --- PASS: TestImportArtifactDestroy (0.00s) === RUN TestBuilder_implBuilder --- PASS: TestBuilder_implBuilder (0.00s) === RUN TestUploadDownload communicator_test.go:45: This test is only run with PACKER_ACC=1 --- SKIP: TestUploadDownload (0.00s) === RUN TestLargeDownload communicator_test.go:111: This test is only run with PACKER_ACC=1 --- SKIP: TestLargeDownload (0.00s) === RUN TestFixUploadOwner communicator_test.go:196: This test is only run with PACKER_ACC=1 --- SKIP: TestFixUploadOwner (0.00s) === RUN TestConfigPrepare_exportPath --- PASS: TestConfigPrepare_exportPath (0.00s) === RUN TestConfigPrepare_exportPathAndCommit --- PASS: TestConfigPrepare_exportPathAndCommit (0.02s) === RUN TestConfigPrepare_exportDiscard --- PASS: TestConfigPrepare_exportDiscard (0.00s) === RUN TestConfigPrepare_image --- PASS: TestConfigPrepare_image (0.00s) === RUN TestConfigPrepare_pull --- PASS: TestConfigPrepare_pull (0.06s) === RUN TestDockerDriver_impl --- PASS: TestDockerDriver_impl (0.00s) === RUN TestMockDriver_impl --- PASS: TestMockDriver_impl (0.00s) === RUN TestStepCommit_impl --- PASS: TestStepCommit_impl (0.00s) === RUN TestStepCommit 2021/10/15 04:58:43 ui: Committing the container 2021/10/15 04:58:43 ui: Image ID: bar --- PASS: TestStepCommit (0.00s) === RUN TestStepCommit_error 2021/10/15 04:58:43 ui: Committing the container 2021/10/15 04:58:43 ui error: foo --- PASS: TestStepCommit_error (0.00s) === RUN TestStepExport_impl --- PASS: TestStepExport_impl (0.00s) === RUN TestStepExport 2021/10/15 04:58:43 ui: Exporting the container --- PASS: TestStepExport (0.01s) === RUN TestStepExport_error 2021/10/15 04:58:43 ui: Exporting the container 2021/10/15 04:58:43 ui error: foo --- PASS: TestStepExport_error (0.00s) === RUN TestStepPull_impl --- PASS: TestStepPull_impl (0.00s) === RUN TestStepPull 2021/10/15 04:58:43 ui: Pulling Docker image: bar --- PASS: TestStepPull (0.00s) === RUN TestStepPull_error 2021/10/15 04:58:43 ui: Pulling Docker image: bar 2021/10/15 04:58:43 ui error: Error pulling Docker image: foo --- PASS: TestStepPull_error (0.00s) === RUN TestStepPull_login 2021/10/15 04:58:43 ui: Pulling Docker image: bar 2021/10/15 04:58:43 ui: Logging in... 2021/10/15 04:58:43 ui: Logging out... --- PASS: TestStepPull_login (0.00s) === RUN TestStepPull_noPull 2021/10/15 04:58:43 Pull disabled, won't docker pull --- PASS: TestStepPull_noPull (0.00s) === RUN TestStepRun_impl --- PASS: TestStepRun_impl (0.00s) === RUN TestStepRun 2021/10/15 04:58:43 ui: Starting docker container... 2021/10/15 04:58:43 ui: Container ID: foo 2021/10/15 04:58:43 ui: Killing the container: foo --- PASS: TestStepRun (0.00s) === RUN TestStepRun_error 2021/10/15 04:58:43 ui: Starting docker container... 2021/10/15 04:58:43 ui error: Error running container: foo --- PASS: TestStepRun_error (0.00s) === RUN TestStepSetGeneratedData_Run --- PASS: TestStepSetGeneratedData_Run (0.00s) === RUN TestStepTempDir_impl --- PASS: TestStepTempDir_impl (0.00s) === RUN TestStepTempDir 2021/10/15 04:58:43 ui: Creating a temporary directory for sharing data... 2021/10/15 04:58:43 Config dir /build/packer-mtIp6E/packer-1.6.6+ds1/debian/.debhelper/generated/_source/home/.packer.d does not exist; creating... 2021/10/15 04:58:43 Set Packer temp dir to /build/packer-mtIp6E/packer-1.6.6+ds1/debian/.debhelper/generated/_source/home/.packer.d/tmp800265599 --- PASS: TestStepTempDir (0.00s) PASS ok github.com/hashicorp/packer/builder/docker 0.196s ? github.com/hashicorp/packer/builder/docker/version [no test files] === RUN TestNullArtifact --- PASS: TestNullArtifact (0.00s) === RUN TestBuilder_implBuilder --- PASS: TestBuilder_implBuilder (0.00s) === RUN TestBuilderFileAcc_content testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderFileAcc_content (0.00s) === RUN TestBuilderFileAcc_copy testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderFileAcc_copy (0.00s) === RUN TestContentSourceConflict --- PASS: TestContentSourceConflict (0.00s) === RUN TestNoFilename --- PASS: TestNoFilename (0.00s) === RUN TestNoContent --- PASS: TestNoContent (0.00s) PASS ok github.com/hashicorp/packer/builder/file 0.216s ? github.com/hashicorp/packer/builder/file/version [no test files] === RUN TestArtifact_impl --- PASS: TestArtifact_impl (0.00s) === RUN TestArtifactState_StateData --- PASS: TestArtifactState_StateData (0.00s) === RUN TestConfigPrepare --- PASS: TestConfigPrepare (1.21s) === RUN TestConfigPrepareAccelerator --- PASS: TestConfigPrepareAccelerator (0.11s) === RUN TestConfigPrepareServiceAccount --- PASS: TestConfigPrepareServiceAccount (0.01s) === RUN TestConfigPrepareStartupScriptFile --- PASS: TestConfigPrepareStartupScriptFile (0.00s) === RUN TestConfigPrepareIAP_SSH --- PASS: TestConfigPrepareIAP_SSH (0.09s) === RUN TestConfigPrepareIAP_WinRM --- PASS: TestConfigPrepareIAP_WinRM (0.07s) === RUN TestConfigPrepareIAP_failures --- PASS: TestConfigPrepareIAP_failures (0.00s) === RUN TestConfigDefaults --- PASS: TestConfigDefaults (0.01s) === RUN TestImageName --- PASS: TestImageName (0.02s) === RUN TestRegion --- PASS: TestRegion (0.00s) === RUN TestApplyIAPTunnel_SSH --- PASS: TestApplyIAPTunnel_SSH (0.00s) === RUN TestApplyIAPTunnel_WinRM --- PASS: TestApplyIAPTunnel_WinRM (0.00s) === RUN TestApplyIAPTunnel_none --- PASS: TestApplyIAPTunnel_none (0.00s) === RUN TestImage_IsWindows --- PASS: TestImage_IsWindows (0.00s) === RUN TestGetNetworking --- PASS: TestGetNetworking (0.00s) === RUN TestStepCheckExistingImage_impl --- PASS: TestStepCheckExistingImage_impl (0.00s) === RUN TestStepCheckExistingImage 2021/10/15 04:58:47 ui: Checking image does not exist... 2021/10/15 04:58:47 ui error: Image packer-1634273926 already exists. Use the force flag to delete it prior to building. --- PASS: TestStepCheckExistingImage (0.00s) === RUN TestStepCreateImage_impl --- PASS: TestStepCreateImage_impl (0.00s) === RUN TestStepCreateImage 2021/10/15 04:58:47 ui: Creating image... --- PASS: TestStepCreateImage (0.00s) === RUN TestStepCreateImage_errorOnChannel 2021/10/15 04:58:48 ui: Creating image... 2021/10/15 04:58:48 ui error: Error waiting for image: error --- PASS: TestStepCreateImage_errorOnChannel (0.07s) === RUN TestStepCreateInstance_impl --- PASS: TestStepCreateInstance_impl (0.00s) === RUN TestStepCreateInstance 2021/10/15 04:58:48 ui: Using image: test-image 2021/10/15 04:58:48 ui: Creating instance... 2021/10/15 04:58:48 [DEBUG] Adding metadata during instance creation... 2021/10/15 04:58:48 ui: Waiting for creation operation to complete... 2021/10/15 04:58:48 ui: Instance has been created! 2021/10/15 04:58:48 ui: Deleting instance... 2021/10/15 04:58:48 ui: Instance has been deleted! 2021/10/15 04:58:48 ui: Deleting disk... 2021/10/15 04:58:48 ui: Disk has been deleted! --- PASS: TestStepCreateInstance (0.02s) === RUN TestStepCreateInstance_fromFamily 2021/10/15 04:58:48 ui: Using image: test-image 2021/10/15 04:58:48 ui: Creating instance... 2021/10/15 04:58:48 [DEBUG] Adding metadata during instance creation... 2021/10/15 04:58:48 ui: Waiting for creation operation to complete... 2021/10/15 04:58:48 ui: Instance has been created! 2021/10/15 04:58:48 ui: Deleting instance... 2021/10/15 04:58:48 ui: Instance has been deleted! 2021/10/15 04:58:48 ui: Deleting disk... 2021/10/15 04:58:48 ui: Disk has been deleted! 2021/10/15 04:58:48 ui: Using image: test-image 2021/10/15 04:58:48 ui: Creating instance... 2021/10/15 04:58:48 [DEBUG] Adding metadata during instance creation... 2021/10/15 04:58:48 ui: Waiting for creation operation to complete... 2021/10/15 04:58:48 ui: Instance has been created! 2021/10/15 04:58:48 ui: Deleting instance... 2021/10/15 04:58:48 ui: Instance has been deleted! 2021/10/15 04:58:48 ui: Deleting disk... 2021/10/15 04:58:48 ui: Disk has been deleted! 2021/10/15 04:58:48 ui: Using image: test-image 2021/10/15 04:58:48 ui: Creating instance... 2021/10/15 04:58:48 [DEBUG] Adding metadata during instance creation... 2021/10/15 04:58:48 ui: Waiting for creation operation to complete... 2021/10/15 04:58:48 ui: Instance has been created! 2021/10/15 04:58:48 ui: Deleting instance... 2021/10/15 04:58:48 ui: Instance has been deleted! 2021/10/15 04:58:48 ui: Deleting disk... 2021/10/15 04:58:48 ui: Disk has been deleted! --- PASS: TestStepCreateInstance_fromFamily (0.08s) === RUN TestStepCreateInstance_windowsNeedsPassword 2021/10/15 04:58:48 ui: Using image: test-image 2021/10/15 04:58:48 ui: Creating instance... 2021/10/15 04:58:48 [DEBUG] Adding metadata during instance creation... 2021/10/15 04:58:48 ui: Waiting for creation operation to complete... 2021/10/15 04:58:48 ui: Instance has been created! 2021/10/15 04:58:48 ui: Deleting instance... 2021/10/15 04:58:48 ui: Instance has been deleted! 2021/10/15 04:58:48 ui: Deleting disk... 2021/10/15 04:58:48 ui: Disk has been deleted! --- PASS: TestStepCreateInstance_windowsNeedsPassword (0.00s) === RUN TestStepCreateInstance_windowsPasswordSet 2021/10/15 04:58:48 ui: Using image: test-image 2021/10/15 04:58:48 ui: Creating instance... 2021/10/15 04:58:48 [DEBUG] Adding metadata during instance creation... 2021/10/15 04:58:48 ui: Waiting for creation operation to complete... 2021/10/15 04:58:48 ui: Instance has been created! 2021/10/15 04:58:48 ui: Deleting instance... 2021/10/15 04:58:48 ui: Instance has been deleted! 2021/10/15 04:58:48 ui: Deleting disk... 2021/10/15 04:58:48 ui: Disk has been deleted! --- PASS: TestStepCreateInstance_windowsPasswordSet (0.01s) === RUN TestStepCreateInstance_error 2021/10/15 04:58:48 ui: Using image: test-image 2021/10/15 04:58:48 ui: Creating instance... 2021/10/15 04:58:48 [DEBUG] Adding metadata during instance creation... 2021/10/15 04:58:48 ui error: Error creating instance: error --- PASS: TestStepCreateInstance_error (0.07s) === RUN TestStepCreateInstance_errorOnChannel 2021/10/15 04:58:48 ui: Using image: test-image 2021/10/15 04:58:48 ui: Creating instance... 2021/10/15 04:58:48 [DEBUG] Adding metadata during instance creation... 2021/10/15 04:58:48 ui: Waiting for creation operation to complete... 2021/10/15 04:58:48 ui error: Error creating instance: error --- PASS: TestStepCreateInstance_errorOnChannel (0.02s) === RUN TestStepCreateInstance_errorTimeout 2021/10/15 04:58:48 ui: Using image: test-image 2021/10/15 04:58:48 ui: Creating instance... 2021/10/15 04:58:48 [DEBUG] Adding metadata during instance creation... 2021/10/15 04:58:48 ui: Waiting for creation operation to complete... 2021/10/15 04:58:48 ui error: Error creating instance: time out while waiting for instance to create --- PASS: TestStepCreateInstance_errorTimeout (0.01s) === RUN TestStepCreateInstance_noServiceAccount 2021/10/15 04:58:48 ui: Using image: test-image 2021/10/15 04:58:48 ui: Creating instance... 2021/10/15 04:58:48 [DEBUG] Adding metadata during instance creation... 2021/10/15 04:58:48 ui: Waiting for creation operation to complete... 2021/10/15 04:58:48 ui: Instance has been created! 2021/10/15 04:58:48 ui: Deleting instance... 2021/10/15 04:58:48 ui: Instance has been deleted! 2021/10/15 04:58:48 ui: Deleting disk... 2021/10/15 04:58:48 ui: Disk has been deleted! --- PASS: TestStepCreateInstance_noServiceAccount (0.07s) === RUN TestStepCreateInstance_customServiceAccount 2021/10/15 04:58:48 ui: Using image: test-image 2021/10/15 04:58:48 ui: Creating instance... 2021/10/15 04:58:48 [DEBUG] Adding metadata during instance creation... 2021/10/15 04:58:48 ui: Waiting for creation operation to complete... 2021/10/15 04:58:48 ui: Instance has been created! 2021/10/15 04:58:48 ui: Deleting instance... 2021/10/15 04:58:48 ui: Instance has been deleted! 2021/10/15 04:58:48 ui: Deleting disk... 2021/10/15 04:58:48 ui: Disk has been deleted! --- PASS: TestStepCreateInstance_customServiceAccount (0.02s) === RUN TestCreateInstanceMetadata --- PASS: TestCreateInstanceMetadata (0.00s) === RUN TestCreateInstanceMetadata_noPublicKey --- PASS: TestCreateInstanceMetadata_noPublicKey (0.08s) === RUN TestCreateInstanceMetadata_metadataFile --- PASS: TestCreateInstanceMetadata_metadataFile (0.01s) === RUN TestCreateInstanceMetadata_withWrapStartupScript --- PASS: TestCreateInstanceMetadata_withWrapStartupScript (0.09s) === RUN TestCreateInstanceMetadataWaitToAddSSHKeys --- PASS: TestCreateInstanceMetadataWaitToAddSSHKeys (0.00s) === RUN TestStepCreateInstanceWaitToAddSSHKeys 2021/10/15 04:58:48 ui: Using image: test-image 2021/10/15 04:58:48 ui: Creating instance... 2021/10/15 04:58:48 [DEBUG] Adding metadata during instance creation, but not SSH keys... 2021/10/15 04:58:48 ui: Waiting for creation operation to complete... 2021/10/15 04:58:48 ui: Instance has been created! 2021/10/15 04:58:48 ui: Waiting 5s before adding SSH keys... 2021/10/15 04:58:53 [DEBUG] 5s wait is over. Adding SSH keys to existing instance... 2021/10/15 04:58:53 ui: Deleting instance... 2021/10/15 04:58:53 ui: Instance has been deleted! 2021/10/15 04:58:53 ui: Deleting disk... 2021/10/15 04:58:53 ui: Disk has been deleted! --- PASS: TestStepCreateInstanceWaitToAddSSHKeys (5.12s) === RUN TestStepCreateInstanceNoWaitToAddSSHKeys 2021/10/15 04:58:53 ui: Using image: test-image 2021/10/15 04:58:53 ui: Creating instance... 2021/10/15 04:58:53 [DEBUG] Adding metadata during instance creation... 2021/10/15 04:58:53 ui: Waiting for creation operation to complete... 2021/10/15 04:58:53 ui: Instance has been created! 2021/10/15 04:58:53 ui: Deleting instance... 2021/10/15 04:58:53 ui: Instance has been deleted! 2021/10/15 04:58:53 ui: Deleting disk... 2021/10/15 04:58:53 ui: Disk has been deleted! --- PASS: TestStepCreateInstanceNoWaitToAddSSHKeys (0.00s) === RUN TestStepCreateOrResetWindowsPassword 2021/10/15 04:58:53 ui: Creating windows user for instance... 2021/10/15 04:58:56 ui: Waiting for windows password to complete... 2021/10/15 04:58:56 ui: Created password. --- PASS: TestStepCreateOrResetWindowsPassword (2.49s) === RUN TestStepCreateOrResetWindowsPassword_passwordSet --- PASS: TestStepCreateOrResetWindowsPassword_passwordSet (0.02s) === RUN TestStepCreateOrResetWindowsPassword_dontNeedPassword --- PASS: TestStepCreateOrResetWindowsPassword_dontNeedPassword (0.00s) === RUN TestStepCreateOrResetWindowsPassword_debug 2021/10/15 04:58:56 ui: Creating windows user for instance... 2021/10/15 04:58:59 ui: Saving key for debug purposes: /tmp/packer934212982 2021/10/15 04:58:59 ui: Waiting for windows to complete... 2021/10/15 04:58:59 ui: Created . 2021/10/15 04:58:59 ui: Password (since debug is enabled): --- PASS: TestStepCreateOrResetWindowsPassword_debug (3.68s) === RUN TestStepCreateOrResetWindowsPassword_error 2021/10/15 04:58:59 ui: Creating windows user for instance... 2021/10/15 04:59:02 ui error: Error creating windows : error --- PASS: TestStepCreateOrResetWindowsPassword_error (2.89s) === RUN TestStepCreateOrResetWindowsPassword_errorOnChannel 2021/10/15 04:59:02 ui: Creating windows user for instance... 2021/10/15 04:59:06 ui: Waiting for windows to complete... 2021/10/15 04:59:06 ui error: Error creating windows : error --- PASS: TestStepCreateOrResetWindowsPassword_errorOnChannel (3.42s) === RUN TestStepImportOSLoginSSHKey_impl --- PASS: TestStepImportOSLoginSSHKey_impl (0.00s) === RUN TestStepImportOSLoginSSHKey 2021/10/15 04:59:06 ui: Importing SSH public key for OSLogin... 2021/10/15 04:59:06 ui: Obtaining SSH Username for OSLogin... 2021/10/15 04:59:06 ui: Deleting SSH public key for OSLogin... 2021/10/15 04:59:06 ui: SSH public key for OSLogin has been deleted! --- PASS: TestStepImportOSLoginSSHKey (0.11s) === RUN TestStepImportOSLoginSSHKey_withAccountFile 2021/10/15 04:59:06 ui: Importing SSH public key for OSLogin... 2021/10/15 04:59:06 ui: Obtaining SSH Username for OSLogin... 2021/10/15 04:59:06 ui: Deleting SSH public key for OSLogin... 2021/10/15 04:59:06 ui: SSH public key for OSLogin has been deleted! --- PASS: TestStepImportOSLoginSSHKey_withAccountFile (0.00s) === RUN TestStepImportOSLoginSSHKey_withNoAccountFile 2021/10/15 04:59:06 ui: Importing SSH public key for OSLogin... 2021/10/15 04:59:06 ui: Obtaining SSH Username for OSLogin... 2021/10/15 04:59:06 ui: Deleting SSH public key for OSLogin... 2021/10/15 04:59:06 ui: SSH public key for OSLogin has been deleted! --- PASS: TestStepImportOSLoginSSHKey_withNoAccountFile (0.00s) === RUN TestStepImportOSLoginSSHKey_withPrivateSSHKey 2021/10/15 04:59:06 ui: No public SSH key found; skipping SSH public key import for OSLogin... --- PASS: TestStepImportOSLoginSSHKey_withPrivateSSHKey (0.07s) === RUN TestStepImportOSLoginSSHKey_onGCE 2021/10/15 04:59:06 ui: Importing SSH public key for OSLogin... 2021/10/15 04:59:06 ui: Obtaining SSH Username for OSLogin... 2021/10/15 04:59:06 ui: Deleting SSH public key for OSLogin... 2021/10/15 04:59:06 ui: SSH public key for OSLogin has been deleted! --- PASS: TestStepImportOSLoginSSHKey_onGCE (0.00s) === RUN TestStepInstanceInfo_impl --- PASS: TestStepInstanceInfo_impl (0.00s) === RUN TestStepInstanceInfo 2021/10/15 04:59:06 ui: Waiting for the instance to become running... 2021/10/15 04:59:06 ui: IP: 1.2.3.4 --- PASS: TestStepInstanceInfo (0.00s) === RUN TestStepInstanceInfo_InternalIP 2021/10/15 04:59:06 ui: Waiting for the instance to become running... 2021/10/15 04:59:06 ui: IP: 5.6.7.8 --- PASS: TestStepInstanceInfo_InternalIP (0.02s) === RUN TestStepInstanceInfo_getNatIPError 2021/10/15 04:59:06 ui: Waiting for the instance to become running... 2021/10/15 04:59:06 ui error: Error retrieving instance nat ip address: error --- PASS: TestStepInstanceInfo_getNatIPError (0.08s) === RUN TestStepInstanceInfo_waitError 2021/10/15 04:59:06 ui: Waiting for the instance to become running... 2021/10/15 04:59:06 ui error: Error waiting for instance: error --- PASS: TestStepInstanceInfo_waitError (0.02s) === RUN TestStepInstanceInfo_errorTimeout 2021/10/15 04:59:06 ui: Waiting for the instance to become running... 2021/10/15 04:59:06 ui error: Error waiting for instance: time out while waiting for instance to become running --- PASS: TestStepInstanceInfo_errorTimeout (0.07s) === RUN TestStepStartTunnel_CreateTempScript 2021/10/15 04:59:06 [INFO] (google): Prepending inline gcloud setup script with #!/bin/bash --- PASS: TestStepStartTunnel_CreateTempScript (0.00s) === RUN TestStepStartTunnel_Cleanup 2021/10/15 04:59:06 Skipping cleanup of IAP tunnel; "iap" is false. --- PASS: TestStepStartTunnel_Cleanup (0.00s) === RUN TestStepStartTunnel_ConfigurePort_port_set_by_user 2021/10/15 04:59:06 Using TCP port for 8447 IAP proxy 2021/10/15 04:59:06 Found available port: 8447 on IP: 0.0.0.0 2021/10/15 04:59:06 Setting up proxy to listen on localhost at 8447 --- PASS: TestStepStartTunnel_ConfigurePort_port_set_by_user (0.00s) === RUN TestStepStartTunnel_ConfigurePort_port_not_set_by_user 2021/10/15 04:59:06 Finding an available TCP port for IAP proxy 2021/10/15 04:59:06 Found available port: 8081 on IP: 0.0.0.0 2021/10/15 04:59:06 Setting up proxy to listen on localhost at 8081 --- PASS: TestStepStartTunnel_ConfigurePort_port_not_set_by_user (0.00s) === RUN TestStepTeardownInstance_impl --- PASS: TestStepTeardownInstance_impl (0.00s) === RUN TestStepTeardownInstance 2021/10/15 04:59:06 ui: Deleting instance... 2021/10/15 04:59:06 ui: Instance has been deleted! 2021/10/15 04:59:06 ui: Deleting disk... 2021/10/15 04:59:06 ui: Disk has been deleted! 2021/10/15 04:59:06 ui: Deleting disk... 2021/10/15 04:59:06 ui: Disk has been deleted! --- PASS: TestStepTeardownInstance (0.00s) === RUN TestStepWaitStartupScript 2021/10/15 04:59:06 ui: Waiting for any running startup script to finish... 2021/10/15 04:59:06 ui: Startup script, if any, has finished running. --- PASS: TestStepWaitStartupScript (0.00s) === RUN TestStepWaitStartupScript_withWrapStartupScript 2021/10/15 04:59:06 ui: Waiting for any running startup script to finish... 2021/10/15 04:59:06 ui: Startup script, if any, has finished running. --- PASS: TestStepWaitStartupScript_withWrapStartupScript (0.01s) === RUN Test_templateCleanImageName --- PASS: Test_templateCleanImageName (0.00s) PASS ok github.com/hashicorp/packer/builder/googlecompute 20.398s ? github.com/hashicorp/packer/builder/googlecompute/version [no test files] === RUN TestArtifact_Impl --- PASS: TestArtifact_Impl (0.00s) === RUN TestArtifactId --- PASS: TestArtifactId (0.00s) === RUN TestArtifactString --- PASS: TestArtifactString (0.00s) === RUN TestArtifactState_StateData --- PASS: TestArtifactState_StateData (0.00s) === RUN TestBuilderAcc_basic testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_basic (0.00s) PASS ok github.com/hashicorp/packer/builder/hcloud 0.202s ? github.com/hashicorp/packer/builder/hcloud/version [no test files] === RUN TestArtifact_impl --- PASS: TestArtifact_impl (0.00s) === RUN TestNewArtifact --- PASS: TestNewArtifact (0.00s) === RUN TestOutputConfigPrepare --- PASS: TestOutputConfigPrepare (0.00s) === RUN TestOutputConfigPrepare_exists --- PASS: TestOutputConfigPrepare_exists (0.00s) === RUN TestStepCollateArtifacts_impl --- PASS: TestStepCollateArtifacts_impl (0.00s) === RUN TestStepCollateArtifacts_exportedArtifacts 2021/10/15 04:58:50 ui: Collating build artifacts... --- PASS: TestStepCollateArtifacts_exportedArtifacts (0.00s) === RUN TestStepCollateArtifacts_skipExportArtifacts 2021/10/15 04:58:50 ui: Collating build artifacts... --- PASS: TestStepCollateArtifacts_skipExportArtifacts (0.00s) === RUN TestStepCompactDisk_impl --- PASS: TestStepCompactDisk_impl (0.00s) === RUN TestStepCompactDisk 2021/10/15 04:58:50 ui: Compacting disks... 2021/10/15 04:58:50 ui: Mock compact result msg: mockdisk.vhdx. Disk size reduced by 20% --- PASS: TestStepCompactDisk (0.00s) === RUN TestStepCompactDisk_skip 2021/10/15 04:58:50 ui: Skipping disk compaction... --- PASS: TestStepCompactDisk_skip (0.00s) === RUN TestStepCreateBuildDir_imp --- PASS: TestStepCreateBuildDir_imp (0.00s) === RUN TestStepCreateBuildDir_Defaults 2021/10/15 04:58:50 ui: Creating build directory... 2021/10/15 04:58:50 Created build directory: /tmp/hyperv984236629 2021/10/15 04:58:50 ui: Deleting build directory... --- PASS: TestStepCreateBuildDir_Defaults (0.00s) === RUN TestStepCreateBuildDir_UserDefinedTempPath 2021/10/15 04:58:50 ui: Creating build directory... 2021/10/15 04:58:50 Created build directory: /tmp/userTempDir-61690a8a-3387-719a-abbe-777826f5d45a/hyperv652536240 2021/10/15 04:58:50 ui: Deleting build directory... --- PASS: TestStepCreateBuildDir_UserDefinedTempPath (0.00s) === RUN TestStepCreateBuildDir_BadTempPath 2021/10/15 04:58:50 ui: Creating build directory... 2021/10/15 04:58:50 ui error: Error creating build directory: stat /tmp/iDontExist-61690a8a-8b91-0eca-a252-2e10058799bc: no such file or directory --- PASS: TestStepCreateBuildDir_BadTempPath (0.00s) === RUN TestStepCreateVM_impl --- PASS: TestStepCreateVM_impl (0.00s) === RUN TestStepCreateVM 2021/10/15 04:58:50 ui: Creating virtual machine... 2021/10/15 04:58:50 No existing virtual harddrive, not attaching. --- PASS: TestStepCreateVM (0.00s) === RUN TestStepCreateVM_CheckVMNameErr 2021/10/15 04:58:50 ui: Creating virtual machine... 2021/10/15 04:58:50 ui error: A virtual machine with the name is already defined in Hyper-V. To avoid a name collision, please set your vm_name to a unique value --- PASS: TestStepCreateVM_CheckVMNameErr (0.00s) === RUN TestStepExportVm_impl --- PASS: TestStepExportVm_impl (0.00s) === RUN TestStepExportVm 2021/10/15 04:58:50 ui: Exporting virtual machine... --- PASS: TestStepExportVm (0.00s) === RUN TestStepExportVm_skip 2021/10/15 04:58:50 ui: Skipping export of virtual machine... --- PASS: TestStepExportVm_skip (0.00s) === RUN TestStepSetBootOrder 2021/10/15 04:58:50 ui: Setting boot order to ["SCSI:0:0"] --- PASS: TestStepSetBootOrder (0.00s) === RUN TestStepSetFirstBootDevice_impl --- PASS: TestStepSetFirstBootDevice_impl (0.00s) === RUN TestStepSetFirstBootDevice_ParseIdentifier --- PASS: TestStepSetFirstBootDevice_ParseIdentifier (0.00s) === RUN TestStepSetFirstBootDevice 2021/10/15 04:58:50 ui: Setting boot device to "IDE" 2021/10/15 04:58:50 ui: Setting boot device to "idE" 2021/10/15 04:58:50 ui: First Boot Device is DVD, but no primary ISO mounted. Ignoring. 2021/10/15 04:58:50 ui: Setting boot device to "CD" 2021/10/15 04:58:50 ui: First Boot Device is DVD, but no primary ISO mounted. Ignoring. 2021/10/15 04:58:50 ui: First Boot Device is DVD, but no primary ISO mounted. Ignoring. 2021/10/15 04:58:50 ui: Setting boot device to "DVD" 2021/10/15 04:58:50 ui: First Boot Device is DVD, but no primary ISO mounted. Ignoring. 2021/10/15 04:58:50 ui: Setting boot device to "FLOPPY" 2021/10/15 04:58:50 ui: Setting boot device to "FloppY" 2021/10/15 04:58:50 ui: Setting boot device to "NET" 2021/10/15 04:58:50 ui: Setting boot device to "net" 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "bad" is not a properly formatted device group identifier. 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "IDE:0:0" is not a properly formatted device group identifier. 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "SCSI:0:0" is not a properly formatted device group identifier. 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "IDE" is not a properly formatted device identifier. 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "idE" is not a properly formatted device identifier. 2021/10/15 04:58:50 ui: First Boot Device is DVD, but no primary ISO mounted. Ignoring. 2021/10/15 04:58:50 ui: Setting boot device to "CD" 2021/10/15 04:58:50 ui: First Boot Device is DVD, but no primary ISO mounted. Ignoring. 2021/10/15 04:58:50 ui: First Boot Device is DVD, but no primary ISO mounted. Ignoring. 2021/10/15 04:58:50 ui: Setting boot device to "DVD" 2021/10/15 04:58:50 ui: First Boot Device is DVD, but no primary ISO mounted. Ignoring. 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "FLOPPY" is not a properly formatted device identifier. 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "FloppY" is not a properly formatted device identifier. 2021/10/15 04:58:50 ui: Setting boot device to "NET" 2021/10/15 04:58:50 ui: Setting boot device to "net" 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "bad" is not a properly formatted device identifier. 2021/10/15 04:58:50 ui: Setting boot device to "IDE:0:0" 2021/10/15 04:58:50 ui: Setting boot device to "SCSI:0:0" 2021/10/15 04:58:50 ui: Setting boot device to "Ide:0:0" 2021/10/15 04:58:50 ui: Setting boot device to "sCsI:0:0" 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "IDEscsi:0:0" is not a properly formatted device identifier. 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "SCSIide:0:0" is not a properly formatted device identifier. 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "IDE:0" is not a properly formatted device identifier. 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "SCSI:0" is not a properly formatted device identifier. 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "IDE:0:a" is not a properly formatted device identifier. 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "SCSI:0:a" is not a properly formatted device identifier. 2021/10/15 04:58:50 ui error: Error setting first boot device: strconv.ParseInt: parsing "653": value out of range 2021/10/15 04:58:50 ui error: Error setting first boot device: The value "SCSI:-10:0" is not a properly formatted device identifier. --- PASS: TestStepSetFirstBootDevice (0.00s) PASS ok github.com/hashicorp/packer/builder/hyperv/common 0.382s === RUN TestOutput powershell_test.go:15: powershell not installed --- SKIP: TestOutput (0.00s) === RUN TestRunFile powershell_test.go:53: powershell not installed --- SKIP: TestRunFile (0.00s) PASS ok github.com/hashicorp/packer/builder/hyperv/common/powershell 0.183s === RUN Test_getCreateVMScript --- PASS: Test_getCreateVMScript (0.00s) PASS ok github.com/hashicorp/packer/builder/hyperv/common/powershell/hyperv 0.216s === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilderPrepare_Defaults 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 --- PASS: TestBuilderPrepare_Defaults (0.00s) === RUN TestBuilderPrepare_DiskSize 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 40960 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 --- PASS: TestBuilderPrepare_DiskSize (0.02s) === RUN TestBuilderPrepare_DiskBlockSize 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 32 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 32 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 32 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 256 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 512 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1024 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 32768 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 --- PASS: TestBuilderPrepare_DiskBlockSize (0.09s) === RUN TestBuilderPrepare_FixedVHDFormat 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 --- PASS: TestBuilderPrepare_FixedVHDFormat (0.02s) === RUN TestBuilderPrepare_FloppyFiles 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 --- PASS: TestBuilderPrepare_FloppyFiles (0.16s) === RUN TestBuilderPrepare_InvalidFloppies 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 --- PASS: TestBuilderPrepare_InvalidFloppies (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.00s) === RUN TestBuilderPrepare_ISOChecksum 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 --- PASS: TestBuilderPrepare_ISOChecksum (0.01s) === RUN TestBuilderPrepare_ISOChecksumType 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 --- PASS: TestBuilderPrepare_ISOChecksumType (0.11s) === RUN TestBuilderPrepare_ISOUrl 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 --- PASS: TestBuilderPrepare_ISOUrl (0.01s) === RUN TestBuilderPrepare_SizeNotRequiredWhenUsingExistingHarddrive 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 --- PASS: TestBuilderPrepare_SizeNotRequiredWhenUsingExistingHarddrive (0.07s) === RUN TestBuilderPrepare_SizeIsRequiredWhenNotUsingExistingHarddrive 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 1 --- PASS: TestBuilderPrepare_SizeIsRequiredWhenNotUsingExistingHarddrive (0.00s) === RUN TestBuilderPrepare_MaximumOfSixtyFourAdditionalDisks 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 --- PASS: TestBuilderPrepare_MaximumOfSixtyFourAdditionalDisks (0.20s) === RUN TestBuilderPrepare_CommConfig 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 --- PASS: TestBuilderPrepare_CommConfig (0.00s) === RUN TestUserVariablesInBootCommand 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 ui: Typing the boot command... 2021/10/15 04:59:10 Sending char 'b', code '30b0', shift false 2021/10/15 04:59:10 Sending char 'l', code '26a6', shift false 2021/10/15 04:59:10 Sending char 'a', code '1e9e', shift false 2021/10/15 04:59:10 Sending char 'h', code '23a3', shift false 2021/10/15 04:59:10 Sending char ' ', code '39b9', shift false 2021/10/15 04:59:10 Sending char 't', code '1494', shift false 2021/10/15 04:59:10 Sending char 'e', code '1292', shift false 2021/10/15 04:59:10 Sending char 's', code '1f9f', shift false 2021/10/15 04:59:10 Sending char 't', code '1494', shift false 2021/10/15 04:59:10 Sending char ' ', code '39b9', shift false 2021/10/15 04:59:10 Sending char 'b', code '30b0', shift false 2021/10/15 04:59:10 Sending char 'l', code '26a6', shift false 2021/10/15 04:59:10 Sending char 'a', code '1e9e', shift false 2021/10/15 04:59:10 Sending char 'h', code '23a3', shift false --- PASS: TestUserVariablesInBootCommand (0.12s) === RUN TestBuilderPrepare_UseLegacyNetworkAdapter 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 2021/10/15 04:59:10 VMName: packer-foo 2021/10/15 04:59:10 Using switch packer-foo 2021/10/15 04:59:10 DiskBlockSize: 1 2021/10/15 04:59:10 RamSize: 64 2021/10/15 04:59:10 DiskSize: 256 --- PASS: TestBuilderPrepare_UseLegacyNetworkAdapter (0.01s) PASS ok github.com/hashicorp/packer/builder/hyperv/iso 1.163s ? github.com/hashicorp/packer/builder/hyperv/version [no test files] === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilderPrepare_Defaults 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 --- PASS: TestBuilderPrepare_Defaults (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.00s) === RUN TestBuilderPrepare_CloneFromExistingMachineOrImportFromExportedMachineSettingsRequired 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 --- PASS: TestBuilderPrepare_CloneFromExistingMachineOrImportFromExportedMachineSettingsRequired (0.09s) === RUN TestBuilderPrepare_ExportedMachinePathDoesNotExist 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 --- PASS: TestBuilderPrepare_ExportedMachinePathDoesNotExist (0.00s) === RUN TestBuilderPrepare_ExportedMachinePathExists 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 --- PASS: TestBuilderPrepare_ExportedMachinePathExists (0.00s) === RUN TestBuilderPrepare_ISOChecksum 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 --- PASS: TestBuilderPrepare_ISOChecksum (0.00s) === RUN TestBuilderPrepare_ISOChecksumType 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 --- PASS: TestBuilderPrepare_ISOChecksumType (0.07s) === RUN TestBuilderPrepare_ISOUrl 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 --- PASS: TestBuilderPrepare_ISOUrl (0.02s) === RUN TestBuilderPrepare_FloppyFiles 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 --- PASS: TestBuilderPrepare_FloppyFiles (0.07s) === RUN TestBuilderPrepare_InvalidFloppies 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 --- PASS: TestBuilderPrepare_InvalidFloppies (0.01s) === RUN TestBuilderPrepare_CommConfig 2021/10/15 04:59:11 VMName: packer-foo 2021/10/15 04:59:11 DiskBlockSize: 32 2021/10/15 04:59:11 RamSize: 64 2021/10/15 04:59:12 VMName: packer-foo 2021/10/15 04:59:12 DiskBlockSize: 32 2021/10/15 04:59:12 RamSize: 64 --- PASS: TestBuilderPrepare_CommConfig (0.08s) === RUN TestUserVariablesInBootCommand 2021/10/15 04:59:12 VMName: packer-foo 2021/10/15 04:59:12 DiskBlockSize: 32 2021/10/15 04:59:12 RamSize: 64 2021/10/15 04:59:12 ui: Typing the boot command... 2021/10/15 04:59:12 Sending char 'b', code '30b0', shift false 2021/10/15 04:59:12 Sending char 'l', code '26a6', shift false 2021/10/15 04:59:12 Sending char 'a', code '1e9e', shift false 2021/10/15 04:59:12 Sending char 'h', code '23a3', shift false 2021/10/15 04:59:12 Sending char ' ', code '39b9', shift false 2021/10/15 04:59:12 Sending char 't', code '1494', shift false 2021/10/15 04:59:12 Sending char 'e', code '1292', shift false 2021/10/15 04:59:12 Sending char 's', code '1f9f', shift false 2021/10/15 04:59:12 Sending char 't', code '1494', shift false 2021/10/15 04:59:12 Sending char ' ', code '39b9', shift false 2021/10/15 04:59:12 Sending char 'b', code '30b0', shift false 2021/10/15 04:59:12 Sending char 'l', code '26a6', shift false 2021/10/15 04:59:12 Sending char 'a', code '1e9e', shift false 2021/10/15 04:59:12 Sending char 'h', code '23a3', shift false --- PASS: TestUserVariablesInBootCommand (0.12s) PASS ok github.com/hashicorp/packer/builder/hyperv/vmcx 1.078s === RUN TestJDCloudCredentialConfig_Prepare --- PASS: TestJDCloudCredentialConfig_Prepare (0.00s) === RUN TestJDCloudInstanceSpecConfig_Prepare --- PASS: TestJDCloudInstanceSpecConfig_Prepare (0.00s) PASS ok github.com/hashicorp/packer/builder/jdcloud 0.169s ? github.com/hashicorp/packer/builder/jdcloud/version [no test files] === RUN TestBuilder_Foo builder_test.go:20: This test is only run with PACKER_ACC=1 --- SKIP: TestBuilder_Foo (0.00s) === RUN TestBuilderPrepare_ConfigFile --- PASS: TestBuilderPrepare_ConfigFile (0.00s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestCommunicator_ImplementsCommunicator --- PASS: TestCommunicator_ImplementsCommunicator (0.00s) PASS ok github.com/hashicorp/packer/builder/lxc 0.299s ? github.com/hashicorp/packer/builder/lxc/version [no test files] === RUN TestBuilder_Foo builder_test.go:19: This test is only run with PACKER_ACC=1 --- SKIP: TestBuilder_Foo (0.00s) === RUN TestBuilderPrepare_ConfigFile --- PASS: TestBuilderPrepare_ConfigFile (0.00s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestCommunicator_ImplementsCommunicator --- PASS: TestCommunicator_ImplementsCommunicator (0.00s) PASS ok github.com/hashicorp/packer/builder/lxd 0.265s ? github.com/hashicorp/packer/builder/lxd/version [no test files] === RUN TestConfigWithServerImageProductCode --- PASS: TestConfigWithServerImageProductCode (0.00s) === RUN TestConfigWithMemberServerImageCode --- PASS: TestConfigWithMemberServerImageCode (0.01s) === RUN TestEmptyConfig --- PASS: TestEmptyConfig (0.00s) === RUN TestExistsBothServerImageProductCodeAndMemberServerImageNoConfig --- PASS: TestExistsBothServerImageProductCodeAndMemberServerImageNoConfig (0.09s) === RUN TestStepCreateBlockStorageInstanceShouldFailIfOperationCreateBlockStorageInstanceFails --- PASS: TestStepCreateBlockStorageInstanceShouldFailIfOperationCreateBlockStorageInstanceFails (0.00s) === RUN TestStepCreateBlockStorageInstanceShouldPassIfOperationCreateBlockStorageInstancePasses --- PASS: TestStepCreateBlockStorageInstanceShouldPassIfOperationCreateBlockStorageInstancePasses (0.00s) === RUN TestStepCreateLoginKeyShouldFailIfOperationCreateLoginKeyFails --- PASS: TestStepCreateLoginKeyShouldFailIfOperationCreateLoginKeyFails (0.00s) === RUN TestStepCreateLoginKeyShouldPassIfOperationCreateLoginKeyPasses --- PASS: TestStepCreateLoginKeyShouldPassIfOperationCreateLoginKeyPasses (0.00s) === RUN TestStepCreatePublicIPInstanceShouldFailIfOperationCreatePublicIPInstanceFails --- PASS: TestStepCreatePublicIPInstanceShouldFailIfOperationCreatePublicIPInstanceFails (0.00s) === RUN TestStepCreatePublicIPInstanceShouldPassIfOperationCreatePublicIPInstancePasses --- PASS: TestStepCreatePublicIPInstanceShouldPassIfOperationCreatePublicIPInstancePasses (0.00s) === RUN TestStepCreateServerImageShouldFailIfOperationCreateServerImageFails --- PASS: TestStepCreateServerImageShouldFailIfOperationCreateServerImageFails (0.00s) === RUN TestStepCreateServerImageShouldPassIfOperationCreateServerImagePasses --- PASS: TestStepCreateServerImageShouldPassIfOperationCreateServerImagePasses (0.00s) === RUN TestStepCreateServerInstanceShouldFailIfOperationCreateFails --- PASS: TestStepCreateServerInstanceShouldFailIfOperationCreateFails (0.00s) === RUN TestStepCreateServerInstanceShouldPassIfOperationCreatePasses --- PASS: TestStepCreateServerInstanceShouldPassIfOperationCreatePasses (0.00s) === RUN TestStepDeleteBlockStorageInstanceShouldFailIfOperationDeleteBlockStorageInstanceFails --- PASS: TestStepDeleteBlockStorageInstanceShouldFailIfOperationDeleteBlockStorageInstanceFails (0.00s) === RUN TestStepDeleteBlockStorageInstanceShouldPassIfOperationDeleteBlockStorageInstancePasses --- PASS: TestStepDeleteBlockStorageInstanceShouldPassIfOperationDeleteBlockStorageInstancePasses (0.00s) === RUN TestStepGetRootPasswordShouldFailIfOperationGetRootPasswordFails --- PASS: TestStepGetRootPasswordShouldFailIfOperationGetRootPasswordFails (0.00s) === RUN TestStepGetRootPasswordShouldPassIfOperationGetRootPasswordPasses --- PASS: TestStepGetRootPasswordShouldPassIfOperationGetRootPasswordPasses (0.00s) === RUN TestStepStopServerInstanceShouldFailIfOperationStopFails --- PASS: TestStepStopServerInstanceShouldFailIfOperationStopFails (0.00s) === RUN TestStepStopServerInstanceShouldPassIfOperationStopPasses --- PASS: TestStepStopServerInstanceShouldPassIfOperationStopPasses (0.00s) === RUN TestStepTerminateServerInstanceShouldFailIfOperationTerminationFails --- PASS: TestStepTerminateServerInstanceShouldFailIfOperationTerminationFails (0.00s) === RUN TestStepTerminateServerInstanceShouldPassIfOperationTerminationPasses --- PASS: TestStepTerminateServerInstanceShouldPassIfOperationTerminationPasses (0.00s) === RUN TestStepValidateTemplateShouldFailIfValidateFails --- PASS: TestStepValidateTemplateShouldFailIfValidateFails (0.00s) === RUN TestStepValidateTemplateShouldPassIfValidatePasses --- PASS: TestStepValidateTemplateShouldPassIfValidatePasses (0.00s) PASS ok github.com/hashicorp/packer/builder/ncloud 0.475s ? github.com/hashicorp/packer/builder/ncloud/version [no test files] === RUN TestNullArtifact --- PASS: TestNullArtifact (0.00s) === RUN TestBuilder_implBuilder --- PASS: TestBuilder_implBuilder (0.00s) === RUN TestConfigPrepare_port --- PASS: TestConfigPrepare_port (0.00s) === RUN TestConfigPrepare_host --- PASS: TestConfigPrepare_host (0.00s) === RUN TestConfigPrepare_sshCredential --- PASS: TestConfigPrepare_sshCredential (0.09s) PASS ok github.com/hashicorp/packer/builder/null 0.507s ? github.com/hashicorp/packer/builder/null/version [no test files] === RUN TestBuilderAcc_basic testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_basic (0.00s) === RUN TestImplementsBuilder --- PASS: TestImplementsBuilder (0.00s) === RUN TestBuilder_Prepare_BadType --- PASS: TestBuilder_Prepare_BadType (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.01s) PASS ok github.com/hashicorp/packer/builder/oneandone 0.261s ? github.com/hashicorp/packer/builder/oneandone/version [no test files] === RUN TestArtifact_Impl --- PASS: TestArtifact_Impl (0.00s) === RUN TestArtifactId --- PASS: TestArtifactId (0.00s) === RUN TestArtifactString --- PASS: TestArtifactString (0.00s) === RUN TestArtifactState_StateData --- PASS: TestArtifactState_StateData (0.00s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilder_Prepare_BadType --- PASS: TestBuilder_Prepare_BadType (0.00s) === RUN TestImageConfigPrepare_Region --- PASS: TestImageConfigPrepare_Region (0.00s) === RUN TestNetworkDiscovery_SubnetContainsGood_IPv4 --- PASS: TestNetworkDiscovery_SubnetContainsGood_IPv4 (0.00s) === RUN TestNetworkDiscovery_SubnetContainsGood_IPv6 --- PASS: TestNetworkDiscovery_SubnetContainsGood_IPv6 (0.00s) === RUN TestRunConfigPrepare --- PASS: TestRunConfigPrepare (0.00s) === RUN TestRunConfigPrepare_InstanceType --- PASS: TestRunConfigPrepare_InstanceType (0.00s) === RUN TestRunConfigPrepare_SourceImage --- PASS: TestRunConfigPrepare_SourceImage (0.00s) === RUN TestRunConfigPrepare_SSHPort --- PASS: TestRunConfigPrepare_SSHPort (0.00s) === RUN TestRunConfigPrepare_BlockStorage --- PASS: TestRunConfigPrepare_BlockStorage (0.00s) === RUN TestRunConfigPrepare_FloatingIPPoolCompat --- PASS: TestRunConfigPrepare_FloatingIPPoolCompat (0.00s) === RUN TestRunConfigPrepare_ExternalSourceImageURL --- PASS: TestRunConfigPrepare_ExternalSourceImageURL (0.00s) === RUN TestBuildImageFilter --- PASS: TestBuildImageFilter (0.00s) === RUN TestBuildBadImageFilter --- PASS: TestBuildBadImageFilter (0.00s) === RUN TestImageFiltersEmpty --- PASS: TestImageFiltersEmpty (0.00s) === RUN TestBerToDer 2021/10/15 04:59:54 Couldn't parse SSH key, trying work around for [GH-2526]. 2021/10/15 04:59:54 Executing: /usr/bin/openssl [rsa -in /tmp/packer-ber-privatekey-988292398 -out /tmp/packer-der-privatekey-892841653] 2021/10/15 04:59:54 ui: Successfully converted BER encoded SSH key to DER encoding. --- PASS: TestBerToDer (0.01s) PASS ok github.com/hashicorp/packer/builder/openstack 0.572s ? github.com/hashicorp/packer/builder/openstack/version [no test files] === RUN TestConfigAutoFillsSourceList --- PASS: TestConfigAutoFillsSourceList (0.00s) === RUN TestConfigValidationCatchesMissing --- PASS: TestConfigValidationCatchesMissing (0.09s) === RUN TestConfigValidatesObjects --- PASS: TestConfigValidatesObjects (0.12s) === RUN TestPVConfigEntry --- PASS: TestPVConfigEntry (0.00s) PASS ok github.com/hashicorp/packer/builder/oracle/classic 0.475s ? github.com/hashicorp/packer/builder/oracle/common [no test files] === RUN TestArtifactImpl --- PASS: TestArtifactImpl (0.00s) === RUN TestArtifactState_StateData --- PASS: TestArtifactState_StateData (0.00s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestConfig === RUN TestConfig/BaseConfig === RUN TestConfig/BaseImageFilterWithoutOCID === RUN TestConfig/BaseImageFilterDefault === RUN TestConfig/LaunchMode === RUN TestConfig/NoAccessConfig 2021/10/15 05:00:07 Default OCI settings file not found === RUN TestConfig/AccessConfigTemplateOnly 2021/10/15 05:00:07 Default OCI settings file not found === RUN TestConfig/TenancyReadFromAccessCfgFile === RUN TestConfig/RegionNotDefaultedToPHXWhenSetInOCISettings === RUN TestConfig/availability_domain_required === RUN TestConfig/base_image_ocid_required === RUN TestConfig/shape_required === RUN TestConfig/subnet_ocid_required === RUN TestConfig/ImageNameDefaultedIfEmpty === RUN TestConfig/user_ocid_overridden === RUN TestConfig/tenancy_ocid_overidden === RUN TestConfig/region_overidden === RUN TestConfig/fingerprint_overidden === RUN TestConfig/access_cfg_file_mixed_with_use_instance_principals === RUN TestConfig/access_cfg_file_account_mixed_with_use_instance_principals === RUN TestConfig/user_ocid_mixed_with_use_instance_principals === RUN TestConfig/tenancy_ocid_mixed_with_use_instance_principals === RUN TestConfig/region_mixed_with_use_instance_principals === RUN TestConfig/fingerprint_mixed_with_use_instance_principals === RUN TestConfig/key_file_mixed_with_use_instance_principals === RUN TestConfig/pass_phrase_mixed_with_use_instance_principals --- PASS: TestConfig (6.31s) --- PASS: TestConfig/BaseConfig (0.08s) --- PASS: TestConfig/BaseImageFilterWithoutOCID (0.02s) --- PASS: TestConfig/BaseImageFilterDefault (0.00s) --- PASS: TestConfig/LaunchMode (0.00s) --- PASS: TestConfig/NoAccessConfig (0.00s) --- PASS: TestConfig/AccessConfigTemplateOnly (0.08s) --- PASS: TestConfig/TenancyReadFromAccessCfgFile (0.01s) --- PASS: TestConfig/RegionNotDefaultedToPHXWhenSetInOCISettings (0.00s) --- PASS: TestConfig/availability_domain_required (0.00s) --- PASS: TestConfig/base_image_ocid_required (0.00s) --- PASS: TestConfig/shape_required (0.02s) --- PASS: TestConfig/subnet_ocid_required (0.00s) --- PASS: TestConfig/ImageNameDefaultedIfEmpty (0.01s) --- PASS: TestConfig/user_ocid_overridden (0.06s) --- PASS: TestConfig/tenancy_ocid_overidden (0.01s) --- PASS: TestConfig/region_overidden (0.00s) --- PASS: TestConfig/fingerprint_overidden (0.01s) --- PASS: TestConfig/access_cfg_file_mixed_with_use_instance_principals (0.01s) --- PASS: TestConfig/access_cfg_file_account_mixed_with_use_instance_principals (0.01s) --- PASS: TestConfig/user_ocid_mixed_with_use_instance_principals (0.00s) --- PASS: TestConfig/tenancy_ocid_mixed_with_use_instance_principals (0.06s) --- PASS: TestConfig/region_mixed_with_use_instance_principals (0.03s) --- PASS: TestConfig/fingerprint_mixed_with_use_instance_principals (0.00s) --- PASS: TestConfig/key_file_mixed_with_use_instance_principals (0.01s) --- PASS: TestConfig/pass_phrase_mixed_with_use_instance_principals (0.06s) === RUN TestStepCreateInstance 2021/10/15 05:00:11 Default OCI settings file not found 2021/10/15 05:00:11 ui: Creating instance... 2021/10/15 05:00:11 ui: Created instance (ocid1...). 2021/10/15 05:00:11 ui: Waiting for instance to enter 'RUNNING' state... 2021/10/15 05:00:11 ui: Instance 'RUNNING'. 2021/10/15 05:00:11 ui: Terminating instance (ocid1...)... 2021/10/15 05:00:11 ui: Terminated instance. 2021/10/15 05:00:11 ui: Terminating instance (ocid1...)... 2021/10/15 05:00:11 ui: Terminated instance. --- PASS: TestStepCreateInstance (2.60s) === RUN TestStepCreateInstance_CreateInstanceErr 2021/10/15 05:00:12 Default OCI settings file not found 2021/10/15 05:00:12 ui: Creating instance... 2021/10/15 05:00:12 ui error: Problem creating instance: error --- PASS: TestStepCreateInstance_CreateInstanceErr (1.58s) === RUN TestStepCreateInstance_WaitForInstanceStateErr 2021/10/15 05:00:17 Default OCI settings file not found 2021/10/15 05:00:17 ui: Creating instance... 2021/10/15 05:00:17 ui: Created instance (ocid1...). 2021/10/15 05:00:17 ui: Waiting for instance to enter 'RUNNING' state... 2021/10/15 05:00:17 ui error: Error waiting for instance to start: error 2021/10/15 05:00:17 ui: Terminating instance (ocid1...)... 2021/10/15 05:00:17 ui error: Error terminating instance. Please terminate manually: error --- PASS: TestStepCreateInstance_WaitForInstanceStateErr (5.31s) === RUN TestStepCreateInstance_TerminateInstanceErr 2021/10/15 05:00:20 Default OCI settings file not found 2021/10/15 05:00:20 ui: Creating instance... 2021/10/15 05:00:20 ui: Created instance (ocid1...). 2021/10/15 05:00:20 ui: Waiting for instance to enter 'RUNNING' state... 2021/10/15 05:00:20 ui: Instance 'RUNNING'. 2021/10/15 05:00:20 ui: Terminating instance (ocid1...)... 2021/10/15 05:00:20 ui error: Error terminating instance. Please terminate manually: error 2021/10/15 05:00:20 ui: Terminating instance (ocid1...)... 2021/10/15 05:00:20 ui error: Error terminating instance. Please terminate manually: error --- PASS: TestStepCreateInstance_TerminateInstanceErr (2.12s) === RUN TestStepCreateInstanceCleanup_WaitForInstanceStateErr 2021/10/15 05:00:24 Default OCI settings file not found 2021/10/15 05:00:24 ui: Creating instance... 2021/10/15 05:00:24 ui: Created instance (ocid1...). 2021/10/15 05:00:24 ui: Waiting for instance to enter 'RUNNING' state... 2021/10/15 05:00:24 ui: Instance 'RUNNING'. 2021/10/15 05:00:24 ui: Terminating instance (ocid1...)... 2021/10/15 05:00:24 ui error: Error terminating instance. Please terminate manually: error 2021/10/15 05:00:24 ui: Terminating instance (ocid1...)... 2021/10/15 05:00:24 ui error: Error terminating instance. Please terminate manually: error --- PASS: TestStepCreateInstanceCleanup_WaitForInstanceStateErr (3.97s) === RUN TestStepImage 2021/10/15 05:00:29 Default OCI settings file not found 2021/10/15 05:00:29 ui: Creating image from instance... 2021/10/15 05:00:29 ui: Image created. --- PASS: TestStepImage (5.42s) === RUN TestStepImage_CreateImageErr 2021/10/15 05:00:34 Default OCI settings file not found 2021/10/15 05:00:35 ui: Creating image from instance... 2021/10/15 05:00:35 ui error: Error creating image from instance: error --- PASS: TestStepImage_CreateImageErr (5.58s) === RUN TestStepImage_WaitForImageCreationErr 2021/10/15 05:00:37 Default OCI settings file not found 2021/10/15 05:00:37 ui: Creating image from instance... 2021/10/15 05:00:37 ui error: Error waiting for image creation to finish: error --- PASS: TestStepImage_WaitForImageCreationErr (2.31s) === RUN TestInstanceInfo 2021/10/15 05:00:41 Default OCI settings file not found 2021/10/15 05:00:41 ui: Instance has IP: ip. --- PASS: TestInstanceInfo (3.68s) === RUN TestInstanceInfoPrivateIP 2021/10/15 05:00:42 Default OCI settings file not found 2021/10/15 05:00:42 ui: Instance has IP: private_ip. --- PASS: TestInstanceInfoPrivateIP (1.10s) === RUN TestInstanceInfo_GetInstanceIPErr 2021/10/15 05:00:44 Default OCI settings file not found 2021/10/15 05:00:44 ui error: Error getting instance's IP: error --- PASS: TestInstanceInfo_GetInstanceIPErr (2.20s) PASS ok github.com/hashicorp/packer/builder/oracle/oci 42.378s ? github.com/hashicorp/packer/builder/oracle/version [no test files] === RUN TestArtifact_impl --- PASS: TestArtifact_impl (0.00s) === RUN TestNewArtifact --- PASS: TestNewArtifact (0.00s) === RUN TestParallels9Driver_impl --- PASS: TestParallels9Driver_impl (0.00s) === RUN TestIPAddress 2021/10/15 05:00:01 Found lease: 10.211.55.125 for MAC: 001C4235240c, expiring at 1418288000, leased for 1800 s. 2021/10/15 05:00:01 Found lease: 10.211.55.126 for MAC: 001C4235240c, expiring at 1418288969, leased for 1800 s. 2021/10/15 05:00:01 Found IP lease: 10.211.55.126 for MAC address 001C4235240c 2021/10/15 05:00:01 Found lease: 10.211.55.124 for MAC: 001c4235240c, expiring at 1418288969, leased for 1800 s. 2021/10/15 05:00:01 Found lease: 10.211.55.125 for MAC: 001c4235240c, expiring at 1418288000, leased for 1800 s. 2021/10/15 05:00:01 Found IP lease: 10.211.55.124 for MAC address 001c4235240c --- PASS: TestIPAddress (0.00s) === RUN TestXMLParseConfig --- PASS: TestXMLParseConfig (0.00s) === RUN TestIfconfigIPFinder_Impl --- PASS: TestIfconfigIPFinder_Impl (0.00s) === RUN TestHWConfigPrepare --- PASS: TestHWConfigPrepare (0.00s) === RUN TestOutputConfigPrepare --- PASS: TestOutputConfigPrepare (0.00s) === RUN TestOutputConfigPrepare_exists --- PASS: TestOutputConfigPrepare_exists (0.00s) === RUN TestOutputConfigPrepare_forceExists --- PASS: TestOutputConfigPrepare_forceExists (0.00s) === RUN TestPrlctlConfigPrepare_Prlctl --- PASS: TestPrlctlConfigPrepare_Prlctl (0.00s) === RUN TestPrlctlPostConfigPrepare_PrlctlPost --- PASS: TestPrlctlPostConfigPrepare_PrlctlPost (0.00s) === RUN TestPrlctlVersionConfigPrepare_BootWait --- PASS: TestPrlctlVersionConfigPrepare_BootWait (0.00s) === RUN TestSSHConfigPrepare --- PASS: TestSSHConfigPrepare (0.00s) === RUN TestSSHConfigPrepare_SSHPrivateKey --- PASS: TestSSHConfigPrepare_SSHPrivateKey (0.00s) === RUN TestStepAttachFloppy_impl --- PASS: TestStepAttachFloppy_impl (0.00s) === RUN TestStepAttachFloppy 2021/10/15 05:00:01 ui: Deleting any current floppy disk... 2021/10/15 05:00:01 ui: Attaching floppy disk... --- PASS: TestStepAttachFloppy (0.00s) === RUN TestStepAttachFloppy_noFloppy 2021/10/15 05:00:02 No floppy disk, not attaching. --- PASS: TestStepAttachFloppy_noFloppy (0.00s) === RUN TestStepCompactDisk_impl --- PASS: TestStepCompactDisk_impl (0.00s) === RUN TestStepCompactDisk 2021/10/15 05:00:02 ui: Compacting the disk image --- PASS: TestStepCompactDisk (0.02s) === RUN TestStepCompactDisk_skip 2021/10/15 05:00:02 ui: Skipping disk compaction step... --- PASS: TestStepCompactDisk_skip (0.00s) === RUN TestStepOutputDir_impl --- PASS: TestStepOutputDir_impl (0.00s) === RUN TestStepOutputDir --- PASS: TestStepOutputDir (0.00s) === RUN TestStepOutputDir_cancelled 2021/10/15 05:00:02 ui: Deleting output directory... --- PASS: TestStepOutputDir_cancelled (0.00s) === RUN TestStepOutputDir_halted 2021/10/15 05:00:02 ui: Deleting output directory... --- PASS: TestStepOutputDir_halted (0.00s) === RUN TestStepPrepareParallelsTools_impl --- PASS: TestStepPrepareParallelsTools_impl (0.00s) === RUN TestStepPrepareParallelsTools --- PASS: TestStepPrepareParallelsTools (0.00s) === RUN TestStepPrepareParallelsTools_disabled --- PASS: TestStepPrepareParallelsTools_disabled (0.00s) === RUN TestStepPrepareParallelsTools_nonExist --- PASS: TestStepPrepareParallelsTools_nonExist (0.00s) === RUN TestStepShutdown_impl --- PASS: TestStepShutdown_impl (0.00s) === RUN TestStepShutdown_noShutdownCommand 2021/10/15 05:00:02 ui: Halting the virtual machine... 2021/10/15 05:00:02 VM shut down. --- PASS: TestStepShutdown_noShutdownCommand (0.00s) === RUN TestStepShutdown_shutdownCommand 2021/10/15 05:00:02 ui: Gracefully halting virtual machine... 2021/10/15 05:00:02 Executing shutdown command: poweroff 2021/10/15 05:00:02 Waiting max 1s for shutdown to complete 2021/10/15 05:00:02 VM shut down. --- PASS: TestStepShutdown_shutdownCommand (0.50s) === RUN TestStepShutdown_shutdownTimeout 2021/10/15 05:00:02 ui: Gracefully halting virtual machine... 2021/10/15 05:00:02 Executing shutdown command: poweroff 2021/10/15 05:00:02 Waiting max 1s for shutdown to complete 2021/10/15 05:00:04 Shutdown stdout: 2021/10/15 05:00:04 Shutdown stderr: 2021/10/15 05:00:04 ui error: Timeout while waiting for machine to shut down. --- PASS: TestStepShutdown_shutdownTimeout (1.51s) === RUN TestStepUploadParallelsTools_impl --- PASS: TestStepUploadParallelsTools_impl (0.00s) === RUN TestStepUploadParallelsTools 2021/10/15 05:00:04 ui: Uploading Parallels Tools for 'lin' to path: '/tmp/prl-lin.iso' --- PASS: TestStepUploadParallelsTools (0.00s) === RUN TestStepUploadParallelsTools_interpolate 2021/10/15 05:00:04 ui: Uploading Parallels Tools for 'win' to path: '/tmp/prl-win.iso' --- PASS: TestStepUploadParallelsTools_interpolate (0.00s) === RUN TestStepUploadParallelsTools_attach 2021/10/15 05:00:04 Not uploading Parallels Tools since mode is not upload --- PASS: TestStepUploadParallelsTools_attach (0.00s) === RUN TestStepUploadVersion_impl --- PASS: TestStepUploadVersion_impl (0.00s) === RUN TestStepUploadVersion 2021/10/15 05:00:04 ui: Uploading Parallels version info (foo) --- PASS: TestStepUploadVersion (0.00s) === RUN TestStepUploadVersion_noPath 2021/10/15 05:00:04 ParallelsVersionFile is empty. Not uploading. --- PASS: TestStepUploadVersion_noPath (0.00s) === RUN TestToolsConfigPrepare --- PASS: TestToolsConfigPrepare (0.00s) === RUN TestToolsConfigPrepare_ParallelsToolsMode --- PASS: TestToolsConfigPrepare_ParallelsToolsMode (0.00s) === RUN TestToolsConfigPrepare_ParallelsToolsGuestPath --- PASS: TestToolsConfigPrepare_ParallelsToolsGuestPath (0.00s) === RUN TestToolsConfigPrepare_ParallelsToolsFlavor --- PASS: TestToolsConfigPrepare_ParallelsToolsFlavor (0.00s) PASS ok github.com/hashicorp/packer/builder/parallels/common 2.299s === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilderPrepare_Defaults --- PASS: TestBuilderPrepare_Defaults (0.00s) === RUN TestBuilderPrepare_FloppyFiles --- PASS: TestBuilderPrepare_FloppyFiles (0.00s) === RUN TestBuilderPrepare_InvalidFloppies --- PASS: TestBuilderPrepare_InvalidFloppies (0.03s) === RUN TestBuilderPrepare_DiskSize --- PASS: TestBuilderPrepare_DiskSize (0.00s) === RUN TestBuilderPrepare_DiskType --- PASS: TestBuilderPrepare_DiskType (0.06s) === RUN TestBuilderPrepare_HardDriveInterface --- PASS: TestBuilderPrepare_HardDriveInterface (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.01s) PASS ok github.com/hashicorp/packer/builder/parallels/iso 0.314s === RUN TestNewConfig_sourcePath --- PASS: TestNewConfig_sourcePath (0.06s) === RUN TestNewConfig_FloppyFiles --- PASS: TestNewConfig_FloppyFiles (0.00s) === RUN TestNewConfig_InvalidFloppies --- PASS: TestNewConfig_InvalidFloppies (0.02s) === RUN TestNewConfig_shutdown_timeout --- PASS: TestNewConfig_shutdown_timeout (0.00s) PASS ok github.com/hashicorp/packer/builder/parallels/pvm 0.300s ? github.com/hashicorp/packer/builder/parallels/version [no test files] === RUN TestArtifact_Impl --- PASS: TestArtifact_Impl (0.00s) === RUN TestArtifactString --- PASS: TestArtifactString (0.00s) === RUN TestArtifactState_StateData --- PASS: TestArtifactState_StateData (0.00s) === RUN TestBuilderAcc_basic testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_basic (0.00s) === RUN TestImplementsBuilder --- PASS: TestImplementsBuilder (0.00s) === RUN TestBuilder_Prepare_BadType --- PASS: TestBuilder_Prepare_BadType (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.00s) PASS ok github.com/hashicorp/packer/builder/profitbricks 0.297s ? github.com/hashicorp/packer/builder/profitbricks/version [no test files] ? github.com/hashicorp/packer/builder/proxmox [no test files] ? github.com/hashicorp/packer/builder/proxmox/clone [no test files] === RUN TestRequiredParameters 2021/10/15 05:00:30 Memory 0 is too small, using default: 512 2021/10/15 05:00:30 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:30 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:30 CPU type not set, using default 'kvm64' 2021/10/15 05:00:30 OS not set, using default 'other' 2021/10/15 05:00:30 SCSI controller not set, using default 'lsi' --- PASS: TestRequiredParameters (0.00s) === RUN TestAgentSetToFalse 2021/10/15 05:00:30 Memory 0 is too small, using default: 512 2021/10/15 05:00:30 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:30 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:30 CPU type not set, using default 'kvm64' 2021/10/15 05:00:30 OS not set, using default 'other' 2021/10/15 05:00:30 SCSI controller not set, using default 'lsi' --- PASS: TestAgentSetToFalse (0.01s) === RUN TestPacketQueueSupportForNetworkAdapters 2021/10/15 05:00:30 Memory 0 is too small, using default: 512 2021/10/15 05:00:30 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:31 Memory 0 is too small, using default: 512 2021/10/15 05:00:31 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:31 Memory 0 is too small, using default: 512 2021/10/15 05:00:31 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:31 Memory 0 is too small, using default: 512 2021/10/15 05:00:31 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:31 Memory 0 is too small, using default: 512 2021/10/15 05:00:31 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:31 Memory 0 is too small, using default: 512 2021/10/15 05:00:31 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:31 Memory 0 is too small, using default: 512 2021/10/15 05:00:31 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:31 Memory 0 is too small, using default: 512 2021/10/15 05:00:31 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:31 Memory 0 is too small, using default: 512 2021/10/15 05:00:31 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:31 Memory 0 is too small, using default: 512 2021/10/15 05:00:31 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:31 Memory 0 is too small, using default: 512 2021/10/15 05:00:31 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:31 Memory 0 is too small, using default: 512 2021/10/15 05:00:31 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:31 Memory 0 is too small, using default: 512 2021/10/15 05:00:31 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:31 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:31 CPU type not set, using default 'kvm64' 2021/10/15 05:00:31 OS not set, using default 'other' 2021/10/15 05:00:31 SCSI controller not set, using default 'lsi' --- PASS: TestPacketQueueSupportForNetworkAdapters (0.27s) === RUN TestConvertToTemplate === RUN TestConvertToTemplate/no_errors_returns_continue_and_sets_template_id 2021/10/15 05:00:31 ui: Stopping VM 2021/10/15 05:00:31 ui: Converting VM to template 2021/10/15 05:00:31 template_id: 123 === RUN TestConvertToTemplate/when_shutdown_fails,_don't_try_to_create_template_and_halt 2021/10/15 05:00:31 ui: Stopping VM 2021/10/15 05:00:31 ui error: Error converting VM to template, could not stop: failed to stop vm === RUN TestConvertToTemplate/when_create_template_fails,_halt 2021/10/15 05:00:31 ui: Stopping VM 2021/10/15 05:00:31 ui: Converting VM to template 2021/10/15 05:00:31 ui error: Error converting VM to template: failed to stop vm --- PASS: TestConvertToTemplate (0.00s) --- PASS: TestConvertToTemplate/no_errors_returns_continue_and_sets_template_id (0.00s) --- PASS: TestConvertToTemplate/when_shutdown_fails,_don't_try_to_create_template_and_halt (0.00s) --- PASS: TestConvertToTemplate/when_create_template_fails,_halt (0.00s) === RUN TestTemplateFinalize === RUN TestTemplateFinalize/empty_config_changes_only_description === RUN TestTemplateFinalize/all_options === RUN TestTemplateFinalize/all_options_with_cloud-init 2021/10/15 05:00:31 ui: Adding a cloud-init cdrom in storage pool ceph01 === RUN TestTemplateFinalize/no_available_controller_for_cloud-init_drive 2021/10/15 05:00:31 ui error: Found no free ide controller for a cloud-init cdrom === RUN TestTemplateFinalize/GetVmConfig_error_should_return_halt 2021/10/15 05:00:31 ui error: Error fetching template config: some error === RUN TestTemplateFinalize/SetVmConfig_error_should_return_halt 2021/10/15 05:00:31 ui error: Error updating template: some error --- PASS: TestTemplateFinalize (0.00s) --- PASS: TestTemplateFinalize/empty_config_changes_only_description (0.00s) --- PASS: TestTemplateFinalize/all_options (0.00s) --- PASS: TestTemplateFinalize/all_options_with_cloud-init (0.00s) --- PASS: TestTemplateFinalize/no_available_controller_for_cloud-init_drive (0.00s) --- PASS: TestTemplateFinalize/GetVmConfig_error_should_return_halt (0.00s) --- PASS: TestTemplateFinalize/SetVmConfig_error_should_return_halt (0.00s) === RUN TestCleanupStartVM === RUN TestCleanupStartVM/when_vmRef_state_is_not_set,_nothing_should_happen === RUN TestCleanupStartVM/when_success_state_is_set,_nothing_should_happen === RUN TestCleanupStartVM/when_not_successful,_vm_should_be_stopped_and_deleted 2021/10/15 05:00:31 ui: Stopping VM 2021/10/15 05:00:31 ui: Deleting VM === RUN TestCleanupStartVM/if_stopping_fails,_DeleteVm_should_not_be_called 2021/10/15 05:00:31 ui: Stopping VM 2021/10/15 05:00:31 ui error: Error stopping VM. Please stop and delete it manually: some error --- PASS: TestCleanupStartVM (0.00s) --- PASS: TestCleanupStartVM/when_vmRef_state_is_not_set,_nothing_should_happen (0.00s) --- PASS: TestCleanupStartVM/when_success_state_is_set,_nothing_should_happen (0.00s) --- PASS: TestCleanupStartVM/when_not_successful,_vm_should_be_stopped_and_deleted (0.00s) --- PASS: TestCleanupStartVM/if_stopping_fails,_DeleteVm_should_not_be_called (0.00s) === RUN TestTypeBootCommand === RUN TestTypeBootCommand/simple_boot_command_is_typed 2021/10/15 05:00:31 ui: Typing the boot command === RUN TestTypeBootCommand/interpolated_boot_command 2021/10/15 05:00:31 ui: Typing the boot command === RUN TestTypeBootCommand/merge_multiple_interpolated_boot_command 2021/10/15 05:00:31 ui: Typing the boot command === RUN TestTypeBootCommand/holding_and_releasing_keys 2021/10/15 05:00:31 ui: Typing the boot command === RUN TestTypeBootCommand/holding_multiple_alphabetical_keys_and_shift 2021/10/15 05:00:31 ui: Typing the boot command === RUN TestTypeBootCommand/noop_keystrokes 2021/10/15 05:00:31 ui: Typing the boot command === RUN TestTypeBootCommand/noop_keystrokes_mixed 2021/10/15 05:00:31 ui: Typing the boot command === RUN TestTypeBootCommand/without_boot_command_sendkey_should_not_be_called 2021/10/15 05:00:31 No boot command given, skipping === RUN TestTypeBootCommand/invalid_boot_command_template_function 2021/10/15 05:00:31 ui: Typing the boot command 2021/10/15 05:00:31 ui error: Error preparing boot command: template: root:1: function "foo" not defined === RUN TestTypeBootCommand/invalid_keys_sent_to_proxmox 2021/10/15 05:00:31 ui: Typing the boot command 2021/10/15 05:00:31 ui error: Error running boot command: invalid parameter: x === RUN TestTypeBootCommand/error_in_typing_should_return_halt 2021/10/15 05:00:31 ui: Typing the boot command 2021/10/15 05:00:31 ui error: Error running boot command: some error --- PASS: TestTypeBootCommand (0.03s) --- PASS: TestTypeBootCommand/simple_boot_command_is_typed (0.00s) --- PASS: TestTypeBootCommand/interpolated_boot_command (0.00s) --- PASS: TestTypeBootCommand/merge_multiple_interpolated_boot_command (0.00s) --- PASS: TestTypeBootCommand/holding_and_releasing_keys (0.00s) --- PASS: TestTypeBootCommand/holding_multiple_alphabetical_keys_and_shift (0.00s) --- PASS: TestTypeBootCommand/noop_keystrokes (0.00s) --- PASS: TestTypeBootCommand/noop_keystrokes_mixed (0.00s) --- PASS: TestTypeBootCommand/without_boot_command_sendkey_should_not_be_called (0.00s) --- PASS: TestTypeBootCommand/invalid_boot_command_template_function (0.00s) --- PASS: TestTypeBootCommand/invalid_keys_sent_to_proxmox (0.00s) --- PASS: TestTypeBootCommand/error_in_typing_should_return_halt (0.02s) PASS ok github.com/hashicorp/packer/builder/proxmox/common 0.477s === RUN TestBasicExampleFromDocsIsValid 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 NIC 0 model not set, using default 'e1000' 2021/10/15 05:00:32 Disk 0 cache mode not set, using default 'none' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' --- PASS: TestBasicExampleFromDocsIsValid (0.01s) === RUN TestAgentSetToFalse 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' --- PASS: TestAgentSetToFalse (0.01s) === RUN TestPacketQueueSupportForNetworkAdapters 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 SCSI controller not set, using default 'lsi' --- PASS: TestPacketQueueSupportForNetworkAdapters (0.29s) === RUN TestHardDiskControllerIOThreadSupport 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 NIC 0 model not set, using default 'e1000' 2021/10/15 05:00:32 Disk 0 size not set, using default '20G' 2021/10/15 05:00:32 Disk 0 cache mode not set, using default 'none' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 NIC 0 model not set, using default 'e1000' 2021/10/15 05:00:32 Disk 0 size not set, using default '20G' 2021/10/15 05:00:32 Disk 0 cache mode not set, using default 'none' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 NIC 0 model not set, using default 'e1000' 2021/10/15 05:00:32 Disk 0 size not set, using default '20G' 2021/10/15 05:00:32 Disk 0 cache mode not set, using default 'none' 2021/10/15 05:00:32 Memory 0 is too small, using default: 512 2021/10/15 05:00:32 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:32 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:32 CPU type not set, using default 'kvm64' 2021/10/15 05:00:32 OS not set, using default 'other' 2021/10/15 05:00:32 NIC 0 model not set, using default 'e1000' 2021/10/15 05:00:32 Disk 0 size not set, using default '20G' 2021/10/15 05:00:32 Disk 0 cache mode not set, using default 'none' 2021/10/15 05:00:33 Memory 0 is too small, using default: 512 2021/10/15 05:00:33 Number of cores 0 is too small, using default: 1 2021/10/15 05:00:33 Number of sockets 0 is too small, using default: 1 2021/10/15 05:00:33 CPU type not set, using default 'kvm64' 2021/10/15 05:00:33 OS not set, using default 'other' 2021/10/15 05:00:33 NIC 0 model not set, using default 'e1000' 2021/10/15 05:00:33 Disk 0 size not set, using default '20G' 2021/10/15 05:00:33 Disk 0 cache mode not set, using default 'none' --- PASS: TestHardDiskControllerIOThreadSupport (0.19s) === RUN TestISOTemplateFinalize === RUN TestISOTemplateFinalize/default_config_does_nothing === RUN TestISOTemplateFinalize/should_unmount_when_configured === RUN TestISOTemplateFinalize/no_cd-drive_with_unmount=true_should_returns_halt 2021/10/15 05:00:33 ui error: Cannot eject ISO from cdrom drive, ide2 is not present, or not a cdrom media === RUN TestISOTemplateFinalize/GetVmConfig_error_should_return_halt 2021/10/15 05:00:33 ui error: Error fetching template config: some error === RUN TestISOTemplateFinalize/SetVmConfig_error_should_return_halt 2021/10/15 05:00:33 ui error: Error updating template: some error --- PASS: TestISOTemplateFinalize (0.00s) --- PASS: TestISOTemplateFinalize/default_config_does_nothing (0.00s) --- PASS: TestISOTemplateFinalize/should_unmount_when_configured (0.00s) --- PASS: TestISOTemplateFinalize/no_cd-drive_with_unmount=true_should_returns_halt (0.00s) --- PASS: TestISOTemplateFinalize/GetVmConfig_error_should_return_halt (0.00s) --- PASS: TestISOTemplateFinalize/SetVmConfig_error_should_return_halt (0.00s) === RUN TestUploadISO === RUN TestUploadISO/should_not_call_upload_unless_configured_to_do_so === RUN TestUploadISO/success_should_continue === RUN TestUploadISO/failing_upload_should_halt 2021/10/15 05:00:33 ui error: Testing induced failure === RUN TestUploadISO/downloader:_state_misconfiguration_should_halt 2021/10/15 05:00:33 ui error: Path to downloaded ISO was empty === RUN TestUploadISO/downloader:_file_unreadable_should_halt 2021/10/15 05:00:33 ui error: open : no such file or directory --- PASS: TestUploadISO (0.00s) --- PASS: TestUploadISO/should_not_call_upload_unless_configured_to_do_so (0.00s) --- PASS: TestUploadISO/success_should_continue (0.00s) --- PASS: TestUploadISO/failing_upload_should_halt (0.00s) --- PASS: TestUploadISO/downloader:_state_misconfiguration_should_halt (0.00s) --- PASS: TestUploadISO/downloader:_file_unreadable_should_halt (0.00s) PASS ok github.com/hashicorp/packer/builder/proxmox/iso 0.870s ? github.com/hashicorp/packer/builder/proxmox/version [no test files] === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestCommConfigPrepare --- PASS: TestCommConfigPrepare (0.00s) === RUN TestCommConfigPrepare_SSHHostPort --- PASS: TestCommConfigPrepare_SSHHostPort (0.00s) === RUN TestCommConfigPrepare_SSHPrivateKey --- PASS: TestCommConfigPrepare_SSHPrivateKey (0.00s) === RUN TestBuilderPrepare_Defaults 2021/10/15 05:00:46 use detected accelerator: tcg 2021/10/15 05:00:46 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:46 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_Defaults (0.00s) === RUN TestBuilderPrepare_VNCBindAddress 2021/10/15 05:00:46 use detected accelerator: tcg 2021/10/15 05:00:46 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:46 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_VNCBindAddress (0.00s) === RUN TestBuilderPrepare_DiskCompaction 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_DiskCompaction (0.08s) === RUN TestBuilderPrepare_DiskSize 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_DiskSize (0.01s) === RUN TestBuilderPrepare_AdditionalDiskSize 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_AdditionalDiskSize (0.06s) === RUN TestBuilderPrepare_Format 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_Format (0.02s) === RUN TestBuilderPrepare_UseBackingFile 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_UseBackingFile (0.10s) === RUN TestBuilderPrepare_SkipResizeDisk 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_SkipResizeDisk (0.00s) === RUN TestBuilderPrepare_FloppyFiles 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_FloppyFiles (0.00s) === RUN TestBuilderPrepare_InvalidFloppies 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_InvalidFloppies (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.00s) === RUN TestBuilderPrepare_OutputDir 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_OutputDir (0.08s) === RUN TestBuilderPrepare_ShutdownTimeout 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_ShutdownTimeout (0.00s) === RUN TestBuilderPrepare_SSHHostPort 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_SSHHostPort (0.00s) === RUN TestBuilderPrepare_SSHPrivateKey 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_SSHPrivateKey (0.01s) === RUN TestBuilderPrepare_SSHWaitTimeout 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_SSHWaitTimeout (0.00s) === RUN TestBuilderPrepare_QemuArgs 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_QemuArgs (0.00s) === RUN TestBuilderPrepare_VNCPassword 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_VNCPassword (0.00s) === RUN TestCommConfigPrepare_BackwardsCompatibility 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestCommConfigPrepare_BackwardsCompatibility (0.06s) === RUN TestBuilderPrepare_LoadQemuImgArgs 2021/10/15 05:00:47 use detected accelerator: tcg 2021/10/15 05:00:47 MemorySize 0 is too small, using default: 512 2021/10/15 05:00:47 CpuCount 0 too small, using default: 1 --- PASS: TestBuilderPrepare_LoadQemuImgArgs (0.09s) === RUN Test_buildConvertCommand --- PASS: Test_buildConvertCommand (0.00s) === RUN Test_StepCopySkip --- PASS: Test_StepCopySkip (0.00s) === RUN Test_StepCopyCalled 2021/10/15 05:00:47 ui: File extension already matches desired output format. Skipping qemu-img convert step --- PASS: Test_StepCopyCalled (0.00s) === RUN Test_StepQemuImgCalled 2021/10/15 05:00:47 ui: Copying hard drive... --- PASS: Test_StepQemuImgCalled (0.01s) === RUN Test_StepQemuImgCalledWithExtraArgs 2021/10/15 05:00:47 ui: Copying hard drive... --- PASS: Test_StepQemuImgCalledWithExtraArgs (0.00s) === RUN Test_buildCreateCommand --- PASS: Test_buildCreateCommand (0.00s) === RUN Test_StepCreateCalled 2021/10/15 05:00:47 ui: Creating required virtual machine disks 2021/10/15 05:00:47 [INFO] Creating disk with Path: target and Size: 1M 2021/10/15 05:00:47 [INFO] Creating disk with Path: target and Size: 4M 2021/10/15 05:00:47 ui: Creating required virtual machine disks 2021/10/15 05:00:47 [INFO] Creating disk with Path: target-1 and Size: 3M 2021/10/15 05:00:47 [INFO] Creating disk with Path: target-2 and Size: 8M 2021/10/15 05:00:47 ui: Creating required virtual machine disks 2021/10/15 05:00:47 [INFO] Creating disk with Path: target and Size: 1M 2021/10/15 05:00:47 [INFO] Creating disk with Path: target-1 and Size: 3M 2021/10/15 05:00:47 [INFO] Creating disk with Path: target-2 and Size: 8M --- PASS: Test_StepCreateCalled (0.00s) === RUN TestStepHTTPIPDiscover_Run --- PASS: TestStepHTTPIPDiscover_Run (0.00s) === RUN TestStepResizeDisk_Skips --- PASS: TestStepResizeDisk_Skips (0.00s) === RUN Test_buildResizeCommand --- PASS: Test_buildResizeCommand (0.00s) === RUN Test_UserOverrides 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: Overriding default Qemu arguments with qemuargs template option... 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: Overriding default Qemu arguments with qemuargs template option... 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: Overriding default Qemu arguments with qemuargs template option... --- PASS: Test_UserOverrides (0.01s) === RUN Test_DriveAndDeviceArgs 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: Starting VM, booting disk image 2021/10/15 05:00:47 ui: Starting VM, booting disk image 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: Starting VM, booting disk image --- PASS: Test_DriveAndDeviceArgs (0.06s) === RUN Test_OptionalConfigOptionsGetSet 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM --- PASS: Test_OptionalConfigOptionsGetSet (0.00s) === RUN Test_Defaults 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting disk image 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The VM will be started with no hardware acceleration. The installation may take considerably longer to finish. 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: WARNING: The version of qemu on your host doesn't support display mode. The display parameter will be ignored. 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM 2021/10/15 05:00:47 ui: Starting VM, booting from CD-ROM --- PASS: Test_Defaults (0.00s) === RUN Test_Shutdown_Null_success 2021/10/15 05:00:47 ui: Waiting for shutdown... 2021/10/15 05:00:47 VM shut down. --- PASS: Test_Shutdown_Null_success (0.00s) === RUN Test_Shutdown_Null_failure 2021/10/15 05:00:47 ui: Waiting for shutdown... 2021/10/15 05:00:47 ui error: Failed to shutdown --- PASS: Test_Shutdown_Null_failure (0.00s) === RUN Test_Shutdown_NoShutdownCommand 2021/10/15 05:00:47 ui: Halting the virtual machine... 2021/10/15 05:00:47 VM shut down. --- PASS: Test_Shutdown_NoShutdownCommand (0.00s) PASS ok github.com/hashicorp/packer/builder/qemu 0.889s ? github.com/hashicorp/packer/builder/qemu/version [no test files] === RUN TestArtifact_Impl --- PASS: TestArtifact_Impl (0.00s) === RUN TestArtifactId --- PASS: TestArtifactId (0.00s) === RUN TestArtifactString --- PASS: TestArtifactString (0.00s) === RUN TestArtifactState_StateData --- PASS: TestArtifactState_StateData (0.00s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilder_Prepare_BadType --- PASS: TestBuilder_Prepare_BadType (0.00s) === RUN TestBuilderPrepare 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. --- PASS: TestBuilderPrepare (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.10s) === RUN TestBuilderPrepare_Zone 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. --- PASS: TestBuilderPrepare_Zone (0.00s) === RUN TestBuilderPrepare_CommercialType 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. --- PASS: TestBuilderPrepare_CommercialType (0.07s) === RUN TestBuilderPrepare_Image 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. --- PASS: TestBuilderPrepare_Image (0.00s) === RUN TestBuilderPrepare_SnapshotName 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. --- PASS: TestBuilderPrepare_SnapshotName (0.20s) === RUN TestBuilderPrepare_ServerName 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. 2021/10/15 05:00:52 Deprecation warning: Use SCALEWAY_ORGANIZATION environment variable and organization_id argument instead of api_access_key argument and SCALEWAY_API_ACCESS_KEY environment variable. --- PASS: TestBuilderPrepare_ServerName (0.02s) === RUN TestStepPreValidate === RUN TestStepPreValidate/happy_path:_both_image_name_and_snapshot_name_are_new 2021/10/15 05:00:52 ui: Prevalidating image name: image-new 2021/10/15 05:00:52 ui: Prevalidating snapshot name: snapshot-new === RUN TestStepPreValidate/want_failure:_old_image_name 2021/10/15 05:00:52 ui: Prevalidating image name: image-old 2021/10/15 05:00:52 ui error: Error: image name: 'image-old' is used by existing image with ID 6129484611666145821 === RUN TestStepPreValidate/want_failure:_old_snapshot_name 2021/10/15 05:00:52 ui: Prevalidating image name: image-new 2021/10/15 05:00:52 ui: Prevalidating snapshot name: snapshot-old 2021/10/15 05:00:52 ui error: Error: snapshot name: 'snapshot-old' is used by existing snapshot with ID 3916589616287113937 === RUN TestStepPreValidate/old_image_name_but_force_flag 2021/10/15 05:00:52 ui: Force flag found, skipping prevalidating image name === RUN TestStepPreValidate/old_snapshot_name_but_force_flag 2021/10/15 05:00:52 ui: Force flag found, skipping prevalidating image name --- PASS: TestStepPreValidate (0.09s) --- PASS: TestStepPreValidate/happy_path:_both_image_name_and_snapshot_name_are_new (0.09s) --- PASS: TestStepPreValidate/want_failure:_old_image_name (0.00s) --- PASS: TestStepPreValidate/want_failure:_old_snapshot_name (0.00s) --- PASS: TestStepPreValidate/old_image_name_but_force_flag (0.00s) --- PASS: TestStepPreValidate/old_snapshot_name_but_force_flag (0.00s) PASS ok github.com/hashicorp/packer/builder/scaleway 0.774s ? github.com/hashicorp/packer/builder/scaleway/version [no test files] === RUN TestTencentCloudAccessConfig_Prepare --- PASS: TestTencentCloudAccessConfig_Prepare (0.00s) === RUN TestTencentCloudImageConfig_Prepare --- PASS: TestTencentCloudImageConfig_Prepare (0.00s) === RUN TestTencentCloudRunConfig_Prepare --- PASS: TestTencentCloudRunConfig_Prepare (0.00s) === RUN TestTencentCloudRunConfigPrepare_UserData --- PASS: TestTencentCloudRunConfigPrepare_UserData (0.00s) === RUN TestTencentCloudRunConfigPrepare_UserDataFile --- PASS: TestTencentCloudRunConfigPrepare_UserDataFile (0.00s) === RUN TestTencentCloudRunConfigPrepare_TemporaryKeyPairName --- PASS: TestTencentCloudRunConfigPrepare_TemporaryKeyPairName (0.00s) === RUN TestTencentCloudRunConfigPrepare_SSHPrivateIp --- PASS: TestTencentCloudRunConfigPrepare_SSHPrivateIp (0.00s) PASS ok github.com/hashicorp/packer/builder/tencentcloud/cvm 0.185s ? github.com/hashicorp/packer/builder/tencentcloud/version [no test files] === RUN TestAccessConfig_Prepare --- PASS: TestAccessConfig_Prepare (0.17s) === RUN TestSourceMachineConfig_Prepare --- PASS: TestSourceMachineConfig_Prepare (0.00s) === RUN TestStepCreateImageFromMachine 2021/10/15 05:01:04 ui: Creating image from source machine... 2021/10/15 05:01:04 ui: Waiting for image to become available... --- PASS: TestStepCreateImageFromMachine (0.00s) === RUN TestStepCreateImageFromMachine_CreateImageFromMachineError 2021/10/15 05:01:04 ui: Creating image from source machine... --- PASS: TestStepCreateImageFromMachine_CreateImageFromMachineError (0.00s) === RUN TestStepCreateImageFromMachine_WaitForImageCreationError 2021/10/15 05:01:04 ui: Creating image from source machine... 2021/10/15 05:01:04 ui: Waiting for image to become available... --- PASS: TestStepCreateImageFromMachine_WaitForImageCreationError (0.00s) === RUN TestStepCreateSourceMachine 2021/10/15 05:01:04 ui: Waiting for source machine to become available... 2021/10/15 05:01:04 ui: Stopping source machine (test-machine)... 2021/10/15 05:01:04 ui: Waiting for source machine to stop (test-machine)... 2021/10/15 05:01:04 ui: Deleting source machine (test-machine)... 2021/10/15 05:01:04 ui: Waiting for source machine to be destroyed (test-machine)... 2021/10/15 05:01:04 ui: Stopping source machine (test-machine)... 2021/10/15 05:01:04 ui: Waiting for source machine to stop (test-machine)... 2021/10/15 05:01:04 ui: Deleting source machine (test-machine)... 2021/10/15 05:01:04 ui: Waiting for source machine to be destroyed (test-machine)... --- PASS: TestStepCreateSourceMachine (0.00s) === RUN TestStepCreateSourceMachine_CreateMachineError --- PASS: TestStepCreateSourceMachine_CreateMachineError (0.00s) === RUN TestStepCreateSourceMachine_WaitForMachineStateError 2021/10/15 05:01:04 ui: Waiting for source machine to become available... --- PASS: TestStepCreateSourceMachine_WaitForMachineStateError (0.00s) === RUN TestStepCreateSourceMachine_StopMachineError 2021/10/15 05:01:04 ui: Waiting for source machine to become available... 2021/10/15 05:01:04 ui: Stopping source machine (test-machine)... 2021/10/15 05:01:04 ui: Stopping source machine (test-machine)... --- PASS: TestStepCreateSourceMachine_StopMachineError (0.00s) === RUN TestStepCreateSourceMachine_WaitForMachineStoppedError 2021/10/15 05:01:04 ui: Waiting for source machine to become available... 2021/10/15 05:01:04 ui: Stopping source machine (test-machine)... 2021/10/15 05:01:04 ui: Waiting for source machine to stop (test-machine)... 2021/10/15 05:01:04 ui: Stopping source machine (test-machine)... 2021/10/15 05:01:04 ui: Waiting for source machine to stop (test-machine)... --- PASS: TestStepCreateSourceMachine_WaitForMachineStoppedError (0.00s) === RUN TestStepCreateSourceMachine_DeleteMachineError 2021/10/15 05:01:04 ui: Waiting for source machine to become available... 2021/10/15 05:01:04 ui: Stopping source machine (test-machine)... 2021/10/15 05:01:04 ui: Waiting for source machine to stop (test-machine)... 2021/10/15 05:01:04 ui: Deleting source machine (test-machine)... 2021/10/15 05:01:04 ui: Stopping source machine (test-machine)... 2021/10/15 05:01:04 ui: Waiting for source machine to stop (test-machine)... 2021/10/15 05:01:04 ui: Deleting source machine (test-machine)... --- PASS: TestStepCreateSourceMachine_DeleteMachineError (0.00s) === RUN TestStepDeleteMachine 2021/10/15 05:01:04 ui: Deleting source machine... 2021/10/15 05:01:04 ui: Waiting for source machine to be deleted... --- PASS: TestStepDeleteMachine (0.00s) === RUN TestStepDeleteMachine_DeleteMachineError 2021/10/15 05:01:04 ui: Deleting source machine... --- PASS: TestStepDeleteMachine_DeleteMachineError (0.00s) === RUN TestStepDeleteMachine_WaitForMachineDeletionError 2021/10/15 05:01:04 ui: Deleting source machine... 2021/10/15 05:01:04 ui: Waiting for source machine to be deleted... --- PASS: TestStepDeleteMachine_WaitForMachineDeletionError (0.00s) === RUN TestStepStopMachine 2021/10/15 05:01:04 ui: Stopping source machine (test-machine-id)... 2021/10/15 05:01:04 ui: Waiting for source machine to stop (test-machine-id)... --- PASS: TestStepStopMachine (0.00s) === RUN TestStepStopMachine_StopMachineError 2021/10/15 05:01:04 ui: Stopping source machine (test-machine-id)... --- PASS: TestStepStopMachine_StopMachineError (0.00s) === RUN TestStepStopMachine_WaitForMachineStoppedError 2021/10/15 05:01:04 ui: Stopping source machine (test-machine-id)... 2021/10/15 05:01:04 ui: Waiting for source machine to stop (test-machine-id)... --- PASS: TestStepStopMachine_WaitForMachineStoppedError (0.00s) === RUN TestTargetImageConfig_Prepare --- PASS: TestTargetImageConfig_Prepare (0.00s) PASS ok github.com/hashicorp/packer/builder/triton 0.375s ? github.com/hashicorp/packer/builder/triton/version [no test files] === RUN TestArtifact_Impl --- PASS: TestArtifact_Impl (0.00s) === RUN TestArtifactId --- PASS: TestArtifactId (0.00s) === RUN TestArtifactString --- PASS: TestArtifactString (0.00s) === RUN TestArtifactState --- PASS: TestArtifactState (0.00s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilder_Prepare_ValidateSource --- PASS: TestBuilder_Prepare_ValidateSource (0.10s) === RUN TestStepAdd_Impl --- PASS: TestStepAdd_Impl (0.00s) === RUN TestPrepAddArgs --- PASS: TestPrepAddArgs (0.00s) === RUN TestStepCreateVagrantfile_Impl --- PASS: TestStepCreateVagrantfile_Impl (0.00s) === RUN TestCreateFile --- PASS: TestCreateFile (0.00s) === RUN TestCreateFile_customSync --- PASS: TestCreateFile_customSync (0.00s) === RUN TestCreateFile_InsertKeyTrue --- PASS: TestCreateFile_InsertKeyTrue (0.00s) === RUN TestStepSSHConfig_Impl --- PASS: TestStepSSHConfig_Impl (0.00s) === RUN TestPrepStepSSHConfig_GlobalID 2021/10/15 05:01:08 identity file is "/path with spaces/insecure_private_key" 2021/10/15 05:01:08 Removing quotes from identity file --- PASS: TestPrepStepSSHConfig_GlobalID (0.00s) === RUN TestPrepStepSSHConfig_NoGlobalID 2021/10/15 05:01:08 identity file is "/path with spaces/insecure_private_key" 2021/10/15 05:01:08 Removing quotes from identity file --- PASS: TestPrepStepSSHConfig_NoGlobalID (0.00s) === RUN TestPrepStepSSHConfig_SpacesInPath 2021/10/15 05:01:08 identity file is "/path with spaces/insecure_private_key" 2021/10/15 05:01:08 Removing quotes from identity file --- PASS: TestPrepStepSSHConfig_SpacesInPath (0.00s) === RUN TestPrepStepSSHConfig_NoSpacesInPath 2021/10/15 05:01:08 identity file is /path/without/spaces/insecure_private_key 2021/10/15 05:01:08 Removing quotes from identity file --- PASS: TestPrepStepSSHConfig_NoSpacesInPath (0.00s) === RUN TestPrepUpArgs --- PASS: TestPrepUpArgs (0.00s) PASS ok github.com/hashicorp/packer/builder/vagrant 0.510s ? github.com/hashicorp/packer/builder/vagrant/version [no test files] === RUN TestArtifact_impl --- PASS: TestArtifact_impl (0.00s) === RUN TestNewArtifact --- PASS: TestNewArtifact (0.00s) === RUN TestCommConfigPrepare --- PASS: TestCommConfigPrepare (0.00s) === RUN TestCommConfigPrepare_SSHHostPort --- PASS: TestCommConfigPrepare_SSHHostPort (0.00s) === RUN TestCommConfigPrepare_SSHPrivateKey --- PASS: TestCommConfigPrepare_SSHPrivateKey (0.00s) === RUN TestCommConfigPrepare_BackwardsCompatibility --- PASS: TestCommConfigPrepare_BackwardsCompatibility (0.00s) === RUN TestVBox42Driver_impl --- PASS: TestVBox42Driver_impl (0.00s) === RUN TestExportConfigPrepare_BootWait --- PASS: TestExportConfigPrepare_BootWait (0.00s) === RUN TestExportConfigPrepare_Opts --- PASS: TestExportConfigPrepare_Opts (0.00s) === RUN TestGuestAdditionsConfigPrepare --- PASS: TestGuestAdditionsConfigPrepare (0.00s) === RUN TestHWConfigPrepare --- PASS: TestHWConfigPrepare (0.00s) === RUN TestOutputConfigPrepare --- PASS: TestOutputConfigPrepare (0.00s) === RUN TestOutputConfigPrepare_exists --- PASS: TestOutputConfigPrepare_exists (0.00s) === RUN TestRunConfigPrepare_VRDPBindAddress --- PASS: TestRunConfigPrepare_VRDPBindAddress (0.00s) === RUN TestShutdownConfigPrepare_ShutdownCommand --- PASS: TestShutdownConfigPrepare_ShutdownCommand (0.00s) === RUN TestShutdownConfigPrepare_ShutdownTimeout --- PASS: TestShutdownConfigPrepare_ShutdownTimeout (0.00s) === RUN TestShutdownConfigPrepare_PostShutdownDelay --- PASS: TestShutdownConfigPrepare_PostShutdownDelay (0.00s) === RUN TestShutdownConfigPrepare_DisableShutdown --- PASS: TestShutdownConfigPrepare_DisableShutdown (0.00s) === RUN TestSnapshot_ParseFullTree --- PASS: TestSnapshot_ParseFullTree (0.00s) === RUN TestSnapshot_FindCurrent --- PASS: TestSnapshot_FindCurrent (0.00s) === RUN TestSnapshot_FindNodeByUUID --- PASS: TestSnapshot_FindNodeByUUID (0.00s) === RUN TestSnapshot_FindNodesByName --- PASS: TestSnapshot_FindNodesByName (0.00s) === RUN TestSnapshot_IsChildOf --- PASS: TestSnapshot_IsChildOf (0.00s) === RUN TestSnapshot_SingleSnapshot --- PASS: TestSnapshot_SingleSnapshot (0.00s) === RUN TestSnapshot_EmptySnapshotData --- PASS: TestSnapshot_EmptySnapshotData (0.00s) === RUN TestSnapshot_EnsureParents --- PASS: TestSnapshot_EnsureParents (0.00s) === RUN TestSnapshot_WrongSnapshot 2021/10/15 05:01:15 Invalid key,value pair [ ] --- PASS: TestSnapshot_WrongSnapshot (0.00s) === RUN TestStepAttachFloppy_impl --- PASS: TestStepAttachFloppy_impl (0.00s) === RUN TestStepAttachFloppy 2021/10/15 05:01:15 Copying floppy to temp location: /tmp/virtualbox611155362/floppy.vfd 2021/10/15 05:01:15 ui: Deleting any current floppy disk... 2021/10/15 05:01:15 ui: Attaching floppy disk... 2021/10/15 05:01:15 ui: Cleaning up floppy disk... --- PASS: TestStepAttachFloppy (0.00s) === RUN TestStepAttachFloppy_noFloppy 2021/10/15 05:01:15 No floppy disk, not attaching. --- PASS: TestStepAttachFloppy_noFloppy (0.00s) === RUN TestStepExport_impl --- PASS: TestStepExport_impl (0.00s) === RUN TestStepExport 2021/10/15 05:01:15 ui: Preparing to export machine... 2021/10/15 05:01:15 ui: Deleting forwarded port mapping for the communicator (SSH, WinRM, etc) (host port %!d()) 2021/10/15 05:01:15 ui: Exporting virtual machine... 2021/10/15 05:01:15 ui: Executing: export foo --output foo. --- PASS: TestStepExport (0.00s) === RUN TestStepExport_OutputPath 2021/10/15 05:01:15 ui: Preparing to export machine... 2021/10/15 05:01:15 ui: Deleting forwarded port mapping for the communicator (SSH, WinRM, etc) (host port %!d()) 2021/10/15 05:01:15 ui: Exporting virtual machine... 2021/10/15 05:01:15 ui: Executing: export foo --output output-dir/output-filename.ova 2021/10/15 05:01:15 ui: Preparing to export machine... 2021/10/15 05:01:15 ui: Deleting forwarded port mapping for the communicator (SSH, WinRM, etc) (host port %!d()) 2021/10/15 05:01:15 ui: Exporting virtual machine... 2021/10/15 05:01:15 ui: Executing: export foo --output output-dir/foo.ovf --- PASS: TestStepExport_OutputPath (0.00s) === RUN TestStepExport_SkipExport 2021/10/15 05:01:15 ui: Skipping export of virtual machine... --- PASS: TestStepExport_SkipExport (0.00s) === RUN TestStepHTTPIPDiscover_Run --- PASS: TestStepHTTPIPDiscover_Run (0.00s) === RUN TestStepRemoveDevices_impl --- PASS: TestStepRemoveDevices_impl (0.00s) === RUN TestStepRemoveDevices --- PASS: TestStepRemoveDevices (0.00s) === RUN TestStepRemoveDevices_attachedIso --- PASS: TestStepRemoveDevices_attachedIso (0.00s) === RUN TestStepRemoveDevices_attachedIsoOnSata --- PASS: TestStepRemoveDevices_attachedIsoOnSata (0.00s) === RUN TestStepRemoveDevices_floppyPath 2021/10/15 05:01:15 ui: Removing floppy drive... 2021/10/15 05:01:15 Trying for 10 minutes to remove floppy controller. --- PASS: TestStepRemoveDevices_floppyPath (0.00s) === RUN TestStepShutdown_impl --- PASS: TestStepShutdown_impl (0.00s) === RUN TestStepShutdown_noShutdownCommand 2021/10/15 05:01:15 ui: Halting the virtual machine... 2021/10/15 05:01:15 Waiting max 0s for shutdown to complete 2021/10/15 05:01:15 VM shut down. --- PASS: TestStepShutdown_noShutdownCommand (0.00s) === RUN TestStepShutdown_shutdownCommand 2021/10/15 05:01:15 ui: Gracefully halting virtual machine... 2021/10/15 05:01:15 Executing shutdown command: poweroff 2021/10/15 05:01:15 Waiting max 1s for shutdown to complete 2021/10/15 05:01:15 VM shut down. --- PASS: TestStepShutdown_shutdownCommand (0.50s) === RUN TestStepShutdown_shutdownTimeout 2021/10/15 05:01:15 ui: Gracefully halting virtual machine... 2021/10/15 05:01:15 Executing shutdown command: poweroff 2021/10/15 05:01:15 Waiting max 1s for shutdown to complete 2021/10/15 05:01:17 ui error: Timeout while waiting for machine to shutdown. --- PASS: TestStepShutdown_shutdownTimeout (1.18s) === RUN TestStepShutdown_DisableShutdown 2021/10/15 05:01:17 ui: Automatic shutdown disabled. Please shutdown virtual machine. 2021/10/15 05:01:17 Waiting max 2s for shutdown to complete 2021/10/15 05:01:18 VM shut down. --- PASS: TestStepShutdown_DisableShutdown (1.50s) === RUN TestStepShutdown_ACPIShutdown 2021/10/15 05:01:18 ui: Shuting down the virtual machine via ACPI power button... 2021/10/15 05:01:18 Waiting max 2s for shutdown to complete 2021/10/15 05:01:18 VM shut down. --- PASS: TestStepShutdown_ACPIShutdown (0.00s) === RUN TestStepSuppressMessages_impl --- PASS: TestStepSuppressMessages_impl (0.00s) === RUN TestStepSuppressMessages 2021/10/15 05:01:18 Suppressing annoying messages in VirtualBox --- PASS: TestStepSuppressMessages (0.00s) === RUN TestStepSuppressMessages_error 2021/10/15 05:01:18 Suppressing annoying messages in VirtualBox 2021/10/15 05:01:18 ui error: Error configuring VirtualBox to suppress messages: foo --- PASS: TestStepSuppressMessages_error (0.00s) === RUN TestStepUploadVersion_impl --- PASS: TestStepUploadVersion_impl (0.00s) === RUN TestStepUploadVersion 2021/10/15 05:01:18 ui: Uploading VirtualBox version info (foo) --- PASS: TestStepUploadVersion (0.00s) === RUN TestStepUploadVersion_noPath 2021/10/15 05:01:18 VBoxVersionFile is empty. Not uploading. --- PASS: TestStepUploadVersion_noPath (0.00s) === RUN TestVBoxVersionConfigPrepare_BootWait --- PASS: TestVBoxVersionConfigPrepare_BootWait (0.00s) === RUN TestVBoxVersionConfigPrepare_empty --- PASS: TestVBoxVersionConfigPrepare_empty (0.00s) === RUN TestVBoxVersionConfigPrepare_communicator --- PASS: TestVBoxVersionConfigPrepare_communicator (0.00s) === RUN TestVBoxBundleConfigPrepare_VBoxBundle --- PASS: TestVBoxBundleConfigPrepare_VBoxBundle (0.00s) === RUN TestVBoxManageConfigPrepare_VBoxManage --- PASS: TestVBoxManageConfigPrepare_VBoxManage (0.00s) === RUN TestVBoxManageConfigPrepare_PostVBoxManage --- PASS: TestVBoxManageConfigPrepare_PostVBoxManage (0.00s) PASS ok github.com/hashicorp/packer/builder/virtualbox/common 3.419s === RUN TestBuilderAcc_basic testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_basic (0.00s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilderPrepare_Defaults --- PASS: TestBuilderPrepare_Defaults (0.12s) === RUN TestBuilderPrepare_DiskSize --- PASS: TestBuilderPrepare_DiskSize (0.01s) === RUN TestBuilderPrepare_FloppyFiles --- PASS: TestBuilderPrepare_FloppyFiles (0.06s) === RUN TestBuilderPrepare_InvalidFloppies --- PASS: TestBuilderPrepare_InvalidFloppies (0.01s) === RUN TestBuilderPrepare_GuestAdditionsMode --- PASS: TestBuilderPrepare_GuestAdditionsMode (0.01s) === RUN TestBuilderPrepare_GuestAdditionsPath --- PASS: TestBuilderPrepare_GuestAdditionsPath (0.02s) === RUN TestBuilderPrepare_GuestAdditionsSHA256 --- PASS: TestBuilderPrepare_GuestAdditionsSHA256 (0.08s) === RUN TestBuilderPrepare_GuestAdditionsURL --- PASS: TestBuilderPrepare_GuestAdditionsURL (0.01s) === RUN TestBuilderPrepare_HardDriveInterface --- PASS: TestBuilderPrepare_HardDriveInterface (0.00s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.00s) === RUN TestBuilderPrepare_ISOInterface --- PASS: TestBuilderPrepare_ISOInterface (0.01s) PASS ok github.com/hashicorp/packer/builder/virtualbox/iso 0.895s ? github.com/hashicorp/packer/builder/virtualbox/iso/acceptance [no test files] === RUN TestNewConfig_FloppyFiles --- PASS: TestNewConfig_FloppyFiles (0.00s) === RUN TestNewConfig_InvalidFloppies --- PASS: TestNewConfig_InvalidFloppies (0.00s) === RUN TestNewConfig_sourcePath --- PASS: TestNewConfig_sourcePath (0.00s) === RUN TestNewConfig_shutdown_timeout --- PASS: TestNewConfig_shutdown_timeout (0.08s) === RUN TestChecksumFileNameMixedCaseBug --- PASS: TestChecksumFileNameMixedCaseBug (0.00s) === RUN TestStepImport_impl --- PASS: TestStepImport_impl (0.00s) === RUN TestStepImport 2021/10/15 05:01:27 ui: Importing VM: foo --- PASS: TestStepImport (0.00s) === RUN TestStepImport_Cleanup 2021/10/15 05:01:27 ui: Keeping virtual machine registered with VirtualBox host (keep_registered = true) 2021/10/15 05:01:27 ui: Deregistering and deleting imported VM... --- PASS: TestStepImport_Cleanup (0.00s) PASS ok github.com/hashicorp/packer/builder/virtualbox/ovf 0.376s ? github.com/hashicorp/packer/builder/virtualbox/version [no test files] ? github.com/hashicorp/packer/builder/virtualbox/vm [no test files] === RUN TestLocalArtifact_impl --- PASS: TestLocalArtifact_impl (0.00s) === RUN TestDriverConfigPrepare === RUN TestDriverConfigPrepare/Set_default_values === RUN TestDriverConfigPrepare/Override_default_values === RUN TestDriverConfigPrepare/Invalid_remote_type === RUN TestDriverConfigPrepare/Remote_host_not_set --- PASS: TestDriverConfigPrepare (0.00s) --- PASS: TestDriverConfigPrepare/Set_default_values (0.00s) --- PASS: TestDriverConfigPrepare/Override_default_values (0.00s) --- PASS: TestDriverConfigPrepare/Invalid_remote_type (0.00s) --- PASS: TestDriverConfigPrepare/Remote_host_not_set (0.00s) === RUN TestESX5Driver_implDriver --- PASS: TestESX5Driver_implDriver (0.00s) === RUN TestESX5Driver_UpdateVMX --- PASS: TestESX5Driver_UpdateVMX (0.00s) === RUN TestESX5Driver_implOutputDir --- PASS: TestESX5Driver_implOutputDir (0.00s) === RUN TestESX5Driver_implVNCAddressFinder --- PASS: TestESX5Driver_implVNCAddressFinder (0.00s) === RUN TestESX5Driver_implRemoteDriver --- PASS: TestESX5Driver_implRemoteDriver (0.00s) === RUN TestESX5Driver_HostIP --- PASS: TestESX5Driver_HostIP (0.01s) === RUN TestESX5Driver_CommHost --- PASS: TestESX5Driver_CommHost (0.00s) === RUN TestDriverMock_impl --- PASS: TestDriverMock_impl (0.00s) === RUN TestParserUncomment --- PASS: TestParserUncomment (0.00s) === RUN TestParserTokenizeDhcp driver_parser_test.go:146: testing for: [subnet 127.0.0.0 netmask 255.255.255.252 { item 1234 5678 ; tabbed item-1 1234 ; quoted item-2 "hola mundo." ; }] driver_parser_test.go:147: checking out: [subnet 127.0.0.0 netmask 255.255.255.252 { item 1234 5678 ; tabbed item-1 1234 ; quoted item-2 "hola mundo." ; }] --- PASS: TestParserTokenizeDhcp (0.00s) === RUN TestParserDhcpParameters --- PASS: TestParserDhcpParameters (0.00s) === RUN TestParserDhcpConfigParse --- PASS: TestParserDhcpConfigParse (0.00s) === RUN TestParserReadDhcpConfig --- PASS: TestParserReadDhcpConfig (0.00s) === RUN TestParserTokenizeNetworkMap --- PASS: TestParserTokenizeNetworkMap (0.11s) === RUN TestParserReadNetworkMap --- PASS: TestParserReadNetworkMap (0.00s) === RUN TestParserConsumeUntilSentinel --- PASS: TestParserConsumeUntilSentinel (0.00s) === RUN TestParserFilterCharacters --- PASS: TestParserFilterCharacters (0.00s) === RUN TestParserConsumeOpenClosePair --- PASS: TestParserConsumeOpenClosePair (0.00s) === RUN TestParserCombinators --- PASS: TestParserCombinators (0.00s) === RUN TestParserDhcpdLeaseBytesDecoder --- PASS: TestParserDhcpdLeaseBytesDecoder (0.00s) === RUN TestParserReadDhcpdLeaseEntry --- PASS: TestParserReadDhcpdLeaseEntry (0.00s) === RUN TestParserReadDhcpdLeases --- PASS: TestParserReadDhcpdLeases (0.01s) === RUN TestParserReadAppleDhcpdLeaseEntry --- PASS: TestParserReadAppleDhcpdLeaseEntry (0.00s) === RUN TestParserReadAppleDhcpdLeases --- PASS: TestParserReadAppleDhcpdLeases (0.07s) === RUN TestParserTokenizeNetworkingConfig --- PASS: TestParserTokenizeNetworkingConfig (0.00s) === RUN TestParserSplitNetworkingConfig --- PASS: TestParserSplitNetworkingConfig (0.00s) === RUN TestParserParseNetworkingConfigVersion --- PASS: TestParserParseNetworkingConfigVersion (0.00s) === RUN TestParserParseNetworkingConfigEntries --- PASS: TestParserParseNetworkingConfigEntries (0.00s) === RUN TestParserReadNetworingConfig --- PASS: TestParserReadNetworingConfig (0.00s) === RUN TestWorkstationVersion_ws14 2021/10/15 05:01:48 Detected VMware WS version: 14 --- PASS: TestWorkstationVersion_ws14 (0.00s) === RUN TestHWConfigPrepare --- PASS: TestHWConfigPrepare (0.00s) === RUN TestHWConfigParallel_File --- PASS: TestHWConfigParallel_File (0.00s) === RUN TestHWConfigParallel_Device --- PASS: TestHWConfigParallel_Device (0.00s) === RUN TestHWConfigParallel_Auto --- PASS: TestHWConfigParallel_Auto (0.00s) === RUN TestHWConfigParallel_None --- PASS: TestHWConfigParallel_None (0.00s) === RUN TestHWConfigSerial_File --- PASS: TestHWConfigSerial_File (0.00s) === RUN TestHWConfigSerial_Device --- PASS: TestHWConfigSerial_Device (0.00s) === RUN TestHWConfigSerial_Pipe --- PASS: TestHWConfigSerial_Pipe (0.00s) === RUN TestHWConfigSerial_Auto --- PASS: TestHWConfigSerial_Auto (0.00s) === RUN TestHWConfigSerial_None --- PASS: TestHWConfigSerial_None (0.00s) === RUN TestOutputConfigPrepare --- PASS: TestOutputConfigPrepare (0.00s) === RUN TestLocalOutputDir_impl --- PASS: TestLocalOutputDir_impl (0.00s) === RUN TestRemoteDriverMock_impl --- PASS: TestRemoteDriverMock_impl (0.00s) === RUN TestRunConfig_Prepare === RUN TestRunConfig_Prepare/VNC_dafaults === RUN TestRunConfig_Prepare/VNC_port_min_less_than_vnc_port_max === RUN TestRunConfig_Prepare/VNC_port_min_bigger_than_vnc_port_max === RUN TestRunConfig_Prepare/VNC_port_min_must_be_positive === RUN TestRunConfig_Prepare/fail_when_vnc_over_websocket_set_when_remote_type_is_not_set === RUN TestRunConfig_Prepare/warn_about_ignored_vnc_configuration --- PASS: TestRunConfig_Prepare (0.00s) --- PASS: TestRunConfig_Prepare/VNC_dafaults (0.00s) --- PASS: TestRunConfig_Prepare/VNC_port_min_less_than_vnc_port_max (0.00s) --- PASS: TestRunConfig_Prepare/VNC_port_min_bigger_than_vnc_port_max (0.00s) --- PASS: TestRunConfig_Prepare/VNC_port_min_must_be_positive (0.00s) --- PASS: TestRunConfig_Prepare/fail_when_vnc_over_websocket_set_when_remote_type_is_not_set (0.00s) --- PASS: TestRunConfig_Prepare/warn_about_ignored_vnc_configuration (0.00s) === RUN TestSSHConfigPrepare --- PASS: TestSSHConfigPrepare (0.00s) === RUN TestSSHConfigPrepare_SSHPrivateKey --- PASS: TestSSHConfigPrepare_SSHPrivateKey (0.00s) === RUN TestCommHost --- PASS: TestCommHost (0.00s) === RUN TestStepCleanVMX_impl --- PASS: TestStepCleanVMX_impl (0.00s) === RUN TestStepCleanVMX 2021/10/15 05:01:48 Writing VMX to: /tmp/packer064900902 2021/10/15 05:01:48 ui: Cleaning VMX prior to finishing up... 2021/10/15 05:01:48 Writing VMX to: /tmp/packer064900902 --- PASS: TestStepCleanVMX (0.00s) === RUN TestStepCleanVMX_floppyPath 2021/10/15 05:01:48 Writing VMX to: /tmp/packer083944013 2021/10/15 05:01:48 ui: Cleaning VMX prior to finishing up... 2021/10/15 05:01:48 ui: Unmounting floppy0 from VMX... 2021/10/15 05:01:48 Deleting key for floppy device: floppy0.present 2021/10/15 05:01:48 Deleting key for floppy device: floppy0.filetype 2021/10/15 05:01:48 Writing VMX to: /tmp/packer083944013 --- PASS: TestStepCleanVMX_floppyPath (0.00s) === RUN TestStepCleanVMX_isoPath 2021/10/15 05:01:48 Writing VMX to: /tmp/packer046069576 2021/10/15 05:01:48 ui: Cleaning VMX prior to finishing up... 2021/10/15 05:01:48 ui: Detaching ISO from CD-ROM device ide0:0... 2021/10/15 05:01:48 Writing VMX to: /tmp/packer046069576 --- PASS: TestStepCleanVMX_isoPath (0.07s) === RUN TestStepCleanVMX_ethernet 2021/10/15 05:01:48 Writing VMX to: /tmp/packer376860679 2021/10/15 05:01:48 ui: Cleaning VMX prior to finishing up... 2021/10/15 05:01:48 ui: Removing Ethernet Interfaces... 2021/10/15 05:01:48 Deleting key for ethernet device: ethernet0.bsdname 2021/10/15 05:01:48 Deleting key for ethernet device: ethernet0.connectiontype 2021/10/15 05:01:48 Deleting key for ethernet device: ethernet1.addresstype 2021/10/15 05:01:48 Deleting key for ethernet device: ethernet1.bsdname 2021/10/15 05:01:48 Deleting key for ethernet device: ethernet1.connectiontype 2021/10/15 05:01:48 Deleting key for ethernet device: ethernet0.addresstype 2021/10/15 05:01:48 Writing VMX to: /tmp/packer376860679 --- PASS: TestStepCleanVMX_ethernet (0.01s) === RUN TestStepCompactDisk_impl --- PASS: TestStepCompactDisk_impl (0.00s) === RUN TestStepCompactDisk 2021/10/15 05:01:48 ui: Compacting all attached virtual disks... 2021/10/15 05:01:48 ui: Compacting virtual disk 1 --- PASS: TestStepCompactDisk (0.00s) === RUN TestStepCompactDisk_skip 2021/10/15 05:01:48 Skipping disk compaction step... --- PASS: TestStepCompactDisk_skip (0.00s) === RUN TestStepConfigureVMX_impl --- PASS: TestStepConfigureVMX_impl (0.00s) === RUN TestStepConfigureVMX 2021/10/15 05:01:48 Writing VMX to: /tmp/packer011634618 2021/10/15 05:01:48 Configuring VMX... 2021/10/15 05:01:48 Setting VMX: 'foo' = 'bar' 2021/10/15 05:01:48 Writing VMX to: /tmp/packer011634618 --- PASS: TestStepConfigureVMX (0.00s) === RUN TestStepConfigureVMX_floppyPath 2021/10/15 05:01:48 Writing VMX to: /tmp/packer161928145 2021/10/15 05:01:48 Configuring VMX... 2021/10/15 05:01:48 Floppy path present, setting in VMX 2021/10/15 05:01:48 Writing VMX to: /tmp/packer161928145 --- PASS: TestStepConfigureVMX_floppyPath (0.01s) === RUN TestStepConfigureVMX_generatedAddresses 2021/10/15 05:01:48 Writing VMX to: /tmp/packer534867708 2021/10/15 05:01:48 Writing VMX to: /tmp/packer534867708 2021/10/15 05:01:48 Configuring VMX... 2021/10/15 05:01:48 Writing VMX to: /tmp/packer534867708 --- PASS: TestStepConfigureVMX_generatedAddresses (0.07s) === RUN TestStepConfigureVMX_displayNameMissing 2021/10/15 05:01:48 Writing VMX to: /tmp/packer583776299 2021/10/15 05:01:48 Writing VMX to: /tmp/packer583776299 2021/10/15 05:01:48 Configuring VMX... 2021/10/15 05:01:48 ui error: Error: Could not get value of displayName from VMX data --- PASS: TestStepConfigureVMX_displayNameMissing (0.00s) === RUN TestStepConfigureVMX_displayNameStore 2021/10/15 05:01:48 Writing VMX to: /tmp/packer511581582 2021/10/15 05:01:48 Configuring VMX... 2021/10/15 05:01:48 Writing VMX to: /tmp/packer511581582 --- PASS: TestStepConfigureVMX_displayNameStore (0.00s) === RUN TestStepConfigureVMX_vmxPathBad 2021/10/15 05:01:48 Configuring VMX... 2021/10/15 05:01:48 ui error: Error reading VMX file: open some_bad_path: no such file or directory --- PASS: TestStepConfigureVMX_vmxPathBad (0.00s) === RUN TestStepConfigureVMX_DefaultDiskAndCDROMTypes --- PASS: TestStepConfigureVMX_DefaultDiskAndCDROMTypes (0.00s) === RUN TestStepConfigureVNC_implVNCAddressFinder --- PASS: TestStepConfigureVNC_implVNCAddressFinder (0.00s) === RUN TestStepConfigureVNC_UpdateVMX --- PASS: TestStepConfigureVNC_UpdateVMX (0.01s) === RUN TestStepCreateDisks_impl --- PASS: TestStepCreateDisks_impl (0.00s) === RUN TestStepCreateDisks_MainOnly 2021/10/15 05:01:48 ui: Creating required virtual machine disks 2021/10/15 05:01:48 [INFO] Creating disk with Path: output_dir/disk_name.vmdk and Size: 1024M --- PASS: TestStepCreateDisks_MainOnly (0.00s) === RUN TestStepCreateDisks_MainAndExtra 2021/10/15 05:01:48 ui: Creating required virtual machine disks 2021/10/15 05:01:48 [INFO] Creating disk with Path: output_dir/disk_name.vmdk and Size: 1024M 2021/10/15 05:01:48 [INFO] Creating disk with Path: output_dir/disk_name-1.vmdk and Size: 1024M 2021/10/15 05:01:48 [INFO] Creating disk with Path: output_dir/disk_name-2.vmdk and Size: 2048M 2021/10/15 05:01:48 [INFO] Creating disk with Path: output_dir/disk_name-3.vmdk and Size: 4096M --- PASS: TestStepCreateDisks_MainAndExtra (0.00s) === RUN TestStepCreateDisks_ExtraOnly 2021/10/15 05:01:48 ui: Creating required virtual machine disks 2021/10/15 05:01:48 [INFO] Creating disk with Path: output_dir/disk_name-1.vmdk and Size: 1024M 2021/10/15 05:01:48 [INFO] Creating disk with Path: output_dir/disk_name-2.vmdk and Size: 2048M 2021/10/15 05:01:48 [INFO] Creating disk with Path: output_dir/disk_name-3.vmdk and Size: 4096M --- PASS: TestStepCreateDisks_ExtraOnly (0.00s) === RUN TestStepCreateDisks_Nothing 2021/10/15 05:01:48 ui: Creating required virtual machine disks --- PASS: TestStepCreateDisks_Nothing (0.00s) === RUN TestStepExport_impl --- PASS: TestStepExport_impl (0.00s) === RUN TestStepExport_ReturnIfSkip 2021/10/15 05:01:48 ui: Skipping export of virtual machine... --- PASS: TestStepExport_ReturnIfSkip (0.00s) === RUN TestStepExport_localArgs 2021/10/15 05:01:48 ui: Exporting virtual machine... 2021/10/15 05:01:48 ui: Executing: --- PASS: TestStepExport_localArgs (0.00s) === RUN TestStepExport_localArgsExportOutputPath 2021/10/15 05:01:48 ui: Exporting virtual machine... 2021/10/15 05:01:48 ui: Executing: --- PASS: TestStepExport_localArgsExportOutputPath (0.00s) === RUN TestStepExport_localArgs_OvftoolOptions 2021/10/15 05:01:48 ui: Exporting virtual machine... 2021/10/15 05:01:48 ui: Executing: --- PASS: TestStepExport_localArgs_OvftoolOptions (0.00s) === RUN TestStepExport_RemoteArgs 2021/10/15 05:01:48 ui: Exporting virtual machine... 2021/10/15 05:01:48 ui: Executing: --noSSLVerify=true --skipManifestCheck -tt=ova vi://user:%3Cpassword%3E@123.45.67.8/vm_name test-output/test-name.ova --- PASS: TestStepExport_RemoteArgs (0.00s) === RUN TestStepExport_RemoteArgsWithExportOutputPath 2021/10/15 05:01:48 ui: Exporting virtual machine... 2021/10/15 05:01:48 ui: Executing: --noSSLVerify=true --skipManifestCheck -tt=ova vi://user:%3Cpassword%3E@123.45.67.8/vm_name local_output/test-name.ova --- PASS: TestStepExport_RemoteArgsWithExportOutputPath (0.00s) === RUN TestStepHTTPIPDiscover_Run 2021/10/15 05:01:48 Host IP for the VMware machine: 127.0.0.1 2021/10/15 05:01:48 ui error: Error detecting host IP: error --- PASS: TestStepHTTPIPDiscover_Run (0.00s) === RUN TestStepOutputDir_impl --- PASS: TestStepOutputDir_impl (0.00s) === RUN TestStepOutputDir 2021/10/15 05:01:48 ui: Configuring output and export directories... --- PASS: TestStepOutputDir (0.00s) === RUN TestStepOutputDir_existsNoForce 2021/10/15 05:01:48 ui: Configuring output and export directories... --- PASS: TestStepOutputDir_existsNoForce (0.00s) === RUN TestStepOutputDir_existsForce 2021/10/15 05:01:48 ui: Configuring output and export directories... 2021/10/15 05:01:48 ui: Deleting previous output directory... --- PASS: TestStepOutputDir_existsForce (0.00s) === RUN TestStepOutputDir_cancel 2021/10/15 05:01:48 ui: Configuring output and export directories... 2021/10/15 05:01:48 ui: Deleting output directory... --- PASS: TestStepOutputDir_cancel (0.00s) === RUN TestStepOutputDir_halt 2021/10/15 05:01:48 ui: Configuring output and export directories... 2021/10/15 05:01:48 ui: Deleting output directory... --- PASS: TestStepOutputDir_halt (0.00s) === RUN TestStepOutputDir_Remote 2021/10/15 05:01:48 ui: Configuring output and export directories... --- PASS: TestStepOutputDir_Remote (0.00s) === RUN TestStepPrepareTools_impl --- PASS: TestStepPrepareTools_impl (0.00s) === RUN TestStepPrepareTools --- PASS: TestStepPrepareTools (0.00s) === RUN TestStepPrepareTools_esx5 --- PASS: TestStepPrepareTools_esx5 (0.00s) === RUN TestStepPrepareTools_nonExist --- PASS: TestStepPrepareTools_nonExist (0.00s) === RUN TestStepPrepareTools_SourcePath --- PASS: TestStepPrepareTools_SourcePath (0.00s) === RUN TestStepPrepareTools_SourcePath_exists --- PASS: TestStepPrepareTools_SourcePath_exists (0.00s) === RUN TestStepRegister_impl --- PASS: TestStepRegister_impl (0.00s) === RUN TestStepRegister_regularDriver --- PASS: TestStepRegister_regularDriver (0.00s) === RUN TestStepRegister_remoteDriver 2021/10/15 05:01:48 ui: Registering remote VM... 2021/10/15 05:01:48 ui: Unregistering virtual machine... --- PASS: TestStepRegister_remoteDriver (0.00s) === RUN TestStepRegister_WithoutUnregister_remoteDriver 2021/10/15 05:01:48 ui: Registering remote VM... 2021/10/15 05:01:48 ui: Keeping virtual machine registered with ESX host (keep_registered = true) --- PASS: TestStepRegister_WithoutUnregister_remoteDriver (0.00s) === RUN TestStepRemoteUpload_Cleanup 2021/10/15 05:01:48 Cleaning up remote path: packer_cache --- PASS: TestStepRemoteUpload_Cleanup (0.00s) === RUN TestStepRun_impl --- PASS: TestStepRun_impl (0.00s) === RUN TestStepRun 2021/10/15 05:01:48 ui: Starting virtual machine... --- PASS: TestStepRun (0.00s) === RUN TestStepRun_cleanupRunning 2021/10/15 05:01:48 ui: Starting virtual machine... 2021/10/15 05:01:48 ui: Stopping virtual machine... --- PASS: TestStepRun_cleanupRunning (0.00s) === RUN TestStepShutdown_impl --- PASS: TestStepShutdown_impl (0.00s) === RUN TestStepShutdown_command 2021/10/15 05:01:48 ui: Gracefully halting virtual machine... 2021/10/15 05:01:48 Executing shutdown command: foo 2021/10/15 05:01:48 Waiting max 10s for shutdown to complete 2021/10/15 05:01:49 ui: Waiting for VMware to clean up after itself... 2021/10/15 05:01:49 No more lock files found. VMware is clean. 2021/10/15 05:01:49 VM shut down. --- PASS: TestStepShutdown_command (0.33s) === RUN TestStepShutdown_noCommand 2021/10/15 05:01:49 ui: Forcibly halting virtual machine... 2021/10/15 05:01:49 ui: Waiting for VMware to clean up after itself... 2021/10/15 05:01:49 No more lock files found. VMware is clean. 2021/10/15 05:01:54 VM shut down. --- PASS: TestStepShutdown_noCommand (5.00s) === RUN TestStepShutdown_locks step_shutdown_test.go:144: This test is only run with PACKER_ACC=1 due to the requirement of access to the VMware binaries. --- SKIP: TestStepShutdown_locks (0.00s) === RUN TestStepSuppressMessages_impl --- PASS: TestStepSuppressMessages_impl (0.00s) === RUN TestStepSuppressMessages 2021/10/15 05:01:54 Suppressing messages in VMX --- PASS: TestStepSuppressMessages (0.00s) === RUN TestToolsConfigPrepare_Empty --- PASS: TestToolsConfigPrepare_Empty (0.00s) === RUN TestToolsConfigPrepare_SetUploadPath --- PASS: TestToolsConfigPrepare_SetUploadPath (0.00s) === RUN TestToolsConfigPrepare_ErrorIfOnlySource --- PASS: TestToolsConfigPrepare_ErrorIfOnlySource (0.00s) === RUN TestToolsConfigPrepare_SourceSuccess --- PASS: TestToolsConfigPrepare_SourceSuccess (0.00s) === RUN TestVMXConfigPrepare --- PASS: TestVMXConfigPrepare (0.00s) === RUN TestParseVMX --- PASS: TestParseVMX (0.00s) === RUN TestEncodeVMX --- PASS: TestEncodeVMX (0.00s) PASS ok github.com/hashicorp/packer/builder/vmware/common 5.902s === RUN TestBuilderAcc_basic testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestBuilderAcc_basic (0.00s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestBuilderPrepare_Defaults --- PASS: TestBuilderPrepare_Defaults (0.00s) === RUN TestBuilderPrepare_DiskSize --- PASS: TestBuilderPrepare_DiskSize (0.00s) === RUN TestBuilderPrepare_FloppyFiles --- PASS: TestBuilderPrepare_FloppyFiles (0.00s) === RUN TestBuilderPrepare_InvalidFloppies --- PASS: TestBuilderPrepare_InvalidFloppies (0.06s) === RUN TestBuilderPrepare_RemoteType --- PASS: TestBuilderPrepare_RemoteType (0.03s) === RUN TestBuilderPrepare_Export --- PASS: TestBuilderPrepare_Export (0.07s) === RUN TestBuilderPrepare_RemoteExport --- PASS: TestBuilderPrepare_RemoteExport (0.02s) === RUN TestBuilderPrepare_Format --- PASS: TestBuilderPrepare_Format (0.07s) === RUN TestBuilderPrepare_InvalidKey --- PASS: TestBuilderPrepare_InvalidKey (0.00s) === RUN TestBuilderPrepare_OutputDir --- PASS: TestBuilderPrepare_OutputDir (0.01s) === RUN TestBuilderPrepare_ToolsUploadPath --- PASS: TestBuilderPrepare_ToolsUploadPath (0.00s) === RUN TestBuilderPrepare_VMXTemplatePath --- PASS: TestBuilderPrepare_VMXTemplatePath (0.01s) === RUN TestBuilderPrepare_VNCPort --- PASS: TestBuilderPrepare_VNCPort (0.11s) === RUN TestBuilderCheckCollisions --- PASS: TestBuilderCheckCollisions (0.08s) === RUN TestBuilderPrepare_CommConfig --- PASS: TestBuilderPrepare_CommConfig (0.00s) === RUN TestStepCreateVmx_SerialFile step_create_vmx_test.go:96: This test is only run with PACKER_ACC=1 due to the requirement of access to the VMware binaries. --- SKIP: TestStepCreateVmx_SerialFile (0.00s) === RUN TestStepCreateVmx_SerialPort step_create_vmx_test.go:133: This test is only run with PACKER_ACC=1 due to the requirement of access to the VMware binaries. --- SKIP: TestStepCreateVmx_SerialPort (0.00s) === RUN TestStepCreateVmx_ParallelPort step_create_vmx_test.go:188: This test is only run with PACKER_ACC=1 due to the requirement of access to the VMware binaries. --- SKIP: TestStepCreateVmx_ParallelPort (0.00s) === RUN TestStepCreateVmx_Usb step_create_vmx_test.go:243: This test is only run with PACKER_ACC=1 due to the requirement of access to the VMware binaries. --- SKIP: TestStepCreateVmx_Usb (0.00s) === RUN TestStepCreateVmx_Sound step_create_vmx_test.go:290: This test is only run with PACKER_ACC=1 due to the requirement of access to the VMware binaries. --- SKIP: TestStepCreateVmx_Sound (0.00s) PASS ok github.com/hashicorp/packer/builder/vmware/iso 0.909s ? github.com/hashicorp/packer/builder/vmware/version [no test files] === RUN TestBuilderPrepare_FloppyFiles --- PASS: TestBuilderPrepare_FloppyFiles (0.00s) === RUN TestBuilderPrepare_InvalidFloppies --- PASS: TestBuilderPrepare_InvalidFloppies (0.01s) === RUN TestNewConfig_sourcePath --- PASS: TestNewConfig_sourcePath (0.00s) === RUN TestNewConfig_exportConfig --- PASS: TestNewConfig_exportConfig (0.01s) === RUN TestStepCloneVMX_impl --- PASS: TestStepCloneVMX_impl (0.00s) === RUN TestStepCloneVMX 2021/10/15 05:01:51 ui: Cloning source VM... 2021/10/15 05:01:51 Cloning from: /tmp/packer270272020/source.vmx 2021/10/15 05:01:51 Cloning to: /tmp/packer270272020/foo.vmx 2021/10/15 05:01:51 Found attached disk with filename: scsiDisk.vmdk 2021/10/15 05:01:51 Found attached disk with filename: sataDisk.vmdk 2021/10/15 05:01:51 Found attached disk with filename: nvmeDisk.vmdk 2021/10/15 05:01:51 Found attached disk with filename: ideDisk.vmdk 2021/10/15 05:01:51 Discovered the network type: nat --- PASS: TestStepCloneVMX (0.00s) PASS ok github.com/hashicorp/packer/builder/vmware/vmx 0.581s === RUN TestCloneBuilderAcc_default builder_acc_test.go:15: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_default (0.00s) === RUN TestCloneBuilderAcc_artifact builder_acc_test.go:106: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_artifact (0.00s) === RUN TestCloneBuilderAcc_folder builder_acc_test.go:132: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_folder (0.00s) === RUN TestCloneBuilderAcc_resourcePool builder_acc_test.go:170: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_resourcePool (0.00s) === RUN TestCloneBuilderAcc_datastore builder_acc_test.go:208: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_datastore (0.00s) === RUN TestCloneBuilderAcc_multipleDatastores builder_acc_test.go:252: test must fail --- SKIP: TestCloneBuilderAcc_multipleDatastores (0.00s) === RUN TestCloneBuilderAcc_fullClone builder_acc_test.go:268: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_fullClone (0.00s) === RUN TestCloneBuilderAcc_linkedClone builder_acc_test.go:301: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_linkedClone (0.00s) === RUN TestCloneBuilderAcc_network builder_acc_test.go:334: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_network (0.00s) === RUN TestCloneBuilderAcc_hardware builder_acc_test.go:380: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_hardware (0.00s) === RUN TestCloneBuilderAcc_RAMReservation builder_acc_test.go:470: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_RAMReservation (0.00s) === RUN TestCloneBuilderAcc_sshPassword builder_acc_test.go:504: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_sshPassword (0.00s) === RUN TestCloneBuilderAcc_sshKey builder_acc_test.go:540: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_sshKey (0.00s) === RUN TestCloneBuilderAcc_snapshot builder_acc_test.go:556: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_snapshot (0.00s) === RUN TestCloneBuilderAcc_template builder_acc_test.go:591: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_template (0.00s) === RUN TestCloneBuilderAcc_bootOrder builder_acc_test.go:624: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_bootOrder (0.00s) === RUN TestCloneBuilderAcc_notes builder_acc_test.go:663: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_notes (0.00s) === RUN TestCloneBuilderAcc_windows builder_acc_test.go:698: Acceptance tests not configured yet. --- SKIP: TestCloneBuilderAcc_windows (0.00s) === RUN TestCloneBuilder_ImplementsBuilder --- PASS: TestCloneBuilder_ImplementsBuilder (0.00s) === RUN TestCloneConfig_MinimalConfig --- PASS: TestCloneConfig_MinimalConfig (0.00s) === RUN TestCloneConfig_MandatoryParameters --- PASS: TestCloneConfig_MandatoryParameters (0.00s) === RUN TestCloneConfig_Timeout --- PASS: TestCloneConfig_Timeout (0.00s) === RUN TestCloneConfig_RAMReservation --- PASS: TestCloneConfig_RAMReservation (0.00s) PASS ok github.com/hashicorp/packer/builder/vsphere/clone 0.316s === RUN Test_CleanupVM 2021/10/15 05:02:21 ui: Destroying VM... 2021/10/15 05:02:21 ui: Destroying VM... 2021/10/15 05:02:21 ui: Destroying VM... --- PASS: Test_CleanupVM (0.00s) === RUN TestCDRomConfig_Prepare --- PASS: TestCDRomConfig_Prepare (0.00s) === RUN TestStepAddCDRom_Run === RUN TestStepAddCDRom_Run/CDRom_SATA_type_with_all_iso_paths_set 2021/10/15 05:02:21 ui: Mounting ISO images... === RUN TestStepAddCDRom_Run/Add_SATA_Controller 2021/10/15 05:02:21 ui: Adding SATA controller... 2021/10/15 05:02:21 ui: Mounting ISO images... === RUN TestStepAddCDRom_Run/Fail_to_add_SATA_Controller 2021/10/15 05:02:21 ui: Adding SATA controller... === RUN TestStepAddCDRom_Run/IDE_CDRom_Type_and_Iso_Path_set 2021/10/15 05:02:21 ui: Mounting ISO images... === RUN TestStepAddCDRom_Run/Fail_to_add_cdrom_from_ISOPaths 2021/10/15 05:02:21 ui: Mounting ISO images... === RUN TestStepAddCDRom_Run/Fail_to_add_cdrom_from_state_iso_remote_path 2021/10/15 05:02:21 ui: Mounting ISO images... --- PASS: TestStepAddCDRom_Run (0.00s) --- PASS: TestStepAddCDRom_Run/CDRom_SATA_type_with_all_iso_paths_set (0.00s) --- PASS: TestStepAddCDRom_Run/Add_SATA_Controller (0.00s) --- PASS: TestStepAddCDRom_Run/Fail_to_add_SATA_Controller (0.00s) --- PASS: TestStepAddCDRom_Run/IDE_CDRom_Type_and_Iso_Path_set (0.00s) --- PASS: TestStepAddCDRom_Run/Fail_to_add_cdrom_from_ISOPaths (0.00s) --- PASS: TestStepAddCDRom_Run/Fail_to_add_cdrom_from_state_iso_remote_path (0.00s) === RUN TestStepAddFloppy_Run === RUN TestStepAddFloppy_Run/Add_floppy_from_state_floppy_path 2021/10/15 05:02:21 ui: Uploading created floppy image 2021/10/15 05:02:21 ui: Adding generated Floppy... === RUN TestStepAddFloppy_Run/State_floppy_path_-_find_datastore_fail 2021/10/15 05:02:21 ui: Uploading created floppy image === RUN TestStepAddFloppy_Run/State_floppy_path_-_vm_get_dir_fail 2021/10/15 05:02:21 ui: Uploading created floppy image === RUN TestStepAddFloppy_Run/State_floppy_path_-_datastore_upload_file_fail 2021/10/15 05:02:21 ui: Uploading created floppy image === RUN TestStepAddFloppy_Run/State_floppy_path_-_vm_fail_to_add_floppy 2021/10/15 05:02:21 ui: Uploading created floppy image 2021/10/15 05:02:21 ui: Adding generated Floppy... === RUN TestStepAddFloppy_Run/Add_floppy_from_FloppyIMGPath_config 2021/10/15 05:02:21 ui: Adding Floppy image... === RUN TestStepAddFloppy_Run/Fail_to_add_floppy_from_FloppyIMGPath_config 2021/10/15 05:02:21 ui: Adding Floppy image... --- PASS: TestStepAddFloppy_Run (0.00s) --- PASS: TestStepAddFloppy_Run/Add_floppy_from_state_floppy_path (0.00s) --- PASS: TestStepAddFloppy_Run/State_floppy_path_-_find_datastore_fail (0.00s) --- PASS: TestStepAddFloppy_Run/State_floppy_path_-_vm_get_dir_fail (0.00s) --- PASS: TestStepAddFloppy_Run/State_floppy_path_-_datastore_upload_file_fail (0.00s) --- PASS: TestStepAddFloppy_Run/State_floppy_path_-_vm_fail_to_add_floppy (0.00s) --- PASS: TestStepAddFloppy_Run/Add_floppy_from_FloppyIMGPath_config (0.00s) --- PASS: TestStepAddFloppy_Run/Fail_to_add_floppy_from_FloppyIMGPath_config (0.00s) === RUN TestStepAddFloppy_Cleanup === RUN TestStepAddFloppy_Cleanup/State_cancelled_clean_up 2021/10/15 05:02:21 ui: Deleting Floppy image ... === RUN TestStepAddFloppy_Cleanup/State_halted_clean_up 2021/10/15 05:02:21 ui: Deleting Floppy image ... === RUN TestStepAddFloppy_Cleanup/Don't_clean_up_without_uploaded_path === RUN TestStepAddFloppy_Cleanup/Don't_clean_up_if_state_is_not_halted_or_canceled === RUN TestStepAddFloppy_Cleanup/Fail_because_datastore_is_not_found 2021/10/15 05:02:21 ui: Deleting Floppy image ... === RUN TestStepAddFloppy_Cleanup/Fail_to_delete_floppy 2021/10/15 05:02:21 ui: Deleting Floppy image ... --- PASS: TestStepAddFloppy_Cleanup (0.00s) --- PASS: TestStepAddFloppy_Cleanup/State_cancelled_clean_up (0.00s) --- PASS: TestStepAddFloppy_Cleanup/State_halted_clean_up (0.00s) --- PASS: TestStepAddFloppy_Cleanup/Don't_clean_up_without_uploaded_path (0.00s) --- PASS: TestStepAddFloppy_Cleanup/Don't_clean_up_if_state_is_not_halted_or_canceled (0.00s) --- PASS: TestStepAddFloppy_Cleanup/Fail_because_datastore_is_not_found (0.00s) --- PASS: TestStepAddFloppy_Cleanup/Fail_to_delete_floppy (0.00s) === RUN TestStepDownload_Run 2021/10/15 05:02:21 ui: File sometarget already uploaded; continuing --- PASS: TestStepDownload_Run (0.00s) === RUN TestHardwareConfig_Prepare === RUN TestHardwareConfig_Prepare/Validate_empty_config === RUN TestHardwareConfig_Prepare/Validate_RAMReservation_RAMReserveAll_cannot_be_used_together === RUN TestHardwareConfig_Prepare/Invalid_firmware === RUN TestHardwareConfig_Prepare/Validate_'bios'_firmware === RUN TestHardwareConfig_Prepare/Validate_'efi'_firmware === RUN TestHardwareConfig_Prepare/Validate_'efi-secure'_firmware --- PASS: TestHardwareConfig_Prepare (0.00s) --- PASS: TestHardwareConfig_Prepare/Validate_empty_config (0.00s) --- PASS: TestHardwareConfig_Prepare/Validate_RAMReservation_RAMReserveAll_cannot_be_used_together (0.00s) --- PASS: TestHardwareConfig_Prepare/Invalid_firmware (0.00s) --- PASS: TestHardwareConfig_Prepare/Validate_'bios'_firmware (0.00s) --- PASS: TestHardwareConfig_Prepare/Validate_'efi'_firmware (0.00s) --- PASS: TestHardwareConfig_Prepare/Validate_'efi-secure'_firmware (0.00s) === RUN TestStepConfigureHardware_Run === RUN TestStepConfigureHardware_Run/Configure_hardware 2021/10/15 05:02:21 ui: Customizing hardware... === RUN TestStepConfigureHardware_Run/Don't_configure_hardware_when_config_is_empty === RUN TestStepConfigureHardware_Run/Halt_when_configure_return_error 2021/10/15 05:02:21 ui: Customizing hardware... --- PASS: TestStepConfigureHardware_Run (0.00s) --- PASS: TestStepConfigureHardware_Run/Configure_hardware (0.00s) --- PASS: TestStepConfigureHardware_Run/Don't_configure_hardware_when_config_is_empty (0.00s) --- PASS: TestStepConfigureHardware_Run/Halt_when_configure_return_error (0.00s) === RUN TestStepRemoteUpload_Run 2021/10/15 05:02:21 ui: Uploading path to packer_cache/path 2021/10/15 05:02:21 Remote directory doesn't exist; creating... --- PASS: TestStepRemoteUpload_Run (0.00s) === RUN TestStepRemoteUpload_SkipRun --- PASS: TestStepRemoteUpload_SkipRun (0.00s) === RUN TestStepRemoveCDRom_Run === RUN TestStepRemoveCDRom_Run/Eject_CD-ROM_drives 2021/10/15 05:02:21 ui: Eject CD-ROM drives... === RUN TestStepRemoveCDRom_Run/Failed_to_eject_CD-ROM_drives 2021/10/15 05:02:21 ui: Eject CD-ROM drives... === RUN TestStepRemoveCDRom_Run/Eject_and_delete_CD-ROM_drives 2021/10/15 05:02:21 ui: Eject CD-ROM drives... 2021/10/15 05:02:21 ui: Deleting CD-ROM drives... === RUN TestStepRemoveCDRom_Run/Fail_to_delete_CD-ROM_drives 2021/10/15 05:02:21 ui: Eject CD-ROM drives... 2021/10/15 05:02:21 ui: Deleting CD-ROM drives... --- PASS: TestStepRemoveCDRom_Run (0.00s) --- PASS: TestStepRemoveCDRom_Run/Eject_CD-ROM_drives (0.00s) --- PASS: TestStepRemoveCDRom_Run/Failed_to_eject_CD-ROM_drives (0.00s) --- PASS: TestStepRemoveCDRom_Run/Eject_and_delete_CD-ROM_drives (0.00s) --- PASS: TestStepRemoveCDRom_Run/Fail_to_delete_CD-ROM_drives (0.00s) === RUN TestStepRemoveFloppy_Run === RUN TestStepRemoveFloppy_Run/Remove_floppy_drives_and_images 2021/10/15 05:02:21 ui: Deleting Floppy drives... 2021/10/15 05:02:21 ui: Deleting Floppy image... === RUN TestStepRemoveFloppy_Run/No_floppy_image_to_remove 2021/10/15 05:02:21 ui: Deleting Floppy drives... === RUN TestStepRemoveFloppy_Run/Fail_to_find_floppy_devices 2021/10/15 05:02:21 ui: Deleting Floppy drives... === RUN TestStepRemoveFloppy_Run/Fail_to_remove_floppy_devices 2021/10/15 05:02:21 ui: Deleting Floppy drives... === RUN TestStepRemoveFloppy_Run/Fail_to_find_datastore 2021/10/15 05:02:21 ui: Deleting Floppy drives... 2021/10/15 05:02:21 ui: Deleting Floppy image... === RUN TestStepRemoveFloppy_Run/Fail_to_delete_floppy_image 2021/10/15 05:02:21 ui: Deleting Floppy drives... 2021/10/15 05:02:21 ui: Deleting Floppy image... --- PASS: TestStepRemoveFloppy_Run (0.00s) --- PASS: TestStepRemoveFloppy_Run/Remove_floppy_drives_and_images (0.00s) --- PASS: TestStepRemoveFloppy_Run/No_floppy_image_to_remove (0.00s) --- PASS: TestStepRemoveFloppy_Run/Fail_to_find_floppy_devices (0.00s) --- PASS: TestStepRemoveFloppy_Run/Fail_to_remove_floppy_devices (0.00s) --- PASS: TestStepRemoveFloppy_Run/Fail_to_find_datastore (0.00s) --- PASS: TestStepRemoveFloppy_Run/Fail_to_delete_floppy_image (0.00s) PASS ok github.com/hashicorp/packer/builder/vsphere/common 0.366s ? github.com/hashicorp/packer/builder/vsphere/common/testing [no test files] === RUN TestDatastoreAcc datastore_acc_test.go:11: Acceptance tests not configured yet. --- SKIP: TestDatastoreAcc (0.00s) === RUN TestFileUpload datastore_acc_test.go:27: Acceptance tests not configured yet. --- SKIP: TestFileUpload (0.00s) === RUN TestFileUploadDRS datastore_acc_test.go:63: Acceptance tests not configured yet. --- SKIP: TestFileUploadDRS (0.00s) === RUN TestDatastoreIsoPath --- PASS: TestDatastoreIsoPath (0.00s) === RUN TestVCenterDriver_FindDatastore === RUN TestVCenterDriver_FindDatastore/should_find_datastore_when_name_is_provided === RUN TestVCenterDriver_FindDatastore/should_find_datastore_when_only_host_is_provided === RUN TestVCenterDriver_FindDatastore/should_not_find_invalid_datastore === RUN TestVCenterDriver_FindDatastore/should_not_find_invalid_host --- PASS: TestVCenterDriver_FindDatastore (0.43s) --- PASS: TestVCenterDriver_FindDatastore/should_find_datastore_when_name_is_provided (0.06s) --- PASS: TestVCenterDriver_FindDatastore/should_find_datastore_when_only_host_is_provided (0.02s) --- PASS: TestVCenterDriver_FindDatastore/should_not_find_invalid_datastore (0.08s) --- PASS: TestVCenterDriver_FindDatastore/should_not_find_invalid_host (0.02s) === RUN TestVCenterDriver_MultipleDatastoreError --- PASS: TestVCenterDriver_MultipleDatastoreError (0.18s) === RUN TestFolderAcc folder_acc_test.go:6: Acceptance tests not configured yet. --- SKIP: TestFolderAcc (0.00s) === RUN TestHostAcc host_acc_test.go:8: Acceptance tests not configured yet. --- SKIP: TestHostAcc (0.00s) === RUN TestLibraryFilePath --- PASS: TestLibraryFilePath (0.00s) === RUN TestResourcePoolAcc resource_pool_acc_test.go:6: Acceptance tests not configured yet. --- SKIP: TestResourcePoolAcc (0.00s) === RUN TestVCenterDriver_FindResourcePool --- PASS: TestVCenterDriver_FindResourcePool (0.10s) === RUN TestVCenterDriver_FindResourcePoolStandaloneESX 2021/10/15 05:02:48 [WARN] localhost.localdomain/Resources/invalid not found. Looking for default resource pool. --- PASS: TestVCenterDriver_FindResourcePoolStandaloneESX (0.19s) === RUN TestVirtualMachineDriver_FindAndAddSATAController --- PASS: TestVirtualMachineDriver_FindAndAddSATAController (0.12s) === RUN TestVirtualMachineDriver_CreateAndRemoveCdrom --- PASS: TestVirtualMachineDriver_CreateAndRemoveCdrom (0.32s) === RUN TestVirtualMachineDriver_EjectCdrom --- PASS: TestVirtualMachineDriver_EjectCdrom (0.48s) === RUN TestVMAcc_clone vm_clone_acc_test.go:12: Acceptance tests not configured yet. --- SKIP: TestVMAcc_clone (0.00s) === RUN TestVMAcc_create vm_create_acc_test.go:9: Acceptance tests not configured yet. --- SKIP: TestVMAcc_create (0.00s) === RUN TestVirtualMachineDriver_Configure 2021/10/15 05:02:49 Adding vGPU device with profile 'grid_m10-8q' --- PASS: TestVirtualMachineDriver_Configure (0.39s) PASS ok github.com/hashicorp/packer/builder/vsphere/driver 2.394s === RUN TestISOBuilderAcc_default testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestISOBuilderAcc_default (0.00s) === RUN TestISOBuilderAcc_notes testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestISOBuilderAcc_notes (0.00s) === RUN TestISOBuilderAcc_hardware testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestISOBuilderAcc_hardware (0.00s) === RUN TestISOBuilderAcc_limit testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestISOBuilderAcc_limit (0.00s) === RUN TestISOBuilderAcc_sata testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestISOBuilderAcc_sata (0.00s) === RUN TestISOBuilderAcc_cdrom testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestISOBuilderAcc_cdrom (0.00s) === RUN TestISOBuilderAcc_networkCard testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestISOBuilderAcc_networkCard (0.00s) === RUN TestISOBuilderAcc_createFloppy testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestISOBuilderAcc_createFloppy (0.00s) === RUN TestISOBuilderAcc_full testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestISOBuilderAcc_full (0.00s) === RUN TestISOBuilderAcc_bootOrder testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestISOBuilderAcc_bootOrder (0.00s) === RUN TestISOBuilderAcc_cluster testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestISOBuilderAcc_cluster (0.00s) === RUN TestISOBuilderAcc_clusterDRS testing.go:99: Acceptance tests skipped unless env 'PACKER_ACC' set --- SKIP: TestISOBuilderAcc_clusterDRS (0.00s) === RUN TestCreateConfig_Prepare --- PASS: TestCreateConfig_Prepare (0.00s) === RUN TestStepCreateVM_Run 2021/10/15 05:02:35 ui: Creating VM... --- PASS: TestStepCreateVM_Run (0.00s) === RUN TestStepCreateVM_RunHalt 2021/10/15 05:02:35 ui: Creating VM... --- PASS: TestStepCreateVM_RunHalt (0.00s) === RUN TestStepCreateVM_Cleanup 2021/10/15 05:02:35 ui: Destroying VM... 2021/10/15 05:02:35 ui: Destroying VM... 2021/10/15 05:02:35 ui: Destroying VM... 2021/10/15 05:02:35 ui: Destroying VM... 2021/10/15 05:02:35 ui error: destroy failed --- PASS: TestStepCreateVM_Cleanup (0.00s) PASS ok github.com/hashicorp/packer/builder/vsphere/iso 0.294s ? github.com/hashicorp/packer/builder/vsphere/version [no test files] === RUN TestBuildCommand_RunContext_CtxCancel === RUN TestBuildCommand_RunContext_CtxCancel/cancel_1_pending_build_-_parallel=true === PAUSE TestBuildCommand_RunContext_CtxCancel/cancel_1_pending_build_-_parallel=true === RUN TestBuildCommand_RunContext_CtxCancel/cancel_in_the_middle_with_2_pending_builds_-_parallel=true === PAUSE TestBuildCommand_RunContext_CtxCancel/cancel_in_the_middle_with_2_pending_builds_-_parallel=true === RUN TestBuildCommand_RunContext_CtxCancel/cancel_1_locked_build_-_debug_-_parallel=true === PAUSE TestBuildCommand_RunContext_CtxCancel/cancel_1_locked_build_-_debug_-_parallel=true === RUN TestBuildCommand_RunContext_CtxCancel/cancel_2_locked_builds_-_debug_-_parallel=true === PAUSE TestBuildCommand_RunContext_CtxCancel/cancel_2_locked_builds_-_debug_-_parallel=true === RUN TestBuildCommand_RunContext_CtxCancel/cancel_1_locked_build_-_debug_-_parallel=false === PAUSE TestBuildCommand_RunContext_CtxCancel/cancel_1_locked_build_-_debug_-_parallel=false === RUN TestBuildCommand_RunContext_CtxCancel/cancel_2_locked_builds_-_debug_-_parallel=false === PAUSE TestBuildCommand_RunContext_CtxCancel/cancel_2_locked_builds_-_debug_-_parallel=false === CONT TestBuildCommand_RunContext_CtxCancel/cancel_1_pending_build_-_parallel=true build_cancellation_test.go:71: waiting for passing tests if any build_cancellation_test.go:73: cancelling context === CONT TestBuildCommand_RunContext_CtxCancel/cancel_1_locked_build_-_debug_-_parallel=false build_cancellation_test.go:71: waiting for passing tests if any build_cancellation_test.go:73: cancelling context === CONT TestBuildCommand_RunContext_CtxCancel/cancel_2_locked_builds_-_debug_-_parallel=false build_cancellation_test.go:71: waiting for passing tests if any build_cancellation_test.go:73: cancelling context === CONT TestBuildCommand_RunContext_CtxCancel/cancel_1_locked_build_-_debug_-_parallel=true 2021/10/15 05:03:43 Preparing build: build0 2021/10/15 05:03:43 Preparing build: build1 2021/10/15 05:03:43 Preparing build: build0 build_cancellation_test.go:71: waiting for passing tests if any build_cancellation_test.go:73: cancelling context 2021/10/15 05:03:43 ui: Debug mode enabled. Builds will not be parallelized. 2021/10/15 05:03:43 Preparing build: build1 2021/10/15 05:03:43 ui: build0: output will be in this color. 2021/10/15 05:03:43 ui: build1: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: true 2021/10/15 05:03:43 Force build: false === CONT TestBuildCommand_RunContext_CtxCancel/cancel_2_locked_builds_-_debug_-_parallel=true 2021/10/15 05:03:43 On error: === CONT TestBuildCommand_RunContext_CtxCancel/cancel_in_the_middle_with_2_pending_builds_-_parallel=true 2021/10/15 05:03:43 Interrupted, not going to start any more builds. 2021/10/15 05:03:43 Waiting on builds to complete... build_cancellation_test.go:71: waiting for passing tests if any build_cancellation_test.go:73: cancelling context 2021/10/15 05:03:43 ui: ==> Wait completed after 10 microseconds 2021/10/15 05:03:43 ui: Cleanly cancelled builds after being interrupted. 2021/10/15 05:03:43 Preparing build: build0 === CONT TestBuildCommand_RunContext_CtxCancel/cancel_2_locked_builds_-_debug_-_parallel=true build_cancellation_test.go:71: waiting for passing tests if any 2021/10/15 05:03:43 ui: Debug mode enabled. Builds will not be parallelized. build_cancellation_test.go:73: cancelling context 2021/10/15 05:03:43 ui: build0: output will be in this color. 2021/10/15 05:03:43 ui: build1: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: true 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Interrupted, not going to start any more builds. 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 ui: ==> Wait completed after 7 microseconds 2021/10/15 05:03:43 ui: Cleanly cancelled builds after being interrupted. 2021/10/15 05:03:43 Preparing build: build0 2021/10/15 05:03:43 Preparing build: build1 2021/10/15 05:03:43 ui: Debug mode enabled. Builds will not be parallelized. 2021/10/15 05:03:43 ui: build0: output will be in this color. 2021/10/15 05:03:43 ui: build1: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: true 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Interrupted, not going to start any more builds. 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 ui: ==> Wait completed after 4 microseconds 2021/10/15 05:03:43 ui: Cleanly cancelled builds after being interrupted. 2021/10/15 05:03:43 Preparing build: build1 2021/10/15 05:03:43 ui: Debug mode enabled. Builds will not be parallelized. 2021/10/15 05:03:43 ui: build0: output will be in this color. 2021/10/15 05:03:43 ui: build1: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: true 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Interrupted, not going to start any more builds. 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 ui: ==> Wait completed after 10 microseconds 2021/10/15 05:03:43 ui: Cleanly cancelled builds after being interrupted. 2021/10/15 05:03:43 Preparing build: build0 2021/10/15 05:03:43 Preparing build: build1 2021/10/15 05:03:43 ui: Debug mode enabled. Builds will not be parallelized. 2021/10/15 05:03:43 ui: build0: output will be in this color. 2021/10/15 05:03:43 ui: build1: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: true 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Interrupted, not going to start any more builds. 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 ui: ==> Wait completed after 6 microseconds 2021/10/15 05:03:43 ui: Cleanly cancelled builds after being interrupted. 2021/10/15 05:03:43 Preparing build: build0 2021/10/15 05:03:43 Preparing build: build1 2021/10/15 05:03:43 ui: Debug mode enabled. Builds will not be parallelized. 2021/10/15 05:03:43 ui: build0: output will be in this color. 2021/10/15 05:03:43 ui: build1: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: true 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Interrupted, not going to start any more builds. 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 ui: ==> Wait completed after 7 microseconds 2021/10/15 05:03:43 ui: Cleanly cancelled builds after being interrupted. --- PASS: TestBuildCommand_RunContext_CtxCancel (0.00s) --- PASS: TestBuildCommand_RunContext_CtxCancel/cancel_1_pending_build_-_parallel=true (0.00s) --- PASS: TestBuildCommand_RunContext_CtxCancel/cancel_2_locked_builds_-_debug_-_parallel=false (0.00s) --- PASS: TestBuildCommand_RunContext_CtxCancel/cancel_in_the_middle_with_2_pending_builds_-_parallel=true (0.00s) --- PASS: TestBuildCommand_RunContext_CtxCancel/cancel_1_locked_build_-_debug_-_parallel=false (0.07s) --- PASS: TestBuildCommand_RunContext_CtxCancel/cancel_2_locked_builds_-_debug_-_parallel=true (0.07s) --- PASS: TestBuildCommand_RunContext_CtxCancel/cancel_1_locked_build_-_debug_-_parallel=true (0.07s) === RUN TestBuildWithCleanupScript 2021/10/15 05:03:43 Preparing build: null 2021/10/15 05:03:43 ui: null: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: false 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Parallelization disabled, waiting for build to finish: null 2021/10/15 05:03:43 Starting build run: null 2021/10/15 05:03:43 Running builder: null 2021/10/15 05:03:43 [INFO] communicator disabled, will not connect 2021/10/15 05:03:43 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:43 Running the provision hook 2021/10/15 05:03:43 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:43 ui: ==> null: Running local shell script: /tmp/packer-shell185318060 2021/10/15 05:03:43 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='null' /tmp/packer-shell185318060 2021/10/15 05:03:43 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='null' /tmp/packer-shell185318060] 2021/10/15 05:03:43 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:43 ui: ==> null: Provisioning step had errors: Running the cleanup provisioner, if present... 2021/10/15 05:03:43 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:43 ui: ==> null: Running local shell script: /tmp/packer-shell380560923 2021/10/15 05:03:43 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='null' /tmp/packer-shell380560923 2021/10/15 05:03:43 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='null' /tmp/packer-shell380560923] 2021/10/15 05:03:43 ui error: Build 'null' errored after 110 milliseconds 468 microseconds: Script exited with non-zero exit status: 2.Allowed exit codes are: [0] 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 ui: ==> Wait completed after 110 milliseconds 637 microseconds 2021/10/15 05:03:43 machine readable: error-count []string{"1"} 2021/10/15 05:03:43 ui error: ==> Some builds didn't complete successfully and had errors: 2021/10/15 05:03:43 machine readable: null,error []string{"Script exited with non-zero exit status: 2.Allowed exit codes are: [0]"} 2021/10/15 05:03:43 ui error: --> null: Script exited with non-zero exit status: 2.Allowed exit codes are: [0] 2021/10/15 05:03:43 ui: ==> Builds finished but no artifacts were created. --- PASS: TestBuildWithCleanupScript (0.20s) === RUN TestBuildParallel_1 2021/10/15 05:03:43 Preparing build: build0 2021/10/15 05:03:43 Preparing build: build1 2021/10/15 05:03:43 Preparing build: build2 2021/10/15 05:03:43 Preparing build: build3 2021/10/15 05:03:43 Preparing build: build4 2021/10/15 05:03:43 Preparing build: build5 2021/10/15 05:03:43 ui: build0: output will be in this color. 2021/10/15 05:03:43 ui: build1: output will be in this color. 2021/10/15 05:03:43 ui: build2: output will be in this color. 2021/10/15 05:03:43 ui: build3: output will be in this color. 2021/10/15 05:03:43 ui: build4: output will be in this color. 2021/10/15 05:03:43 ui: build5: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: false 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 Starting build run: build5 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build5: building 2021/10/15 05:03:43 ui: Build 'build5' finished after 36 microseconds. 2021/10/15 05:03:43 Starting build run: build0 2021/10/15 05:03:43 Running builder: lock 2021/10/15 05:03:43 ui: ==> build0: locking build 2021/10/15 05:03:43 Starting build run: build1 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build1: building 2021/10/15 05:03:43 ui: Build 'build1' finished after 25 microseconds. 2021/10/15 05:03:43 Starting build run: build2 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build2: building 2021/10/15 05:03:43 ui: Build 'build2' finished after 22 microseconds. 2021/10/15 05:03:43 Starting build run: build3 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build3: building 2021/10/15 05:03:43 ui: Build 'build3' finished after 22 microseconds. 2021/10/15 05:03:43 Starting build run: build4 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build4: building 2021/10/15 05:03:43 ui: Build 'build4' finished after 23 microseconds. 2021/10/15 05:03:43 ui: Build 'build0' finished after 201 microseconds. 2021/10/15 05:03:43 ui: ==> Wait completed after 326 microseconds 2021/10/15 05:03:43 ui: ==> Builds finished but no artifacts were created. --- PASS: TestBuildParallel_1 (0.00s) === RUN TestBuildParallel_2 2021/10/15 05:03:43 Preparing build: build0 2021/10/15 05:03:43 Preparing build: build1 2021/10/15 05:03:43 Preparing build: build2 2021/10/15 05:03:43 Preparing build: build3 2021/10/15 05:03:43 Preparing build: build4 2021/10/15 05:03:43 Preparing build: build5 2021/10/15 05:03:43 ui: build0: output will be in this color. 2021/10/15 05:03:43 ui: build1: output will be in this color. 2021/10/15 05:03:43 ui: build2: output will be in this color. 2021/10/15 05:03:43 ui: build3: output will be in this color. 2021/10/15 05:03:43 ui: build4: output will be in this color. 2021/10/15 05:03:43 ui: build5: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: false 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Starting build run: build2 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build2: building 2021/10/15 05:03:43 ui: Build 'build2' finished after 28 microseconds. 2021/10/15 05:03:43 Starting build run: build3 2021/10/15 05:03:43 Running builder: lock 2021/10/15 05:03:43 ui: ==> build3: locking build 2021/10/15 05:03:43 Starting build run: build0 2021/10/15 05:03:43 Running builder: lock 2021/10/15 05:03:43 ui: ==> build0: locking build 2021/10/15 05:03:43 Starting build run: build1 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build1: building 2021/10/15 05:03:43 ui: Build 'build1' finished after 34 microseconds. 2021/10/15 05:03:43 Starting build run: build4 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build4: building 2021/10/15 05:03:43 ui: Build 'build4' finished after 23 microseconds. 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 Starting build run: build5 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build5: building 2021/10/15 05:03:43 ui: Build 'build5' finished after 26 microseconds. 2021/10/15 05:03:43 ui: Build 'build3' finished after 219 microseconds. 2021/10/15 05:03:43 ui: Build 'build0' finished after 186 microseconds. 2021/10/15 05:03:43 ui: ==> Wait completed after 319 microseconds 2021/10/15 05:03:43 ui: ==> Builds finished but no artifacts were created. --- PASS: TestBuildParallel_2 (0.00s) === RUN TestBuildParallel_Timeout 2021/10/15 05:03:43 Preparing build: build0 2021/10/15 05:03:43 Preparing build: build1 2021/10/15 05:03:43 Preparing build: build2 2021/10/15 05:03:43 Preparing build: build4 2021/10/15 05:03:43 Preparing build: build5 2021/10/15 05:03:43 Preparing build: timeout-build 2021/10/15 05:03:43 ui: Warning: Warning when preparing build: "timeout-build" Both source file and contents are blank; target will have no content 2021/10/15 05:03:43 ui: build0: output will be in this color. 2021/10/15 05:03:43 ui: build1: output will be in this color. 2021/10/15 05:03:43 ui: build2: output will be in this color. 2021/10/15 05:03:43 ui: build4: output will be in this color. 2021/10/15 05:03:43 ui: build5: output will be in this color. 2021/10/15 05:03:43 ui: timeout-build: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: false 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Starting build run: build2 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build2: building 2021/10/15 05:03:43 ui: Build 'build2' finished after 10 milliseconds 539 microseconds. 2021/10/15 05:03:43 Starting build run: build4 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build4: building 2021/10/15 05:03:43 ui: Build 'build4' finished after 140 microseconds. 2021/10/15 05:03:43 Starting build run: build5 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build5: building 2021/10/15 05:03:43 ui: Build 'build5' finished after 183 microseconds. 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 Starting build run: timeout-build 2021/10/15 05:03:43 Running builder: file 2021/10/15 05:03:43 Starting build run: build0 2021/10/15 05:03:43 Running builder: lock 2021/10/15 05:03:43 ui: ==> build0: locking build 2021/10/15 05:03:43 Starting build run: build1 2021/10/15 05:03:43 Running builder: parallel-test 2021/10/15 05:03:43 ui: ==> build1: building 2021/10/15 05:03:43 ui: Build 'build1' finished after 997 microseconds. 2021/10/15 05:03:43 ui: Build 'build0' finished after 1 millisecond 69 microseconds. 2021/10/15 05:03:43 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:43 ui: ==> timeout-build: Setting a 1ns timeout for the next provisioner... 2021/10/15 05:03:43 ui error: Build 'timeout-build' errored after 525 microseconds: context deadline exceeded 2021/10/15 05:03:43 ui: ==> Wait completed after 11 milliseconds 731 microseconds 2021/10/15 05:03:43 machine readable: error-count []string{"1"} 2021/10/15 05:03:43 ui error: ==> Some builds didn't complete successfully and had errors: 2021/10/15 05:03:43 machine readable: timeout-build,error []string{"context deadline exceeded"} 2021/10/15 05:03:43 ui error: --> timeout-build: context deadline exceeded 2021/10/15 05:03:43 ui: ==> Builds finished but no artifacts were created. --- PASS: TestBuildParallel_Timeout (0.02s) === RUN TestBuild === RUN TestBuild/var-args:_json_-_json_varfile_sets_an_apple_env_var 2021/10/15 05:03:43 Preparing build: null 2021/10/15 05:03:43 ui: null: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: false 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 Starting build run: null 2021/10/15 05:03:43 Running builder: null 2021/10/15 05:03:43 [INFO] communicator disabled, will not connect 2021/10/15 05:03:43 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:43 Running the provision hook 2021/10/15 05:03:43 ui: ==> null: Running post-processor: apple (type shell-local) 2021/10/15 05:03:43 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:43 ui: ==> null (shell-local): Running local shell script: /tmp/packer-shell716709566 2021/10/15 05:03:43 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='null' /tmp/packer-shell716709566 2021/10/15 05:03:43 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='null' /tmp/packer-shell716709566] 2021/10/15 05:03:43 ui error: ==> timeout-build: Cancelling provisioner after a timeout... 2021/10/15 05:03:43 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:43 ui: Build 'null' finished after 86 milliseconds 951 microseconds. 2021/10/15 05:03:43 ui: ==> Wait completed after 87 milliseconds 137 microseconds 2021/10/15 05:03:43 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:43 machine readable: null,artifact-count []string{"2"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "end"} 2021/10/15 05:03:43 ui: --> null: Did not export anything. This is the null builder 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "end"} 2021/10/15 05:03:43 ui: --> null: Did not export anything. This is the null builder build_test.go:790: removing apple.txt === RUN TestBuild/json_-_json_varfile_sets_an_apple_env_var,_override_with_banana_cli_var 2021/10/15 05:03:43 Preparing build: null 2021/10/15 05:03:43 ui: null: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: false 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 Starting build run: null 2021/10/15 05:03:43 Running builder: null 2021/10/15 05:03:43 [INFO] communicator disabled, will not connect 2021/10/15 05:03:43 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:43 Running the provision hook 2021/10/15 05:03:43 ui: ==> null: Running post-processor: apple (type shell-local) 2021/10/15 05:03:43 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:43 ui: ==> null (shell-local): Running local shell script: /tmp/packer-shell837712133 2021/10/15 05:03:43 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='null' /tmp/packer-shell837712133 2021/10/15 05:03:43 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='null' /tmp/packer-shell837712133] 2021/10/15 05:03:43 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:43 ui: Build 'null' finished after 77 milliseconds 869 microseconds. 2021/10/15 05:03:43 ui: ==> Wait completed after 78 milliseconds 62 microseconds 2021/10/15 05:03:43 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:43 machine readable: null,artifact-count []string{"2"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "end"} 2021/10/15 05:03:43 ui: --> null: Did not export anything. This is the null builder 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "end"} 2021/10/15 05:03:43 ui: --> null: Did not export anything. This is the null builder build_test.go:790: removing banana.txt === RUN TestBuild/var-args:_json_-_arg_sets_a_pear_env_var 2021/10/15 05:03:43 Preparing build: null 2021/10/15 05:03:43 ui: null: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: false 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 Starting build run: null 2021/10/15 05:03:43 Running builder: null 2021/10/15 05:03:43 [INFO] communicator disabled, will not connect 2021/10/15 05:03:43 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:43 Running the provision hook 2021/10/15 05:03:43 ui: ==> null: Running post-processor: apple (type shell-local) 2021/10/15 05:03:43 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:43 ui: ==> null (shell-local): Running local shell script: /tmp/packer-shell604668576 2021/10/15 05:03:43 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='null' /tmp/packer-shell604668576 2021/10/15 05:03:43 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='null' /tmp/packer-shell604668576] 2021/10/15 05:03:43 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:43 ui: Build 'null' finished after 20 milliseconds 354 microseconds. 2021/10/15 05:03:43 ui: ==> Wait completed after 20 milliseconds 463 microseconds 2021/10/15 05:03:43 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:43 machine readable: null,artifact-count []string{"2"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"0", "end"} 2021/10/15 05:03:43 ui: --> null: Did not export anything. This is the null builder 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:43 machine readable: null,artifact []string{"1", "end"} 2021/10/15 05:03:43 ui: --> null: Did not export anything. This is the null builder build_test.go:790: removing pear.txt === RUN TestBuild/var-args:_json_-_inexistent_var_file_errs 2021/10/15 05:03:43 ui error: open test-fixtures/var-arg/potato.json: no such file or directory === RUN TestBuild/var-args:_hcl_-_inexistent_json_var_file_errs 2021/10/15 05:03:43 ui error: Error: Failed to open file The file "test-fixtures/var-arg/potato.json" could not be opened. === RUN TestBuild/var-args:_hcl_-_inexistent_hcl_var_file_errs 2021/10/15 05:03:43 ui error: Error: Failed to read file The configuration file "test-fixtures/var-arg/potato.hcl" could not be read. === RUN TestBuild/var-args:_hcl_-_auto_varfile_sets_a_chocolate_env_var 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 ui: null.builder: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: false 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 Starting build run: null.builder 2021/10/15 05:03:43 Running builder: 2021/10/15 05:03:43 [INFO] communicator disabled, will not connect 2021/10/15 05:03:43 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:43 Running the provision hook 2021/10/15 05:03:43 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:43 ui: ==> null.builder: Running local shell script: /tmp/packer-shell713259903 2021/10/15 05:03:43 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='builder' /tmp/packer-shell713259903 2021/10/15 05:03:43 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='builder' /tmp/packer-shell713259903] 2021/10/15 05:03:43 ui: Build 'null.builder' finished after 27 milliseconds 275 microseconds. 2021/10/15 05:03:43 ui: ==> Wait completed after 27 milliseconds 469 microseconds 2021/10/15 05:03:43 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:43 machine readable: null.builder,artifact-count []string{"1"} 2021/10/15 05:03:43 machine readable: null.builder,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:43 machine readable: null.builder,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:43 machine readable: null.builder,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:43 machine readable: null.builder,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:43 machine readable: null.builder,artifact []string{"0", "end"} 2021/10/15 05:03:43 ui: --> null.builder: Did not export anything. This is the null builder build_test.go:790: removing chocolate.txt === RUN TestBuild/var-args:_hcl_-_hcl_varfile_sets_a_apple_env_var 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:43 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:43 ui: null.builder: output will be in this color. 2021/10/15 05:03:43 ui: 2021/10/15 05:03:43 Build debug mode: false 2021/10/15 05:03:43 Force build: false 2021/10/15 05:03:43 On error: 2021/10/15 05:03:43 Waiting on builds to complete... 2021/10/15 05:03:43 Starting build run: null.builder 2021/10/15 05:03:43 Running builder: 2021/10/15 05:03:43 [INFO] communicator disabled, will not connect 2021/10/15 05:03:43 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:43 Running the provision hook 2021/10/15 05:03:44 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:44 ui: ==> null.builder: Running local shell script: /tmp/packer-shell532715730 2021/10/15 05:03:44 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='builder' /tmp/packer-shell532715730 2021/10/15 05:03:44 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='builder' /tmp/packer-shell532715730] 2021/10/15 05:03:44 ui: Build 'null.builder' finished after 90 milliseconds 130 microseconds. 2021/10/15 05:03:44 ui: ==> Wait completed after 90 milliseconds 389 microseconds 2021/10/15 05:03:44 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:44 machine readable: null.builder,artifact-count []string{"1"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "end"} 2021/10/15 05:03:44 ui: --> null.builder: Did not export anything. This is the null builder build_test.go:790: removing apple.txt === RUN TestBuild/var-args:_hcl_-_json_varfile_sets_a_apple_env_var 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 ui: null.builder: output will be in this color. 2021/10/15 05:03:44 ui: 2021/10/15 05:03:44 Build debug mode: false 2021/10/15 05:03:44 Force build: false 2021/10/15 05:03:44 On error: 2021/10/15 05:03:44 Waiting on builds to complete... 2021/10/15 05:03:44 Starting build run: null.builder 2021/10/15 05:03:44 Running builder: 2021/10/15 05:03:44 [INFO] communicator disabled, will not connect 2021/10/15 05:03:44 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:44 Running the provision hook 2021/10/15 05:03:44 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:44 ui: ==> null.builder: Running local shell script: /tmp/packer-shell191286793 2021/10/15 05:03:44 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='builder' /tmp/packer-shell191286793 2021/10/15 05:03:44 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='builder' /tmp/packer-shell191286793] 2021/10/15 05:03:44 ui: Build 'null.builder' finished after 6 milliseconds 564 microseconds. 2021/10/15 05:03:44 ui: ==> Wait completed after 6 milliseconds 656 microseconds 2021/10/15 05:03:44 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:44 machine readable: null.builder,artifact-count []string{"1"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "end"} 2021/10/15 05:03:44 ui: --> null.builder: Did not export anything. This is the null builder build_test.go:790: removing apple.txt === RUN TestBuild/var-args:_hcl_-_arg_sets_a_tomato_env_var 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for images, so skipping 2021/10/15 05:03:44 [TRACE] validateValue: not active for fruit, so skipping 2021/10/15 05:03:44 ui: null.builder: output will be in this color. 2021/10/15 05:03:44 ui: 2021/10/15 05:03:44 Build debug mode: false 2021/10/15 05:03:44 Force build: false 2021/10/15 05:03:44 On error: 2021/10/15 05:03:44 Waiting on builds to complete... 2021/10/15 05:03:44 Starting build run: null.builder 2021/10/15 05:03:44 Running builder: 2021/10/15 05:03:44 [INFO] communicator disabled, will not connect 2021/10/15 05:03:44 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:44 Running the provision hook 2021/10/15 05:03:44 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:44 ui: ==> null.builder: Running local shell script: /tmp/packer-shell226502100 2021/10/15 05:03:44 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='builder' /tmp/packer-shell226502100 2021/10/15 05:03:44 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='builder' /tmp/packer-shell226502100] 2021/10/15 05:03:44 ui: Build 'null.builder' finished after 88 milliseconds 823 microseconds. 2021/10/15 05:03:44 ui: ==> Wait completed after 88 milliseconds 924 microseconds 2021/10/15 05:03:44 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:44 machine readable: null.builder,artifact-count []string{"1"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:44 machine readable: null.builder,artifact []string{"0", "end"} 2021/10/15 05:03:44 ui: --> null.builder: Did not export anything. This is the null builder build_test.go:790: removing tomato.txt === RUN TestBuild/source_name:_HCL 2021/10/15 05:03:44 ui: null.test: output will be in this color. 2021/10/15 05:03:44 ui: null.potato: output will be in this color. 2021/10/15 05:03:44 ui: pineapple.null.pizza: output will be in this color. 2021/10/15 05:03:44 ui: 2021/10/15 05:03:44 Build debug mode: false 2021/10/15 05:03:44 Force build: false 2021/10/15 05:03:44 On error: 2021/10/15 05:03:44 Parallelization disabled, waiting for build to finish: null.test 2021/10/15 05:03:44 Starting build run: null.test 2021/10/15 05:03:44 Running builder: 2021/10/15 05:03:44 [INFO] communicator disabled, will not connect 2021/10/15 05:03:44 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:44 Running the provision hook 2021/10/15 05:03:44 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:44 ui: ==> null.test: Running local shell script: /tmp/packer-shell106231075 2021/10/15 05:03:44 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='test' /tmp/packer-shell106231075 2021/10/15 05:03:44 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='test' /tmp/packer-shell106231075] 2021/10/15 05:03:44 ui: ==> null.test: Running post-processor: (type manifest) 2021/10/15 05:03:44 Flagging to keep original artifact from post-processor 'manifest' 2021/10/15 05:03:44 ui: Build 'null.test' finished after 24 milliseconds 771 microseconds. 2021/10/15 05:03:44 Parallelization disabled, waiting for build to finish: null.potato 2021/10/15 05:03:44 Starting build run: null.potato 2021/10/15 05:03:44 Running builder: 2021/10/15 05:03:44 [INFO] communicator disabled, will not connect 2021/10/15 05:03:44 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:44 Running the provision hook 2021/10/15 05:03:44 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:44 ui: ==> null.potato: Running local shell script: /tmp/packer-shell238510118 2021/10/15 05:03:44 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='potato' /tmp/packer-shell238510118 2021/10/15 05:03:44 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='potato' /tmp/packer-shell238510118] 2021/10/15 05:03:44 ui: ==> null.potato: Running post-processor: (type manifest) 2021/10/15 05:03:44 Flagging to keep original artifact from post-processor 'manifest' 2021/10/15 05:03:44 ui: Build 'null.potato' finished after 91 milliseconds 271 microseconds. 2021/10/15 05:03:44 Parallelization disabled, waiting for build to finish: pineapple.null.pizza 2021/10/15 05:03:44 Starting build run: pineapple.null.pizza 2021/10/15 05:03:44 Running builder: 2021/10/15 05:03:44 [INFO] communicator disabled, will not connect 2021/10/15 05:03:44 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:44 Running the provision hook 2021/10/15 05:03:44 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:44 ui: ==> pineapple.null.pizza: Running local shell script: /tmp/packer-shell766062413 2021/10/15 05:03:44 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='pizza' /tmp/packer-shell766062413 2021/10/15 05:03:44 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='pizza' /tmp/packer-shell766062413] 2021/10/15 05:03:44 ui: Build 'pineapple.null.pizza' finished after 6 milliseconds 559 microseconds. 2021/10/15 05:03:44 Waiting on builds to complete... 2021/10/15 05:03:44 ui: ==> Wait completed after 123 milliseconds 146 microseconds 2021/10/15 05:03:44 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:44 machine readable: null.test,artifact-count []string{"2"} 2021/10/15 05:03:44 machine readable: null.test,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:44 machine readable: null.test,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:44 machine readable: null.test,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:44 machine readable: null.test,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:44 machine readable: null.test,artifact []string{"0", "end"} 2021/10/15 05:03:44 ui: --> null.test: Did not export anything. This is the null builder 2021/10/15 05:03:44 machine readable: null.test,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:44 machine readable: null.test,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:44 machine readable: null.test,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:44 machine readable: null.test,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:44 machine readable: null.test,artifact []string{"1", "end"} 2021/10/15 05:03:44 ui: --> null.test: Did not export anything. This is the null builder 2021/10/15 05:03:44 machine readable: null.potato,artifact-count []string{"2"} 2021/10/15 05:03:44 machine readable: null.potato,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:44 machine readable: null.potato,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:44 machine readable: null.potato,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:44 machine readable: null.potato,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:44 machine readable: null.potato,artifact []string{"0", "end"} 2021/10/15 05:03:44 ui: --> null.potato: Did not export anything. This is the null builder 2021/10/15 05:03:44 machine readable: null.potato,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:44 machine readable: null.potato,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:44 machine readable: null.potato,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:44 machine readable: null.potato,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:44 machine readable: null.potato,artifact []string{"1", "end"} 2021/10/15 05:03:44 ui: --> null.potato: Did not export anything. This is the null builder 2021/10/15 05:03:44 machine readable: pineapple.null.pizza,artifact-count []string{"1"} 2021/10/15 05:03:44 machine readable: pineapple.null.pizza,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:44 machine readable: pineapple.null.pizza,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:44 machine readable: pineapple.null.pizza,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:44 machine readable: pineapple.null.pizza,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:44 machine readable: pineapple.null.pizza,artifact []string{"0", "end"} 2021/10/15 05:03:44 ui: --> pineapple.null.pizza: Did not export anything. This is the null builder build_test.go:790: removing manifest.json === RUN TestBuild/build_name:_JSON_except_potato 2021/10/15 05:03:44 Preparing build: test 2021/10/15 05:03:44 ui: test: output will be in this color. 2021/10/15 05:03:44 ui: 2021/10/15 05:03:44 Build debug mode: false 2021/10/15 05:03:44 Force build: false 2021/10/15 05:03:44 On error: 2021/10/15 05:03:44 Parallelization disabled, waiting for build to finish: test 2021/10/15 05:03:44 Starting build run: test 2021/10/15 05:03:44 Running builder: null 2021/10/15 05:03:44 [INFO] communicator disabled, will not connect 2021/10/15 05:03:44 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:44 Running the provision hook 2021/10/15 05:03:44 ui: ==> test: Running post-processor: manifest 2021/10/15 05:03:44 Flagging to keep original artifact from post-processor 'manifest' 2021/10/15 05:03:44 ui: Build 'test' finished after 385 microseconds. 2021/10/15 05:03:44 Waiting on builds to complete... 2021/10/15 05:03:44 ui: ==> Wait completed after 434 microseconds 2021/10/15 05:03:44 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:44 machine readable: test,artifact-count []string{"2"} 2021/10/15 05:03:44 machine readable: test,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:44 machine readable: test,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:44 machine readable: test,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:44 machine readable: test,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:44 machine readable: test,artifact []string{"0", "end"} 2021/10/15 05:03:44 ui: --> test: Did not export anything. This is the null builder 2021/10/15 05:03:44 machine readable: test,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:44 machine readable: test,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:44 machine readable: test,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:44 machine readable: test,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:44 machine readable: test,artifact []string{"1", "end"} 2021/10/15 05:03:44 ui: --> test: Did not export anything. This is the null builder build_test.go:790: removing null.test.txt build_test.go:790: removing null.potato.txt build_test.go:790: removing manifest.json === RUN TestBuild/build_name:_JSON_only_potato 2021/10/15 05:03:44 Preparing build: potato 2021/10/15 05:03:44 ui: potato: output will be in this color. 2021/10/15 05:03:44 ui: 2021/10/15 05:03:44 Build debug mode: false 2021/10/15 05:03:44 Force build: false 2021/10/15 05:03:44 On error: 2021/10/15 05:03:44 Parallelization disabled, waiting for build to finish: potato 2021/10/15 05:03:44 Starting build run: potato 2021/10/15 05:03:44 Running builder: null 2021/10/15 05:03:44 [INFO] communicator disabled, will not connect 2021/10/15 05:03:44 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:44 Running the provision hook 2021/10/15 05:03:44 ui: ==> potato: Running post-processor: manifest 2021/10/15 05:03:44 Flagging to keep original artifact from post-processor 'manifest' 2021/10/15 05:03:44 ui: Build 'potato' finished after 473 microseconds. 2021/10/15 05:03:44 Waiting on builds to complete... 2021/10/15 05:03:44 ui: ==> Wait completed after 540 microseconds 2021/10/15 05:03:44 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:44 machine readable: potato,artifact-count []string{"2"} 2021/10/15 05:03:44 machine readable: potato,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:44 machine readable: potato,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:44 machine readable: potato,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:44 machine readable: potato,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:44 machine readable: potato,artifact []string{"0", "end"} 2021/10/15 05:03:44 ui: --> potato: Did not export anything. This is the null builder 2021/10/15 05:03:44 machine readable: potato,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:44 machine readable: potato,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:44 machine readable: potato,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:44 machine readable: potato,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:44 machine readable: potato,artifact []string{"1", "end"} 2021/10/15 05:03:44 ui: --> potato: Did not export anything. This is the null builder build_test.go:790: removing manifest.json === RUN TestBuild/hcl_-_'except'_a_build_block 2021/10/15 05:03:44 ui: file.cherry: output will be in this color. 2021/10/15 05:03:44 ui: 2021/10/15 05:03:44 Build debug mode: false 2021/10/15 05:03:44 Force build: false 2021/10/15 05:03:44 On error: 2021/10/15 05:03:44 Waiting on builds to complete... 2021/10/15 05:03:44 Starting build run: file.cherry 2021/10/15 05:03:44 Running builder: 2021/10/15 05:03:44 ui: Build 'file.cherry' finished after 307 microseconds. 2021/10/15 05:03:44 ui: ==> Wait completed after 445 microseconds 2021/10/15 05:03:44 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:44 machine readable: file.cherry,artifact-count []string{"1"} 2021/10/15 05:03:44 machine readable: file.cherry,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:44 machine readable: file.cherry,artifact []string{"0", "id", "File"} 2021/10/15 05:03:44 machine readable: file.cherry,artifact []string{"0", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:44 machine readable: file.cherry,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:44 machine readable: file.cherry,artifact []string{"0", "file", "0", "cherry.txt"} 2021/10/15 05:03:44 machine readable: file.cherry,artifact []string{"0", "end"} 2021/10/15 05:03:44 ui: --> file.cherry: Stored file: cherry.txt build_test.go:790: removing cherry.txt === RUN TestBuild/hcl_-_'only'_a_build_block 2021/10/15 05:03:44 ui: my_build.file.chocolate: output will be in this color. 2021/10/15 05:03:44 ui: my_build.file.vanilla: output will be in this color. 2021/10/15 05:03:44 ui: 2021/10/15 05:03:44 Build debug mode: false 2021/10/15 05:03:44 Force build: false 2021/10/15 05:03:44 On error: 2021/10/15 05:03:44 Waiting on builds to complete... 2021/10/15 05:03:44 Starting build run: my_build.file.vanilla 2021/10/15 05:03:44 Running builder: 2021/10/15 05:03:44 ui: Build 'my_build.file.vanilla' finished after 259 microseconds. 2021/10/15 05:03:44 Starting build run: my_build.file.chocolate 2021/10/15 05:03:44 Running builder: 2021/10/15 05:03:44 ui: Build 'my_build.file.chocolate' finished after 149 microseconds. 2021/10/15 05:03:44 ui: ==> Wait completed after 592 microseconds 2021/10/15 05:03:44 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:44 machine readable: my_build.file.vanilla,artifact-count []string{"1"} 2021/10/15 05:03:44 machine readable: my_build.file.vanilla,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:44 machine readable: my_build.file.vanilla,artifact []string{"0", "id", "File"} 2021/10/15 05:03:44 machine readable: my_build.file.vanilla,artifact []string{"0", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:44 machine readable: my_build.file.vanilla,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:44 machine readable: my_build.file.vanilla,artifact []string{"0", "file", "0", "vanilla.txt"} 2021/10/15 05:03:44 machine readable: my_build.file.vanilla,artifact []string{"0", "end"} 2021/10/15 05:03:44 ui: --> my_build.file.vanilla: Stored file: vanilla.txt 2021/10/15 05:03:44 machine readable: my_build.file.chocolate,artifact-count []string{"1"} 2021/10/15 05:03:44 machine readable: my_build.file.chocolate,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:44 machine readable: my_build.file.chocolate,artifact []string{"0", "id", "File"} 2021/10/15 05:03:44 machine readable: my_build.file.chocolate,artifact []string{"0", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:44 machine readable: my_build.file.chocolate,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:44 machine readable: my_build.file.chocolate,artifact []string{"0", "file", "0", "chocolate.txt"} 2021/10/15 05:03:44 machine readable: my_build.file.chocolate,artifact []string{"0", "end"} 2021/10/15 05:03:44 ui: --> my_build.file.chocolate: Stored file: chocolate.txt build_test.go:790: removing chocolate.txt build_test.go:790: removing vanilla.txt === RUN TestBuild/hcl_-_recipes 2021/10/15 05:03:44 ui: null.tiramisu: output will be in this color. 2021/10/15 05:03:44 ui: recipes.null.spaghetti_carbonara: output will be in this color. 2021/10/15 05:03:44 ui: recipes.null.lasagna: output will be in this color. 2021/10/15 05:03:44 ui: 2021/10/15 05:03:44 Build debug mode: false 2021/10/15 05:03:44 Force build: false 2021/10/15 05:03:44 On error: 2021/10/15 05:03:44 Waiting on builds to complete... 2021/10/15 05:03:44 Starting build run: recipes.null.lasagna 2021/10/15 05:03:44 Running builder: 2021/10/15 05:03:44 [INFO] communicator disabled, will not connect 2021/10/15 05:03:44 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:44 Running the provision hook 2021/10/15 05:03:44 Starting build run: null.tiramisu 2021/10/15 05:03:44 Running builder: 2021/10/15 05:03:44 [INFO] communicator disabled, will not connect 2021/10/15 05:03:44 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:44 Running the provision hook 2021/10/15 05:03:44 Starting build run: recipes.null.spaghetti_carbonara 2021/10/15 05:03:44 Running builder: 2021/10/15 05:03:44 [INFO] communicator disabled, will not connect 2021/10/15 05:03:44 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:44 Running the provision hook 2021/10/15 05:03:44 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:44 ui: ==> null.tiramisu: Running local shell script: /tmp/packer-shell045894216 2021/10/15 05:03:44 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell045894216 2021/10/15 05:03:44 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell045894216] 2021/10/15 05:03:44 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:44 ui: ==> recipes.null.lasagna: Running local shell script: /tmp/packer-shell014253754 2021/10/15 05:03:44 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell014253754 2021/10/15 05:03:44 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell014253754] 2021/10/15 05:03:44 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:44 ui: ==> recipes.null.spaghetti_carbonara: Running local shell script: /tmp/packer-shell795464967 2021/10/15 05:03:44 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell795464967 2021/10/15 05:03:44 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell795464967] 2021/10/15 05:03:44 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:44 ui: ==> recipes.null.lasagna: Running local shell script: /tmp/packer-shell718471889 2021/10/15 05:03:44 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell718471889 2021/10/15 05:03:44 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell718471889] 2021/10/15 05:03:44 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:44 ui: ==> null.tiramisu: Running local shell script: /tmp/packer-shell266207228 2021/10/15 05:03:44 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell266207228 2021/10/15 05:03:44 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell266207228] 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> recipes.null.lasagna: Running local shell script: /tmp/packer-shell327664427 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell327664427 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell327664427] 2021/10/15 05:03:45 ui: ==> recipes.null.spaghetti_carbonara: Running post-processor: carbonara_it (type shell-local) 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> recipes.null.spaghetti_carbonara (shell-local): Running local shell script: /tmp/packer-shell840773774 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell840773774 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell840773774] 2021/10/15 05:03:45 ui: ==> null.tiramisu: Running post-processor: whipped_egg_white (type shell-local) 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> null.tiramisu (shell-local): Running local shell script: /tmp/packer-shell030507669 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell030507669 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell030507669] 2021/10/15 05:03:45 ui: ==> recipes.null.lasagna: Running post-processor: cook (type shell-local) 2021/10/15 05:03:45 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:45 ui: Build 'recipes.null.spaghetti_carbonara' finished after 389 milliseconds 606 microseconds. 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> recipes.null.lasagna (shell-local): Running local shell script: /tmp/packer-shell393305840 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell393305840 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell393305840] 2021/10/15 05:03:45 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:45 ui: ==> null.tiramisu: Running post-processor: dress_with_coffeed_boudoirs (type shell-local) 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> null.tiramisu (shell-local): Running local shell script: /tmp/packer-shell106204047 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell106204047 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell106204047] 2021/10/15 05:03:45 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:45 ui: Build 'recipes.null.lasagna' finished after 492 milliseconds 221 microseconds. 2021/10/15 05:03:45 ui: Build 'null.tiramisu' finished after 584 milliseconds 185 microseconds. 2021/10/15 05:03:45 ui: ==> Wait completed after 584 milliseconds 364 microseconds 2021/10/15 05:03:45 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:45 machine readable: recipes.null.spaghetti_carbonara,artifact-count []string{"2"} 2021/10/15 05:03:45 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:45 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:45 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:45 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:45 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"0", "end"} 2021/10/15 05:03:45 ui: --> recipes.null.spaghetti_carbonara: Did not export anything. This is the null builder 2021/10/15 05:03:45 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:45 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:45 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:45 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:45 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"1", "end"} 2021/10/15 05:03:45 ui: --> recipes.null.spaghetti_carbonara: Did not export anything. This is the null builder 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact-count []string{"2"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"0", "end"} 2021/10/15 05:03:45 ui: --> recipes.null.lasagna: Did not export anything. This is the null builder 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"1", "end"} 2021/10/15 05:03:45 ui: --> recipes.null.lasagna: Did not export anything. This is the null builder 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact-count []string{"3"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"0", "end"} 2021/10/15 05:03:45 ui: --> null.tiramisu: Did not export anything. This is the null builder 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"1", "end"} 2021/10/15 05:03:45 ui: --> null.tiramisu: Did not export anything. This is the null builder 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"2", "builder-id", "fnoeding.null"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"2", "id", "Null"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"2", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"2", "files-count", "0"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"2", "end"} 2021/10/15 05:03:45 ui: --> null.tiramisu: Did not export anything. This is the null builder build_test.go:790: removing NULL.spaghetti_carbonara.txt build_test.go:790: removing NULL.lasagna.txt build_test.go:790: removing NULL.tiramisu.txt === RUN TestBuild/hcl_-_recipes_-_except_carbonara 2021/10/15 05:03:45 ui: null.tiramisu: output will be in this color. 2021/10/15 05:03:45 ui: recipes.null.lasagna: output will be in this color. 2021/10/15 05:03:45 ui: 2021/10/15 05:03:45 Build debug mode: false 2021/10/15 05:03:45 Force build: false 2021/10/15 05:03:45 On error: 2021/10/15 05:03:45 Waiting on builds to complete... 2021/10/15 05:03:45 Starting build run: recipes.null.lasagna 2021/10/15 05:03:45 Running builder: 2021/10/15 05:03:45 [INFO] communicator disabled, will not connect 2021/10/15 05:03:45 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:45 Running the provision hook 2021/10/15 05:03:45 Starting build run: null.tiramisu 2021/10/15 05:03:45 Running builder: 2021/10/15 05:03:45 [INFO] communicator disabled, will not connect 2021/10/15 05:03:45 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:45 Running the provision hook 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> null.tiramisu: Running local shell script: /tmp/packer-shell659868066 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell659868066 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell659868066] 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> recipes.null.lasagna: Running local shell script: /tmp/packer-shell034954905 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell034954905 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell034954905] 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> null.tiramisu: Running local shell script: /tmp/packer-shell613724964 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell613724964 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell613724964] 2021/10/15 05:03:45 ui: ==> null.tiramisu: Running post-processor: whipped_egg_white (type shell-local) 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> null.tiramisu (shell-local): Running local shell script: /tmp/packer-shell127786035 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell127786035 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell127786035] 2021/10/15 05:03:45 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:45 ui: ==> null.tiramisu: Running post-processor: dress_with_coffeed_boudoirs (type shell-local) 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> null.tiramisu (shell-local): Running local shell script: /tmp/packer-shell937946102 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell937946102 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell937946102] 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> recipes.null.lasagna: Running local shell script: /tmp/packer-shell086838493 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell086838493 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell086838493] 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> recipes.null.lasagna: Running local shell script: /tmp/packer-shell775153304 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell775153304 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell775153304] 2021/10/15 05:03:45 ui: Build 'null.tiramisu' finished after 297 milliseconds 549 microseconds. 2021/10/15 05:03:45 ui: ==> recipes.null.lasagna: Running post-processor: cook (type shell-local) 2021/10/15 05:03:45 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:45 ui: ==> recipes.null.lasagna (shell-local): Running local shell script: /tmp/packer-shell891452183 2021/10/15 05:03:45 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell891452183 2021/10/15 05:03:45 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell891452183] 2021/10/15 05:03:45 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:45 ui: Build 'recipes.null.lasagna' finished after 323 milliseconds 502 microseconds. 2021/10/15 05:03:45 ui: ==> Wait completed after 323 milliseconds 618 microseconds 2021/10/15 05:03:45 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact-count []string{"3"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"0", "end"} 2021/10/15 05:03:45 ui: --> null.tiramisu: Did not export anything. This is the null builder 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"1", "end"} 2021/10/15 05:03:45 ui: --> null.tiramisu: Did not export anything. This is the null builder 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"2", "builder-id", "fnoeding.null"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"2", "id", "Null"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"2", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"2", "files-count", "0"} 2021/10/15 05:03:45 machine readable: null.tiramisu,artifact []string{"2", "end"} 2021/10/15 05:03:45 ui: --> null.tiramisu: Did not export anything. This is the null builder 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact-count []string{"2"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"0", "end"} 2021/10/15 05:03:45 ui: --> recipes.null.lasagna: Did not export anything. This is the null builder 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:45 machine readable: recipes.null.lasagna,artifact []string{"1", "end"} 2021/10/15 05:03:45 ui: --> recipes.null.lasagna: Did not export anything. This is the null builder build_test.go:790: removing NULL.lasagna.txt build_test.go:790: removing NULL.tiramisu.txt === RUN TestBuild/hcl_-_recipes_-_only_lasagna 2021/10/15 05:03:46 ui: recipes.null.lasagna: output will be in this color. 2021/10/15 05:03:46 ui: 2021/10/15 05:03:46 Build debug mode: false 2021/10/15 05:03:46 Force build: false 2021/10/15 05:03:46 On error: 2021/10/15 05:03:46 Waiting on builds to complete... 2021/10/15 05:03:46 Starting build run: recipes.null.lasagna 2021/10/15 05:03:46 Running builder: 2021/10/15 05:03:46 [INFO] communicator disabled, will not connect 2021/10/15 05:03:46 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:46 Running the provision hook 2021/10/15 05:03:46 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:46 ui: ==> recipes.null.lasagna: Running local shell script: /tmp/packer-shell977521034 2021/10/15 05:03:46 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell977521034 2021/10/15 05:03:46 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell977521034] 2021/10/15 05:03:46 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:46 ui: ==> recipes.null.lasagna: Running local shell script: /tmp/packer-shell176640353 2021/10/15 05:03:46 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell176640353 2021/10/15 05:03:46 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell176640353] 2021/10/15 05:03:46 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:46 ui: ==> recipes.null.lasagna: Running local shell script: /tmp/packer-shell929833804 2021/10/15 05:03:46 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell929833804 2021/10/15 05:03:46 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell929833804] 2021/10/15 05:03:46 ui: ==> recipes.null.lasagna: Running post-processor: cook (type shell-local) 2021/10/15 05:03:46 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:46 ui: ==> recipes.null.lasagna (shell-local): Running local shell script: /tmp/packer-shell715222587 2021/10/15 05:03:46 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell715222587 2021/10/15 05:03:46 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell715222587] 2021/10/15 05:03:46 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:46 ui: Build 'recipes.null.lasagna' finished after 122 milliseconds 389 microseconds. 2021/10/15 05:03:46 ui: ==> Wait completed after 122 milliseconds 445 microseconds 2021/10/15 05:03:46 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact-count []string{"2"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"0", "end"} 2021/10/15 05:03:46 ui: --> recipes.null.lasagna: Did not export anything. This is the null builder 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"1", "end"} 2021/10/15 05:03:46 ui: --> recipes.null.lasagna: Did not export anything. This is the null builder build_test.go:790: removing NULL.lasagna.txt === RUN TestBuild/hcl_-_recipes_-_only_recipes 2021/10/15 05:03:46 ui: recipes.null.spaghetti_carbonara: output will be in this color. 2021/10/15 05:03:46 ui: recipes.null.lasagna: output will be in this color. 2021/10/15 05:03:46 ui: 2021/10/15 05:03:46 Build debug mode: false 2021/10/15 05:03:46 Force build: false 2021/10/15 05:03:46 On error: 2021/10/15 05:03:46 Waiting on builds to complete... 2021/10/15 05:03:46 Starting build run: recipes.null.lasagna 2021/10/15 05:03:46 Running builder: 2021/10/15 05:03:46 [INFO] communicator disabled, will not connect 2021/10/15 05:03:46 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:46 Running the provision hook 2021/10/15 05:03:46 Starting build run: recipes.null.spaghetti_carbonara 2021/10/15 05:03:46 Running builder: 2021/10/15 05:03:46 [INFO] communicator disabled, will not connect 2021/10/15 05:03:46 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:46 Running the provision hook 2021/10/15 05:03:46 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:46 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:46 ui: ==> recipes.null.spaghetti_carbonara: Running local shell script: /tmp/packer-shell455239205 2021/10/15 05:03:46 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell455239205 2021/10/15 05:03:46 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell455239205] 2021/10/15 05:03:46 ui: ==> recipes.null.lasagna: Running local shell script: /tmp/packer-shell294155870 2021/10/15 05:03:46 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell294155870 2021/10/15 05:03:46 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell294155870] 2021/10/15 05:03:46 ui: ==> recipes.null.spaghetti_carbonara: Running post-processor: carbonara_it (type shell-local) 2021/10/15 05:03:46 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:46 ui: ==> recipes.null.spaghetti_carbonara (shell-local): Running local shell script: /tmp/packer-shell101041472 2021/10/15 05:03:46 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell101041472 2021/10/15 05:03:46 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell101041472] 2021/10/15 05:03:46 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:46 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:46 ui: Build 'recipes.null.spaghetti_carbonara' finished after 207 milliseconds 499 microseconds. 2021/10/15 05:03:46 ui: ==> recipes.null.lasagna: Running local shell script: /tmp/packer-shell654275487 2021/10/15 05:03:46 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell654275487 2021/10/15 05:03:46 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell654275487] 2021/10/15 05:03:46 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:46 ui: ==> recipes.null.lasagna: Running local shell script: /tmp/packer-shell076025970 2021/10/15 05:03:46 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell076025970 2021/10/15 05:03:46 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell076025970] 2021/10/15 05:03:46 ui: ==> recipes.null.lasagna: Running post-processor: cook (type shell-local) 2021/10/15 05:03:46 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:46 ui: ==> recipes.null.lasagna (shell-local): Running local shell script: /tmp/packer-shell433743657 2021/10/15 05:03:46 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell433743657 2021/10/15 05:03:46 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='base' /tmp/packer-shell433743657] 2021/10/15 05:03:46 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:46 ui: Build 'recipes.null.lasagna' finished after 330 milliseconds 300 microseconds. 2021/10/15 05:03:46 ui: ==> Wait completed after 330 milliseconds 366 microseconds 2021/10/15 05:03:46 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:46 machine readable: recipes.null.spaghetti_carbonara,artifact-count []string{"2"} 2021/10/15 05:03:46 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:46 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:46 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:46 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:46 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"0", "end"} 2021/10/15 05:03:46 ui: --> recipes.null.spaghetti_carbonara: Did not export anything. This is the null builder 2021/10/15 05:03:46 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:46 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:46 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:46 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:46 machine readable: recipes.null.spaghetti_carbonara,artifact []string{"1", "end"} 2021/10/15 05:03:46 ui: --> recipes.null.spaghetti_carbonara: Did not export anything. This is the null builder 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact-count []string{"2"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"0", "end"} 2021/10/15 05:03:46 ui: --> recipes.null.lasagna: Did not export anything. This is the null builder 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:46 machine readable: recipes.null.lasagna,artifact []string{"1", "end"} 2021/10/15 05:03:46 ui: --> recipes.null.lasagna: Did not export anything. This is the null builder build_test.go:790: removing NULL.spaghetti_carbonara.txt build_test.go:790: removing NULL.lasagna.txt === RUN TestBuild/hcl_-_build.name_accessible 2021/10/15 05:03:46 ui: pineapple.null.pizza: output will be in this color. 2021/10/15 05:03:46 ui: 2021/10/15 05:03:46 Build debug mode: false 2021/10/15 05:03:46 Force build: false 2021/10/15 05:03:46 On error: 2021/10/15 05:03:46 Waiting on builds to complete... 2021/10/15 05:03:46 Starting build run: pineapple.null.pizza 2021/10/15 05:03:46 Running builder: 2021/10/15 05:03:46 [INFO] communicator disabled, will not connect 2021/10/15 05:03:46 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:46 Running the provision hook 2021/10/15 05:03:46 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:46 ui: ==> pineapple.null.pizza: Running local shell script: /tmp/packer-shell136083060 2021/10/15 05:03:46 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='pizza' /tmp/packer-shell136083060 2021/10/15 05:03:46 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='pizza' /tmp/packer-shell136083060] 2021/10/15 05:03:46 ui: Build 'pineapple.null.pizza' finished after 117 milliseconds 786 microseconds. 2021/10/15 05:03:46 ui: ==> Wait completed after 117 milliseconds 933 microseconds 2021/10/15 05:03:46 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:46 machine readable: pineapple.null.pizza,artifact-count []string{"1"} 2021/10/15 05:03:46 machine readable: pineapple.null.pizza,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:46 machine readable: pineapple.null.pizza,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:46 machine readable: pineapple.null.pizza,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:46 machine readable: pineapple.null.pizza,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:46 machine readable: pineapple.null.pizza,artifact []string{"0", "end"} 2021/10/15 05:03:46 ui: --> pineapple.null.pizza: Did not export anything. This is the null builder build_test.go:790: removing pineapple.pizza.txt === RUN TestBuild/hcl_-_valid_validation_rule_for_default_value 2021/10/15 05:03:46 Build debug mode: false 2021/10/15 05:03:46 Force build: false 2021/10/15 05:03:46 On error: 2021/10/15 05:03:46 Waiting on builds to complete... 2021/10/15 05:03:46 ui: ==> Wait completed after 7 microseconds 2021/10/15 05:03:46 ui: ==> Builds finished but no artifacts were created. === RUN TestBuild/hcl_-_valid_setting_from_varfile 2021/10/15 05:03:46 Build debug mode: false 2021/10/15 05:03:46 Force build: false 2021/10/15 05:03:46 On error: 2021/10/15 05:03:46 Waiting on builds to complete... 2021/10/15 05:03:46 ui: ==> Wait completed after 5 microseconds 2021/10/15 05:03:46 ui: ==> Builds finished but no artifacts were created. === RUN TestBuild/hcl_-_invalid_setting_from_varfile 2021/10/15 05:03:46 ui error: Error: Invalid value for varfile variable on test-fixtures/hcl/validation/map/invalid_value.pkrvars.hcl line 2: (source code not available) The image_metadata.something.foo field must start with "bar". This was checked by the validation rule at test-fixtures/hcl/validation/map/definition.pkr.hcl:13,3-13. === RUN TestBuild/hcl_-_valid_cmd_(_invalid_varfile_bypased_) 2021/10/15 05:03:46 Build debug mode: false 2021/10/15 05:03:46 Force build: false 2021/10/15 05:03:46 On error: 2021/10/15 05:03:46 Waiting on builds to complete... 2021/10/15 05:03:46 ui: ==> Wait completed after 5 microseconds 2021/10/15 05:03:46 ui: ==> Builds finished but no artifacts were created. === RUN TestBuild/hcl_-_invalid_cmd_(_valid_varfile_bypased_) 2021/10/15 05:03:46 ui error: Error: Invalid value for cmd variable on line 1: (source code not available) The image_metadata.key field must be more than 4 runes. This was checked by the validation rule at test-fixtures/hcl/validation/map/definition.pkr.hcl:9,3-13. Error: Invalid value for cmd variable on line 1: (source code not available) The image_metadata.something.foo field must start with "bar". This was checked by the validation rule at test-fixtures/hcl/validation/map/definition.pkr.hcl:13,3-13. --- PASS: TestBuild (3.48s) --- PASS: TestBuild/var-args:_json_-_json_varfile_sets_an_apple_env_var (0.09s) --- PASS: TestBuild/json_-_json_varfile_sets_an_apple_env_var,_override_with_banana_cli_var (0.08s) --- PASS: TestBuild/var-args:_json_-_arg_sets_a_pear_env_var (0.12s) --- PASS: TestBuild/var-args:_json_-_inexistent_var_file_errs (0.00s) --- PASS: TestBuild/var-args:_hcl_-_inexistent_json_var_file_errs (0.00s) --- PASS: TestBuild/var-args:_hcl_-_inexistent_hcl_var_file_errs (0.07s) --- PASS: TestBuild/var-args:_hcl_-_auto_varfile_sets_a_chocolate_env_var (0.03s) --- PASS: TestBuild/var-args:_hcl_-_hcl_varfile_sets_a_apple_env_var (0.19s) --- PASS: TestBuild/var-args:_hcl_-_json_varfile_sets_a_apple_env_var (0.01s) --- PASS: TestBuild/var-args:_hcl_-_arg_sets_a_tomato_env_var (0.17s) --- PASS: TestBuild/source_name:_HCL (0.23s) --- PASS: TestBuild/build_name:_JSON_except_potato (0.06s) --- PASS: TestBuild/build_name:_JSON_only_potato (0.02s) --- PASS: TestBuild/hcl_-_'except'_a_build_block (0.01s) --- PASS: TestBuild/hcl_-_'only'_a_build_block (0.08s) --- PASS: TestBuild/hcl_-_recipes (0.68s) --- PASS: TestBuild/hcl_-_recipes_-_except_carbonara (0.53s) --- PASS: TestBuild/hcl_-_recipes_-_only_lasagna (0.38s) --- PASS: TestBuild/hcl_-_recipes_-_only_recipes (0.43s) --- PASS: TestBuild/hcl_-_build.name_accessible (0.20s) --- PASS: TestBuild/hcl_-_valid_validation_rule_for_default_value (0.00s) --- PASS: TestBuild/hcl_-_valid_setting_from_varfile (0.00s) --- PASS: TestBuild/hcl_-_invalid_setting_from_varfile (0.06s) --- PASS: TestBuild/hcl_-_valid_cmd_(_invalid_varfile_bypased_) (0.00s) --- PASS: TestBuild/hcl_-_invalid_cmd_(_valid_varfile_bypased_) (0.00s) === RUN Test_build_output === RUN Test_build_output/packer_[build_--color=false_test-fixtures/hcl/reprepare/shell-local.pkr.hcl] === RUN Test_build_output/packer_[build_--color=false_test-fixtures/hcl/provisioner-override.pkr.hcl] === RUN Test_build_output/packer_[build_--color=false_test-fixtures/provisioners/provisioner-override.json] --- PASS: Test_build_output (2.79s) --- PASS: Test_build_output/packer_[build_--color=false_test-fixtures/hcl/reprepare/shell-local.pkr.hcl] (0.89s) --- PASS: Test_build_output/packer_[build_--color=false_test-fixtures/hcl/provisioner-override.pkr.hcl] (0.79s) --- PASS: Test_build_output/packer_[build_--color=false_test-fixtures/provisioners/provisioner-override.json] (1.11s) === RUN TestBuildOnlyFileCommaFlags 2021/10/15 05:03:49 Preparing build: chocolate 2021/10/15 05:03:49 Preparing build: vanilla 2021/10/15 05:03:49 ui: chocolate: output will be in this color. 2021/10/15 05:03:49 ui: vanilla: output will be in this color. 2021/10/15 05:03:49 ui: 2021/10/15 05:03:49 Build debug mode: false 2021/10/15 05:03:49 Force build: false 2021/10/15 05:03:49 On error: 2021/10/15 05:03:49 Parallelization disabled, waiting for build to finish: chocolate 2021/10/15 05:03:49 Starting build run: chocolate 2021/10/15 05:03:49 Running builder: file 2021/10/15 05:03:49 ui: ==> chocolate: Running post-processor: apple (type shell-local) 2021/10/15 05:03:49 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:49 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell763160899 2021/10/15 05:03:49 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell763160899 2021/10/15 05:03:49 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell763160899] 2021/10/15 05:03:49 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:49 ui: ==> chocolate: Running post-processor: peach (type shell-local) 2021/10/15 05:03:49 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:49 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell241511366 2021/10/15 05:03:49 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell241511366 2021/10/15 05:03:49 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell241511366] 2021/10/15 05:03:49 ui: ==> chocolate: Running post-processor: pear (type shell-local) 2021/10/15 05:03:49 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:49 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell745458285 2021/10/15 05:03:49 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell745458285 2021/10/15 05:03:49 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell745458285] 2021/10/15 05:03:49 ui: ==> chocolate: Running post-processor: banana (type shell-local) 2021/10/15 05:03:49 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:49 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell568560872 2021/10/15 05:03:49 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell568560872 2021/10/15 05:03:49 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell568560872] 2021/10/15 05:03:50 ui: ==> chocolate: Running post-processor: shell-local 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell849132839 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell849132839 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell849132839] 2021/10/15 05:03:50 ui: Build 'chocolate' finished after 143 milliseconds 368 microseconds. 2021/10/15 05:03:50 Parallelization disabled, waiting for build to finish: vanilla 2021/10/15 05:03:50 Starting build run: vanilla 2021/10/15 05:03:50 Running builder: file 2021/10/15 05:03:50 ui: ==> vanilla: Running post-processor: apple (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell504105050 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell504105050 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell504105050] 2021/10/15 05:03:50 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:50 ui: ==> vanilla: Running post-processor: peach (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell970571761 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell970571761 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell970571761] 2021/10/15 05:03:50 ui: ==> vanilla: Running post-processor: pear (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell910894236 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell910894236 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell910894236] 2021/10/15 05:03:50 ui: ==> vanilla: Running post-processor: banana (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell556249419 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell556249419 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell556249419] 2021/10/15 05:03:50 ui: ==> vanilla: Running post-processor: tomato (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell042763310 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell042763310 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell042763310] 2021/10/15 05:03:50 ui: Build 'vanilla' finished after 193 milliseconds 8 microseconds. 2021/10/15 05:03:50 Waiting on builds to complete... 2021/10/15 05:03:50 ui: ==> Wait completed after 336 milliseconds 654 microseconds 2021/10/15 05:03:50 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:50 machine readable: chocolate,artifact-count []string{"6"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"0", "id", "File"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"0", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"0", "file", "0", "chocolate.txt"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"0", "end"} 2021/10/15 05:03:50 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"1", "id", "File"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"1", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"1", "file", "0", "chocolate.txt"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"1", "end"} 2021/10/15 05:03:50 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"2", "id", "File"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"2", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"2", "file", "0", "chocolate.txt"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"2", "end"} 2021/10/15 05:03:50 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"3", "id", "File"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"3", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"3", "file", "0", "chocolate.txt"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"3", "end"} 2021/10/15 05:03:50 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"4", "builder-id", "packer.file"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"4", "id", "File"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"4", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"4", "files-count", "1"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"4", "file", "0", "chocolate.txt"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"4", "end"} 2021/10/15 05:03:50 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"5", "builder-id", "packer.file"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"5", "id", "File"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"5", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"5", "files-count", "1"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"5", "file", "0", "chocolate.txt"} 2021/10/15 05:03:50 machine readable: chocolate,artifact []string{"5", "end"} 2021/10/15 05:03:50 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:50 machine readable: vanilla,artifact-count []string{"6"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"0", "id", "File"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"0", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"0", "file", "0", "vanilla.txt"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"0", "end"} 2021/10/15 05:03:50 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"1", "id", "File"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"1", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"1", "file", "0", "vanilla.txt"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"1", "end"} 2021/10/15 05:03:50 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"2", "id", "File"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"2", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"2", "file", "0", "vanilla.txt"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"2", "end"} 2021/10/15 05:03:50 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"3", "id", "File"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"3", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"3", "file", "0", "vanilla.txt"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"3", "end"} 2021/10/15 05:03:50 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"4", "builder-id", "packer.file"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"4", "id", "File"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"4", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"4", "files-count", "1"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"4", "file", "0", "vanilla.txt"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"4", "end"} 2021/10/15 05:03:50 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"5", "builder-id", "packer.file"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"5", "id", "File"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"5", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"5", "files-count", "1"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"5", "file", "0", "vanilla.txt"} 2021/10/15 05:03:50 machine readable: vanilla,artifact []string{"5", "end"} 2021/10/15 05:03:50 ui: --> vanilla: Stored file: vanilla.txt --- PASS: TestBuildOnlyFileCommaFlags (0.53s) === RUN TestBuildStdin 2021/10/15 05:03:50 Preparing build: cherry 2021/10/15 05:03:50 Preparing build: chocolate 2021/10/15 05:03:50 Preparing build: vanilla 2021/10/15 05:03:50 ui: cherry: output will be in this color. 2021/10/15 05:03:50 ui: chocolate: output will be in this color. 2021/10/15 05:03:50 ui: vanilla: output will be in this color. 2021/10/15 05:03:50 ui: 2021/10/15 05:03:50 Build debug mode: false 2021/10/15 05:03:50 Force build: false 2021/10/15 05:03:50 On error: 2021/10/15 05:03:50 Parallelization disabled, waiting for build to finish: cherry 2021/10/15 05:03:50 Starting build run: cherry 2021/10/15 05:03:50 Running builder: file 2021/10/15 05:03:50 ui: ==> cherry: Running post-processor: apple (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell576866704 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell576866704 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell576866704] 2021/10/15 05:03:50 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:50 ui: ==> cherry: Running post-processor: peach (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell614416815 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell614416815 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell614416815] 2021/10/15 05:03:50 ui: ==> cherry: Running post-processor: pear (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell514337090 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell514337090 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell514337090] 2021/10/15 05:03:50 ui: ==> cherry: Running post-processor: banana (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell451157433 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell451157433 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell451157433] 2021/10/15 05:03:50 ui: Build 'cherry' finished after 195 milliseconds 343 microseconds. 2021/10/15 05:03:50 Parallelization disabled, waiting for build to finish: chocolate 2021/10/15 05:03:50 Starting build run: chocolate 2021/10/15 05:03:50 Running builder: file 2021/10/15 05:03:50 ui: ==> chocolate: Running post-processor: apple (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell693264836 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell693264836 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell693264836] 2021/10/15 05:03:50 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:50 ui: ==> chocolate: Running post-processor: peach (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell571360339 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell571360339 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell571360339] 2021/10/15 05:03:50 ui: ==> chocolate: Running post-processor: pear (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell383890326 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell383890326 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell383890326] 2021/10/15 05:03:50 ui: ==> chocolate: Running post-processor: banana (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell248925693 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell248925693 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell248925693] 2021/10/15 05:03:50 ui: ==> chocolate: Running post-processor: shell-local 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell802565944 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell802565944 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell802565944] 2021/10/15 05:03:50 ui: Build 'chocolate' finished after 99 milliseconds 832 microseconds. 2021/10/15 05:03:50 Parallelization disabled, waiting for build to finish: vanilla 2021/10/15 05:03:50 Starting build run: vanilla 2021/10/15 05:03:50 Running builder: file 2021/10/15 05:03:50 ui: ==> vanilla: Running post-processor: apple (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell183495479 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell183495479 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell183495479] 2021/10/15 05:03:50 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:50 ui: ==> vanilla: Running post-processor: peach (type shell-local) 2021/10/15 05:03:50 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:50 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell521798954 2021/10/15 05:03:50 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell521798954 2021/10/15 05:03:50 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell521798954] 2021/10/15 05:03:51 ui: ==> vanilla: Running post-processor: pear (type shell-local) 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell490878081 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell490878081 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell490878081] 2021/10/15 05:03:51 ui: ==> vanilla: Running post-processor: banana (type shell-local) 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell978322412 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell978322412 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell978322412] 2021/10/15 05:03:51 ui: ==> vanilla: Running post-processor: tomato (type shell-local) 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell981492827 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell981492827 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell981492827] 2021/10/15 05:03:51 ui: Build 'vanilla' finished after 385 milliseconds 407 microseconds. 2021/10/15 05:03:51 Waiting on builds to complete... 2021/10/15 05:03:51 ui: ==> Wait completed after 681 milliseconds 284 microseconds 2021/10/15 05:03:51 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:51 machine readable: cherry,artifact-count []string{"5"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"0", "id", "File"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"0", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"0", "file", "0", "cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"0", "end"} 2021/10/15 05:03:51 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"1", "id", "File"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"1", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"1", "file", "0", "cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"1", "end"} 2021/10/15 05:03:51 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"2", "id", "File"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"2", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"2", "file", "0", "cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"2", "end"} 2021/10/15 05:03:51 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"3", "id", "File"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"3", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"3", "file", "0", "cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"3", "end"} 2021/10/15 05:03:51 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"4", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"4", "id", "File"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"4", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"4", "files-count", "1"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"4", "file", "0", "cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"4", "end"} 2021/10/15 05:03:51 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:51 machine readable: chocolate,artifact-count []string{"6"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "id", "File"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "file", "0", "chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "id", "File"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "file", "0", "chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"2", "id", "File"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"2", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"2", "file", "0", "chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"2", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"3", "id", "File"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"3", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"3", "file", "0", "chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"3", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"4", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"4", "id", "File"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"4", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"4", "files-count", "1"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"4", "file", "0", "chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"4", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"5", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"5", "id", "File"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"5", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"5", "files-count", "1"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"5", "file", "0", "chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"5", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:51 machine readable: vanilla,artifact-count []string{"6"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"0", "id", "File"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"0", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"0", "file", "0", "vanilla.txt"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"0", "end"} 2021/10/15 05:03:51 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"1", "id", "File"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"1", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"1", "file", "0", "vanilla.txt"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"1", "end"} 2021/10/15 05:03:51 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"2", "id", "File"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"2", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"2", "file", "0", "vanilla.txt"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"2", "end"} 2021/10/15 05:03:51 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"3", "id", "File"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"3", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"3", "file", "0", "vanilla.txt"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"3", "end"} 2021/10/15 05:03:51 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"4", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"4", "id", "File"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"4", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"4", "files-count", "1"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"4", "file", "0", "vanilla.txt"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"4", "end"} 2021/10/15 05:03:51 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"5", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"5", "id", "File"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"5", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"5", "files-count", "1"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"5", "file", "0", "vanilla.txt"} 2021/10/15 05:03:51 machine readable: vanilla,artifact []string{"5", "end"} 2021/10/15 05:03:51 ui: --> vanilla: Stored file: vanilla.txt --- PASS: TestBuildStdin (0.98s) === RUN TestBuildOnlyFileMultipleFlags 2021/10/15 05:03:51 Preparing build: cherry 2021/10/15 05:03:51 Preparing build: chocolate 2021/10/15 05:03:51 ui: cherry: output will be in this color. 2021/10/15 05:03:51 ui: chocolate: output will be in this color. 2021/10/15 05:03:51 ui: 2021/10/15 05:03:51 Build debug mode: false 2021/10/15 05:03:51 Force build: false 2021/10/15 05:03:51 On error: 2021/10/15 05:03:51 Parallelization disabled, waiting for build to finish: cherry 2021/10/15 05:03:51 Starting build run: cherry 2021/10/15 05:03:51 Running builder: file 2021/10/15 05:03:51 ui: ==> cherry: Running post-processor: apple (type shell-local) 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell536214526 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell536214526 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell536214526] 2021/10/15 05:03:51 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:51 ui: ==> cherry: Running post-processor: peach (type shell-local) 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell423079237 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell423079237 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell423079237] 2021/10/15 05:03:51 ui: ==> cherry: Running post-processor: pear (type shell-local) 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell207716320 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell207716320 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell207716320] 2021/10/15 05:03:51 ui: ==> cherry: Running post-processor: banana (type shell-local) 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell859156927 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell859156927 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell859156927] 2021/10/15 05:03:51 ui: Build 'cherry' finished after 230 milliseconds 148 microseconds. 2021/10/15 05:03:51 Parallelization disabled, waiting for build to finish: chocolate 2021/10/15 05:03:51 Starting build run: chocolate 2021/10/15 05:03:51 Running builder: file 2021/10/15 05:03:51 ui: ==> chocolate: Running post-processor: apple (type shell-local) 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell527204370 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell527204370 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell527204370] 2021/10/15 05:03:51 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:51 ui: ==> chocolate: Running post-processor: peach (type shell-local) 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell818960969 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell818960969 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell818960969] 2021/10/15 05:03:51 ui: ==> chocolate: Running post-processor: pear (type shell-local) 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell185252116 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell185252116 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell185252116] 2021/10/15 05:03:51 ui: ==> chocolate: Running post-processor: banana (type shell-local) 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell658307939 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell658307939 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell658307939] 2021/10/15 05:03:51 ui: ==> chocolate: Running post-processor: shell-local 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell533341542 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell533341542 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell533341542] 2021/10/15 05:03:51 ui: Build 'chocolate' finished after 107 milliseconds 152 microseconds. 2021/10/15 05:03:51 Waiting on builds to complete... 2021/10/15 05:03:51 ui: ==> Wait completed after 337 milliseconds 623 microseconds 2021/10/15 05:03:51 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:51 machine readable: chocolate,artifact-count []string{"6"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "id", "File"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "file", "0", "chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "id", "File"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "file", "0", "chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"2", "id", "File"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"2", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"2", "file", "0", "chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"2", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"3", "id", "File"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"3", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"3", "file", "0", "chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"3", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"4", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"4", "id", "File"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"4", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"4", "files-count", "1"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"4", "file", "0", "chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"4", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"5", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"5", "id", "File"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"5", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"5", "files-count", "1"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"5", "file", "0", "chocolate.txt"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"5", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:51 machine readable: cherry,artifact-count []string{"5"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"0", "id", "File"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"0", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"0", "file", "0", "cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"0", "end"} 2021/10/15 05:03:51 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"1", "id", "File"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"1", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"1", "file", "0", "cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"1", "end"} 2021/10/15 05:03:51 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"2", "id", "File"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"2", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"2", "file", "0", "cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"2", "end"} 2021/10/15 05:03:51 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"3", "id", "File"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"3", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"3", "file", "0", "cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"3", "end"} 2021/10/15 05:03:51 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"4", "builder-id", "packer.file"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"4", "id", "File"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"4", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"4", "files-count", "1"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"4", "file", "0", "cherry.txt"} 2021/10/15 05:03:51 machine readable: cherry,artifact []string{"4", "end"} 2021/10/15 05:03:51 ui: --> cherry: Stored file: cherry.txt --- PASS: TestBuildOnlyFileMultipleFlags (0.50s) === RUN TestBuildProvisionAndPosProcessWithBuildVariablesSharing 2021/10/15 05:03:51 Preparing build: chocolate 2021/10/15 05:03:51 ui: chocolate: output will be in this color. 2021/10/15 05:03:51 ui: 2021/10/15 05:03:51 Build debug mode: false 2021/10/15 05:03:51 Force build: false 2021/10/15 05:03:51 On error: 2021/10/15 05:03:51 Waiting on builds to complete... 2021/10/15 05:03:51 Starting build run: chocolate 2021/10/15 05:03:51 Running builder: null 2021/10/15 05:03:51 [INFO] communicator disabled, will not connect 2021/10/15 05:03:51 Unable to load communicator config from state to populate provisionHookData 2021/10/15 05:03:51 Running the provision hook 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> chocolate: Running local shell script: /tmp/packer-shell028453773 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell028453773 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell028453773] 2021/10/15 05:03:51 ui: ==> chocolate: Running post-processor: shell-local 2021/10/15 05:03:51 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:51 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell800067976 2021/10/15 05:03:51 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell800067976 2021/10/15 05:03:51 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='null' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell800067976] 2021/10/15 05:03:51 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:51 ui: Build 'chocolate' finished after 99 milliseconds 869 microseconds. 2021/10/15 05:03:51 ui: ==> Wait completed after 99 milliseconds 986 microseconds 2021/10/15 05:03:51 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:51 machine readable: chocolate,artifact-count []string{"2"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "builder-id", "fnoeding.null"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "id", "Null"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "files-count", "0"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"0", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Did not export anything. This is the null builder 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "builder-id", "fnoeding.null"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "id", "Null"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "string", "Did not export anything. This is the null builder"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "files-count", "0"} 2021/10/15 05:03:51 machine readable: chocolate,artifact []string{"1", "end"} 2021/10/15 05:03:51 ui: --> chocolate: Did not export anything. This is the null builder --- PASS: TestBuildProvisionAndPosProcessWithBuildVariablesSharing (0.11s) === RUN TestBuildEverything 2021/10/15 05:03:51 Preparing build: cherry 2021/10/15 05:03:51 Preparing build: chocolate 2021/10/15 05:03:51 Preparing build: vanilla 2021/10/15 05:03:52 ui: cherry: output will be in this color. 2021/10/15 05:03:52 ui: chocolate: output will be in this color. 2021/10/15 05:03:52 ui: vanilla: output will be in this color. 2021/10/15 05:03:52 ui: 2021/10/15 05:03:52 Build debug mode: false 2021/10/15 05:03:52 Force build: false 2021/10/15 05:03:52 On error: 2021/10/15 05:03:52 Parallelization disabled, waiting for build to finish: cherry 2021/10/15 05:03:52 Starting build run: cherry 2021/10/15 05:03:52 Running builder: file 2021/10/15 05:03:52 ui: ==> cherry: Running post-processor: apple (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell076620103 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell076620103 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell076620103] 2021/10/15 05:03:52 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:52 ui: ==> cherry: Running post-processor: peach (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell080030714 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell080030714 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell080030714] 2021/10/15 05:03:52 ui: ==> cherry: Running post-processor: pear (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell266972945 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell266972945 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell266972945] 2021/10/15 05:03:52 ui: ==> cherry: Running post-processor: banana (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell277466940 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell277466940 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell277466940] 2021/10/15 05:03:52 ui: Build 'cherry' finished after 230 milliseconds 683 microseconds. 2021/10/15 05:03:52 Parallelization disabled, waiting for build to finish: chocolate 2021/10/15 05:03:52 Starting build run: chocolate 2021/10/15 05:03:52 Running builder: file 2021/10/15 05:03:52 ui: ==> chocolate: Running post-processor: apple (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell328000875 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell328000875 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell328000875] 2021/10/15 05:03:52 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:52 ui: ==> chocolate: Running post-processor: peach (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell312597966 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell312597966 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell312597966] 2021/10/15 05:03:52 ui: ==> chocolate: Running post-processor: pear (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell653819093 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell653819093 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell653819093] 2021/10/15 05:03:52 ui: ==> chocolate: Running post-processor: banana (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell145547824 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell145547824 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell145547824] 2021/10/15 05:03:52 ui: ==> chocolate: Running post-processor: shell-local 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell324915663 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell324915663 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell324915663] 2021/10/15 05:03:52 ui: Build 'chocolate' finished after 471 milliseconds 246 microseconds. 2021/10/15 05:03:52 Parallelization disabled, waiting for build to finish: vanilla 2021/10/15 05:03:52 Starting build run: vanilla 2021/10/15 05:03:52 Running builder: file 2021/10/15 05:03:52 ui: ==> vanilla: Running post-processor: apple (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell386012386 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell386012386 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell386012386] 2021/10/15 05:03:52 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:52 ui: ==> vanilla: Running post-processor: peach (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell173229273 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell173229273 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell173229273] 2021/10/15 05:03:52 ui: ==> vanilla: Running post-processor: pear (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell379660900 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell379660900 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell379660900] 2021/10/15 05:03:52 ui: ==> vanilla: Running post-processor: banana (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:52 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell175477875 2021/10/15 05:03:52 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell175477875 2021/10/15 05:03:52 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell175477875] 2021/10/15 05:03:52 ui: ==> vanilla: Running post-processor: tomato (type shell-local) 2021/10/15 05:03:52 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> vanilla (shell-local): Running local shell script: /tmp/packer-shell691424054 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell691424054 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='vanilla' /tmp/packer-shell691424054] 2021/10/15 05:03:53 ui: Build 'vanilla' finished after 313 milliseconds 293 microseconds. 2021/10/15 05:03:53 Waiting on builds to complete... 2021/10/15 05:03:53 ui: ==> Wait completed after 1 second 15 milliseconds 2021/10/15 05:03:53 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:53 machine readable: cherry,artifact-count []string{"5"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"0", "id", "File"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"0", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"0", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"0", "end"} 2021/10/15 05:03:53 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"1", "id", "File"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"1", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"1", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"1", "end"} 2021/10/15 05:03:53 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"2", "id", "File"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"2", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"2", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"2", "end"} 2021/10/15 05:03:53 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"3", "id", "File"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"3", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"3", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"3", "end"} 2021/10/15 05:03:53 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"4", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"4", "id", "File"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"4", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"4", "files-count", "1"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"4", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"4", "end"} 2021/10/15 05:03:53 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: chocolate,artifact-count []string{"6"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"0", "id", "File"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"0", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"0", "file", "0", "chocolate.txt"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"0", "end"} 2021/10/15 05:03:53 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"1", "id", "File"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"1", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"1", "file", "0", "chocolate.txt"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"1", "end"} 2021/10/15 05:03:53 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"2", "id", "File"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"2", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"2", "file", "0", "chocolate.txt"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"2", "end"} 2021/10/15 05:03:53 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"3", "id", "File"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"3", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"3", "file", "0", "chocolate.txt"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"3", "end"} 2021/10/15 05:03:53 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"4", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"4", "id", "File"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"4", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"4", "files-count", "1"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"4", "file", "0", "chocolate.txt"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"4", "end"} 2021/10/15 05:03:53 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"5", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"5", "id", "File"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"5", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"5", "files-count", "1"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"5", "file", "0", "chocolate.txt"} 2021/10/15 05:03:53 machine readable: chocolate,artifact []string{"5", "end"} 2021/10/15 05:03:53 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:53 machine readable: vanilla,artifact-count []string{"6"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"0", "id", "File"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"0", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"0", "file", "0", "vanilla.txt"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"0", "end"} 2021/10/15 05:03:53 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"1", "id", "File"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"1", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"1", "file", "0", "vanilla.txt"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"1", "end"} 2021/10/15 05:03:53 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"2", "id", "File"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"2", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"2", "file", "0", "vanilla.txt"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"2", "end"} 2021/10/15 05:03:53 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"3", "id", "File"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"3", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"3", "file", "0", "vanilla.txt"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"3", "end"} 2021/10/15 05:03:53 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"4", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"4", "id", "File"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"4", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"4", "files-count", "1"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"4", "file", "0", "vanilla.txt"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"4", "end"} 2021/10/15 05:03:53 ui: --> vanilla: Stored file: vanilla.txt 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"5", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"5", "id", "File"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"5", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"5", "files-count", "1"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"5", "file", "0", "vanilla.txt"} 2021/10/15 05:03:53 machine readable: vanilla,artifact []string{"5", "end"} 2021/10/15 05:03:53 ui: --> vanilla: Stored file: vanilla.txt --- PASS: TestBuildEverything (1.20s) === RUN TestBuildExceptFileCommaFlags === RUN TestBuildExceptFileCommaFlags/JSON:_except_build_and_post-processor 2021/10/15 05:03:53 Preparing build: cherry 2021/10/15 05:03:53 ui: cherry: output will be in this color. 2021/10/15 05:03:53 ui: 2021/10/15 05:03:53 Build debug mode: false 2021/10/15 05:03:53 Force build: false 2021/10/15 05:03:53 On error: 2021/10/15 05:03:53 Parallelization disabled, waiting for build to finish: cherry 2021/10/15 05:03:53 Starting build run: cherry 2021/10/15 05:03:53 Running builder: file 2021/10/15 05:03:53 ui: ==> cherry: Running post-processor: apple (type shell-local) 2021/10/15 05:03:53 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell150351133 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell150351133 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell150351133] 2021/10/15 05:03:53 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:53 ui: ==> cherry: Running post-processor: peach (type shell-local) 2021/10/15 05:03:53 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell992724952 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell992724952 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell992724952] 2021/10/15 05:03:53 ui: ==> cherry: Running post-processor: pear (type shell-local) 2021/10/15 05:03:53 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell696440663 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell696440663 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell696440663] 2021/10/15 05:03:53 ui: ==> cherry: Running post-processor: banana (type shell-local) 2021/10/15 05:03:53 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> cherry (shell-local): Running local shell script: /tmp/packer-shell544556746 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell544556746 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell544556746] 2021/10/15 05:03:53 ui: Build 'cherry' finished after 100 milliseconds 672 microseconds. 2021/10/15 05:03:53 Waiting on builds to complete... 2021/10/15 05:03:53 ui: ==> Wait completed after 100 milliseconds 794 microseconds 2021/10/15 05:03:53 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:53 machine readable: cherry,artifact-count []string{"5"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"0", "id", "File"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"0", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"0", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"0", "end"} 2021/10/15 05:03:53 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"1", "id", "File"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"1", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"1", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"1", "end"} 2021/10/15 05:03:53 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"2", "id", "File"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"2", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"2", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"2", "end"} 2021/10/15 05:03:53 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"3", "id", "File"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"3", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"3", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"3", "end"} 2021/10/15 05:03:53 ui: --> cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"4", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"4", "id", "File"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"4", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"4", "files-count", "1"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"4", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: cherry,artifact []string{"4", "end"} 2021/10/15 05:03:53 ui: --> cherry: Stored file: cherry.txt === RUN TestBuildExceptFileCommaFlags/HCL2:_except_build_and_post-processor 2021/10/15 05:03:53 ui: file.cherry: output will be in this color. 2021/10/15 05:03:53 ui: 2021/10/15 05:03:53 Build debug mode: false 2021/10/15 05:03:53 Force build: false 2021/10/15 05:03:53 On error: 2021/10/15 05:03:53 Parallelization disabled, waiting for build to finish: file.cherry 2021/10/15 05:03:53 Starting build run: file.cherry 2021/10/15 05:03:53 Running builder: 2021/10/15 05:03:53 ui: ==> file.cherry: Running post-processor: apple (type shell-local) 2021/10/15 05:03:53 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> file.cherry (shell-local): Running local shell script: /tmp/packer-shell088023457 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell088023457 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell088023457] 2021/10/15 05:03:53 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:53 ui: ==> file.cherry: Running post-processor: peach (type shell-local) 2021/10/15 05:03:53 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> file.cherry (shell-local): Running local shell script: /tmp/packer-shell787366540 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell787366540 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell787366540] 2021/10/15 05:03:53 ui: ==> file.cherry: Running post-processor: pear (type shell-local) 2021/10/15 05:03:53 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> file.cherry (shell-local): Running local shell script: /tmp/packer-shell882393723 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell882393723 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell882393723] 2021/10/15 05:03:53 ui: ==> file.cherry: Running post-processor: banana (type shell-local) 2021/10/15 05:03:53 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> file.cherry (shell-local): Running local shell script: /tmp/packer-shell488133022 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell488133022 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell488133022] 2021/10/15 05:03:53 ui: Build 'file.cherry' finished after 226 milliseconds 110 microseconds. 2021/10/15 05:03:53 Waiting on builds to complete... 2021/10/15 05:03:53 ui: ==> Wait completed after 226 milliseconds 268 microseconds 2021/10/15 05:03:53 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:53 machine readable: file.cherry,artifact-count []string{"5"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "id", "File"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "end"} 2021/10/15 05:03:53 ui: --> file.cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"1", "id", "File"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"1", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"1", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"1", "end"} 2021/10/15 05:03:53 ui: --> file.cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"2", "id", "File"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"2", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"2", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"2", "end"} 2021/10/15 05:03:53 ui: --> file.cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"3", "id", "File"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"3", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"3", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"3", "end"} 2021/10/15 05:03:53 ui: --> file.cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"4", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"4", "id", "File"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"4", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"4", "files-count", "1"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"4", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"4", "end"} 2021/10/15 05:03:53 ui: --> file.cherry: Stored file: cherry.txt === RUN TestBuildExceptFileCommaFlags/HCL2-JSON:_except_build_and_post-processor 2021/10/15 05:03:53 ui: file.cherry: output will be in this color. 2021/10/15 05:03:53 ui: 2021/10/15 05:03:53 Build debug mode: false 2021/10/15 05:03:53 Force build: false 2021/10/15 05:03:53 On error: 2021/10/15 05:03:53 Parallelization disabled, waiting for build to finish: file.cherry 2021/10/15 05:03:53 Starting build run: file.cherry 2021/10/15 05:03:53 Running builder: 2021/10/15 05:03:53 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:53 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> file.cherry: Running local shell script: /tmp/packer-shell438693989 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell438693989 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell438693989] 2021/10/15 05:03:53 ui: ==> file.cherry: Running post-processor: peach (type shell-local) 2021/10/15 05:03:53 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> file.cherry (shell-local): Running local shell script: /tmp/packer-shell879714944 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell879714944 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell879714944] 2021/10/15 05:03:53 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:53 ui: ==> file.cherry: Running post-processor: pear (type shell-local) 2021/10/15 05:03:53 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> file.cherry (shell-local): Running local shell script: /tmp/packer-shell395537375 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell395537375 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell395537375] 2021/10/15 05:03:53 ui: ==> file.cherry: Running post-processor: banana (type shell-local) 2021/10/15 05:03:53 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:53 ui: ==> file.cherry (shell-local): Running local shell script: /tmp/packer-shell570788274 2021/10/15 05:03:53 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell570788274 2021/10/15 05:03:53 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='cherry' /tmp/packer-shell570788274] 2021/10/15 05:03:53 ui: Build 'file.cherry' finished after 286 milliseconds 273 microseconds. 2021/10/15 05:03:53 Waiting on builds to complete... 2021/10/15 05:03:53 ui: ==> Wait completed after 286 milliseconds 611 microseconds 2021/10/15 05:03:53 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:53 machine readable: file.cherry,artifact-count []string{"4"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "id", "File"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "end"} 2021/10/15 05:03:53 ui: --> file.cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"1", "id", "File"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"1", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"1", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"1", "end"} 2021/10/15 05:03:53 ui: --> file.cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"2", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"2", "id", "File"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"2", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"2", "files-count", "1"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"2", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"2", "end"} 2021/10/15 05:03:53 ui: --> file.cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"3", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"3", "id", "File"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"3", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"3", "files-count", "1"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"3", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"3", "end"} 2021/10/15 05:03:53 ui: --> file.cherry: Stored file: cherry.txt --- PASS: TestBuildExceptFileCommaFlags (0.88s) --- PASS: TestBuildExceptFileCommaFlags/JSON:_except_build_and_post-processor (0.22s) --- PASS: TestBuildExceptFileCommaFlags/HCL2:_except_build_and_post-processor (0.29s) --- PASS: TestBuildExceptFileCommaFlags/HCL2-JSON:_except_build_and_post-processor (0.37s) === RUN TestBuildCommand_HCLOnlyExceptOptions === RUN TestBuildCommand_HCLOnlyExceptOptions/[-only=chocolate] 2021/10/15 05:03:53 Build debug mode: false 2021/10/15 05:03:53 Force build: false 2021/10/15 05:03:53 On error: 2021/10/15 05:03:53 Waiting on builds to complete... 2021/10/15 05:03:53 ui: ==> Wait completed after 7 microseconds 2021/10/15 05:03:53 ui: ==> Builds finished but no artifacts were created. === RUN TestBuildCommand_HCLOnlyExceptOptions/[-only=*chocolate*] 2021/10/15 05:03:53 ui: my_build.file.chocolate: output will be in this color. 2021/10/15 05:03:53 ui: 2021/10/15 05:03:53 Build debug mode: false 2021/10/15 05:03:53 Force build: false 2021/10/15 05:03:53 On error: 2021/10/15 05:03:53 Parallelization disabled, waiting for build to finish: my_build.file.chocolate 2021/10/15 05:03:53 Starting build run: my_build.file.chocolate 2021/10/15 05:03:53 Running builder: 2021/10/15 05:03:53 ui: Build 'my_build.file.chocolate' finished after 391 microseconds. 2021/10/15 05:03:53 Waiting on builds to complete... 2021/10/15 05:03:53 ui: ==> Wait completed after 727 microseconds 2021/10/15 05:03:53 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:53 machine readable: my_build.file.chocolate,artifact-count []string{"1"} 2021/10/15 05:03:53 machine readable: my_build.file.chocolate,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: my_build.file.chocolate,artifact []string{"0", "id", "File"} 2021/10/15 05:03:53 machine readable: my_build.file.chocolate,artifact []string{"0", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:53 machine readable: my_build.file.chocolate,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:53 machine readable: my_build.file.chocolate,artifact []string{"0", "file", "0", "chocolate.txt"} 2021/10/15 05:03:53 machine readable: my_build.file.chocolate,artifact []string{"0", "end"} 2021/10/15 05:03:53 ui: --> my_build.file.chocolate: Stored file: chocolate.txt === RUN TestBuildCommand_HCLOnlyExceptOptions/[-except=*chocolate*] 2021/10/15 05:03:53 ui: file.cherry: output will be in this color. 2021/10/15 05:03:53 ui: my_build.file.vanilla: output will be in this color. 2021/10/15 05:03:53 ui: 2021/10/15 05:03:53 Build debug mode: false 2021/10/15 05:03:53 Force build: false 2021/10/15 05:03:53 On error: 2021/10/15 05:03:53 Parallelization disabled, waiting for build to finish: file.cherry 2021/10/15 05:03:53 Starting build run: file.cherry 2021/10/15 05:03:53 Running builder: 2021/10/15 05:03:53 ui: Build 'file.cherry' finished after 215 microseconds. 2021/10/15 05:03:53 Parallelization disabled, waiting for build to finish: my_build.file.vanilla 2021/10/15 05:03:53 Starting build run: my_build.file.vanilla 2021/10/15 05:03:53 Running builder: 2021/10/15 05:03:53 ui: Build 'my_build.file.vanilla' finished after 108 microseconds. 2021/10/15 05:03:53 Waiting on builds to complete... 2021/10/15 05:03:53 ui: ==> Wait completed after 440 microseconds 2021/10/15 05:03:53 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:53 machine readable: file.cherry,artifact-count []string{"1"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "id", "File"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "file", "0", "cherry.txt"} 2021/10/15 05:03:53 machine readable: file.cherry,artifact []string{"0", "end"} 2021/10/15 05:03:53 ui: --> file.cherry: Stored file: cherry.txt 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact-count []string{"1"} 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact []string{"0", "id", "File"} 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact []string{"0", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact []string{"0", "file", "0", "vanilla.txt"} 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact []string{"0", "end"} 2021/10/15 05:03:53 ui: --> my_build.file.vanilla: Stored file: vanilla.txt === RUN TestBuildCommand_HCLOnlyExceptOptions/[-except=*ch*] 2021/10/15 05:03:53 ui: my_build.file.vanilla: output will be in this color. 2021/10/15 05:03:53 ui: 2021/10/15 05:03:53 Build debug mode: false 2021/10/15 05:03:53 Force build: false 2021/10/15 05:03:53 On error: 2021/10/15 05:03:53 Parallelization disabled, waiting for build to finish: my_build.file.vanilla 2021/10/15 05:03:53 Starting build run: my_build.file.vanilla 2021/10/15 05:03:53 Running builder: 2021/10/15 05:03:53 ui: Build 'my_build.file.vanilla' finished after 175 microseconds. 2021/10/15 05:03:53 Waiting on builds to complete... 2021/10/15 05:03:53 ui: ==> Wait completed after 234 microseconds 2021/10/15 05:03:53 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact-count []string{"1"} 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact []string{"0", "id", "File"} 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact []string{"0", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact []string{"0", "file", "0", "vanilla.txt"} 2021/10/15 05:03:53 machine readable: my_build.file.vanilla,artifact []string{"0", "end"} 2021/10/15 05:03:53 ui: --> my_build.file.vanilla: Stored file: vanilla.txt === RUN TestBuildCommand_HCLOnlyExceptOptions/[-only=*chocolate*_-only=*vanilla*] 2021/10/15 05:03:53 ui: my_build.file.chocolate: output will be in this color. 2021/10/15 05:03:53 ui: my_build.file.vanilla: output will be in this color. 2021/10/15 05:03:53 ui: 2021/10/15 05:03:53 Build debug mode: false 2021/10/15 05:03:53 Force build: false 2021/10/15 05:03:53 On error: 2021/10/15 05:03:54 Starting build run: my_build.file.chocolate 2021/10/15 05:03:54 Running builder: 2021/10/15 05:03:54 ui: Build 'my_build.file.chocolate' finished after 340 microseconds. 2021/10/15 05:03:54 Parallelization disabled, waiting for build to finish: my_build.file.chocolate 2021/10/15 05:03:54 Parallelization disabled, waiting for build to finish: my_build.file.vanilla 2021/10/15 05:03:54 Starting build run: my_build.file.vanilla 2021/10/15 05:03:54 Running builder: 2021/10/15 05:03:54 ui: Build 'my_build.file.vanilla' finished after 185 microseconds. 2021/10/15 05:03:54 Waiting on builds to complete... 2021/10/15 05:03:54 ui: ==> Wait completed after 65 milliseconds 644 microseconds 2021/10/15 05:03:54 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact-count []string{"1"} 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact []string{"0", "id", "File"} 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact []string{"0", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact []string{"0", "file", "0", "chocolate.txt"} 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact []string{"0", "end"} 2021/10/15 05:03:54 ui: --> my_build.file.chocolate: Stored file: chocolate.txt 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact-count []string{"1"} 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact []string{"0", "id", "File"} 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact []string{"0", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact []string{"0", "file", "0", "vanilla.txt"} 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact []string{"0", "end"} 2021/10/15 05:03:54 ui: --> my_build.file.vanilla: Stored file: vanilla.txt === RUN TestBuildCommand_HCLOnlyExceptOptions/[-except=*chocolate*_-except=*vanilla*] 2021/10/15 05:03:54 ui: file.cherry: output will be in this color. 2021/10/15 05:03:54 ui: 2021/10/15 05:03:54 Build debug mode: false 2021/10/15 05:03:54 Force build: false 2021/10/15 05:03:54 On error: 2021/10/15 05:03:54 Parallelization disabled, waiting for build to finish: file.cherry 2021/10/15 05:03:54 Starting build run: file.cherry 2021/10/15 05:03:54 Running builder: 2021/10/15 05:03:54 ui: Build 'file.cherry' finished after 261 microseconds. 2021/10/15 05:03:54 Waiting on builds to complete... 2021/10/15 05:03:54 ui: ==> Wait completed after 362 microseconds 2021/10/15 05:03:54 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:54 machine readable: file.cherry,artifact-count []string{"1"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "id", "File"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "file", "0", "cherry.txt"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "end"} 2021/10/15 05:03:54 ui: --> file.cherry: Stored file: cherry.txt === RUN TestBuildCommand_HCLOnlyExceptOptions/[-only=my_build.file.chocolate] 2021/10/15 05:03:54 ui: my_build.file.chocolate: output will be in this color. 2021/10/15 05:03:54 ui: 2021/10/15 05:03:54 Build debug mode: false 2021/10/15 05:03:54 Force build: false 2021/10/15 05:03:54 On error: 2021/10/15 05:03:54 Parallelization disabled, waiting for build to finish: my_build.file.chocolate 2021/10/15 05:03:54 Starting build run: my_build.file.chocolate 2021/10/15 05:03:54 Running builder: 2021/10/15 05:03:54 ui: Build 'my_build.file.chocolate' finished after 241 microseconds. 2021/10/15 05:03:54 Waiting on builds to complete... 2021/10/15 05:03:54 ui: ==> Wait completed after 342 microseconds 2021/10/15 05:03:54 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact-count []string{"1"} 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact []string{"0", "id", "File"} 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact []string{"0", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact []string{"0", "file", "0", "chocolate.txt"} 2021/10/15 05:03:54 machine readable: my_build.file.chocolate,artifact []string{"0", "end"} 2021/10/15 05:03:54 ui: --> my_build.file.chocolate: Stored file: chocolate.txt === RUN TestBuildCommand_HCLOnlyExceptOptions/[-except=my_build.file.chocolate] 2021/10/15 05:03:54 ui: file.cherry: output will be in this color. 2021/10/15 05:03:54 ui: my_build.file.vanilla: output will be in this color. 2021/10/15 05:03:54 ui: 2021/10/15 05:03:54 Build debug mode: false 2021/10/15 05:03:54 Force build: false 2021/10/15 05:03:54 On error: 2021/10/15 05:03:54 Parallelization disabled, waiting for build to finish: file.cherry 2021/10/15 05:03:54 Starting build run: file.cherry 2021/10/15 05:03:54 Running builder: 2021/10/15 05:03:54 ui: Build 'file.cherry' finished after 213 microseconds. 2021/10/15 05:03:54 Parallelization disabled, waiting for build to finish: my_build.file.vanilla 2021/10/15 05:03:54 Starting build run: my_build.file.vanilla 2021/10/15 05:03:54 Running builder: 2021/10/15 05:03:54 ui: Build 'my_build.file.vanilla' finished after 144 microseconds. 2021/10/15 05:03:54 Waiting on builds to complete... 2021/10/15 05:03:54 ui: ==> Wait completed after 480 microseconds 2021/10/15 05:03:54 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:54 machine readable: file.cherry,artifact-count []string{"1"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "id", "File"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "file", "0", "cherry.txt"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "end"} 2021/10/15 05:03:54 ui: --> file.cherry: Stored file: cherry.txt 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact-count []string{"1"} 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact []string{"0", "id", "File"} 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact []string{"0", "string", "Stored file: vanilla.txt"} 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact []string{"0", "file", "0", "vanilla.txt"} 2021/10/15 05:03:54 machine readable: my_build.file.vanilla,artifact []string{"0", "end"} 2021/10/15 05:03:54 ui: --> my_build.file.vanilla: Stored file: vanilla.txt === RUN TestBuildCommand_HCLOnlyExceptOptions/[-only=file.cherry] 2021/10/15 05:03:54 ui: file.cherry: output will be in this color. 2021/10/15 05:03:54 ui: 2021/10/15 05:03:54 Build debug mode: false 2021/10/15 05:03:54 Force build: false 2021/10/15 05:03:54 On error: 2021/10/15 05:03:54 Parallelization disabled, waiting for build to finish: file.cherry 2021/10/15 05:03:54 Starting build run: file.cherry 2021/10/15 05:03:54 Running builder: 2021/10/15 05:03:54 ui: Build 'file.cherry' finished after 289 microseconds. 2021/10/15 05:03:54 Waiting on builds to complete... 2021/10/15 05:03:54 ui: ==> Wait completed after 381 microseconds 2021/10/15 05:03:54 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:54 machine readable: file.cherry,artifact-count []string{"1"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "id", "File"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "string", "Stored file: cherry.txt"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "file", "0", "cherry.txt"} 2021/10/15 05:03:54 machine readable: file.cherry,artifact []string{"0", "end"} 2021/10/15 05:03:54 ui: --> file.cherry: Stored file: cherry.txt --- PASS: TestBuildCommand_HCLOnlyExceptOptions (0.32s) --- PASS: TestBuildCommand_HCLOnlyExceptOptions/[-only=chocolate] (0.00s) --- PASS: TestBuildCommand_HCLOnlyExceptOptions/[-only=*chocolate*] (0.01s) --- PASS: TestBuildCommand_HCLOnlyExceptOptions/[-except=*chocolate*] (0.01s) --- PASS: TestBuildCommand_HCLOnlyExceptOptions/[-except=*ch*] (0.00s) --- PASS: TestBuildCommand_HCLOnlyExceptOptions/[-only=*chocolate*_-only=*vanilla*] (0.07s) --- PASS: TestBuildCommand_HCLOnlyExceptOptions/[-except=*chocolate*_-except=*vanilla*] (0.10s) --- PASS: TestBuildCommand_HCLOnlyExceptOptions/[-only=my_build.file.chocolate] (0.10s) --- PASS: TestBuildCommand_HCLOnlyExceptOptions/[-except=my_build.file.chocolate] (0.01s) --- PASS: TestBuildCommand_HCLOnlyExceptOptions/[-only=file.cherry] (0.02s) === RUN TestBuildWithNonExistingBuilder 2021/10/15 05:03:54 Preparing build: chocolate 2021/10/15 05:03:54 ui error: Error: Failed to initialize build "vanilla" error initializing builder 'non-existing': Unknown builder non-existing 2021/10/15 05:03:54 ui: chocolate: output will be in this color. 2021/10/15 05:03:54 ui: 2021/10/15 05:03:54 Build debug mode: false 2021/10/15 05:03:54 Force build: false 2021/10/15 05:03:54 On error: 2021/10/15 05:03:54 Parallelization disabled, waiting for build to finish: chocolate 2021/10/15 05:03:54 Starting build run: chocolate 2021/10/15 05:03:54 Running builder: file 2021/10/15 05:03:54 ui: ==> chocolate: Running post-processor: shell-local 2021/10/15 05:03:54 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:54 ui: ==> chocolate (shell-local): Running local shell script: /tmp/packer-shell650135913 2021/10/15 05:03:54 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell650135913 2021/10/15 05:03:54 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='chocolate' /tmp/packer-shell650135913] 2021/10/15 05:03:54 Flagging to keep original artifact from post-processor 'shell-local' 2021/10/15 05:03:54 ui: Build 'chocolate' finished after 82 milliseconds. 2021/10/15 05:03:54 Waiting on builds to complete... 2021/10/15 05:03:54 ui: ==> Wait completed after 82 milliseconds 123 microseconds 2021/10/15 05:03:54 ui: ==> Builds finished. The artifacts of successful builds are: 2021/10/15 05:03:54 machine readable: chocolate,artifact-count []string{"2"} 2021/10/15 05:03:54 machine readable: chocolate,artifact []string{"0", "builder-id", "packer.file"} 2021/10/15 05:03:54 machine readable: chocolate,artifact []string{"0", "id", "File"} 2021/10/15 05:03:54 machine readable: chocolate,artifact []string{"0", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:54 machine readable: chocolate,artifact []string{"0", "files-count", "1"} 2021/10/15 05:03:54 machine readable: chocolate,artifact []string{"0", "file", "0", "chocolate.txt"} 2021/10/15 05:03:54 machine readable: chocolate,artifact []string{"0", "end"} 2021/10/15 05:03:54 ui: --> chocolate: Stored file: chocolate.txt 2021/10/15 05:03:54 machine readable: chocolate,artifact []string{"1", "builder-id", "packer.file"} 2021/10/15 05:03:54 machine readable: chocolate,artifact []string{"1", "id", "File"} 2021/10/15 05:03:54 machine readable: chocolate,artifact []string{"1", "string", "Stored file: chocolate.txt"} 2021/10/15 05:03:54 machine readable: chocolate,artifact []string{"1", "files-count", "1"} 2021/10/15 05:03:54 machine readable: chocolate,artifact []string{"1", "file", "0", "chocolate.txt"} 2021/10/15 05:03:54 machine readable: chocolate,artifact []string{"1", "end"} 2021/10/15 05:03:54 ui: --> chocolate: Stored file: chocolate.txt --- PASS: TestBuildWithNonExistingBuilder (0.09s) === RUN TestBuildCommand_ParseArgs === RUN TestBuildCommand_ParseArgs/[file.json] === RUN TestBuildCommand_ParseArgs/[-parallel-builds=10_file.json] === RUN TestBuildCommand_ParseArgs/[-parallel-builds=1_file.json] === RUN TestBuildCommand_ParseArgs/[-parallel-builds=5_file.json] === RUN TestBuildCommand_ParseArgs/[-parallel-builds=1_-parallel-builds=5_otherfile.json] --- PASS: TestBuildCommand_ParseArgs (0.00s) --- PASS: TestBuildCommand_ParseArgs/[file.json] (0.00s) --- PASS: TestBuildCommand_ParseArgs/[-parallel-builds=10_file.json] (0.00s) --- PASS: TestBuildCommand_ParseArgs/[-parallel-builds=1_file.json] (0.00s) --- PASS: TestBuildCommand_ParseArgs/[-parallel-builds=5_file.json] (0.00s) --- PASS: TestBuildCommand_ParseArgs/[-parallel-builds=1_-parallel-builds=5_otherfile.json] (0.00s) === RUN TestBuildSleepTimeout 2021/10/15 05:03:54 Preparing build: roses 2021/10/15 05:03:54 ui: roses: output will be in this color. 2021/10/15 05:03:54 ui: 2021/10/15 05:03:54 Build debug mode: false 2021/10/15 05:03:54 Force build: false 2021/10/15 05:03:54 On error: 2021/10/15 05:03:54 Waiting on builds to complete... 2021/10/15 05:03:54 Starting build run: roses 2021/10/15 05:03:54 Running builder: file 2021/10/15 05:03:54 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:54 ui: ==> roses: Setting a 5s timeout for the next provisioner... 2021/10/15 05:03:54 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:54 ui: ==> roses: Running local shell script: /tmp/packer-shell613657012 2021/10/15 05:03:54 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='roses' /tmp/packer-shell613657012 2021/10/15 05:03:54 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='roses' /tmp/packer-shell613657012] 2021/10/15 05:03:54 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:54 [INFO] (shell-local): Prepending inline script with #!/bin/sh -e 2021/10/15 05:03:54 ui: ==> roses: Running local shell script: /tmp/packer-shell358134147 2021/10/15 05:03:54 [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='roses' /tmp/packer-shell358134147 2021/10/15 05:03:54 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE='file' PACKER_BUILD_NAME='roses' /tmp/packer-shell358134147] 2021/10/15 05:03:54 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:54 ui: ==> roses: Setting a 1ms timeout for the next provisioner... 2021/10/15 05:03:54 ui error: Build 'roses' errored after 380 milliseconds 887 microseconds: context deadline exceeded 2021/10/15 05:03:54 ui: ==> Wait completed after 380 milliseconds 999 microseconds 2021/10/15 05:03:54 machine readable: error-count []string{"1"} 2021/10/15 05:03:54 ui error: ==> Some builds didn't complete successfully and had errors: 2021/10/15 05:03:54 machine readable: roses,error []string{"context deadline exceeded"} 2021/10/15 05:03:54 ui error: --> roses: context deadline exceeded 2021/10/15 05:03:54 ui: ==> Builds finished but no artifacts were created. 2021/10/15 05:03:54 ui error: ==> roses: Cancelling provisioner after a timeout... --- PASS: TestBuildSleepTimeout (0.41s) === RUN Test_console === RUN Test_console/echo_"help"_|_packer_[console] === RUN Test_console/echo_"help"_|_packer_[console_--config-type=hcl2] === RUN Test_console/echo_"var.fruit"_|_packer_[console_test-fixtures/var-arg/fruit_builder.pkr.hcl] === RUN Test_console/echo_"upper(var.fruit)"_|_packer_[console_test-fixtures/var-arg/fruit_builder.pkr.hcl] === RUN Test_console/echo_"1_+_5"_|_packer_[console_--config-type=hcl2] === RUN Test_console/echo_"var.images"_|_packer_[console_test-fixtures/var-arg/map.pkr.hcl] === RUN Test_console/echo_"path.cwd"_|_packer_[console_test-fixtures/var-arg/map.pkr.hcl] === RUN Test_console/echo_"path.root"_|_packer_[console_test-fixtures/var-arg/map.pkr.hcl] === RUN Test_console/echo_"var.list_of_string[0]"_|_packer_[console_-var=list_of_string=["first"]_test-fixtures/hcl/variables/list_of_string] === RUN Test_console/echo_"var.untyped[2]"_|_packer_[console_test-fixtures/hcl/variables/untyped_var] === RUN Test_console/echo_"var.untyped"_|_packer_[console_-var=untyped=just_a_string_test-fixtures/hcl/variables/untyped_var] === RUN Test_console/echo_"var.untyped"_|_packer_[console_test-fixtures/hcl/variables/untyped_var/var.pkr.hcl] === RUN Test_console/echo_"var.untyped"_|_packer_[console_test-fixtures/hcl/variables/untyped_var/var.pkr.hcl]#01 --- PASS: Test_console (6.27s) --- PASS: Test_console/echo_"help"_|_packer_[console] (0.50s) --- PASS: Test_console/echo_"help"_|_packer_[console_--config-type=hcl2] (0.57s) --- PASS: Test_console/echo_"var.fruit"_|_packer_[console_test-fixtures/var-arg/fruit_builder.pkr.hcl] (0.42s) --- PASS: Test_console/echo_"upper(var.fruit)"_|_packer_[console_test-fixtures/var-arg/fruit_builder.pkr.hcl] (0.57s) --- PASS: Test_console/echo_"1_+_5"_|_packer_[console_--config-type=hcl2] (0.31s) --- PASS: Test_console/echo_"var.images"_|_packer_[console_test-fixtures/var-arg/map.pkr.hcl] (0.49s) --- PASS: Test_console/echo_"path.cwd"_|_packer_[console_test-fixtures/var-arg/map.pkr.hcl] (0.70s) --- PASS: Test_console/echo_"path.root"_|_packer_[console_test-fixtures/var-arg/map.pkr.hcl] (0.53s) --- PASS: Test_console/echo_"var.list_of_string[0]"_|_packer_[console_-var=list_of_string=["first"]_test-fixtures/hcl/variables/list_of_string] (0.48s) --- PASS: Test_console/echo_"var.untyped[2]"_|_packer_[console_test-fixtures/hcl/variables/untyped_var] (0.28s) --- PASS: Test_console/echo_"var.untyped"_|_packer_[console_-var=untyped=just_a_string_test-fixtures/hcl/variables/untyped_var] (0.52s) --- PASS: Test_console/echo_"var.untyped"_|_packer_[console_test-fixtures/hcl/variables/untyped_var/var.pkr.hcl] (0.41s) --- PASS: Test_console/echo_"var.untyped"_|_packer_[console_test-fixtures/hcl/variables/untyped_var/var.pkr.hcl]#01 (0.48s) === RUN TestHelperProcess --- PASS: TestHelperProcess (0.00s) === RUN TestFix 2021/10/15 05:04:01 Running fixer: iso-md5 2021/10/15 05:04:01 Running fixer: createtime 2021/10/15 05:04:01 Running fixer: virtualbox-gaattach 2021/10/15 05:04:01 Running fixer: pp-vagrant-override 2021/10/15 05:04:01 Running fixer: virtualbox-rename 2021/10/15 05:04:01 Running fixer: vmware-rename 2021/10/15 05:04:01 Running fixer: parallels-headless 2021/10/15 05:04:01 Running fixer: parallels-deprecations 2021/10/15 05:04:01 Running fixer: sshkeypath 2021/10/15 05:04:01 Running fixer: sshdisableagent 2021/10/15 05:04:01 Running fixer: scaleway-access-key 2021/10/15 05:04:01 Running fixer: manifest-filename 2021/10/15 05:04:01 Running fixer: amazon-shutdown_behavior 2021/10/15 05:04:01 Running fixer: amazon-enhanced-networking 2021/10/15 05:04:01 Running fixer: amazon-private-ip 2021/10/15 05:04:01 Running fixer: amazon-temp-sec-cidrs 2021/10/15 05:04:01 Running fixer: docker-email 2021/10/15 05:04:01 Running fixer: docker-tag-tags 2021/10/15 05:04:01 Running fixer: powershell-escapes 2021/10/15 05:04:01 Running fixer: vmware-compaction 2021/10/15 05:04:01 Running fixer: hyperv-deprecations 2021/10/15 05:04:01 Running fixer: hyperv-vmxc-typo 2021/10/15 05:04:01 Running fixer: hyperv-cpu-and-ram 2021/10/15 05:04:01 Running fixer: clean-image-name 2021/10/15 05:04:01 Running fixer: spot-price-auto-product 2021/10/15 05:04:01 Running fixer: qemu-disk-size 2021/10/15 05:04:01 Running fixer: galaxy-command 2021/10/15 05:04:01 Running fixer: comm-config 2021/10/15 05:04:01 Running fixer: ssh-wait-timeout 2021/10/15 05:04:01 Running fixer: vsphere-iso-net-disk 2021/10/15 05:04:01 Running fixer: iso-checksum-type-and-url 2021/10/15 05:04:01 Running fixer: qemu-host-port 2021/10/15 05:04:01 Running fixer: azure-exclude_from_latest 2021/10/15 05:04:01 Running fixer: proxmox-type 2021/10/15 05:04:01 ui: { "builders": [ { "type": "dummy" } ], "push": { "name": "foo/bar" } } --- PASS: TestFix (0.01s) === RUN TestFix_invalidTemplate 2021/10/15 05:04:01 Running fixer: iso-md5 2021/10/15 05:04:01 Running fixer: createtime 2021/10/15 05:04:01 Running fixer: virtualbox-gaattach 2021/10/15 05:04:01 Running fixer: pp-vagrant-override 2021/10/15 05:04:01 Running fixer: virtualbox-rename 2021/10/15 05:04:01 Running fixer: vmware-rename 2021/10/15 05:04:01 Running fixer: parallels-headless 2021/10/15 05:04:01 Running fixer: parallels-deprecations 2021/10/15 05:04:01 Running fixer: sshkeypath 2021/10/15 05:04:01 Running fixer: sshdisableagent 2021/10/15 05:04:01 Running fixer: scaleway-access-key 2021/10/15 05:04:01 Running fixer: manifest-filename 2021/10/15 05:04:01 Running fixer: amazon-shutdown_behavior 2021/10/15 05:04:01 Running fixer: amazon-enhanced-networking 2021/10/15 05:04:01 Running fixer: amazon-private-ip 2021/10/15 05:04:01 Running fixer: amazon-temp-sec-cidrs 2021/10/15 05:04:01 Running fixer: docker-email 2021/10/15 05:04:01 Running fixer: docker-tag-tags 2021/10/15 05:04:01 Running fixer: powershell-escapes 2021/10/15 05:04:01 Running fixer: vmware-compaction 2021/10/15 05:04:01 Running fixer: hyperv-deprecations 2021/10/15 05:04:01 Running fixer: hyperv-vmxc-typo 2021/10/15 05:04:01 Running fixer: hyperv-cpu-and-ram 2021/10/15 05:04:01 Running fixer: clean-image-name 2021/10/15 05:04:01 Running fixer: spot-price-auto-product 2021/10/15 05:04:01 Running fixer: qemu-disk-size 2021/10/15 05:04:01 Running fixer: galaxy-command 2021/10/15 05:04:01 Running fixer: comm-config 2021/10/15 05:04:01 Running fixer: ssh-wait-timeout 2021/10/15 05:04:01 Running fixer: vsphere-iso-net-disk 2021/10/15 05:04:01 Running fixer: iso-checksum-type-and-url 2021/10/15 05:04:01 Running fixer: qemu-host-port 2021/10/15 05:04:01 Running fixer: azure-exclude_from_latest 2021/10/15 05:04:01 Running fixer: proxmox-type 2021/10/15 05:04:01 ui: { "builders": null, "hello": "world" } 2021/10/15 05:04:01 ui error: Error! Fixed template fails to parse: 1 error occurred: * Unknown root level key in template: 'hello' This is usually caused by an error in the input template. Please fix the error and try again. --- PASS: TestFix_invalidTemplate (0.01s) === RUN TestFix_invalidTemplateDisableValidation 2021/10/15 05:04:01 Running fixer: iso-md5 2021/10/15 05:04:01 Running fixer: createtime 2021/10/15 05:04:01 Running fixer: virtualbox-gaattach 2021/10/15 05:04:01 Running fixer: pp-vagrant-override 2021/10/15 05:04:01 Running fixer: virtualbox-rename 2021/10/15 05:04:01 Running fixer: vmware-rename 2021/10/15 05:04:01 Running fixer: parallels-headless 2021/10/15 05:04:01 Running fixer: parallels-deprecations 2021/10/15 05:04:01 Running fixer: sshkeypath 2021/10/15 05:04:01 Running fixer: sshdisableagent 2021/10/15 05:04:01 Running fixer: scaleway-access-key 2021/10/15 05:04:01 Running fixer: manifest-filename 2021/10/15 05:04:01 Running fixer: amazon-shutdown_behavior 2021/10/15 05:04:01 Running fixer: amazon-enhanced-networking 2021/10/15 05:04:01 Running fixer: amazon-private-ip 2021/10/15 05:04:01 Running fixer: amazon-temp-sec-cidrs 2021/10/15 05:04:01 Running fixer: docker-email 2021/10/15 05:04:01 Running fixer: docker-tag-tags 2021/10/15 05:04:01 Running fixer: powershell-escapes 2021/10/15 05:04:01 Running fixer: vmware-compaction 2021/10/15 05:04:01 Running fixer: hyperv-deprecations 2021/10/15 05:04:01 Running fixer: hyperv-vmxc-typo 2021/10/15 05:04:01 Running fixer: hyperv-cpu-and-ram 2021/10/15 05:04:01 Running fixer: clean-image-name 2021/10/15 05:04:01 Running fixer: spot-price-auto-product 2021/10/15 05:04:01 Running fixer: qemu-disk-size 2021/10/15 05:04:01 Running fixer: galaxy-command 2021/10/15 05:04:01 Running fixer: comm-config 2021/10/15 05:04:01 Running fixer: ssh-wait-timeout 2021/10/15 05:04:01 Running fixer: vsphere-iso-net-disk 2021/10/15 05:04:01 Running fixer: iso-checksum-type-and-url 2021/10/15 05:04:01 Running fixer: qemu-host-port 2021/10/15 05:04:01 Running fixer: azure-exclude_from_latest 2021/10/15 05:04:01 Running fixer: proxmox-type 2021/10/15 05:04:01 ui: { "builders": null, "hello": "world" } --- PASS: TestFix_invalidTemplateDisableValidation (0.00s) === RUN TestFmt --- PASS: TestFmt (0.00s) === RUN TestFmt_unformattedPKRVarsTemplate test-fixtures/fmt/unformatted.pkrvars.hcl --- PASS: TestFmt_unformattedPKRVarsTemplate (0.00s) === RUN TestFmt_unfomattedTemlateDirectory test-fixtures/fmt/unformatted.pkr.hcl test-fixtures/fmt/unformatted.auto.pkrvars.hcl test-fixtures/fmt/unformatted.pkrvars.hcl --- PASS: TestFmt_unfomattedTemlateDirectory (0.00s) === RUN Test_hcl2_upgrade === RUN Test_hcl2_upgrade/hcl2_upgrade_basic --- PASS: Test_hcl2_upgrade (1.01s) --- PASS: Test_hcl2_upgrade/hcl2_upgrade_basic (1.01s) === RUN Test_commands === RUN Test_commands/packer_[inspect_test-fixtures/var-arg/fruit_builder.pkr.hcl] === RUN Test_commands/packer_[inspect_-var=fruit=banana_test-fixtures/var-arg/fruit_builder.pkr.hcl] === RUN Test_commands/packer_[inspect_-var=fruit=peach_-var=unknown_string=also_peach_-var=unknown_unknown=["peach_too"]_-var=unknown_list_of_string=["first_peach",_"second_peach"]_test-fixtures/hcl/inspect/fruit_string.pkr.hcl] === RUN Test_commands/packer_[inspect_-var=fruit=peach_-var=other_default_from_env=apple_test-fixtures/hcl/inspect] === RUN Test_commands/packer_[inspect_test-fixtures/inspect/unset_var.json] === RUN Test_commands/packer_[inspect_test-fixtures/hcl-inspect-with-sensitive-vars] --- PASS: Test_commands (2.87s) --- PASS: Test_commands/packer_[inspect_test-fixtures/var-arg/fruit_builder.pkr.hcl] (0.60s) --- PASS: Test_commands/packer_[inspect_-var=fruit=banana_test-fixtures/var-arg/fruit_builder.pkr.hcl] (0.47s) --- PASS: Test_commands/packer_[inspect_-var=fruit=peach_-var=unknown_string=also_peach_-var=unknown_unknown=["peach_too"]_-var=unknown_list_of_string=["first_peach",_"second_peach"]_test-fixtures/hcl/inspect/fruit_string.pkr.hcl] (0.41s) --- PASS: Test_commands/packer_[inspect_-var=fruit=peach_-var=other_default_from_env=apple_test-fixtures/hcl/inspect] (0.42s) --- PASS: Test_commands/packer_[inspect_test-fixtures/inspect/unset_var.json] (0.38s) --- PASS: Test_commands/packer_[inspect_test-fixtures/hcl-inspect-with-sensitive-vars] (0.60s) === RUN TestValidateCommand === RUN TestValidateCommand/test-fixtures/validate/build.json 2021/10/15 05:04:04 Preparing build: file === RUN TestValidateCommand/test-fixtures/validate/build.pkr.hcl === RUN TestValidateCommand/test-fixtures/validate/build_with_vars.pkr.hcl 2021/10/15 05:04:05 [TRACE] validateValue: not active for target, so skipping 2021/10/15 05:04:05 [TRACE] validateValue: not active for target, so skipping 2021/10/15 05:04:05 [TRACE] validateValue: not active for target, so skipping 2021/10/15 05:04:05 [TRACE] validateValue: not active for target, so skipping 2021/10/15 05:04:05 [TRACE] validateValue: not active for target, so skipping === RUN TestValidateCommand/test-fixtures/validate-invalid/bad_provisioner.json 2021/10/15 05:04:05 Preparing build: file 2021/10/15 05:04:05 ui error: Error: Failed to prepare build: "file" 1 error occurred: * unknown configuration key: '"comment"' === RUN TestValidateCommand/test-fixtures/validate-invalid/missing_build_block.pkr.hcl 2021/10/15 05:04:05 ui error: Error: Unknown source file.cho on line 0: (source code not available) Known: map[file.chocolate:{file chocolate 0xc000cb49c0 }] === RUN TestValidateCommand/test-fixtures/validate/null_var.json 2021/10/15 05:04:05 ui error: Error: 1 error occurred: * required variable not set: null_var === RUN TestValidateCommand/test-fixtures/validate/var_foo_with_no_default.pkr.hcl 2021/10/15 05:04:05 ui error: Error: Unset variable "foo" A used variable must be set or have a default value; see https://packer.io/docs/configuration/from-1.5/syntax for details. === RUN TestValidateCommand/test-fixtures/version_req/base_failure 2021/10/15 05:04:05 ui error: Error: Unsupported Packer Core version on test-fixtures/version_req/base_failure/version.pkr.hcl line 2, in packer: 2: required_version = ">= 700000.0.0" This configuration does not support Packer version 1.6.6. To proceed, either choose another supported Packer version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or unexpected behavior. === RUN TestValidateCommand/test-fixtures/version_req/base_success === RUN TestValidateCommand/test-fixtures/version_req/wrong_field_name 2021/10/15 05:04:05 ui error: Error: Unsupported argument on test-fixtures/version_req/wrong_field_name/version.pkr.hcl line 2, in packer: 2: version = ">= 700000.0.0" An argument named "version" is not expected here. === RUN TestValidateCommand/test-fixtures/validate/invalid_packer_block.pkr.hcl 2021/10/15 05:04:05 ui error: Error: Unsupported argument on test-fixtures/validate/invalid_packer_block.pkr.hcl line 2, in packer: 2: version = ">= v1.0.0" An argument named "version" is not expected here. --- PASS: TestValidateCommand (0.11s) --- PASS: TestValidateCommand/test-fixtures/validate/build.json (0.09s) --- PASS: TestValidateCommand/test-fixtures/validate/build.pkr.hcl (0.00s) --- PASS: TestValidateCommand/test-fixtures/validate/build_with_vars.pkr.hcl (0.01s) --- PASS: TestValidateCommand/test-fixtures/validate-invalid/bad_provisioner.json (0.00s) --- PASS: TestValidateCommand/test-fixtures/validate-invalid/missing_build_block.pkr.hcl (0.00s) --- PASS: TestValidateCommand/test-fixtures/validate/null_var.json (0.00s) --- PASS: TestValidateCommand/test-fixtures/validate/var_foo_with_no_default.pkr.hcl (0.00s) --- PASS: TestValidateCommand/test-fixtures/version_req/base_failure (0.00s) --- PASS: TestValidateCommand/test-fixtures/version_req/base_success (0.00s) --- PASS: TestValidateCommand/test-fixtures/version_req/wrong_field_name (0.00s) --- PASS: TestValidateCommand/test-fixtures/validate/invalid_packer_block.pkr.hcl (0.00s) === RUN TestValidateCommand_SyntaxOnly === RUN TestValidateCommand_SyntaxOnly/test-fixtures/validate/build.json 2021/10/15 05:04:05 ui: Syntax-only check passed. Everything looks okay. === RUN TestValidateCommand_SyntaxOnly/test-fixtures/validate/build.pkr.hcl 2021/10/15 05:04:05 ui: Syntax-only check passed. Everything looks okay. === RUN TestValidateCommand_SyntaxOnly/test-fixtures/validate/build_with_vars.pkr.hcl 2021/10/15 05:04:05 ui: Syntax-only check passed. Everything looks okay. === RUN TestValidateCommand_SyntaxOnly/test-fixtures/validate-invalid/bad_provisioner.json 2021/10/15 05:04:05 ui: Syntax-only check passed. Everything looks okay. === RUN TestValidateCommand_SyntaxOnly/test-fixtures/validate-invalid/missing_build_block.pkr.hcl 2021/10/15 05:04:05 ui: Syntax-only check passed. Everything looks okay. === RUN TestValidateCommand_SyntaxOnly/test-fixtures/validate-invalid/broken.json 2021/10/15 05:04:05 ui error: Failed to parse template: 1 error(s) decoding: * 'Provisioners': source data must be an array or slice, got string === RUN TestValidateCommand_SyntaxOnly/test-fixtures/validate/null_var.json 2021/10/15 05:04:05 ui: Syntax-only check passed. Everything looks okay. === RUN TestValidateCommand_SyntaxOnly/test-fixtures/validate/var_foo_with_no_default.pkr.hcl 2021/10/15 05:04:05 ui: Syntax-only check passed. Everything looks okay. --- PASS: TestValidateCommand_SyntaxOnly (0.07s) --- PASS: TestValidateCommand_SyntaxOnly/test-fixtures/validate/build.json (0.00s) --- PASS: TestValidateCommand_SyntaxOnly/test-fixtures/validate/build.pkr.hcl (0.00s) --- PASS: TestValidateCommand_SyntaxOnly/test-fixtures/validate/build_with_vars.pkr.hcl (0.00s) --- PASS: TestValidateCommand_SyntaxOnly/test-fixtures/validate-invalid/bad_provisioner.json (0.00s) --- PASS: TestValidateCommand_SyntaxOnly/test-fixtures/validate-invalid/missing_build_block.pkr.hcl (0.00s) --- PASS: TestValidateCommand_SyntaxOnly/test-fixtures/validate-invalid/broken.json (0.00s) --- PASS: TestValidateCommand_SyntaxOnly/test-fixtures/validate/null_var.json (0.00s) --- PASS: TestValidateCommand_SyntaxOnly/test-fixtures/validate/var_foo_with_no_default.pkr.hcl (0.07s) === RUN TestValidateCommandOKVersion 2021/10/15 05:04:05 Preparing build: file --- PASS: TestValidateCommandOKVersion (0.00s) === RUN TestValidateCommandBadVersion 2021/10/15 05:04:05 ui error: Error: This template requires Packer version 101.0.0 or higher; using 100.0.0 validate_test.go:118: --- PASS: TestValidateCommandBadVersion (0.00s) === RUN TestValidateCommandExcept === RUN TestValidateCommandExcept/JSON:_validate_except_build_and_post-processor 2021/10/15 05:04:05 Preparing build: chocolate === RUN TestValidateCommandExcept/JSON:_fail_validate_except_build_and_post-processor 2021/10/15 05:04:05 Preparing build: vanilla 2021/10/15 05:04:05 Build 'vanilla' prepare failure: 1 error(s) occurred: * target required 2021/10/15 05:04:05 ui error: Error: Failed to prepare build: "vanilla" 1 error(s) occurred: * target required === RUN TestValidateCommandExcept/HCL2:_validate_except_build_and_post-processor === RUN TestValidateCommandExcept/HCL2:_fail_validation_except_build_and_post-processor 2021/10/15 05:04:05 ui error: Error: 1 error(s) occurred: * target required on test-fixtures/validate/validate_except.pkr.hcl line 5: (source code not available) --- PASS: TestValidateCommandExcept (0.01s) --- PASS: TestValidateCommandExcept/JSON:_validate_except_build_and_post-processor (0.00s) --- PASS: TestValidateCommandExcept/JSON:_fail_validate_except_build_and_post-processor (0.00s) --- PASS: TestValidateCommandExcept/HCL2:_validate_except_build_and_post-processor (0.00s) --- PASS: TestValidateCommandExcept/HCL2:_fail_validation_except_build_and_post-processor (0.00s) === RUN TestVersionCommand_implements --- PASS: TestVersionCommand_implements (0.00s) PASS ok github.com/hashicorp/packer/command 22.659s ? github.com/hashicorp/packer/command/enumflag [no test files] === RUN TestFlagJSON_impl --- PASS: TestFlagJSON_impl (0.00s) === RUN TestFlagJSON --- PASS: TestFlagJSON (0.00s) === RUN TestStringSlice_Set === RUN TestStringSlice_Set/basic --- PASS: TestStringSlice_Set (0.00s) --- PASS: TestStringSlice_Set/basic (0.00s) === RUN TestFlag_impl --- PASS: TestFlag_impl (0.00s) === RUN TestFlag --- PASS: TestFlag (0.00s) PASS ok github.com/hashicorp/packer/command/flag-kv 0.224s === RUN TestStringFlag_implements --- PASS: TestStringFlag_implements (0.00s) === RUN TestStringFlagSet --- PASS: TestStringFlagSet (0.00s) === RUN TestMultiStringFlag --- PASS: TestMultiStringFlag (0.00s) PASS ok github.com/hashicorp/packer/command/flag-slice 0.185s === RUN TestFixerAmazonEnhancedNetworking_Impl --- PASS: TestFixerAmazonEnhancedNetworking_Impl (0.00s) === RUN TestFixerAmazonEnhancedNetworking --- PASS: TestFixerAmazonEnhancedNetworking (0.00s) === RUN TestFixerAmazonPrivateIP_Impl --- PASS: TestFixerAmazonPrivateIP_Impl (0.00s) === RUN TestFixerAmazonPrivateIP --- PASS: TestFixerAmazonPrivateIP (0.00s) === RUN TestFixerAmazonPrivateIPNonBoolean --- PASS: TestFixerAmazonPrivateIPNonBoolean (0.00s) === RUN TestFixerAmazonShutdownBehavior --- PASS: TestFixerAmazonShutdownBehavior (0.00s) === RUN TestFixerAmazonShutdownBehavior_Fix_shutdown_behaviour --- PASS: TestFixerAmazonShutdownBehavior_Fix_shutdown_behaviour (0.00s) === RUN TestFixerAmazonTemporarySecurityCIDRs_Impl --- PASS: TestFixerAmazonTemporarySecurityCIDRs_Impl (0.00s) === RUN TestFixerAmazonTemporarySecurityCIDRs --- PASS: TestFixerAmazonTemporarySecurityCIDRs (0.00s) === RUN TestFixerAzureExcludeFromLatest --- PASS: TestFixerAzureExcludeFromLatest (0.00s) === RUN TestFixerAzureExcludeFromLatest_Fix_exlude_from_latest --- PASS: TestFixerAzureExcludeFromLatest_Fix_exlude_from_latest (0.00s) === RUN TestFixerCleanImageName_Impl --- PASS: TestFixerCleanImageName_Impl (0.00s) === RUN TestFixerCleanImageName_Fix --- PASS: TestFixerCleanImageName_Fix (0.00s) === RUN TestFixerCommConfig_Impl --- PASS: TestFixerCommConfig_Impl (0.00s) === RUN TestFixerCommConfig_Fix --- PASS: TestFixerCommConfig_Fix (0.00s) === RUN TestFixerCreateTime_Impl --- PASS: TestFixerCreateTime_Impl (0.00s) === RUN TestFixerCreateTime_Fix --- PASS: TestFixerCreateTime_Fix (0.00s) === RUN TestFixerGalaxyCommand_Impl --- PASS: TestFixerGalaxyCommand_Impl (0.00s) === RUN TestFixerGalaxyCommand_Fix --- PASS: TestFixerGalaxyCommand_Fix (0.00s) === RUN TestFixerHypervDeprecations_impl --- PASS: TestFixerHypervDeprecations_impl (0.00s) === RUN TestFixerHypervDeprecations_Fix --- PASS: TestFixerHypervDeprecations_Fix (0.01s) === RUN TestFixerHypervVmxcTypo_impl --- PASS: TestFixerHypervVmxcTypo_impl (0.00s) === RUN TestFixerHypervVmxcTypo_Fix --- PASS: TestFixerHypervVmxcTypo_Fix (0.00s) === RUN TestFixerISOChecksumTypeAndURL_Impl --- PASS: TestFixerISOChecksumTypeAndURL_Impl (0.00s) === RUN TestFixerISOChecksumTypeAndURL_Fix --- PASS: TestFixerISOChecksumTypeAndURL_Fix (0.00s) === RUN TestFixerISOMD5_Impl --- PASS: TestFixerISOMD5_Impl (0.00s) === RUN TestFixerISOMD5_Fix --- PASS: TestFixerISOMD5_Fix (0.00s) === RUN TestFixerParallelsDeprecations --- PASS: TestFixerParallelsDeprecations (0.00s) === RUN TestFixerParallelsDeprecations_Fix_parallels_tools_guest_path --- PASS: TestFixerParallelsDeprecations_Fix_parallels_tools_guest_path (0.00s) === RUN TestFixerParallelsDeprecations_Fix_guest_os_distribution --- PASS: TestFixerParallelsDeprecations_Fix_guest_os_distribution (0.00s) === RUN TestFixerParallelsHeadless_Impl --- PASS: TestFixerParallelsHeadless_Impl (0.00s) === RUN TestFixerParallelsHeadless_Fix --- PASS: TestFixerParallelsHeadless_Fix (0.00s) === RUN TestFixerDockerTags --- PASS: TestFixerDockerTags (0.00s) === RUN TestFixerDockerTags_Fix --- PASS: TestFixerDockerTags_Fix (0.00s) === RUN TestFixerManifestPPFilename_Impl --- PASS: TestFixerManifestPPFilename_Impl (0.00s) === RUN TestFixerManifestPPFilename_Fix --- PASS: TestFixerManifestPPFilename_Fix (0.00s) === RUN TestFixerVagrantPPOverride_Impl --- PASS: TestFixerVagrantPPOverride_Impl (0.00s) === RUN TestFixerVagrantPPOverride_Fix --- PASS: TestFixerVagrantPPOverride_Fix (0.00s) === RUN TestFixerProxmoxType_Impl --- PASS: TestFixerProxmoxType_Impl (0.00s) === RUN TestFixerProxmoxType_Fix --- PASS: TestFixerProxmoxType_Fix (0.00s) === RUN TestFixerQEMUDiskSize_impl --- PASS: TestFixerQEMUDiskSize_impl (0.00s) === RUN TestFixerQEMUDiskSize --- PASS: TestFixerQEMUDiskSize (0.00s) === RUN TestFixerQEMUHostPort_impl --- PASS: TestFixerQEMUHostPort_impl (0.00s) === RUN TestFixerQEMUHostPort --- PASS: TestFixerQEMUHostPort (0.00s) === RUN TestFixerScalewayAccessKey_Fix_Impl --- PASS: TestFixerScalewayAccessKey_Fix_Impl (0.00s) === RUN TestFixerScalewayAccessKey_Fix --- PASS: TestFixerScalewayAccessKey_Fix (0.00s) === RUN TestFixerSSHTimout_Impl --- PASS: TestFixerSSHTimout_Impl (0.00s) === RUN TestFixerSSHTimout_Fix --- PASS: TestFixerSSHTimout_Fix (0.00s) === RUN TestFixerSSHDisableAgent_Impl --- PASS: TestFixerSSHDisableAgent_Impl (0.00s) === RUN TestFixerSSHDisableAgent_Fix --- PASS: TestFixerSSHDisableAgent_Fix (0.00s) === RUN TestFixerSSHKeyPath_Impl --- PASS: TestFixerSSHKeyPath_Impl (0.00s) === RUN TestFixerSSHKeyPath_Fix --- PASS: TestFixerSSHKeyPath_Fix (0.00s) === RUN TestFix_allFixersEnabled --- PASS: TestFix_allFixersEnabled (0.00s) === RUN TestFixerVirtualBoxGAAttach_Impl --- PASS: TestFixerVirtualBoxGAAttach_Impl (0.00s) === RUN TestFixerVirtualBoxGAAttach_Fix --- PASS: TestFixerVirtualBoxGAAttach_Fix (0.00s) === RUN TestFixerVirtualBoxRename_impl --- PASS: TestFixerVirtualBoxRename_impl (0.00s) === RUN TestFixerVirtualBoxRename_Fix --- PASS: TestFixerVirtualBoxRename_Fix (0.00s) === RUN TestFixerVirtualBoxRenameFix_provisionerOverride --- PASS: TestFixerVirtualBoxRenameFix_provisionerOverride (0.00s) === RUN TestFixerVMwareCompaction_impl --- PASS: TestFixerVMwareCompaction_impl (0.00s) === RUN TestFixerVMwareCompaction_Fix --- PASS: TestFixerVMwareCompaction_Fix (0.00s) === RUN TestFixerVMwareRename_impl --- PASS: TestFixerVMwareRename_impl (0.00s) === RUN TestFixerVMwareRename_Fix --- PASS: TestFixerVMwareRename_Fix (0.00s) === RUN TestFixerVSphereNetwork_impl --- PASS: TestFixerVSphereNetwork_impl (0.00s) === RUN TestFixerVSphereNetwork_Fix --- PASS: TestFixerVSphereNetwork_Fix (0.00s) PASS ok github.com/hashicorp/packer/fix 0.312s === RUN TestHCL2Formatter_Format --- PASS: TestHCL2Formatter_Format (0.21s) === RUN TestHCL2Formatter_Format_Write --- PASS: TestHCL2Formatter_Format_Write (0.01s) === RUN TestHCL2Formatter_Format_ShowDiff --- PASS: TestHCL2Formatter_Format_ShowDiff (0.27s) === RUN TestParse_build === RUN TestParse_build/basic_build_no_src === RUN TestParse_build/untyped_provisioner === RUN TestParse_build/inexistent_provisioner === RUN TestParse_build/untyped_post-processor === RUN TestParse_build/inexistent_post-processor === RUN TestParse_build/invalid_source === RUN TestParse_build/named_build === RUN TestParse_build/post-processor_with_only_and_except === RUN TestParse_build/provisioner_with_only_and_except --- PASS: TestParse_build (0.41s) --- PASS: TestParse_build/basic_build_no_src (0.10s) --- PASS: TestParse_build/untyped_provisioner (0.00s) --- PASS: TestParse_build/inexistent_provisioner (0.00s) --- PASS: TestParse_build/untyped_post-processor (0.00s) --- PASS: TestParse_build/inexistent_post-processor (0.00s) --- PASS: TestParse_build/invalid_source (0.00s) --- PASS: TestParse_build/named_build (0.00s) --- PASS: TestParse_build/post-processor_with_only_and_except (0.12s) --- PASS: TestParse_build/provisioner_with_only_and_except (0.19s) === RUN TestParser_complete === RUN TestParser_complete/working_build 2021/10/15 05:03:03 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for standard_tags, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for standard_tags, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for abc_map, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for standard_tags, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for abc_map, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for abc_map, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for standard_tags, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for standard_tags, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for abc_map, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for standard_tags, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for abc_map, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for standard_tags, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for abc_map, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for standard_tags, so skipping 2021/10/15 05:03:03 [TRACE] validateValue: not active for abc_map, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for standard_tags, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for abc_map, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for standard_tags, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for abc_map, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for standard_tags, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for abc_map, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for feefoo, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for standard_tags, so skipping 2021/10/15 05:03:04 [TRACE] validateValue: not active for abc_map, so skipping --- PASS: TestParser_complete (2.50s) --- PASS: TestParser_complete/working_build (2.50s) === RUN TestParser_ValidateFilterOption === RUN TestParser_ValidateFilterOption/*foo* === RUN TestParser_ValidateFilterOption/foo[]bar --- PASS: TestParser_ValidateFilterOption (0.00s) --- PASS: TestParser_ValidateFilterOption/*foo* (0.00s) --- PASS: TestParser_ValidateFilterOption/foo[]bar (0.00s) === RUN TestParse_source === RUN TestParse_source/two_basic_sources === RUN TestParse_source/untyped_source === RUN TestParse_source/unnamed_source === RUN TestParse_source/inexistent_source === RUN TestParse_source/duplicate_source --- PASS: TestParse_source (0.00s) --- PASS: TestParse_source/two_basic_sources (0.00s) --- PASS: TestParse_source/untyped_source (0.00s) --- PASS: TestParse_source/unnamed_source (0.00s) --- PASS: TestParse_source/inexistent_source (0.00s) --- PASS: TestParse_source/duplicate_source (0.00s) === RUN TestParse_variables === RUN TestParse_variables/basic_variables 2021/10/15 05:03:06 [TRACE] validateValue: not active for image_name, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for super_secret_password, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for key, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for my_secret, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for my_secret, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for image_name, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for super_secret_password, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for key, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for super_secret_password, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for key, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for my_secret, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for image_name, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for service_name, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for super_secret_password, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for super_secret_password, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for key, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for my_secret, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for image_name, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for image_id, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for port, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for availability_zone_names, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for service_name, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for owner, so skipping === RUN TestParse_variables/duplicate_variable 2021/10/15 05:03:06 [TRACE] validateValue: not active for boolean_value, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for boolean_value, so skipping === RUN TestParse_variables/duplicate_variable_in_variables 2021/10/15 05:03:06 [TRACE] validateValue: not active for boolean_value, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for boolean_value, so skipping === RUN TestParse_variables/invalid_default_type 2021/10/15 05:03:06 [TRACE] validateValue: not active for broken_type, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for broken_type, so skipping === RUN TestParse_variables/unknown_key 2021/10/15 05:03:06 [TRACE] validateValue: not active for broken_variable, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for broken_variable, so skipping === RUN TestParse_variables/unset_used_variable === RUN TestParse_variables/unset_unused_variable === RUN TestParse_variables/locals_within_another_locals_usage_in_different_files 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for for_var, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for for_var, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for bar_var, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for for_var, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for bar_var, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for bar, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for for_var, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for bar_var, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for bar, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for for_var, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for bar_var, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for bar, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for name_prefix, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for foo, so skipping === RUN TestParse_variables/recursive_locals === RUN TestParse_variables/set_variable_from_var-file 2021/10/15 05:03:06 [TRACE] validateValue: not active for foo, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for foo, so skipping === RUN TestParse_variables/unknown_variable_from_var-file === RUN TestParse_variables/provisioner_variable_decoding 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries_int, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries_int, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries_int, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries_int, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries_int, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries_int, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries, so skipping 2021/10/15 05:03:06 [TRACE] validateValue: not active for max_retries_int, so skipping === RUN TestParse_variables/valid_validation_block === RUN TestParse_variables/valid_validation_block_-_invalid_default --- PASS: TestParse_variables (0.11s) --- PASS: TestParse_variables/basic_variables (0.01s) --- PASS: TestParse_variables/duplicate_variable (0.00s) --- PASS: TestParse_variables/duplicate_variable_in_variables (0.00s) --- PASS: TestParse_variables/invalid_default_type (0.00s) --- PASS: TestParse_variables/unknown_key (0.00s) --- PASS: TestParse_variables/unset_used_variable (0.00s) --- PASS: TestParse_variables/unset_unused_variable (0.00s) --- PASS: TestParse_variables/locals_within_another_locals_usage_in_different_files (0.00s) --- PASS: TestParse_variables/recursive_locals (0.08s) --- PASS: TestParse_variables/set_variable_from_var-file (0.00s) --- PASS: TestParse_variables/unknown_variable_from_var-file (0.00s) --- PASS: TestParse_variables/provisioner_variable_decoding (0.01s) --- PASS: TestParse_variables/valid_validation_block (0.00s) --- PASS: TestParse_variables/valid_validation_block_-_invalid_default (0.00s) === RUN TestVariables_collectVariableValues === RUN TestVariables_collectVariableValues/string 2021/10/15 05:03:06 [TRACE] validateValue: not active for , so skipping === RUN TestVariables_collectVariableValues/quoted_string 2021/10/15 05:03:06 [TRACE] validateValue: not active for , so skipping === RUN TestVariables_collectVariableValues/array_of_strings 2021/10/15 05:03:06 [TRACE] validateValue: not active for , so skipping === RUN TestVariables_collectVariableValues/bool 2021/10/15 05:03:06 [TRACE] validateValue: not active for , so skipping === RUN TestVariables_collectVariableValues/invalid_env_var 2021/10/15 05:03:06 [TRACE] validateValue: not active for , so skipping === RUN TestVariables_collectVariableValues/undefined_but_set_value_-_pkrvar_file_-_normal_mode === RUN TestVariables_collectVariableValues/undefined_but_set_value_-_pkrvar_file_-_strict_mode === RUN TestVariables_collectVariableValues/undefined_but_set_value_-_env === RUN TestVariables_collectVariableValues/undefined_but_set_value_-_argv === RUN TestVariables_collectVariableValues/value_not_corresponding_to_type_-_env 2021/10/15 05:03:06 [TRACE] validateValue: not active for , so skipping === RUN TestVariables_collectVariableValues/value_not_corresponding_to_type_-_cfg_file 2021/10/15 05:03:06 [TRACE] validateValue: not active for , so skipping === RUN TestVariables_collectVariableValues/value_not_corresponding_to_type_-_argv 2021/10/15 05:03:06 [TRACE] validateValue: not active for , so skipping === RUN TestVariables_collectVariableValues/defining_a_variable_block_in_a_variables_file_is_invalid_ --- PASS: TestVariables_collectVariableValues (0.00s) --- PASS: TestVariables_collectVariableValues/string (0.00s) --- PASS: TestVariables_collectVariableValues/quoted_string (0.00s) --- PASS: TestVariables_collectVariableValues/array_of_strings (0.00s) --- PASS: TestVariables_collectVariableValues/bool (0.00s) --- PASS: TestVariables_collectVariableValues/invalid_env_var (0.00s) --- PASS: TestVariables_collectVariableValues/undefined_but_set_value_-_pkrvar_file_-_normal_mode (0.00s) --- PASS: TestVariables_collectVariableValues/undefined_but_set_value_-_pkrvar_file_-_strict_mode (0.00s) --- PASS: TestVariables_collectVariableValues/undefined_but_set_value_-_env (0.00s) --- PASS: TestVariables_collectVariableValues/undefined_but_set_value_-_argv (0.00s) --- PASS: TestVariables_collectVariableValues/value_not_corresponding_to_type_-_env (0.00s) --- PASS: TestVariables_collectVariableValues/value_not_corresponding_to_type_-_cfg_file (0.00s) --- PASS: TestVariables_collectVariableValues/value_not_corresponding_to_type_-_argv (0.00s) --- PASS: TestVariables_collectVariableValues/defining_a_variable_block_in_a_variables_file_is_invalid_ (0.00s) PASS ok github.com/hashicorp/packer/hcl2template 3.778s ? github.com/hashicorp/packer/hcl2template/addrs [no test files] === RUN TestLength === RUN TestLength/Length(cty.ListValEmpty(cty.Number)) === RUN TestLength/Length(cty.ListVal([]cty.Value{cty.True})) === RUN TestLength/Length(cty.ListVal([]cty.Value{cty.UnknownVal(cty.Bool)})) === RUN TestLength/Length(cty.SetValEmpty(cty.Number)) === RUN TestLength/Length(cty.SetVal([]cty.Value{cty.True})) === RUN TestLength/Length(cty.MapValEmpty(cty.Bool)) === RUN TestLength/Length(cty.MapVal(map[string]cty.Value{"hello":cty.True})) === RUN TestLength/Length(cty.EmptyTupleVal) === RUN TestLength/Length(cty.UnknownVal(cty.EmptyTuple)) === RUN TestLength/Length(cty.TupleVal([]cty.Value{cty.True})) === RUN TestLength/Length(cty.EmptyObjectVal) === RUN TestLength/Length(cty.UnknownVal(cty.EmptyObject)) === RUN TestLength/Length(cty.ObjectVal(map[string]cty.Value{"true":cty.True})) === RUN TestLength/Length(cty.UnknownVal(cty.List(cty.Bool))) === RUN TestLength/Length(cty.DynamicVal) === RUN TestLength/Length(cty.StringVal("hello")) === RUN TestLength/Length(cty.StringVal("")) === RUN TestLength/Length(cty.StringVal("1")) === RUN TestLength/Length(cty.StringVal("Живой_Журнал")) === RUN TestLength/Length(cty.StringVal("noël")) === RUN TestLength/Length(cty.StringVal("wé́́é́́é́́!")) === RUN TestLength/Length(cty.StringVal("baffle")) === RUN TestLength/Length(cty.StringVal("😸😾")) === RUN TestLength/Length(cty.UnknownVal(cty.String)) === RUN TestLength/Length(cty.DynamicVal)#01 --- PASS: TestLength (0.00s) --- PASS: TestLength/Length(cty.ListValEmpty(cty.Number)) (0.00s) --- PASS: TestLength/Length(cty.ListVal([]cty.Value{cty.True})) (0.00s) --- PASS: TestLength/Length(cty.ListVal([]cty.Value{cty.UnknownVal(cty.Bool)})) (0.00s) --- PASS: TestLength/Length(cty.SetValEmpty(cty.Number)) (0.00s) --- PASS: TestLength/Length(cty.SetVal([]cty.Value{cty.True})) (0.00s) --- PASS: TestLength/Length(cty.MapValEmpty(cty.Bool)) (0.00s) --- PASS: TestLength/Length(cty.MapVal(map[string]cty.Value{"hello":cty.True})) (0.00s) --- PASS: TestLength/Length(cty.EmptyTupleVal) (0.00s) --- PASS: TestLength/Length(cty.UnknownVal(cty.EmptyTuple)) (0.00s) --- PASS: TestLength/Length(cty.TupleVal([]cty.Value{cty.True})) (0.00s) --- PASS: TestLength/Length(cty.EmptyObjectVal) (0.00s) --- PASS: TestLength/Length(cty.UnknownVal(cty.EmptyObject)) (0.00s) --- PASS: TestLength/Length(cty.ObjectVal(map[string]cty.Value{"true":cty.True})) (0.00s) --- PASS: TestLength/Length(cty.UnknownVal(cty.List(cty.Bool))) (0.00s) --- PASS: TestLength/Length(cty.DynamicVal) (0.00s) --- PASS: TestLength/Length(cty.StringVal("hello")) (0.00s) --- PASS: TestLength/Length(cty.StringVal("")) (0.00s) --- PASS: TestLength/Length(cty.StringVal("1")) (0.00s) --- PASS: TestLength/Length(cty.StringVal("Живой_Журнал")) (0.00s) --- PASS: TestLength/Length(cty.StringVal("noël")) (0.00s) --- PASS: TestLength/Length(cty.StringVal("wé́́é́́é́́!")) (0.00s) --- PASS: TestLength/Length(cty.StringVal("baffle")) (0.00s) --- PASS: TestLength/Length(cty.StringVal("😸😾")) (0.00s) --- PASS: TestLength/Length(cty.UnknownVal(cty.String)) (0.00s) --- PASS: TestLength/Length(cty.DynamicVal)#01 (0.00s) PASS ok github.com/hashicorp/packer/hcl2template/function 0.200s ? github.com/hashicorp/packer/hcl2template/internal [no test files] ? github.com/hashicorp/packer/hcl2template/repl [no test files] === RUN TestConfigValueFromHCL2 === RUN TestConfigValueFromHCL2/cty.True === RUN TestConfigValueFromHCL2/cty.False === RUN TestConfigValueFromHCL2/cty.NumberIntVal(12) === RUN TestConfigValueFromHCL2/cty.NumberFloatVal(12.5) === RUN TestConfigValueFromHCL2/cty.StringVal("hello_world") === RUN TestConfigValueFromHCL2/cty.ObjectVal(map[string]cty.Value{"address":cty.ObjectVal(map[string]cty.Value{"city":cty.StringVal("Fridgewater"),_"state":cty.StringVal("MA"),_"street":cty.ListVal([]cty.Value{cty.StringVal("421_Shoreham_Loop")}),_"zip":cty.StringVal("91037")}),_"age":cty.NumberIntVal(19),_"name":cty.StringVal("Ermintrude")}) === RUN TestConfigValueFromHCL2/cty.MapVal(map[string]cty.Value{"bar":cty.StringVal("baz"),_"foo":cty.StringVal("bar")}) === RUN TestConfigValueFromHCL2/cty.TupleVal([]cty.Value{cty.StringVal("foo"),_cty.True}) === RUN TestConfigValueFromHCL2/cty.NullVal(cty.String) === RUN TestConfigValueFromHCL2/cty.UnknownVal(cty.String) --- PASS: TestConfigValueFromHCL2 (0.01s) --- PASS: TestConfigValueFromHCL2/cty.True (0.00s) --- PASS: TestConfigValueFromHCL2/cty.False (0.00s) --- PASS: TestConfigValueFromHCL2/cty.NumberIntVal(12) (0.00s) --- PASS: TestConfigValueFromHCL2/cty.NumberFloatVal(12.5) (0.00s) --- PASS: TestConfigValueFromHCL2/cty.StringVal("hello_world") (0.00s) --- PASS: TestConfigValueFromHCL2/cty.ObjectVal(map[string]cty.Value{"address":cty.ObjectVal(map[string]cty.Value{"city":cty.StringVal("Fridgewater"),_"state":cty.StringVal("MA"),_"street":cty.ListVal([]cty.Value{cty.StringVal("421_Shoreham_Loop")}),_"zip":cty.StringVal("91037")}),_"age":cty.NumberIntVal(19),_"name":cty.StringVal("Ermintrude")}) (0.00s) --- PASS: TestConfigValueFromHCL2/cty.MapVal(map[string]cty.Value{"bar":cty.StringVal("baz"),_"foo":cty.StringVal("bar")}) (0.00s) --- PASS: TestConfigValueFromHCL2/cty.TupleVal([]cty.Value{cty.StringVal("foo"),_cty.True}) (0.00s) --- PASS: TestConfigValueFromHCL2/cty.NullVal(cty.String) (0.00s) --- PASS: TestConfigValueFromHCL2/cty.UnknownVal(cty.String) (0.00s) PASS ok github.com/hashicorp/packer/hcl2template/shim 0.196s ? github.com/hashicorp/packer/helper/wrappedreadline [no test files] ? github.com/hashicorp/packer/helper/wrappedstreams [no test files] === RUN TestBuild_Name --- PASS: TestBuild_Name (0.00s) === RUN TestBuild_Prepare --- PASS: TestBuild_Prepare (0.00s) === RUN TestBuild_Prepare_SkipWhenBuilderAlreadyInitialized --- PASS: TestBuild_Prepare_SkipWhenBuilderAlreadyInitialized (0.00s) === RUN TestBuild_Prepare_Twice --- PASS: TestBuild_Prepare_Twice (0.00s) === RUN TestBuildPrepare_BuilderWarnings --- PASS: TestBuildPrepare_BuilderWarnings (0.00s) === RUN TestBuild_Prepare_Debug --- PASS: TestBuild_Prepare_Debug (0.00s) === RUN TestBuildPrepare_variables_default --- PASS: TestBuildPrepare_variables_default (0.00s) === RUN TestBuildPrepare_ProvisionerGetsGeneratedMap --- PASS: TestBuildPrepare_ProvisionerGetsGeneratedMap (0.00s) === RUN TestBuild_Run 2021/10/15 05:03:07 Running builder: foo 2021/10/15 05:03:07 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:07 ui: ==> test: Running post-processor: testPPName (type testPP) 2021/10/15 05:03:07 Flagging to keep original artifact from post-processor 'testPP' 2021/10/15 05:03:07 Unable to read map[string]interface out of data.Using empty interface: 42 --- PASS: TestBuild_Run (0.01s) === RUN TestBuild_Run_Artifacts 2021/10/15 05:03:07 Running builder: foo 2021/10/15 05:03:07 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:07 Running builder: foo 2021/10/15 05:03:07 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:07 ui: ==> test: Running post-processor: testPPName (type pp) 2021/10/15 05:03:07 Deleting original artifact for build 'test' 2021/10/15 05:03:07 Running builder: foo 2021/10/15 05:03:07 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:07 ui: ==> test: Running post-processor: testPPName (type pp) 2021/10/15 05:03:07 ui: ==> test: Running post-processor: testPPName (type pp) 2021/10/15 05:03:07 Flagging to keep original artifact from post-processor 'pp' 2021/10/15 05:03:07 Running builder: foo 2021/10/15 05:03:07 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:07 ui: ==> test: Running post-processor: testPPName (type pp) 2021/10/15 05:03:07 ui: ==> test: Running post-processor: testPPName (type pp) 2021/10/15 05:03:07 ui: ==> test: Running post-processor: testPPName (type pp) 2021/10/15 05:03:07 ui: ==> test: Running post-processor: testPPName (type pp) 2021/10/15 05:03:07 Deleting prior artifact from post-processor 'pp' 2021/10/15 05:03:07 Deleting original artifact for build 'test' 2021/10/15 05:03:07 Running builder: foo 2021/10/15 05:03:07 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:07 ui: ==> test: Running post-processor: testPPName (type pp) 2021/10/15 05:03:07 The pp post-processor forces keep_input_artifact=true to preserve integrity of thebuild chain. User-set keep_input_artifact=false will beignored. 2021/10/15 05:03:07 Flagging to keep original artifact from post-processor 'pp' 2021/10/15 05:03:07 Running builder: foo 2021/10/15 05:03:07 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:07 ui: ==> test: Running post-processor: testPPName (type pp) 2021/10/15 05:03:07 Deleting original artifact for build 'test' 2021/10/15 05:03:07 Running builder: foo 2021/10/15 05:03:07 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:07 ui: ==> test: Running post-processor: testPPName (type pp) 2021/10/15 05:03:07 Flagging to keep original artifact from post-processor 'pp' --- PASS: TestBuild_Run_Artifacts (0.00s) === RUN TestBuild_RunBeforePrepare --- PASS: TestBuild_RunBeforePrepare (0.00s) === RUN TestBuild_Cancel 2021/10/15 05:03:07 Running builder: foo --- PASS: TestBuild_Cancel (0.00s) === RUN TestCoreBuildNames --- PASS: TestCoreBuildNames (0.01s) === RUN TestCoreBuild_basic 2021/10/15 05:03:07 Running builder: test --- PASS: TestCoreBuild_basic (0.00s) === RUN TestCoreBuild_basicInterpolated 2021/10/15 05:03:07 Running builder: test --- PASS: TestCoreBuild_basicInterpolated (0.00s) === RUN TestCoreBuild_env --- PASS: TestCoreBuild_env (0.00s) === RUN TestCoreBuild_IgnoreTemplateVariables --- PASS: TestCoreBuild_IgnoreTemplateVariables (0.06s) === RUN TestCoreBuild_buildNameVar --- PASS: TestCoreBuild_buildNameVar (0.00s) === RUN TestCoreBuild_buildTypeVar --- PASS: TestCoreBuild_buildTypeVar (0.00s) === RUN TestCoreBuild_nonExist --- PASS: TestCoreBuild_nonExist (0.00s) === RUN TestCoreBuild_prov 2021/10/15 05:03:07 Running builder: test 2021/10/15 05:03:07 Unable to read map[string]interface out of data.Using empty interface: --- PASS: TestCoreBuild_prov (0.00s) === RUN TestCoreBuild_provSkip 2021/10/15 05:03:07 Running builder: test --- PASS: TestCoreBuild_provSkip (0.01s) === RUN TestCoreBuild_provSkipInclude 2021/10/15 05:03:07 Running builder: test 2021/10/15 05:03:07 Unable to read map[string]interface out of data.Using empty interface: --- PASS: TestCoreBuild_provSkipInclude (0.00s) === RUN TestCoreBuild_provOverride 2021/10/15 05:03:07 Running builder: test 2021/10/15 05:03:07 Unable to read map[string]interface out of data.Using empty interface: --- PASS: TestCoreBuild_provOverride (0.00s) === RUN TestCoreBuild_postProcess 2021/10/15 05:03:07 Running builder: test 2021/10/15 05:03:07 ui: ==> test: Running post-processor: test 2021/10/15 05:03:07 Deleting original artifact for build 'test' --- PASS: TestCoreBuild_postProcess (0.00s) === RUN TestCoreBuild_templatePath --- PASS: TestCoreBuild_templatePath (0.02s) === RUN TestCoreValidate --- PASS: TestCoreValidate (0.07s) === RUN TestCore_InterpolateUserVars 2021/10/15 05:03:07 Deleting kv.Value: 2021/10/15 05:03:07 Deleting kv.Value: 2021/10/15 05:03:07 Deleting kv.Value: 2021/10/15 05:03:07 Deleting kv.Value: 2021/10/15 05:03:07 Deleting kv.Value: bar 2021/10/15 05:03:08 Deleting kv.Value: 2021/10/15 05:03:08 Deleting kv.Value: 2021/10/15 05:03:08 Deleting kv.Value: --- PASS: TestCore_InterpolateUserVars (1.29s) === RUN TestCore_InterpolateUserVars_VarFile 2021/10/15 05:03:08 Deleting kv.Value: 2021/10/15 05:03:08 Deleting kv.Value: 2021/10/15 05:03:08 Deleting kv.Value: interpolate-em-all 2021/10/15 05:03:08 Deleting kv.Value: 2021/10/15 05:03:08 Deleting kv.Value: 2021/10/15 05:03:08 Deleting kv.Value: interpolate-em-all --- PASS: TestCore_InterpolateUserVars_VarFile (0.65s) === RUN TestSensitiveVars 2021/10/15 05:03:09 Deleting kv.Value: 2021/10/15 05:03:09 Deleting kv.Value: 2021/10/15 05:03:09 Deleting kv.Value: bar_extra_sensitive_probably_a_password 2021/10/15 05:03:09 Deleting kv.Value: bar_extra_sensitive_probably_a_password --- PASS: TestSensitiveVars (0.16s) === RUN TestIsDoneInterpolating --- PASS: TestIsDoneInterpolating (0.00s) === RUN TestEnvAndFileVars 2021/10/15 05:03:09 Deleting kv.Value: 2021/10/15 05:03:09 Deleting kv.Value: 2021/10/15 05:03:09 Deleting kv.Value: 2021/10/15 05:03:09 Deleting kv.Value: 2021/10/15 05:03:09 Deleting kv.Value: 2021/10/15 05:03:09 Deleting kv.Value: 2021/10/15 05:03:09 Deleting kv.Value: 2021/10/15 05:03:09 Deleting kv.Value: {{ env `INTERPOLATE_TEST_ENV_1` }} 2021/10/15 05:03:09 Deleting kv.Value: {{ env `INTERPOLATE_TEST_ENV_2` }} 2021/10/15 05:03:09 Deleting kv.Value: {{ env `INTERPOLATE_TEST_ENV_3` }} 2021/10/15 05:03:09 Deleting kv.Value: {{ env `INTERPOLATE_TEST_ENV_4` }} 2021/10/15 05:03:09 Deleting kv.Value: partyparrot --- PASS: TestEnvAndFileVars (0.33s) === RUN TestCoreBuild_provRetry 2021/10/15 05:03:09 Running builder: test 2021/10/15 05:03:09 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:09 ui: ==> test: Provisioner failed with "failed", retrying with 1 trie(s) left 2021/10/15 05:03:09 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:09 ui: ==> test: Provisioner failed with "failed", retrying with 1 trie(s) left --- PASS: TestCoreBuild_provRetry (0.00s) === RUN TestProgressTracking_open_close --- PASS: TestProgressTracking_open_close (0.00s) === RUN TestProgressTracking_multi_open_close --- PASS: TestProgressTracking_multi_open_close (0.00s) === RUN TestProgressTracking_races --- PASS: TestProgressTracking_races (0.00s) === RUN TestProvisionHook_Impl --- PASS: TestProvisionHook_Impl (0.00s) === RUN TestProvisionHook 2021/10/15 05:03:09 Unable to read map[string]interface out of data.Using empty interface: 2021/10/15 05:03:09 Unable to read map[string]interface out of data.Using empty interface: --- PASS: TestProvisionHook (0.00s) === RUN TestProvisionHook_nilComm --- PASS: TestProvisionHook_nilComm (0.00s) === RUN TestProvisionHook_cancel 2021/10/15 05:03:09 Unable to read map[string]interface out of data.Using empty interface: --- PASS: TestProvisionHook_cancel (0.00s) === RUN TestPausedProvisioner_impl --- PASS: TestPausedProvisioner_impl (0.00s) === RUN TestPausedProvisionerPrepare --- PASS: TestPausedProvisionerPrepare (0.00s) === RUN TestPausedProvisionerProvision 2021/10/15 05:03:09 ui: Pausing 0s before the next provisioner... --- PASS: TestPausedProvisionerProvision (0.00s) === RUN TestPausedProvisionerProvision_waits 2021/10/15 05:03:09 ui: Pausing 50ms before the next provisioner... --- PASS: TestPausedProvisionerProvision_waits (0.06s) === RUN TestPausedProvisionerCancel 2021/10/15 05:03:09 ui: Pausing 0s before the next provisioner... --- PASS: TestPausedProvisionerCancel (0.00s) === RUN TestDebuggedProvisioner_impl --- PASS: TestDebuggedProvisioner_impl (0.00s) === RUN TestDebuggedProvisionerPrepare --- PASS: TestDebuggedProvisionerPrepare (0.00s) === RUN TestDebuggedProvisionerProvision 2021/10/15 05:03:09 ui: ask: Pausing before the next provisioner . Press enter to continue. --- PASS: TestDebuggedProvisionerProvision (0.01s) === RUN TestDebuggedProvisionerCancel 2021/10/15 05:03:09 ui: ask: Pausing before the next provisioner . Press enter to continue. --- PASS: TestDebuggedProvisionerCancel (0.00s) === RUN TestRetriedProvisioner_impl --- PASS: TestRetriedProvisioner_impl (0.00s) === RUN TestRetriedProvisionerPrepare --- PASS: TestRetriedProvisionerPrepare (0.00s) === RUN TestRetriedProvisionerProvision 2021/10/15 05:03:09 ui: Provisioner failed with "failed", retrying with 2 trie(s) left --- PASS: TestRetriedProvisionerProvision (0.00s) === RUN TestRetriedProvisionerCancelledProvision --- PASS: TestRetriedProvisionerCancelledProvision (0.00s) === RUN TestRetriedProvisionerCancel 2021/10/15 05:03:09 ui: retry limit reached. --- PASS: TestRetriedProvisionerCancel (0.00s) === RUN TestFlattenConfigKeys_nil --- PASS: TestFlattenConfigKeys_nil (0.00s) === RUN TestFlattenConfigKeys_nested --- PASS: TestFlattenConfigKeys_nested (0.00s) === RUN TestColoredUi 2021/10/15 05:03:09 ui: foo 2021/10/15 05:03:09 ui: foo 2021/10/15 05:03:09 ui error: foo --- PASS: TestColoredUi (0.00s) === RUN TestColoredUi_noColorEnv 2021/10/15 05:03:09 ui: foo 2021/10/15 05:03:09 ui: foo 2021/10/15 05:03:09 ui error: foo --- PASS: TestColoredUi_noColorEnv (0.00s) === RUN TestTargetedUI 2021/10/15 05:03:09 ui: ==> foo: foo 2021/10/15 05:03:09 ui: foo: foo 2021/10/15 05:03:09 ui error: ==> foo: bar 2021/10/15 05:03:09 ui: ==> foo: foo ==> foo: bar --- PASS: TestTargetedUI (0.00s) === RUN TestColoredUi_ImplUi --- PASS: TestColoredUi_ImplUi (0.00s) === RUN TestTargetedUI_ImplUi --- PASS: TestTargetedUI_ImplUi (0.00s) === RUN TestBasicUi_ImplUi --- PASS: TestBasicUi_ImplUi (0.00s) === RUN TestBasicUi_Error 2021/10/15 05:03:09 ui error: foo 2021/10/15 05:03:09 ui error: 5 --- PASS: TestBasicUi_Error (0.00s) === RUN TestBasicUi_Say 2021/10/15 05:03:09 ui: foo 2021/10/15 05:03:09 ui: 5 --- PASS: TestBasicUi_Say (0.00s) === RUN TestBasicUi_Ask 2021/10/15 05:03:09 ui: ask: [c]ontinue or [a]bort 2021/10/15 05:03:09 ui: ask: [c]ontinue or [a]bort 2021/10/15 05:03:09 ui: ask: Name 2021/10/15 05:03:09 ui: ask: Name 2021/10/15 05:03:09 ui: ask: Name --- PASS: TestBasicUi_Ask (0.00s) === RUN TestMachineReadableUi_ImplUi --- PASS: TestMachineReadableUi_ImplUi (0.00s) === RUN TestMachineReadableUi 2021/10/15 05:03:09 1634274189,,foo,bar,baz 2021/10/15 05:03:09 1634274189,mitchellh,foo,bar,baz 2021/10/15 05:03:09 1634274189,,foo,foo%!(PACKER_COMMA)bar 2021/10/15 05:03:09 1634274189,,foo,foo\n --- PASS: TestMachineReadableUi (0.00s) PASS ok github.com/hashicorp/packer/packer 2.997s === RUN TestBuilder_NoExist 2021/10/15 05:03:06 Starting plugin: i-should-not-exist []string{"i-should-not-exist"} --- PASS: TestBuilder_NoExist (0.00s) === RUN TestBuilder_Good 2021/10/15 05:03:06 Starting plugin: /tmp/go-build277671225/b1049/plugin.test []string{"/tmp/go-build277671225/b1049/plugin.test", "-test.run=TestHelperProcess", "--", "builder"} 2021/10/15 05:03:06 Waiting for RPC address for: /tmp/go-build277671225/b1049/plugin.test 2021/10/15 05:03:06 Received unix RPC address for /tmp/go-build277671225/b1049/plugin.test: addr is /tmp/packer-plugin626775206 2021/10/15 05:03:06 plugin.test plugin: 2021/10/15 05:03:06 Plugin address: unix /tmp/packer-plugin626775206 2021/10/15 05:03:06 plugin.test plugin: 2021/10/15 05:03:06 Waiting for connection... 2021/10/15 05:03:06 plugin.test plugin: 2021/10/15 05:03:06 Serving a plugin connection... 2021/10/15 05:03:06 /tmp/go-build277671225/b1049/plugin.test: plugin process exited --- PASS: TestBuilder_Good (0.38s) === RUN TestClient 2021/10/15 05:03:06 Starting plugin: /tmp/go-build277671225/b1049/plugin.test []string{"/tmp/go-build277671225/b1049/plugin.test", "-test.run=TestHelperProcess", "--", "mock"} 2021/10/15 05:03:06 Waiting for RPC address for: /tmp/go-build277671225/b1049/plugin.test 2021/10/15 05:03:06 Received tcp RPC address for /tmp/go-build277671225/b1049/plugin.test: addr is :1234 2021/10/15 05:03:06 /tmp/go-build277671225/b1049/plugin.test: plugin process exited --- PASS: TestClient (0.13s) === RUN TestClientStart_badVersion 2021/10/15 05:03:06 Starting plugin: /tmp/go-build277671225/b1049/plugin.test []string{"/tmp/go-build277671225/b1049/plugin.test", "-test.run=TestHelperProcess", "--", "bad-version"} 2021/10/15 05:03:06 Waiting for RPC address for: /tmp/go-build277671225/b1049/plugin.test 2021/10/15 05:03:06 /tmp/go-build277671225/b1049/plugin.test: plugin process exited --- PASS: TestClientStart_badVersion (0.16s) === RUN TestClient_Start_Timeout 2021/10/15 05:03:06 Starting plugin: /tmp/go-build277671225/b1049/plugin.test []string{"/tmp/go-build277671225/b1049/plugin.test", "-test.run=TestHelperProcess", "--", "start-timeout"} 2021/10/15 05:03:06 Waiting for RPC address for: /tmp/go-build277671225/b1049/plugin.test 2021/10/15 05:03:07 /tmp/go-build277671225/b1049/plugin.test: plugin process exited --- PASS: TestClient_Start_Timeout (0.14s) === RUN TestClient_Stderr 2021/10/15 05:03:07 Starting plugin: /tmp/go-build277671225/b1049/plugin.test []string{"/tmp/go-build277671225/b1049/plugin.test", "-test.run=TestHelperProcess", "--", "stderr"} 2021/10/15 05:03:07 Waiting for RPC address for: /tmp/go-build277671225/b1049/plugin.test 2021/10/15 05:03:07 Received tcp RPC address for /tmp/go-build277671225/b1049/plugin.test: addr is :1234 2021/10/15 05:03:07 plugin.test plugin: 2021/10/15 05:03:07 HELLO 2021/10/15 05:03:07 plugin.test plugin: 2021/10/15 05:03:07 WORLD 2021/10/15 05:03:07 /tmp/go-build277671225/b1049/plugin.test: plugin process exited --- PASS: TestClient_Stderr (0.28s) === RUN TestClient_Stdin 2021/10/15 05:03:07 Starting plugin: /tmp/go-build277671225/b1049/plugin.test []string{"/tmp/go-build277671225/b1049/plugin.test", "-test.run=TestHelperProcess", "--", "stdin"} 2021/10/15 05:03:07 Waiting for RPC address for: /tmp/go-build277671225/b1049/plugin.test 2021/10/15 05:03:07 Received tcp RPC address for /tmp/go-build277671225/b1049/plugin.test: addr is :1234 2021/10/15 05:03:07 /tmp/go-build277671225/b1049/plugin.test: plugin process exited --- PASS: TestClient_Stdin (0.29s) === RUN TestDiscoverReturnsIfMagicCookieSet --- PASS: TestDiscoverReturnsIfMagicCookieSet (0.00s) === RUN TestEnvVarPackerPluginPath 2021/10/15 05:03:07 [DEBUG] Discovered plugin: partyparrot = /tmp/custom_plugin_dir861502226/packer-provisioner-partyparrot 2021/10/15 05:03:07 using external provisioners [partyparrot] --- PASS: TestEnvVarPackerPluginPath (0.00s) === RUN TestEnvVarPackerPluginPath_MultiplePaths 2021/10/15 05:03:07 [DEBUG] Discovered plugin: partyparrot = /tmp/custom_plugin_dir419284809/packer-provisioner-partyparrot 2021/10/15 05:03:07 using external provisioners [partyparrot] --- PASS: TestEnvVarPackerPluginPath_MultiplePaths (0.00s) === RUN TestHelperPlugins --- PASS: TestHelperPlugins (0.00s) === RUN Test_multiplugin_describe discover_test.go:253: putting temporary mock plugins in /tmp/pkr-multiplugin-test-663711331 2021/10/15 05:03:07 [DEBUG] Discovered plugin: bird = /tmp/pkr-multiplugin-test-663711331/packer-plugin-bird 2021/10/15 05:03:07 [DEBUG] Discovered plugin: chimney = /tmp/pkr-multiplugin-test-663711331/packer-plugin-chimney 2021/10/15 05:03:08 found external [smoke] post-processors from chimney plugin 2021/10/15 05:03:08 found external [feather guacamole] builders from bird plugin --- PASS: Test_multiplugin_describe (0.69s) === RUN TestHook_NoExist 2021/10/15 05:03:08 Starting plugin: i-should-not-exist []string{"i-should-not-exist"} --- PASS: TestHook_NoExist (0.00s) === RUN TestHook_Good 2021/10/15 05:03:08 Starting plugin: /tmp/go-build277671225/b1049/plugin.test []string{"/tmp/go-build277671225/b1049/plugin.test", "-test.run=TestHelperProcess", "--", "hook"} 2021/10/15 05:03:08 Waiting for RPC address for: /tmp/go-build277671225/b1049/plugin.test 2021/10/15 05:03:08 Received unix RPC address for /tmp/go-build277671225/b1049/plugin.test: addr is /tmp/packer-plugin879808039 2021/10/15 05:03:08 plugin.test plugin: 2021/10/15 05:03:08 Plugin address: unix /tmp/packer-plugin879808039 2021/10/15 05:03:08 plugin.test plugin: 2021/10/15 05:03:08 Waiting for connection... 2021/10/15 05:03:08 plugin.test plugin: 2021/10/15 05:03:08 Serving a plugin connection... 2021/10/15 05:03:08 /tmp/go-build277671225/b1049/plugin.test: plugin process exited --- PASS: TestHook_Good (0.20s) === RUN TestHelperProcess --- PASS: TestHelperProcess (0.00s) === RUN TestPostProcessor_NoExist 2021/10/15 05:03:08 Starting plugin: i-should-not-exist []string{"i-should-not-exist"} --- PASS: TestPostProcessor_NoExist (0.00s) === RUN TestPostProcessor_Good 2021/10/15 05:03:08 Starting plugin: /tmp/go-build277671225/b1049/plugin.test []string{"/tmp/go-build277671225/b1049/plugin.test", "-test.run=TestHelperProcess", "--", "post-processor"} 2021/10/15 05:03:08 Waiting for RPC address for: /tmp/go-build277671225/b1049/plugin.test 2021/10/15 05:03:08 plugin.test plugin: 2021/10/15 05:03:08 Plugin address: unix /tmp/packer-plugin548230361 2021/10/15 05:03:08 Received unix RPC address for /tmp/go-build277671225/b1049/plugin.test: addr is /tmp/packer-plugin548230361 2021/10/15 05:03:08 plugin.test plugin: 2021/10/15 05:03:08 Waiting for connection... 2021/10/15 05:03:08 plugin.test plugin: 2021/10/15 05:03:08 Serving a plugin connection... 2021/10/15 05:03:08 /tmp/go-build277671225/b1049/plugin.test: plugin process exited --- PASS: TestPostProcessor_Good (0.13s) === RUN TestProvisioner_NoExist 2021/10/15 05:03:08 Starting plugin: i-should-not-exist []string{"i-should-not-exist"} --- PASS: TestProvisioner_NoExist (0.00s) === RUN TestProvisioner_Good 2021/10/15 05:03:08 Starting plugin: /tmp/go-build277671225/b1049/plugin.test []string{"/tmp/go-build277671225/b1049/plugin.test", "-test.run=TestHelperProcess", "--", "provisioner"} 2021/10/15 05:03:08 Waiting for RPC address for: /tmp/go-build277671225/b1049/plugin.test 2021/10/15 05:03:08 plugin.test plugin: 2021/10/15 05:03:08 Plugin address: unix /tmp/packer-plugin219279155 2021/10/15 05:03:08 Received unix RPC address for /tmp/go-build277671225/b1049/plugin.test: addr is /tmp/packer-plugin219279155 2021/10/15 05:03:08 plugin.test plugin: 2021/10/15 05:03:08 Waiting for connection... 2021/10/15 05:03:08 plugin.test plugin: 2021/10/15 05:03:08 Serving a plugin connection... 2021/10/15 05:03:08 /tmp/go-build277671225/b1049/plugin.test: plugin process exited --- PASS: TestProvisioner_Good (0.28s) PASS ok github.com/hashicorp/packer/packer/plugin 2.710s === RUN TestTest_noEnv --- PASS: TestTest_noEnv (0.00s) === RUN TestTest_preCheck 2021/10/15 05:03:26 [DEBUG] Parsing template... --- PASS: TestTest_preCheck (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/acctest 0.214s ? github.com/hashicorp/packer/packer-plugin-sdk/acctest/provisioneracc [no test files] ? github.com/hashicorp/packer/packer-plugin-sdk/acctest/testutils [no test files] === RUN TestAdapter_Serve 2021/10/15 05:03:19 SSH proxy: serving on test 2021/10/15 05:03:19 Accept() called 2021/10/15 05:03:19 ui error: listen.Accept failed: accept error 2021/10/15 05:03:19 Accept() called 2021/10/15 05:03:19 Accept() called 2021/10/15 05:03:19 SSH proxy: accepted connection 2021/10/15 05:03:19 ui error: failed to handshake 2021/10/15 05:03:19 ui error: listen.Accept failed: accept error 2021/10/15 05:03:19 Accept() called 2021/10/15 05:03:19 done, serving an error --- PASS: TestAdapter_Serve (0.09s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/adapter 0.274s === RUN Test_parse 2021/10/15 05:03:24 Wait<1s> 2021/10/15 05:03:24 Wait<20s> 2021/10/15 05:03:24 Wait<3s> 2021/10/15 05:03:24 Wait<4m0.000000002s> 2021/10/15 05:03:24 LIT-Press(f) 2021/10/15 05:03:24 LIT-Press(o) 2021/10/15 05:03:24 LIT-Press(o) 2021/10/15 05:03:24 LIT-Press(/) 2021/10/15 05:03:24 LIT-Press(b) 2021/10/15 05:03:24 LIT-Press(a) 2021/10/15 05:03:24 LIT-Press(r) 2021/10/15 05:03:24 LIT-Press( ) 2021/10/15 05:03:24 LIT-Press(>) 2021/10/15 05:03:24 LIT-Press( ) 2021/10/15 05:03:24 LIT-Press(o) 2021/10/15 05:03:24 LIT-Press(n) 2021/10/15 05:03:24 LIT-Press(e) 2021/10/15 05:03:24 LIT-Press( ) 2021/10/15 05:03:24 LIT-Press(界) 2021/10/15 05:03:24 LIT-On(f) 2021/10/15 05:03:24 LIT-Press( ) 2021/10/15 05:03:24 LIT-Press(b) 2021/10/15 05:03:24 LIT-Off(f) 2021/10/15 05:03:24 LIT-Press(<) 2021/10/15 05:03:24 LIT-Press(f) 2021/10/15 05:03:24 LIT-Press(o) 2021/10/15 05:03:24 LIT-Press(o) 2021/10/15 05:03:24 LIT-Press(>) 2021/10/15 05:03:24 Spec-Press(f3) 2021/10/15 05:03:24 Spec-Press(f12) 2021/10/15 05:03:24 Spec-Press(spacebar) 2021/10/15 05:03:24 Spec-Press(leftalt) 2021/10/15 05:03:24 Spec-Press(rightshift) 2021/10/15 05:03:24 Spec-Press(rightsuper) --- PASS: Test_parse (0.00s) === RUN Test_special --- PASS: Test_special (0.07s) === RUN Test_validation --- PASS: Test_validation (0.00s) === RUN Test_empty --- PASS: Test_empty (0.00s) === RUN TestConfigPrepare --- PASS: TestConfigPrepare (0.00s) === RUN TestVNCConfigPrepare --- PASS: TestVNCConfigPrepare (0.00s) === RUN Test_chunkScanCodes --- PASS: Test_chunkScanCodes (0.00s) === RUN Test_chunkScanCodeError --- PASS: Test_chunkScanCodeError (0.00s) === RUN Test_pcxtSpecialOnOff 2021/10/15 05:03:24 Special code 'Press' '' found, replacing with: &{[36] [b6]} 2021/10/15 05:03:24 Special code 'Off' '' found, replacing with: &{[36] [b6]} 2021/10/15 05:03:24 Special code 'On' '' found, replacing with: &{[36] [b6]} --- PASS: Test_pcxtSpecialOnOff (0.10s) === RUN Test_pcxtSpecial 2021/10/15 05:03:24 Special code 'Press' '' found, replacing with: &{[e0 4b] [e0 cb]} --- PASS: Test_pcxtSpecial (0.10s) === RUN Test_flushes 2021/10/15 05:03:24 Sending char 'a', code '1e9e', shift false 2021/10/15 05:03:24 Sending char 'b', code '30b0', shift false 2021/10/15 05:03:24 Sending char 'c', code '2eae', shift false 2021/10/15 05:03:24 Sending char '1', code '0282', shift false 2021/10/15 05:03:24 Sending char '2', code '0383', shift false 2021/10/15 05:03:24 Sending char '3', code '0484', shift false 2021/10/15 05:03:24 [INFO] Waiting 1s 2021/10/15 05:03:25 Sending char '0', code '0b8b', shift false 2021/10/15 05:03:25 Sending char '9', code '0a8a', shift false 2021/10/15 05:03:25 Sending char '8', code '0989', shift false --- PASS: Test_flushes (1.21s) === RUN Test_KeyIntervalNotGiven --- PASS: Test_KeyIntervalNotGiven (0.00s) === RUN Test_KeyIntervalGiven --- PASS: Test_KeyIntervalGiven (0.00s) === RUN TestUSBDriver === RUN TestUSBDriver/ 2021/10/15 05:03:25 Special code '' found, replacing with: CodeLeftShift === RUN TestUSBDriver/ 2021/10/15 05:03:25 Special code '' found, replacing with: CodeLeftShift === RUN TestUSBDriver/ 2021/10/15 05:03:25 Special code '' found, replacing with: CodeLeftShift === RUN TestUSBDriver/ 2021/10/15 05:03:25 Special code '' found, replacing with: CodeLeftGUI === RUN TestUSBDriver/ 2021/10/15 05:03:26 Special code '' found, replacing with: CodeSpacebar === RUN TestUSBDriver/ 2021/10/15 05:03:26 Special code '' found, replacing with: CodeReturnEnter === RUN TestUSBDriver/a 2021/10/15 05:03:26 Sending char 'a', code CodeA, shift false === RUN TestUSBDriver/A 2021/10/15 05:03:26 Sending char 'A', code CodeA, shift true === RUN TestUSBDriver/_ 2021/10/15 05:03:26 Sending char '_', code CodeHyphenMinus, shift true --- PASS: TestUSBDriver (0.92s) --- PASS: TestUSBDriver/ (0.10s) --- PASS: TestUSBDriver/ (0.10s) --- PASS: TestUSBDriver/ (0.10s) --- PASS: TestUSBDriver/ (0.10s) --- PASS: TestUSBDriver/ (0.10s) --- PASS: TestUSBDriver/ (0.10s) --- PASS: TestUSBDriver/a (0.10s) --- PASS: TestUSBDriver/A (0.10s) --- PASS: TestUSBDriver/_ (0.10s) === RUN TestUSBDriver_KeyIntervalNotGiven --- PASS: TestUSBDriver_KeyIntervalNotGiven (0.00s) === RUN TestUSBDriver_KeyIntervalGiven --- PASS: TestUSBDriver_KeyIntervalGiven (0.00s) === RUN Test_vncSpecialLookup 2021/10/15 05:03:26 Special code '' found, replacing with: 0xFFE2 2021/10/15 05:03:26 Special code '' found, replacing with: 0xFFE2 2021/10/15 05:03:26 Special code '' found, replacing with: 0xFFE2 --- PASS: Test_vncSpecialLookup (0.40s) === RUN Test_vncIntervalNotGiven --- PASS: Test_vncIntervalNotGiven (0.00s) === RUN Test_vncIntervalGiven --- PASS: Test_vncIntervalGiven (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/bootcommand 2.994s === RUN TestCommunicator_ImplementsCommunicator --- PASS: TestCommunicator_ImplementsCommunicator (0.00s) === RUN TestCopyFilesCleanupFunc_ImplementsCleanupFunc --- PASS: TestCopyFilesCleanupFunc_ImplementsCleanupFunc (0.00s) === RUN TestCopyFiles_Run 2021/10/15 05:03:37 ui: Copying files from host to chroot... 2021/10/15 05:03:37 ui: /etc/resolv.conf 2021/10/15 05:03:37 Copying '/etc/resolv.conf' to '/mnt/abcde/etc/resolv.conf' --- PASS: TestCopyFiles_Run (0.01s) === RUN TestCopyFiles_CopyNothing --- PASS: TestCopyFiles_CopyNothing (0.00s) === RUN TestMountExtraCleanupFunc_ImplementsCleanupFunc --- PASS: TestMountExtraCleanupFunc_ImplementsCleanupFunc (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/chroot 0.121s ? github.com/hashicorp/packer/packer-plugin-sdk/common [no test files] === RUN TestConfigType --- PASS: TestConfigType (0.00s) === RUN TestConfig_none --- PASS: TestConfig_none (0.00s) === RUN TestConfig_badtype --- PASS: TestConfig_badtype (0.00s) === RUN TestConfig_winrm_noport --- PASS: TestConfig_winrm_noport (0.00s) === RUN TestConfig_winrm_noport_ssl --- PASS: TestConfig_winrm_noport_ssl (0.00s) === RUN TestConfig_winrm_port --- PASS: TestConfig_winrm_port (0.00s) === RUN TestConfig_winrm_port_ssl --- PASS: TestConfig_winrm_port_ssl (0.00s) === RUN TestConfig_winrm_use_ntlm --- PASS: TestConfig_winrm_use_ntlm (0.00s) === RUN TestSSHBastion --- PASS: TestSSHBastion (0.00s) === RUN TestSSHConfigFunc_ciphers --- PASS: TestSSHConfigFunc_ciphers (0.00s) === RUN TestSSHConfigFunc_kexAlgos --- PASS: TestSSHConfigFunc_kexAlgos (0.00s) === RUN TestConfig_winrm --- PASS: TestConfig_winrm (0.00s) === RUN TestStepConnect_impl --- PASS: TestStepConnect_impl (0.00s) === RUN TestStepConnect_none 2021/10/15 05:03:38 [INFO] communicator disabled, will not connect --- PASS: TestStepConnect_none (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/communicator 0.222s === RUN TestNewKeyPair_Default --- PASS: TestNewKeyPair_Default (0.31s) === RUN TestNewKeyPair_ECDSA_Default --- PASS: TestNewKeyPair_ECDSA_Default (0.48s) === RUN TestNewKeyPair_ECDSA_Positive --- PASS: TestNewKeyPair_ECDSA_Positive (0.71s) === RUN TestNewKeyPair_ECDSA_Negative --- PASS: TestNewKeyPair_ECDSA_Negative (0.00s) === RUN TestNewKeyPair_RSA_Positive --- PASS: TestNewKeyPair_RSA_Positive (18.71s) === RUN TestKeyPairFromPrivateKey --- PASS: TestKeyPairFromPrivateKey (0.33s) === RUN TestTCPToLocalTCP --- PASS: TestTCPToLocalTCP (0.00s) === RUN TestTCPToRemoteTCP --- PASS: TestTCPToRemoteTCP (0.00s) === RUN TestBindAddress_NYI --- PASS: TestBindAddress_NYI (0.00s) === RUN TestInvalidTunnels --- PASS: TestInvalidTunnels (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/communicator/ssh 20.788s === RUN TestGeneratePair_parseable === RUN TestGeneratePair_parseable/dsa === RUN TestGeneratePair_parseable/rsa === RUN TestGeneratePair_parseable/ecdsa === RUN TestGeneratePair_parseable/ed25519 --- PASS: TestGeneratePair_parseable (97.80s) --- PASS: TestGeneratePair_parseable/dsa (1.11s) --- PASS: TestGeneratePair_parseable/rsa (96.13s) --- PASS: TestGeneratePair_parseable/ecdsa (0.56s) --- PASS: TestGeneratePair_parseable/ed25519 (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/communicator/sshkey 98.076s ? github.com/hashicorp/packer/packer-plugin-sdk/filelock [no test files] === RUN TestProvisioner_GenerateElevatedRunner 2021/10/15 05:03:45 Building elevated command wrapper for: whoami 2021/10/15 05:03:45 Command [whoami > %SYSTEMROOT%/Temp/packer-61690bb1-2c03-a78c-dfc8-9b5dac2cb98a.out 2>&1] converted to [whoami > %SYSTEMROOT%/Temp/packer-61690bb1-2c03-a78c-dfc8-9b5dac2cb98a.out 2>&1] for use in XML string 2021/10/15 05:03:45 Uploading elevated shell wrapper for command [whoami > %SYSTEMROOT%/Temp/packer-61690bb1-2c03-a78c-dfc8-9b5dac2cb98a.out 2>&1] to [C:/Windows/Temp/packer-elevated-shell-61690bb1-e756-b950-c059-b2a42fb91b0e.ps1] --- PASS: TestProvisioner_GenerateElevatedRunner (0.00s) === RUN TestNewGuestCommands --- PASS: TestNewGuestCommands (0.00s) === RUN TestCreateDir --- PASS: TestCreateDir (0.00s) === RUN TestChmod --- PASS: TestChmod (0.00s) === RUN TestRemoveDir --- PASS: TestRemoveDir (0.00s) === RUN TestStatPath --- PASS: TestStatPath (0.00s) === RUN TestMovePath --- PASS: TestMovePath (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/guestexec 0.262s === RUN TestLineReader --- PASS: TestLineReader (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/iochan 0.283s testing: warning: no tests to run PASS ok github.com/hashicorp/packer/packer-plugin-sdk/json 0.180s [no tests to run] === RUN TestBasicRunner_ImplRunner --- PASS: TestBasicRunner_ImplRunner (0.00s) === RUN TestBasicRunner_Run --- PASS: TestBasicRunner_Run (0.00s) === RUN TestBasicRunner_Run_Halt --- PASS: TestBasicRunner_Run_Halt (0.00s) === RUN TestBasicRunner_Run_Run --- PASS: TestBasicRunner_Run_Run (0.00s) === RUN TestBasicRunner_Cancel --- PASS: TestBasicRunner_Cancel (0.00s) === RUN TestBasicRunner_Cancel_Special --- PASS: TestBasicRunner_Cancel_Special (0.00s) === RUN TestDebugRunner_Impl --- PASS: TestDebugRunner_Impl (0.00s) === RUN TestDebugRunner_Run --- PASS: TestDebugRunner_Run (0.00s) === RUN TestDebugRunner_Run_Run --- PASS: TestDebugRunner_Run_Run (0.00s) === RUN TestDebugRunner_Cancel Pausing after run of step 'TestStepAcc'. Press any key to continue. Pausing after run of step 'TestStepAcc'. Press any key to continue. Pausing after run of step 'TestStepFn'. Press any key to continue. Pausing before cleanup of step 'TestStepFn'. Press any key to continue. Pausing before cleanup of step 'TestStepAcc'. Press any key to continue. Pausing before cleanup of step 'TestStepAcc'. Press any key to continue. --- PASS: TestDebugRunner_Cancel (0.00s) === RUN TestDebugPauseDefault Pausing after run of step 'TestStepAcc'. Press any key to continue. Pausing before cleanup of step 'TestStepAcc'. Press any key to continue. --- PASS: TestDebugPauseDefault (0.10s) === RUN TestBasicStateBag_ImplRunner --- PASS: TestBasicStateBag_ImplRunner (0.00s) === RUN TestBasicStateBag --- PASS: TestBasicStateBag (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/multistep 0.197s === RUN TestCDPrepare --- PASS: TestCDPrepare (0.00s) === RUN TestMultiErrorCDFiles --- PASS: TestMultiErrorCDFiles (0.00s) === RUN TestNilFloppies --- PASS: TestNilFloppies (0.00s) === RUN TestEmptyArrayFloppies --- PASS: TestEmptyArrayFloppies (0.00s) === RUN TestExistingFloppyFile --- PASS: TestExistingFloppyFile (0.00s) === RUN TestNonExistingFloppyFile --- PASS: TestNonExistingFloppyFile (0.00s) === RUN TestMultiErrorFloppyFiles --- PASS: TestMultiErrorFloppyFiles (0.00s) === RUN TestHTTPConfigPrepare_Bounds --- PASS: TestHTTPConfigPrepare_Bounds (0.00s) === RUN TestISOConfigPrepare_ISOChecksum --- PASS: TestISOConfigPrepare_ISOChecksum (0.00s) === RUN TestISOConfigPrepare_ISOChecksumURLBad --- PASS: TestISOConfigPrepare_ISOChecksumURLBad (0.00s) === RUN TestISOConfigPrepare_ISOChecksumType --- PASS: TestISOConfigPrepare_ISOChecksumType (0.00s) === RUN TestISOConfigPrepare_ISOUrl --- PASS: TestISOConfigPrepare_ISOUrl (0.00s) === RUN TestISOConfigPrepare_TargetExtension --- PASS: TestISOConfigPrepare_TargetExtension (0.00s) === RUN TestISOConfigPrepare_ISOChecksumURLMyTest --- PASS: TestISOConfigPrepare_ISOChecksumURLMyTest (0.21s) === RUN TestISOConfigPrepare_ISOChecksumLocalFile --- PASS: TestISOConfigPrepare_ISOChecksumLocalFile (0.00s) === RUN TestStepCreateCD_Impl --- PASS: TestStepCreateCD_Impl (0.00s) === RUN TestStepCreateCD step_create_cdrom_test.go:34: This test is only run with PACKER_ACC=1 due to the requirement of access to the disk management binaries. --- SKIP: TestStepCreateCD (0.00s) === RUN TestStepCreateCD_missing step_create_cdrom_test.go:88: This test is only run with PACKER_ACC=1 due to the requirement of access to the disk management binaries. --- SKIP: TestStepCreateCD_missing (0.00s) === RUN TestStepCreateFloppy_Impl --- PASS: TestStepCreateFloppy_Impl (0.00s) === RUN TestStepCreateFloppy 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer242764100 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists0.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists1.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists2.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists3.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists4.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists5.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists6.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists7.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists8.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists9.tmp 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer242764100 2021/10/15 05:04:17 Floppy label is set to packer 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer058880467 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists0.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists1.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists2.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists3.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists4.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists5.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists6.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists7.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists8.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists9.tmp 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer058880467 2021/10/15 05:04:17 Floppy label is set to packer 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer538543894 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists0.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists1.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists2.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists3.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists4.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists5.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists6.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists7.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists8.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists9.tmp 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer538543894 2021/10/15 05:04:17 Floppy label is set to packer 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer819347837 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists0.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists1.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists2.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists3.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists4.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists5.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists6.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists7.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists8.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists9.tmp 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer819347837 2021/10/15 05:04:17 Floppy label is set to packer 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer431148728 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists0.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists1.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists2.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists3.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists4.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists5.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists6.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists7.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists8.tmp 2021/10/15 05:04:17 ui: Copying file: /tmp/packer144917305/exists9.tmp 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer431148728 2021/10/15 05:04:17 Floppy label is set to packer 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer714488503 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Copying directory: /tmp/packer144917305/ 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists0.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists1.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists2.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists3.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists4.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists5.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists6.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists7.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists8.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists9.tmp 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer714488503 2021/10/15 05:04:17 Floppy label is set to packer 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer789663914 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Copying directory: /tmp/packer144917305 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists0.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists1.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists2.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists3.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists4.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists5.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists6.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists7.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists8.tmp 2021/10/15 05:04:17 ui: Adding file: /tmp/packer144917305/exists9.tmp 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer789663914 --- PASS: TestStepCreateFloppy (0.27s) === RUN TestStepCreateFloppy_missing 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer813516652 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files --- PASS: TestStepCreateFloppy_missing (0.00s) === RUN TestStepCreateFloppy_notfound 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer141732734 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer141732734 2021/10/15 05:04:17 Floppy label is set to packer 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer477398725 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer477398725 2021/10/15 05:04:17 Floppy label is set to packer 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer370965344 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer370965344 2021/10/15 05:04:17 Floppy label is set to packer 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer618948415 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer618948415 2021/10/15 05:04:17 Floppy label is set to packer 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer218288018 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Copying directory: /tmp/packer904025563/ 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer218288018 2021/10/15 05:04:17 Floppy label is set to packer 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer233758665 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Copying directory: /tmp/packer904025563 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [] 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer233758665 --- PASS: TestStepCreateFloppy_notfound (0.02s) === RUN TestStepCreateFloppyDirectories 2021/10/15 05:04:17 Trying against floppy_dirs : [test-fixtures/floppy-hier/test-0/file1 test-fixtures/floppy-hier/test-0/file2 test-fixtures/floppy-hier/test-0/file3] 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer723050132 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [test-fixtures/floppy-hier/test-0/file1 test-fixtures/floppy-hier/test-0/file2 test-fixtures/floppy-hier/test-0/file3] 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-0/file1 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-0/file2 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-0/file3 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer723050132 2021/10/15 05:04:17 Trying against floppy_dirs : [test-fixtures/floppy-hier/test-0/file?] 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer133687011 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [test-fixtures/floppy-hier/test-0/file1 test-fixtures/floppy-hier/test-0/file2 test-fixtures/floppy-hier/test-0/file3] 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-0/file1 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-0/file2 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-0/file3 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer133687011 2021/10/15 05:04:17 Trying against floppy_dirs : [test-fixtures/floppy-hier/test-0/*] 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer504317158 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [test-fixtures/floppy-hier/test-0/file1 test-fixtures/floppy-hier/test-0/file2 test-fixtures/floppy-hier/test-0/file3] 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-0/file1 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-0/file2 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-0/file3 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer504317158 2021/10/15 05:04:17 Trying against floppy_dirs : [test-fixtures/floppy-hier/test-1/dir1] 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer676822797 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [test-fixtures/floppy-hier/test-1/dir1] 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-1/dir1 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer676822797 2021/10/15 05:04:17 Trying against floppy_dirs : [test-fixtures/floppy-hier/test-1/dir1/file1 test-fixtures/floppy-hier/test-1/dir1/file2 test-fixtures/floppy-hier/test-1/dir1/file3] 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer587005192 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [test-fixtures/floppy-hier/test-1/dir1/file1 test-fixtures/floppy-hier/test-1/dir1/file2 test-fixtures/floppy-hier/test-1/dir1/file3] 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-1/dir1/file1 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-1/dir1/file2 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-1/dir1/file3 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer587005192 2021/10/15 05:04:17 Trying against floppy_dirs : [test-fixtures/floppy-hier/test-1/*] 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer454649031 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [test-fixtures/floppy-hier/test-1/dir1] 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-1/dir1 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer454649031 2021/10/15 05:04:17 Trying against floppy_dirs : [test-fixtures/floppy-hier/test-1/*/*] 2021/10/15 05:04:17 ui: Creating floppy disk... 2021/10/15 05:04:17 Floppy path: /tmp/packer663208826 2021/10/15 05:04:17 Initializing block device backed by temporary file 2021/10/15 05:04:17 Formatting the block device with a FAT filesystem... 2021/10/15 05:04:17 Initializing FAT filesystem on block device 2021/10/15 05:04:17 Reading the root directory from the filesystem 2021/10/15 05:04:17 ui: Copying files flatly from floppy_files 2021/10/15 05:04:17 ui: Done copying files from floppy_files 2021/10/15 05:04:17 ui: Collecting paths from floppy_dirs 2021/10/15 05:04:17 ui: Resulting paths from floppy_dirs : [test-fixtures/floppy-hier/test-1/dir1/file1 test-fixtures/floppy-hier/test-1/dir1/file2 test-fixtures/floppy-hier/test-1/dir1/file3] 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-1/dir1/file1 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-1/dir1/file2 2021/10/15 05:04:17 ui: Recursively copying : test-fixtures/floppy-hier/test-1/dir1/file3 2021/10/15 05:04:17 ui: Done copying paths from floppy_dirs 2021/10/15 05:04:17 Deleting floppy disk: /tmp/packer663208826 --- PASS: TestStepCreateFloppyDirectories (0.18s) === RUN TestStepDownload_Run === RUN TestStepDownload_Run/Empty_URL_field_passes 2021/10/15 05:04:17 No URLs were provided to Step Download. Continuing... === RUN TestStepDownload_Run/not_passing_a_checksum_passes 2021/10/15 05:04:17 ui: Retrieving not passing a checksum passes 2021/10/15 05:04:17 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:17 Acquiring lock for: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt (/tmp/pkr614158524/3a796ae774b19f983e08338cceb36b06d742ab5d.lock) 2021/10/15 05:04:17 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:17 ui: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:17 Leaving retrieve loop for not passing a checksum passes === RUN TestStepDownload_Run/double_slashes_on_a_local_filesystem_passes 2021/10/15 05:04:17 ui: Retrieving double slashes on a local filesystem passes 2021/10/15 05:04:17 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:17 Acquiring lock for: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt (/tmp/pkr244739307/3a796ae774b19f983e08338cceb36b06d742ab5d.lock) 2021/10/15 05:04:17 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:17 ui: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:17 Leaving retrieve loop for double slashes on a local filesystem passes === RUN TestStepDownload_Run/none_checksum_works 2021/10/15 05:04:17 ui: Retrieving none checksum works 2021/10/15 05:04:17 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:17 Acquiring lock for: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt (/tmp/pkr190330702/3a796ae774b19f983e08338cceb36b06d742ab5d.lock) 2021/10/15 05:04:17 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:17 ui: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:17 Leaving retrieve loop for none checksum works === RUN TestStepDownload_Run/bad_checksum_removes_file_-_checksum_from_string_-_no_Checksum_Type 2021/10/15 05:04:17 ui: Retrieving bad checksum removes file - checksum from string - no Checksum Type 2021/10/15 05:04:17 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:17 Acquiring lock for: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=f572d396fae9206628714fb2ce00f72e94f2258f (/tmp/pkr301063765/d4bb773a0da54b50d60e6089e12ed7e53c7e423c.txt.lock) 2021/10/15 05:04:17 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=f572d396fae9206628714fb2ce00f72e94f2258f 2021/10/15 05:04:17 ui: Checksum did not match, removing /tmp/pkr301063765/d4bb773a0da54b50d60e6089e12ed7e53c7e423c.txt 2021/10/15 05:04:17 ui error: Failed to remove cache file. Please remove manually: /tmp/pkr301063765/d4bb773a0da54b50d60e6089e12ed7e53c7e423c.txt 2021/10/15 05:04:17 ui error: error downloading bad checksum removes file - checksum from string - no Checksum Type: [Checksums did not match for /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt. Expected: f572d396fae9206628714fb2ce00f72e94f2258f Got: 7c6e5dd1bacb3b48fdffba2ed096097eb172497d *sha1.digest] 2021/10/15 05:04:17 Leaving retrieve loop for bad checksum removes file - checksum from string - no Checksum Type === RUN TestStepDownload_Run/bad_checksum_removes_file_-_checksum_from_string_-_Checksum_Type 2021/10/15 05:04:17 ui: Retrieving bad checksum removes file - checksum from string - Checksum Type 2021/10/15 05:04:17 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:17 Acquiring lock for: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=sha1%3Af572d396fae9206628714fb2ce00f72e94f2258f (/tmp/pkr983178160/a3be6ccc50dca3b0f001f7c7b6396d4af46973e8.txt.lock) 2021/10/15 05:04:17 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=sha1%3Af572d396fae9206628714fb2ce00f72e94f2258f 2021/10/15 05:04:17 ui: Checksum did not match, removing /tmp/pkr983178160/a3be6ccc50dca3b0f001f7c7b6396d4af46973e8.txt 2021/10/15 05:04:17 ui error: Failed to remove cache file. Please remove manually: /tmp/pkr983178160/a3be6ccc50dca3b0f001f7c7b6396d4af46973e8.txt 2021/10/15 05:04:17 ui error: error downloading bad checksum removes file - checksum from string - Checksum Type: [Checksums did not match for /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt. Expected: f572d396fae9206628714fb2ce00f72e94f2258f Got: 7c6e5dd1bacb3b48fdffba2ed096097eb172497d *sha1.digest] 2021/10/15 05:04:17 Leaving retrieve loop for bad checksum removes file - checksum from string - Checksum Type === RUN TestStepDownload_Run/bad_checksum_removes_file_-_checksum_from_url_-_Checksum_Type 2021/10/15 05:04:17 ui: Retrieving bad checksum removes file - checksum from url - Checksum Type 2021/10/15 05:04:17 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/basic.txt 2021/10/15 05:04:17 Acquiring lock for: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/basic.txt?checksum=file%3Ahttp%3A%2F%2F127.0.0.1%3A36155%2Froot%2Fanother.txt.sha1sum (/tmp/pkr366981455/8d2c33346ef9942d7e1be211e67b79b2486bb5bf.txt.lock) 2021/10/15 05:04:17 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/basic.txt?checksum=file%3Ahttp%3A%2F%2F127.0.0.1%3A36155%2Froot%2Fanother.txt.sha1sum 2021/10/15 05:04:17 ui: Download failed invalid checksum: no checksum found in: http://127.0.0.1:36155/root/another.txt.sha1sum 2021/10/15 05:04:17 ui error: error downloading bad checksum removes file - checksum from url - Checksum Type: [invalid checksum: no checksum found in: http://127.0.0.1:36155/root/another.txt.sha1sum] 2021/10/15 05:04:17 Leaving retrieve loop for bad checksum removes file - checksum from url - Checksum Type === RUN TestStepDownload_Run/successfull_http_dl_-_checksum_from_http_file_-_parameter 2021/10/15 05:04:17 ui: Retrieving successfull http dl - checksum from http file - parameter 2021/10/15 05:04:17 ui: Trying http://127.0.0.1:36155/root/another.txt 2021/10/15 05:04:17 Acquiring lock for: http://127.0.0.1:36155/root/another.txt?checksum=file%3Ahttp%3A%2F%2F127.0.0.1%3A36155%2Froot%2Fanother.txt.sha1sum (/tmp/pkr667153497/8d2c33346ef9942d7e1be211e67b79b2486bb5bf.txt.lock) 2021/10/15 05:04:17 ui: Trying http://127.0.0.1:36155/root/another.txt?checksum=file%3Ahttp%3A%2F%2F127.0.0.1%3A36155%2Froot%2Fanother.txt.sha1sum 2021/10/15 05:04:17 ui: http://127.0.0.1:36155/root/another.txt?checksum=file%3Ahttp%3A%2F%2F127.0.0.1%3A36155%2Froot%2Fanother.txt.sha1sum => /tmp/pkr667153497/8d2c33346ef9942d7e1be211e67b79b2486bb5bf.txt 2021/10/15 05:04:17 Leaving retrieve loop for successfull http dl - checksum from http file - parameter === RUN TestStepDownload_Run/successfull_http_dl_-_checksum_from_http_file_-_url 2021/10/15 05:04:17 ui: Retrieving successfull http dl - checksum from http file - url 2021/10/15 05:04:17 ui: Trying http://127.0.0.1:36155/root/another.txt?checksum=file:http://127.0.0.1:36155/root/another.txt.sha1sum 2021/10/15 05:04:17 Acquiring lock for: http://127.0.0.1:36155/root/another.txt?checksum=file%3Ahttp%3A%2F%2F127.0.0.1%3A36155%2Froot%2Fanother.txt.sha1sum (/tmp/pkr710519283/8d2c33346ef9942d7e1be211e67b79b2486bb5bf.txt.lock) 2021/10/15 05:04:18 ui: Trying http://127.0.0.1:36155/root/another.txt?checksum=file%3Ahttp%3A%2F%2F127.0.0.1%3A36155%2Froot%2Fanother.txt.sha1sum 2021/10/15 05:04:18 ui: http://127.0.0.1:36155/root/another.txt?checksum=file%3Ahttp%3A%2F%2F127.0.0.1%3A36155%2Froot%2Fanother.txt.sha1sum => /tmp/pkr710519283/8d2c33346ef9942d7e1be211e67b79b2486bb5bf.txt 2021/10/15 05:04:18 Leaving retrieve loop for successfull http dl - checksum from http file - url === RUN TestStepDownload_Run/successfull_http_dl_-_checksum_from_url 2021/10/15 05:04:18 ui: Retrieving successfull http dl - checksum from url 2021/10/15 05:04:18 ui: Trying http://127.0.0.1:36155/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d 2021/10/15 05:04:18 Acquiring lock for: http://127.0.0.1:36155/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d (/tmp/pkr709784733/415cb2d1cf65a0d4c2e74da27e7c0814c1090037.txt.lock) 2021/10/15 05:04:18 ui: Trying http://127.0.0.1:36155/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d 2021/10/15 05:04:18 ui: http://127.0.0.1:36155/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d => /tmp/pkr709784733/415cb2d1cf65a0d4c2e74da27e7c0814c1090037.txt 2021/10/15 05:04:18 Leaving retrieve loop for successfull http dl - checksum from url === RUN TestStepDownload_Run/successfull_http_dl_-_checksum_from_parameter_-_no_checksum_type 2021/10/15 05:04:18 ui: Retrieving successfull http dl - checksum from parameter - no checksum type 2021/10/15 05:04:18 ui: Trying http://127.0.0.1:36155/root/another.txt? 2021/10/15 05:04:18 Acquiring lock for: http://127.0.0.1:36155/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d (/tmp/pkr806785880/415cb2d1cf65a0d4c2e74da27e7c0814c1090037.txt.lock) 2021/10/15 05:04:18 ui: Trying http://127.0.0.1:36155/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d 2021/10/15 05:04:18 ui: http://127.0.0.1:36155/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d => /tmp/pkr806785880/415cb2d1cf65a0d4c2e74da27e7c0814c1090037.txt 2021/10/15 05:04:18 Leaving retrieve loop for successfull http dl - checksum from parameter - no checksum type === RUN TestStepDownload_Run/successfull_http_dl_-_checksum_from_parameter_-_checksum_type 2021/10/15 05:04:18 ui: Retrieving successfull http dl - checksum from parameter - checksum type 2021/10/15 05:04:18 ui: Trying http://127.0.0.1:36155/root/another.txt? 2021/10/15 05:04:18 Acquiring lock for: http://127.0.0.1:36155/root/another.txt?checksum=sha1%3A7c6e5dd1bacb3b48fdffba2ed096097eb172497d (/tmp/pkr474970839/5aba066aa5d9535e506d04449abee96b39f2b338.txt.lock) 2021/10/15 05:04:18 ui: Trying http://127.0.0.1:36155/root/another.txt?checksum=sha1%3A7c6e5dd1bacb3b48fdffba2ed096097eb172497d 2021/10/15 05:04:18 ui: http://127.0.0.1:36155/root/another.txt?checksum=sha1%3A7c6e5dd1bacb3b48fdffba2ed096097eb172497d => /tmp/pkr474970839/5aba066aa5d9535e506d04449abee96b39f2b338.txt 2021/10/15 05:04:18 Leaving retrieve loop for successfull http dl - checksum from parameter - checksum type === RUN TestStepDownload_Run/successfull_relative_symlink_-_checksum_from_url 2021/10/15 05:04:18 ui: Retrieving successfull relative symlink - checksum from url 2021/10/15 05:04:18 ui: Trying ./test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d 2021/10/15 05:04:18 Acquiring lock for: ./test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d (/tmp/pkr284212810/415cb2d1cf65a0d4c2e74da27e7c0814c1090037.txt.lock) 2021/10/15 05:04:18 ui: Trying ./test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d 2021/10/15 05:04:18 ui: ./test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:18 Leaving retrieve loop for successfull relative symlink - checksum from url === RUN TestStepDownload_Run/successfull_relative_symlink_-_checksum_from_parameter_-_no_checksum_type 2021/10/15 05:04:18 ui: Retrieving successfull relative symlink - checksum from parameter - no checksum type 2021/10/15 05:04:18 ui: Trying ./test-fixtures/root/another.txt? 2021/10/15 05:04:18 Acquiring lock for: ./test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d (/tmp/pkr787251489/415cb2d1cf65a0d4c2e74da27e7c0814c1090037.txt.lock) 2021/10/15 05:04:18 ui: Trying ./test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d 2021/10/15 05:04:18 ui: ./test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:18 Leaving retrieve loop for successfull relative symlink - checksum from parameter - no checksum type === RUN TestStepDownload_Run/successfull_relative_symlink_-_checksum_from_parameter_-__checksum_type 2021/10/15 05:04:18 ui: Retrieving successfull relative symlink - checksum from parameter - checksum type 2021/10/15 05:04:18 ui: Trying ./test-fixtures/root/another.txt? 2021/10/15 05:04:18 Acquiring lock for: ./test-fixtures/root/another.txt?checksum=sha1%3A7c6e5dd1bacb3b48fdffba2ed096097eb172497d (/tmp/pkr190189580/5aba066aa5d9535e506d04449abee96b39f2b338.txt.lock) 2021/10/15 05:04:18 ui: Trying ./test-fixtures/root/another.txt?checksum=sha1%3A7c6e5dd1bacb3b48fdffba2ed096097eb172497d 2021/10/15 05:04:18 ui: ./test-fixtures/root/another.txt?checksum=sha1%3A7c6e5dd1bacb3b48fdffba2ed096097eb172497d => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:18 Leaving retrieve loop for successfull relative symlink - checksum from parameter - checksum type === RUN TestStepDownload_Run/successfull_absolute_symlink_-_checksum_from_url 2021/10/15 05:04:18 ui: Retrieving successfull absolute symlink - checksum from url 2021/10/15 05:04:18 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d 2021/10/15 05:04:18 Acquiring lock for: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d (/tmp/pkr083634683/415cb2d1cf65a0d4c2e74da27e7c0814c1090037.txt.lock) 2021/10/15 05:04:18 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d 2021/10/15 05:04:18 ui: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:18 Leaving retrieve loop for successfull absolute symlink - checksum from url === RUN TestStepDownload_Run/successfull_absolute_symlink_-_checksum_from_parameter_-_no_checksum_type 2021/10/15 05:04:18 ui: Retrieving successfull absolute symlink - checksum from parameter - no checksum type 2021/10/15 05:04:18 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt? 2021/10/15 05:04:18 Acquiring lock for: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d (/tmp/pkr302694686/415cb2d1cf65a0d4c2e74da27e7c0814c1090037.txt.lock) 2021/10/15 05:04:18 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d 2021/10/15 05:04:18 ui: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=7c6e5dd1bacb3b48fdffba2ed096097eb172497d => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:18 Leaving retrieve loop for successfull absolute symlink - checksum from parameter - no checksum type === RUN TestStepDownload_Run/successfull_absolute_symlink_-_checksum_from_parameter_-_checksum_type 2021/10/15 05:04:18 ui: Retrieving successfull absolute symlink - checksum from parameter - checksum type 2021/10/15 05:04:18 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt? 2021/10/15 05:04:18 Acquiring lock for: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=sha1%3A7c6e5dd1bacb3b48fdffba2ed096097eb172497d (/tmp/pkr481159141/5aba066aa5d9535e506d04449abee96b39f2b338.txt.lock) 2021/10/15 05:04:18 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=sha1%3A7c6e5dd1bacb3b48fdffba2ed096097eb172497d 2021/10/15 05:04:18 ui: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=sha1%3A7c6e5dd1bacb3b48fdffba2ed096097eb172497d => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:18 Leaving retrieve loop for successfull absolute symlink - checksum from parameter - checksum type === RUN TestStepDownload_Run/wrong_first_2_urls_-_absolute_urls_-_checksum_from_parameter_-_no_checksum_type 2021/10/15 05:04:18 ui: Retrieving wrong first 2 urls - absolute urls - checksum from parameter - no checksum type 2021/10/15 05:04:18 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt 2021/10/15 05:04:18 Acquiring lock for: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=f572d396fae9206628714fb2ce00f72e94f2258f (/tmp/pkr075556864/d4bb773a0da54b50d60e6089e12ed7e53c7e423c.lock) 2021/10/15 05:04:18 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/another.txt?checksum=f572d396fae9206628714fb2ce00f72e94f2258f 2021/10/15 05:04:18 ui: Checksum did not match, removing /tmp/pkr075556864/d4bb773a0da54b50d60e6089e12ed7e53c7e423c 2021/10/15 05:04:18 ui error: Failed to remove cache file. Please remove manually: /tmp/pkr075556864/d4bb773a0da54b50d60e6089e12ed7e53c7e423c 2021/10/15 05:04:18 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/not_found 2021/10/15 05:04:18 Acquiring lock for: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/not_found?checksum=f572d396fae9206628714fb2ce00f72e94f2258f (/tmp/pkr075556864/d4bb773a0da54b50d60e6089e12ed7e53c7e423c.lock) 2021/10/15 05:04:18 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/not_found?checksum=f572d396fae9206628714fb2ce00f72e94f2258f 2021/10/15 05:04:18 ui: Download failed source path error: stat /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/not_found: no such file or directory 2021/10/15 05:04:18 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/basic.txt 2021/10/15 05:04:18 Acquiring lock for: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/basic.txt?checksum=f572d396fae9206628714fb2ce00f72e94f2258f (/tmp/pkr075556864/d4bb773a0da54b50d60e6089e12ed7e53c7e423c.lock) 2021/10/15 05:04:18 ui: Trying /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/basic.txt?checksum=f572d396fae9206628714fb2ce00f72e94f2258f 2021/10/15 05:04:18 ui: /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/basic.txt?checksum=f572d396fae9206628714fb2ce00f72e94f2258f => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/basic.txt 2021/10/15 05:04:18 Leaving retrieve loop for wrong first 2 urls - absolute urls - checksum from parameter - no checksum type --- PASS: TestStepDownload_Run (0.62s) --- PASS: TestStepDownload_Run/Empty_URL_field_passes (0.00s) --- PASS: TestStepDownload_Run/not_passing_a_checksum_passes (0.01s) --- PASS: TestStepDownload_Run/double_slashes_on_a_local_filesystem_passes (0.00s) --- PASS: TestStepDownload_Run/none_checksum_works (0.00s) --- PASS: TestStepDownload_Run/bad_checksum_removes_file_-_checksum_from_string_-_no_Checksum_Type (0.00s) --- PASS: TestStepDownload_Run/bad_checksum_removes_file_-_checksum_from_string_-_Checksum_Type (0.00s) --- PASS: TestStepDownload_Run/bad_checksum_removes_file_-_checksum_from_url_-_Checksum_Type (0.01s) --- PASS: TestStepDownload_Run/successfull_http_dl_-_checksum_from_http_file_-_parameter (0.01s) --- PASS: TestStepDownload_Run/successfull_http_dl_-_checksum_from_http_file_-_url (0.18s) --- PASS: TestStepDownload_Run/successfull_http_dl_-_checksum_from_url (0.00s) --- PASS: TestStepDownload_Run/successfull_http_dl_-_checksum_from_parameter_-_no_checksum_type (0.10s) --- PASS: TestStepDownload_Run/successfull_http_dl_-_checksum_from_parameter_-_checksum_type (0.02s) --- PASS: TestStepDownload_Run/successfull_relative_symlink_-_checksum_from_url (0.09s) --- PASS: TestStepDownload_Run/successfull_relative_symlink_-_checksum_from_parameter_-_no_checksum_type (0.01s) --- PASS: TestStepDownload_Run/successfull_relative_symlink_-_checksum_from_parameter_-__checksum_type (0.00s) --- PASS: TestStepDownload_Run/successfull_absolute_symlink_-_checksum_from_url (0.00s) --- PASS: TestStepDownload_Run/successfull_absolute_symlink_-_checksum_from_parameter_-_no_checksum_type (0.07s) --- PASS: TestStepDownload_Run/successfull_absolute_symlink_-_checksum_from_parameter_-_checksum_type (0.10s) --- PASS: TestStepDownload_Run/wrong_first_2_urls_-_absolute_urls_-_checksum_from_parameter_-_no_checksum_type (0.03s) === RUN TestStepDownload_download 2021/10/15 05:04:18 Acquiring lock for: ./test-fixtures/root/basic.txt?checksum=sha1%3Af572d396fae9206628714fb2ce00f72e94f2258f (./packer/a3be6ccc50dca3b0f001f7c7b6396d4af46973e8.ova.lock) 2021/10/15 05:04:18 ui: Trying ./test-fixtures/root/basic.txt?checksum=sha1%3Af572d396fae9206628714fb2ce00f72e94f2258f 2021/10/15 05:04:18 ui: ./test-fixtures/root/basic.txt?checksum=sha1%3Af572d396fae9206628714fb2ce00f72e94f2258f => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/basic.txt 2021/10/15 05:04:18 Acquiring lock for: ./test-fixtures/root/basic.txt?checksum=sha1%3Af572d396fae9206628714fb2ce00f72e94f2258f (./packer/a3be6ccc50dca3b0f001f7c7b6396d4af46973e8.iso.lock) 2021/10/15 05:04:18 ui: Trying ./test-fixtures/root/basic.txt?checksum=sha1%3Af572d396fae9206628714fb2ce00f72e94f2258f 2021/10/15 05:04:18 ui: ./test-fixtures/root/basic.txt?checksum=sha1%3Af572d396fae9206628714fb2ce00f72e94f2258f => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/basic.txt 2021/10/15 05:04:18 Acquiring lock for: ./test-fixtures/root/basic.txt?checksum=sha1%3Af572d396fae9206628714fb2ce00f72e94f2258f (./packer/file.iso.lock) 2021/10/15 05:04:18 ui: Trying ./test-fixtures/root/basic.txt?checksum=sha1%3Af572d396fae9206628714fb2ce00f72e94f2258f 2021/10/15 05:04:18 ui: ./test-fixtures/root/basic.txt?checksum=sha1%3Af572d396fae9206628714fb2ce00f72e94f2258f => /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps/test-fixtures/root/basic.txt --- PASS: TestStepDownload_download (0.00s) === RUN TestStepDownload_WindowsParseSourceURL step_download_test.go:286: skip windows specific tests --- SKIP: TestStepDownload_WindowsParseSourceURL (0.00s) === RUN TestStepDownload_ParseSourceSmbURL --- PASS: TestStepDownload_ParseSourceSmbURL (0.00s) === RUN TestStepOutputDir_impl --- PASS: TestStepOutputDir_impl (0.00s) === RUN TestStepOutputDir --- PASS: TestStepOutputDir (0.07s) === RUN TestStepOutputDir_exists --- PASS: TestStepOutputDir_exists (0.00s) === RUN TestStepOutputDir_cancelled 2021/10/15 05:04:18 ui: Deleting output directory... --- PASS: TestStepOutputDir_cancelled (0.00s) === RUN TestStepOutputDir_halted 2021/10/15 05:04:18 ui: Deleting output directory... --- PASS: TestStepOutputDir_halted (0.02s) === RUN TestStepProvision_Impl --- PASS: TestStepProvision_Impl (0.00s) === RUN TestPopulateProvisionHookData --- PASS: TestPopulateProvisionHookData (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/multistep/commonsteps 1.673s === RUN TestListenRangeConfig_Listen 2021/10/15 05:04:03 Found available port: 1681 on IP: localhost 2021/10/15 05:04:03 Found available port: 2459 on IP: localhost 2021/10/15 05:04:03 Retryable error: Port 1681 is file locked 2021/10/15 05:04:03 Retryable error: Port 1681 is file locked 2021/10/15 05:04:03 Retryable error: Port 1681 is file locked 2021/10/15 05:04:03 Retryable error: Port 1681 is file locked 2021/10/15 05:04:03 Retryable error: Port 1681 is file locked 2021/10/15 05:04:03 Retryable error: Port 1681 is file locked 2021/10/15 05:04:03 Retryable error: Port 1681 is file locked 2021/10/15 05:04:03 Retryable error: Port 1681 is file locked 2021/10/15 05:04:03 Retryable error: Port 1681 is file locked 2021/10/15 05:04:03 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Found available port: 1681 on IP: 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:04 Retryable error: Port 1681 is file locked 2021/10/15 05:04:05 Retryable error: Port 1681 is file locked 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Retryable error: port 1681 cannot be opened: listen tcp :1681: bind: address already in use 2021/10/15 05:04:05 Found available port: 1681 on IP: --- PASS: TestListenRangeConfig_Listen (1.39s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/net 1.661s === RUN TestCachePath === RUN TestCachePath/base === RUN TestCachePath/base_and_path === RUN TestCachePath/env_and_path --- PASS: TestCachePath (0.00s) --- PASS: TestCachePath/base (0.00s) --- PASS: TestCachePath/base_and_path (0.00s) --- PASS: TestCachePath/env_and_path (0.00s) === RUN TestMockCommunicator_impl --- PASS: TestMockCommunicator_impl (0.00s) === RUN TestRemoteCmd_StartWithUi 2021/10/15 05:04:16 ui: hello 2021/10/15 05:04:16 ui: world 2021/10/15 05:04:16 ui: foo 2021/10/15 05:04:16 ui: there --- PASS: TestRemoteCmd_StartWithUi (0.00s) === RUN TestRemoteCmd_Wait --- PASS: TestRemoteCmd_Wait (0.00s) === RUN TestDispatchHook_Implements --- PASS: TestDispatchHook_Implements (0.00s) === RUN TestDispatchHook_Run_NoHooks --- PASS: TestDispatchHook_Run_NoHooks (0.00s) === RUN TestDispatchHook_Run --- PASS: TestDispatchHook_Run (0.00s) === RUN TestDispatchHook_cancel --- PASS: TestDispatchHook_cancel (0.00s) === RUN TestMultiError_Impl --- PASS: TestMultiError_Impl (0.00s) === RUN TestMultiErrorError --- PASS: TestMultiErrorError (0.00s) === RUN TestMultiErrorAppend_MultiError --- PASS: TestMultiErrorAppend_MultiError (0.00s) === RUN TestMultiErrorAppend_NonMultiError --- PASS: TestMultiErrorAppend_NonMultiError (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/packer 0.104s === RUN TestGeneratedData_Put --- PASS: TestGeneratedData_Put (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/packerbuilderdata 0.195s === RUN TestExpandUser_Empty --- PASS: TestExpandUser_Empty (0.00s) === RUN TestExpandUser_Current --- PASS: TestExpandUser_Current (0.00s) === RUN TestExpandUser_User --- PASS: TestExpandUser_User (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/pathing 0.169s === RUN TestPluginServerRandom --- PASS: TestPluginServerRandom (0.00s) === RUN TestSet --- PASS: TestSet (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/plugin 0.086s ? github.com/hashicorp/packer/packer-plugin-sdk/random [no test files] === RUN TestConfig_Run === RUN TestConfig_Run/success === RUN TestConfig_Run/context_cancelled 2021/10/15 05:04:19 Retryable error: context canceled === RUN TestConfig_Run/timeout 2021/10/15 05:04:19 Retryable error: woops ! === RUN TestConfig_Run/success_after_one_failure 2021/10/15 05:04:19 Retryable error: woops ! === RUN TestConfig_Run/fail_after_one_failure 2021/10/15 05:04:19 Retryable error: woops ! --- PASS: TestConfig_Run (0.00s) --- PASS: TestConfig_Run/success (0.00s) --- PASS: TestConfig_Run/context_cancelled (0.00s) --- PASS: TestConfig_Run/timeout (0.00s) --- PASS: TestConfig_Run/success_after_one_failure (0.00s) --- PASS: TestConfig_Run/fail_after_one_failure (0.00s) === RUN TestBackoff_Linear --- PASS: TestBackoff_Linear (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/retry 0.168s === RUN TestArtifactRPC 2021/10/15 05:04:33 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:33 [WARN] Client is closing mux --- PASS: TestArtifactRPC (0.07s) === RUN TestArtifact_Implements --- PASS: TestArtifact_Implements (0.00s) === RUN TestBuild 2021/10/15 05:04:33 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:33 [WARN] Client is closing mux --- PASS: TestBuild (0.03s) === RUN TestBuild_cancel 2021/10/15 05:04:33 Cancelling build after context cancellation context canceled 2021/10/15 05:04:33 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:33 [WARN] Client is closing mux --- PASS: TestBuild_cancel (0.40s) === RUN TestBuildPrepare_Warnings 2021/10/15 05:04:33 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:33 [WARN] Client is closing mux --- PASS: TestBuildPrepare_Warnings (0.00s) === RUN TestBuild_ImplementsBuild --- PASS: TestBuild_ImplementsBuild (0.00s) === RUN TestBuilderPrepare 2021/10/15 05:04:33 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:33 [WARN] Client is closing mux --- PASS: TestBuilderPrepare (0.00s) === RUN TestBuilderPrepare_Warnings 2021/10/15 05:04:33 [ERR] yamux: Failed to write header: write tcp 127.0.0.1:53992->127.0.0.1:33605: use of closed network connection 2021/10/15 05:04:33 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:33 [WARN] Client is closing mux --- PASS: TestBuilderPrepare_Warnings (0.00s) === RUN TestBuilderRun 2021/10/15 05:04:34 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:34 [WARN] Client is closing mux --- PASS: TestBuilderRun (0.20s) === RUN TestBuilderRun_nilResult 2021/10/15 05:04:34 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:34 [WARN] Client is closing mux --- PASS: TestBuilderRun_nilResult (0.00s) === RUN TestBuilderRun_ErrResult 2021/10/15 05:04:34 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:34 [WARN] Client is closing mux --- PASS: TestBuilderRun_ErrResult (0.05s) 2021/10/15 05:04:34 [ERR] yamux: Failed to write header: write tcp 127.0.0.1:59332->127.0.0.1:32879: use of closed network connection === RUN TestBuilderCancel 2021/10/15 05:04:34 Cancelling builder after context cancellation context canceled 2021/10/15 05:04:34 Cancelling hook after context cancellation context canceled 2021/10/15 05:04:34 Error cancelling builder: connection is shut down 2021/10/15 05:04:34 [WARN] yamux: Discarding data for stream: 2 2021/10/15 05:04:34 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:34 [WARN] Client is closing mux --- PASS: TestBuilderCancel (0.31s) === RUN TestBuilder_ImplementsBuilder --- PASS: TestBuilder_ImplementsBuilder (0.00s) === RUN TestCommunicatorRPC 2021/10/15 05:04:34 [INFO] 5 bytes written for 'stdin' 2021/10/15 05:04:34 [INFO] RPC endpoint: Communicator ended with: 42 2021/10/15 05:04:34 [INFO] 7 bytes written for 'stdout' 2021/10/15 05:04:34 [INFO] 7 bytes written for 'stderr' 2021/10/15 05:04:34 [INFO] RPC client: Communicator ended with: 42 2021/10/15 05:04:34 [INFO] 10 bytes written for 'uploadData' 2021/10/15 05:04:34 [INFO] 9 bytes written for 'downloadWriter' 2021/10/15 05:04:34 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:34 [ERR] yamux: Failed to write header: write tcp 127.0.0.1:48290->127.0.0.1:43975: write: connection reset by peer 2021/10/15 05:04:34 [WARN] Client is closing mux --- PASS: TestCommunicatorRPC (0.23s) === RUN TestCommunicator_ImplementsCommunicator --- PASS: TestCommunicator_ImplementsCommunicator (0.00s) === RUN TestBasicError_ImplementsError --- PASS: TestBasicError_ImplementsError (0.00s) === RUN TestBasicError_MatchesMessage --- PASS: TestBasicError_MatchesMessage (0.00s) === RUN TestNewFileInfoNilPointer --- PASS: TestNewFileInfoNilPointer (0.00s) === RUN TestNewFileInfoValues --- PASS: TestNewFileInfoValues (0.00s) === RUN TestHook_Implements --- PASS: TestHook_Implements (0.00s) === RUN TestHook_cancelWhileRun 2021/10/15 05:04:34 Cancelling hook after context cancellation context canceled 2021/10/15 05:04:34 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:34 [ERR] yamux: Failed to write header: write tcp 127.0.0.1:57888->127.0.0.1:43029: write: connection reset by peer 2021/10/15 05:04:34 [WARN] Client is closing mux --- PASS: TestHook_cancelWhileRun (0.01s) === RUN TestMuxBroker --- PASS: TestMuxBroker (0.00s) === RUN TestPostProcessorRPC 2021/10/15 05:04:35 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:35 [WARN] Client is closing mux --- PASS: TestPostProcessorRPC (0.32s) === RUN TestPostProcessorRPC_cancel 2021/10/15 05:04:35 Cancelling post-processor after context cancellation context canceled 2021/10/15 05:04:35 error: context canceled 2021/10/15 05:04:35 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:35 [WARN] Client is closing mux --- PASS: TestPostProcessorRPC_cancel (0.35s) === RUN TestPostProcessor_Implements --- PASS: TestPostProcessor_Implements (0.00s) === RUN TestProvisionerRPC 2021/10/15 05:04:35 Cancelling provisioner after context cancellation context canceled 2021/10/15 05:04:35 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:35 [ERR] yamux: Failed to write header: write tcp 127.0.0.1:50156->127.0.0.1:38565: write: connection reset by peer 2021/10/15 05:04:35 [WARN] Client is closing mux --- PASS: TestProvisionerRPC (0.10s) === RUN TestProvisioner_Implements --- PASS: TestProvisioner_Implements (0.00s) === RUN TestUiRPC 2021/10/15 05:04:35 closing 2021/10/15 05:04:36 [WARN] Shutting down mux conn in Server 2021/10/15 05:04:36 [WARN] Client is closing mux --- PASS: TestUiRPC (0.37s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/rpc 2.717s === RUN TestCommIsCommunicator --- PASS: TestCommIsCommunicator (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/none 0.189s === RUN TestCommIsCommunicator --- PASS: TestCommIsCommunicator (0.00s) === RUN TestNew_Invalid 2021/10/15 05:04:34 [DEBUG] reconnecting to TCP connection for SSH 2021/10/15 05:04:34 [DEBUG] handshaking with SSH --- PASS: TestNew_Invalid (0.01s) === RUN TestStart 2021/10/15 05:04:34 [DEBUG] reconnecting to TCP connection for SSH 2021/10/15 05:04:34 [DEBUG] handshaking with SSH 2021/10/15 05:04:34 [DEBUG] handshake complete! 2021/10/15 05:04:34 [INFO] no local agent socket, will not connect agent 2021/10/15 05:04:34 [DEBUG] Opening new ssh session communicator_test.go:81: Accepted SSH connection 2021/10/15 05:04:34 [DEBUG] starting remote command: echo foo communicator_test.go:87: Accepted channel --- PASS: TestStart (0.09s) === RUN TestHandshakeTimeout 2021/10/15 05:04:34 [DEBUG] reconnecting to TCP connection for SSH communicator_test.go:115: Block on handshaking for SSH connection 2021/10/15 05:04:34 [DEBUG] handshaking with SSH --- PASS: TestHandshakeTimeout (0.05s) === RUN TestKeyboardInteractive === RUN TestKeyboardInteractive/questions_are_none 2021/10/15 05:04:34 finish === RUN TestKeyboardInteractive/input_answer_interactive 2021/10/15 05:04:34 [INFO] -- User: 2021/10/15 05:04:34 [INFO] -- Instructions: 2021/10/15 05:04:34 [INFO] -- Question 1: this is question 2021/10/15 05:04:34 finish --- PASS: TestKeyboardInteractive (0.00s) --- PASS: TestKeyboardInteractive/questions_are_none (0.00s) --- PASS: TestKeyboardInteractive/input_answer_interactive (0.00s) === RUN TestPasswordKeyboardInteractive_Impl --- PASS: TestPasswordKeyboardInteractive_Impl (0.00s) === RUN TestPasswordKeyboardInteractive_Challenge 2021/10/15 05:04:34 Keyboard interactive challenge: 2021/10/15 05:04:34 -- User: foo 2021/10/15 05:04:34 -- Instructions: bar 2021/10/15 05:04:34 -- Question 1: one 2021/10/15 05:04:34 -- Question 2: two --- PASS: TestPasswordKeyboardInteractive_Challenge (0.00s) === RUN TestConnectFunc connect_test.go:27: This test is only run with PACKER_ACC=1 --- SKIP: TestConnectFunc (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/ssh 0.398s === RUN TestStart 2021/10/15 05:04:40 [DEBUG] connecting to remote shell using WinRM 2021/10/15 05:04:40 [INFO] starting remote command: echo foo 2021/10/15 05:04:40 [WARN] Failed to read stderr for command 'echo foo' 2021/10/15 05:04:40 [INFO] command 'echo foo' exited with code: 0 --- PASS: TestStart (0.07s) === RUN TestUpload 2021/10/15 05:04:40 [DEBUG] connecting to remote shell using WinRM 2021/10/15 05:04:40 Uploading file to 'C:/Temp/packer.cmd' c3R1ZmY=c3R1ZmY=--- PASS: TestUpload (0.14s) === RUN TestUpload_nilFileInfo 2021/10/15 05:04:40 [DEBUG] connecting to remote shell using WinRM --- PASS: TestUpload_nilFileInfo (0.01s) === RUN TestFormatDuration --- PASS: TestFormatDuration (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/sdk-internals/communicator/winrm 0.390s === RUN TestProvisioner_ValidExitCode === RUN TestProvisioner_ValidExitCode/[]_-_0_-_false === RUN TestProvisioner_ValidExitCode/[]_-_1_-_true === RUN TestProvisioner_ValidExitCode/[2]_-_2_-_false === RUN TestProvisioner_ValidExitCode/[2]_-_3_-_true --- PASS: TestProvisioner_ValidExitCode (0.00s) --- PASS: TestProvisioner_ValidExitCode/[]_-_0_-_false (0.00s) --- PASS: TestProvisioner_ValidExitCode/[]_-_1_-_true (0.00s) --- PASS: TestProvisioner_ValidExitCode/[2]_-_2_-_false (0.00s) --- PASS: TestProvisioner_ValidExitCode/[2]_-_3_-_true (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/shell 0.181s === RUN TestCommunicator_impl --- PASS: TestCommunicator_impl (0.00s) === RUN TestCommunicator 2021/10/15 05:04:54 [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c echo foo] --- PASS: TestCommunicator (0.09s) === RUN TestConvertToLinuxPath --- PASS: TestConvertToLinuxPath (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/shell-local 0.216s === RUN TestCleanLine --- PASS: TestCleanLine (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/shell-local/localexec 0.134s === RUN TestShutdownConfigPrepare_ShutdownCommand --- PASS: TestShutdownConfigPrepare_ShutdownCommand (0.00s) === RUN TestShutdownConfigPrepare_ShutdownTimeout --- PASS: TestShutdownConfigPrepare_ShutdownTimeout (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/shutdowncommand 0.389s === RUN TestParse --- PASS: TestParse (0.09s) === RUN TestParse_contents --- PASS: TestParse_contents (0.00s) === RUN TestParse_bad --- PASS: TestParse_bad (0.01s) === RUN TestParse_checkForDuplicateFields --- PASS: TestParse_checkForDuplicateFields (0.00s) === RUN TestTemplateValidate --- PASS: TestTemplateValidate (0.00s) === RUN TestOnlyExceptSkip --- PASS: TestOnlyExceptSkip (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/template 0.301s === RUN TestTrilianParsing --- PASS: TestTrilianParsing (0.00s) === RUN TestDecode --- PASS: TestDecode (0.01s) === RUN TestDecode_fixerRecommendations --- PASS: TestDecode_fixerRecommendations (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/template/config 0.185s === RUN TestFuncBuildName --- PASS: TestFuncBuildName (0.00s) === RUN TestFuncBuildType --- PASS: TestFuncBuildType (0.00s) === RUN TestFuncEnv --- PASS: TestFuncEnv (0.01s) === RUN TestFuncEnv_disable --- PASS: TestFuncEnv_disable (0.00s) === RUN TestFuncIsotime --- PASS: TestFuncIsotime (0.00s) === RUN TestFuncStrftime --- PASS: TestFuncStrftime (0.00s) === RUN TestFuncPwd --- PASS: TestFuncPwd (0.00s) === RUN TestFuncTemplatePath --- PASS: TestFuncTemplatePath (0.00s) === RUN TestFuncSplit --- PASS: TestFuncSplit (0.00s) === RUN TestFuncTimestamp --- PASS: TestFuncTimestamp (0.00s) === RUN TestFuncUser --- PASS: TestFuncUser (0.00s) === RUN TestFuncPackerBuild --- PASS: TestFuncPackerBuild (0.00s) === RUN TestFuncPackerVersion --- PASS: TestFuncPackerVersion (0.00s) === RUN TestReplaceFuncs --- PASS: TestReplaceFuncs (0.00s) === RUN TestIRender --- PASS: TestIRender (0.00s) === RUN TestFunctionsCalled --- PASS: TestFunctionsCalled (0.00s) === RUN TestRenderInterface --- PASS: TestRenderInterface (0.00s) === RUN TestRenderMap --- PASS: TestRenderMap (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate 0.396s === RUN TestGetSecret secretsmanager_test.go:138: arg (&{test/secret }), want test, got test, err secretsmanager_test.go:138: arg (&{test/secret key}), want test, got test, err secretsmanager_test.go:138: arg (&{test/secret second_key}), want second_val, got second_val, err secretsmanager_test.go:138: arg (&{test/secret }), want , got , err Secret has multiple values and no key was set secretsmanager_test.go:138: arg (&{test/secret nonexistent}), want , got , err No secret found for key "nonexistent" secretsmanager_test.go:138: arg (&{test/secret nonexistent}), want , got , err No secret found for key "nonexistent" secretsmanager_test.go:138: arg (&{test/secret nonexistent}), want , got , err Secret is not string secretsmanager_test.go:138: arg (&{test }), want ThisIsThePassword, got ThisIsThePassword, err --- PASS: TestGetSecret (0.01s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate/aws/secretsmanager 0.108s ? github.com/hashicorp/packer/packer-plugin-sdk/tmp [no test files] === RUN TestUserAgent --- PASS: TestUserAgent (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/useragent 0.195s === RUN TestTimeOrderedUuid --- PASS: TestTimeOrderedUuid (0.00s) PASS ok github.com/hashicorp/packer/packer-plugin-sdk/uuid 0.176s ? github.com/hashicorp/packer/packer-plugin-sdk/version [no test files] ? github.com/hashicorp/packer/post-processor/alicloud-import [no test files] ? github.com/hashicorp/packer/post-processor/alicloud-import/version [no test files] ? github.com/hashicorp/packer/post-processor/amazon-import [no test files] ? github.com/hashicorp/packer/post-processor/amazon-import/version [no test files] ? github.com/hashicorp/packer/post-processor/artifice [no test files] ? github.com/hashicorp/packer/post-processor/artifice/version [no test files] === RUN TestChecksumSHA1 2021/10/15 05:05:18 Deleting package.txt --- PASS: TestChecksumSHA1 (0.01s) PASS ok github.com/hashicorp/packer/post-processor/checksum 0.185s ? github.com/hashicorp/packer/post-processor/checksum/version [no test files] === RUN TestArtifact_ImplementsArtifact --- PASS: TestArtifact_ImplementsArtifact (0.00s) === RUN TestDetectFilename --- PASS: TestDetectFilename (0.00s) === RUN TestSimpleCompress package.tar.gz 2021/10/15 05:05:21 ui: Using pgzip compression with 32 cores for package.tar.gz 2021/10/15 05:05:21 ui: Tarring package.tar.gz with pgzip 2021/10/15 05:05:21 ui: Archive package.tar.gz completed 2021/10/15 05:05:22 Deleting package.txt --- PASS: TestSimpleCompress (0.07s) === RUN TestZipArchive package.zip 2021/10/15 05:05:22 ui: Zipping package.zip 2021/10/15 05:05:22 ui: Archive package.zip completed 2021/10/15 05:05:22 Deleting package.txt --- PASS: TestZipArchive (0.00s) === RUN TestTarArchive package.tar 2021/10/15 05:05:22 ui: Tarring package.tar with no compression 2021/10/15 05:05:22 ui: Archive package.tar completed 2021/10/15 05:05:22 Deleting package.txt --- PASS: TestTarArchive (0.00s) === RUN TestCompressOptions package.gz 2021/10/15 05:05:22 ui: Using pgzip compression with 32 cores for package.gz 2021/10/15 05:05:22 ui: Archiving package.txt with pgzip 2021/10/15 05:05:22 ui: Archive package.gz completed 2021/10/15 05:05:22 Deleting package.txt --- PASS: TestCompressOptions (0.01s) === RUN TestCompressInterpolation chocolate-vanilla-file.gz 2021/10/15 05:05:22 ui: Using pgzip compression with 32 cores for chocolate-vanilla-file.gz 2021/10/15 05:05:22 ui: Archiving package.txt with pgzip 2021/10/15 05:05:22 ui: Archive chocolate-vanilla-file.gz completed 2021/10/15 05:05:22 Deleting package.txt --- PASS: TestCompressInterpolation (0.02s) PASS ok github.com/hashicorp/packer/post-processor/compress 0.377s ? github.com/hashicorp/packer/post-processor/compress/version [no test files] === RUN TestPostProcessor_ImplementsPostProcessor --- PASS: TestPostProcessor_ImplementsPostProcessor (0.00s) === RUN TestPostProcessor_ImageArtifactExtraction --- PASS: TestPostProcessor_ImageArtifactExtraction (0.00s) PASS ok github.com/hashicorp/packer/post-processor/digitalocean-import 0.306s ? github.com/hashicorp/packer/post-processor/digitalocean-import/version [no test files] === RUN TestPostProcessor_ImplementsPostProcessor --- PASS: TestPostProcessor_ImplementsPostProcessor (0.00s) PASS ok github.com/hashicorp/packer/post-processor/docker-import 0.198s ? github.com/hashicorp/packer/post-processor/docker-import/version [no test files] === RUN TestPostProcessor_ImplementsPostProcessor --- PASS: TestPostProcessor_ImplementsPostProcessor (0.00s) === RUN TestPostProcessor_PostProcess 2021/10/15 05:05:50 ui: Pushing: foo/bar --- PASS: TestPostProcessor_PostProcess (0.00s) === RUN TestPostProcessor_PostProcess_portInName 2021/10/15 05:05:50 ui: Pushing: localhost:5000/foo/bar --- PASS: TestPostProcessor_PostProcess_portInName (0.00s) === RUN TestPostProcessor_PostProcess_tags 2021/10/15 05:05:50 ui: Pushing: hashicorp/ubuntu:precise --- PASS: TestPostProcessor_PostProcess_tags (0.00s) PASS ok github.com/hashicorp/packer/post-processor/docker-push 0.269s ? github.com/hashicorp/packer/post-processor/docker-push/version [no test files] === RUN TestPostProcessor_ImplementsPostProcessor --- PASS: TestPostProcessor_ImplementsPostProcessor (0.00s) PASS ok github.com/hashicorp/packer/post-processor/docker-save 0.395s ? github.com/hashicorp/packer/post-processor/docker-save/version [no test files] === RUN TestPostProcessor_ImplementsPostProcessor --- PASS: TestPostProcessor_ImplementsPostProcessor (0.00s) === RUN TestPostProcessor_PostProcess 2021/10/15 05:05:50 ui: Deprecation warning: "tag" option has been replaced with "tags". In future versions of Packer, this configuration may not work. Please call `packer fix` on your template to update. 2021/10/15 05:05:50 ui: Tagging image: 1234567890abcdef 2021/10/15 05:05:50 ui: Repository: foo:bar 2021/10/15 05:05:50 ui: Tagging image: 1234567890abcdef 2021/10/15 05:05:50 ui: Repository: foo:buzz --- PASS: TestPostProcessor_PostProcess (0.00s) === RUN TestPostProcessor_PostProcess_Force 2021/10/15 05:05:50 ui: Deprecation warning: "tag" option has been replaced with "tags". In future versions of Packer, this configuration may not work. Please call `packer fix` on your template to update. 2021/10/15 05:05:50 ui: Tagging image: 1234567890abcdef 2021/10/15 05:05:50 ui: Repository: foo:bar 2021/10/15 05:05:50 ui: Tagging image: 1234567890abcdef 2021/10/15 05:05:50 ui: Repository: foo:buzz --- PASS: TestPostProcessor_PostProcess_Force (0.00s) === RUN TestPostProcessor_PostProcess_NoTag 2021/10/15 05:05:50 ui: Tagging image: 1234567890abcdef 2021/10/15 05:05:50 ui: Repository: foo --- PASS: TestPostProcessor_PostProcess_NoTag (0.00s) === RUN TestPostProcessor_PostProcess_Tag_vs_Tags --- PASS: TestPostProcessor_PostProcess_Tag_vs_Tags (0.00s) PASS ok github.com/hashicorp/packer/post-processor/docker-tag 0.380s ? github.com/hashicorp/packer/post-processor/docker-tag/version [no test files] ? github.com/hashicorp/packer/post-processor/exoscale-import [no test files] ? github.com/hashicorp/packer/post-processor/exoscale-import/version [no test files] testing: warning: no tests to run PASS ok github.com/hashicorp/packer/post-processor/googlecompute-export 0.433s [no tests to run] ? github.com/hashicorp/packer/post-processor/googlecompute-export/version [no test files] === RUN TestArtifact_ImplementsArtifact --- PASS: TestArtifact_ImplementsArtifact (0.00s) PASS ok github.com/hashicorp/packer/post-processor/googlecompute-import 0.207s ? github.com/hashicorp/packer/post-processor/googlecompute-import/version [no test files] ? github.com/hashicorp/packer/post-processor/manifest [no test files] ? github.com/hashicorp/packer/post-processor/manifest/version [no test files] === RUN TestPostProcessor_ImplementsPostProcessor --- PASS: TestPostProcessor_ImplementsPostProcessor (0.00s) === RUN TestPostProcessor_Impl --- PASS: TestPostProcessor_Impl (0.00s) === RUN TestPostProcessorPrepare_Defaults --- PASS: TestPostProcessorPrepare_Defaults (0.00s) === RUN TestPostProcessorPrepare_InlineShebang --- PASS: TestPostProcessorPrepare_InlineShebang (0.01s) === RUN TestPostProcessorPrepare_InvalidKey --- PASS: TestPostProcessorPrepare_InvalidKey (0.00s) === RUN TestPostProcessorPrepare_Script --- PASS: TestPostProcessorPrepare_Script (0.00s) === RUN TestPostProcessorPrepare_ExecuteCommand --- PASS: TestPostProcessorPrepare_ExecuteCommand (0.00s) === RUN TestPostProcessorPrepare_ScriptAndInline --- PASS: TestPostProcessorPrepare_ScriptAndInline (0.08s) === RUN TestPostProcessorPrepare_ScriptAndScripts --- PASS: TestPostProcessorPrepare_ScriptAndScripts (0.00s) === RUN TestPostProcessorPrepare_Scripts --- PASS: TestPostProcessorPrepare_Scripts (0.00s) === RUN TestPostProcessorPrepare_EnvironmentVars --- PASS: TestPostProcessorPrepare_EnvironmentVars (0.00s) PASS ok github.com/hashicorp/packer/post-processor/shell-local 0.218s ? github.com/hashicorp/packer/post-processor/shell-local/version [no test files] === RUN TestArtifact_ImplementsArtifact --- PASS: TestArtifact_ImplementsArtifact (0.00s) === RUN TestArtifact_Id --- PASS: TestArtifact_Id (0.00s) === RUN TestAWSProvider_impl --- PASS: TestAWSProvider_impl (0.00s) === RUN TestAWSProvider_KeepInputArtifact --- PASS: TestAWSProvider_KeepInputArtifact (0.00s) === RUN TestAWSProvider_ArtifactId --- PASS: TestAWSProvider_ArtifactId (0.00s) === RUN TestAzureProvider_impl --- PASS: TestAzureProvider_impl (0.00s) === RUN TestAzureProvider_KeepInputArtifact --- PASS: TestAzureProvider_KeepInputArtifact (0.00s) === RUN TestAzureProvider_ManagedImage 2021/10/15 05:06:04 ui: artifact string: 'Azure.ResourceManagement.VMImage: OSType: Linux ManagedImageResourceGroupName: packerruns ManagedImageName: packer-1533651633 ManagedImageId: /subscriptions/e6229913-d9c3-4ddd-99a4-9e1ef3beaa1b/resourceGroups/packerruns/providers/Microsoft.Compute/images/packer-1533675589 ManagedImageLocation: westus' 2021/10/15 05:06:04 ui: artifact string parsed: map[ManagedImageId:/subscriptions/e6229913-d9c3-4ddd-99a4-9e1ef3beaa1b/resourceGroups/packerruns/providers/Microsoft.Compute/images/packer-1533675589 ManagedImageLocation:westus ManagedImageName:packer-1533651633 ManagedImageResourceGroupName:packerruns OSType:Linux] --- PASS: TestAzureProvider_ManagedImage (0.00s) === RUN TestAzureProvider_VHD 2021/10/15 05:06:04 ui: artifact string: 'Azure.ResourceManagement.VMImage: OSType: Linux StorageAccountLocation: westus OSDiskUri: https://packerbuildswest.blob.core.windows.net/system/Microsoft.Compute/Images/images/packer-osDisk.96ed2120-591d-4900-95b0-ee8e985f2213.vhd OSDiskUriReadOnlySas: https://packerbuildswest.blob.core.windows.net/system/Microsoft.Compute/Images/images/packer-osDisk.96ed2120-591d-4900-95b0-ee8e985f2213.vhd?se=2018-09-07T18%3A36%3A34Z&sig=xUiFvwAviPYoP%2Bc91vErqvwYR1eK4x%2BAx7YLMe84zzU%3D&sp=r&sr=b&sv=2016-05-31 TemplateUri: https://packerbuildswest.blob.core.windows.net/system/Microsoft.Compute/Images/images/packer-vmTemplate.96ed2120-591d-4900-95b0-ee8e985f2213.json TemplateUriReadOnlySas: https://packerbuildswest.blob.core.windows.net/system/Microsoft.Compute/Images/images/packer-vmTemplate.96ed2120-591d-4900-95b0-ee8e985f2213.json?se=2018-09-07T18%3A36%3A34Z&sig=lDxePyAUCZbfkB5ddiofimXfwk5INn%2F9E2BsnqIKC9Q%3D&sp=r&sr=b&sv=2016-05-31' 2021/10/15 05:06:04 ui: artifact string parsed: map[OSDiskUri:https://packerbuildswest.blob.core.windows.net/system/Microsoft.Compute/Images/images/packer-osDisk.96ed2120-591d-4900-95b0-ee8e985f2213.vhd OSDiskUriReadOnlySas:https://packerbuildswest.blob.core.windows.net/system/Microsoft.Compute/Images/images/packer-osDisk.96ed2120-591d-4900-95b0-ee8e985f2213.vhd?se=2018-09-07T18%3A36%3A34Z&sig=xUiFvwAviPYoP%2Bc91vErqvwYR1eK4x%2BAx7YLMe84zzU%3D&sp=r&sr=b&sv=2016-05-31 OSType:Linux StorageAccountLocation:westus TemplateUri:https://packerbuildswest.blob.core.windows.net/system/Microsoft.Compute/Images/images/packer-vmTemplate.96ed2120-591d-4900-95b0-ee8e985f2213.json TemplateUriReadOnlySas:https://packerbuildswest.blob.core.windows.net/system/Microsoft.Compute/Images/images/packer-vmTemplate.96ed2120-591d-4900-95b0-ee8e985f2213.json?se=2018-09-07T18%3A36%3A34Z&sig=lDxePyAUCZbfkB5ddiofimXfwk5INn%2F9E2BsnqIKC9Q%3D&sp=r&sr=b&sv=2016-05-31] --- PASS: TestAzureProvider_VHD (0.00s) === RUN TestDigitalOceanProvider_impl --- PASS: TestDigitalOceanProvider_impl (0.00s) === RUN TestDigitalOceanProvider_KeepInputArtifact --- PASS: TestDigitalOceanProvider_KeepInputArtifact (0.00s) === RUN TestDigitalOceanProvider_ArtifactId --- PASS: TestDigitalOceanProvider_ArtifactId (0.00s) === RUN TestDockerProvider_impl --- PASS: TestDockerProvider_impl (0.00s) === RUN TestGoogleProvider_impl --- PASS: TestGoogleProvider_impl (0.00s) === RUN TestGoogleProvider_KeepInputArtifact --- PASS: TestGoogleProvider_KeepInputArtifact (0.00s) === RUN TestGoogleProvider_ArtifactId --- PASS: TestGoogleProvider_ArtifactId (0.00s) === RUN Test_sizeInMegabytes_WithInvalidUnitMustPanic --- PASS: Test_sizeInMegabytes_WithInvalidUnitMustPanic (0.00s) === RUN Test_sizeInMegabytes_WithoutUnitMustDefaultToMegabytes --- PASS: Test_sizeInMegabytes_WithoutUnitMustDefaultToMegabytes (0.00s) === RUN Test_sizeInMegabytes_WithBytesUnit --- PASS: Test_sizeInMegabytes_WithBytesUnit (0.00s) === RUN Test_sizeInMegabytes_WithKiloBytesUnit --- PASS: Test_sizeInMegabytes_WithKiloBytesUnit (0.00s) === RUN Test_sizeInMegabytes_WithMegabytesUnit --- PASS: Test_sizeInMegabytes_WithMegabytesUnit (0.00s) === RUN Test_sizeInMegabytes_WithGigabytesUnit --- PASS: Test_sizeInMegabytes_WithGigabytesUnit (0.00s) === RUN Test_sizeInMegabytes_WithTerabytesUnit --- PASS: Test_sizeInMegabytes_WithTerabytesUnit (0.00s) === RUN Test_sizeInMegabytes_WithPetabytesUnit --- PASS: Test_sizeInMegabytes_WithPetabytesUnit (0.00s) === RUN Test_sizeInMegabytes_WithExabytesUnit --- PASS: Test_sizeInMegabytes_WithExabytesUnit (0.00s) === RUN TestLXCProvider_impl --- PASS: TestLXCProvider_impl (0.00s) === RUN TestParallelsProvider_impl --- PASS: TestParallelsProvider_impl (0.00s) === RUN TestPostProcessor_ImplementsPostProcessor --- PASS: TestPostProcessor_ImplementsPostProcessor (0.00s) === RUN TestPostProcessorPrepare_compressionLevel --- PASS: TestPostProcessorPrepare_compressionLevel (0.00s) === RUN TestPostProcessorPrepare_outputPath --- PASS: TestPostProcessorPrepare_outputPath (0.00s) === RUN TestSpecificConfig --- PASS: TestSpecificConfig (0.01s) === RUN TestPostProcessorPrepare_vagrantfileTemplateExists --- PASS: TestPostProcessorPrepare_vagrantfileTemplateExists (0.00s) === RUN TestPostProcessorPrepare_ProviderOverrideExists --- PASS: TestPostProcessorPrepare_ProviderOverrideExists (0.00s) === RUN TestPostProcessorPostProcess_badId --- PASS: TestPostProcessorPostProcess_badId (0.00s) === RUN TestPostProcessorPostProcess_vagrantfileUserVariable 2021/10/15 05:06:04 ui: Creating a dummy Vagrant box to ensure the host system can create one correctly 2021/10/15 05:06:04 Turning dir into box: /tmp/packer041756046 => /tmp/box-209622421.box 2021/10/15 05:06:04 Compressing with gzip compression level: -1 2021/10/15 05:06:04 Skipping directory '/tmp/packer041756046' for box '/tmp/box-209622421.box' 2021/10/15 05:06:04 Box add: '/tmp/packer041756046/metadata.json' to '/tmp/box-209622421.box' 2021/10/15 05:06:04 ui: Creating Vagrant box for 'parallels' provider 2021/10/15 05:06:04 ui: Using custom Vagrantfile: /tmp/packer087168555 2021/10/15 05:06:04 Turning dir into box: /tmp/packer839626736 => packer__parallels.box 2021/10/15 05:06:04 Compressing with gzip compression level: -1 2021/10/15 05:06:04 Skipping directory '/tmp/packer839626736' for box 'packer__parallels.box' 2021/10/15 05:06:04 Box add: '/tmp/packer839626736/Vagrantfile' to 'packer__parallels.box' 2021/10/15 05:06:04 ui: Compressing: Vagrantfile 2021/10/15 05:06:04 Box add: '/tmp/packer839626736/metadata.json' to 'packer__parallels.box' 2021/10/15 05:06:04 ui: Compressing: metadata.json --- PASS: TestPostProcessorPostProcess_vagrantfileUserVariable (0.11s) === RUN TestProviderForName --- PASS: TestProviderForName (0.00s) === RUN TestVBoxProvider_impl --- PASS: TestVBoxProvider_impl (0.00s) === RUN TestDecomressOVA 2021/10/15 05:06:04 Turning ova to dir: ../../packer-plugin-sdk/test-fixtures/decompress-tar/outside_parent.tar => /tmp/pp-vagrant-virtualbox643493519 --- PASS: TestDecomressOVA (0.00s) === RUN TestVMwareProvider_impl --- PASS: TestVMwareProvider_impl (0.00s) PASS ok github.com/hashicorp/packer/post-processor/vagrant 0.290s ? github.com/hashicorp/packer/post-processor/vagrant/version [no test files] === RUN TestArtifact_ImplementsArtifact --- PASS: TestArtifact_ImplementsArtifact (0.00s) === RUN TestVagranCloudErrors --- PASS: TestVagranCloudErrors (0.00s) === RUN TestPostProcessor_Insecure_Ssl 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: https://127.0.0.1:41515/authenticate 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc00004af00 TLS:0xc0003f0fd0} --- PASS: TestPostProcessor_Insecure_Ssl (0.01s) === RUN TestPostProcessor_Configure_fromVagrantEnv 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:44231/authenticate 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000528200 TLS:} --- PASS: TestPostProcessor_Configure_fromVagrantEnv (0.08s) === RUN TestPostProcessor_Configure_fromAtlasEnv 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:34757/authenticate 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000529100 TLS:} --- PASS: TestPostProcessor_Configure_fromAtlasEnv (0.01s) === RUN TestPostProcessor_Configure_Good 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:34859/authenticate 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000436d00 TLS:} --- PASS: TestPostProcessor_Configure_Good (0.00s) === RUN TestPostProcessor_Configure_Bad 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:44293/authenticate 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000529c00 TLS:} --- PASS: TestPostProcessor_Configure_Bad (0.00s) === RUN TestPostProcessor_Configure_checkAccessTokenIsRequiredByDefault 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:40613/authenticate 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:401 Unauthorized StatusCode:401 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Length:[13] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:19 GMT] X-Content-Type-Options:[nosniff]] Body:0xc000033d00 ContentLength:13 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000632b00 TLS:} --- PASS: TestPostProcessor_Configure_checkAccessTokenIsRequiredByDefault (0.00s) === RUN TestPostProcessor_Configure_checkAccessTokenIsNotRequiredForOverridenVagrantCloud 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:45719/authenticate 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc0005de900 TLS:} --- PASS: TestPostProcessor_Configure_checkAccessTokenIsNotRequiredForOverridenVagrantCloud (0.00s) === RUN TestPostProcessor_PostProcess_checkArtifactType 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:42015/authenticate 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc00004ae00 TLS:} --- PASS: TestPostProcessor_PostProcess_checkArtifactType (0.07s) === RUN TestPostProcessor_PostProcess_checkArtifactFileIsBox 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:37001/authenticate 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc00004bf00 TLS:} --- PASS: TestPostProcessor_PostProcess_checkArtifactFileIsBox (0.00s) === RUN TestPostProcessor_PostProcess_uploadsAndReleases 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:45601/authenticate 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: GET Path: /authenticate] Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc00019ae00 TLS:} 2021/10/15 05:06:19 ui: Verifying box is accessible: hashicorp/precise64 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:45601/box/hashicorp/precise64 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: GET Path: /box/hashicorp/precise64] Content-Length:[30] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:0xc0005ab540 ContentLength:30 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc00019b000 TLS:} 2021/10/15 05:06:19 ui: Box accessible and matches tag 2021/10/15 05:06:19 ui: Creating version: 0.5 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API POST: http://127.0.0.1:45601/box/hashicorp/precise64/versions. Body: {"version":{"version":"0.5","description":"bar"}} 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: POST Path: /box/hashicorp/precise64/versions] Content-Length:[2] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:0xc0005ab700 ContentLength:2 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc00019b200 TLS:} 2021/10/15 05:06:19 ui: Creating provider: id 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API POST: http://127.0.0.1:45601/box/hashicorp/precise64/version/0.5/providers. Body: {"provider":{"name":"id"}} 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: POST Path: /box/hashicorp/precise64/version/0.5/providers] Content-Length:[2] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:0xc0005ab8c0 ContentLength:2 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc00019b400 TLS:} 2021/10/15 05:06:19 ui: Preparing upload of box: /tmp/test391860354.box 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:45601/box/hashicorp/precise64/version/0.5/provider/id/upload 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: GET Path: /box/hashicorp/precise64/version/0.5/provider/id/upload] Content-Length:[57] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:0xc0005aba00 ContentLength:57 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc00019b700 TLS:} 2021/10/15 05:06:19 ui: Uploading box: /tmp/test391860354.box 2021/10/15 05:06:19 ui: Depending on your internet connection and the size of the box, this may take some time 2021/10/15 05:06:19 ui: Uploading box 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Upload: /tmp/test391860354.box http://127.0.0.1:37513/box-upload-path 2021/10/15 05:06:19 Post-Processor Vagrant Cloud Upload Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: PUT Path: /box-upload-path] Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc00019ba00 TLS:} 2021/10/15 05:06:19 ui: Box successfully uploaded 2021/10/15 05:06:19 ui: Releasing version: 0.5 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API PUT: http://127.0.0.1:45601/box/hashicorp/precise64/version/0.5/release 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: PUT Path: /box/hashicorp/precise64/version/0.5/release] Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000437100 TLS:} 2021/10/15 05:06:19 ui: Version successfully released and available --- PASS: TestPostProcessor_PostProcess_uploadsAndReleases (0.10s) === RUN TestPostProcessor_PostProcess_uploadsAndNoRelease 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:44791/authenticate 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: GET Path: /authenticate] Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc0005de000 TLS:} 2021/10/15 05:06:19 ui: Verifying box is accessible: hashicorp/precise64 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:44791/box/hashicorp/precise64 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: GET Path: /box/hashicorp/precise64] Content-Length:[30] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:0xc0005aa280 ContentLength:30 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000496400 TLS:} 2021/10/15 05:06:19 ui: Box accessible and matches tag 2021/10/15 05:06:19 ui: Creating version: 0.5 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API POST: http://127.0.0.1:44791/box/hashicorp/precise64/versions. Body: {"version":{"version":"0.5","description":"bar"}} 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: POST Path: /box/hashicorp/precise64/versions] Content-Length:[2] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:0xc0005aa400 ContentLength:2 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000496600 TLS:} 2021/10/15 05:06:19 ui: Creating provider: id 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API POST: http://127.0.0.1:44791/box/hashicorp/precise64/version/0.5/providers. Body: {"provider":{"name":"id"}} 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: POST Path: /box/hashicorp/precise64/version/0.5/providers] Content-Length:[2] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:0xc0005aa5c0 ContentLength:2 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000496800 TLS:} 2021/10/15 05:06:19 ui: Preparing upload of box: /tmp/test405805049.box 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:44791/box/hashicorp/precise64/version/0.5/provider/id/upload 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: GET Path: /box/hashicorp/precise64/version/0.5/provider/id/upload] Content-Length:[57] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:0xc0005aa700 ContentLength:57 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000496b00 TLS:} 2021/10/15 05:06:19 ui: Uploading box: /tmp/test405805049.box 2021/10/15 05:06:19 ui: Depending on your internet connection and the size of the box, this may take some time 2021/10/15 05:06:19 ui: Uploading box 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API Upload: /tmp/test405805049.box http://127.0.0.1:34351/box-upload-path 2021/10/15 05:06:19 Post-Processor Vagrant Cloud Upload Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: PUT Path: /box-upload-path] Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:19 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000496e00 TLS:} 2021/10/15 05:06:19 ui: Box successfully uploaded 2021/10/15 05:06:19 ui: Releasing version: 0.5 2021/10/15 05:06:19 ui: Not releasing version due to configuration --- PASS: TestPostProcessor_PostProcess_uploadsAndNoRelease (0.02s) === RUN TestPostProcessor_PostProcess_uploadsDirectAndReleases 2021/10/15 05:06:19 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:38153/authenticate 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: GET Path: /authenticate] Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:20 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000497e00 TLS:} 2021/10/15 05:06:20 ui: Verifying box is accessible: hashicorp/precise64 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:38153/box/hashicorp/precise64 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: GET Path: /box/hashicorp/precise64] Content-Length:[30] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:20 GMT]] Body:0xc00048c300 ContentLength:30 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000436200 TLS:} 2021/10/15 05:06:20 ui: Box accessible and matches tag 2021/10/15 05:06:20 ui: Creating version: 0.5 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API POST: http://127.0.0.1:38153/box/hashicorp/precise64/versions. Body: {"version":{"version":"0.5","description":"bar"}} 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: POST Path: /box/hashicorp/precise64/versions] Content-Length:[2] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:20 GMT]] Body:0xc00048c480 ContentLength:2 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000436400 TLS:} 2021/10/15 05:06:20 ui: Creating provider: id 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API POST: http://127.0.0.1:38153/box/hashicorp/precise64/version/0.5/providers. Body: {"provider":{"name":"id"}} 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: POST Path: /box/hashicorp/precise64/version/0.5/providers] Content-Length:[2] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:20 GMT]] Body:0xc00048c640 ContentLength:2 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000436600 TLS:} 2021/10/15 05:06:20 ui: Preparing upload of box: /tmp/test156449028.box 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API GET: http://127.0.0.1:38153/box/hashicorp/precise64/version/0.5/provider/id/upload/direct 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: GET Path: /box/hashicorp/precise64/version/0.5/provider/id/upload/direct] Content-Length:[115] Content-Type:[text/plain; charset=utf-8] Date:[Fri, 15 Oct 2021 05:06:20 GMT]] Body:0xc00048c780 ContentLength:115 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000436900 TLS:} 2021/10/15 05:06:20 ui: Uploading box: /tmp/test156449028.box 2021/10/15 05:06:20 ui: Depending on your internet connection and the size of the box, this may take some time 2021/10/15 05:06:20 ui: Uploading box 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API Direct Upload: /tmp/test156449028.box http://127.0.0.1:42073/box-upload-path 2021/10/15 05:06:20 Post-Processor Vagrant Cloud Direct Upload Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: PUT Path: /box-upload-path] Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:20 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000436c00 TLS:} 2021/10/15 05:06:20 ui: Box successfully uploaded 2021/10/15 05:06:20 ui: Confirming direct box upload completion 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API Direct Upload Callback: http://127.0.0.1:38153/box-upload-complete 2021/10/15 05:06:20 Post-Processor Vagrant Cloud Direct Upload Callback Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: PUT Path: /box-upload-complete] Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:20 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc00004a100 TLS:} 2021/10/15 05:06:20 ui: Releasing version: 0.5 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API PUT: http://127.0.0.1:38153/box/hashicorp/precise64/version/0.5/release 2021/10/15 05:06:20 Post-Processor Vagrant Cloud API Response: &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Complete:[Method: PUT Path: /box/hashicorp/precise64/version/0.5/release] Content-Length:[0] Date:[Fri, 15 Oct 2021 05:06:20 GMT]] Body:{} ContentLength:0 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc00004a300 TLS:} 2021/10/15 05:06:20 ui: Version successfully released and available --- PASS: TestPostProcessor_PostProcess_uploadsDirectAndReleases (0.10s) === RUN TestPostProcessor_ImplementsPostProcessor --- PASS: TestPostProcessor_ImplementsPostProcessor (0.00s) === RUN TestProviderFromBuilderName --- PASS: TestProviderFromBuilderName (0.00s) === RUN TestProviderFromVagrantBox_missing_box 2021/10/15 05:06:20 Attempting to determine provider from metadata in box file. This may take some time... post-processor_test.go:447: Error attempting to open box file: open i_dont_exist.box: no such file or directory --- PASS: TestProviderFromVagrantBox_missing_box (0.00s) === RUN TestProviderFromVagrantBox_empty_box 2021/10/15 05:06:20 Attempting to determine provider from metadata in box file. This may take some time... post-processor_test.go:462: Error unzipping box archive: EOF --- PASS: TestProviderFromVagrantBox_empty_box (0.00s) === RUN TestProviderFromVagrantBox_gzip_only_box 2021/10/15 05:06:20 Attempting to determine provider from metadata in box file. This may take some time... post-processor_test.go:484: Error reading header info from box tar archive: unexpected EOF --- PASS: TestProviderFromVagrantBox_gzip_only_box (0.00s) === RUN TestProviderFromVagrantBox_no_files_in_archive 2021/10/15 05:06:20 Attempting to determine provider from metadata in box file. This may take some time... post-processor_test.go:499: Error: Provider info was not found in box: /tmp/test649672765.box --- PASS: TestProviderFromVagrantBox_no_files_in_archive (0.27s) === RUN TestProviderFromVagrantBox_no_metadata 2021/10/15 05:06:20 Attempting to determine provider from metadata in box file. This may take some time... post-processor_test.go:518: Error: Provider info was not found in box: /tmp/test325878904.box --- PASS: TestProviderFromVagrantBox_no_metadata (0.00s) === RUN TestProviderFromVagrantBox_metadata_empty 2021/10/15 05:06:20 Attempting to determine provider from metadata in box file. This may take some time... post-processor_test.go:538: Error parsing metadata.json file: unexpected end of JSON input --- PASS: TestProviderFromVagrantBox_metadata_empty (0.00s) === RUN TestProviderFromVagrantBox_metadata_bad_json 2021/10/15 05:06:20 Attempting to determine provider from metadata in box file. This may take some time... post-processor_test.go:558: Error parsing metadata.json file: invalid character 'p' looking for beginning of object key string --- PASS: TestProviderFromVagrantBox_metadata_bad_json (0.10s) === RUN TestProviderFromVagrantBox_metadata_no_provider_key 2021/10/15 05:06:20 Attempting to determine provider from metadata in box file. This may take some time... post-processor_test.go:578: Error: Could not determine Vagrant provider from box metadata.json file --- PASS: TestProviderFromVagrantBox_metadata_no_provider_key (0.00s) === RUN TestProviderFromVagrantBox_metadata_provider_value_empty 2021/10/15 05:06:20 Attempting to determine provider from metadata in box file. This may take some time... post-processor_test.go:598: Error: Could not determine Vagrant provider from box metadata.json file --- PASS: TestProviderFromVagrantBox_metadata_provider_value_empty (0.00s) === RUN TestProviderFromVagrantBox_metadata_ok 2021/10/15 05:06:20 Attempting to determine provider from metadata in box file. This may take some time... post-processor_test.go:620: Expected provider 'virtualbox'. Got provider 'virtualbox' --- PASS: TestProviderFromVagrantBox_metadata_ok (0.01s) === RUN TestGetProvider_artifice 2021/10/15 05:06:20 Attempting to determine provider from metadata in box file. This may take some time... post-processor_test.go:641: Expected provider 'virtualbox'. Got provider 'virtualbox' --- PASS: TestGetProvider_artifice (0.00s) === RUN TestGetProvider_other post-processor_test.go:649: Expected provider 'virtualbox'. Got provider 'virtualbox' --- PASS: TestGetProvider_other (0.00s) PASS ok github.com/hashicorp/packer/post-processor/vagrant-cloud 1.092s ? github.com/hashicorp/packer/post-processor/vagrant-cloud/version [no test files] === RUN TestArtifact_ImplementsArtifact --- PASS: TestArtifact_ImplementsArtifact (0.00s) === RUN TestArtifact_Id --- PASS: TestArtifact_Id (0.00s) === RUN TestArgs post-processor_test.go:47: ovftool --acceptAllEulas --name=my vm --datastore=my datastore --noSSLVerify=true --diskMode=thin --vmFolder=my folder something.vmx vi://me:notpassword@myhost/mydc/host/mycluster --- PASS: TestArgs (0.00s) === RUN TestGenerateURI_Basic --- PASS: TestGenerateURI_Basic (0.00s) === RUN TestGenerateURI_PasswordEscapes --- PASS: TestGenerateURI_PasswordEscapes (0.00s) === RUN TestGetEncodedPassword --- PASS: TestGetEncodedPassword (0.00s) PASS ok github.com/hashicorp/packer/post-processor/vsphere 0.193s ? github.com/hashicorp/packer/post-processor/vsphere/version [no test files] === RUN TestConfigure_Good --- PASS: TestConfigure_Good (0.00s) === RUN TestConfigure_ReRegisterVM --- PASS: TestConfigure_ReRegisterVM (0.00s) PASS ok github.com/hashicorp/packer/post-processor/vsphere-template 0.395s ? github.com/hashicorp/packer/post-processor/vsphere-template/version [no test files] === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare_Defaults 2021/10/15 05:06:29 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:29 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:29 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 --- PASS: TestProvisionerPrepare_Defaults (0.30s) === RUN TestProvisionerPrepare_PlaybookFile 2021/10/15 05:06:29 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:29 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 --- PASS: TestProvisionerPrepare_PlaybookFile (0.10s) === RUN TestProvisionerPrepare_HostKeyFile 2021/10/15 05:06:29 f9c993102c0a20d716cd does not exist 2021/10/15 05:06:29 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:29 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 --- PASS: TestProvisionerPrepare_HostKeyFile (0.10s) === RUN TestProvisionerPrepare_AuthorizedKeyFile 2021/10/15 05:06:29 8af30d1e0d2b5dc7b111 does not exist 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 --- PASS: TestProvisionerPrepare_AuthorizedKeyFile (0.10s) === RUN TestProvisionerPrepare_LocalPort 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 --- PASS: TestProvisionerPrepare_LocalPort (0.08s) === RUN TestProvisionerPrepare_InventoryDirectory 2021/10/15 05:06:30 doesnotexist does not exist 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 --- PASS: TestProvisionerPrepare_InventoryDirectory (0.19s) === RUN TestAnsibleGetVersion provisioner_test.go:313: This test is only run with PACKER_ACC=1 and it requires Ansible to be installed --- SKIP: TestAnsibleGetVersion (0.00s) === RUN TestAnsibleGetVersionError --- PASS: TestAnsibleGetVersionError (0.02s) === RUN TestAnsibleLongMessages provisioner_test.go:338: This test is only run with PACKER_ACC=1 and it requires Ansible to be installed --- SKIP: TestAnsibleLongMessages (0.00s) === RUN TestCreateInventoryFile 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:30 Creating inventory file for Ansible run... 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:30 Creating inventory file for Ansible run... 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:30 Creating inventory file for Ansible run... 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:30 Creating inventory file for Ansible run... 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:30 Creating inventory file for Ansible run... 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:30 Creating inventory file for Ansible run... --- PASS: TestCreateInventoryFile (0.32s) === RUN TestCreateCmdArgs 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:30 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 --- PASS: TestCreateCmdArgs (1.08s) === RUN TestUseProxy 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 ui: Provisioning with Ansible... 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 ui: Provisioning with Ansible... 2021/10/15 05:06:31 ui error: Warning: use_proxy is false, but instance does not have an IP address to give to Ansible. Falling back to use localhost proxy. 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 ui: Provisioning with Ansible... 2021/10/15 05:06:31 ui: Not using Proxy adapter for Ansible run: Using ssh keys from Packer communicator... 2021/10/15 05:06:31 Creating inventory file for Ansible run... 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 ui: Provisioning with Ansible... 2021/10/15 05:06:31 ui error: Warning: use_proxy is false, but communicator is neither ssh nor winrm, so without the proxy ansible will not function. Falling back to localhost proxy. 2021/10/15 05:06:31 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:31 ui: Provisioning with Ansible... 2021/10/15 05:06:32 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:32 ui: Provisioning with Ansible... 2021/10/15 05:06:32 ui: Not using Proxy adapter for Ansible run: Using WinRM Password from Packer communicator... 2021/10/15 05:06:32 Creating inventory file for Ansible run... 2021/10/15 05:06:32 /build/packer-mtIp6E/packer-1.6.6+ds1/_build/src/github.com/hashicorp/packer/provisioner/ansible/packer-ansible-stub.sh version: 1.6.0 2021/10/15 05:06:32 ui: Provisioning with Ansible... --- PASS: TestUseProxy (0.61s) PASS ok github.com/hashicorp/packer/provisioner/ansible 3.171s ? github.com/hashicorp/packer/provisioner/ansible/version [no test files] === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare_Defaults --- PASS: TestProvisionerPrepare_Defaults (0.00s) === RUN TestProvisionerPrepare_PlaybookFile --- PASS: TestProvisionerPrepare_PlaybookFile (0.00s) === RUN TestProvisionerPrepare_PlaybookFiles --- PASS: TestProvisionerPrepare_PlaybookFiles (0.00s) === RUN TestProvisionerProvision_PlaybookFiles 2021/10/15 05:06:51 ui: Provisioning with Ansible... 2021/10/15 05:06:51 ui: Creating Ansible staging directory... 2021/10/15 05:06:51 ui: Creating directory: /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d 2021/10/15 05:06:51 ui: Uploading playbook file: /tmp/363778042 2021/10/15 05:06:51 ui: Creating directory: /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d/tmp 2021/10/15 05:06:51 ui: Uploading playbook file: /tmp/659006225 2021/10/15 05:06:51 ui: Creating directory: /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d/tmp 2021/10/15 05:06:51 ui: Uploading playbook file: /tmp/998141244 2021/10/15 05:06:51 ui: Creating directory: /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d/tmp 2021/10/15 05:06:51 ui: Uploading inventory file... 2021/10/15 05:06:51 ui: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d/tmp/363778042 --extra-vars "packer_build_name= packer_builder_type= packer_http_addr=%!s() -o IdentitiesOnly=yes" -c local -i /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d/packer-provisioner-ansible-local653060971 2021/10/15 05:06:51 ui: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d/tmp/659006225 --extra-vars "packer_build_name= packer_builder_type= packer_http_addr=%!s() -o IdentitiesOnly=yes" -c local -i /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d/packer-provisioner-ansible-local653060971 2021/10/15 05:06:51 ui: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d/tmp/998141244 --extra-vars "packer_build_name= packer_builder_type= packer_http_addr=%!s() -o IdentitiesOnly=yes" -c local -i /tmp/packer-provisioner-ansible-local/61690c6b-4cf6-ed6f-66c7-a0a0fa9a744d/packer-provisioner-ansible-local653060971 --- PASS: TestProvisionerProvision_PlaybookFiles (0.07s) === RUN TestProvisionerProvision_PlaybookFilesWithPlaybookDir 2021/10/15 05:06:51 ui: Provisioning with Ansible... 2021/10/15 05:06:51 ui: Uploading Playbook directory to Ansible staging directory... 2021/10/15 05:06:51 ui: Creating directory: /tmp/packer-provisioner-ansible-local/61690c6b-6905-e51d-310b-85c9e0bde6f8 2021/10/15 05:06:51 ui: Uploading inventory file... 2021/10/15 05:06:51 ui: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/61690c6b-6905-e51d-310b-85c9e0bde6f8 && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/61690c6b-6905-e51d-310b-85c9e0bde6f8/985269973 --extra-vars "packer_build_name= packer_builder_type= packer_http_addr=%!s() -o IdentitiesOnly=yes" -c local -i /tmp/packer-provisioner-ansible-local/61690c6b-6905-e51d-310b-85c9e0bde6f8/packer-provisioner-ansible-local524543202 2021/10/15 05:06:51 ui: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/61690c6b-6905-e51d-310b-85c9e0bde6f8 && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/61690c6b-6905-e51d-310b-85c9e0bde6f8/023538224 --extra-vars "packer_build_name= packer_builder_type= packer_http_addr=%!s() -o IdentitiesOnly=yes" -c local -i /tmp/packer-provisioner-ansible-local/61690c6b-6905-e51d-310b-85c9e0bde6f8/packer-provisioner-ansible-local524543202 2021/10/15 05:06:51 ui: Executing Ansible: cd /tmp/packer-provisioner-ansible-local/61690c6b-6905-e51d-310b-85c9e0bde6f8 && ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 ansible-playbook /tmp/packer-provisioner-ansible-local/61690c6b-6905-e51d-310b-85c9e0bde6f8/284533711 --extra-vars "packer_build_name= packer_builder_type= packer_http_addr=%!s() -o IdentitiesOnly=yes" -c local -i /tmp/packer-provisioner-ansible-local/61690c6b-6905-e51d-310b-85c9e0bde6f8/packer-provisioner-ansible-local524543202 --- PASS: TestProvisionerProvision_PlaybookFilesWithPlaybookDir (0.01s) === RUN TestProvisionerPrepare_InventoryFile --- PASS: TestProvisionerPrepare_InventoryFile (0.00s) === RUN TestProvisionerPrepare_Dirs --- PASS: TestProvisionerPrepare_Dirs (0.10s) === RUN TestProvisionerPrepare_CleanStagingDir --- PASS: TestProvisionerPrepare_CleanStagingDir (0.07s) === RUN TestProvisionerProvisionDocker_PlaybookFiles provisioner_test.go:328: This test is only run with PACKER_ACC=1 --- SKIP: TestProvisionerProvisionDocker_PlaybookFiles (0.00s) === RUN TestProvisionerProvisionDocker_PlaybookFilesWithPlaybookDir provisioner_test.go:328: This test is only run with PACKER_ACC=1 --- SKIP: TestProvisionerProvisionDocker_PlaybookFilesWithPlaybookDir (0.00s) PASS ok github.com/hashicorp/packer/provisioner/ansible-local 0.401s ? github.com/hashicorp/packer/provisioner/ansible-local/version [no test files] ? github.com/hashicorp/packer/provisioner/azure-dtlartifact [no test files] ? github.com/hashicorp/packer/provisioner/azure-dtlartifact/version [no test files] ? github.com/hashicorp/packer/provisioner/breakpoint [no test files] ? github.com/hashicorp/packer/provisioner/breakpoint/version [no test files] === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare_chefEnvironment --- PASS: TestProvisionerPrepare_chefEnvironment (0.00s) === RUN TestProvisionerPrepare_configTemplate --- PASS: TestProvisionerPrepare_configTemplate (0.02s) === RUN TestProvisionerPrepare_commands --- PASS: TestProvisionerPrepare_commands (0.07s) === RUN TestProvisionerPrepare_serverUrl --- PASS: TestProvisionerPrepare_serverUrl (0.00s) === RUN TestProvisionerPrepare_chefLicense --- PASS: TestProvisionerPrepare_chefLicense (0.00s) === RUN TestProvisionerPrepare_encryptedDataBagSecretPath --- PASS: TestProvisionerPrepare_encryptedDataBagSecretPath (0.00s) === RUN TestProvisioner_createDir 2021/10/15 05:06:34 ui: Creating directory: /tmp/foo 2021/10/15 05:06:34 ui: Creating directory: /tmp/foo --- PASS: TestProvisioner_createDir (0.00s) === RUN TestProvisioner_removeDir 2021/10/15 05:06:34 ui: Removing directory: /tmp/foo 2021/10/15 05:06:34 ui: Removing directory: /tmp/foo --- PASS: TestProvisioner_removeDir (0.01s) === RUN TestProvisionerPrepare_policy --- PASS: TestProvisionerPrepare_policy (0.09s) PASS ok github.com/hashicorp/packer/provisioner/chef-client 0.389s ? github.com/hashicorp/packer/provisioner/chef-client/version [no test files] === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare_chefEnvironment --- PASS: TestProvisionerPrepare_chefEnvironment (0.00s) === RUN TestProvisionerPrepare_chefLicense --- PASS: TestProvisionerPrepare_chefLicense (0.00s) === RUN TestProvisionerPrepare_configTemplate --- PASS: TestProvisionerPrepare_configTemplate (0.02s) === RUN TestProvisionerPrepare_cookbookPaths --- PASS: TestProvisionerPrepare_cookbookPaths (0.07s) === RUN TestProvisionerPrepare_dataBagsPath --- PASS: TestProvisionerPrepare_dataBagsPath (0.00s) === RUN TestProvisionerPrepare_encryptedDataBagSecretPath --- PASS: TestProvisionerPrepare_encryptedDataBagSecretPath (0.02s) === RUN TestProvisionerPrepare_environmentsPath --- PASS: TestProvisionerPrepare_environmentsPath (0.00s) === RUN TestProvisionerPrepare_rolesPath --- PASS: TestProvisionerPrepare_rolesPath (0.00s) === RUN TestProvisionerPrepare_json --- PASS: TestProvisionerPrepare_json (0.00s) === RUN TestProvisionerPrepare_jsonNested --- PASS: TestProvisionerPrepare_jsonNested (0.00s) PASS ok github.com/hashicorp/packer/provisioner/chef-solo 0.420s ? github.com/hashicorp/packer/provisioner/chef-solo/version [no test files] === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare === RUN TestProvisionerPrepare/defaults === RUN TestProvisionerPrepare/defaults/working_directory === RUN TestProvisionerPrepare/defaults/execute_command === RUN TestProvisionerPrepare/defaults/bootstrap_command === RUN TestProvisionerPrepare/validate === RUN TestProvisionerPrepare/validate/module_dir === RUN TestProvisionerPrepare/validate/module_dir/missing_source === RUN TestProvisionerPrepare/validate/module_dir/missing_destination === RUN TestProvisionerPrepare/validate/no_module_specified --- PASS: TestProvisionerPrepare (0.08s) --- PASS: TestProvisionerPrepare/defaults (0.00s) --- PASS: TestProvisionerPrepare/defaults/working_directory (0.00s) --- PASS: TestProvisionerPrepare/defaults/execute_command (0.00s) --- PASS: TestProvisionerPrepare/defaults/bootstrap_command (0.00s) --- PASS: TestProvisionerPrepare/validate (0.00s) --- PASS: TestProvisionerPrepare/validate/module_dir (0.00s) --- PASS: TestProvisionerPrepare/validate/module_dir/missing_source (0.00s) --- PASS: TestProvisionerPrepare/validate/module_dir/missing_destination (0.00s) --- PASS: TestProvisionerPrepare/validate/no_module_specified (0.00s) PASS ok github.com/hashicorp/packer/provisioner/converge 0.199s ? github.com/hashicorp/packer/provisioner/converge/version [no test files] === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare_InvalidKey --- PASS: TestProvisionerPrepare_InvalidKey (0.00s) === RUN TestProvisionerPrepare_InvalidSource --- PASS: TestProvisionerPrepare_InvalidSource (0.00s) === RUN TestProvisionerPrepare_ValidSource --- PASS: TestProvisionerPrepare_ValidSource (0.00s) === RUN TestProvisionerPrepare_GeneratedSource --- PASS: TestProvisionerPrepare_GeneratedSource (0.00s) === RUN TestProvisionerPrepare_EmptyDestination --- PASS: TestProvisionerPrepare_EmptyDestination (0.00s) === RUN TestProvisionerProvision_SendsFile 2021/10/15 05:06:47 ui: Uploading /tmp/packer910416091 => something --- PASS: TestProvisionerProvision_SendsFile (0.00s) === RUN TestProvisionerProvision_SendsFileMultipleFiles 2021/10/15 05:06:47 ui: Uploading /tmp/packer866859134 => something 2021/10/15 05:06:47 ui: Uploading /tmp/packer565932485 => something --- PASS: TestProvisionerProvision_SendsFileMultipleFiles (0.01s) === RUN TestProvisionerProvision_SendsFileMultipleDirs 2021/10/15 05:06:47 ui: Uploading /tmp/packerdir570435680 => something 2021/10/15 05:06:47 ui: Uploading /tmp/packerdir424046738 => something --- PASS: TestProvisionerProvision_SendsFileMultipleDirs (0.02s) === RUN TestProvisionerProvision_SendsFileMultipleFilesToFolder 2021/10/15 05:06:47 ui: Uploading /tmp/packer489216916 => something/ 2021/10/15 05:06:47 ui: Uploading /tmp/packer721090019 => something/ --- PASS: TestProvisionerProvision_SendsFileMultipleFilesToFolder (0.08s) === RUN TestProvisionDownloadMkdirAll 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/dir/subdir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/dir/subdir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/dir/subdir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/dir/subdir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/dir/subdir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/dir/subdir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/dir/subdir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/path/to/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/path/to/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/path/to/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/path/to/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/path/to/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/path/to/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/path/to/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/path/to/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/path/to/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/path/to/dir/something 2021/10/15 05:06:47 ui: Downloading /tmp/packer-file025774566/packer203590157 => /tmp/packer-file025774566/path/to/dir/something --- PASS: TestProvisionDownloadMkdirAll (0.39s) PASS ok github.com/hashicorp/packer/provisioner/file 0.888s ? github.com/hashicorp/packer/provisioner/file/version [no test files] === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare_Defaults --- PASS: TestProvisionerPrepare_Defaults (0.02s) === RUN TestProvisionerPrepare_ProfileFile --- PASS: TestProvisionerPrepare_ProfileFile (0.08s) === RUN TestProvisionerPrepare_HostKeyFile 2021/10/15 05:06:58 67d9984ddeee9367ce71 does not exist --- PASS: TestProvisionerPrepare_HostKeyFile (0.00s) === RUN TestProvisionerPrepare_AuthorizedKeyFiles 2021/10/15 05:06:58 395d7d60ae2a49206816 does not exist --- PASS: TestProvisionerPrepare_AuthorizedKeyFiles (0.00s) === RUN TestProvisionerPrepare_LocalPort --- PASS: TestProvisionerPrepare_LocalPort (0.00s) === RUN TestInspecGetVersion provisioner_test.go:272: This test is only run with PACKER_ACC=1 and it requires InSpec to be installed --- SKIP: TestInspecGetVersion (0.00s) === RUN TestInspecGetVersionError --- PASS: TestInspecGetVersionError (0.01s) PASS ok github.com/hashicorp/packer/provisioner/inspec 0.379s ? github.com/hashicorp/packer/provisioner/inspec/version [no test files] === RUN TestExecutionPolicy_Decode --- PASS: TestExecutionPolicy_Decode (0.00s) === RUN TestProvisionerPrepare_extractScript 2021/10/15 05:07:06 Found command: foo 2021/10/15 05:07:06 Found command: bar provisioner_test.go:29: File: /tmp/powershell-provisioner379651191 --- PASS: TestProvisionerPrepare_extractScript (0.00s) === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare_Defaults --- PASS: TestProvisionerPrepare_Defaults (0.00s) === RUN TestProvisionerPrepare_Config --- PASS: TestProvisionerPrepare_Config (0.10s) === RUN TestProvisionerPrepare_DebugMode --- PASS: TestProvisionerPrepare_DebugMode (0.00s) === RUN TestProvisionerPrepare_InvalidDebugMode --- PASS: TestProvisionerPrepare_InvalidDebugMode (0.00s) === RUN TestProvisionerPrepare_InvalidKey --- PASS: TestProvisionerPrepare_InvalidKey (0.00s) === RUN TestProvisionerPrepare_Elevated --- PASS: TestProvisionerPrepare_Elevated (0.07s) === RUN TestProvisionerPrepare_Script --- PASS: TestProvisionerPrepare_Script (0.00s) === RUN TestProvisionerPrepare_ScriptAndInline --- PASS: TestProvisionerPrepare_ScriptAndInline (0.00s) === RUN TestProvisionerPrepare_ScriptAndScripts --- PASS: TestProvisionerPrepare_ScriptAndScripts (0.01s) === RUN TestProvisionerPrepare_Scripts --- PASS: TestProvisionerPrepare_Scripts (0.00s) === RUN TestProvisionerPrepare_EnvironmentVars --- PASS: TestProvisionerPrepare_EnvironmentVars (0.01s) === RUN TestProvisionerQuote_EnvironmentVars --- PASS: TestProvisionerQuote_EnvironmentVars (0.00s) === RUN TestProvisionerProvision_ValidExitCodes 2021/10/15 05:07:07 ui: Provisioning with Powershell... 2021/10/15 05:07:07 Found command: whoami 2021/10/15 05:07:07 ui: Provisioning with powershell script: /tmp/powershell-provisioner897681982 2021/10/15 05:07:07 Opening /tmp/powershell-provisioner897681982 for reading 2021/10/15 05:07:07 Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-61690c7b-e70d-a36a-0420-27c1e19677e4.ps1 2021/10/15 05:07:07 c:/Windows/Temp/inlineScript.ps1 returned with exit code 200 --- PASS: TestProvisionerProvision_ValidExitCodes (0.00s) === RUN TestProvisionerProvision_InvalidExitCodes 2021/10/15 05:07:07 ui: Provisioning with Powershell... 2021/10/15 05:07:07 Found command: whoami 2021/10/15 05:07:07 ui: Provisioning with powershell script: /tmp/powershell-provisioner956682885 2021/10/15 05:07:07 Opening /tmp/powershell-provisioner956682885 for reading 2021/10/15 05:07:07 Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-61690c7b-d73e-4674-7bfa-ed98e8fc1897.ps1 2021/10/15 05:07:07 c:/Windows/Temp/inlineScript.ps1 returned with exit code 201 --- PASS: TestProvisionerProvision_InvalidExitCodes (0.07s) === RUN TestProvisionerProvision_Inline 2021/10/15 05:07:07 ui: Provisioning with Powershell... 2021/10/15 05:07:07 Found command: whoami 2021/10/15 05:07:07 ui: Provisioning with powershell script: /tmp/powershell-provisioner252091936 2021/10/15 05:07:07 Opening /tmp/powershell-provisioner252091936 for reading 2021/10/15 05:07:07 Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-61690c7b-1d0e-9b1b-9724-c6b76f6c0c93.ps1 2021/10/15 05:07:07 c:/Windows/Temp/inlineScript.ps1 returned with exit code 0 2021/10/15 05:07:07 ui: Provisioning with Powershell... 2021/10/15 05:07:07 Found command: whoami 2021/10/15 05:07:07 ui: Provisioning with powershell script: /tmp/powershell-provisioner168323327 2021/10/15 05:07:07 Opening /tmp/powershell-provisioner168323327 for reading 2021/10/15 05:07:07 Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-61690c7b-1d0e-9b1b-9724-c6b76f6c0c93.ps1 2021/10/15 05:07:07 c:/Windows/Temp/inlineScript.ps1 returned with exit code 0 --- PASS: TestProvisionerProvision_Inline (0.02s) === RUN TestProvisionerProvision_Scripts 2021/10/15 05:07:07 ui: Provisioning with Powershell... 2021/10/15 05:07:07 ui: Provisioning with powershell script: /tmp/packer877225554 2021/10/15 05:07:07 Opening /tmp/packer877225554 for reading 2021/10/15 05:07:07 Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-61690c7b-99b0-bdee-263c-9d17d89f0f12.ps1 2021/10/15 05:07:07 c:/Windows/Temp/script.ps1 returned with exit code 0 --- PASS: TestProvisionerProvision_Scripts (0.00s) === RUN TestProvisionerProvision_ScriptsWithEnvVars 2021/10/15 05:07:07 ui: Provisioning with Powershell... 2021/10/15 05:07:07 ui: Provisioning with powershell script: /tmp/packer552587657 2021/10/15 05:07:07 Opening /tmp/packer552587657 for reading 2021/10/15 05:07:07 Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-61690c7b-8053-996c-92cc-c83e74b30319.ps1 2021/10/15 05:07:07 c:/Windows/Temp/script.ps1 returned with exit code 0 --- PASS: TestProvisionerProvision_ScriptsWithEnvVars (0.01s) === RUN TestProvisionerProvision_SkipClean 2021/10/15 05:07:07 ui: Provisioning with Powershell... 2021/10/15 05:07:07 ui: Provisioning with powershell script: /tmp/packer967429972 2021/10/15 05:07:07 Opening /tmp/packer967429972 for reading 2021/10/15 05:07:07 Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-61690c7b-76e2-f8bd-378f-54c4d9244303.ps1 2021/10/15 05:07:07 c:/Windows/Temp/script.ps1 returned with exit code 0 2021/10/15 05:07:07 ui: Provisioning with Powershell... 2021/10/15 05:07:07 ui: Provisioning with powershell script: /tmp/packer967429972 2021/10/15 05:07:07 Opening /tmp/packer967429972 for reading 2021/10/15 05:07:07 Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-61690c7b-5bc5-3fb8-136b-f6a8644e37c8.ps1 2021/10/15 05:07:07 c:/Windows/Temp/script.ps1 returned with exit code 0 --- PASS: TestProvisionerProvision_SkipClean (0.00s) === RUN TestProvisionerProvision_UploadFails 2021/10/15 05:07:07 ui: Provisioning with Powershell... 2021/10/15 05:07:07 Found command: foo 2021/10/15 05:07:07 Found command: bar 2021/10/15 05:07:07 ui: Provisioning with powershell script: /tmp/powershell-provisioner508292771 2021/10/15 05:07:07 Opening /tmp/powershell-provisioner508292771 for reading 2021/10/15 05:07:07 Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-61690c7b-d94d-6749-f2f2-e084da0d362e.ps1 2021/10/15 05:07:07 Retryable error: Error uploading script: ScriptUploadErrorMockCommunicator Upload error 2021/10/15 05:07:09 Retryable error: Error uploading script: ScriptUploadErrorMockCommunicator Upload error --- PASS: TestProvisionerProvision_UploadFails (2.07s) === RUN TestProvisioner_createFlattenedElevatedEnvVars_windows 2021/10/15 05:07:09 Env var bar$baz converted to bar`$baz after escaping chars special to PS 2021/10/15 05:07:09 Env var bar"baz converted to bar`"baz after escaping chars special to PS 2021/10/15 05:07:09 Env var bar'baz converted to bar`'baz after escaping chars special to PS 2021/10/15 05:07:09 Env var bar`baz converted to bar``baz after escaping chars special to PS --- PASS: TestProvisioner_createFlattenedElevatedEnvVars_windows (0.00s) === RUN TestProvisionerCorrectlyInterpolatesValidExitCodes --- PASS: TestProvisionerCorrectlyInterpolatesValidExitCodes (0.01s) === RUN TestProvisionerCorrectlyInterpolatesExecutionPolicy --- PASS: TestProvisionerCorrectlyInterpolatesExecutionPolicy (0.12s) === RUN TestProvisioner_createFlattenedEnvVars_windows 2021/10/15 05:07:09 Env var bar$baz converted to bar`$baz after escaping chars special to PS 2021/10/15 05:07:09 Env var bar"baz converted to bar`"baz after escaping chars special to PS 2021/10/15 05:07:09 Env var bar'baz converted to bar`'baz after escaping chars special to PS 2021/10/15 05:07:09 Env var bar`baz converted to bar``baz after escaping chars special to PS --- PASS: TestProvisioner_createFlattenedEnvVars_windows (0.00s) === RUN TestProvision_createCommandText 2021/10/15 05:07:09 Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-61690c7d-52fa-e9ee-28c7-a2ddfe873ab2.ps1 2021/10/15 05:07:09 Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-61690c7d-52fa-e9ee-28c7-a2ddfe873ab2.ps1 2021/10/15 05:07:09 Building elevated command wrapper for: powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-61690c7d-52fa-e9ee-28c7-a2ddfe873ab2.ps1; &'c:/Windows/Temp/script.ps1'; exit $LastExitCode }" 2021/10/15 05:07:09 Command [powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-61690c7d-52fa-e9ee-28c7-a2ddfe873ab2.ps1; &'c:/Windows/Temp/script.ps1'; exit $LastExitCode }" > %SYSTEMROOT%/Temp/packer-61690c7d-9ae9-318e-2bd9-5cbb03d7e161.out 2>&1] converted to [powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-61690c7d-52fa-e9ee-28c7-a2ddfe873ab2.ps1; &'c:/Windows/Temp/script.ps1'; exit $LastExitCode }" > %SYSTEMROOT%/Temp/packer-61690c7d-9ae9-318e-2bd9-5cbb03d7e161.out 2>&1] for use in XML string 2021/10/15 05:07:09 Uploading elevated shell wrapper for command [powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-61690c7d-52fa-e9ee-28c7-a2ddfe873ab2.ps1; &'c:/Windows/Temp/script.ps1'; exit $LastExitCode }" > %SYSTEMROOT%/Temp/packer-61690c7d-9ae9-318e-2bd9-5cbb03d7e161.out 2>&1] to [C:/Windows/Temp/packer-elevated-shell-61690c7d-b4da-a930-c780-986ade8c2139.ps1] --- PASS: TestProvision_createCommandText (0.07s) === RUN TestProvision_uploadEnvVars 2021/10/15 05:07:09 Uploading env vars to --- PASS: TestProvision_uploadEnvVars (0.00s) === RUN TestCancel --- PASS: TestCancel (0.00s) === RUN TestAccPowershellProvisioner_basic provisioners.go:263: Provisioners Acceptance tests skipped unless env 'ACC_TEST_BUILDERS' is set --- SKIP: TestAccPowershellProvisioner_basic (0.00s) === RUN TestAccPowershellProvisioner_Inline provisioners.go:263: Provisioners Acceptance tests skipped unless env 'ACC_TEST_BUILDERS' is set --- SKIP: TestAccPowershellProvisioner_Inline (0.00s) === RUN TestAccPowershellProvisioner_Script provisioners.go:263: Provisioners Acceptance tests skipped unless env 'ACC_TEST_BUILDERS' is set --- SKIP: TestAccPowershellProvisioner_Script (0.00s) PASS ok github.com/hashicorp/packer/provisioner/powershell 2.872s ? github.com/hashicorp/packer/provisioner/powershell/version [no test files] === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestGuestOSConfig_empty_unix 2021/10/15 05:07:00 cd {{.WorkingDir}} && {{if ne .FacterVars ""}}{{.FacterVars}} {{end}}{{if .Sudo}}sudo -E {{end}}{{if ne .PuppetBinDir ""}}{{.PuppetBinDir}}/{{end}}puppet apply --detailed-exitcodes {{if .Debug}}--debug {{end}}{{if ne .ModulePath ""}}--modulepath='{{.ModulePath}}' {{end}}{{if ne .HieraConfigPath ""}}--hiera_config='{{.HieraConfigPath}}' {{end}}{{if ne .ManifestDir ""}}--manifestdir='{{.ManifestDir}}' {{end}}{{if ne .ExtraArguments ""}}{{.ExtraArguments}} {{end}}{{.ManifestFile}} --- PASS: TestGuestOSConfig_empty_unix (0.00s) === RUN TestGuestOSConfig_full_unix --- PASS: TestGuestOSConfig_full_unix (0.01s) === RUN TestGuestOSConfig_empty_windows 2021/10/15 05:07:00 cd {{.WorkingDir}} && {{if ne .FacterVars ""}}{{.FacterVars}} && {{end}}{{if ne .PuppetBinDir ""}}{{.PuppetBinDir}}/{{end}}puppet apply --detailed-exitcodes {{if .Debug}}--debug {{end}}{{if ne .ModulePath ""}}--modulepath='{{.ModulePath}}' {{end}}{{if ne .HieraConfigPath ""}}--hiera_config='{{.HieraConfigPath}}' {{end}}{{if ne .ManifestDir ""}}--manifestdir='{{.ManifestDir}}' {{end}}{{if ne .ExtraArguments ""}}{{.ExtraArguments}} {{end}}{{.ManifestFile}} --- PASS: TestGuestOSConfig_empty_windows (0.00s) === RUN TestGuestOSConfig_full_windows --- PASS: TestGuestOSConfig_full_windows (0.00s) === RUN TestProvisionerPrepare_puppetBinDir --- PASS: TestProvisionerPrepare_puppetBinDir (0.00s) === RUN TestProvisionerPrepare_hieraConfigPath --- PASS: TestProvisionerPrepare_hieraConfigPath (0.19s) === RUN TestProvisionerPrepare_manifestFile --- PASS: TestProvisionerPrepare_manifestFile (0.00s) === RUN TestProvisionerPrepare_manifestDir --- PASS: TestProvisionerPrepare_manifestDir (0.01s) === RUN TestProvisionerPrepare_modulePaths --- PASS: TestProvisionerPrepare_modulePaths (0.10s) === RUN TestProvisionerPrepare_facterFacts --- PASS: TestProvisionerPrepare_facterFacts (0.00s) === RUN TestProvisionerPrepare_extraArguments --- PASS: TestProvisionerPrepare_extraArguments (0.09s) === RUN TestProvisionerPrepare_stagingDir --- PASS: TestProvisionerPrepare_stagingDir (0.08s) === RUN TestProvisionerPrepare_workingDir --- PASS: TestProvisionerPrepare_workingDir (0.00s) === RUN TestProvisionerProvision_extraArguments 2021/10/15 05:07:01 1634274421,,ui,say,Provisioning with Puppet... 2021/10/15 05:07:01 1634274421,,ui,message,Creating Puppet staging directory... 2021/10/15 05:07:01 1634274421,,ui,message,Creating directory: /tmp/packer-puppet-masterless 2021/10/15 05:07:01 1634274421,,ui,message,Uploading manifests... 2021/10/15 05:07:01 1634274421,,ui,message,Creating directory: /tmp/packer-puppet-masterless/manifests 2021/10/15 05:07:01 1634274421,,ui,message,Uploading manifest file from: /tmp/packer457554368 2021/10/15 05:07:01 1634274421,,ui,message,Running Puppet: cd /tmp/packer-puppet-masterless && FACTER_packer_build_name='' FACTER_packer_builder_type='' sudo -E puppet apply --detailed-exitcodes --some-arg=yup --some-other-arg /tmp/packer-puppet-masterless/manifests/packer457554368 2021/10/15 05:07:01 1634274421,,ui,say,Provisioning with Puppet... 2021/10/15 05:07:01 1634274421,,ui,message,Creating Puppet staging directory... 2021/10/15 05:07:01 1634274421,,ui,message,Creating directory: /tmp/packer-puppet-masterless 2021/10/15 05:07:01 1634274421,,ui,message,Uploading manifests... 2021/10/15 05:07:01 1634274421,,ui,message,Creating directory: /tmp/packer-puppet-masterless/manifests 2021/10/15 05:07:01 1634274421,,ui,message,Uploading manifest file from: /tmp/packer457554368 2021/10/15 05:07:01 1634274421,,ui,message,Running Puppet: cd /tmp/packer-puppet-masterless && FACTER_packer_builder_type='' FACTER_packer_build_name='' sudo -E puppet apply --detailed-exitcodes /tmp/packer-puppet-masterless/manifests/packer457554368 --- PASS: TestProvisionerProvision_extraArguments (0.03s) PASS ok github.com/hashicorp/packer/provisioner/puppet-masterless 0.706s ? github.com/hashicorp/packer/provisioner/puppet-masterless/version [no test files] === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare_puppetBinDir --- PASS: TestProvisionerPrepare_puppetBinDir (0.09s) === RUN TestProvisionerPrepare_clientPrivateKeyPath --- PASS: TestProvisionerPrepare_clientPrivateKeyPath (0.00s) === RUN TestProvisionerPrepare_clientCertPath --- PASS: TestProvisionerPrepare_clientCertPath (0.00s) === RUN TestProvisionerPrepare_executeCommand --- PASS: TestProvisionerPrepare_executeCommand (0.00s) === RUN TestProvisionerPrepare_facterFacts --- PASS: TestProvisionerPrepare_facterFacts (0.01s) === RUN TestProvisionerPrepare_stagingDir --- PASS: TestProvisionerPrepare_stagingDir (0.00s) PASS ok github.com/hashicorp/packer/provisioner/puppet-server 0.130s ? github.com/hashicorp/packer/provisioner/puppet-server/version [no test files] === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare_Defaults --- PASS: TestProvisionerPrepare_Defaults (0.00s) === RUN TestProvisionerPrepare_InvalidKey --- PASS: TestProvisionerPrepare_InvalidKey (0.00s) === RUN TestProvisionerPrepare_CustomState --- PASS: TestProvisionerPrepare_CustomState (0.00s) === RUN TestProvisionerPrepare_MinionConfig --- PASS: TestProvisionerPrepare_MinionConfig (0.00s) === RUN TestProvisionerPrepare_MinionConfig_RemoteStateTree --- PASS: TestProvisionerPrepare_MinionConfig_RemoteStateTree (0.00s) === RUN TestProvisionerPrepare_MinionConfig_RemotePillarRoots --- PASS: TestProvisionerPrepare_MinionConfig_RemotePillarRoots (0.00s) === RUN TestProvisionerPrepare_GrainsFile --- PASS: TestProvisionerPrepare_GrainsFile (0.00s) === RUN TestProvisionerPrepare_LocalStateTree --- PASS: TestProvisionerPrepare_LocalStateTree (0.00s) === RUN TestProvisionerPrepare_LocalPillarRoots --- PASS: TestProvisionerPrepare_LocalPillarRoots (0.00s) === RUN TestProvisionerSudo --- PASS: TestProvisionerSudo (0.00s) === RUN TestProvisionerPrepare_RemoteStateTree --- PASS: TestProvisionerPrepare_RemoteStateTree (0.00s) === RUN TestProvisionerPrepare_RemotePillarRoots --- PASS: TestProvisionerPrepare_RemotePillarRoots (0.00s) === RUN TestProvisionerPrepare_RemoteStateTree_Default --- PASS: TestProvisionerPrepare_RemoteStateTree_Default (0.00s) === RUN TestProvisionerPrepare_RemotePillarRoots_Default --- PASS: TestProvisionerPrepare_RemotePillarRoots_Default (0.00s) === RUN TestProvisionerPrepare_NoExitOnFailure --- PASS: TestProvisionerPrepare_NoExitOnFailure (0.00s) === RUN TestProvisionerPrepare_LogLevel --- PASS: TestProvisionerPrepare_LogLevel (0.00s) === RUN TestProvisionerPrepare_GuestOSType --- PASS: TestProvisionerPrepare_GuestOSType (0.00s) === RUN TestProvisionerPrepare_BadFormulaURL --- PASS: TestProvisionerPrepare_BadFormulaURL (0.00s) === RUN TestProvisionerPrepare_ValidFormulaURLs --- PASS: TestProvisionerPrepare_ValidFormulaURLs (0.00s) PASS ok github.com/hashicorp/packer/provisioner/salt-masterless 0.304s ? github.com/hashicorp/packer/provisioner/salt-masterless/version [no test files] === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare_Defaults --- PASS: TestProvisionerPrepare_Defaults (0.00s) === RUN TestProvisionerPrepare_ExpectDisconnect --- PASS: TestProvisionerPrepare_ExpectDisconnect (0.00s) === RUN TestProvisionerPrepare_InlineShebang --- PASS: TestProvisionerPrepare_InlineShebang (0.00s) === RUN TestProvisionerPrepare_InvalidKey --- PASS: TestProvisionerPrepare_InvalidKey (0.00s) === RUN TestProvisionerPrepare_Script --- PASS: TestProvisionerPrepare_Script (0.01s) === RUN TestProvisionerPrepare_ScriptAndInline --- PASS: TestProvisionerPrepare_ScriptAndInline (0.00s) === RUN TestProvisionerPrepare_ScriptAndScripts --- PASS: TestProvisionerPrepare_ScriptAndScripts (0.00s) === RUN TestProvisionerPrepare_Scripts --- PASS: TestProvisionerPrepare_Scripts (0.00s) === RUN TestProvisionerPrepare_EnvironmentVars --- PASS: TestProvisionerPrepare_EnvironmentVars (0.08s) === RUN TestProvisioner_createFlattenedEnvVars --- PASS: TestProvisioner_createFlattenedEnvVars (0.00s) === RUN TestProvisioner_createFlattenedEnvVars_withEnvVarFormat --- PASS: TestProvisioner_createFlattenedEnvVars_withEnvVarFormat (0.00s) === RUN TestProvisioner_createEnvVarFileContent --- PASS: TestProvisioner_createEnvVarFileContent (0.02s) === RUN TestProvisioner_createEnvVarFileContent_withEnvVarFormat --- PASS: TestProvisioner_createEnvVarFileContent_withEnvVarFormat (0.00s) === RUN TestProvisioner_RemoteFolderSetSuccessfully --- PASS: TestProvisioner_RemoteFolderSetSuccessfully (0.00s) === RUN TestProvisioner_RemoteFolderDefaultsToTmp --- PASS: TestProvisioner_RemoteFolderDefaultsToTmp (0.00s) === RUN TestProvisioner_RemoteFileSetSuccessfully --- PASS: TestProvisioner_RemoteFileSetSuccessfully (0.00s) === RUN TestProvisioner_RemoteFileDefaultsToScriptnnnn --- PASS: TestProvisioner_RemoteFileDefaultsToScriptnnnn (0.00s) === RUN TestProvisioner_RemotePathSetViaRemotePathAndRemoteFile --- PASS: TestProvisioner_RemotePathSetViaRemotePathAndRemoteFile (0.00s) === RUN TestProvisioner_RemotePathOverridesRemotePathAndRemoteFile --- PASS: TestProvisioner_RemotePathOverridesRemotePathAndRemoteFile (0.00s) === RUN TestProvisionerRemotePathDefaultsSuccessfully --- PASS: TestProvisionerRemotePathDefaultsSuccessfully (0.00s) === RUN TestUnixReader_impl --- PASS: TestUnixReader_impl (0.00s) === RUN TestUnixReader --- PASS: TestUnixReader (0.00s) === RUN TestUnixReader_unixOnly --- PASS: TestUnixReader_unixOnly (0.00s) === RUN TestUnixReader_readsLastLine --- PASS: TestUnixReader_readsLastLine (0.00s) === RUN TestAccShellProvisioner_basic provisioners.go:263: Provisioners Acceptance tests skipped unless env 'ACC_TEST_BUILDERS' is set --- SKIP: TestAccShellProvisioner_basic (0.07s) PASS ok github.com/hashicorp/packer/provisioner/shell 0.505s ? github.com/hashicorp/packer/provisioner/shell/version [no test files] === RUN TestProvisioner_impl --- PASS: TestProvisioner_impl (0.00s) === RUN TestConfigPrepare --- PASS: TestConfigPrepare (0.00s) === RUN TestAccShellProvisioner_basic provisioners.go:263: Provisioners Acceptance tests skipped unless env 'ACC_TEST_BUILDERS' is set --- SKIP: TestAccShellProvisioner_basic (0.00s) PASS ok github.com/hashicorp/packer/provisioner/shell-local 0.388s ? github.com/hashicorp/packer/provisioner/shell-local/version [no test files] === RUN TestConfigPrepare_1s --- PASS: TestConfigPrepare_1s (0.00s) === RUN TestProvisioner_Provision === RUN TestProvisioner_Provision/valid_sleep === RUN TestProvisioner_Provision/timeout --- PASS: TestProvisioner_Provision (0.01s) --- PASS: TestProvisioner_Provision/valid_sleep (0.01s) --- PASS: TestProvisioner_Provision/timeout (0.00s) PASS ok github.com/hashicorp/packer/provisioner/sleep 0.296s ? github.com/hashicorp/packer/provisioner/sleep/version [no test files] === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare_Defaults --- PASS: TestProvisionerPrepare_Defaults (0.00s) === RUN TestProvisionerPrepare_ConfigRetryTimeout --- PASS: TestProvisionerPrepare_ConfigRetryTimeout (0.00s) === RUN TestProvisionerPrepare_ConfigErrors --- PASS: TestProvisionerPrepare_ConfigErrors (0.00s) === RUN TestProvisionerPrepare_InvalidKey --- PASS: TestProvisionerPrepare_InvalidKey (0.00s) === RUN TestProvisionerProvision_Success 2021/10/15 05:07:24 ui: Restarting Machine --- PASS: TestProvisionerProvision_Success (0.00s) === RUN TestProvisionerProvision_CustomCommand 2021/10/15 05:07:24 ui: Restarting Machine --- PASS: TestProvisionerProvision_CustomCommand (0.00s) === RUN TestProvisionerProvision_RestartCommandFail 2021/10/15 05:07:24 ui: Restarting Machine 2021/10/15 05:07:24 ui error: WinRM terminated --- PASS: TestProvisionerProvision_RestartCommandFail (0.00s) === RUN TestProvisionerProvision_WaitForRestartFail 2021/10/15 05:07:24 ui: Restarting Machine 2021/10/15 05:07:24 ui: Waiting for machine to restart... 2021/10/15 05:07:24 Check if machine is rebooting... 2021/10/15 05:07:24 Waiting for machine to reboot with timeout: 5m0s 2021/10/15 05:07:24 Waiting for machine to become available... 2021/10/15 05:07:24 ui error: Error waiting for machine to restart: Machine did not restart properly --- PASS: TestProvisionerProvision_WaitForRestartFail (0.00s) === RUN TestProvision_waitForRestartTimeout 2021/10/15 05:07:24 ui: Restarting Machine 2021/10/15 05:07:24 ui: Waiting for machine to restart... 2021/10/15 05:07:24 Check if machine is rebooting... 2021/10/15 05:07:24 Waiting for machine to reboot with timeout: 1ms 2021/10/15 05:07:24 Waiting for machine to become available... 2021/10/15 05:07:24 ui error: Timeout waiting for machine to restart. --- PASS: TestProvision_waitForRestartTimeout (0.00s) === RUN TestProvision_waitForCommunicator 2021/10/15 05:07:24 Checking that communicator is connected with: 'powershell.exe -EncodedCommand ZQBjAGgAbwAgACgAIgB7ADAAfQAgAHIAZQBzAHQAYQByAHQAZQBkAC4AIgAgAC0AZgAgAFsAUwB5AHMAdABlAG0ALgBOAGUAdAAuAEQAbgBzAF0AOgA6AEcAZQB0AEgAbwBzAHQATgBhAG0AZQAoACkAKQA=' 2021/10/15 05:07:24 ui: WIN-V4CEJ7MC5SN restarted. 2021/10/15 05:07:24 ui error: WinRM terminated --- PASS: TestProvision_waitForCommunicator (0.01s) === RUN TestProvision_waitForCommunicatorWithCancel 2021/10/15 05:07:24 Checking that communicator is connected with: 'powershell.exe -EncodedCommand ZQBjAGgAbwAgACgAIgB7ADAAfQAgAHIAZQBzAHQAYQByAHQAZQBkAC4AIgAgAC0AZgAgAFsAUwB5AHMAdABlAG0ALgBOAGUAdAAuAEQAbgBzAF0AOgA6AEcAZQB0AEgAbwBzAHQATgBhAG0AZQAoACkAKQA=' 2021/10/15 05:07:24 Communicator wait canceled, exiting loop --- PASS: TestProvision_waitForCommunicatorWithCancel (0.01s) === RUN TestProvision_Cancel 2021/10/15 05:07:24 ui: Restarting Machine 2021/10/15 05:07:24 ui: Waiting for machine to restart... 2021/10/15 05:07:24 Check if machine is rebooting... 2021/10/15 05:07:24 Waiting for machine to reboot with timeout: 5m0s 2021/10/15 05:07:24 Waiting for machine to become available... 2021/10/15 05:07:24 ui error: Error waiting for machine to restart: context canceled --- PASS: TestProvision_Cancel (0.00s) PASS ok github.com/hashicorp/packer/provisioner/windows-restart 0.183s ? github.com/hashicorp/packer/provisioner/windows-restart/version [no test files] === RUN TestProvisionerPrepare_extractScript 2021/10/15 05:07:27 Found command: foo 2021/10/15 05:07:27 Found command: bar 2021/10/15 05:07:27 File: /tmp/windows-shell-provisioner489785025 --- PASS: TestProvisionerPrepare_extractScript (0.00s) === RUN TestProvisioner_Impl --- PASS: TestProvisioner_Impl (0.00s) === RUN TestProvisionerPrepare_Defaults --- PASS: TestProvisionerPrepare_Defaults (0.00s) === RUN TestProvisionerPrepare_Config --- PASS: TestProvisionerPrepare_Config (0.00s) === RUN TestProvisionerPrepare_InvalidKey --- PASS: TestProvisionerPrepare_InvalidKey (0.00s) === RUN TestProvisionerPrepare_Script --- PASS: TestProvisionerPrepare_Script (0.00s) === RUN TestProvisionerPrepare_ScriptAndInline --- PASS: TestProvisionerPrepare_ScriptAndInline (0.00s) === RUN TestProvisionerPrepare_ScriptAndScripts --- PASS: TestProvisionerPrepare_ScriptAndScripts (0.00s) === RUN TestProvisionerPrepare_Scripts --- PASS: TestProvisionerPrepare_Scripts (0.00s) === RUN TestProvisionerPrepare_EnvironmentVars --- PASS: TestProvisionerPrepare_EnvironmentVars (0.00s) === RUN TestProvisionerQuote_EnvironmentVars --- PASS: TestProvisionerQuote_EnvironmentVars (0.00s) === RUN TestProvisionerProvision_Inline 2021/10/15 05:07:27 ui: Provisioning with windows-shell... 2021/10/15 05:07:27 Found command: whoami 2021/10/15 05:07:27 ui: Provisioning with shell script: /tmp/windows-shell-provisioner759938336 2021/10/15 05:07:27 Opening /tmp/windows-shell-provisioner759938336 for reading 2021/10/15 05:07:27 ui: Provisioning with windows-shell... 2021/10/15 05:07:27 Found command: whoami 2021/10/15 05:07:27 ui: Provisioning with shell script: /tmp/windows-shell-provisioner618986495 2021/10/15 05:07:27 Opening /tmp/windows-shell-provisioner618986495 for reading --- PASS: TestProvisionerProvision_Inline (0.00s) === RUN TestProvisionerProvision_Scripts 2021/10/15 05:07:27 ui: Provisioning with windows-shell... 2021/10/15 05:07:27 ui: Provisioning with shell script: /tmp/packer473857874 2021/10/15 05:07:27 Opening /tmp/packer473857874 for reading --- PASS: TestProvisionerProvision_Scripts (0.00s) === RUN TestProvisionerProvision_ScriptsWithEnvVars 2021/10/15 05:07:27 ui: Provisioning with windows-shell... 2021/10/15 05:07:27 ui: Provisioning with shell script: /tmp/packer231084681 2021/10/15 05:07:27 Opening /tmp/packer231084681 for reading --- PASS: TestProvisionerProvision_ScriptsWithEnvVars (0.00s) === RUN TestProvisioner_createFlattenedEnvVars_windows --- PASS: TestProvisioner_createFlattenedEnvVars_windows (0.00s) === RUN TestCancel --- PASS: TestCancel (0.00s) PASS ok github.com/hashicorp/packer/provisioner/windows-shell 0.148s ? github.com/hashicorp/packer/provisioner/windows-shell/version [no test files] ? github.com/hashicorp/packer/version [no test files] make[1]: Leaving directory '/build/packer-mtIp6E/packer-1.6.6+ds1' create-stamp debian/debhelper-build-stamp dh_testroot -a -O--builddirectory=_build -O--buildsystem=golang dh_prep -a -O--builddirectory=_build -O--buildsystem=golang debian/rules override_dh_auto_install make[1]: Entering directory '/build/packer-mtIp6E/packer-1.6.6+ds1' dh_auto_install -- --no-source cd _build && mkdir -p /build/packer-mtIp6E/packer-1.6.6\+ds1/debian/packer/usr cd _build && cp -r bin /build/packer-mtIp6E/packer-1.6.6\+ds1/debian/packer/usr make[1]: Leaving directory '/build/packer-mtIp6E/packer-1.6.6+ds1' dh_installdocs -a -O--builddirectory=_build -O--buildsystem=golang dh_installchangelogs -a -O--builddirectory=_build -O--buildsystem=golang dh_installexamples -a -O--builddirectory=_build -O--buildsystem=golang dh_installman -a -O--builddirectory=_build -O--buildsystem=golang dh_installsystemduser -a -O--builddirectory=_build -O--buildsystem=golang dh_perl -a -O--builddirectory=_build -O--buildsystem=golang dh_link -a -O--builddirectory=_build -O--buildsystem=golang dh_strip_nondeterminism -a -O--builddirectory=_build -O--buildsystem=golang dh_compress -a -O--builddirectory=_build -O--buildsystem=golang dh_fixperms -a -O--builddirectory=_build -O--buildsystem=golang dh_missing -a -O--builddirectory=_build -O--buildsystem=golang dh_dwz -a -a -O--builddirectory=_build -O--buildsystem=golang dwz: debian/packer/usr/bin/packer: .debug_info section not present dh_strip -a -a -O--builddirectory=_build -O--buildsystem=golang dh_strip: warning: Could not find the BuildID in debian/packer/usr/bin/packer dh_makeshlibs -a -a -O--builddirectory=_build -O--buildsystem=golang dh_shlibdeps -a -a -O--builddirectory=_build -O--buildsystem=golang dh_installdeb -a -O--builddirectory=_build -O--buildsystem=golang dh_golang -a -O--builddirectory=_build -O--buildsystem=golang dh_gencontrol -a -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -a -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -a -O--builddirectory=_build -O--buildsystem=golang dpkg-deb: building package 'packer' in '../packer_1.6.6+ds1-2+b3_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../packer_1.6.6+ds1-2+b3_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/packer-mtIp6E /tmp/packer-1.6.6+ds1-2+b3y82hds62 I: cleaning package lists and apt cache... W: deleting files in /tmp: ansible-key755313363 W: deleting files in /tmp: packer790845575 W: deleting files in /tmp: packer265376939 W: deleting files in /tmp: packerdir424046738 W: deleting files in /tmp: packer-vsphere-iso-test605459493 W: deleting files in /tmp: packerdir570435680 W: deleting files in /tmp: virtualbox611155362 W: deleting files in /tmp: a W: deleting files in /tmp: packer250944081 W: deleting files in /tmp: packer387040789 W: deleting files in /tmp: packer813516652 I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.JDvILSX9Qy... I: success in 3170.5114 seconds md5: packer_1.6.6+ds1-2+b3_amd64.deb: OK sha1: packer_1.6.6+ds1-2+b3_amd64.deb: OK sha256: packer_1.6.6+ds1-2+b3_amd64.deb: OK Checksums: OK