==> Building on centiskorch ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/apko ./ .SRCINFO 618 100% 0.00kB/s 0:00:00 618 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=7/9) .nvchecker.toml 86 100% 83.98kB/s 0:00:00 86 100% 83.98kB/s 0:00:00 (xfr#2, to-chk=6/9) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=5/9) PKGBUILD 1,530 100% 1.46MB/s 0:00:00 1,530 100% 1.46MB/s 0:00:00 (xfr#4, to-chk=4/9) REUSE.toml 375 100% 366.21kB/s 0:00:00 375 100% 366.21kB/s 0:00:00 (xfr#5, to-chk=3/9) apko-1.0.1-1.log 841 100% 821.29kB/s 0:00:00 841 100% 821.29kB/s 0:00:00 (xfr#6, to-chk=2/9) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE sent 2,735 bytes received 180 bytes 1,166.00 bytes/sec total size is 3,463 speedup is 1.19 ==> Patching arch to riscv64... ==> Running pkgctl build --arch riscv64 on remote host... ==> WARNING: invalid architecture: riscv64 ==> Updating pacman database cache [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==> Building apko  -> repo: extra  -> arch: riscv64  -> worker: felix-2 ==> Building apko for [extra] (riscv64) ]3008;start=9d5c2255ba6b47b2bbf4702eb2f719f8;user=root;hostname=centiskorch.felixc.at;machineid=1a94f69a1f9e480395692a8eaa8e4813;bootid=5771705e949c4754b40ed390230962ed;pid=57379;pidfdid=57380;comm=systemd-nspawn;container=arch-nspawn-57379;type=container\]11;?\]2;🔵 Container arch-nspawn-57379 on centiskorch.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h[!p]104\[?7h]3008;end=9d5c2255ba6b47b2bbf4702eb2f719f8\==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-2]...done ==> Making package: apko 1.0.1-1 (Sun Mar 1 00:06:30 2026) ==> Retrieving sources...  -> Downloading apko-1.0.1.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 83281 0 83281 0 0 45319 0 00:01 74758 100 1.06M 0 1.06M 0 0 371.3k 0 00:02 492.6k 100 1.82M 0 1.82M 0 0 557.9k 0 00:03 492.6k 100 1.82M 0 1.82M 0 0 557.8k 0 00:03 492.6k 100 1.82M 0 1.82M 0 0 557.7k 0 00:03 492.6k ==> Validating source files with sha256sums... apko-1.0.1.tar.gz ... Passed ==> Validating source files with b2sums... apko-1.0.1.tar.gz ... Passed ]3008;start=5bbefb4b2ef14c8cbd26c5bf370e3490;user=root;hostname=centiskorch.felixc.at;machineid=1a94f69a1f9e480395692a8eaa8e4813;bootid=5771705e949c4754b40ed390230962ed;pid=58510;pidfdid=58511;comm=systemd-nspawn;container=arch-nspawn-58510;type=container\]11;?\]2;🔵 Container arch-nspawn-58510 on centiskorch.felixc.at\==> Making package: apko 1.0.1-1 (Sun Mar 1 05:06:51 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (2) New Version Net Change Download Size extra/alpine-keyring 2.6-1 0.01 MiB extra/apk-tools 3.0.5-1 0.59 MiB 0.28 MiB Total Download Size: 0.28 MiB Total Installed Size: 0.60 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... apk-tools-3.0.5-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing alpine-keyring... installing apk-tools... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (1) New Version Net Change extra/go 2:1.26.0-1 207.01 MiB Total Installed Size: 207.01 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing go... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Retrieving sources...  -> Found apko-1.0.1.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting apko-1.0.1.tar.gz with bsdtar ==> Starting build()... go: downloading go.opentelemetry.io/otel v1.39.0 go: downloading golang.org/x/sync v0.19.0 go: downloading github.com/hashicorp/go-retryablehttp v0.7.8 go: downloading sigs.k8s.io/release-utils v0.12.2 go: downloading golang.org/x/sys v0.40.0 go: downloading github.com/spf13/cobra v1.10.2 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/google/go-containerregistry v0.20.7 go: downloading github.com/tmc/dot v0.2.0 go: downloading github.com/invopop/jsonschema v0.13.0 go: downloading github.com/charmbracelet/log v0.4.2 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 go: downloading github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c go: downloading go.lsp.dev/uri v0.3.0 go: downloading go.opentelemetry.io/otel/trace v1.39.0 go: downloading github.com/chainguard-dev/clog v1.8.0 go: downloading github.com/klauspost/compress v1.18.2 go: downloading go.step.sm/crypto v0.75.0 go: downloading gopkg.in/ini.v1 v1.67.1 go: downloading github.com/go-git/go-git/v5 v5.16.4 go: downloading github.com/google/go-cmp v0.7.0 go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 go: downloading github.com/package-url/packageurl-go v0.1.3 go: downloading github.com/u-root/u-root v0.15.0 go: downloading chainguard.dev/sdk v0.1.45 go: downloading golang.org/x/oauth2 v0.34.0 go: downloading golang.org/x/time v0.14.0 go: downloading google.golang.org/api v0.259.0 go: downloading github.com/klauspost/pgzip v1.2.6 go: downloading github.com/pavlo-v-chernykh/keystore-go/v4 v4.5.0 go: downloading k8s.io/apimachinery v0.35.0 go: downloading github.com/wk8/go-ordered-map/v2 v2.1.8 go: downloading github.com/muesli/termenv v0.16.0 go: downloading github.com/go-logfmt/logfmt v0.6.0 go: downloading github.com/charmbracelet/lipgloss v1.1.0 go: downloading github.com/buger/jsonparser v1.1.1 go: downloading github.com/bahlo/generic-list-go v0.2.0 go: downloading github.com/mailru/easyjson v0.7.7 go: downloading github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be go: downloading github.com/sirupsen/logrus v1.9.4-0.20230606125235-dd1b4c2e81af go: downloading github.com/spf13/pflag v1.0.9 go: downloading github.com/rivo/uniseg v0.4.7 go: downloading github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd go: downloading github.com/charmbracelet/x/ansi v0.8.0 go: downloading github.com/aymanbagabas/go-osc52/v2 v2.0.1 go: downloading github.com/lucasb-eyer/go-colorful v1.2.0 go: downloading github.com/mattn/go-isatty v0.0.20 go: downloading github.com/mattn/go-runewidth v0.0.16 go: downloading dario.cat/mergo v1.0.1 go: downloading github.com/pjbgf/sha1cd v0.3.2 go: downloading github.com/charmbracelet/x/term v0.2.1 go: downloading github.com/sergi/go-diff v1.4.0 go: downloading github.com/ProtonMail/go-crypto v1.3.0 go: downloading github.com/opencontainers/image-spec v1.1.1 go: downloading github.com/go-git/go-billy/v5 v5.6.2 go: downloading github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc go: downloading github.com/opencontainers/go-digest v1.0.0 go: downloading github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 go: downloading github.com/docker/cli v29.0.3+incompatible go: downloading github.com/go-jose/go-jose/v3 v3.0.4 go: downloading github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 go: downloading github.com/containerd/stargz-snapshotter/estargz v0.18.1 go: downloading github.com/emirpasic/gods v1.18.1 go: downloading github.com/docker/docker v28.5.2+incompatible go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading github.com/docker/distribution v2.8.3+incompatible go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/moby/docker-image-spec v1.3.1 go: downloading github.com/kevinburke/ssh_config v1.2.0 go: downloading github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 go: downloading github.com/skeema/knownhosts v1.3.1 go: downloading github.com/xanzy/ssh-agent v0.3.3 go: downloading golang.org/x/net v0.48.0 go: downloading golang.org/x/crypto v0.46.0 go: downloading filippo.io/edwards25519 v1.1.0 go: downloading google.golang.org/grpc v1.78.0 go: downloading google.golang.org/protobuf v1.36.11 go: downloading chainguard.dev/go-grpc-kit v0.17.15 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20251202230838-ff82c1b0f217 go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.3 go: downloading github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e go: downloading gopkg.in/warnings.v0 v0.1.2 go: downloading github.com/cyphar/filepath-securejoin v0.4.1 go: downloading github.com/vbatts/tar-split v0.12.2 go: downloading github.com/go-logr/logr v1.4.3 go: downloading go.opentelemetry.io/otel/metric v1.39.0 go: downloading github.com/go-logr/stdr v1.2.2 go: downloading go.opentelemetry.io/auto/sdk v1.2.1 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/cloudflare/circl v1.6.1 go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.0 go: downloading github.com/kelseyhightower/envconfig v1.4.0 go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0 go: downloading github.com/prometheus/client_golang v1.23.2 go: downloading github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.3 go: downloading github.com/docker/docker-credential-helpers v0.9.4 go: downloading github.com/prometheus/common v0.66.1 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/prometheus/client_model v0.6.2 go: downloading github.com/prometheus/procfs v0.16.1 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20251222181119-0a764e51fe1b go: downloading golang.org/x/text v0.32.0 go: downloading go.yaml.in/yaml/v2 v2.4.3 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 go: downloading github.com/docker/go-units v0.5.0 go: downloading github.com/docker/go-connections v0.5.0 go: downloading github.com/containerd/errdefs v1.0.0 go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 go: downloading github.com/distribution/reference v0.6.0 go: downloading github.com/containerd/errdefs/pkg v0.3.0 go: downloading github.com/felixge/httpsnoop v1.0.4 go: downloading github.com/u-root/uio v0.0.0-20240224005618-d2acac8f3701 go: downloading github.com/dustin/go-humanize v1.0.1 go: downloading github.com/pierrec/lz4/v4 v4.1.22 go: downloading cloud.google.com/go/auth v0.18.0 go: downloading cloud.google.com/go/auth/oauth2adapt v0.2.8 go: downloading cloud.google.com/go/compute/metadata v0.9.0 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.7 go: downloading github.com/googleapis/gax-go/v2 v2.16.0 go: downloading github.com/google/s2a-go v0.1.9 ==> Starting check()... go: downloading github.com/stretchr/testify v1.11.1 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 ? chainguard.dev/apko [no test files] 2026/03/01 05:10:27 INFO Cleaning cache directory: /tmp/TestCleanImplclean_existing_cache1238320964/001/cache 2026/03/01 05:10:27 INFO Cache size: 39 B 2026/03/01 05:10:27 INFO Cache directory cleaned successfully 2026/03/01 05:10:27 INFO Cleaning cache directory: /tmp/TestCleanImpldry_run_does_not_delete_cache4225485437/001/cache 2026/03/01 05:10:27 INFO Cache size: 13 B 2026/03/01 05:10:27 INFO Dry run mode: cache directory will not be deleted 2026/03/01 05:10:27 INFO Cleaning cache directory: /tmp/TestCleanImplnon-existent_cache_directory2283647844/001/non-existent 2026/03/01 05:10:27 INFO Cache directory does not exist, nothing to clean 2026/03/01 05:10:27 INFO Cleaning cache directory: /tmp/TestCleanImplcache_path_is_file_not_directory3360754329/001/file 2026/03/01 05:10:27 INFO Determining packages for 2 architectures: [amd64 arm64] 2026/03/01 05:10:27 INFO Discovered 0 auto-discovered keys 2026/03/01 05:10:27 INFO Determining packages for 2 architectures: [amd64 arm64] 2026/03/01 05:10:29 INFO Unable to automatically authenticate, run `chainctl auth token --audience "apk.cgr.dev"` to diagnose 2026/03/01 05:10:30 INFO Discovered 5 auto-discovered keys --- FAIL: TestLock (18.07s) --- FAIL: TestLock/apko-discover (18.00s) lock_test.go:64: Mismatched lock files: (-"testdata/apko-discover.lock.json" +"/tmp/TestLock4063844693/001/apko-discover.lock.json"): []uint8( """ ... // 19 identical lines }, { - "name": "apk.cgr.dev/chainguard/chainguard-6ea100e7571978828f8455393090cc468e1f22dfc771ad2d26df14e52b73c37f.rsa.pub", - "url": "https://apk.cgr.dev/chainguard/chainguard-6ea100e7571978828f8455393090cc468e1f22dfc771ad2d26df14e52b73c37f.rsa.pub" + "name": "apk.cgr.dev/chainguard/chainguard-4be246965c6e2749ccbaeba0582ed0f90c7cb94f4c0397e014b322b8652e3ba4.rsa.pub", + "url": "https://apk.cgr.dev/chainguard/chainguard-4be246965c6e2749ccbaeba0582ed0f90c7cb94f4c0397e014b322b8652e3ba4.rsa.pub" }, { - "name": "apk.cgr.dev/chainguard/chainguard-7fb528a64a862d44bbea6069093f1fec29fa864ba7e9754828eeceed3f487239.rsa.pub", - "url": "https://apk.cgr.dev/chainguard/chainguard-7fb528a64a862d44bbea6069093f1fec29fa864ba7e9754828eeceed3f487239.rsa.pub" + "name": "apk.cgr.dev/chainguard/chainguard-6ea100e7571978828f8455393090cc468e1f22dfc771ad2d26df14e52b73c37f.rsa.pub", + "url": "https://apk.cgr.dev/chainguard/chainguard-6ea100e7571978828f8455393090cc468e1f22dfc771ad2d26df14e52b73c37f.rsa.pub" }, { - "name": "apk.cgr.dev/chainguard/chainguard-a87b67b52e9fa08414a5535a99adc7b66643536ccd52f4da66057b67adf21363.rsa.pub", - "url": "https://apk.cgr.dev/chainguard/chainguard-a87b67b52e9fa08414a5535a99adc7b66643536ccd52f4da66057b67adf21363.rsa.pub" + "name": "apk.cgr.dev/chainguard/chainguard-7fb528a64a862d44bbea6069093f1fec29fa864ba7e9754828eeceed3f487239.rsa.pub", + "url": "https://apk.cgr.dev/chainguard/chainguard-7fb528a64a862d44bbea6069093f1fec29fa864ba7e9754828eeceed3f487239.rsa.pub" } ], ... // 115 identical lines """ ) 2026/03/01 05:10:45 INFO Determining packages for 2 architectures: [amd64 arm64] 2026/03/01 05:10:45 INFO Discovered 0 auto-discovered keys FAIL FAIL chainguard.dev/apko/internal/cli 18.280s ? chainguard.dev/apko/internal/gen-jsonschema [no test files] ok chainguard.dev/apko/internal/ldso-cache 0.064s ? chainguard.dev/apko/internal/tarfs [no test files] ok chainguard.dev/apko/pkg/apk/apk 5.606s ok chainguard.dev/apko/pkg/apk/auth 0.096s ? chainguard.dev/apko/pkg/apk/client [no test files] ok chainguard.dev/apko/pkg/apk/expandapk 0.094s ok chainguard.dev/apko/pkg/apk/fs 0.586s ? chainguard.dev/apko/pkg/apk/signature [no test files] ? chainguard.dev/apko/pkg/apko [no test files] ? chainguard.dev/apko/pkg/baseimg [no test files] 2026/03/01 05:10:27 WARN getting local index ./testdata/packages/riscv64/APKINDEX.tar.gz: stat: stat ./testdata/packages/riscv64/APKINDEX.tar.gz: no such file or directory --- FAIL: TestLdsoCache (0.00s) ldsocache_test.go:29: installing apk packages: error getting package dependencies: solving "replayout" constraint: nothing provides "replayout" --- FAIL: TestAuth_good (0.01s) build_test.go:209: Error Trace: /build/apko/src/apko-1.0.1/pkg/build/build_test.go:209 Error: Received unexpected error: installing apk packages: error getting package dependencies: error getting repository indexes: reading index http://127.0.0.1:38671/riscv64/APKINDEX.tar.gz: fetching http://127.0.0.1:38671/riscv64/APKINDEX.tar.gz: Get "http://127.0.0.1:38671/riscv64/APKINDEX.tar.gz": unexpected status code 404 Test: TestAuth_good Messages: build image failed FAIL FAIL chainguard.dev/apko/pkg/build 0.561s ok chainguard.dev/apko/pkg/build/oci 0.119s ok chainguard.dev/apko/pkg/build/types 0.081s ? chainguard.dev/apko/pkg/cpio [no test files] ok chainguard.dev/apko/pkg/lock 0.050s ? chainguard.dev/apko/pkg/options [no test files] ok chainguard.dev/apko/pkg/passwd 0.061s ok chainguard.dev/apko/pkg/paths 0.025s ? chainguard.dev/apko/pkg/s6 [no test files] ? chainguard.dev/apko/pkg/sbom [no test files] ? chainguard.dev/apko/pkg/sbom/generator [no test files] ok chainguard.dev/apko/pkg/sbom/generator/spdx 0.304s ok chainguard.dev/apko/pkg/sbom/options 0.121s 2026/03/01 05:10:27 WARN getting local index ./testdata/packages/riscv64/APKINDEX.tar.gz: stat: stat ./testdata/packages/riscv64/APKINDEX.tar.gz: no such file or directory --- FAIL: TestTarFS (0.00s) fs_test.go:48: installing apk packages: error getting package dependencies: solving "replayout" constraint: nothing provides "replayout" FAIL FAIL chainguard.dev/apko/pkg/tarfs 0.154s ok chainguard.dev/apko/pkg/vcs 0.096s ok chainguard.dev/apko/pkg/vfs 0.045s FAIL ==> ERROR: A failure occurred in check().  Aborting... [!p]104\[?7h]3008;end=5bbefb4b2ef14c8cbd26c5bf370e3490\==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix-2/build [?25h[?25h[?25hreceiving incremental file list apko-1.0.1-1-riscv64-build.log apko-1.0.1-1-riscv64-check.log sent 62 bytes received 3,883 bytes 2,630.00 bytes/sec total size is 13,475 speedup is 3.42