From: Nizamudeen A Date: Wed, 27 Apr 2022 06:37:56 +0000 (+0530) Subject: cephadm-dashboard-e2e: archiving takes too long to fail X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1990%2Fhead;p=ceph-build.git cephadm-dashboard-e2e: archiving takes too long to fail If the provided pattern for eg: log/*.log is not found, archiving takes way too longer to fail and that increased the job time to 1 hour on our cephadm dashboard e2e jobs. Instead I added a pattern like log/** and this way it immediately failed when there is no logs. (In cephadm dashboard e2e, there won't be any logs if the job is succesfull and the logs are saved only when the job is failed) Signed-off-by: Nizamudeen A --- diff --git a/ceph-dashboard-cephadm-e2e-nightly/config/definitions/ceph-dashboard-cephadm-e2e-nightly.yml b/ceph-dashboard-cephadm-e2e-nightly/config/definitions/ceph-dashboard-cephadm-e2e-nightly.yml index f9c9f579..9923d734 100644 --- a/ceph-dashboard-cephadm-e2e-nightly/config/definitions/ceph-dashboard-cephadm-e2e-nightly.yml +++ b/ceph-dashboard-cephadm-e2e-nightly/config/definitions/ceph-dashboard-cephadm-e2e-nightly.yml @@ -71,6 +71,6 @@ - email: recipients: ceph-qa@ceph.io - archive: - artifacts: 'logs/*.log' + artifacts: 'logs/**' allow-empty: true latest-only: false diff --git a/ceph-dashboard-cephadm-e2e/config/definitions/ceph-dashboard-cephadm-e2e.yml b/ceph-dashboard-cephadm-e2e/config/definitions/ceph-dashboard-cephadm-e2e.yml index 01394831..111fe878 100644 --- a/ceph-dashboard-cephadm-e2e/config/definitions/ceph-dashboard-cephadm-e2e.yml +++ b/ceph-dashboard-cephadm-e2e/config/definitions/ceph-dashboard-cephadm-e2e.yml @@ -85,6 +85,6 @@ publishers: - archive: - artifacts: 'logs/*.log' + artifacts: 'logs/**' allow-empty: true latest-only: false