#301

~bigbes/ci-cacher/commits/master/test.yml

success

Resubmission of build #298

Owner
~bigbes
Created
11 days ago
Updated
11 days ago
Build manifest
view manifest »

Tasks

view log »
install_cacher view log »
cacher_init view log »
install_go view log »
cache_gomod view log »
test view log »
docker_start view log »
cache_garage_image view log »
test_e2e view log »
go to bottom »
go to top »
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
[#301] 2026/08/06 22:20:12 Running build on srht-build-1.lab.local
[#301] 2026/08/06 22:20:12 Booting image ubuntu/noble (default) on port 22400
Waiting for VM to come up...
ssh: connect to host localhost port 22400: Connection refused
Attempt 1...
Warning: Permanently added '[localhost]:22400' (ED25519) to the list of known hosts.
Warning: Permanently added '[localhost]:22400' (ED25519) to the list of known hosts.
[#301] 2026/08/06 22:20:17 preconfigure: ok
[#301] 2026/08/06 22:20:17 Waiting for guest to settle
[#301] 2026/08/06 22:20:17 Sending tasks
[#301] 2026/08/06 22:20:19 Sending build environment
[#301] 2026/08/06 22:20:19 Sending secrets
[#301] 2026/08/06 22:20:19 Resolving secret 7dde4219-0783-4581-a67d-c94749de3600
[#301] 2026/08/06 22:20:20 Resolving secret 0e5b3530-6f19-4f30-9b73-9339dd382e46
[#301] 2026/08/06 22:20:20 Installing packages
Warning: Permanently added '[localhost]:22400' (ED25519) to the list of known hosts.
Hit:1 https://mirror.yandex.ru/ubuntu noble InRelease
Get:2 https://mirror.yandex.ru/ubuntu noble-security InRelease [126 kB]
Get:3 https://mirror.yandex.ru/ubuntu noble-updates InRelease [126 kB]
Get:4 https://mirror.yandex.ru/ubuntu noble-backports InRelease [126 kB]
Get:5 https://mirror.yandex.ru/ubuntu noble-security/main amd64 Packages [927 kB]
Get:6 https://mirror.yandex.ru/ubuntu noble-security/main Translation-en [201 kB]
Get:7 https://mirror.yandex.ru/ubuntu noble-security/restricted amd64 Packages [1320 kB]
Get:8 https://mirror.yandex.ru/ubuntu noble-security/restricted Translation-en [302 kB]
Get:9 https://mirror.yandex.ru/ubuntu noble-security/universe amd64 Packages [1199 kB]
Get:10 https://mirror.yandex.ru/ubuntu noble-security/universe Translation-en [239 kB]
Get:11 https://mirror.yandex.ru/ubuntu noble-updates/main amd64 Packages [1184 kB]
Get:12 https://mirror.yandex.ru/ubuntu noble-updates/main Translation-en [281 kB]
Get:13 https://mirror.yandex.ru/ubuntu noble-updates/restricted amd64 Packages [1414 kB]
Get:14 https://mirror.yandex.ru/ubuntu noble-updates/restricted Translation-en [320 kB]
Get:15 https://mirror.yandex.ru/ubuntu noble-updates/universe amd64 Packages [1682 kB]
Get:16 https://mirror.yandex.ru/ubuntu noble-updates/universe Translation-en [335 kB]
Fetched 9783 kB in 1s (8215 kB/s)
Reading package lists...
Warning: Permanently added '[localhost]:22400' (ED25519) to the list of known hosts.
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (8.5.0-2ubuntu10.11).
ca-certificates is already the newest version (20260601~24.04.1).
The following additional packages will be installed:
  apparmor bridge-utils containerd dns-root-data dnsmasq-base iptables
  libip4tc2 libip6tc2 libnetfilter-conntrack3 libnfnetlink0 libnftables1
  libnftnl11 nftables pigz runc ubuntu-fan
Suggested packages:
  apparmor-profiles-extra apparmor-utils ifupdown aufs-tools btrfs-progs
  cgroupfs-mount | cgroup-lite debootstrap docker-buildx docker-compose-v2
  docker-doc rinse zfs-fuse | zfsutils firewalld
The following NEW packages will be installed:
  apparmor bridge-utils containerd dns-root-data dnsmasq-base docker.io
  iptables libip4tc2 libip6tc2 libnetfilter-conntrack3 libnfnetlink0
  libnftables1 libnftnl11 nftables pigz runc ubuntu-fan
0 upgraded, 17 newly installed, 0 to remove and 7 not upgraded.
Need to get 75.4 MB of archives.
After this operation, 286 MB of additional disk space will be used.
Get:1 https://mirror.yandex.ru/ubuntu noble/universe amd64 pigz amd64 2.8-1 [65.6 kB]
Get:2 https://mirror.yandex.ru/ubuntu noble-updates/main amd64 apparmor amd64 4.0.1really4.0.1-0ubuntu0.24.04.7 [640 kB]
Get:3 https://mirror.yandex.ru/ubuntu noble/main amd64 libip4tc2 amd64 1.8.10-3ubuntu2 [23.3 kB]
Get:4 https://mirror.yandex.ru/ubuntu noble/main amd64 libip6tc2 amd64 1.8.10-3ubuntu2 [23.7 kB]
Get:5 https://mirror.yandex.ru/ubuntu noble/main amd64 libnfnetlink0 amd64 1.0.2-2build1 [14.8 kB]
Get:6 https://mirror.yandex.ru/ubuntu noble/main amd64 libnetfilter-conntrack3 amd64 1.0.9-6build1 [45.2 kB]
Get:7 https://mirror.yandex.ru/ubuntu noble/main amd64 libnftnl11 amd64 1.2.6-2build1 [66.0 kB]
Get:8 https://mirror.yandex.ru/ubuntu noble/main amd64 iptables amd64 1.8.10-3ubuntu2 [381 kB]
Get:9 https://mirror.yandex.ru/ubuntu noble-updates/main amd64 libnftables1 amd64 1.0.9-1ubuntu0.1 [359 kB]
Get:10 https://mirror.yandex.ru/ubuntu noble-updates/main amd64 nftables amd64 1.0.9-1ubuntu0.1 [69.8 kB]
Get:11 https://mirror.yandex.ru/ubuntu noble/main amd64 bridge-utils amd64 1.7.1-1ubuntu2 [33.9 kB]
Get:12 https://mirror.yandex.ru/ubuntu noble-updates/main amd64 runc amd64 1.3.4-0ubuntu1~24.04.1 [9574 kB]
Get:13 https://mirror.yandex.ru/ubuntu noble-security/main amd64 containerd amd64 2.2.1-0ubuntu1~24.04.3 [28.1 MB]
Get:14 https://mirror.yandex.ru/ubuntu noble-updates/main amd64 dns-root-data all 2024071801~ubuntu0.24.04.1 [5918 B]
Get:15 https://mirror.yandex.ru/ubuntu noble-security/main amd64 dnsmasq-base amd64 2.90-2ubuntu0.4 [376 kB]
Get:16 https://mirror.yandex.ru/ubuntu noble-security/universe amd64 docker.io amd64 29.1.3-0ubuntu3~24.04.2 [35.6 MB]
Get:17 https://mirror.yandex.ru/ubuntu noble-updates/universe amd64 ubuntu-fan all 0.12.16+24.04.1 [34.2 kB]
Preconfiguring packages ...
Fetched 75.4 MB in 4s (17.5 MB/s)
Selecting previously unselected package pigz.
(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 ... 43936 files and directories currently installed.)
Preparing to unpack .../00-pigz_2.8-1_amd64.deb ...
Unpacking pigz (2.8-1) ...
Selecting previously unselected package apparmor.
Preparing to unpack .../01-apparmor_4.0.1really4.0.1-0ubuntu0.24.04.7_amd64.deb ...
Unpacking apparmor (4.0.1really4.0.1-0ubuntu0.24.04.7) ...
Selecting previously unselected package libip4tc2:amd64.
Preparing to unpack .../02-libip4tc2_1.8.10-3ubuntu2_amd64.deb ...
Unpacking libip4tc2:amd64 (1.8.10-3ubuntu2) ...
Selecting previously unselected package libip6tc2:amd64.
Preparing to unpack .../03-libip6tc2_1.8.10-3ubuntu2_amd64.deb ...
Unpacking libip6tc2:amd64 (1.8.10-3ubuntu2) ...
Selecting previously unselected package libnfnetlink0:amd64.
Preparing to unpack .../04-libnfnetlink0_1.0.2-2build1_amd64.deb ...
Unpacking libnfnetlink0:amd64 (1.0.2-2build1) ...
Selecting previously unselected package libnetfilter-conntrack3:amd64.
Preparing to unpack .../05-libnetfilter-conntrack3_1.0.9-6build1_amd64.deb ...
Unpacking libnetfilter-conntrack3:amd64 (1.0.9-6build1) ...
Selecting previously unselected package libnftnl11:amd64.
Preparing to unpack .../06-libnftnl11_1.2.6-2build1_amd64.deb ...
Unpacking libnftnl11:amd64 (1.2.6-2build1) ...
Selecting previously unselected package iptables.
Preparing to unpack .../07-iptables_1.8.10-3ubuntu2_amd64.deb ...
Unpacking iptables (1.8.10-3ubuntu2) ...
Selecting previously unselected package libnftables1:amd64.
Preparing to unpack .../08-libnftables1_1.0.9-1ubuntu0.1_amd64.deb ...
Unpacking libnftables1:amd64 (1.0.9-1ubuntu0.1) ...
Selecting previously unselected package nftables.
Preparing to unpack .../09-nftables_1.0.9-1ubuntu0.1_amd64.deb ...
Unpacking nftables (1.0.9-1ubuntu0.1) ...
Selecting previously unselected package bridge-utils.
Preparing to unpack .../10-bridge-utils_1.7.1-1ubuntu2_amd64.deb ...
Unpacking bridge-utils (1.7.1-1ubuntu2) ...
Selecting previously unselected package runc.
Preparing to unpack .../11-runc_1.3.4-0ubuntu1~24.04.1_amd64.deb ...
Unpacking runc (1.3.4-0ubuntu1~24.04.1) ...
Selecting previously unselected package containerd.
Preparing to unpack .../12-containerd_2.2.1-0ubuntu1~24.04.3_amd64.deb ...
Unpacking containerd (2.2.1-0ubuntu1~24.04.3) ...
Selecting previously unselected package dns-root-data.
Preparing to unpack .../13-dns-root-data_2024071801~ubuntu0.24.04.1_all.deb ...
Unpacking dns-root-data (2024071801~ubuntu0.24.04.1) ...
Selecting previously unselected package dnsmasq-base.
Preparing to unpack .../14-dnsmasq-base_2.90-2ubuntu0.4_amd64.deb ...
Unpacking dnsmasq-base (2.90-2ubuntu0.4) ...
Selecting previously unselected package docker.io.
Preparing to unpack .../15-docker.io_29.1.3-0ubuntu3~24.04.2_amd64.deb ...
Unpacking docker.io (29.1.3-0ubuntu3~24.04.2) ...
Selecting previously unselected package ubuntu-fan.
Preparing to unpack .../16-ubuntu-fan_0.12.16+24.04.1_all.deb ...
Unpacking ubuntu-fan (0.12.16+24.04.1) ...
Setting up libip4tc2:amd64 (1.8.10-3ubuntu2) ...
Setting up libip6tc2:amd64 (1.8.10-3ubuntu2) ...
Setting up libnftnl11:amd64 (1.2.6-2build1) ...
Setting up runc (1.3.4-0ubuntu1~24.04.1) ...
Setting up dns-root-data (2024071801~ubuntu0.24.04.1) ...
Setting up apparmor (4.0.1really4.0.1-0ubuntu0.24.04.7) ...
Created symlink /etc/systemd/system/sysinit.target.wants/apparmor.service → /usr/lib/systemd/system/apparmor.service.

Reloading AppArmor profiles 
Setting up bridge-utils (1.7.1-1ubuntu2) ...
Setting up pigz (2.8-1) ...
Setting up libnfnetlink0:amd64 (1.0.2-2build1) ...
Setting up containerd (2.2.1-0ubuntu1~24.04.3) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /usr/lib/systemd/system/containerd.service.

Setting up libnftables1:amd64 (1.0.9-1ubuntu0.1) ...
Setting up nftables (1.0.9-1ubuntu0.1) ...
Setting up libnetfilter-conntrack3:amd64 (1.0.9-6build1) ...
Setting up iptables (1.8.10-3ubuntu2) ...
update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in auto mode
update-alternatives: using /usr/sbin/ip6tables-legacy to provide /usr/sbin/ip6tables (ip6tables) in auto mode
update-alternatives: using /usr/sbin/iptables-nft to provide /usr/sbin/iptables (iptables) in auto mode
update-alternatives: using /usr/sbin/ip6tables-nft to provide /usr/sbin/ip6tables (ip6tables) in auto mode
update-alternatives: using /usr/sbin/arptables-nft to provide /usr/sbin/arptables (arptables) in auto mode
update-alternatives: using /usr/sbin/ebtables-nft to provide /usr/sbin/ebtables (ebtables) in auto mode
Setting up docker.io (29.1.3-0ubuntu3~24.04.2) ...
info: Selecting GID from range 100 to 999 ...
info: Adding group `docker' (GID 104) ...
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /usr/lib/systemd/system/docker.service.

Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /usr/lib/systemd/system/docker.socket.

Setting up dnsmasq-base (2.90-2ubuntu0.4) ...
Setting up ubuntu-fan (0.12.16+24.04.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/ubuntu-fan.service → /usr/lib/systemd/system/ubuntu-fan.service.

Processing triggers for dbus (1.14.10-4ubuntu4.1) ...
Processing triggers for libc-bin (2.39-0ubuntu8.8) ...
[#301] 2026/08/06 22:20:32 Cloning repositories
Cloning into 'ci-cacher'...
+ git -C ci-cacher checkout -q 333189a20b7bb2b7440b083e151afd24bb5a61d4
+ git -C ci-cacher submodule update --init --recursive
[#301] 2026/08/06 22:20:32 Running task install_cacher
[#301] 2026/08/06 22:20:33 Running task cacher_init
[#301] 2026/08/06 22:20:33 Running task install_go
[#301] 2026/08/06 22:20:35 Running task cache_gomod
[#301] 2026/08/06 22:20:36 Running task test
[#301] 2026/08/06 22:21:15 Running task docker_start
[#301] 2026/08/06 22:21:15 Running task cache_garage_image
[#301] 2026/08/06 22:21:16 Running task test_e2e
install_cacher
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
+ curl -sSL https://bigbes.pages.srht.bigb.es/ci-cacher/install.sh
+ sh
install.sh: fetching https://bigbes.pages.srht.bigb.es/ci-cacher/cacher-linux-amd64
install.sh: checksum ok
install.sh: installed → /home/build/.local/bin/cacher
                       _
   ___ __ _  ___ _ __ | |__   ___ _ __
  / __/ _` |/ __| '_ \| '_ \ / _ \ '__|
 | (_| (_| | (__| | | | | | |  __/ |
  \___\__,_|\___|_| |_|_| |_|\___|_|
cacher: S3-backed CI cache helper for builds.sr.ht — replaces .builds/lib/ci-lib.sh
go.bigb.es/cacher

GitVersion:    0.2.2
GitCommit:     333189a20b7bb2b7440b083e151afd24bb5a61d4
GitTreeState:  dirty
BuildDate:     2026-08-06T22:16:13Z
BuiltBy:       unknown
Clean:         false
GoVersion:     go1.26.3
Compiler:      gc
ModuleSum:     unknown
Platform:      linux/amd64
cacher_init
1
2
3
4
5
6
7
8
9
+ cacher init --endpoint https://s3.bigb.es --region garage --bucket docker-cache --prefix ci-cacher/deps --key-file /home/build/.s3-cache-key-id --secret-file /home/build/.s3-cache-key-secret
wrote /home/build/.config/cacher/config.toml
endpoint=https://s3.bigb.es region=garage bucket=docker-cache prefix=ci-cacher/deps
key_id_len=26 key_id_prefix=GK secret_len=64
ping bucket: OK
put canary: OK
get canary: OK
delete canary: OK
doctor: all checks passed
install_go
1
2
3
4
5
6
7
8
+ GO_TARBALL=go1.26.3.linux-amd64.tar.gz
+ mkdir -p /home/build/.local
+ cacher download golang/go1.26.3.linux-amd64.tar.gz /tmp/go1.26.3.linux-amd64.tar.gz --url https://go.dev/dl/go1.26.3.linux-amd64.tar.gz
Cache HIT  — golang/go1.26.3.linux-amd64.tar.gz
+ tar -xz -C /home/build/.local -f /tmp/go1.26.3.linux-amd64.tar.gz
+ rm /tmp/go1.26.3.linux-amd64.tar.gz
+ go version
go version go1.26.3 linux/amd64
cache_gomod
1
2
+ cacher dir download 'gomod/{hash}.tar.zst' /home/build/go/pkg/mod --hash-from ci-cacher/go.sum --exec 'cd ci-cacher && go mod download'
Cache HIT  — gomod/ee53486d4fbebdb0.tar.zst → extract /home/build/go/pkg/mod
test
1
2
3
4
5
6
7
8
9
10
11
+ cd ci-cacher
+ go test ./...
?   	go.bigb.es/cacher	[no test files]
?   	go.bigb.es/cacher/cmd	[no test files]
ok  	go.bigb.es/cacher/internal/archive	0.013s
ok  	go.bigb.es/cacher/internal/config	0.003s
ok  	go.bigb.es/cacher/internal/hash	0.005s
?   	go.bigb.es/cacher/internal/logging	[no test files]
?   	go.bigb.es/cacher/internal/s3	[no test files]
?   	go.bigb.es/cacher/internal/testutil/garage	[no test files]
?   	go.bigb.es/cacher/internal/version	[no test files]
docker_start
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
+ sudo systemctl start docker
+ sudo usermod -aG docker build
+ sudo chmod 666 /var/run/docker.sock
+ docker version
Client:
 Version:           29.1.3
 API version:       1.52
 Go version:        go1.24.4
 Git commit:        29.1.3-0ubuntu3~24.04.2
 Built:             Wed Apr 29 16:41:06 2026
 OS/Arch:           linux/amd64
 Context:           default

Server:
 Engine:
  Version:          29.1.3
  API version:      1.52 (minimum version 1.44)
  Go version:       go1.24.4
  Git commit:       29.1.3-0ubuntu3~24.04.2
  Built:            Wed Apr 29 16:41:06 2026
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          2.2.1
  GitCommit:        
 runc:
  Version:          1.3.4-0ubuntu1~24.04.1
  GitCommit:        
 docker-init:
  Version:          0.19.0
  GitCommit:        
cache_garage_image
1
2
3
4
5
6
7
8
9
10
++ echo dxflrs/garage:v2.3.0
++ tr /: -
+ KEY=docker/dxflrs-garage-v2.3.0.tar.zst
+ cacher docker download docker/dxflrs-garage-v2.3.0.tar.zst dxflrs/garage:v2.3.0 --pull
Cache HIT  — docker/dxflrs-garage-v2.3.0.tar.zst → load dxflrs/garage:v2.3.0
[docker load] Loaded image: dxflrs/garage:v2.3.0
+ docker images dxflrs/garage:v2.3.0
WARNING: This output is designed for human readability. For machine-readable output, please use --format.
IMAGE                  ID             DISK USAGE   CONTENT SIZE   EXTRA
dxflrs/garage:v2.3.0   866bd13ed203       99.8MB         28.5MB        
test_e2e
1
2
3
4
5
6
7
8
9
10
11
+ cd ci-cacher
+ go test -tags=e2e -timeout=10m ./...
ok  	go.bigb.es/cacher	15.434s
?   	go.bigb.es/cacher/cmd	[no test files]
ok  	go.bigb.es/cacher/internal/archive	0.010s
ok  	go.bigb.es/cacher/internal/config	0.003s
ok  	go.bigb.es/cacher/internal/hash	0.008s
?   	go.bigb.es/cacher/internal/logging	[no test files]
?   	go.bigb.es/cacher/internal/s3	[no test files]
?   	go.bigb.es/cacher/internal/testutil/garage	[no test files]
?   	go.bigb.es/cacher/internal/version	[no test files]
Build complete: success 11 days ago (took a minute)