| 11 Jul 2021 |
lewo | i'm fighing hard with a declarative project on the nix community Hydra. It don't update some inputs (and it's really hard to troubleshoot). | 08:41:34 |
das_j | You need to have hydra-notify running, that's what failed for us when we started using the decl jobsets. Also take a look at #814 which (along other stuff) documents most of the stuff | 08:43:04 |
lewo | It seems i pushforced the branch specified in the project declarative input and Hydra doesn't update the .jobset inputs | 08:43:41 |
das_j | Yeah you really don't want force-pushing | 08:43:55 |
das_j | * Yeah you really don't want to forcepush | 08:44:00 |
lewo | Could I workaround this issue by creating a new branch instaed? | 08:45:00 |
das_j | That might work. Also just push new commits in the future, it will help a lot here | 08:47:28 |
lewo | Yeah, for sure i will never push force this branch again! Thx for the tips! | 08:49:45 |
| Robert Hensing (roberth) joined the room. | 18:33:37 |
Robert Hensing (roberth) | is it possible to have a multiplier for timeouts based on the machine or system? Without it, perfectly fine (and almost done) builds like this fail on aarch64 https://hydra.nixos.org/build/147478435#tabs-summary | 18:36:51 |
| 12 Jul 2021 |
@grahamc:nixos.org | should probably mark it big-parallel | 13:26:40 |
das_j | grahamc (he/him): Isn't there a meta attribute? | 13:27:06 |
ajs124 | requiredSystemFeatures or something like that? | 13:27:40 |
@grahamc:nixos.org | yep: https://github.com/NixOS/nixpkgs/blob/eb93bf6eed08d06bc4eb08b534e544b1f9b4e966/pkgs/applications/office/libreoffice/default.nix#L415 | 13:28:05 |
das_j | no I mean simething liek hydraTimeout | 13:29:38 |
@grahamc:nixos.org | there is something like thaht too | 13:29:53 |
das_j | https://nixos.org/manual/nixpkgs/stable/#var-meta-timeout | 13:30:07 |
@grahamc:nixos.org | but if the build is taking 10 hours and isn't big-parallel, it would probably benefit a lot by being big-parallel more than having its timeout increased | 13:30:13 |
das_j | But I'm not sure if Hydra cares about that | 13:30:17 |
@grahamc:nixos.org | https://github.com/NixOS/hydra/blob/master/doc/manual/src/jobs.md#meta-fields | 13:30:46 |
@grahamc:nixos.org | 🤯? :) | 13:31:57 |
ajs124 | das_j probably had his mind blown because you linked some documentation in hydra | 13:32:26 |
das_j | yeah. Also I'm surprised by the fact hydra honors so many of the fields | 13:32:47 |
@grahamc:nixos.org | so many of the fields exist because of hydra | 13:32:57 |
ajs124 |
schedulingPriority - meta.schedulingPriority, an integer. Default: 100. Slightly prioritizes this job over other jobs within this jobset.
| 13:33:15 |
das_j | ajs124: Let me try that for my desktop and laptop | 13:33:33 |
ajs124 | oh no | 13:33:44 |
@grahamc:nixos.org | hm? | 13:33:53 |
das_j | Our Hydra builds all of our systems in one jobset. I might just prioritize my own systems over the rest ;) | 13:34:16 |
@grahamc:nixos.org | neat | 13:35:22 |