mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Catch issues with dockerd during the build
This commit is contained in:
parent
fd919a288f
commit
2aaaec2abe
@ -343,6 +343,15 @@ def main():
|
||||
f"sudo chown -R ubuntu:ubuntu {build_output_path}", shell=True
|
||||
)
|
||||
logging.info("Build finished with %s, log path %s", success, log_path)
|
||||
if not success:
|
||||
# We check if docker works, because if it's down, it's infrastructure
|
||||
try:
|
||||
subprocess.check_call("docker info", shell=True)
|
||||
except subprocess.CalledProcessError:
|
||||
logging.error(
|
||||
"The dockerd looks down, won't upload anything and generate report"
|
||||
)
|
||||
sys.exit(1)
|
||||
|
||||
# FIXME performance
|
||||
performance_urls = []
|
||||
|
Loading…
Reference in New Issue
Block a user