#4134 closed defect (fixed)
CI workflow for Nix appears completely broken by Cachix
Reported by: | meejah | Owned by: | hacklschorsch |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | dev-infrastructure | Version: | n/a |
Keywords: | ci | Cc: | benoit@… |
Launchpad Bug: |
Description
For example:
Building PR for user/org: tahoe-lafs Building branch: pull/1394 Non-upstream build. Cache not required. Cache not writeable. Cachix credentials missing; will not attempt cache writes. error: unexpected EOF reading a line Exited with code exit status 1
Change History (12)
comment:1 Changed at 2024-11-29T06:12:26Z by meejah
- Owner set to hacklschorsch
comment:2 Changed at 2024-12-02T17:55:42Z by hacklschorsch
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed at 2024-12-03T17:32:31Z by meejah
- Resolution fixed deleted
- Status changed from closed to reopened
comment:4 Changed at 2024-12-03T17:32:54Z by meejah
In N&B today it was said this was closed in error. Reopened.
comment:5 Changed at 2024-12-03T20:16:28Z by btlogy
I wonder how bad these 3 builds will look like on Github w/o caching. I'm going to try a workflow inspired on the one I'm using already elsewhere...
comment:6 Changed at 2024-12-03T22:19:43Z by btlogy
Ok, same as Flo said in the N&B earlier: the same job on Github is also re-building the whole world from scratch... We likely need to bump nixpkgs in the flake to nixos-24.05 which is deprecated but should still be in caches. Because our current jobs are still based on nixos-23.05 and even nixos-22.11 which are nowhere to be found (outside Cachix maybe).
comment:7 Changed at 2024-12-05T23:42:38Z by btlogy
Flo and I made some progress: updating everything to nixos-24_11 (released a few days ago) seems to work decently w/o our Cachix, because the public cache holds most of the binaries we need.
I've squashed and rework our commits to prepare a meaningful PR:
REM: the proposed change is also dropping the nix packaging and testing of Tahoe-LAFS on Python 3.9 in favor of doing it now on Python 3.12.
comment:8 Changed at 2024-12-06T00:04:02Z by btlogy
- Summary changed from cachix appears completely broken to CI workflow for Nix appears completely broken by Cachix
comment:9 Changed at 2024-12-06T00:04:22Z by btlogy
- Component changed from unknown to dev-infrastructure
comment:10 Changed at 2024-12-06T00:18:14Z by btlogy
- Cc benoit@… added
comment:11 Changed at 2024-12-13T13:04:23Z by hacklschorsch
- Resolution set to fixed
- Status changed from reopened to closed
comment:12 Changed at 2024-12-13T13:04:36Z by hacklschorsch
- Keywords ci added
The error: unexpected EOF reading a line comes from Nix waiting for an answer to an interactive prompt that never comes:
I added flags to make nix more trusting in https://github.com/tahoe-lafs/tahoe-lafs/pull/1398