Capture OpenJ9 javacore files for troubleshooting (#3931)
This commit is contained in:
parent
20c72f3e98
commit
f2605f9acc
|
@ -37,7 +37,7 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew build --stacktrace
|
run: ./gradlew build --stacktrace
|
||||||
|
|
||||||
- name: Upload deadlock detector artifacts
|
- name: Upload deadlock detector artifacts if any
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
@ -45,6 +45,14 @@ jobs:
|
||||||
path: /tmp/deadlock-detector-*
|
path: /tmp/deadlock-detector-*
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
|
||||||
|
- name: Upload OpenJ9 javacore files if any
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: javacore-build
|
||||||
|
path: "**/javacore.*.txt"
|
||||||
|
if-no-files-found: ignore
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -93,7 +101,7 @@ jobs:
|
||||||
- name: Test
|
- name: Test
|
||||||
run: ./gradlew test -PtestJavaVersion=${{ matrix.test-java-version }} -PtestJavaVM=${{ matrix.vm }} --stacktrace -Porg.gradle.java.installations.paths=${{ steps.setup-test-java.outputs.path }} -Porg.gradle.java.installations.auto-download=false
|
run: ./gradlew test -PtestJavaVersion=${{ matrix.test-java-version }} -PtestJavaVM=${{ matrix.vm }} --stacktrace -Porg.gradle.java.installations.paths=${{ steps.setup-test-java.outputs.path }} -Porg.gradle.java.installations.auto-download=false
|
||||||
|
|
||||||
- name: Upload deadlock detector artifacts
|
- name: Upload deadlock detector artifacts if any
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
@ -101,6 +109,14 @@ jobs:
|
||||||
path: /tmp/deadlock-detector-*
|
path: /tmp/deadlock-detector-*
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
|
||||||
|
- name: Upload OpenJ9 javacore files if any
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: javacore-test-${{ matrix.test-java-version }}
|
||||||
|
path: "**/javacore.*.txt"
|
||||||
|
if-no-files-found: ignore
|
||||||
|
|
||||||
# testLatestDeps is intentionally not included in the PR workflow
|
# testLatestDeps is intentionally not included in the PR workflow
|
||||||
# because any time a new library version is released to maven central
|
# because any time a new library version is released to maven central
|
||||||
# it can fail due to test code incompatibility with the new library version,
|
# it can fail due to test code incompatibility with the new library version,
|
||||||
|
|
Loading…
Reference in New Issue