Remove trash error message from integration tests

This commit is contained in:
Alexey Milovidov 2022-09-17 20:24:56 +02:00
parent 49a9c9e5fa
commit ecfd8cb5a6
15 changed files with 481 additions and 987 deletions

View File

@ -112,10 +112,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
######################################################################################### #########################################################################################
#################################### ORDINARY BUILDS #################################### #################################### ORDINARY BUILDS ####################################
@ -162,10 +160,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebAarch64: BuilderDebAarch64:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -209,10 +205,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebAsan: BuilderDebAsan:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -254,10 +248,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebTsan: BuilderDebTsan:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -299,10 +291,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebDebug: BuilderDebDebug:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -344,10 +334,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderBinDarwin: BuilderBinDarwin:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -391,10 +379,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderBinDarwinAarch64: BuilderBinDarwinAarch64:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -438,10 +424,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
############################################################################################ ############################################################################################
##################################### Docker images ####################################### ##################################### Docker images #######################################
@ -468,10 +452,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################ ############################################################################################
##################################### BUILD REPORTER ####################################### ##################################### BUILD REPORTER #######################################
@ -514,10 +496,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
BuilderSpecialReport: BuilderSpecialReport:
needs: needs:
@ -554,10 +534,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################## ##############################################################################################
########################### FUNCTIONAl STATELESS TESTS ####################################### ########################### FUNCTIONAl STATELESS TESTS #######################################
@ -594,10 +572,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################## ##############################################################################################
############################ FUNCTIONAl STATEFUL TESTS ####################################### ############################ FUNCTIONAl STATEFUL TESTS #######################################
@ -634,10 +610,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################## ##############################################################################################
######################################### STRESS TESTS ####################################### ######################################### STRESS TESTS #######################################
@ -677,10 +651,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################# #############################################################################################
############################# INTEGRATION TESTS ############################################# ############################# INTEGRATION TESTS #############################################
@ -716,10 +688,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FinishCheck: FinishCheck:
needs: needs:

View File

@ -40,8 +40,6 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"

View File

@ -125,10 +125,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
DocsCheck: DocsCheck:
needs: DockerHubPush needs: DockerHubPush
@ -158,10 +156,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FinishCheck: FinishCheck:
needs: needs:

View File

@ -116,8 +116,6 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"

View File

@ -36,8 +36,6 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"

View File

