Hydra | 367 Members | |
| 110 Servers |
| Sender | Message | Time |
|---|---|---|
| 24 Feb 2025 | ||
| * Hi, since some time i am having the following error on my hydra instance. Everytime it does an evaluation it aborts with the following error in log:
I am kinda out of ideas, the webserver runs fine. I found an old issue relating to memory on that error, tho it confuses me as the machine has plenty of memory left unused and was capable to run my hydra builds before. edit: I found https://github.com/NixOS/hydra/issues/1437 that could be similar thing, at least the time range could fit, tho i am seing a different error text. | 16:37:27 | |
| Okay, its locatable to the latest hydra bump, when I revert it, it's working again fine. Should I create an issue in nixpks or more on hydras github? | 20:18:34 | |
| 25 Feb 2025 | ||
There are only two places where nix-eval-jobs uses stoi. Have you set evaluator_workers or evaluator_max_memory_size in your Hydra configuration? | 02:14:18 | |
In reply to @hacker1024:matrix.orgYeah, I am limiting that. So stoi = out of memory? | 06:25:39 | |
No, stoi is a function that parses an integer. What is the exact contents of that part of your config? | 06:26:39 | |
evaluator_max_memory_size = ${toString (4 * 1024 * 1024 * 1024)} which was totally fine previously | 06:27:35 | |
And I am setting evaluator_workers = 2 | 06:28:15 | |
| Hmm yeah that does seem fine | 06:28:30 | |
| Still maybe try without it for a bit and see if that helps? | 06:28:42 | |
| Wait that size is in mb though? You're allocating 4EB | 06:29:20 | |
| * Wait that size is in mb though? You're allocating 4PB | 06:29:39 | |
| That's also 2x the signed integer limit | 06:30:53 | |
| Is it? It should be 4g, at least that was where it limited before | 06:31:04 | |
| Yeah maybe that is then where it's choking | 06:31:31 | |
| I'll try it out when I am back at home, I just did not expect to break in such a way between a bump of Less then 2 weeks π | 06:32:14 | |
| The unit is definitely mb now, and I'm pretty sure it always has been π https://github.com/nix-community/nix-eval-jobs/blob/4b392b284877d203ae262e16af269f702df036bc/src/eval-args.cc#L59 | 06:32:31 | |
| So you'd just want 4096 | 06:32:41 | |
| Hum, the. Old hydra did not cry about it | 06:32:56 | |
| The value is unchanged for 8month in my config | 06:33:27 | |
| I'll check that out and report later, thank you very much for your help! | 06:33:49 | |
| No problem | 06:33:56 | |
| Okay I guess I found where my initial confused comes from. There are old log outputs, where those has been printed out in bytes, and few years ago evaluator max heap size on hydra was also set in bytes (as the envvar that was passed did understand that), and I just blindly assumed that it's just then bytes π«£ old hydra then possibly did just use the default (which is also 4g) and that's likely why it matched my observations | 06:54:43 | |
| 26 Feb 2025 | ||
| It was that issue at the end. New version works fine now. π | 04:49:57 | |
| 27 Feb 2025 | ||
| 14:02:49 | ||
| 3 Mar 2025 | ||
| hexa: https://github.com/NixOS/hydra/pull/1451 put up a revert of that issue | 15:13:42 | |
| until I have time to fix it properly | 15:13:48 | |
| 6 Mar 2025 | ||
| Hello, is there a way to get lists (newly failing jobs, still failing jobs) as JSON or another easily machine readable format? E.g. https://hydra.nixos.org/eval/1810654?full=1#tabs-now-fail | 18:09:04 | |
| No | 18:10:55 | |
In reply to @k900:0upti.meActually I crawl them for zh.fail and parse the HTML. Maybe I can just serve the cache files with nginx π€ | 19:25:49 | |
| Do you happen to also crawl the logs? I noticed that quite some packages failed (and less popular ones still do) after moving to GCC14 due to some warnings that got turned to errors. I compiled a list of packages that failed in the first eval after the GCC change and a current eval. Identified 400 packages that failed first then and still fail now. Would the Hydra people be unhappy if I pulled all the logs for that, the ones caused by these warnings should be easily identifiable. | 19:56:25 | |