Skip to content

Commit 78a298e

Browse files
committed
Add informative step
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
1 parent ce2563c commit 78a298e

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/reusable-sanitizers-ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,18 @@ jobs:
430430
# The step fails on new deadlocks
431431
$LASTEXITCODE=$sd.count
432432
433+
# TEMPORARY verification aids for the log_path change; remove once validated.
434+
- name: Inspect TSan report capture
435+
if: always()
436+
run: |
437+
echo "## TSan capture check"
438+
nfiles=$(ls -1 ${{ github.workspace }}/tsan_reports 2>/dev/null | wc -l)
439+
in_files=$(cat ${{ github.workspace }}/tsan_reports/* 2>/dev/null | grep -c "WARNING: ThreadSanitizer:" || true)
440+
in_stdout=$(grep -c "WARNING: ThreadSanitizer:" log/latest_test/fastdds/stdout_stderr.log 2>/dev/null || true)
441+
echo "Per-process report files : $nfiles"
442+
echo "Reports captured in files: $in_files"
443+
echo "Reports left in stdout : $in_stdout (expected ~0; anything >0 = a process missed the option)"
444+
433445
- name: Check on failures
434446
if: ${{ steps.report_summary.outcome == 'failure' }}
435447
shell: pwsh

0 commit comments

Comments
 (0)