[1685040562.3s]
[1685040562.3s]
[1685040562.3s]
[1685040562.3s]
[1685040562.3s]
[1685040562.3s]
[1685040562.3s]
[1685040562.3s]
[1685040562.3s]
[1685040562.3s]
[1685040562.3s]
[1685040562.3s]
sha256:29e72bb183a1664296220c0a56a519a6548111289fdc6ea473a9190c0403b091
[1685040562.3s]
[1685040562.3s]
[1685040562.3s]
[1685040562.3s]
sha256:0a71fcfdfa9d8d77d9e015cc672d7bd1d859aeab407183d204f7a92a785ea90d
[1685040562.3s]
sha256:29e72bb183a1664296220c0a56a519a6548111289fdc6ea473a9190c0403b091
[1685040562.3s]
sha256:06fcea753420a4d8c0420ef13a1f0c8ce64e1acf54095e6f048de6f41a78641a
[1685040562.3s]
sha256:c3f3af9418cdcf5d04f30fb9c6935cdce8029d6256169d8262c158b92854b24e
[1685040562.3s]
sha256:2382ab97e6c4f2171b605844b2421ce219cd0f6b053cb7826ea7a7b20339a712
[1685040562.3s]
sha256:2382ab97e6c4f2171b605844b2421ce219cd0f6b053cb7826ea7a7b20339a712
[1685040562.4s]
sha256:2382ab97e6c4f2171b605844b2421ce219cd0f6b053cb7826ea7a7b20339a712
[1685040562.4s]
sha256:2382ab97e6c4f2171b605844b2421ce219cd0f6b053cb7826ea7a7b20339a712
[1685040562.5s]
sha256:a7484a914aa5d718f2f7c88e944caa841fc3f407166e2b2226a41fe25598ebd3
[1685040562.7s]
sha256:3feb51fadb0932bf6e103611f8f1fbd92a0ae5aad0694d82c32870b47cf7ab76
[1685040562.9s]
env GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-s -w" -o pkg/runtimes/bin/exe.amd64 ./pkg/runtimes/shim
env GOOS=linux GOARCH=arm CGO_ENABLED=0 go build -ldflags "-s -w" -o pkg/runtimes/bin/exe.arm ./pkg/runtimes/shim
env GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags "-s -w" -o pkg/runtimes/bin/exe.arm64 ./pkg/runtimes/shim
go: downloading github.com/cenkalti/backoff/v4 v4.2.0
go: downloading github.com/cenkalti/backoff/v4 v4.2.0
go: downloading github.com/moby/sys/mountinfo v0.6.2
go: downloading go.uber.org/zap v1.19.1
go: downloading go.uber.org/zap v1.19.1
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading github.com/containerd/containerd v1.7.0
go: downloading github.com/cenkalti/backoff/v4 v4.2.0
go: downloading github.com/containerd/containerd v1.7.0
go: downloading github.com/moby/sys/mountinfo v0.6.2
go: downloading go.uber.org/zap v1.19.1
go: downloading golang.org/x/sys v0.7.0
go: downloading github.com/moby/sys/mountinfo v0.6.2
go: downloading golang.org/x/sys v0.7.0
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading golang.org/x/sys v0.7.0
go: downloading github.com/containerd/containerd v1.7.0
go: downloading github.com/mattn/go-isatty v0.0.18
go: downloading github.com/mattn/go-isatty v0.0.18
go: downloading github.com/mattn/go-isatty v0.0.18
go: downloading go.uber.org/atomic v1.7.0
go: downloading go.uber.org/multierr v1.6.0
go: downloading go.uber.org/multierr v1.6.0
go: downloading go.uber.org/atomic v1.7.0
go: downloading go.uber.org/multierr v1.6.0
go: downloading go.uber.org/atomic v1.7.0
go: downloading github.com/containerd/go-runc v1.0.1-0.20230316182144-f5d58d02d6c8
go: downloading github.com/containerd/go-runc v1.0.1-0.20230316182144-f5d58d02d6c8
go: downloading github.com/containerd/go-runc v1.0.1-0.20230316182144-f5d58d02d6c8
go: downloading github.com/sirupsen/logrus v1.9.0
go: downloading github.com/opencontainers/runtime-spec v1.1.0-rc.1
go: downloading github.com/containerd/console v1.0.3
go: downloading github.com/sirupsen/logrus v1.9.0
go: downloading github.com/containerd/console v1.0.3
go: downloading github.com/opencontainers/runtime-spec v1.1.0-rc.1
go: downloading github.com/sirupsen/logrus v1.9.0
go: downloading github.com/containerd/console v1.0.3
go: downloading github.com/opencontainers/runtime-spec v1.1.0-rc.1
which upx # required for compressing shims
/bin/upx
upx pkg/runtimes/bin/exe.amd64 pkg/runtimes/bin/exe.arm pkg/runtimes/bin/exe.arm64 || true # swallow AlreadyPackedException :/
Ultimate Packer for eXecutables
Copyright (C) 1996 - 2023
UPX 4.0.2 Markus Oberhumer, Laszlo Molnar & John Reiser Jan 30th 2023
File size Ratio Format Name
-------------------- ------ ----------- -----------
3444736 -> 1480904 42.99% linux/amd64 exe.amd64
3342336 -> 1326452 39.69% linux/arm exe.arm
3407872 -> 1375728 40.37% linux/arm64 exe.arm64
-------------------- ------ ----------- -----------
10194944 -> 4183084 41.03% [ 3 files ]
Packed 3 files.
sha256:62ef24dfd67a10bf94fddd672516a7a42cbbc576381b544ece381918c2487866
[1685040572.5s]
mkdir -p ./dist/
env GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags "-X main.version=dev" -o ./dist/bass ./cmd/bass
[1685040580.3s]
[1685040580.3s]
[1685040580.3s]
sha256:ce7c91505db17f8e0b93f54fc4552e1cbe743f9f141cb7e3c11b6d81d016ba20
[1685040580.3s]
sha256:29e72bb183a1664296220c0a56a519a6548111289fdc6ea473a9190c0403b091
[1685040580.3s]
sha256:c8c1ef7f01ed2aaf25df940d36e80d75a3d75ae341b575746fa5e467f9f04386
[1685040580.3s]
sha256:69c370035f0c15add48f363cc5e222d99ac2f40ea909ccaefb77a7e81393d565
[1685040580.3s]
[1685040580.3s]
[1685040580.4s]
[1685040580.6s]
[1685040580.6s]
[1685040580.6s]
[1685040580.6s]
[1685040580.9s]
[1685040580.9s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
[1685040581.0s]
sha256:7cbc7507d6eca98a2e761f14480a291f526ef09dc94408cfa4cfc7da9fcb62ef
[1685040581.1s]
sha256:972e11d9612e4804b5a8424ec06737ff838eb733e7053f89b66d71808f064ef4
[1685040581.1s]
sha256:0154d3c8e130921d0913d44d45f40a0a012224c79414a1ccd2190eeeaaa90d73
[1685040581.1s]
sha256:cffe5726315f00170ddb11b54fc753cb4cc4b366251fa5b2faad84986afbaabe
[1685040581.1s]
sha256:7ffd0b82c0d90ece0e5b35ad2474d361dc72997f15934c2e4ce55e3a7840885b
[1685040581.1s]
sha256:ff2c44e30b79859550d0cd6774abab5c17279c7d265e4c9d5e0a40dfded116ca
[1685040581.1s]
sha256:e42b41f710f24ddc32e95533dfec1b6962adf943f1e7c26ee5f9247cbf03c903
[1685040581.1s]
sha256:e04229e3476ef0ceafbcf7fda76008e469517d95a74e7b2d760a9ebf93128178
[1685040581.1s]
sha256:29e72bb183a1664296220c0a56a519a6548111289fdc6ea473a9190c0403b091
[1685040581.1s]
sha256:2e3b1d1c299525077546d023e39f7124fd357da5b1ce2cd8a29946f2d91e0a1e
[1685040581.1s]
sha256:2902dfc16a1e14189b5b06f841d04f73eed3953f540d6100e837c636746cee55
[1685040581.1s]
sha256:c565aa0add9d859a2129d1780f45132368226701ff7081807006c88799add4ae
[1685040581.1s]
sha256:06060f908d28caa110db55ac9942ec81eb25fb308d3a65117f2ef619b3aa3cc5
[1685040581.1s]
sha256:cffe5726315f00170ddb11b54fc753cb4cc4b366251fa5b2faad84986afbaabe
[1685040581.1s]
sha256:afe0dd8b41d469cbfe19c52224c7d55658e2a74e9431a279cca4f23b22720f35
[1685040581.1s]
sha256:5d324741d90502f16166c2b01addec32e71fb32443ad30cde5f30bb240bd2930
[1685040581.1s]
sha256:3ac2e7ab50ccf2b14e7c9daf0b88ec2c10f8b6d17008385c3b2b53867607dde8
[1685040581.1s]
sha256:4d21925332e755b2769aa2392866abdedc33cd47f91775e09b3a5632999c8b2b
[1685040581.1s]
sha256:42909a26917df41199aea555921cbce1f768cf03cbf4e1f29374960450546818
[1685040581.1s]
sha256:29e72bb183a1664296220c0a56a519a6548111289fdc6ea473a9190c0403b091
[1685040581.1s]
sha256:95cf5723d5e52a7f0cc9df96cb8e8633d2c64ec06091f63fa3186e8b54e43ea7
[1685040581.1s]
sha256:ce030bd4b8c1a2a3553f9e5e333aea78cc0b7bdc37078673a598432d4a6c1b74
[1685040581.1s]
sha256:72ef71805155815b868c331b7d4616590565b32704e3c52e79d7c5e62215e383
[1685040581.1s]
sha256:e4b11a2d9923f3a38393c6ab43d42062aa28810ea065f8f924d4fee2dcbffbe8
[1685040581.1s]
sha256:a45081d7dbc765c333f327650f10559eb4f87158f729ddd88c388343f0e7198e
[1685040581.1s]
sha256:42909a26917df41199aea555921cbce1f768cf03cbf4e1f29374960450546818
[1685040581.1s]
sha256:6726025c589dfb804c96a08173d596dac76f0aece0f329fae1b9c06813e41b29
[1685040581.1s]
sha256:e4b796c475aea734add1a3a9cb48e8de0db966d0ccfb22b8dae57e9cfaab08a2
[1685040581.1s]
sha256:d66a980e414ae9eb7a5a1df42ea5a7de4450565671aa11d604c8f6dfa31dd5ca
[1685040581.1s]
sha256:ef6ebb45799941c58a9937dbdf52f61f7ad3c4092d2efb4132978398fa7576c9
[1685040581.1s]
sha256:5d324741d90502f16166c2b01addec32e71fb32443ad30cde5f30bb240bd2930
[1685040581.1s]
sha256:a9c4b230462d08d770fdfb4d5034bcd5c008cefebd290990dfeee719dd2ee6d0
[1685040581.1s]
sha256:1b1eba99942ab250a6672df647d6311f6a51754259b7e89579c1e48f07e24fb8
[1685040581.1s]
sha256:c1cef3b8a7858f365de0f8939bd56eabec6ad142417248fb23ff2825929352ce
[1685040581.1s]
sha256:50c34da16c12d3718f898bf6717e0da6917c9343e9dbb5941ad81f324db2b720
[1685040581.1s]
sha256:9d04e5de46aff237fa04e445ac0eb374d8e19f3d29eb40e82e7653b6f2edf170
[1685040581.1s]
sha256:70730be1356952d3736237999d876488f975ffa9b7c0452bbaf1e23fdf48e89d
[1685040581.1s]
sha256:411c67e4c07d45b2896061dac3fd7b800f5939f138b2e481408c0897af336d82
[1685040581.1s]
sha256:7ffd0b82c0d90ece0e5b35ad2474d361dc72997f15934c2e4ce55e3a7840885b
[1685040581.1s]
sha256:e4e6a2882d8bc1f8ef1cb157190f05472cb3e396f4bc9f179a6e8fdfe0c888eb
[1685040581.1s]
sha256:29e72bb183a1664296220c0a56a519a6548111289fdc6ea473a9190c0403b091
[1685040581.1s]
sha256:990a7c3b1adf9dda51eef7d866607458df41a337ce4c4c0d90fc6f28d7166f28
[1685040581.1s]
sha256:06b44aa4f5b3e317cd8b492d878d12759cc715f230d841316ea563a36f715c81
[1685040581.1s]
[1685040581.2s]
[1685040581.3s]
[1685040581.7s]
sha256:e4b796c475aea734add1a3a9cb48e8de0db966d0ccfb22b8dae57e9cfaab08a2
[1685040581.7s]
? github.com/vito/bass/cmd/bass [no test files]
? github.com/vito/bass/demos [no test files]
? github.com/vito/bass/docs/go [no test files]
? github.com/vito/bass/pkg [no test files]
? github.com/vito/bass/pkg/basstest [no test files]
? github.com/vito/bass/pkg/basstls [no test files]
ok github.com/vito/bass/pkg/bass (cached)
? github.com/vito/bass/pkg/hl [no test files]
? github.com/vito/bass/pkg/internal [no test files]
? github.com/vito/bass/pkg/ioctx [no test files]
ok github.com/vito/bass/pkg/cli (cached)
? github.com/vito/bass/pkg/proto [no test files]
ok github.com/vito/bass/pkg/lsp (cached)
? github.com/vito/bass/pkg/runtimes/shim [no test files]
? github.com/vito/bass/pkg/runtimes/util [no test files]
? github.com/vito/bass/pkg/runtimes/util/buildkitd [no test files]
? github.com/vito/bass/pkg/zapctx [no test files]
? github.com/vito/bass/std [no test files]
--- FAIL: TestGRPCRuntime (0.02s)
--- FAIL: TestGRPCRuntime/export.bass (212.10s)
suite.go:355: progress:
─╮
export {{thunk L2DSKBS7MVQKU: }}
[0.01s] docker-image://docker.io/library/alpine@sha256:02bb6f428431fbc2809c5d1b41eab5a68350194fb508869a33cb1af4444c9b11
[0.01s] resolve docker.io/library/alpine@sha256:02bb6f428431fbc2809c5d1b41eab5a68350194fb508869a33cb1af4444c9b11
[0.03s] resolve image config for docker.io/library/alpine@sha256:02bb6f428431fbc2809c5d1b41eab5a68350194fb508869a33cb1af4444c9b11
CACHED sh -c "echo hello > /hello"
ERROR bass export.bass
[209.3s] exporting to oci image format
[0.00s] exporting layers
[0.01s] exporting manifest sha256:ac1e11c213f70181432d0ed8765e5699a0f5cdee1e5159e12e291e867e8aafa7
[0.01s] exporting config sha256:94f65c8a9252f15b9d8e2aa879254b04f778ff4719e054b5bd186c706e85cc3b
[209.2s] sending tarball
error! call trace (oldest first):
┆ <fs>/export.bass:20:0..25:41
19 │
20 │ (let [res (collect check (read (export thunk) :tar))]
21 │ (assert includes? res "manifest.json")
22 │ (assert includes? res "index.json")
23 │ (assert includes? res "oci-layout")
24 │ (assert includes? res "blobs/")
25 │ (assert includes? res "blobs/sha256/"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ (10 internal calls elided)
┆ <fs>/export.bass:20:10..20:52
20 │ (let [res (collect check (read (export thunk) :tar))]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ <fs>/streams.bass:60:2..63:39
59 │ (defn collect [f source]
60 │ (let [n (next source _)]
61 │ (if (ignore? n)
62 │ []
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ (1 internal call elided)
┆ <fs>/streams.bass:61:4..63:38
60 │ (let [n (next source _)]
61 │ (if (ignore? n)
62 │ []
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ <fs>/streams.bass:63:6..63:37
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ <fs>/streams.bass:63:18..63:36
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^
┆ <fs>/streams.bass:60:2..63:39
59 │ (defn collect [f source]
60 │ (let [n (next source _)]
61 │ (if (ignore? n)
62 │ []
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ (1 internal call elided)
┆ <fs>/streams.bass:61:4..63:38
60 │ (let [n (next source _)]
61 │ (if (ignore? n)
62 │ []
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ <fs>/streams.bass:63:6..63:37
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ <fs>/streams.bass:63:18..63:36
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^
┆ <fs>/streams.bass:60:2..63:39
59 │ (defn collect [f source]
60 │ (let [n (next source _)]
61 │ (if (ignore? n)
62 │ []
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ (1 internal call elided)
┆ <fs>/streams.bass:61:4..63:38
60 │ (let [n (next source _)]
61 │ (if (ignore? n)
62 │ []
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ <fs>/streams.bass:63:6..63:37
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ <fs>/streams.bass:63:18..63:36
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^
┆ <fs>/streams.bass:60:2..63:39
59 │ (defn collect [f source]
60 │ (let [n (next source _)]
61 │ (if (ignore? n)
62 │ []
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ (1 internal call elided)
┆ <fs>/streams.bass:61:4..63:38
60 │ (let [n (next source _)]
61 │ (if (ignore? n)
62 │ []
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ <fs>/streams.bass:63:6..63:37
63 │ (cons (f n) (collect f source)))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ <fs>/streams.bass:63:12..63:17
63 │ (cons (f n) (collect f source)))))
^^^^^
┆ <fs>/export.bass:4:2..7:12
3 │ (defn check [file]
4 │ (let [fi (meta file)
5 │ content (-> file (read :raw) next)]
6 │ (assert = fi:size (strings:length content))
7 │ fi:name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
┆ (17 internal calls elided)
┆ <fs>/export.bass:5:16..5:42
5 │ content (-> file (read :raw) next)]
^^^^^^^^^^^^^^^^^^^^^^^^^^
rpc error: code = Unknown desc = failed to receive status: rpc error: code = Unavailable desc = error reading from server: EOF
Tip: if this error is too cryptic, please open an issue:
https://github.com/vito/bass/issues/new?labels=cryptic&template=cryptic-error-message.md
suite.go:302: err: rpc error: code = Unknown desc = failed to receive status: rpc error: code = Unavailable desc = error reading from server: EOF
FAIL
FAIL github.com/vito/bass/pkg/runtimes 228.730s
FAIL
[check] test
[231.8s]
rpc error: code = Unknown desc = resolve failed: exit code: 1
Tip: if this error is too cryptic, please open an issue:
https://github.com/vito/bass/issues/new?labels=cryptic&template=cryptic-error-message.md
rpc error: code = Unknown desc = resolve failed: exit code: 1