hydra/t/jobs
Luke Granger-Brown 67ebce8493 Output evaluation errors without crashing if aggregate job is broken.
At the moment, aggregate jobs can easily break and cause the entire
evaluation to fail, which is not ideal. For Nixpkgs, we do have some
important aggregate jobs (like `tested`), but for debugging and building
purposes it's still useful to get a partial result even if the channel
won't actually advance.

This commit changes the behaviour of hydra-eval-jobs such that it
aggregates any errors found during the construction of an aggregate, and
will instead annotate the job with the evaluation failure such that it
shows up in a "cleaner" way.

There are really two types of failure that we care about: one is where
the attribute just ends up missing altogether in the final output, and
also where the attribute is in the output but fails to evaluate. Both
are handled here.

Note that this does mean that the same error message may be output
multiple times, but this aids debuggability because it'll be much
clearer what's blocking the job from being created.
2021-10-26 10:14:34 +01:00
..
aggregate.nix add api endpoint: /build/<id>/constituents 2021-09-24 16:30:44 -04:00
api-test.nix move the api-test.nix in to the jobsdir 2021-04-28 18:28:35 -04:00
basic.nix
broken-constituent.nix Output evaluation errors without crashing if aggregate job is broken. 2021-10-26 10:14:34 +01:00
build-output-as-input.nix
build-product-simple.sh
build-product-with-spaces.sh
build-products.nix
bzr-checkout-input.nix
bzr-checkout-update.sh
bzr-input.nix
bzr-update.sh
config.nix.in
darcs-input.nix
darcs-update.sh
deepgit-builder.sh
deepgit-input.nix
default-machine-file.nix Use system-features from the Nix conf in the default machine file 2021-04-28 11:43:04 +02:00
empty-dir-builder.sh
fail.sh
git-input.nix
git-rev-input.nix
git-rev-update.sh
git-update.sh
hg-input.nix
hg-update.sh
nested-attributes.nix Test the fake derivations channel, asserting nested packages are properly represented. 2021-03-18 11:33:37 -04:00
notifications.nix queue runner: test notifications 2021-04-14 14:19:10 -04:00
runcommand.nix
scm-builder.sh
server.py Replace TestHTTPMockServer with python script 2021-04-03 01:07:07 +02:00
succeed-with-failed.sh
svn-checkout-input.nix
svn-checkout-update.sh
svn-input.nix
svn-update.sh