Skip to content

nixos.sd_image_new_kernel.aarch64-linux is not building on Hydra #161296

Closed

Description

@alex-robbins

It looks like nixos.sd_image_new_kernel.aarch64-linux was being built daily by Hydra, but it stopped on January 10.

As a result, the new-kernel SD image is stuck with kernel 5.15.13. I think there might be an upstream kernel bug in subsequent releases, and it would be nice to have a Hydra-built SD image to test with.

Notify maintainers

@samueldr since it looks like he added the new-kernel image originally

Activity

  1. samueldr commented on Feb 22, 2022

    @samueldr
    Member

    Yeah, it happens every release of Linux because of the hard dependency on ZFS.

    The job page has this banner:

    image

    When this happens, for any build, copy the job name part after the colon (nixos.sd_image_new_kernel.aarch64-linux). Go to the jobset page (tip: it's linked directly left of the job name you copied), then to the Evaluation Errors tab, and search for the job name.

    Current issue is, as expected:

    in job ‘nixos.sd_image_new_kernel.aarch64-linux’:
    error: Package ‘zfs-kernel-2.1.2-5.16.10’ in /nix/store/d9wpzgyjlpw1424kw2lyilah6690fnk3-source/pkgs/os-specific/linux/zfs/default.nix:195 is marked as broken, refusing to evaluate.
    
           a) To temporarily allow broken packages, you can use an environment variable
              for a single invocation of the nix tools.
    
                $ export NIXPKGS_ALLOW_BROKEN=1
    
            Note: For `nix shell`, `nix build`, `nix develop` or any other Nix 2.4+
            (Flake) command, `--impure` must be passed in order to read this
            environment variable.
    
           b) For `nixos-rebuild` you can set
             { nixpkgs.config.allowBroken = true; }
           in configuration.nix to override this.
    
           c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
             { allowBroken = true; }
           to ~/.config/nixpkgs/config.nix.
    

    See also: #59863.

  2. samueldr commented on Feb 22, 2022

    @samueldr
    Member

    I'm closing assuming this was answered correctly. This is a known defect, and there's not much actionable specifically here, other than waiting for ZFS package updates. Sadly.

    Feel free to ask clarification questions if you need to!

  3. alex-robbins commented on Feb 23, 2022

    @alex-robbins
    Author

    Thanks for the tip on navigating Hydra; that's helpful. Agree on closing.

    Too bad about the ZFS thing, but if you couldn't get a solution accepted then I'm sure there's nothing I can do about it either. (It definitely makes sense to me that people who want ZFS should expect to have to downgrade their kernel if ZFS does not yet support the current one.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions