-
Notifications
You must be signed in to change notification settings - Fork 206
Expand file tree
/
Copy pathdls-build-and-test-deb_pkgs-and-deb_imgs.yaml
More file actions
483 lines (441 loc) · 20.7 KB
/
Copy pathdls-build-and-test-deb_pkgs-and-deb_imgs.yaml
File metadata and controls
483 lines (441 loc) · 20.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
name: "[DLS] [U22/24] Build and test .deb pkgs & deb imgs"
run-name: "[DLS] [U22/24] Build and test .deb pkgs & deb imgs (by ${{ github.actor }})"
on:
workflow_call:
inputs:
test-repo-branch:
description: "Branch in dl-streamer-tests repo (default is main)"
required: false
type: string
default: "main"
workflow_dispatch:
inputs:
test-repo-branch:
description: "Branch in dl-streamer-tests repo (default is main)"
required: false
type: string
default: "main"
permissions: {}
env:
dlstreamer-version: "2026.1.0"
MODELS_PATH: "$HOME/models"
VIDEO_INPUTS_PATH: "$HOME/videos"
DLS_REL_PATH: "./dlstreamer"
jobs:
setup:
name: "Setup build configuration"
runs-on: dlstreamer
outputs:
should_run: ${{ steps.skip-check.outputs.should_run }}
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Check out dlstreamer repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #6.0.2
with:
persist-credentials: false
fetch-depth: 0
- name: Check if should skip CI
id: skip-check
uses: ./.github/actions/common/check-skip-ci
with:
job_name: "Build and test .deb pkgs & deb imgs"
working_directory: "."
- name: Set matrix configuration
id: set-matrix
env:
SHOULD_RUN: ${{ steps.skip-check.outputs.should_run }}
shell: bash
run: |
if [[ "${SHOULD_RUN}" == "false" ]]; then
MATRIX=$(jq -n '{
"include": [
{
"path_dockerfile": "dummy",
"ubuntu_version": "skip",
"runner_labels": ["dlstreamer"],
"runner_print_label": "SKIP"
}
]
}' | jq -c .)
else
MATRIX=$(jq -n '{
"include": [
{
"path_dockerfile": "./dlstreamer/docker/ubuntu/ubuntu22.Dockerfile",
"ubuntu_version": "ubuntu22",
"runner_labels": ["tgl-ubuntu22"],
"runner_print_label": "TGL"
},
{
"path_dockerfile": "./dlstreamer/docker/ubuntu/ubuntu24.Dockerfile",
"ubuntu_version": "ubuntu24",
"runner_labels": ["arl-ubuntu24"],
"runner_print_label": "ARL"
}
]
}' | jq -c .)
fi
echo "matrix=$MATRIX" >> $GITHUB_OUTPUT
build:
name: "[${{ matrix.runner_print_label }}] Build and test ${{ matrix.ubuntu_version }} .debs & deb imgs"
runs-on: ${{ matrix.runner_labels }}
needs: setup
permissions:
contents: read
packages: read
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
steps:
- name: Skip or execute based on configuration
if: matrix.runner_print_label == 'SKIP'
run: |
echo "## ✅ Functional Linux Build and Test Skipped" >> $GITHUB_STEP_SUMMARY
echo "**Reason:** Changes only in excluded files" >> $GITHUB_STEP_SUMMARY
exit 0
- name: Initial environment clean
if: needs.setup.outputs.should_run == 'true'
run: |
sudo rm -rf dlstreamer
- name: Check out dlstreamer repository
if: needs.setup.outputs.should_run == 'true'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #6.0.2
with:
persist-credentials: false
path: dlstreamer
- name: Init submodules
if: needs.setup.outputs.should_run == 'true'
run: |
cd dlstreamer
git submodule update --init thirdparty/spdlog
- name: Check out test repository
if: needs.setup.outputs.should_run == 'true'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #6.0.2
with:
repository: open-edge-platform/dl-streamer-tests
persist-credentials: false
ref: ${{ inputs.test-repo-branch }}
path: dl-streamer-tests-repo
- name: Copy DL Streamer tests repo
if: needs.setup.outputs.should_run == 'true'
run: |
cp -r dl-streamer-tests-repo/functional_tests $PWD/$DLS_REL_PATH/tests
# ======================================================== BUILDING PART ========================================================
- name: Set up Docker Buildx
if: needs.setup.outputs.should_run == 'true'
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 #4.1.0
- name: Log in to GitHub Container Registry
if: needs.setup.outputs.should_run == 'true'
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee #4.2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: 🚢 Build deb final img with cache from GHCR
if: needs.setup.outputs.should_run == 'true'
env:
deb_final_img: ghcr.io/${{ github.repository }}/deb-final-img-${{ matrix.ubuntu_version }}:${{ github.sha }}
deb_final_img_cached: ghcr.io/${{ github.repository }}/deb-final-img-${{ matrix.ubuntu_version }}:buildcache
ubuntu_version: ${{ matrix.ubuntu_version }}
path_dockerfile: ${{ matrix.path_dockerfile }}
run: |
docker buildx build \
--load \
--target dlstreamer \
--tag "${deb_final_img}" \
--cache-from="${deb_final_img_cached}" \
--build-arg DLSTREAMER_VERSION=${{ env.dlstreamer-version }} \
--build-arg DLSTREAMER_BUILD_NUMBER=deb-pkg-${ubuntu_version} \
-f ${path_dockerfile} \
${{ env.DLS_REL_PATH }}
- name: Build dlstreamer img with python
if: needs.setup.outputs.should_run == 'true'
env:
deb_final_img: ghcr.io/${{ github.repository }}/deb-final-img-${{ matrix.ubuntu_version }}:${{ github.sha }}
deb_final_testing_img: ghcr.io/${{ github.repository }}/deb-final-testing-img-${{ matrix.ubuntu_version }}:${{ github.sha }}
id: dlstreamer-with-python
run: |
docker build \
-f $DLS_REL_PATH/docker/ubuntu/ubuntu-testing.Dockerfile \
-t $deb_final_testing_img \
--build-arg BASE_IMAGE=$deb_final_img \
${{ env.DLS_REL_PATH }}
- name: 📦 Extract .deb packages using script
if: needs.setup.outputs.should_run == 'true'
env:
deb_final_img: ghcr.io/${{ github.repository }}/deb-final-img-${{ matrix.ubuntu_version }}:${{ github.sha }}
run: |
chmod +x ${{ env.DLS_REL_PATH }}/scripts/extract_and_verify_debs.sh
${{ env.DLS_REL_PATH }}/scripts/extract_and_verify_debs.sh ${deb_final_img}
ls
cp -r deb_packages ${{ env.DLS_REL_PATH }}
# ======================================================== DOCKER TESTING PART ========================================================
- name: Check models
if: needs.setup.outputs.should_run == 'true'
env:
runner_print_label: ${{ matrix.runner_print_label }}
run: |
echo "## 📂 ${runner_print_label} Environment checks" >> $GITHUB_STEP_SUMMARY
echo "Test repo branch: $test_repo_branch" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
if [ -d "${{ env.MODELS_PATH }}" ] && [ "$(ls -A "${{ env.MODELS_PATH }}")" ]; then
echo "Models: found ✅" >> $GITHUB_STEP_SUMMARY
else
echo "Models: folder not found or it is empty ❌" >> $GITHUB_STEP_SUMMARY
exit 1
fi
- name: Check videos
if: needs.setup.outputs.should_run == 'true'
run: |
if [ -d "${{ env.VIDEO_INPUTS_PATH }}" ] && [ "$(ls -A "${{ env.VIDEO_INPUTS_PATH }}")" ]; then
echo "Tests input videos: found ✅" >> $GITHUB_STEP_SUMMARY
else
echo "Tests input videos: folder not found or it is empty ❌" >> $GITHUB_STEP_SUMMARY
exit 1
fi
- name: Init docker tests configurations
if: needs.setup.outputs.should_run == 'true'
env:
runner_print_label: ${{ matrix.runner_print_label }}
run: |
echo "## 🚢 ${runner_print_label} Docker tests summary" >> $GITHUB_STEP_SUMMARY
echo "DOCKER_TEST_CONFIGS=aliveness_config.json" >> $GITHUB_ENV
echo "Selected test configuration file: $DOCKER_TEST_CONFIGS" >> $GITHUB_STEP_SUMMARY
- name: 🚀 Run Docker tests
if: needs.setup.outputs.should_run == 'true'
id: run_docker_tests
env:
deb_final_testing_img: ghcr.io/${{ github.repository }}/deb-final-testing-img-${{ matrix.ubuntu_version }}:${{ github.sha }}
DOCKER_TEST_CONFIGS: ${{ env.DOCKER_TEST_CONFIGS }}
runner_print_label: ${{ matrix.runner_print_label }}
ubuntu_version: ${{ matrix.ubuntu_version }}
run: |
cd $PWD/$DLS_REL_PATH/tests
mkdir functional_tests_results
cd functional_tests_results
DLS_TESTS_RESULTS_PATH=$PWD
echo "DLS_TESTS_RESULTS_PATH=$DLS_TESTS_RESULTS_PATH" >> $GITHUB_ENV
cd ../functional_tests
./run_tests.sh \
--models-path=${{ env.MODELS_PATH }} \
--video-examples-path=${{ env.VIDEO_INPUTS_PATH }} \
--meta-configs="$DOCKER_TEST_CONFIGS" \
--platform-type="${runner_print_label}" \
--results-path="$DLS_TESTS_RESULTS_PATH" \
--report-name="DLS_functional_tests_${runner_print_label}_docker_${ubuntu_version}_results" \
--image-name="${deb_final_testing_img}"
- name: Upload Docker test results
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #7.0.1
if: needs.setup.outputs.should_run == 'true' && steps.run_docker_tests.outcome == 'success'
with:
name: DLS_functional_tests_${{ matrix.runner_print_label }}_docker_${{ matrix.ubuntu_version }}_results
path: "${{ env.DLS_TESTS_RESULTS_PATH }}"
- name: Check and display Docker test results
if: needs.setup.outputs.should_run == 'true' && steps.run_docker_tests.outcome == 'success'
env:
dls_tests_results_path: ${{ env.DLS_TESTS_RESULTS_PATH }}
test_repo_branch: ${{ inputs.test-repo-branch }}
runner_print_label: ${{ matrix.runner_print_label }}
ubuntu_version: ${{ matrix.ubuntu_version }}
run: |
RESULTS_FILE="${dls_tests_results_path}/DLS_functional_tests_${runner_print_label}_docker_${ubuntu_version}_results.txt"
# Add results to summary with emoji replacements
sed 's/\[pass\]/:white_check_mark:/g; s/\[\! FAIL \!\]/:x:/g' "$RESULTS_FILE" >> $GITHUB_STEP_SUMMARY
# Check for failures and fail if any
FAILED_COUNT=$(grep "^Failed:" "$RESULTS_FILE" | awk '{print $2}')
if [ "$FAILED_COUNT" -gt 0 ]; then
echo "::error::$FAILED_COUNT test(s) failed"
exit 1
fi
- name: Clean up tests results
if: always() && needs.setup.outputs.should_run == 'true'
env:
DLS_TESTS_RESULTS_PATH: ${{ env.DLS_TESTS_RESULTS_PATH }}
run: |
rm -rf "$DLS_TESTS_RESULTS_PATH"
# ======================================================== ON HOST TESTING PART ========================================================
- name: Link DL Streamer to home directory
if: always() && needs.setup.outputs.should_run == 'true'
run: |
TARGET="$HOME/$(basename $DLS_REL_PATH)"
if [ -e "$TARGET" ] || [ -L "$TARGET" ]; then
rm -rf "$TARGET"
fi
ln -s "$PWD/$DLS_REL_PATH" "$TARGET"
- name: Install DL Streamer on-host
if: always() && needs.setup.outputs.should_run == 'true'
run: |
$DLS_REL_PATH/tests/scripts/installation-on-host-entrypoint.sh $DLS_REL_PATH/deb_packages
- name: 👋 Test hello_dlstreamer script on host
if: always() && needs.setup.outputs.should_run == 'true'
id: test_hello_dlstreamer_script
env:
runner_print_label: ${{ matrix.runner_print_label }}
run: |
mkdir -p $DLS_REL_PATH/test_hello_dlstreamer
cd $DLS_REL_PATH/test_hello_dlstreamer
export MODELS_PATH=${{ env.MODELS_PATH }}
echo "Running hello_dlstreamer.sh on CPU with model yolo11s"
/opt/intel/dlstreamer/scripts/hello_dlstreamer.sh --output=file --device=CPU --model=yolo11s --precision=INT8
OUTPUT_FILE_FOUND=0
echo "## 💻 ${runner_print_label} On host tests summary" >> $GITHUB_STEP_SUMMARY
for file in *.mp4; do
# Check if the file exists and is at least 1kB in size
if [[ -f "$file" && $(stat --printf="%s" "$file") -ge 1024 ]]; then
echo "✅ Valid .mp4 file found: $file"
echo "Testing hello_dlstreamer.sh script: PASS ✅" >> $GITHUB_STEP_SUMMARY
OUTPUT_FILE_FOUND=1
fi
done
if [[ $OUTPUT_FILE_FOUND -eq 0 ]]; then
echo "❌ No .mp4 file(s) found or it has less than 1kB size. Exiting..."
echo "Testing hello_dlstreamer.sh script: FAIL ❌" >> $GITHUB_STEP_SUMMARY
exit 1
fi
- name: Upload hello_dlstreamer output video
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #7.0.1
if: always() && needs.setup.outputs.should_run == 'true'
with:
name: DLS_hello_dlstreamer_output_video_${{ matrix.runner_print_label }}_${{ matrix.ubuntu_version }}_CPU_yolo11s
path: ${{ env.DLS_REL_PATH }}/test_hello_dlstreamer
- name: Init on host tests configurations
if: always() && needs.setup.outputs.should_run == 'true'
env:
runner_print_label: ${{ matrix.runner_print_label }}
run: |
if [[ "${runner_print_label}" == "ARL" ]]; then
echo "HOST_TEST_CONFIGS=samples_config.json watermark_config.json" >> $GITHUB_ENV
else
echo "HOST_TEST_CONFIGS=samples_config.json" >> $GITHUB_ENV
fi
echo "Selected test configuration file: $HOST_TEST_CONFIGS" >> $GITHUB_STEP_SUMMARY
- name: Init host test environment
if: always() && needs.setup.outputs.should_run == 'true'
env:
ubuntu_version: ${{ matrix.ubuntu_version }}
run: |
sudo apt install -y libcairo2-dev libgirepository1.0-dev
if [[ ${ubuntu_version} == "ubuntu24" ]]; then
sudo apt install -y libopencv-dev
fi
if [ -d "$HOME/.virtualenvs" ]; then
echo "Directory $HOME/.virtualenvs exists - removing it"
rm -rf $HOME/.virtualenvs
fi
mkdir -p $HOME/.virtualenvs/dlstreamer
python3 -m venv $HOME/.virtualenvs/dlstreamer
$HOME/.virtualenvs/dlstreamer/bin/pip install --no-cache-dir --upgrade pip -r $DLS_REL_PATH/requirements.txt
- name: 🚀 Run on host tests
if: always() && needs.setup.outputs.should_run == 'true'
id: run_onhost_tests
env:
HOST_TEST_CONFIGS: ${{ env.HOST_TEST_CONFIGS }}
runner_print_label: ${{ matrix.runner_print_label }}
ubuntu_version: ${{ matrix.ubuntu_version }}
run: |
cd $PWD/$DLS_REL_PATH/tests
mkdir functional_tests_results
cd functional_tests_results
DLS_TESTS_RESULTS_PATH=$PWD
echo "DLS_TESTS_RESULTS_PATH=$DLS_TESTS_RESULTS_PATH" >> $GITHUB_ENV
cd ../functional_tests
source $HOME/.virtualenvs/dlstreamer/bin/activate
./run_tests.sh \
--models-path=${{ env.MODELS_PATH }} \
--video-examples-path=${{ env.VIDEO_INPUTS_PATH }} \
--meta-configs="$HOST_TEST_CONFIGS" \
--platform-type="${runner_print_label}" \
--results-path="$DLS_TESTS_RESULTS_PATH" \
--report-name="DLS_functional_tests_${runner_print_label}_on_host_${ubuntu_version}_results" \
--on-host
deactivate
- name: Upload host test results
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #7.0.1
if: always() && needs.setup.outputs.should_run == 'true'
with:
name: DLS_functional_tests_${{ matrix.runner_print_label }}_on_host_${{ matrix.ubuntu_version }}_results
path: "${{ env.DLS_TESTS_RESULTS_PATH }}"
- name: Check and display host test results
if: always() && needs.setup.outputs.should_run == 'true'
env:
dls_tests_results_path: ${{ env.DLS_TESTS_RESULTS_PATH }}
test_repo_branch: ${{ inputs.test-repo-branch }}
runner_print_label: ${{ matrix.runner_print_label }}
ubuntu_version: ${{ matrix.ubuntu_version }}
run: |
RESULTS_FILE="${dls_tests_results_path}/DLS_functional_tests_${runner_print_label}_on_host_${ubuntu_version}_results.txt"
# Add results to summary with emoji replacements
sed 's/\[pass\]/:white_check_mark:/g; s/\[\! FAIL \!\]/:x:/g' "$RESULTS_FILE" >> $GITHUB_STEP_SUMMARY
# Check for failures and fail if any
FAILED_COUNT=$(grep "^Failed:" "$RESULTS_FILE" | awk '{print $2}')
if [ "$FAILED_COUNT" -gt 0 ]; then
echo "::error::$FAILED_COUNT test(s) failed"
exit 1
fi
- name: Uninstall dlstreamer
if: always() && needs.setup.outputs.should_run == 'true'
run: |
$DLS_REL_PATH/tests/scripts/uninstall-dlstreamer.sh
- name: Check Docker image size
if: always() && needs.setup.outputs.should_run == 'true'
id: check-size
env:
deb_final_img: ghcr.io/${{ github.repository }}/deb-final-img-${{ matrix.ubuntu_version }}:${{ github.sha }}
MATRIX_UBUNTU_VERSION: ${{ matrix.ubuntu_version }}
EXPECTED_SIZE_MB_DEB_U22: ${{ vars.EXPECTED_SIZE_MB_DEB_U22 }}
EXPECTED_SIZE_MB_DEB_U24: ${{ vars.EXPECTED_SIZE_MB_DEB_U24 }}
run: |
IMAGE_NAME=${deb_final_img}
if [ "${MATRIX_UBUNTU_VERSION}" == "ubuntu22" ]; then
EXPECTED_SIZE_MB=${EXPECTED_SIZE_MB_DEB_U22}
elif [ "${MATRIX_UBUNTU_VERSION}" == "ubuntu24" ]; then
EXPECTED_SIZE_MB=${EXPECTED_SIZE_MB_DEB_U24}
fi
# Use 'docker images' SIZE — identical to the SIZE column visible when running 'docker images' manually on the runner
SIZE_STR=$(docker images --no-trunc --format '{{.Size}}' "$IMAGE_NAME")
IMAGE_SIZE_MB=$(echo "$SIZE_STR" | awk '
/GB$/ { printf "%d", $1 * 1024; next }
/MB$/ { printf "%d", $1; next }
/kB$/ { printf "0"; next }
')
echo "Actual image size (docker images SIZE): ${SIZE_STR} (~${IMAGE_SIZE_MB} MB)"
echo "Expected size: ${EXPECTED_SIZE_MB} MB"
DIFF=$(( IMAGE_SIZE_MB - EXPECTED_SIZE_MB ))
ABS_DIFF=${DIFF#-}
echo "Difference: ${ABS_DIFF} MB"
THRESHOLD_SIZE_MB=100
echo "IMAGE_SIZE_MB=$IMAGE_SIZE_MB" >> $GITHUB_ENV
echo "EXPECTED_SIZE_MB=$EXPECTED_SIZE_MB" >> $GITHUB_ENV
if [ "$ABS_DIFF" -gt "$THRESHOLD_SIZE_MB" ]; then
echo "❌ Image size difference exceeds allowed threshold: ${THRESHOLD_SIZE_MB}MB (difference: ${ABS_DIFF} MB)"
exit 1
else
echo "✅ Image size within allowed threshold: ${THRESHOLD_SIZE_MB}MB."
fi
- name: Print image size summary
if: always() && needs.setup.outputs.should_run == 'true'
env:
IMAGE_SIZE_MB: ${{ env.IMAGE_SIZE_MB }}
EXPECTED_SIZE_MB: ${{ env.EXPECTED_SIZE_MB }}
UBUNTU_VERSION: ${{ matrix.ubuntu_version }}
run: |
{
echo "## 🐳 Docker image size"
echo ""
echo "| Image | Size |"
echo "|-------|------|"
echo "| Current Docker ${UBUNTU_VERSION}-deb | **${IMAGE_SIZE_MB} MB** |"
echo "| Expected Docker ${UBUNTU_VERSION}-deb | **${EXPECTED_SIZE_MB} MB** |"
} >> "$GITHUB_STEP_SUMMARY"
# ======================================================== CLEANUP PART ========================================================
- name: Clean up
if: always() && needs.setup.outputs.should_run == 'true'
env:
deb_final_img: ghcr.io/${{ github.repository }}/deb-final-img-${{ matrix.ubuntu_version }}:${{ github.sha }}
run: |
rm -rf $HOME/.virtualenvs
docker rmi ${deb_final_img} || true
sudo rm -f $HOME/dlstreamer
rm -rf dlstreamer
rm -rf $HOME/dl-streamer-tests-repo
docker system prune -a -f