@ -112,10 +112,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
CompatibilityCheck: CompatibilityCheck:
needs: [BuilderDebRelease] needs: [BuilderDebRelease]
@ -146,10 +144,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
SharedBuildSmokeTest: SharedBuildSmokeTest:
needs: [BuilderDebShared] needs: [BuilderDebShared]
@ -180,10 +176,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
######################################################################################### #########################################################################################
#################################### ORDINARY BUILDS #################################### #################################### ORDINARY BUILDS ####################################
@ -230,10 +224,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
BuilderDebAarch64: BuilderDebAarch64:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -273,10 +265,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderBinRelease: BuilderBinRelease:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -320,56 +310,9 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
# BuilderBinGCC:
# needs: [DockerHubPush]
# runs-on: [self-hosted, builder]
# steps:
# - name: Set envs
# run: |
# cat >> "$GITHUB_ENV" << 'EOF'
# TEMP_PATH=${{runner.temp}}/build_check
# IMAGES_PATH=${{runner.temp}}/images_path
# REPO_COPY=${{runner.temp}}/build_check/ClickHouse
# CACHES_PATH=${{runner.temp}}/../ccaches
# BUILD_NAME=binary_gcc
# EOF
# - name: Download changed images
# uses: actions/download-artifact@v2
# with:
# name: changed_images
# path: ${{ env.IMAGES_PATH }}
# - name: Clear repository
# run: |
# sudo rm -fr "$GITHUB_WORKSPACE" && mkdir "$GITHUB_WORKSPACE"
# - name: Check out repository code
# uses: actions/checkout@v2
# - name: Build
# run: |
# git -C "$GITHUB_WORKSPACE" submodule sync --recursive
# git -C "$GITHUB_WORKSPACE" submodule update --depth=1 --recursive --init --jobs=10
# sudo rm -fr "$TEMP_PATH"
# mkdir -p "$TEMP_PATH"
# cp -r "$GITHUB_WORKSPACE" "$TEMP_PATH"
# cd "$REPO_COPY/tests/ci" && python3 build_check.py "$BUILD_NAME"
# - name: Upload build URLs to artifacts
# if: ${{ success() || failure() }}
# uses: actions/upload-artifact@v2
# with:
# name: ${{ env.BUILD_URLS }}
# path: ${{ env.TEMP_PATH }}/${{ env.BUILD_URLS }}.json
# - name: Cleanup
# if: always()
# run: |
# # shellcheck disable=SC2046
# docker kill $(docker ps -q) ||:
# # shellcheck disable=SC2046
# docker rm -f $(docker ps -a -q) ||:
# sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebAsan: BuilderDebAsan:
needs: [DockerHubPush] needs: [DockerHubPush]
runs-on: [self-hosted, builder] runs-on: [self-hosted, builder]
@ -410,10 +353,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebUBsan: BuilderDebUBsan:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -455,10 +396,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebTsan: BuilderDebTsan:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -500,10 +439,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebMsan: BuilderDebMsan:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -545,10 +482,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebDebug: BuilderDebDebug:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -590,10 +525,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
########################################################################################## ##########################################################################################
##################################### SPECIAL BUILDS ##################################### ##################################### SPECIAL BUILDS #####################################
@ -638,10 +571,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderBinClangTidy: BuilderBinClangTidy:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -683,10 +614,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderBinDarwin: BuilderBinDarwin:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -730,10 +659,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderBinAarch64: BuilderBinAarch64:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -777,10 +704,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderBinFreeBSD: BuilderBinFreeBSD:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -824,10 +749,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderBinDarwinAarch64: BuilderBinDarwinAarch64:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -871,10 +794,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderBinPPC64: BuilderBinPPC64:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -918,10 +839,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderBinAmd64SSE2: BuilderBinAmd64SSE2:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -965,10 +884,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
############################################################################################ ############################################################################################
##################################### Docker images ####################################### ##################################### Docker images #######################################
@ -995,10 +912,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################ ############################################################################################
##################################### BUILD REPORTER ####################################### ##################################### BUILD REPORTER #######################################
@ -1045,10 +960,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
BuilderSpecialReport: BuilderSpecialReport:
needs: needs:
@ -1092,10 +1005,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################## ##############################################################################################
########################### FUNCTIONAl STATELESS TESTS ####################################### ########################### FUNCTIONAl STATELESS TESTS #######################################
@ -1132,10 +1043,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestReleaseDatabaseOrdinary: FunctionalStatelessTestReleaseDatabaseOrdinary:
needs: [BuilderDebRelease] needs: [BuilderDebRelease]
@ -1169,10 +1078,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestReleaseDatabaseReplicated0: FunctionalStatelessTestReleaseDatabaseReplicated0:
needs: [BuilderDebRelease] needs: [BuilderDebRelease]
@ -1208,10 +1115,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestReleaseDatabaseReplicated1: FunctionalStatelessTestReleaseDatabaseReplicated1:
needs: [BuilderDebRelease] needs: [BuilderDebRelease]
@ -1247,10 +1152,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestReleaseS3: FunctionalStatelessTestReleaseS3:
needs: [BuilderDebRelease] needs: [BuilderDebRelease]
@ -1284,10 +1187,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestAarch64: FunctionalStatelessTestAarch64:
needs: [BuilderDebAarch64] needs: [BuilderDebAarch64]
@ -1321,10 +1222,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestAsan0: FunctionalStatelessTestAsan0:
needs: [BuilderDebAsan] needs: [BuilderDebAsan]
@ -1360,10 +1259,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestAsan1: FunctionalStatelessTestAsan1:
needs: [BuilderDebAsan] needs: [BuilderDebAsan]
@ -1399,10 +1296,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestTsan0: FunctionalStatelessTestTsan0:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -1438,10 +1333,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestTsan1: FunctionalStatelessTestTsan1:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -1477,10 +1370,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestTsan2: FunctionalStatelessTestTsan2:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -1516,10 +1407,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestUBsan: FunctionalStatelessTestUBsan:
needs: [BuilderDebUBsan] needs: [BuilderDebUBsan]
@ -1553,10 +1442,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestMsan0: FunctionalStatelessTestMsan0:
needs: [BuilderDebMsan] needs: [BuilderDebMsan]
@ -1592,10 +1479,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestMsan1: FunctionalStatelessTestMsan1:
needs: [BuilderDebMsan] needs: [BuilderDebMsan]
@ -1631,10 +1516,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestMsan2: FunctionalStatelessTestMsan2:
needs: [BuilderDebMsan] needs: [BuilderDebMsan]
@ -1670,10 +1553,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestDebug0: FunctionalStatelessTestDebug0:
needs: [BuilderDebDebug] needs: [BuilderDebDebug]
@ -1709,10 +1590,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestDebug1: FunctionalStatelessTestDebug1:
needs: [BuilderDebDebug] needs: [BuilderDebDebug]
@ -1748,10 +1627,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestDebug2: FunctionalStatelessTestDebug2:
needs: [BuilderDebDebug] needs: [BuilderDebDebug]
@ -1787,10 +1664,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################## ##############################################################################################
############################ FUNCTIONAl STATEFUL TESTS ####################################### ############################ FUNCTIONAl STATEFUL TESTS #######################################
@ -1827,10 +1702,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatefulTestAarch64: FunctionalStatefulTestAarch64:
needs: [BuilderDebAarch64] needs: [BuilderDebAarch64]
@ -1864,10 +1737,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatefulTestAsan: FunctionalStatefulTestAsan:
needs: [BuilderDebAsan] needs: [BuilderDebAsan]
@ -1901,10 +1772,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatefulTestTsan: FunctionalStatefulTestTsan:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -1938,10 +1807,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatefulTestMsan: FunctionalStatefulTestMsan:
needs: [BuilderDebMsan] needs: [BuilderDebMsan]
@ -1975,10 +1842,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatefulTestUBsan: FunctionalStatefulTestUBsan:
needs: [BuilderDebUBsan] needs: [BuilderDebUBsan]
@ -2012,10 +1877,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatefulTestDebug: FunctionalStatefulTestDebug:
needs: [BuilderDebDebug] needs: [BuilderDebDebug]
@ -2049,10 +1912,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################## ##############################################################################################
######################################### STRESS TESTS ####################################### ######################################### STRESS TESTS #######################################
@ -2088,10 +1949,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
StressTestTsan: StressTestTsan:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -2128,10 +1987,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
StressTestMsan: StressTestMsan:
needs: [BuilderDebMsan] needs: [BuilderDebMsan]
@ -2164,10 +2021,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
StressTestUBsan: StressTestUBsan:
needs: [BuilderDebUBsan] needs: [BuilderDebUBsan]
@ -2200,10 +2055,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
StressTestDebug: StressTestDebug:
needs: [BuilderDebDebug] needs: [BuilderDebDebug]
@ -2236,10 +2089,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################# #############################################################################################
############################# INTEGRATION TESTS ############################################# ############################# INTEGRATION TESTS #############################################
@ -2277,10 +2128,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsAsan1: IntegrationTestsAsan1:
needs: [BuilderDebAsan] needs: [BuilderDebAsan]
@ -2315,10 +2164,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsAsan2: IntegrationTestsAsan2:
needs: [BuilderDebAsan] needs: [BuilderDebAsan]
@ -2353,10 +2200,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsTsan0: IntegrationTestsTsan0:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -2391,10 +2236,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsTsan1: IntegrationTestsTsan1:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -2429,10 +2272,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsTsan2: IntegrationTestsTsan2:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -2467,10 +2308,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsTsan3: IntegrationTestsTsan3:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -2505,10 +2344,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsRelease0: IntegrationTestsRelease0:
needs: [BuilderDebRelease] needs: [BuilderDebRelease]
@ -2543,10 +2380,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsRelease1: IntegrationTestsRelease1:
needs: [BuilderDebRelease] needs: [BuilderDebRelease]
@ -2581,10 +2416,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################## ##############################################################################################
##################################### AST FUZZERS ############################################ ##################################### AST FUZZERS ############################################
@ -2620,10 +2453,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
ASTFuzzerTestTsan: ASTFuzzerTestTsan:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -2656,10 +2487,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
ASTFuzzerTestUBSan: ASTFuzzerTestUBSan:
needs: [BuilderDebUBsan] needs: [BuilderDebUBsan]
@ -2692,10 +2521,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
ASTFuzzerTestMSan: ASTFuzzerTestMSan:
needs: [BuilderDebMsan] needs: [BuilderDebMsan]
@ -2728,10 +2555,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
ASTFuzzerTestDebug: ASTFuzzerTestDebug:
needs: [BuilderDebDebug] needs: [BuilderDebDebug]
@ -2764,10 +2589,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################# #############################################################################################
#################################### UNIT TESTS ############################################# #################################### UNIT TESTS #############################################
@ -2803,10 +2626,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
UnitTestsReleaseClang: UnitTestsReleaseClang:
needs: [BuilderBinRelease] needs: [BuilderBinRelease]
@ -2839,10 +2660,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
# UnitTestsReleaseGCC: # UnitTestsReleaseGCC:
# needs: [BuilderBinGCC] # needs: [BuilderBinGCC]
@ -2875,10 +2694,8 @@ jobs:
# - name: Cleanup # - name: Cleanup
# if: always() # if: always()
# run: | # run: |
# # shellcheck disable=SC2046 # docker ps --quiet | xargs --no-run-if-empty docker kill ||:
# docker kill $(docker ps -q) ||: # docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# # shellcheck disable=SC2046
# docker rm -f $(docker ps -a -q) ||:
# sudo rm -fr "$TEMP_PATH" # sudo rm -fr "$TEMP_PATH"
UnitTestsTsan: UnitTestsTsan:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -2911,10 +2728,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
UnitTestsMsan: UnitTestsMsan:
needs: [BuilderDebMsan] needs: [BuilderDebMsan]
@ -2947,10 +2762,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
UnitTestsUBsan: UnitTestsUBsan:
needs: [BuilderDebUBsan] needs: [BuilderDebUBsan]
@ -2983,10 +2796,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################# #############################################################################################
#################################### PERFORMANCE TESTS ###################################### #################################### PERFORMANCE TESTS ######################################
@ -3024,10 +2835,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
PerformanceComparisonX86-1: PerformanceComparisonX86-1:
needs: [BuilderDebRelease] needs: [BuilderDebRelease]
@ -3062,10 +2871,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
PerformanceComparisonX86-2: PerformanceComparisonX86-2:
needs: [BuilderDebRelease] needs: [BuilderDebRelease]
@ -3100,10 +2907,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
PerformanceComparisonX86-3: PerformanceComparisonX86-3:
needs: [BuilderDebRelease] needs: [BuilderDebRelease]
@ -3138,10 +2943,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FinishCheck: FinishCheck:
needs: needs:

