OfBorg | 179 Members | |
| Number of builds and evals in queue: <TBD> | 63 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Jul 2023 | ||
| 23:51:17 | ||
| 15 Jul 2023 | ||
| Hi, I'm currently implementing RFC 127 in https://github.com/NixOS/nixpkgs/pull/177272. There is this comment in check-meta.nix, "!!! reason strings are hardcoded into OfBorg, make sure to keep them in sync". So I'd like to coordinate this change with the OfBorg maintainers | 19:22:09 | |
| 16 Jul 2023 | ||
| So I did some keyword search through the OfBorg code base, the only relevant thing I found is https://github.com/NixOS/ofborg/blob/released/ofborg/src/outpaths.nix#L28-L34, which does not look like it needs updating | 08:02:16 | |
| On the other hand, the implementation pull request causes OfBorg internal errors (according to the label it added), so clearly there is something weird going on here | 08:02:48 | |
| Where do I find the OfBorg error logs? | 08:04:56 | |
In reply to @piegames:matrix.orgI'm not sure where the ofborg logs are, but if it did fail in outpath caculation, you could try to run that manually with the instructions at https://github.com/NixOS/ofborg#running-meta-checks-locally (I just hope you have a system with 60+ GiB of RAM though...) | 10:55:04 | |
| Unfortunately that is not an option for me then | 11:00:21 | |
In reply to @piegames:matrix.orgSo I'm running some stuff manually for you and it looks like ofborg may be failing in the stdenv check, which runs with a merged stderr+stdout to attempt to get the stdenv output path (but this PR throws a bunch of maintainless warnings to stderr) | 11:18:20 | |
| Thanks. | 11:19:26 | |
(I feel like ofborg should probably not be merging stderr and stdout when keep_stdout is passed to nix::Nix::run but I do not know much on why that is like that to begin with) | 11:19:59 | |
| I simply forgot to set the maintainerless default to "ignore" again, but actually that's a good thing because there definitely will be warn-by-default things in the log in the future | 11:20:00 | |
(or at least the stdenv check and possibly others should be run with nix::Nix::run_stderr_stdout which differentiates stderr/stdout) | 11:21:14 | |
| You can replicate this one particular issue with I am admittedly just guessing though since running ofborg one-off is still not currently supported and I'm just manually running the | 11:22:36 | |
| (cole just seems to be out for the next few weeks, so I figured I'd help a bit since I'm not sure who else would be able to get ofborg logs) | 11:23:00 | |
| Does ofborg automatically remove the "internal error" label or should I do it manually? | 14:09:53 | |
| It does remove it automatically, if it stays then the ofborg maintainer will sometimes have a look at the related logs | 14:12:25 | |
In reply to @rick:matrix.ciphernetics.nlIt's not removed automatically | 14:34:01 | |
| Never seen it happen | 14:34:49 | |
| Hmm | 15:02:49 | |
| At lease Cole said he'd like it if they are kept, not sure about autoremoval otherwise | 15:03:14 | |
| I have assumed the label is treated as «an open OfBorg issue» with removal triggered manually | 15:06:12 | |
| So, when do we turn failed checks red instead of grey? | 22:15:37 | |
| 17 Jul 2023 | ||
| Maybe we could try it on non-staging PRs and see what issues come up | 01:24:03 | |
| 06:09:53 | ||
| 18 Jul 2023 | ||
| Is there any code deployed that tracks timeout/transient failures (network, ENOSPC)/dep failures/direct failures? Maybe its output should be the last line of failure log? It would be useful on its own when build logs are numerous enough for confusion, and without such code red checks are a glaringly obvious bad idea | 08:06:00 | |
| It would probably already be enough if the logs wouldn't be combined | 08:53:20 | |
| Properly choosing best last ten lines for a lots-of-small-stuff build is hard, a summary of which kinds of failures were present is useful, and it's a clear prerequisite for red checks anyway | 08:55:00 | |
| Last x lines are not always useful, eg pytest shows the failure summary there which is usually not enough to provide anything other than that failed | 08:56:54 | |
| For a single build at least you know it is a pytest failure… | 08:58:09 | |
In reply to @7c6f434c:nitro.chatI don't think so | 17:50:55 | |