debian-forge-composer/test/cases
Tom Gundersen 626530818d worker/server: requeue unresponsive jobs
If a job is unresponsive the worker has most likely crashed or been shut
down and the in-progress job been lost.

Instead of failing these jobs, requeue them up to two times. Once a job is lost
a third time it fails. This avoids infinite loops.

This is implemented by extending FinishJob to RequeuOrFinish job. It takes a
max number of requeues as an argument, and if that is 0, it has the same
behavior as FinishJob used to have.

If the maximum number of requeues has not yet been reached, then the running
job is returned to pending state to be picked up again.
2022-11-02 15:26:00 +01:00
..
api test/api: don't provide Resource Group Location when testing Azure 2022-10-27 19:33:43 +02:00
api.sh worker/server: requeue unresponsive jobs 2022-11-02 15:26:00 +01:00
aws.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
aws_s3.sh test: disable non supported tests 2022-08-24 19:37:43 +02:00
azure.sh test: get correct CIV tag in azure.sh 2022-10-04 15:54:38 +02:00
azure_hyperv_gen2.sh Test Azure images on HyperV Gen1 and Gen2 2021-06-22 13:44:19 +03:00
base_tests.sh provision.sh: don't start local worker and Weldr with TLS auth 2022-08-04 11:55:43 +02:00
container-embedding.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
container-upload.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
cross-distro.sh provision.sh: add none authentication method for on-premise scenario 2022-08-04 11:55:43 +02:00
diff-manifests.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
filesystem.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
gcp.sh weldr/upload/gcp: make Object optional 2022-10-11 13:23:18 +02:00
generic_s3.sh test/generic_s3: fix file indentation 2022-09-20 18:29:28 +02:00
generic_s3_http.sh Upload to HTTPS S3 - Support self signed certificate 2022-05-26 13:46:00 +03:00
generic_s3_https_insecure.sh Upload to HTTPS S3 - Support self signed certificate 2022-05-26 13:46:00 +03:00
generic_s3_https_secure.sh Upload to HTTPS S3 - Support self signed certificate 2022-05-26 13:46:00 +03:00
image_tests.sh provision.sh: add none authentication method for on-premise scenario 2022-08-04 11:55:43 +02:00
installers.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
koji.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
libvirt.sh provision.sh: add none authentication method for on-premise scenario 2022-08-04 11:55:43 +02:00
manifest_tests.sh provision.sh: add none authentication method for on-premise scenario 2022-08-04 11:55:43 +02:00
multi-tenancy.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
oscap.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
ostree-ng.sh test: Fix CS9 UEFI installation failure issue 2022-09-29 18:09:38 +02:00
ostree-raw-image.sh test: only set boot args in virt-install version condition 2022-10-11 10:00:22 +02:00
ostree-rebase-bios.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
ostree-rebase-uefi.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
ostree-simplified-installer.sh Use FDO AIO server for testing 2022-10-19 12:08:34 +02:00
ostree.sh test: Add Fedora 36 and 37 and remove 35 test for ostree.sh 2022-10-03 12:21:39 +02:00
regression-bigiso.sh test: new weldr client compatibility for test scripts 2022-09-13 16:06:19 +01:00
regression-composer-works-behind-satellite-fallback.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
regression-composer-works-behind-satellite.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
regression-excluded-dependency.sh test: new weldr client compatibility for test scripts 2022-09-13 16:06:19 +01:00
regression-include-excluded-packages.sh test: new weldr client compatibility for test scripts 2022-09-13 16:06:19 +01:00
regression-insecure-repo.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
regression-no-explicit-rootfs-definition.sh test: new weldr client compatibility for test scripts 2022-09-13 16:06:19 +01:00
regression-old-worker-new-composer.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
shared_lib.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
upgrade8to9.sh tests/upgrade: copy shared_lib.sh to the test vm 2022-09-16 08:36:03 +02:00
vmware.sh Specify additional package in blueprint for tests 2022-09-13 18:56:00 +02:00