From b432c98b80786a33e017b2f65fe876f97f4e4fcb Mon Sep 17 00:00:00 2001 From: Neil Joshi Date: Mon, 26 Jul 2021 18:41:29 -0600 Subject: [PATCH 1/5] Commit new workflow def for repeated test of HDDS-5358. --- .github/workflows/single-test.yml | 42 +++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/single-test.yml diff --git a/.github/workflows/single-test.yml b/.github/workflows/single-test.yml new file mode 100644 index 000000000000..846f84d31614 --- /dev/null +++ b/.github/workflows/single-test.yml @@ -0,0 +1,42 @@ +name: it-client +on: + schedule: + - cron: '*/1 * * * *' +env: + MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 +jobs: + it-client: + name: it-client + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + with: + ref: HDDS-5358 + - name: Cache for maven dependencies + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: maven-repo-${{ hashFiles('**/pom.xml') }}-8-single + restore-keys: | + maven-repo-${{ hashFiles('**/pom.xml') }}-8 + maven-repo-${{ hashFiles('**/pom.xml') }} + maven-repo- + - name: Execute tests + run: hadoop-ozone/dev-support/checks/integration.sh -Dtest=TestOzoneRpcClient + env: + ITERATIONS: 60 + - name: Summary of failures + run: cat target/integration/summary.txt + if: always() + - name: Archive build results + uses: actions/upload-artifact@v2 + if: always() + with: + name: it-client + path: target/integration + - name: Delete temporary build artifacts before caching + run: | + #Never cache local artifacts + rm -rf ~/.m2/repository/org/apache/ozone/hdds* + rm -rf ~/.m2/repository/org/apache/ozone/ozone* + if: always() \ No newline at end of file From 2c3f509b11e8555f067a5bf1f9a3c8af4cedb88a Mon Sep 17 00:00:00 2001 From: Neil Joshi Date: Thu, 16 Jun 2022 19:12:35 -0600 Subject: [PATCH 2/5] Removed duplicate entry in hadoop-ozone common for mockito-core. --- hadoop-ozone/common/pom.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hadoop-ozone/common/pom.xml b/hadoop-ozone/common/pom.xml index e5ec64f8a042..059166a9524f 100644 --- a/hadoop-ozone/common/pom.xml +++ b/hadoop-ozone/common/pom.xml @@ -65,11 +65,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd"> mockito-core test - - org.mockito - mockito-core - test - log4j log4j From 4ad73cffa4549cb9ba9d34b4a2f6b9da39490386 Mon Sep 17 00:00:00 2001 From: Neil Joshi Date: Thu, 16 Jun 2022 19:20:50 -0600 Subject: [PATCH 3/5] cleanup unused personal workflow file. --- .github/workflows/single-test.yml | 42 ------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/single-test.yml diff --git a/.github/workflows/single-test.yml b/.github/workflows/single-test.yml deleted file mode 100644 index 846f84d31614..000000000000 --- a/.github/workflows/single-test.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: it-client -on: - schedule: - - cron: '*/1 * * * *' -env: - MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -jobs: - it-client: - name: it-client - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@v2 - with: - ref: HDDS-5358 - - name: Cache for maven dependencies - uses: actions/cache@v2 - with: - path: ~/.m2/repository - key: maven-repo-${{ hashFiles('**/pom.xml') }}-8-single - restore-keys: | - maven-repo-${{ hashFiles('**/pom.xml') }}-8 - maven-repo-${{ hashFiles('**/pom.xml') }} - maven-repo- - - name: Execute tests - run: hadoop-ozone/dev-support/checks/integration.sh -Dtest=TestOzoneRpcClient - env: - ITERATIONS: 60 - - name: Summary of failures - run: cat target/integration/summary.txt - if: always() - - name: Archive build results - uses: actions/upload-artifact@v2 - if: always() - with: - name: it-client - path: target/integration - - name: Delete temporary build artifacts before caching - run: | - #Never cache local artifacts - rm -rf ~/.m2/repository/org/apache/ozone/hdds* - rm -rf ~/.m2/repository/org/apache/ozone/ozone* - if: always() \ No newline at end of file From 4e3878e8df5559596a2ec1cc54e72fdb469ffea2 Mon Sep 17 00:00:00 2001 From: Neil Joshi Date: Thu, 16 Jun 2022 19:23:57 -0600 Subject: [PATCH 4/5] Revert "Removed duplicate entry in hadoop-ozone common for mockito-core." This reverts commit 2c3f509b11e8555f067a5bf1f9a3c8af4cedb88a. --- hadoop-ozone/common/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hadoop-ozone/common/pom.xml b/hadoop-ozone/common/pom.xml index 059166a9524f..e5ec64f8a042 100644 --- a/hadoop-ozone/common/pom.xml +++ b/hadoop-ozone/common/pom.xml @@ -65,6 +65,11 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd"> mockito-core test + + org.mockito + mockito-core + test + log4j log4j From ff000ebc5cbbed4ace2806c94968dc7e691a4760 Mon Sep 17 00:00:00 2001 From: Neil Joshi Date: Thu, 16 Jun 2022 19:26:05 -0600 Subject: [PATCH 5/5] Removed duplicate entry in hadoop-ozone common for mockito-core. --- hadoop-ozone/common/pom.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hadoop-ozone/common/pom.xml b/hadoop-ozone/common/pom.xml index e5ec64f8a042..059166a9524f 100644 --- a/hadoop-ozone/common/pom.xml +++ b/hadoop-ozone/common/pom.xml @@ -65,11 +65,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd"> mockito-core test - - org.mockito - mockito-core - test - log4j log4j