summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2016-03-07 09:24:45 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2016-03-07 09:24:45 +0000
commit36782392a95d853edc6f64be9b2adf86b5b5788e (patch)
treef2cf7f929913c97aeee86e6fbd6911fac94b6d28
parente6af454e83f6f7963d8e434e730cc9b9d7548559 (diff)
downloadybd-36782392a95d853edc6f64be9b2adf86b5b5788e.tar.gz
Strata artifacts really should be bit-for-bit16.10
-rw-r--r--ybd/cache.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ybd/cache.py b/ybd/cache.py
index 3e14da9..ea416d0 100644
--- a/ybd/cache.py
+++ b/ybd/cache.py
@@ -180,6 +180,11 @@ def upload(defs, this):
this['cache']])
return
if response.status_code == 405:
+ # server has different md5 for this artifact
+ if this['kind'] == 'stratum':
+ app.exit('BIT-FOR-BIT',
+ 'ERROR: stratum reproduction failed for',
+ this['cache'])
app.log(this, 'Artifact server already has', this['cache'])
return
app.log(this, 'Artifact server problem:', response.status_code)