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

[20.03] nixUnstable: pre20200721_ff314f1 -> pre20200829_f156513, hydra-unstable: 2020-08-04 -> 2020-09-02 #97049

Merged
merged 2 commits into from Sep 8, 2020

Conversation

Ma27
Copy link
Member

@Ma27 Ma27 commented Sep 3, 2020

Motivation for this change

Backport PR for #97046 & #95742.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

kalekseev and others added 2 commits September 3, 2020 22:39
Needed to fix Hydra with latest `nixUnstable`.

(cherry picked from commit 1c55613)
@worldofpeace worldofpeace merged commit 54a8612 into NixOS:release-20.03 Sep 8, 2020
@Ma27 Ma27 deleted the hydra-backports branch September 9, 2020 05:47
@bryandatanerds
Copy link

Is anyone else having problems with declarative jobsets with this new version of hydra-unstable that just hit the nixos-20.03 channel? My configuration was working before but now it can't evaluate .jobsets:

Sep 17 13:43:47 localhost hydra-evaluator[7903]: starting evaluation of jobset ‘myproject:.jobsets’ (last checked 300 s ago)
Sep 17 13:43:48 localhost hydra-evaluator[7903]: ERROR: failed to process declarative jobset myproject:keepnr, Can't use string ("10") as a HASH ref while "strict refs" in use at /nix/store/5j0w87rbwfjjwfq8shn5ky3lhg107pil-hydra-2020-09-02/libexec/hydra/lib/Hydra/Helper/AddBuilds.pm line 48.
Sep 17 13:43:48 localhost hydra-evaluator[7903]: ERROR: failed to process declarative jobset myproject:checkinterval, Can't use string ("300") as a HASH ref while "strict refs" in use at /nix/store/5j0w87rbwfjjwfq8shn5ky3lhg107pil-hydra-2020-09-02/libexec/hydra/lib/Hydra/Helper/AddBuilds.pm line 48.
Sep 17 13:43:48 localhost hydra-evaluator[7903]: ERROR: failed to process declarative jobset myproject:emailoverride, Can't use string ("") as a HASH ref while "strict refs" in use at /nix/store/5j0w87rbwfjjwfq8shn5ky3lhg107pil-hydra-2020-09-02/libexec/hydra/lib/Hydra/Helper/AddBuilds.pm line 48.
Sep 17 13:43:48 localhost hydra-evaluator[7903]: ERROR: failed to process declarative jobset myproject:nixexprinput, Can't use string ("myrepo") as a HASH ref while "strict refs" in use at /nix/store/5j0w87rbwfjjwfq8shn5ky3lhg107pil-hydra-2020-09-02/libexec/hydra/lib/Hydra/Helper/AddBuilds.pm line 48.
Sep 17 13:43:48 localhost hydra-evaluator[7903]: ERROR: failed to process declarative jobset myproject:nixexprpath, Can't use string ("nix/hydra/myproject-jobsets.nix") as a HASH ref while "strict refs" in use at /nix/store/5j0w87rbwfjjwfq8shn5ky3lhg107pil-hydra-2020-09-02/libexec/hydra/lib/Hydra/Helper/AddBuilds.pm line 48.
Sep 17 13:43:48 localhost hydra-evaluator[7903]: ERROR: failed to process declarative jobset myproject:inputs, DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR:  null value in column "emailoverride" violates not-null constraint
...

My config is nothing special:

{
    "enabled": 1,
    "hidden": false,
    "description": "My jobsets",
    "nixexprinput": "myrepo",
    "nixexprpath": "nix/hydra/myproject-jobsets.nix",
    "checkinterval": 300,
    "schedulingshares": 100,
    "enableemail": false,
    "emailoverride": "",
    "keepnr": 10,
    "inputs": {
        "nixpkgs": {
            "type": "git",
            "value": "https://github.com/NixOS/nixpkgs-channels.git nixos-20.03",
            "emailresponsible": false
        },
        "devops": {
            "type": "git",
            "value": "ssh://git@github.com/.../myproject.git master",
            "emailresponsible": false
        }
    }
}

@ajs124
Copy link
Member

ajs124 commented Sep 17, 2020

NixOS/hydra#815

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

Successfully merging this pull request may close these issues.

None yet

5 participants