!zghijEASpYQWYFzriI:nixos.org

Hydra

386 Members
109 Servers

Load older messages


SenderMessageTime
25 Jul 2021
@FRidh:matrix.orgFRidhRedacted or Malformed Event08:26:04
@FRidh:matrix.orgFRidh
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR:  deadlock detected
DETAIL:  Process 23214 waits for ShareLock on transaction 361879925; blocked by process 5980.
Process 5980 waits for ExclusiveLock on tuple (88,49) of relation 16571 of database 16401; blocked by process 24855.
Process 24855 waits for ShareLock on transaction 361879912; blocked by process 5762.
Process 5762 waits for ShareLock on transaction 361879777; blocked by process 23214.
HINT:  See server log for query details.
CONTEXT:  while updating tuple (6768582,15) in relation "builds" [for Statement "UPDATE builds SET iscurrent = ? WHERE ( ( iscurrent = ? AND jobset_id = ? ) )" with ParamValues: 1='0', 2='1', 3='318'] at /nix/store/shznabn02axg1jdalrf911k65k20dzw8-hydra-0.1.20210629.e02f347/bin/.hydra-eval-jobset-wrapped line 716
08:26:21
@FRidh:matrix.orgFRidhhttps://hydra.nixos.org/jobset/nixpkgs/staging-next#tabs-errors08:26:30
26 Jul 2021
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius joined the room.12:43:30
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius What is the proper way to build WHOLE NIXPKGS with --dry-run (much like hydra) 12:50:19
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusjust exectue each nix file in top level?12:50:29
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius * just manually build each nix file in pkgs/top-level/*? 12:50:49
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusWelp, its confirmed. The more I try - the more I fail. I guess ill write some sort of derivation which depends on everything :/13:02:34
@andreas.schraegle:helsinki-systems.deajs124You can't. Not all of nixpkgs evaluates.13:04:14
@grahamc:nixos.org@grahamc:nixos.org Gytis Ivaskevicius: the only way to really do that would be use hydra's evaluator to get a list of derivations and then walk them and bulid 13:18:51
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusIs it documented anywhere?13:24:30
@sternenseemann:systemli.orgsterni Gytis Ivaskevicius: nix-shell -p hydra-unstable --run "hydra-eval-jobs -I. pkgs/top-level/release.nix" although keep in mind this doesn't technically even evaluate all of nixpkgs 17:45:21
@sternenseemann:systemli.orgsternibut most of it17:45:23
@sternenseemann:systemli.orgsterniand most likely everything you care about17:45:38
27 Jul 2021
@mrtrk:matrix.orgMarco Turchetto joined the room.14:39:47
@mrtrk:matrix.orgMarco TurchettoHi, I'm trying to integrate hydra with GitLab, the intended outcome is to have a project for merge requests and a jobset for every merge request, I have tried with the GitlabPulls.pm plugin but I'm starting to think that is not really what I need14:55:39
@grahamc:nixos.org@grahamc:nixos.org🤔 I've never used the Pulls plugin, but I've got an upcoming project that involves it15:25:01
@grahamc:nixos.org@grahamc:nixos.orgIt looks like you have to use declarative jobsets to use this plugin. This plugin provides an inputs to the declarative jobsets, your nix code would iterate over the pulls in that input, and return a list of jobsets15:27:19
@grahamc:nixos.org@grahamc:nixos.orgbut it is not clear how to actually do that15:27:30
@grahamc:nixos.org@grahamc:nixos.orglike, a bare bones example would be super helpful here 🙃15:27:50
@mrtrk:matrix.orgMarco TurchettoOh, ok nothing was having sense because I was not aware of the "declarative projects"...15:27:59
@grahamc:nixos.org@grahamc:nixos.orgunderstandable15:28:37
@grahamc:nixos.org@grahamc:nixos.orgthe docs are not easy to follow but https://github.com/NixOS/hydra/blob/master/doc/manual/src/projects.md#generated-declarative-projects15:29:19
@mrtrk:matrix.orgMarco TurchettoSo in the end I still need to have a separate repository (or a hydra-fetchable) which contains a nix file that evaluates the list of jobsets? I'm really confused15:47:17
@mrtrk:matrix.orgMarco TurchettoI still don't get how many levels of indirection we have, this plugin needs some config file, can I store it inside some file, and then create a declarative project that uses that file?15:51:46
@mrtrk:matrix.orgMarco TurchettoThere is a reason why I cannot delete a jobset from a project?16:24:47
@casey:hubns.netcransomif the project was created declaratively, you won't be able to delete them.16:40:33
@mrtrk:matrix.orgMarco TurchettoRedacted or Malformed Event16:42:20
@mrtrk:matrix.orgMarco Turchetto So I managed to create a declarative project that is using the GitlabPulls, but it seems that the plugin it broken, when I declare the project I must set a "Declarative spec file" but if I set it I get this error
Jul 27 18:43:53 hydra-staging hydra-evaluator[149715]: read_file '/nix/store/p8mjch1a8wg3ir2ac1vj4g2i2cmlhd35-gitlab-pulls-sorted.json/dummi_declarative_file!!!' - open: Not a directory at /nix/store/ayql17hvhbbwy0rj2q6zql0n9bfvsddc-hydra-2021-05-03/bin/.hydra-eval-jobset-wrapped line 571.
16:48:56
@mrtrk:matrix.orgMarco TurchettoThe plugin correctly generate the jobs.json and puts it into the store, but for some reason I cannot use it, maybe there has been some changes on hydra that has made the plugin not working?16:50:43

Show newer messages


Back to Room ListRoom Version: 6