!zghijEASpYQWYFzriI:nixos.org

Hydra

368 Members
107 Servers

Load older messages


SenderMessageTime
28 Sep 2025
@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
@sandro:supersandro.deSandroDo you have an idea since which version it is broken?11:54:31
@saiko:knifepoint.net@saiko:knifepoint.net left the room.19:27:48
3 Oct 2025
@bootstrapper:matrix.org@bootstrapper:matrix.org removed their profile picture.10:08:15
@bootstrapper:matrix.org@bootstrapper:matrix.org removed their display name Ido Samuelson.10:08:33
@bootstrapper:matrix.org@bootstrapper:matrix.org left the room.10:08:55
@moleksiak:matrix.orgmoleksiak joined the room.23:21:01
5 Oct 2025
@Ericson2314:matrix.orgJohn Ericson @joerg:thalheim.io: OK let's just comment out that test for now 12:25:51
@Ericson2314:matrix.orgJohn EricsonI don't have time for more things 12:26:00
@Ericson2314:matrix.orgJohn EricsonStill would like to do 2.30 then 2.31 however12:26:14
@Ericson2314:matrix.orgJohn EricsonCan get the test passing again with the new queue runner :)12:26:38
@joerg:thalheim.ioMic92Yep12:32:05
@joerg:thalheim.ioMic92Hopefully also easier to debug12:32:15

Show newer messages


Back to Room ListRoom Version: 6