!zghijEASpYQWYFzriI:nixos.org

Hydra

379 Members
110 Servers

Load older messages


SenderMessageTime
18 Oct 2022
@ivank:matrix.orgivanI guess it's not really supported until something like https://github.com/NixOS/hydra/pull/829 is merged 17:34:43
@ivank:matrix.orgivanI'll try using nix-serve-ng instead of SSH substituters17:37:05
@andreas.schraegle:helsinki-systems.deajs124
In reply to @ivank:matrix.org
I'll try using nix-serve-ng instead of SSH substituters
you can also try harmonia or eris
17:43:33
@ivank:matrix.orgivanyep, thanks 17:45:04
@ivank:matrix.orgivan the nix-serve module with package = pkgs.haskellPackages.nix-serve-ng; seems to be working well 17:56:04
@ivank:matrix.orgivanor not, I guess nix-serve-ng sometimes crashes when requesting something that doesn't exist. https://gist.github.com/ivan/25faf249a5d2efa61332dd1df26eed3418:25:55
@ivank:matrix.orgivanRedacted or Malformed Event18:26:08
@ivank:matrix.orgivan * or not, I guess nix-serve-ng sometimes crashes when requesting something that doesn't exist. https://gist.github.com/ivan/25faf249a5d2efa61332dd1df26eed34 (actually possibly my problem because nix-serve also has issues connecting to daemon)18:41:36
@ivank:matrix.orgivan * ~~I'll use harmonia or eris...~~18:41:43
@ivank:matrix.orgivan * I'll use harmonia or eris...18:41:47
@andreas.schraegle:helsinki-systems.deajs124maybe we should have a separate channel for "software serving a nix store over http", where we can talk about all those. or maybe just a "binary cache stuff" channel.19:06:45
@ivank:matrix.orgivan *

or not, I guess nix-serve-ng sometimes crashes when requesting something that doesn't exist. https://gist.github.com/ivan/25faf249a5d2efa61332dd1df26eed34

(actually possibly my problem because nix-serve also has issues connecting to daemon. yeah, nix-daemon[3785473]: error: error processing connection: user '62540' is not allowed to connect to the Nix daemon so I'll go deal with that)

19:13:51
@ivank:matrix.orgivan It's all finally working with nix.settings.allowed-users = [ "@nix-serve" ]; because thankfully the group isn't dynamic 19:29:42
19 Oct 2022
@hxliew:matrix.orghxliew joined the room.15:04:42
20 Oct 2022
@rferris:matrix.org@rferris:matrix.org joined the room.02:53:59
@leons:is.currently.online@leons:is.currently.online left the room.13:03:59
23 Oct 2022
@r-burns:matrix.orgr-burns changed their display name from Ryan Burns to r-burns.19:48:40
24 Oct 2022
@chris:mkaito.net@chris:mkaito.net left the room.08:02:07
25 Oct 2022
@jkarni:matrix.orgjkarni joined the room.12:41:14
@casey:hubns.netcransom

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:matrix.ciphernetics.nlRick (Mindavi)Doesn't the evaluator restart on fail?15:49:02
@casey:hubns.netcransom

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:matrix.ciphernetics.nlRick (Mindavi)😅15:58:12
26 Oct 2022
@casey:hubns.netcransomdo I get to add c++ development to my resume now? https://github.com/NixOS/hydra/pull/125620:27:13
27 Oct 2022
@magic_rb:matrix.redalder.orgmagic_rb joined the room.10:12:13
@ksenia.portu:matrix.orgsearch_sense Hello, hydra website seems broken https://hydra.nixos.org/ 500 Internal Server Error 10:12:42
@magic_rb:matrix.redalder.orgmagic_rbHi! 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:matrix.redalder.orgmagic_rbRedacted or Malformed Event10:18:20
@magic_rb:matrix.redalder.orgmagic_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:matrix.ciphernetics.nlRick (Mindavi)Nix daemon is also running in that container?10:21:31

Show newer messages


Back to Room ListRoom Version: 6