mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
Do not report status if we failed to pull images.
This commit is contained in:
parent
932a2f9e09
commit
1b03a60e43
@ -247,6 +247,11 @@ if __name__ == "__main__":
|
|||||||
retcode = process.wait()
|
retcode = process.wait()
|
||||||
if retcode == 0:
|
if retcode == 0:
|
||||||
logging.info("Run tests successfully")
|
logging.info("Run tests successfully")
|
||||||
|
elif retcode == 13:
|
||||||
|
logging.warning(
|
||||||
|
"There were issues with infrastructure. Not writing status report to restart job."
|
||||||
|
)
|
||||||
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
logging.info("Some tests failed")
|
logging.info("Some tests failed")
|
||||||
|
|
||||||
|
@ -317,7 +317,8 @@ class ClickhouseIntegrationTestsRunner:
|
|||||||
logging.info("docker-compose pull failed: " + str(err))
|
logging.info("docker-compose pull failed: " + str(err))
|
||||||
continue
|
continue
|
||||||
logging.error("Pulling images failed for 5 attempts. Will fail the worker.")
|
logging.error("Pulling images failed for 5 attempts. Will fail the worker.")
|
||||||
exit(1)
|
# We pass specific retcode to to ci/integration_test_check.py to skip status reporting and restart job
|
||||||
|
exit(13)
|
||||||
|
|
||||||
def _can_run_with(self, path, opt):
|
def _can_run_with(self, path, opt):
|
||||||
with open(path, "r") as script:
|
with open(path, "r") as script:
|
||||||
|
Loading…
Reference in New Issue
Block a user