| 19 Oct 2022 |
| hxliew joined the room. | 15:04:42 |
| 20 Oct 2022 |
| @rferris:matrix.org joined the room. | 02:53:59 |
| @leons:is.currently.online left the room. | 13:03:59 |
| 23 Oct 2022 |
| r-burns changed their display name from Ryan Burns to r-burns. | 19:48:40 |
| 24 Oct 2022 |
| @chris:mkaito.net left the room. | 08:02:07 |
| 25 Oct 2022 |
| jkarni joined the room. | 12:41:14 |
cransom | I noticed my hydra wasn't building yesterday,
hydra-evaluator[671730]: exception in database monitor thread: Lost connection to the database server.
hydra-evaluator[671730]: exception in main loop: Lost connection to the database server.
The db wasn't down when I looked. Poking around the code, I see the exception messages but there's no recovery for a lost database connection. Ideally, it would reconnect. If I were to figure out a patch, should I figure out the reconnection or just abort hydra-evaluator? does the latter smell too much?
| 15:47:55 |
Rick (Mindavi) | Doesn't the evaluator restart on fail? | 15:49:02 |
cransom | systemd would restart it, but the code carries on:
} catch (std::exception & e) {
printError("exception in database monitor thread: %s", e.what());
sleep(30);
}
for example.
| 15:50:02 |
Rick (Mindavi) | 😅 | 15:58:12 |
| 26 Oct 2022 |
cransom | do I get to add c++ development to my resume now? https://github.com/NixOS/hydra/pull/1256 | 20:27:13 |
| 27 Oct 2022 |
| magic_rb joined the room. | 10:12:13 |
search_sense | Hello, hydra website seems broken https://hydra.nixos.org/ 500 Internal Server Error | 10:12:42 |
magic_rb | Hi! I'm running my own Hydra instance on a non NixOS host essentially and I've never gotten evaluation logs out of it, it just fails as shown here on this link https://hydra.redalder.org/jobset/systems/master#tabs-errors where should I start digging as to why it happens? The module I'm using is heavily based on the NixOS one though so I have no idea why it's misbehaving... | 10:14:26 |
magic_rb | Redacted or Malformed Event | 10:18:20 |
magic_rb |
evaluation failed with exit code 255
so this is what happens, I don't see anything useful in the stdout/stderr streams of the container (yes It's in a container) | 10:20:57 |
Rick (Mindavi) | Nix daemon is also running in that container? | 10:21:31 |
ajs124 | In reply to @ksenia.portu:matrix.org Hello, hydra website seems broken https://hydra.nixos.org/ 500 Internal Server Error -> #infra:nixos.org | 10:21:39 |
magic_rb |
In reply to
Mindavi
Nix daemon is also running in that container?
yep | 10:21:54 |
Rick (Mindavi) | And normal nix build do work fine, I assume? | 10:22:24 |
magic_rb |
(systems:master) Evaluating...
accepted connection from pid 2869996, user hydra
It does say this | 10:22:54 |
magic_rb |
In reply to
Mindavi
And normal nix build do work fine, I assume?
yeah once it evals fine it builds fine and build output also works | 10:23:10 |
Rick (Mindavi) | Not sure what is up then, I would expect some more logs... | 11:33:17 |
Rick (Mindavi) | There is a PR open to add logging to all die calls IIRC | 11:33:33 |
Rick (Mindavi) | Might be worth trying that, if you can find it | 11:33:46 |
magic_rb | maybe im somehow eating those logs somewhere, let me check | 11:33:50 |
magic_rb |
export PATH=${with pkgs; makeBinPath [ hydra-package nettools jq ]}:$PATH
sv -v -w 0 once hydra-init
[[ ! -e ${baseDir}/.init-hydra ]] && exit 1
export PATH=${pkgs.nettools}/bin:$PATH # Hydra runs some variant of `hostname --fqdn`, which BusyBox doesn't support
HOME=~hydra exec chpst ${optionalString cfg.adjustNiceness "-n +5"} -b hydra-evaluator -u hydra:hydra ${hydra-package}/bin/hydra-evaluator
nope, that should be what is doing the eval if I understand Hydra's architecture right | 11:36:48 |
das_j | Are you not using systemd? 👀 | 12:16:54 |
das_j | That looks like linux from the 90s | 12:17:07 |
magic_rb | im not using systemd | 12:19:14 |