mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Force success aarch stateless tests
This commit is contained in:
parent
0e536d5ab0
commit
abd16ebf32
@ -203,6 +203,8 @@ CI_CONFIG = {
|
||||
],
|
||||
},
|
||||
"tests_config": {
|
||||
# required_build - build name for artifacts
|
||||
# force_tests - force success status for tests
|
||||
"Stateful tests (address, actions)": {
|
||||
"required_build": "package_asan",
|
||||
},
|
||||
@ -223,6 +225,7 @@ CI_CONFIG = {
|
||||
},
|
||||
"Stateful tests (aarch64, actions)": {
|
||||
"required_build": "package_aarch64",
|
||||
"force_tests": True,
|
||||
},
|
||||
"Stateful tests (release, DatabaseOrdinary, actions)": {
|
||||
"required_build": "package_release",
|
||||
@ -250,6 +253,7 @@ CI_CONFIG = {
|
||||
},
|
||||
"Stateless tests (aarch64, actions)": {
|
||||
"required_build": "package_aarch64",
|
||||
"force_tests": True,
|
||||
},
|
||||
"Stateless tests (release, wide parts enabled, actions)": {
|
||||
"required_build": "package_release",
|
||||
|
@ -2,10 +2,17 @@
|
||||
|
||||
import time
|
||||
from env_helper import GITHUB_REPOSITORY
|
||||
from ci_config import CI_CONFIG
|
||||
|
||||
RETRY = 5
|
||||
|
||||
|
||||
def override_status(status, check_name):
|
||||
if CI_CONFIG["tests_config"][check_name].get("force_tests", False):
|
||||
return "success"
|
||||
return status
|
||||
|
||||
|
||||
def get_commit(gh, commit_sha, retry_count=RETRY):
|
||||
for i in range(retry_count):
|
||||
try:
|
||||
|
@ -15,7 +15,7 @@ from pr_info import PRInfo
|
||||
from build_download_helper import download_all_deb_packages
|
||||
from upload_result_helper import upload_results
|
||||
from docker_pull_helper import get_image_with_version
|
||||
from commit_status_helper import post_commit_status, get_commit
|
||||
from commit_status_helper import post_commit_status, get_commit, override_status
|
||||
from clickhouse_helper import ClickHouseHelper, mark_flaky_tests, prepare_tests_results_for_clickhouse
|
||||
from stopwatch import Stopwatch
|
||||
from rerun_helper import RerunHelper
|
||||
@ -197,7 +197,9 @@ if __name__ == "__main__":
|
||||
subprocess.check_call(f"sudo chown -R ubuntu:ubuntu {temp_path}", shell=True)
|
||||
|
||||
s3_helper = S3Helper('https://s3.amazonaws.com')
|
||||
|
||||
state, description, test_results, additional_logs = process_results(result_path, server_log_path)
|
||||
state = override_status(state, check_name)
|
||||
|
||||
ch_helper = ClickHouseHelper()
|
||||
mark_flaky_tests(ch_helper, check_name, test_results)
|
||||
|
Loading…
Reference in New Issue
Block a user