Closed katexochen closed 6 months ago
Could you also post the log (can be in private) for the action itself?
Sure :)
Run cachix/cachix-action@18cf96c7c98e048e10a83abd92116114cd8504be
with:
name: edgelesssys
authToken: ***
useDaemon: true
env:
container_registry: ghcr.io/edgelesssys
azure_resource_group: nunki-ci
TMPDIR: /home/runner/work/_temp
Cachix: installing
/usr/bin/bash -c nix-env --quiet -j8 -iA cachix -f https://cachix.org/api/v1/install
Cachix: checking version
/home/runner/.nix-profile/bin/cachix --version
cachix 1.[7](https://github.com/edgelesssys/nunki/actions/runs/7704219225/job/20996107861?pr=103#step:5:7)
/home/runner/.nix-profile/bin/cachix authtoken ***
Written to /home/runner/.config/cachix/cachix.dhall
Cachix: using cache edgelesssys
/home/runner/.nix-profile/bin/cachix use edgelesssys
Configured https://edgelesssys.cachix.org/ binary cache in /home/runner/.config/nix/nix.conf
@katexochen, v14 runs a daemon to push things in the background. We've fixed a few edge-cases where it wouldn't shut down properly and caused similar issues in CI runs.
You can try using cachix from our master branch. We'll get a release out soon.
- uses: cachix/cachix-action@18cf96c7c98e048e10a83abd92116114cd8504be
with:
name: edgelesssys
installCommand: nix profile install github:cachix/cachix/cd12acd9245ac9b7e010aa3acac49f37824fdad2 --accept-flake-config
@sandydoo this still seems to be an issue on the commit you pointed me to:
Run cachix/cachix-action@18cf96c7c98e048e10a83abd92116114cd8504be
with:
name: edgelesssys
authToken: ***
installCommand: nix profile install github:cachix/cachix/cd12acd9245ac9b7e010aa3acac49f37824fdad2 --accept-flake-config
useDaemon: true
env:
TMPDIR: /home/runner/work/_temp
Cachix: installing
/usr/bin/bash -c nix profile install github:cachix/cachix/cd12acd924[5](https://github.com/edgelesssys/nunki/actions/runs/7725819660/job/21061688656?pr=114#step:4:5)ac9b7e010aa3acac49f37824fdad2 --accept-flake-config
copying path '/nix/store/cwn7ng3g4zhpyqf0rn01rikl[6](https://github.com/edgelesssys/nunki/actions/runs/7725819660/job/21061688656?pr=114#step:4:6)xnmwz5f-source' from 'https://cache.nixos.org'...
copying path '/nix/store/v1ifa3[7](https://github.com/edgelesssys/nunki/actions/runs/7725819660/job/21061688656?pr=114#step:4:7)41hza5r1507yd4r0vfkqv0mih-glibc-locales-2.3[8](https://github.com/edgelesssys/nunki/actions/runs/7725819660/job/21061688656?pr=114#step:4:8)-27' from 'https://cache.nixos.org'...
copying path '/nix/store/4a0154yq8pjbf1hdcpb8imcksyndpr5n-distribution-nixpkgs-1.7.0.1-data' from 'https://cache.nixos.org'...
copying path '/nix/store/c54kyc3vn0jbq5hznimvx6wz15jxw8jq-gnu-config-2023-0[9](https://github.com/edgelesssys/nunki/actions/runs/7725819660/job/21061688656?pr=114#step:4:10)-19' from 'https://cache.nixos.org'...
copying path '/nix/store/lmidwx4id2q87f4z9aj79xwb03gsmq5j-xgcc-12.3.0-libgcc' from 'https://cache.nixos.org'...
copying path '/nix/store/7vq9zymw7zk2i0k1i4nfkl6hmlx3gxji-gcc-12.3.0-libgcc' from 'https://cache.nixos.org'...
copying path '/nix/store/s2f1sqfsdi4pmh23nfnrh42v17zsvi5y-libunistring-1.1' from 'https://cache.nixos.org'...
[ ... ]
copying path '/nix/store/i468dhhmfw2avy7mrngy6mfw128wczsa-aws-sdk-cpp-1.11.118' from 'https://cache.nixos.org'...
copying path '/nix/store/9dxng6vqf5wyiv3xbqpm8mdld2dayhiz-nix-2.[16](https://github.com/edgelesssys/nunki/actions/runs/7725819660/job/21061688656?pr=114#step:4:17).2' from 'https://cache.nixos.org/'...
copying path '/nix/store/6v9f5pi58skbaakf5[40](https://github.com/edgelesssys/nunki/actions/runs/7725819660/job/21061688656?pr=114#step:4:41)0q[81](https://github.com/edgelesssys/nunki/actions/runs/7725819660/job/21061688656?pr=114#step:4:82)f9l99hh[92](https://github.com/edgelesssys/nunki/actions/runs/7725819660/job/21061688656?pr=114#step:4:93)-cachix-1.7' from 'https://cachix.cachix.org/'...
Cachix: checking version
/home/runner/.nix-profile/bin/cachix --version
cachix 1.7
/home/runner/.nix-profile/bin/cachix authtoken ***
Written to /home/runner/.config/cachix/cachix.dhall
Cachix: using cache edgelesssys
/home/runner/.nix-profile/bin/cachix use edgelesssys
Configured https://edgelesssys.cachix.org/ binary cache in /home/runner/.config/nix/nix.conf
@katexochen, are there any logs from the post-run step?
If it is the daemon causing this, you can set useDaemon: false
to disable it as a workaround in the meantime.
are there any logs from the post-run step?
No logs, after canceling it just says:
Error: The log was not found. It may have been deleted based on retention settings.
@katexochen could you schedule a call via https://cal.com/domenkozar so we look into this?
You can also set a timeout for the step: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepstimeout-minutes
I am observing the same thing on v14. Here are some logs:
Setting up cachix:
2024-02-24T21:43:21.1906613Z ##[group]Run cachix/cachix-action@18cf96c7c98e048e10a83abd92116114cd8504be
2024-02-24T21:43:21.1907171Z with:
2024-02-24T21:43:21.1907584Z name: postgrest
2024-02-24T21:43:21.1908825Z authToken: ***
2024-02-24T21:43:21.1909182Z useDaemon: true
2024-02-24T21:43:21.1909548Z env:
2024-02-24T21:43:21.1910013Z NIX_PROFILES: /nix/var/nix/profiles/default /home/runner/.nix-profile
2024-02-24T21:43:21.1910679Z NIX_USER_PROFILE_DIR: /nix/var/nix/profiles/per-user/runner
2024-02-24T21:43:21.1911271Z NIX_SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt
2024-02-24T21:43:21.1911732Z ##[endgroup]
2024-02-24T21:43:21.2370843Z ##[group]Cachix: installing
2024-02-24T21:43:21.2406016Z [command]/usr/bin/bash -c nix-env --quiet -j8 -iA cachix -f https://cachix.org/api/v1/install
2024-02-24T21:43:23.0212490Z ##[endgroup]
2024-02-24T21:43:23.0215157Z ##[group]Cachix: checking version
2024-02-24T21:43:23.0223711Z [command]/home/runner/.nix-profile/bin/cachix --version
2024-02-24T21:43:23.0564917Z cachix 1.7
2024-02-24T21:43:23.0630952Z ##[endgroup]
2024-02-24T21:43:23.0636426Z [command]/home/runner/.nix-profile/bin/cachix authtoken ***
2024-02-24T21:43:23.0964846Z Written to /home/runner/.config/cachix/cachix.dhall
2024-02-24T21:43:23.1043323Z ##[group]Cachix: using cache postgrest
2024-02-24T21:43:23.1046046Z [command]/home/runner/.nix-profile/bin/cachix use postgrest
2024-02-24T21:43:23.2940734Z Configured https://postgrest.cachix.org binary cache in /home/runner/.config/nix/nix.conf
2024-02-24T21:43:23.3048610Z ##[endgroup]
2024-02-24T21:43:23.3551471Z ##[group]Run nix-env -f default.nix -iA docs
2024-02-24T21:43:23.3552281Z [36;1mnix-env -f default.nix -iA docs[0m
2024-02-24T21:43:23.3587963Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2024-02-24T21:43:23.3588611Z env:
2024-02-24T21:43:23.3589098Z NIX_PROFILES: /nix/var/nix/profiles/default /home/runner/.nix-profile
2024-02-24T21:43:23.3589731Z NIX_USER_PROFILE_DIR: /nix/var/nix/profiles/per-user/runner
2024-02-24T21:43:23.3590401Z NIX_SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt
2024-02-24T21:43:23.3591277Z NIX_USER_CONF_FILES: /home/runner/work/_temp/cachix-daemon-1HO1Gi/nix.conf:/home/runner/.config/nix/nix.conf:/etc/xdg/nix/nix.conf
2024-02-24T21:43:23.3592207Z CACHIX_DAEMON_DIR: /home/runner/work/_temp/cachix-daemon-1HO1Gi
2024-02-24T21:43:23.3592746Z ##[endgroup]
Post cleanup:
2024-02-24T21:45:28.8238123Z Post job cleanup.
2024-02-24T21:45:28.8685624Z ##[group]Cachix: push
2024-02-24T21:45:28.8732715Z [command]/home/runner/.nix-profile/bin/cachix daemon stop --socket /home/runner/work/_temp/cachix-daemon-1HO1Gi/daemon.sock
2024-02-24T21:45:28.8775939Z [2024-02-24 21:43:23][Info] Starting Cachix Daemon
2024-02-24T21:45:28.8776654Z [2024-02-24 21:43:23][Info] Configuration:
2024-02-24T21:45:28.8777223Z PID: 1899
2024-02-24T21:45:28.8777870Z Socket: /home/runner/work/_temp/cachix-daemon-1HO1Gi/daemon.sock
2024-02-24T21:45:28.8778564Z Workers: 8
2024-02-24T21:45:28.8778915Z Cache name: postgrest
2024-02-24T21:45:28.8779399Z Cache URI: https://postgrest.cachix.org
2024-02-24T21:45:28.8780470Z Cache public keys: ["postgrest.cachix.org-1:icgW4R15fz1+LqvhPjt4EnX/r19AaqxiVV+1olwlZtI="]
2024-02-24T21:45:28.8781382Z Cache is public: True
2024-02-24T21:45:28.8781817Z Compression: ZSTD
2024-02-24T21:45:28.8782854Z [2024-02-24 21:43:53][Info] Skipping /nix/store/8zndxsdb8bkz8h31jp5p5kkq7fw9qmd2-nixpkgs-patched
[... a lot more "Skipping ..." - and nothing more ...]
Waiting for 1.7.1 bump here: https://github.com/NixOS/nixpkgs/pull/291275
You can try using cachix from our master branch. We'll get a release out soon.
- uses: cachix/cachix-action@18cf96c7c98e048e10a83abd92116114cd8504be with: name: edgelesssys installCommand: nix profile install github:cachix/cachix/cd12acd9245ac9b7e010aa3acac49f37824fdad2 --accept-flake-config
Btw I had to remove this, as it not only didn't fix the problem but also stopped pushing paths at all.
@katexochen, thanks for the update. I'm trying to reproduce this.
@katexochen could you try master, this should be fixed now:
- uses: cachix/cachix-action@18cf96c7c98e048e10a83abd92116114cd8504be
with:
name: edgelesssys
installCommand: nix profile install github:cachix/cachix/master --accept-flake-config
or @wolfgangwalther :)
could you try master, this should be fixed now:
On my list, but didn't get to it, yet.
I've updated to 3a6e4a049f7cadd8894015c2488a2fa969c83c41. :heavy_check_mark:
How are things looking?
Seems to work fine, paths are pushed, no hanging until now.
Same here. This did not happen with every run before, so hard to tell - but since I updated cachix, it didn't happen again, yet.
Thanks guys! Please reopen if you see it happen again.
I can't reopen the issue myself, but issue occurred again on the previously mentioned pinned commit.
Observed another two hangers today. Not sure what changed (as the cachix install is pinned) but seems to occur more often now.
And another one:
I am also experiencing this on 18cf96c7c98e048e10a83abd92116114cd8504be
.
Post job cleanup.
Cachix: push
[2024-03-12 16:55:19][Info] Starting Cachix Daemon
[2024-03-12 16:55:19][Info] Configuration:
PID: 2026
Socket: /home/runner/work/_temp/cachix-daemon-h45zOd/daemon.sock
Workers: 8
Cache name: freewavetechnologies
Cache URI: https://freewavetechnologies.cachix.org/
Cache public keys: ["freewavetechnologies.cachix.org-1:N2qEkbme055J4dqUd1YrKMQdN2NFjf0vS872GEIXvHA="]
Cache is public: True
Compression: ZSTD
/home/runner/.nix-profile/bin/cachix daemon stop --socket /home/runner/work/_temp/cachix-daemon-h45zOd/daemon.sock
18cf96c7c98e048e10a83abd92116114cd8504be
What are you using for the installCommand? The fix is in cachix itself, not in cachix-action.
What are you using for the installCommand? The fix is in cachix itself, not in cachix-action.
I still have 3a6e4a049f7cadd8894015c2488a2fa969c83c41 pinned.
I am using this for my install command:
- name: Install Nix
uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-23.11
Edit: After re-reading the last several comments, I have realized that I have misinterpreted the proposed fix.
I should also note that I added a timeout to this step so that it wouldn't go unnoticed for several hours.
Here are my logs for a recent failure.
Run cachix/cachix-action@18cf96c7c98e048e10a83abd92116114cd8504be
with:
name: freewavetechnologies
authToken: ***
installCommand: nix profile install github:cachix/cachix/cd12acd9245ac9b7e010aa3acac49f37824fdad2 --accept-flake-config
useDaemon: true
env:
NIX_PATH: nixpkgs=channel:nixos-23.11
TMPDIR: /home/runner/work/_temp
Cachix: installing
/usr/bin/bash -c nix profile install github:cachix/cachix/cd12acd9245ac9b7e010aa3acac49f37824fdad2 --accept-flake-config
copying path '/nix/store/cwn7ng3g4zhpyqf0rn01rikl6xnmwz5f-source' from 'https://cache.nixos.org/'...
copying path '/nix/store/v1ifa3741hza5r1507yd4r0vfkqv0mih-glibc-locales-2.38-27' from 'https://cache.nixos.org/'...
copying path '/nix/store/4a0154yq8pjbf1hdcpb8imcksyndpr5n-distribution-nixpkgs-1.7.0.1-data' from 'https://cache.nixos.org/'...
copying path '/nix/store/c54kyc3vn0jbq5hznimvx6wz15jxw8jq-gnu-config-2023-09-19' from 'https://cache.nixos.org/'...
copying path '/nix/store/lmidwx4id2q87f4z9aj79xwb03gsmq5j-xgcc-12.3.0-libgcc' from 'https://cache.nixos.org/'...
copying path '/nix/store/7vq9zymw7zk2i0k1i4nfkl6hmlx3gxji-gcc-12.3.0-libgcc' from 'https://cache.nixos.org/'...
copying path '/nix/store/s2f1sqfsdi4pmh23nfnrh42v17zsvi5y-libunistring-1.1' from 'https://cache.nixos.org/'...
copying path '/nix/store/9vk5fqaik9zx14zpfxipg7lxkdk8c5g9-update-autotools-gnu-config-scripts-hook' from 'https://cache.nixos.org/'...
copying path '/nix/store/08n25j4vxyjidjf93fyc15icxwrxm2p8-libidn2-2.3.4' from 'https://cache.nixos.org/'...
copying path '/nix/store/qn3ggz5sf3hkjs2c797xf7nan3amdxmp-glibc-2.38-27' from 'https://cache.nixos.org/'...
copying path '/nix/store/vbb1l2krfp75m5w3y2h52l0pbq6fydz8-attr-2.5.1' from 'https://cache.nixos.org/'...
copying path '/nix/store/q1c2flcykgr4wwg5a6h450hxbk4ch589-bash-5.2-p15' from 'https://cache.nixos.org/'...
copying path '/nix/store/155qsyx1mv11fsi48nz4dlc0vh1a3drx-bzip2-1.0.8' from 'https://cache.nixos.org/'...
copying path '/nix/store/9c5qm297qnvwcf7j0gm01qrslbiqz8rs-gnused-4.9' from 'https://cache.nixos.org/'...
copying path '/nix/store/k3d7ny5h682kixy91iw7sm653kxyqr8d-openssl-3.0.12' from 'https://cache.nixos.org/'...
copying path '/nix/store/wzqs107xkwdxls33skg2ma9rl7j1i68f-xz-5.4.4' from 'https://cache.nixos.org/'...
copying path '/nix/store/2ii0b9dq7gn6m54aix8kyr1kv8bqy9p9-ed-1.19' from 'https://cache.nixos.org/'...
copying path '/nix/store/7wfya2k95zib8jl0jk5hnbn856sqcgfk-gawk-5.2.2' from 'https://cache.nixos.org/'...
copying path '/nix/store/myw67gkgayf3s2mniij7zwd79lxy8v0k-gcc-12.3.0-lib' from 'https://cache.nixos.org/'...
copying path '/nix/store/9kd4bc8fpclpvf1vdwlbila71svyb6w1-libffi-3.4.4' from 'https://cache.nixos.org/'...
copying path '/nix/store/v4iswb5kwj33l46dyh2zqh0nkxxlr3mz-gnumake-4.4.1' from 'https://cache.nixos.org/'...
copying path '/nix/store/4px7vzc531y10r7mmxps1s32cbshbjr2-pcre2-10.42' from 'https://cache.nixos.org/'...
copying path '/nix/store/8xgb8phqmfn9h971q7dg369h647i1aa0-zlib-1.3' from 'https://cache.nixos.org/'...
copying path '/nix/store/ik7jardq92dxw3fnz3vmlcgi9c8dwwdq-bzip2-1.0.8-bin' from 'https://cache.nixos.org/'...
copying path '/nix/store/mmy4fc1arb2ig642chgprgms27vk9hgn-acl-2.3.1' from 'https://cache.nixos.org/'...
copying path '/nix/store/cbj1ph7zi009m53hxs90idl1f5i9i941-patch-2.7.6' from 'https://cache.nixos.org/'...
copying path '/nix/store/qmfxld7qhk8qxlkx1cm4bkplg1gh6jgj-file-5.45' from 'https://cache.nixos.org/'...
copying path '/nix/store/76z4cjs7jj45ixk12yy6k5z2q2djk2jb-xz-5.4.4-bin' from 'https://cache.nixos.org/'...
copying path '/nix/store/xpidksbd07in3nd4sjx79ybwwy81b338-gnutar-1.35' from 'https://cache.nixos.org/'...
copying path '/nix/store/202iqv4bd7lh6f7fpy48p7q4d96lqdp7-gzip-1.13' from 'https://cache.nixos.org/'...
copying path '/nix/store/rx2wig5yhpbwhnqxdy4z7qivj9ln7fab-gnugrep-3.11' from 'https://cache.nixos.org/'...
copying path '/nix/store/injawg30ws0a6ydwbsvaaa1p0ky82pjr-gmp-with-cxx-6.3.0' from 'https://cache.nixos.org/'...
copying path '/nix/store/s3s7gv33p88kzbgki2bprg2a1nc7jnf8-gmp-with-cxx-6.3.0' from 'https://cache.nixos.org/'...
copying path '/nix/store/85jldj870vzcl72yz03labc93bwvqayx-patchelf-0.15.0' from 'https://cache.nixos.org/'...
copying path '/nix/store/bblyj5b3ii8n6v4ra0nb37cmi3lf8rz9-coreutils-9.3' from 'https://cache.nixos.org/'...
copying path '/nix/store/31hnq3a7plblk1946f877ydsa36nqnyg-cabal2nix-2.19.1' from 'https://cache.nixos.org/'...
copying path '/nix/store/l974pi8a5yqjrjlzmg6apk0jwjv81yqw-findutils-4.9.0' from 'https://cache.nixos.org/'...
copying path '/nix/store/8q25nyfirzsng6p57yp8hsaldqqbc7dg-diffutils-3.10' from 'https://cache.nixos.org/'...
copying path '/nix/store/ppy5gm6r676chda5ig5xgbhr8sb3rfap-stdenv-linux' from 'https://cache.nixos.org/'...
building '/nix/store/hj1w3110nqs1vp9z9mcd6a43a3am869p-cabal2nix-cachix.drv'...
building '/nix/store/94kfiwxm7zzzba4ch0588zrgqrkv54yq-cabal2nix-cachix-api.drv'...
these 35 paths will be fetched (15.50 MiB download, 58.50 MiB unpacked):
/nix/store/g4hr45ffm4gf1c5k57l3wgk94dnhaksh-aws-c-auth-0.7.0
/nix/store/rbmlkvb7ww6frp6g99s2sqlki4kym5bw-aws-c-cal-0.6.0
/nix/store/g34d9b40r8das54c1km0865qk0a8kjsm-aws-c-common-0.8.23
/nix/store/sm9w8lw7km19nmi6kx7b5l7h5gr5h1gj-aws-c-compression-0.2.17
/nix/store/5h1yxiv7acw47481zv1n0ihqp55gm6nv-aws-c-event-stream-0.3.1
/nix/store/a6dcmzr8d6x48zzaxqc8mjy6lvbcx52d-aws-c-http-0.7.11
/nix/store/ih50cb32qv69ywdlw6kigll4ab70n5fg-aws-c-io-0.13.29
/nix/store/27vl0wynfcnwi1pf6dqwdf93dha9hv90-aws-c-mqtt-0.8.14
/nix/store/d1vf9fq6aid1hgbng0lhxxz1nfpc7kwx-aws-c-s3-0.3.13
/nix/store/xd57liai4qmc72jm0pdlq0jc6fr5bd81-aws-c-sdkutils-0.1.12
/nix/store/6wj1n1pck8njl76xwh2a14k9p7qjcks6-aws-checksums-0.1.17
/nix/store/60xbzacsda7scir5vnpb65rgc4ypxvcx-aws-crt-cpp-0.20.3
/nix/store/i468dhhmfw2avy7mrngy6mfw128wczsa-aws-sdk-cpp-1.11.118
/nix/store/kghhdvb19fpn2h5pqqvaq71gnh1xdkg4-boehm-gc-8.2.2
/nix/store/qmaqgf4cj8mkfc98d6pd3ardz092f146-brotli-1.1.0-lib
/nix/store/v389w4wkc419gmxwzbfv94pymnmp2563-busybox-static-x86_64-unknown-linux-musl-1.36.1
/nix/store/6v9f5pi58skbaakf5400q81f9l99hh92-cachix-1.7
/nix/store/fs9zd6sa5akbvc4d46war0402lbwxh5n-curl-8.4.0
/nix/store/2vjzwsdm3nngdv6x8dpacwgi5k5vdcar-editline-1.17.1
/nix/store/chkjrz6qy7i9ma62j10ij1gks571g3jn-keyutils-1.6.3-lib
/nix/store/0drpzpkajzv5ps023cpiyi5cmq0nmmg3-libarchive-3.7.2-lib
/nix/store/64a4mn0bmjpb88rlzpwm2idmncaga204-libcpuid-0.6.4
/nix/store/7d2qkskb5yg9p5lgvspapw15dkc3y3zx-libkrb5-1.20.2
/nix/store/c2ykqf04falhxidi024ic347xbj7sv5f-libseccomp-2.5.4-lib
/nix/store/3z3sk6nl49d55826rc8vqvlvipbjbrgp-libsodium-1.0.18
/nix/store/4vqq3gb4qwr1s2vwgx09bl6slqxkh6v6-libssh2-1.11.0
/nix/store/8iqf3yxqy256rsr7zqb1w0i503qxws12-libxml2-2.11.5
/nix/store/mmmq1cdyb4qm8mvh7h38mi5avq5vwhr2-lowdown-1.0.2-lib
/nix/store/5i51nfixxx3p3gshkfsjj4bzp7wajwxz-ncurses-6.4
/nix/store/ksdrjk9519bx41hbam04xpgmgg4s6q5i-nghttp2-1.57.0-lib
/nix/store/9dxng6vqf5wyiv3xbqpm8mdld2dayhiz-nix-2.16.2
/nix/store/1hnid5ml4k25il2iyzfr6fi42n0g7rmi-nix-2.16.2-man
/nix/store/jqx6mmgwilxgmrb3ip9bklz2gc525wf4-s2n-tls-1.3.56
/nix/store/71fvzihav5227cvxisnb475vbal90457-sqlite-3.43.2
/nix/store/1ryrrnjsxnj48hic5bk03hgvcp38sbli-zstd-1.5.5
copying path '/nix/store/v389w4wkc419gmxwzbfv94pymnmp2563-busybox-static-x86_64-unknown-linux-musl-1.36.1' from 'https://cache.nixos.org/'...
copying path '/nix/store/1hnid5ml4k25il2iyzfr6fi42n0g7rmi-nix-2.16.2-man' from 'https://cache.nixos.org/'...
copying path '/nix/store/5i51nfixxx3p3gshkfsjj4bzp7wajwxz-ncurses-6.4' from 'https://cache.nixos.org/'...
copying path '/nix/store/3z3sk6nl49d55826rc8vqvlvipbjbrgp-libsodium-1.0.18' from 'https://cache.nixos.org/'...
copying path '/nix/store/2vjzwsdm3nngdv6x8dpacwgi5k5vdcar-editline-1.17.1' from 'https://cache.nixos.org/'...
copying path '/nix/store/g34d9b40r8das54c1km0865qk0a8kjsm-aws-c-common-0.8.23' from 'https://cache.nixos.org/'...
copying path '/nix/store/c2ykqf04falhxidi024ic347xbj7sv5f-libseccomp-2.5.4-lib' from 'https://cache.nixos.org/'...
copying path '/nix/store/mmmq1cdyb4qm8mvh7h38mi5avq5vwhr2-lowdown-1.0.2-lib' from 'https://cache.nixos.org/'...
copying path '/nix/store/71fvzihav5227cvxisnb475vbal90457-sqlite-3.43.2' from 'https://cache.nixos.org/'...
copying path '/nix/store/4vqq3gb4qwr1s2vwgx09bl6slqxkh6v6-libssh2-1.11.0' from 'https://cache.nixos.org/'...
copying path '/nix/store/8iqf3yxqy256rsr7zqb1w0i503qxws12-libxml2-2.11.5' from 'https://cache.nixos.org/'...
copying path '/nix/store/ksdrjk9519bx41hbam04xpgmgg4s6q5i-nghttp2-1.57.0-lib' from 'https://cache.nixos.org/'...
copying path '/nix/store/qmaqgf4cj8mkfc98d6pd3ardz092f146-brotli-1.1.0-lib' from 'https://cache.nixos.org/'...
copying path '/nix/store/64a4mn0bmjpb88rlzpwm2idmncaga204-libcpuid-0.6.4' from 'https://cache.nixos.org/'...
copying path '/nix/store/kghhdvb19fpn2h5pqqvaq71gnh1xdkg4-boehm-gc-8.2.2' from 'https://cache.nixos.org/'...
copying path '/nix/store/jqx6mmgwilxgmrb3ip9bklz2gc525wf4-s2n-tls-1.3.56' from 'https://cache.nixos.org/'...
copying path '/nix/store/1ryrrnjsxnj48hic5bk03hgvcp38sbli-zstd-1.5.5' from 'https://cache.nixos.org/'...
copying path '/nix/store/chkjrz6qy7i9ma62j10ij1gks571g3jn-keyutils-1.6.3-lib' from 'https://cache.nixos.org/'...
copying path '/nix/store/7d2qkskb5yg9p5lgvspapw15dkc3y3zx-libkrb5-1.20.2' from 'https://cache.nixos.org/'...
copying path '/nix/store/6wj1n1pck8njl76xwh2a14k9p7qjcks6-aws-checksums-0.1.17' from 'https://cache.nixos.org/'...
copying path '/nix/store/xd57liai4qmc72jm0pdlq0jc6fr5bd81-aws-c-sdkutils-0.1.12' from 'https://cache.nixos.org/'...
copying path '/nix/store/sm9w8lw7km19nmi6kx7b5l7h5gr5h1gj-aws-c-compression-0.2.17' from 'https://cache.nixos.org/'...
copying path '/nix/store/rbmlkvb7ww6frp6g99s2sqlki4kym5bw-aws-c-cal-0.6.0' from 'https://cache.nixos.org/'...
copying path '/nix/store/ih50cb32qv69ywdlw6kigll4ab70n5fg-aws-c-io-0.13.29' from 'https://cache.nixos.org/'...
copying path '/nix/store/0drpzpkajzv5ps023cpiyi5cmq0nmmg3-libarchive-3.7.2-lib' from 'https://cache.nixos.org/'...
copying path '/nix/store/a6dcmzr8d6x48zzaxqc8mjy6lvbcx52d-aws-c-http-0.7.11' from 'https://cache.nixos.org/'...
copying path '/nix/store/5h1yxiv7acw47481zv1n0ihqp55gm6nv-aws-c-event-stream-0.3.1' from 'https://cache.nixos.org/'...
copying path '/nix/store/g4hr45ffm4gf1c5k57l3wgk94dnhaksh-aws-c-auth-0.7.0' from 'https://cache.nixos.org/'...
copying path '/nix/store/27vl0wynfcnwi1pf6dqwdf93dha9hv90-aws-c-mqtt-0.8.14' from 'https://cache.nixos.org/'...
copying path '/nix/store/d1vf9fq6aid1hgbng0lhxxz1nfpc7kwx-aws-c-s3-0.3.13' from 'https://cache.nixos.org/'...
copying path '/nix/store/fs9zd6sa5akbvc4d46war0402lbwxh5n-curl-8.4.0' from 'https://cache.nixos.org/'...
copying path '/nix/store/60xbzacsda7scir5vnpb65rgc4ypxvcx-aws-crt-cpp-0.20.3' from 'https://cache.nixos.org/'...
copying path '/nix/store/i468dhhmfw2avy7mrngy6mfw128wczsa-aws-sdk-cpp-1.11.118' from 'https://cache.nixos.org/'...
copying path '/nix/store/9dxng6vqf5wyiv3xbqpm8mdld2dayhiz-nix-2.16.2' from 'https://cache.nixos.org/'...
copying path '/nix/store/6v9f5pi58skbaakf5400q81f9l99hh92-cachix-1.7' from 'https://cachix.cachix.org/'...
Cachix: checking version
/home/runner/.nix-profile/bin/cachix --version
cachix 1.7
/home/runner/.nix-profile/bin/cachix authtoken ***
Written to /home/runner/.config/cachix/cachix.dhall
Cachix: using cache freewavetechnologies
/home/runner/.nix-profile/bin/cachix use freewavetechnologies
Configured https://freewavetechnologies.cachix.org/ binary cache in /home/runner/.config/nix/nix.conf
Post job cleanup.
Cachix: push
[2024-03-13 17:26:52][Info] Starting Cachix Daemon
[2024-03-13 17:26:52][Info] Configuration:
PID: 5830
Socket: /home/runner/work/_temp/cachix-daemon-L6ZSdu/daemon.sock
Workers: 8
Cache name: freewavetechnologies
Cache URI: https://freewavetechnologies.cachix.org/
Cache public keys: ["freewavetechnologies.cachix.org-1:N2qEkbme055J4dqUd1YrKMQdN2NFjf0vS872GEIXvHA="]
Cache is public: True
Compression: ZSTD
/home/runner/.nix-profile/bin/cachix daemon stop --socket /home/runner/work/_temp/cachix-daemon-L6ZSdu/daemon.sock
Error: The action 'Post Setup Cachix' has timed out after 5 minutes.
Please let me know if there is anything more useful I can provide.
We're going to wire up the debugging info and ask you to use that so we better understand what's going on. Thank you guys :)
Still an issue, and occurs quite often within the last month. Any update? We are still on github:cachix/cachix/3a6e4a049f7cadd8894015c2488a2fa969c83c41
@katexochen, could you please give 02e38da89851ec7fec3356a5c04bc8349cae0e30
a try?
could you please give
02e38da89851ec7fec3356a5c04bc8349cae0e30
a try?
@sandydoo still observing hangs on this commit (maybe a bit less frequent).
Are there any commonalities between affected setups? E.g. anyone using nix-fast-eval
and alikes? Around time we introduced it, the amount of timeouts increased, but might have been an accident. Also - anyone maybe using buildjet?
I managed to get a reliable-ish repro for this. I've been running it against devenv's CI on a mix of hosted and self-hosted machines with good results.
branch: https://github.com/cachix/cachix/commits/debug-daemon-stop/ commit: cac4e466f1f1e17c743f163f0275a5470343aae6
- uses: cachix/cachix-action@master
with:
name: <CACHE_NAME>
installCommand: nix profile install github:cachix/cachix/debug-daemon-stop -L --accept-flake-config
cac4e466f1f1e17c743f163f0275a5470343aae6
@sandydoo I didn't observe any problems since updating to this commit two weeks ago.
@katexochen, epic! I've been dogfooding this across our org with good results as well. We're prepping a new release.
Released 1.7.3 with the fix, please reopen if it still happens!
We've observed this multiple times now. Sometimes the post step of the action hangs indefinitely so that the workflow would finally get killed.
This is using v14 of the action (hash-pinned).