소스 검색

Enable deadlock detector for latest dep tests (#10898)

Lauri Tulmin 11 달 전
부모
커밋
b4c952c814
1개의 변경된 파일24개의 추가작업 그리고 0개의 파일을 삭제
  1. 24 0
      .github/workflows/reusable-test-latest-deps.yml

+ 24 - 0
.github/workflows/reusable-test-latest-deps.yml

@@ -55,6 +55,9 @@ jobs:
           path: ~/.pnpm-store
           key: ${{ runner.os }}-test-latest-cache-pnpm-modules
 
+      - name: Start deadlock detector
+        run: .github/scripts/deadlock-detector.sh
+
       - name: List tests
         env:
           GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
@@ -87,3 +90,24 @@ jobs:
           cache-read-only: ${{ inputs.cache-read-only }}
           # gradle enterprise is used for the build cache
           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