Can we make ofborg show broken tests as red?

More and more packages get .passthru.tests added, which is fantastic. They get run by ofborg in PRs, also fantastic.

However, when a test gets completely broken by a change, it goes green (bad!) with text:

Success

Attempted: consul

The following builds were skipped because they don’t evaluate on x86_64-linux: consul.passthru.tests

How can we make such cases go red on Github, and show “Failed”?

CC @grahamc who might know best, but probably others as well.

consul: rewrite nixos module by cpcloud · Pull Request #107798 · NixOS/nixpkgs · GitHub

3 Likes

Example where this just went wrong: neomutt: 20230407 -> 20230512 by Ma27 · Pull Request #231638 · NixOS/nixpkgs · GitHub

The tests (correctly) failed but CI ignored the failures instead of flagging them. The PR was merged, broken.

4 Likes

Here is another example: rclone: 1.62.2 -> 1.63.0 by SuperSandro2000 · Pull Request #240743 · NixOS/nixpkgs · GitHub

aarch64-darwin tests correctly failed, indicating a failure to build rclone on M1 macs. It went undetected and got merged.

Maybe @lilyinstarlight would be interested in this

It’s a repeated question, e.g.
https://github.com/NixOS/ofborg/issues/629

1 Like