Enable deadlock detector for latest dep tests (#10898)

This commit is contained in:
Lauri Tulmin 2024-03-20 21:37:37 +02:00 committed by GitHub
parent 2b4f685679
commit b4c952c814
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 24 additions and 0 deletions

View File

@ -55,6 +55,9 @@ jobs:
path: ~/.pnpm-store path: ~/.pnpm-store
key: ${{ runner.os }}-test-latest-cache-pnpm-modules key: ${{ runner.os }}-test-latest-cache-pnpm-modules
- name: Start deadlock detector
run: .github/scripts/deadlock-detector.sh
- name: List tests - name: List tests
env: env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
@ -87,3 +90,24 @@ jobs:
cache-read-only: ${{ inputs.cache-read-only }} cache-read-only: ${{ inputs.cache-read-only }}
# gradle enterprise is used for the build cache # gradle enterprise is used for the build cache
gradle-home-cache-excludes: caches/build-cache-1 gradle-home-cache-excludes: caches/build-cache-1
- name: Upload deadlock detector artifacts if any
if: failure()
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: deadlock-detector-test-latest-${{ matrix.test-java-version }}-${{ matrix.vm }}-${{ matrix.test-partition }}
path: /tmp/deadlock-detector-*
if-no-files-found: ignore
- name: Upload jvm crash dump files if any
if: failure()
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: javacore-test-latest-${{ matrix.test-java-version }}-${{ matrix.test-partition }}
path: |
**/hs_err_pid*.log
**/javacore.*.txt
**/Snap.*.trc
**/core.*.dmp
**/jitdump.*.dmp
if-no-files-found: ignore