You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2022/10/06 12:00:00 UTC

[camel] 03/03: CAMEL-18582: No more generate a thread dump

This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch CAMEL-18582/change-timeouts
in repository https://gitbox.apache.org/repos/asf/camel.git

commit b0485cad9f1d964f61264b7c8493ffd91c7f21fd
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Thu Oct 6 13:59:35 2022 +0200

    CAMEL-18582: No more generate a thread dump
---
 .github/workflows/main-checkstyle-build.yml | 4 ----
 .github/workflows/main-push-build.yml       | 4 ----
 .github/workflows/pr-build.yml              | 8 --------
 3 files changed, 16 deletions(-)

diff --git a/.github/workflows/main-checkstyle-build.yml b/.github/workflows/main-checkstyle-build.yml
index 42fa8724e74..47ea9b4803e 100644
--- a/.github/workflows/main-checkstyle-build.yml
+++ b/.github/workflows/main-checkstyle-build.yml
@@ -48,10 +48,6 @@ jobs:
           cache: 'maven'
       - name: mvn sourcecheck
         run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -l checkstyle.log -Dmvnd.threads=2 -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -Psourcecheck -Dcheckstyle.failOnViolation=true -e -DskipTests checkstyle:checkstyle verify
-      - name: Generate a thread dump in case of a lock issue
-        if: failure()
-        run: cat checkstyle.log | grep "Could not acquire write lock for '.*.resolverlock'" > /dev/null && jstack $(jcmd | grep MavenDaemon | awk '{print $1;}') >> checkstyle.log
-        shell: bash
       - name: archive logs
         uses: actions/upload-artifact@v3
         if: always()
diff --git a/.github/workflows/main-push-build.yml b/.github/workflows/main-push-build.yml
index 99487e1eb8f..59e06b5b7ad 100644
--- a/.github/workflows/main-push-build.yml
+++ b/.github/workflows/main-push-build.yml
@@ -55,10 +55,6 @@ jobs:
           cache: 'maven'
       - name: mvn formatter and build
         run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -l build.log -Dmvnd.threads=2 -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -e -Pformat,fastinstall -DskipTests verify
-      - name: Generate a thread dump in case of a lock issue
-        if: failure()
-        run: cat build.log | grep "Could not acquire write lock for '.*.resolverlock'" > /dev/null && jstack $(jcmd | grep MavenDaemon | awk '{print $1;}') >> build.log
-        shell: bash
       - name: archive logs
         uses: actions/upload-artifact@v3
         if: always()
diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml
index 86dfd4d6732..d595a0e3b72 100644
--- a/.github/workflows/pr-build.yml
+++ b/.github/workflows/pr-build.yml
@@ -48,10 +48,6 @@ jobs:
         cache: 'maven'
     - name: mvn checkstyle
       run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -l checkstyle.log -Dmvnd.threads=2 -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress  -Dcheckstyle.failOnViolation=true -e checkstyle:checkstyle
-    - name: Generate a thread dump in case of a lock issue
-      if: failure()
-      run: cat checkstyle.log | grep "Could not acquire write lock for '.*.resolverlock'" > /dev/null && jstack $(jcmd | grep MavenDaemon | awk '{print $1;}') >> checkstyle.log
-      shell: bash
     - name: archive logs
       uses: actions/upload-artifact@v3
       if: always()
@@ -81,10 +77,6 @@ jobs:
           cache: 'maven'
       - name: maven build
         run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -l build.log -Dmvnd.threads=2 -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -e -Pfastinstall -DskipTests install
-      - name: Generate a thread dump in case of a lock issue
-        if: failure()
-        run: cat build.log | grep "Could not acquire write lock for '.*.resolverlock'" > /dev/null && jstack $(jcmd | grep MavenDaemon | awk '{print $1;}') >> build.log
-        shell: bash
       - name: archive logs
         uses: actions/upload-artifact@v3
         if: always()