Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos: Switch back to setting a placeholder HS256 secret #185

Merged
merged 1 commit into from
Oct 10, 2024

nixos: Switch back to setting a placeholder HS256 secret when checkin…

f36329a
Select commit
Loading
Failed to load commit list.
Merged

nixos: Switch back to setting a placeholder HS256 secret #185

nixos: Switch back to setting a placeholder HS256 secret when checkin…
f36329a
Select commit
Loading
Failed to load commit list.
Garnix CI / check basic-sqlite-local [x86_64-linux] succeeded Oct 8, 2024 in 3m 6s

Run results

Build succeeded

Details

Last 100 lines of logs:

(finished: must succeed: grep hello /nix/store/3xmnf84z53c34pplzrv152fpj1cjx4qf-seq9.nix, in 0.02 seconds)
(finished: subtest: Check that we can pull the paths back, in 47.72 seconds)
�[1m�[32msubtest: Check that we can make the cache public�[0m
client: �[1m�[32mmust fail: curl -sL --fail-with-body http://server:8080/test/nix-cache-info�[0m
(finished: must fail: curl -sL --fail-with-body http://server:8080/test/nix-cache-info, in 0.03 seconds)
client: �[1m�[32mmust fail: curl -sL --fail-with-body http://server:8080/test/5xhswk059zawdmpm65r5ddyxrias0wkz.narinfo�[0m
(finished: must fail: curl -sL --fail-with-body http://server:8080/test/5xhswk059zawdmpm65r5ddyxrias0wkz.narinfo, in 0.03 seconds)
client: �[1m�[32mmust succeed: attic cache configure test --public�[0m
�[2mclient # ✅ Configured "test" on "root"�[0m
(finished: must succeed: attic cache configure test --public, in 0.05 seconds)
client: �[1m�[32mmust succeed: curl -sL --fail-with-body http://server:8080/test/nix-cache-info�[0m
(finished: must succeed: curl -sL --fail-with-body http://server:8080/test/nix-cache-info, in 0.03 seconds)
client: �[1m�[32mmust succeed: curl -sL --fail-with-body http://server:8080/test/5xhswk059zawdmpm65r5ddyxrias0wkz.narinfo�[0m
(finished: must succeed: curl -sL --fail-with-body http://server:8080/test/5xhswk059zawdmpm65r5ddyxrias0wkz.narinfo, in 0.03 seconds)
(finished: subtest: Check that we can make the cache public, in 0.17 seconds)
�[1m�[32msubtest: Check that we can trigger garbage collection�[0m
client: �[1m�[32mmust succeed: curl -sL --fail-with-body http://server:8080/test/5xhswk059zawdmpm65r5ddyxrias0wkz.narinfo�[0m
(finished: must succeed: curl -sL --fail-with-body http://server:8080/test/5xhswk059zawdmpm65r5ddyxrias0wkz.narinfo, in 0.03 seconds)
client: �[1m�[32mmust succeed: attic cache configure test --retention-period 1s�[0m
�[2mclient # ✅ Configured "test" on "root"�[0m
(finished: must succeed: attic cache configure test --retention-period 1s, in 0.05 seconds)
server: �[1m�[32mmust succeed: . /etc/atticd.env && export ATTIC_SERVER_TOKEN_RS256_SECRET_BASE64 && atticd -f /nix/store/gf0c5273fng5my09050q4xyjsl1s34qf-server.toml --mode garbage-collector-once�[0m
�[2mserver # Attic Server 0.1.0 (release)�[0m
(finished: must succeed: . /etc/atticd.env && export ATTIC_SERVER_TOKEN_RS256_SECRET_BASE64 && atticd -f /nix/store/gf0c5273fng5my09050q4xyjsl1s34qf-server.toml --mode garbage-collector-once, in 0.03 seconds)
client: �[1m�[32mmust fail: curl -sL --fail-with-body http://server:8080/test/5xhswk059zawdmpm65r5ddyxrias0wkz.narinfo�[0m
(finished: must fail: curl -sL --fail-with-body http://server:8080/test/5xhswk059zawdmpm65r5ddyxrias0wkz.narinfo, in 0.03 seconds)
(finished: subtest: Check that we can trigger garbage collection, in 2.14 seconds)
�[1m�[32msubtest: Check that all chunks are actually deleted after GC�[0m
server: �[1m�[32mmust succeed: find /var/lib/atticd/storage -type f ! -name 'VERSION'�[0m
(finished: must succeed: find /var/lib/atticd/storage -type f ! -name 'VERSION', in 0.02 seconds)
Remaining files: 
(finished: subtest: Check that all chunks are actually deleted after GC, in 0.02 seconds)
�[1m�[32msubtest: Check that we can include the upload info in the payload�[0m
client: �[1m�[32mmust succeed: /nix/store/hm49222bpmvx3x7h8ifb2h3kparl01g1-make-drv test2.nix�[0m
(finished: must succeed: /nix/store/hm49222bpmvx3x7h8ifb2h3kparl01g1-make-drv test2.nix, in 0.04 seconds)
client: �[1m�[32mmust succeed: nix-build --no-out-link test2.nix�[0m
�[2mclient # this derivation will be built:�[0m
�[2mclient #   /nix/store/bni4wmsh2j35j134w8p3fa74r4dnk1wr-test2.nix.drv�[0m
�[2mclient # building '/nix/store/bni4wmsh2j35j134w8p3fa74r4dnk1wr-test2.nix.drv'...�[0m
(finished: must succeed: nix-build --no-out-link test2.nix, in 0.08 seconds)
client: �[1m�[32mmust succeed: attic push --force-preamble test /nix/store/dp399szhjs3n13y41h7xgnwg8rwlj99z-test2.nix
�[0m
�[2mclient # ⚙️ Pushing 1 paths to "test" on "root" (0 already cached, 0 in upstream)...�[0m
�[2mclient # 🕐 test2.nix            ███                                      8 B        (16.00 EiB/s)�[1A�[2K�[1B�[2K�[1A🕑 test2.nix            ████████                                 21 B       (16.00 EiB/s)�[1A�[2K�[1B�[2K�[1A🕒 test2.nix            █████████                                24 B       (23.44 KiB/s)�[1A�[2K�[1B�[2K�[1A🕓 test2.nix            ███████████                              32 B       (15.62 KiB/s)�[1A�[2K�[1B�[2K�[1A🕔 test2.nix            ████████████                             33 B       (10.74 KiB/s)�[1A�[2K�[1B�[2K�[1A🕕 test2.nix            ██████████████                           40 B       (9.77 KiB/s)�[1A�[2K�…
(finished: must succeed: attic push --force-preamble test /nix/store/dp399szhjs3n13y41h7xgnwg8rwlj99z-test2.nix
, in 0.10 seconds)
client: �[1m�[32mmust succeed: nix-store --delete /nix/store/dp399szhjs3n13y41h7xgnwg8rwlj99z-test2.nix
�[0m
�[2mclient # 🕗 test2.nix            ████████████████████████████████████████ 120 B      (5.58 KiB/s)�[1A�[2K�[1B�[2K�[1Afinding garbage collector roots...�[0m
�[2mclient # removing stale link from '/nix/var/nix/gcroots/auto/f61a2p40krg80p3pqi8dcj2602s62zmd' to '/tmp/nix-build-1492-0/result'�[0m
�[2mclient # deleting '/nix/store/dp399szhjs3n13y41h7xgnwg8rwlj99z-test2.nix'�[0m
�[2mclient # deleting unused links...�[0m
�[2mclient # note: currently hard linking saves 0.00 MiB�[0m
(finished: must succeed: nix-store --delete /nix/store/dp399szhjs3n13y41h7xgnwg8rwlj99z-test2.nix
, in 0.08 seconds)
client: �[1m�[32mmust succeed: nix-store -r /nix/store/dp399szhjs3n13y41h7xgnwg8rwlj99z-test2.nix
�[0m
�[2mclient # warning: error: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6); retrying in 263 ms�[0m
�[2mclient # warning: error: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6); retrying in 694 ms�[0m
�[2mclient # warning: error: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6); retrying in 1360 ms�[0m
�[2mclient # warning: error: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6); retrying in 2764 ms�[0m
�[2mclient # warning: unable to download 'https://cache.nixos.org/nix-cache-info': Could not resolve hostname (6)�[0m
�[2mclient # this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):�[0m
�[2mclient #   /nix/store/dp399szhjs3n13y41h7xgnwg8rwlj99z-test2.nix�[0m
�[2mclient # copying path '/nix/store/dp399szhjs3n13y41h7xgnwg8rwlj99z-test2.nix' from 'http://server:8080/test'...�[0m
�[2mclient # warning: you did not specify '--add-root'; the result might be removed by the garbage collector�[0m
(finished: must succeed: nix-store -r /nix/store/dp399szhjs3n13y41h7xgnwg8rwlj99z-test2.nix
, in 5.17 seconds)
(finished: subtest: Check that we can include the upload info in the payload, in 5.48 seconds)
�[1m�[32msubtest: Check that we can destroy the cache�[0m
client: �[1m�[32mmust succeed: attic cache info test�[0m
�[2mclient #                Public: true�[0m
�[2mclient #            Public Key: test:Um+ZZ8mveAAn8n+QANg6gj2HhAcyY55rof8O5Zb5gwA=�[0m
�[2mclient # Binary Cache Endpoint: http://server:8080/test�[0m
�[2mclient #          API Endpoint: http://server:8080/�[0m
�[2mclient #       Store Directory: /nix/store�[0m
�[2mclient #              Priority: 41�[0m
�[2mclient #   Upstream Cache Keys: ["cache.nixos.org-1"]�[0m
�[2mclient #      Retention Period: 1�[0m
(finished: must succeed: attic cache info test, in 0.05 seconds)
client: �[1m�[32mmust succeed: attic cache destroy --no-confirm test�[0m
�[2mclient # 🗑️ The cache was destroyed.�[0m
(finished: must succeed: attic cache destroy --no-confirm test, in 0.05 seconds)
client: �[1m�[32mmust fail: attic cache info test�[0m
�[2mclient # Error: NoSuchCache: The requested cache does not exist.�[0m
(finished: must fail: attic cache info test, in 0.05 seconds)
client: �[1m�[32mmust fail: curl -sL --fail-with-body http://server:8080/test/nix-cache-info�[0m
(finished: must fail: curl -sL --fail-with-body http://server:8080/test/nix-cache-info, in 0.03 seconds)
(finished: subtest: Check that we can destroy the cache, in 0.18 seconds)
server: �[1m�[32mmust succeed: /nix/store/6r58kzdhs5jlynkkndg1plia4bvvkadv-sqlite-3.46.0-bin/bin/sqlite3 /var/lib/atticd/server.db '.schema --indent'�[0m
(finished: must succeed: /nix/store/6r58kzdhs5jlynkkndg1plia4bvvkadv-sqlite-3.46.0-bin/bin/sqlite3 /var/lib/atticd/server.db '.schema --indent', in 0.03 seconds)
(finished: run the VM test script, in 105.05 seconds)
test script finished in 105.11s
�[1m�[32mcleanup�[0m
kill machine (pid 8)
qemu-kvm: terminating on signal 15 from pid 5 (/nix/store/h3i0acpmr8mrjx07519xxmidv8mpax4y-python3-3.12.5/bin/python3.12)
kill machine (pid 27)
qemu-kvm: terminating on signal 15 from pid 5 (/nix/store/h3i0acpmr8mrjx07519xxmidv8mpax4y-python3-3.12.5/bin/python3.12)
(finished: cleanup, in 0.02 seconds)
kill vlan (pid 6)