From: Zack Cerza Date: Tue, 3 May 2016 20:21:41 +0000 (-0600) Subject: Always mention name and sha1 when scheduling fails X-Git-Tag: 1.1.0~617^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f7d80c4925dcf24eb025d1ebe41a906268753113;p=teuthology.git Always mention name and sha1 when scheduling fails http://tracker.ceph.com/issues/15711 Fixes: 15711 Signed-off-by: Zack Cerza --- diff --git a/teuthology/suite.py b/teuthology/suite.py index 2b4b61704..9d8b0d48e 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -623,6 +623,7 @@ def schedule_suite(job_config, returns number of jobs scheduled """ suite_name = job_config.suite + name = job_config.name log.debug('Suite %s in %s' % (suite_name, path)) configs = [(combine_path(suite_name, item[0]), item[1]) for item in build_matrix(path, subset=subset)] @@ -690,6 +691,7 @@ def schedule_suite(job_config, job = dict( yaml=parsed_yaml, desc=description, + sha1=job_config.sha1, args=arg ) @@ -727,8 +729,9 @@ def schedule_suite(job_config, log_prefix = "Missing Packages: " if not dry_run and not config.suite_allow_missing_packages: schedule_fail( - "At least one job needs packages that don't exist. " - "See above." + "At least one job needs packages that don't exist for hash" + " {sha1}.".format(sha1=job_config.sha1), + name, ) teuthology_schedule( args=job['args'],