From 9ce0066cded5729a8abad910a4d9711a5d1f03af Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Fri, 29 Oct 2021 16:54:59 +0800 Subject: [PATCH] HBASE-26319 Make flaky find job track more builds (#3791) Signed-off-by: Xiaolin Ha --- dev-support/Jenkinsfile | 2 +- dev-support/flaky-tests/flaky-reporting.Jenkinsfile | 4 ++-- dev-support/flaky-tests/run-flaky-tests.Jenkinsfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile index b5cf470b5b8..7c4064ef8f9 100644 --- a/dev-support/Jenkinsfile +++ b/dev-support/Jenkinsfile @@ -24,7 +24,7 @@ pipeline { pollSCM('@daily') } options { - buildDiscarder(logRotator(numToKeepStr: '15')) + buildDiscarder(logRotator(numToKeepStr: '20')) timeout (time: 16, unit: 'HOURS') timestamps() skipDefaultCheckout() diff --git a/dev-support/flaky-tests/flaky-reporting.Jenkinsfile b/dev-support/flaky-tests/flaky-reporting.Jenkinsfile index 61894a6f73b..22f88faad93 100644 --- a/dev-support/flaky-tests/flaky-reporting.Jenkinsfile +++ b/dev-support/flaky-tests/flaky-reporting.Jenkinsfile @@ -43,8 +43,8 @@ pipeline { set -x fi declare -a flaky_args - flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase/job/HBase%20Nightly/job/${BRANCH_NAME}" --is-yetus True --max-builds 10) - flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase/job/HBase-Flaky-Tests/job/${BRANCH_NAME}" --is-yetus False --max-builds 30) + flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase/job/HBase%20Nightly/job/${BRANCH_NAME}" --is-yetus True --max-builds 20) + flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase/job/HBase-Flaky-Tests/job/${BRANCH_NAME}" --is-yetus False --max-builds 50) docker build -t hbase-dev-support dev-support docker run --ulimit nproc=12500 -v "${WORKSPACE}":/hbase -u `id -u`:`id -g` --workdir=/hbase hbase-dev-support \ python dev-support/flaky-tests/report-flakies.py --mvn -v -o output "${flaky_args[@]}" diff --git a/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile b/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile index 1c058ad3314..a681d3ca0e4 100644 --- a/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile +++ b/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile @@ -25,7 +25,7 @@ pipeline { } options { // this should roughly match how long we tell the flaky dashboard to look at - buildDiscarder(logRotator(numToKeepStr: '30')) + buildDiscarder(logRotator(numToKeepStr: '50')) timeout (time: 2, unit: 'HOURS') timestamps() }