View File

@ -119,8 +119,6 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"

File diff suppressed because it is too large Load Diff

View File

@ -66,8 +66,6 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"

View File

@ -103,10 +103,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
######################################################################################### #########################################################################################
#################################### ORDINARY BUILDS #################################### #################################### ORDINARY BUILDS ####################################
@ -153,10 +151,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebAarch64: BuilderDebAarch64:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -196,10 +192,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebAsan: BuilderDebAsan:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -241,10 +235,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebUBsan: BuilderDebUBsan:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -286,10 +278,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebTsan: BuilderDebTsan:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -331,10 +321,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebMsan: BuilderDebMsan:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -376,10 +364,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderDebDebug: BuilderDebDebug:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -421,10 +407,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderBinDarwin: BuilderBinDarwin:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -468,10 +452,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
BuilderBinDarwinAarch64: BuilderBinDarwinAarch64:
needs: [DockerHubPush] needs: [DockerHubPush]
@ -515,10 +497,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" "$CACHES_PATH" sudo rm -fr "$TEMP_PATH" "$CACHES_PATH"
############################################################################################ ############################################################################################
##################################### Docker images ####################################### ##################################### Docker images #######################################
@ -545,10 +525,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################ ############################################################################################
##################################### BUILD REPORTER ####################################### ##################################### BUILD REPORTER #######################################
@ -594,10 +572,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
BuilderSpecialReport: BuilderSpecialReport:
needs: needs:
@ -634,10 +610,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################## ##############################################################################################
########################### FUNCTIONAl STATELESS TESTS ####################################### ########################### FUNCTIONAl STATELESS TESTS #######################################
@ -674,10 +648,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestAarch64: FunctionalStatelessTestAarch64:
needs: [BuilderDebAarch64] needs: [BuilderDebAarch64]
@ -711,10 +683,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestAsan0: FunctionalStatelessTestAsan0:
needs: [BuilderDebAsan] needs: [BuilderDebAsan]
@ -750,10 +720,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestAsan1: FunctionalStatelessTestAsan1:
needs: [BuilderDebAsan] needs: [BuilderDebAsan]
@ -789,10 +757,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestTsan0: FunctionalStatelessTestTsan0:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -828,10 +794,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestTsan1: FunctionalStatelessTestTsan1:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -867,10 +831,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestTsan2: FunctionalStatelessTestTsan2:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -906,10 +868,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestUBsan: FunctionalStatelessTestUBsan:
needs: [BuilderDebUBsan] needs: [BuilderDebUBsan]
@ -943,10 +903,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestMsan0: FunctionalStatelessTestMsan0:
needs: [BuilderDebMsan] needs: [BuilderDebMsan]
@ -982,10 +940,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestMsan1: FunctionalStatelessTestMsan1:
needs: [BuilderDebMsan] needs: [BuilderDebMsan]
@ -1021,10 +977,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestMsan2: FunctionalStatelessTestMsan2:
needs: [BuilderDebMsan] needs: [BuilderDebMsan]
@ -1060,10 +1014,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestDebug0: FunctionalStatelessTestDebug0:
needs: [BuilderDebDebug] needs: [BuilderDebDebug]
@ -1099,10 +1051,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestDebug1: FunctionalStatelessTestDebug1:
needs: [BuilderDebDebug] needs: [BuilderDebDebug]
@ -1138,10 +1088,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestDebug2: FunctionalStatelessTestDebug2:
needs: [BuilderDebDebug] needs: [BuilderDebDebug]
@ -1177,10 +1125,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################## ##############################################################################################
############################ FUNCTIONAl STATEFUL TESTS ####################################### ############################ FUNCTIONAl STATEFUL TESTS #######################################
@ -1217,10 +1163,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatefulTestAarch64: FunctionalStatefulTestAarch64:
needs: [BuilderDebAarch64] needs: [BuilderDebAarch64]
@ -1254,10 +1198,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatefulTestAsan: FunctionalStatefulTestAsan:
needs: [BuilderDebAsan] needs: [BuilderDebAsan]
@ -1291,10 +1233,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatefulTestTsan: FunctionalStatefulTestTsan:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -1328,10 +1268,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatefulTestMsan: FunctionalStatefulTestMsan:
needs: [BuilderDebMsan] needs: [BuilderDebMsan]
@ -1365,10 +1303,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatefulTestUBsan: FunctionalStatefulTestUBsan:
needs: [BuilderDebUBsan] needs: [BuilderDebUBsan]
@ -1402,10 +1338,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FunctionalStatefulTestDebug: FunctionalStatefulTestDebug:
needs: [BuilderDebDebug] needs: [BuilderDebDebug]
@ -1439,10 +1373,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################## ##############################################################################################
######################################### STRESS TESTS ####################################### ######################################### STRESS TESTS #######################################
@ -1478,10 +1410,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
StressTestTsan: StressTestTsan:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -1518,10 +1448,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
StressTestMsan: StressTestMsan:
needs: [BuilderDebMsan] needs: [BuilderDebMsan]
@ -1554,10 +1482,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
StressTestUBsan: StressTestUBsan:
needs: [BuilderDebUBsan] needs: [BuilderDebUBsan]
@ -1590,10 +1516,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
StressTestDebug: StressTestDebug:
needs: [BuilderDebDebug] needs: [BuilderDebDebug]
@ -1626,10 +1550,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
############################################################################################# #############################################################################################
############################# INTEGRATION TESTS ############################################# ############################# INTEGRATION TESTS #############################################
@ -1667,10 +1589,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsAsan1: IntegrationTestsAsan1:
needs: [BuilderDebAsan] needs: [BuilderDebAsan]
@ -1705,10 +1625,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsAsan2: IntegrationTestsAsan2:
needs: [BuilderDebAsan] needs: [BuilderDebAsan]
@ -1743,10 +1661,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsTsan0: IntegrationTestsTsan0:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -1781,10 +1697,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsTsan1: IntegrationTestsTsan1:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -1819,10 +1733,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsTsan2: IntegrationTestsTsan2:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -1857,10 +1769,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsTsan3: IntegrationTestsTsan3:
needs: [BuilderDebTsan] needs: [BuilderDebTsan]
@ -1895,10 +1805,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsRelease0: IntegrationTestsRelease0:
needs: [BuilderDebRelease] needs: [BuilderDebRelease]
@ -1933,10 +1841,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
IntegrationTestsRelease1: IntegrationTestsRelease1:
needs: [BuilderDebRelease] needs: [BuilderDebRelease]
@ -1971,10 +1877,8 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"
FinishCheck: FinishCheck:
needs: needs:

