!zghijEASpYQWYFzriI:nixos.org

Hydra

315 Members
94 Servers

Load older messages


SenderMessageTime
5 Sep 2024
@dramforever:matrix.orgdramforever so i'm imagining something like meta.requiredSystemFeatures that adds the features strictly when scheduling in hydra 02:31:34
6 Sep 2024
@vcunat:matrix.orgvcunatHydra already has issues with the case where you change a (fixed-output) derivation while keeping the output hash.10:20:41
@vcunat:matrix.orgvcunatIt will reuse the old build and with it the old derivation.10:21:18
@vcunat:matrix.orgvcunatEven if it was failed.10:22:08
9 Sep 2024
@meep_bleep:matrix.orgSpace Water joined the room.16:00:28
11 Sep 2024
@niko:conduit.rsnyanbinary left the room.15:29:02
16 Sep 2024
@silentlurker:matrix.orgsilentlurker joined the room.20:00:40
17 Sep 2024
@tomherbers:matrix.orgTom (deprecated) joined the room.21:10:15
18 Sep 2024
@cleverca22:matrix.orgcleverca22 John Ericson: https://github.com/NixOS/nix/commit/bc085022494fe90f733aef0832b6d7dcc34709cf has the fix to hydra been written yet? i updated my hydra recently, and now the cache is down 03:42:13
@Ericson2314:matrix.orgJohn Ericson
In reply to @cleverca22:matrix.org
John Ericson: https://github.com/NixOS/nix/commit/bc085022494fe90f733aef0832b6d7dcc34709cf has the fix to hydra been written yet? i updated my hydra recently, and now the cache is down
which fix / which problem?
03:58:20
@Ericson2314:matrix.orgJohn Ericson there is some base64 thing that prevented updating cache.nixos.org yet' 03:58:36
@Ericson2314:matrix.orgJohn Ericson * there is some base64 thing that prevented updating cache.nixos.org yet 03:58:39
@Ericson2314:matrix.orgJohn Ericsonhttps://github.com/NixOS/hydra/commits/hydra.nixos.org-nix-2.2103:59:14
@Ericson2314:matrix.orgJohn Ericsonwant to switch to that03:59:20
@subfractal:matrix.orgsubfractal changed their display name from gkze to subfractal.15:32:16
@cleverca22:matrix.orgcleverca22
In reply to @Ericson2314:matrix.org
which fix / which problem?
Caught exception in Hydra::Controller::Root->nar "Undefined subroutine &Hydra::Controller::Root::isValidPath called at /nix/store/hsizk3l5p792wim3xh4ddbmyyqrsw1fn-hydra-0-unstable-2024-09-15/libexec/hydra/lib/Hydra/Controller/Root.pm line 333."
21:08:18
@cleverca22:matrix.orgcleverca22the entire binary cache api is broken21:08:25
@cleverca22:matrix.orgcleverca22narinfo files work, but nar's dont, so nothing can DL21:10:08
@Ericson2314:matrix.orgJohn Ericson cleverca22: ah that looks like one we missed 21:25:34
@Ericson2314:matrix.orgJohn Ericson Make it $MACHINE_LOCAL_STORE->isValidPath(...) 21:26:15
@Ericson2314:matrix.orgJohn Ericson cleverca22: it would be nice if you could PR it to the nix-2.21 branch 21:27:30
19 Sep 2024
@max.hausch:helsinki-systems.de@max.hausch:helsinki-systems.de left the room.08:48:28
20 Sep 2024
@cleverca22:matrix.orgcleverca22
        <div class="page-header">500 Internal Server Error        </div>   <div class="alert alert-error">Caught exception in Hydra::View::NARInfo-&gt;process &quot;Can't locate object method &quot;readFile&quot; via package &quot;/etc/nix/keys/secret-key-file&quot; (perhaps you forgot to load &quot;/etc/nix/keys/secret-key-file&quot;?) at /nix/store/78qww3jbcnvbhw6xpfn7mc0bpph8ngx4-hydra-0.1.20240920.cc1b6d3/libexec/hydra/lib/Hydra/View/NARInfo.pm line 39.&quot;</div>

John Ericson applied that patch and upgraded hydra to 1 commit ahead of that branch, now the narinfo endpoint is broken instead

08:00:40
@cleverca22:matrix.orgcleverca22
--- a/src/lib/Hydra/View/NARInfo.pm
+++ b/src/lib/Hydra/View/NARInfo.pm
@@ -36,7 +36,7 @@ sub process {
     # Optionally, sign the NAR info file we just created.
     my $secretKeyFile = $c->config->{binary_cache_secret_key_file};
     if (defined $secretKeyFile) {
-        my $secretKey = readFile $secretKeyFile;
+        my $secretKey = readFile($secretKeyFile);
         my $fingerprint = fingerprintPath($storePath, $narHash, $narSize, $refs);
         my $sig = signString($secretKey, $fingerprint);
         $info .= "Sig: $sig\n";
08:51:37
@cleverca22:matrix.orgcleverca22i noticed, the function call here, is missing some parens08:51:44
@janne.hess:helsinki-systems.dedas_j
In reply to @cleverca22:matrix.org
i noticed, the function call here, is missing some parens
That's valid in Perl 🤡
09:01:20
@cleverca22:matrix.orgcleverca22
In reply to @janne.hess:helsinki-systems.de
That's valid in Perl 🤡
is it still valid in the latest version? has something changed?
what does the error mean exactly? why is it treating the secret key as a module?
09:17:48
@janne.hess:helsinki-systems.dedas_jreadFile is only in the c++ codebase09:49:04
@janne.hess:helsinki-systems.dedas_j

for reading a file, you would use:

use File::Slurper qw(read_text);
# …
read_text($secretKeyFile);
09:50:00
@janne.hess:helsinki-systems.dedas_j *

for reading a file in the perl codebase, you would use:

use File::Slurper qw(read_text);
# …
read_text($secretKeyFile);
09:50:09

Show newer messages


Back to Room ListRoom Version: 6