Add clean up of buffered_storage files (#1738)

* Add clean up of buffered_storage files

* Add step to workflows to test for remaining temp files after tests

* Applied suggestions from code review

* add deletion of all cache files

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Этот коммит содержится в:
Milan Radosavljevic
2025-11-07 17:51:09 +01:00
коммит произвёл GitHub
родитель 6b73f6ab5c
Коммит d9b00da102
7 изменённых файлов: 128 добавлений и 9 удалений
+13
Просмотреть файл
@@ -136,6 +136,19 @@ jobs:
--
-LE "transpose|rccl|videodecode|jpegdecode|network"
- name: Check for Leftover Buffered Files
timeout-minutes: 5
working-directory: projects/rocprofiler-systems/
run: |
set -v
if find /tmp -maxdepth 1 -name 'buffered*' -print -quit | grep -q .; then
echo "Error: Found leftover buffered storage files in /tmp:"
ls -lh /tmp/buffered*
exit 1
else
echo "✓ No buffered storage files found in /tmp"
fi
- name: Test Clean Up
timeout-minutes: 10
working-directory: projects/rocprofiler-systems/