View File

@ -37,8 +37,6 @@ jobs:
- name: Cleanup - name: Cleanup
if: always() if: always()
run: | run: |
# shellcheck disable=SC2046 docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker kill $(docker ps -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||:
sudo rm -fr "$TEMP_PATH" sudo rm -fr "$TEMP_PATH"

View File

@ -28,10 +28,9 @@ done
set -e set -e
# cleanup for retry run if volume is not recreated # cleanup for retry run if volume is not recreated
# shellcheck disable=SC2046
{ {
docker ps -aq | xargs -r docker kill || true docker ps --all --quiet | xargs --no-run-if-empty docker kill || true
docker ps -aq | xargs -r docker rm || true docker ps --all --quiet | xargs --no-run-if-empty docker rm || true
} }
echo "Start tests" echo "Start tests"

View File

@ -76,13 +76,13 @@ if [[ ${ROOT_STAT[0]} -lt 3000000 ]] || [[ ${ROOT_STAT[1]} -lt 5 ]]; then
fi fi
# shellcheck disable=SC2046 # shellcheck disable=SC2046
docker kill $(docker ps -q) ||: docker ps --quiet | xargs --no-run-if-empty docker kill ||:
# shellcheck disable=SC2046 # shellcheck disable=SC2046
docker rm -f $(docker ps -a -q) ||: docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
# If we have hanged containers after the previous commands, than we have a hanged one # If we have hanged containers after the previous commands, than we have a hanged one
# and should restart the daemon # and should restart the daemon
if [ "$(docker ps -a -q)" ]; then if [ "$(docker ps --all --quiet)" ]; then
# Systemd service of docker has StartLimitBurst=3 and StartLimitInterval=60s, # Systemd service of docker has StartLimitBurst=3 and StartLimitInterval=60s,
# that's why we try restarting it for long # that's why we try restarting it for long
for i in {1..25}; for i in {1..25};

