summaryrefslogtreecommitdiff
path: root/ybd/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'ybd/cache.py')
-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)