!zghijEASpYQWYFzriI:nixos.org

Hydra

386 Members
109 Servers

Load older messages


SenderMessageTime
22 Jun 2022
@janne.hess:helsinki-systems.dedas_j
In reply to @trofi:matrix.org
I'd like to grep for a particular string in build logs of failed jobs for a given jobset. Is there a hydra CLI for that? Or maybe there is a syntax for web UI to do the same? An example jobset would be https://hydra.nixos.org/eval/1767990?filter=x86_64-linux&compare=1767840&full=1 , an example string to search would be multiple definition of
* You can only crawl Hydra and ask it for all logs, there is no API for searching logs
12:34:56
@andreas.schraegle:helsinki-systems.deajs124also, the logs are stored compressed in the filesystem, not in the database with some kind of index. so we can't just add an API endpoint that queries the database for this.12:55:05
@sandro:supersandro.deSandroFilesystem also can be S3, right?15:38:14
@janne.hess:helsinki-systems.dedas_jwat15:38:37
@janne.hess:helsinki-systems.dedas_jno, s3 is not a filesystem15:38:49
@janne.hess:helsinki-systems.dedas_j If you mean store_uri - then yes, that can be a s3 url 15:39:48
@trofi:matrix.orgtrofiUnqueryable logs makes sense. I hoped for a blessed tool to fetch build logs (possibly with a bit of caching support).16:20:04
@andreas.schraegle:helsinki-systems.deajs124you'd probably need to send an api request for each build in the eval, with that you can query the binary cache for the logs16:24:43
@sandro:supersandro.deSandro
In reply to @janne.hess:helsinki-systems.de
If you mean store_uri - then yes, that can be a s3 url
I meant hydra stores logs on s3
19:51:53
23 Jun 2022
@linus:schreibt.jetzt@linus:schreibt.jetzt
In reply to @trofi:matrix.org
Unqueryable logs makes sense. I hoped for a blessed tool to fetch build logs (possibly with a bit of caching support).
nix log is a blessed tool for fetching build logs
00:40:47
@linus:schreibt.jetzt@linus:schreibt.jetztIt's not hydra-aware though00:40:56
@dandellion:dodsorf.asDandellionAt least when I only had one job, now that I have two it never completes an evaluation04:07:00
@janne.hess:helsinki-systems.dedas_j
In reply to @sandro:supersandro.de
I meant hydra stores logs on s3
There is an extra option for that
06:57:38
@ulrikstrid:matrix.org@ulrikstrid:matrix.org Does the githubstatus plugin work with flakes? And can I use a Bearer token instead of Basic auth? 07:09:53
@sandro:supersandro.deSandroIs the input tab broken with flakes?11:13:02
@sandro:supersandro.deSandro
In reply to @linus:schreibt.jetzt
It's not hydra-aware though
Does hydra not write the logs into the mix store?
11:13:29
@linus:schreibt.jetzt@linus:schreibt.jetzt
In reply to @sandro:supersandro.de
Does hydra not write the logs into the mix store?
Yes, but you can't tell nix log "get the logs for this job from this evaluation" without extra steps
11:27:30
@linus:schreibt.jetzt@linus:schreibt.jetztYou have to give it a drv path11:27:30
@janne.hess:helsinki-systems.dedas_j
In reply to @sandro:supersandro.de
Is the input tab broken with flakes?
Does seem like it. A plugin could be written for that
11:29:47
@sandro:supersandro.deSandro
In reply to @linus:schreibt.jetzt
You have to give it a drv path
Don't we need to get them anyway?
16:07:27
@sandro:supersandro.deSandro
In reply to @janne.hess:helsinki-systems.de
Does seem like it. A plugin could be written for that
Can it without flakes track multiple branches?
16:08:16
@linus:schreibt.jetzt@linus:schreibt.jetzt
In reply to @sandro:supersandro.de
Don't we need to get them anyway?
I don't know, tr?fi's use case doesn't specify that they need to get drvs.
18:14:47
@janne.hess:helsinki-systems.dedas_j
In reply to @sandro:supersandro.de
Can it without flakes track multiple branches?
I wrote one for npins, it works well. So probably (?)
19:07:09
@sandro:supersandro.deSandro
In reply to @janne.hess:helsinki-systems.de
I wrote one for npins, it works well. So probably (?)
Where can I find that?
23:15:09
@sandro:supersandro.deSandroI'd really would want to get inputs to work for flakes23:15:10
24 Jun 2022
@janne.hess:helsinki-systems.dedas_j
In reply to @sandro:supersandro.de
Where can I find that?
It's not really production-grade which is why it's not available anywhere
12:06:37
@janne.hess:helsinki-systems.dedas_j But you essentially hook intp evalAdded, parse the repo URLs and git hashes, and do $evaluation->jobsetevalinputs->create 12:07:16
@janne.hess:helsinki-systems.dedas_j * But you essentially hook into evalAdded, parse the repo URLs and git hashes, and do $evaluation->jobsetevalinputs->create 12:07:24
@linus:schreibt.jetzt@linus:schreibt.jetzt
In reply to @janne.hess:helsinki-systems.de
It's not really production-grade which is why it's not available anywhere
put a big ol' disclaimer on it and publish it anyway?
12:07:42
@linus:schreibt.jetzt@linus:schreibt.jetztonly non-production-grade software is better than no software12:08:01

Show newer messages


Back to Room ListRoom Version: 6