Skip to content

Commit 5e9eab6

Browse files
committed
More diagnostics
1 parent ba6fa94 commit 5e9eab6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/run-tck.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,29 @@ jobs:
101101
run: |
102102
./run_tck.py --sut-url ${{ env.SUT_JSONRPC_URL }} --category all --transports jsonrpc,grpc,rest --compliance-report report.json
103103
working-directory: tck/a2a-tck
104+
- name: Stop Quarkus Server
105+
if: always()
106+
run: |
107+
# Find and kill the Quarkus process to ensure logs are flushed
108+
pkill -f "quarkus:dev" || true
109+
sleep 2
110+
- name: Verify and Upload TCK Log
111+
if: always()
112+
run: |
113+
echo "Checking for log file..."
114+
if [ -f tck/target/tck-test.log ]; then
115+
echo "✅ Log file exists ($(wc -l < tck/target/tck-test.log) lines)"
116+
ls -lh tck/target/tck-test.log
117+
else
118+
echo "❌ Log file not found at tck/target/tck-test.log"
119+
echo "Contents of tck/target/:"
120+
ls -la tck/target/ || echo "tck/target/ does not exist"
121+
fi
104122
- name: Upload TCK Log
105123
if: always()
106124
uses: actions/upload-artifact@v4
107125
with:
108126
name: tck-test-log-java-${{ matrix.java-version }}
109127
path: tck/target/tck-test.log
110128
retention-days: 7
129+
if-no-files-found: warn

0 commit comments

Comments
 (0)