View File

@ -168,7 +168,7 @@ def clear_ip_tables_and_restart_daemons():
try: try:
logging.info("Killing all alive docker containers") logging.info("Killing all alive docker containers")
subprocess.check_output( subprocess.check_output(
"timeout -s 9 10m docker kill $(docker ps -q)", shell=True "timeout -s 9 10m docker ps --quiet | xargs --no-run-if-empty docker kill", shell=True
) )
except subprocess.CalledProcessError as err: except subprocess.CalledProcessError as err:
logging.info("docker kill excepted: " + str(err)) logging.info("docker kill excepted: " + str(err))
@ -176,7 +176,7 @@ def clear_ip_tables_and_restart_daemons():
try: try:
logging.info("Removing all docker containers") logging.info("Removing all docker containers")
subprocess.check_output( subprocess.check_output(
"timeout -s 9 10m docker rm $(docker ps -a -q) --force", shell=True "timeout -s 9 10m docker ps --all --quiet | xargs --no-run-if-empty docker rm --force", shell=True
) )
except subprocess.CalledProcessError as err: except subprocess.CalledProcessError as err:
logging.info("docker rm excepted: " + str(err)) logging.info("docker rm excepted: " + str(err))

View File

@ -135,7 +135,7 @@ def check_args_and_update_paths(args):
def docker_kill_handler_handler(signum, frame): def docker_kill_handler_handler(signum, frame):
subprocess.check_call( subprocess.check_call(
'docker kill $(docker ps -a -q --filter name={name} --format="{{{{.ID}}}}")'.format( 'docker ps --all --quiet --filter name={name} --format="{{{{.ID}}}}" | xargs --no-run-if-empty docker kill'.format(
name=CONTAINER_NAME name=CONTAINER_NAME
), ),
shell=True, shell=True,
@ -405,7 +405,7 @@ if __name__ == "__main__":
) )
containers = subprocess.check_output( containers = subprocess.check_output(
f"docker ps -a -q --filter name={CONTAINER_NAME} --format={{{{.ID}}}}", f"docker ps --all --quiet --filter name={CONTAINER_NAME} --format={{{{.ID}}}}",
shell=True, shell=True,
universal_newlines=True, universal_newlines=True,
).splitlines() ).splitlines()