!zghijEASpYQWYFzriI:nixos.org

Hydra

339 Members
97 Servers

Load older messages


SenderMessageTime
23 Sep 2025
@sandro:supersandro.deSandro 🐧

Just tried the following combination which I think worked earlier but no longer does...

Hydra 0-unstable-2025-09-13 (using nix-2.29.2+4 and nix-eval-jobs-2.30.0). You are signed in as sandro.

13:29:52
@sandro:supersandro.deSandro 🐧and still the same error13:31:26
@Ericson2314:matrix.orgJohn Ericson @sandro:supersandro.de: ah ok thanks that's very interesting 22:26:10
@Ericson2314:matrix.orgJohn EricsonI'll try to upgrade nix and nix eval jobs separately also22:26:22
24 Sep 2025
@casey:hubns.net@casey:hubns.net left the room.15:27:19
26 Sep 2025
@vcunat:matrix.orgvcunat

Hmm, weird. This command stopped working recently

curl -H "Accept: application/json" https://hydra.nixos.org/queue-runner-status
07:03:25
@vcunat:matrix.orgvcunatBut without the accept header it does still fetch the html, but it's just harder to work with.07:03:56
@sandro:supersandro.deSandro 🐧Seems to work for me 🤔17:40:00
27 Sep 2025
@vcunat:matrix.orgvcunatNow it works for me as well.06:55:53
28 Sep 2025
@Ericson2314:matrix.orgJohn Ericson @joerg:thalheim.io: so I think I know how I want to debug it: 12:17:19
@Ericson2314:matrix.orgJohn Ericson1. Separate debug output, we just have that on Nix and keep it working in CI12:17:42
@Ericson2314:matrix.orgJohn Ericson2. Make the builder sleep for a long time 12:17:55
@Ericson2314:matrix.orgJohn EricsonAttach debugger to nix while builder is sleeping, then trace to the part where it kills the builder12:18:56
@Ericson2314:matrix.orgJohn Ericson* 3. Attach debugger to nix while builder is sleeping, then trace to the part where it kills the builder12:19:06
@joerg:thalheim.ioMic92Is nix a separate process in this case? 16:08:22
@joerg:thalheim.ioMic92There are also tricks where a function spawns gdb to itself. Also i would use gdbstub here16:09:16
@vcunat:matrix.orgvcunat At a quick glance, maybe you'd consider to use rr to record an execution and then inspect that recording (which happens in a gdb interface again). 17:16:52
@vcunat:matrix.orgvcunat * At a quick glance, maybe you'd consider using rr to record an execution and then inspect that recording (which happens in a gdb interface again). 17:17:07
@Ericson2314:matrix.orgJohn Ericson
In reply to @joerg:thalheim.io
Is nix a separate process in this case?
With the ssh://localhost yes
23:11:04
@Ericson2314:matrix.orgJohn EricsonCould use ?remote-program=... to run GDB hah23:11:49
@Ericson2314:matrix.orgJohn Ericson
In reply to @vcunat:matrix.org
At a quick glance, maybe you'd consider using rr to record an execution and then inspect that recording (which happens in a gdb interface again).
Yeah that might work well with the remote program thing
23:12:15
29 Sep 2025
@joerg:thalheim.ioMic92 John Ericson: we need to make the call soon. I would prefer to get rid of nix 2.29 in nixpkgs soon to not have to maintain it for another release. 06:27:25
30 Sep 2025
@vcunat:matrix.orgvcunat Apparently it's flaky. Sometimes I get {"status":"unknown"}, sometimes a proper reply. 09:13:26
@janne:hess.oooJanne
    run3(['hydra-queue-runner', '--status'], \undef, \$stdout, \$stderr);
    my $status;
    if ($? != 0) {
        $status = { status => "unknown" };
    } else {
        $status = decode_json($stdout);
    }
10:58:12
@janne:hess.oooJannethat happens when we cannot execute the status command10:58:18
@janne:hess.oooJanneshould be fixed with the new queue runner when we expose the metrics directly rather than going through catalyst. that would require a specific proxyPass in nginx but should simplify everything and make it more stable10:59:35
@vcunat:matrix.orgvcunat

🤔 so now I tried to run the command manually on that particular machine, repeatedly. Sometimes after the correct-looking JSON it added

error: queue runner did not respond; status information may be wrong

and exited with status 1.

11:06:41
@vcunat:matrix.orgvcunatAnd apparently the time to process the command fluctuates significantly.11:07:09
@vcunat:matrix.orgvcunat(sometimes immediate, sometimes a couple seconds)11:07:44
@vcunat:matrix.orgvcunatOK, I suppose it's not worth delving into details for this on the old queue runner.11:08:24

Show newer messages


Back to Room ListRoom Version: 6