Skip to content

Commit e2e624b

Browse files
authored
Enable debug log for VK CTS workflow (shader-slang#5197)
This commit enables the workflow debug message for running VK CTS workflow. Currently three CTS tests are causing a crash of deqp with an exit code 1. And when the debug message printing is enabled, this crash is no longer happening, which is unexpected. It seems like the issue is on the CI runner process rather than Slang, driver nor deqp. We will keep the log message enabled not only to avoid the crash but also to see more information when things went wrong. This commit also prints the last 1,000 lines of TestResults.qpa when deqp had a failing test or deqp was exited unexpectedly. This will help us to debug the problem faster.
1 parent 81c015e commit e2e624b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/vk-gl-cts-nightly.yml

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ concurrency:
88
cancel-in-progress: true
99
env:
1010
DISABLE_CTS_SLANG: 0
11+
ACTIONS_RUNNER_DEBUG: true
12+
ACTIONS_STEP_DEBUG: true
1113
jobs:
1214
build:
1315
strategy:
@@ -80,6 +82,12 @@ jobs:
8082
working-directory: ${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64
8183
run: |
8284
.\deqp-vk.exe --deqp-archive-dir=${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64 --deqp-caselist-file=${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64\slang-passing-tests.txt --deqp-waiver-file=${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64\slang-waiver-tests.xml
85+
86+
- name: Dump TestResults.qpa if failed
87+
shell: pwsh
88+
if: ${{ !success() }}
89+
working-directory: ${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64
90+
run: Get-Content TestResults.qpa -Tail 1000
8391
- name: success notification
8492
id: slack-notify-success
8593
if: ${{ success() }}

0 commit comments

Comments
 (0)