| 3 Jan 2023 |
@grahamc:nixos.org | for example, h.n.o has several machines all with only a couple of jobs:
Runnable step summary:
System("aarch64-linux") BigParallel = 19
System("aarch64-linux") Small = 14561
System("x86_64-linux") Small = 36992
System("x86_64-linux") BigParallel = 63
d2275b15 1 jobs c3.large.arm64 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-large-arm")
f808e48c 2 jobs m3.large.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/m3-large-x86")
ed316d19 2 jobs c3.medium.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-medium-x86")
ad265397 1 jobs c3.large.arm64 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-large-arm")
b4e6b722 2 jobs c3.medium.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-medium-x86")
676df879 2 jobs m3.large.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/m3-large-x86")
1ee6c8ee 2 jobs m3.large.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/m3-large-x86")
a0799bb2 1 jobs c3.large.arm64 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-large-arm")
0a97c518 1 jobs c3.medium.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-medium-x86")
c903713a 2 jobs c3.medium.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-medium-x86--big-parallel")
85548d18 2 jobs c3.medium.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-medium-x86")
3605ddda 1 jobs c3.medium.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-medium-x86")
fb7b877c 2 jobs c3.medium.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-medium-x86")
8bad08b2 2 jobs c3.large.arm64 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-large-arm")
692fe2f0 1 jobs m3.large.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/m3-large-x86")
3d6261cf 2 jobs m3.large.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/m3-large-x86")
1df3554f 2 jobs m3.large.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/m3-large-x86")
6882de43 1 jobs m3.large.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/m3-large-x86")
fdf25b0c 2 jobs c3.large.arm64 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-large-arm")
2637b007 1 jobs c3.large.arm64 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-large-arm")
8daeb8c6 0 jobs c3.medium.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-medium-x86")
6e2f7cf3 3 jobs c3.large.arm64 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-large-arm--big-parallel")
9d99cf4e 1 jobs m3.large.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/m3-large-x86")
861032e9 1 jobs c3.medium.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-medium-x86")
4694c986 1 jobs c3.medium.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-medium-x86")
8938bc79 1 jobs m3.large.x86 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/m3-large-x86")
f0d9fd7a 1 jobs c3.large.arm64 Some("https://netboot.nixos.org/dispatch/hydra/hydra.nixos.org/equinix-metal-builders/main/c3-large-arm")
| 12:56:04 |
@grahamc:nixos.org | oh | 12:59:24 |
@grahamc:nixos.org | an O(n) loop inside an O(n lg n) loop: https://github.com/NixOS/hydra/blob/master/src/hydra-queue-runner/dispatcher.cc#L239-L241 https://github.com/NixOS/hydra/blob/master/src/hydra-queue-runner/dispatcher.cc#L162-L258 | 13:00:28 |
K900 | Oh no | 13:01:23 |
@grahamc:nixos.org | if anyone knows C++ well enough to fix this I'd be quite glad to help make that happen 😅 | 13:02:59 |
Rick (Mindavi) | I don't think my C++ is bad, but I'd need a better understanding of what's happening there. Might dive into it when I'm back at a PC next week | 15:28:35 |
@grahamc:nixos.org | cool | 15:29:03 |
| 4 Jan 2023 |
| shawn8901 joined the room. | 12:33:30 |
| 5 Jan 2023 |
| vertebralsilence changed their display name from vertebralsilence to flurie. | 18:26:41 |
| 9 Jan 2023 |
| adisbladis left the room. | 06:23:44 |
| 13 Jan 2023 |
wucke13 | My /var/lib/hydra/hydra.conf has base_uri = https://long.and.serious.domain.name in it. I also restarted all hydra services (I believe at least) using sudo systemctl restart 'hydra-*'. Still, curl localhost:8008 (my hydra port, no reverse proxy in between) yields stuff like <script type="text/javascript" src="http://localhost:8008/static/js/popper.min.js"></script>. What went wrong? | 17:41:13 |
@grahamc:nixos.org | Catalyst detects the URL being used to access it, and using that for some dynamic linking | 17:42:01 |
@grahamc:nixos.org | if you add a header to your request you can tweak it, like --header X-Forwarded_For "https://long.and.serious.domain.name/" | 17:42:35 |
@grahamc:nixos.org | * if you add a header to your request you can tweak it, like --header X-Forwarded-For "https://long.and.serious.domain.name/" (edited to fix the header name) | 17:43:04 |
wucke13 | Doesn't that defeat the hole purpose of services.hydra.hydraURL? | 17:44:09 |
wucke13 | (that as in this dynamic detection mechanism) | 17:44:40 |
@grahamc:nixos.org | I'm not totally sure about the backstory there, but not quite. that base_uri argument is used in a few places and ways, and part of the reason is when code runs outside of a web request it sometimes needs to know the base URI of Hydra | 17:44:58 |
wucke13 | In reply to @grahamc:nixos.org if you add a header to your request you can tweak it, like --header X-Forwarded-For "https://long.and.serious.domain.name/" (edited to fix the header name) That by the way still doesn't work. | 17:47:33 |
wucke13 | In reply to @grahamc:nixos.org if you add a header to your request you can tweak it, like --header X-Forwarded-For "https://long.and.serious.domain.name/" (edited to fix the header name) * ~~That by the way still doesn't work.~~ hang on, whitesace error | 17:48:14 |
@grahamc:nixos.org | ah, try this other header: | 17:48:15 |
@grahamc:nixos.org | --header X-Forwarded-Host "long.and..." | 17:48:27 |
wucke13 | Nope. | 17:49:38 |
wucke13 | (I'm using curl --header 'X-Forwarded-Host "https://long.and.serious.domain.name/"' localhost:8008 | 17:49:58 |
wucke13 | * (I'm using curl --header 'X-Forwarded-Host "https://long.and.serious.domain.name/"' localhost:8008) | 17:50:01 |
@grahamc:nixos.org | ah, oops, I gave you the wrong syntax | 17:50:20 |
@grahamc:nixos.org | curl --header X-Forwarded-Host: long.and... | 17:50:39 |
wucke13 | Nope. Doesn't work. And without the quotation mark, curl tries to connect to long.and ... | 17:52:05 |
wucke13 | But even with the quotation mark I get all kind of localhost in the response. | 17:52:28 |
wucke13 | I have an older machine with the almost identical config. Was there maybe a switch introduced dependening on systemState? | 17:53:19 |
@grahamc:nixos.org | ugh I just can't get it right can I | 17:56:33 |