From bcc36c10f02fae8ebcdf6d1a42f0c5260be938d1 Mon Sep 17 00:00:00 2001 From: Sakamoto Souta Date: Tue, 30 May 2023 07:52:23 +0000 Subject: [PATCH 1/4] lsof --- .github/workflows/test-server-all.yml | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/test-server-all.yml b/.github/workflows/test-server-all.yml index 2c28ea846..5cccfdc05 100644 --- a/.github/workflows/test-server-all.yml +++ b/.github/workflows/test-server-all.yml @@ -223,6 +223,13 @@ jobs: run: docker-compose ${{ env.COMPOSE_FILES_OPT }} run medium-libc pytest src/tests/test_${{ matrix.test_name }}.py -s -v -log-cli-level=DEBUG working-directory: ./scripts + - name: Check Port + if: ${{ failure() }} + run: | + lsof -i:50001 + lsof -i:50002 + lsof -i:50003 + medium_test_container_up: runs-on: ubuntu-latest steps: @@ -251,6 +258,13 @@ jobs: pipenv run pytest ./tests/test_up.py -s -v -log-cli-level=DEBUG working-directory: ./scripts/container_test + - name: Check Port + if: ${{ failure() }} + run: | + lsof -i:50001 + lsof -i:50002 + lsof -i:50003 + medium_test_container_restart: runs-on: ubuntu-latest strategy: @@ -290,6 +304,13 @@ jobs: pipenv run pytest ./tests/test_restart_request.py::test_success_${{ matrix.test_name }}_with_restart -s -v -log-cli-level=DEBUG working-directory: ./scripts/container_test + - name: Check Port + if: ${{ failure() }} + run: | + lsof -i:50001 + lsof -i:50002 + lsof -i:50003 + medium_test_container_down: runs-on: ubuntu-latest strategy: @@ -327,6 +348,13 @@ jobs: pipenv run pytest ./tests/test_down_request.py::test_failed_${{ matrix.test_name }}_with_down -s -v -log-cli-level=DEBUG working-directory: ./scripts/container_test + - name: Check Port + if: ${{ failure() }} + run: | + lsof -i:50001 + lsof -i:50002 + lsof -i:50003 + medium_test_container: runs-on: ubuntu-latest needs: From 3fcf0cf601afa4327572dd9bbd6194b97388bcfa Mon Sep 17 00:00:00 2001 From: Sakamoto Souta Date: Tue, 30 May 2023 08:48:20 +0000 Subject: [PATCH 2/4] add matrix --- .github/workflows/test-server-all.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-server-all.yml b/.github/workflows/test-server-all.yml index 5cccfdc05..66c29f81d 100644 --- a/.github/workflows/test-server-all.yml +++ b/.github/workflows/test-server-all.yml @@ -200,6 +200,7 @@ jobs: token, variance ] + hogehugahogehuga: [0,1,2,3,4,5,6,7,8,9] steps: - name: Checkout uses: actions/checkout@v2 @@ -322,6 +323,7 @@ jobs: execute_computation, get_computation_result, ] + steps: - name: Checkout uses: actions/checkout@v2 From 2d4a396652ddf791b141ecc1f55044ce651e35ab Mon Sep 17 00:00:00 2001 From: Sakamoto Souta Date: Tue, 30 May 2023 08:51:24 +0000 Subject: [PATCH 3/4] 3 --- .github/workflows/test-server-all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-server-all.yml b/.github/workflows/test-server-all.yml index 66c29f81d..e42f1070f 100644 --- a/.github/workflows/test-server-all.yml +++ b/.github/workflows/test-server-all.yml @@ -200,7 +200,7 @@ jobs: token, variance ] - hogehugahogehuga: [0,1,2,3,4,5,6,7,8,9] + hogehugahogehuga: [0,1,2] steps: - name: Checkout uses: actions/checkout@v2 From bd808fb711b816c824fce3dd115972f7468df28d Mon Sep 17 00:00:00 2001 From: Sakamoto Souta Date: Wed, 31 May 2023 03:14:42 +0000 Subject: [PATCH 4/4] install lsof --- .github/workflows/test-server-all.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test-server-all.yml b/.github/workflows/test-server-all.yml index e42f1070f..7e273423f 100644 --- a/.github/workflows/test-server-all.yml +++ b/.github/workflows/test-server-all.yml @@ -227,9 +227,8 @@ jobs: - name: Check Port if: ${{ failure() }} run: | - lsof -i:50001 - lsof -i:50002 - lsof -i:50003 + sudo apt-get install lsof + lsof -i:50001,50002,50003 medium_test_container_up: runs-on: ubuntu-latest @@ -262,9 +261,8 @@ jobs: - name: Check Port if: ${{ failure() }} run: | - lsof -i:50001 - lsof -i:50002 - lsof -i:50003 + sudo apt-get install lsof + lsof -i:50001,50002,50003 medium_test_container_restart: runs-on: ubuntu-latest @@ -308,9 +306,8 @@ jobs: - name: Check Port if: ${{ failure() }} run: | - lsof -i:50001 - lsof -i:50002 - lsof -i:50003 + sudo apt-get install lsof + lsof -i:50001,50002,50003 medium_test_container_down: runs-on: ubuntu-latest @@ -353,9 +350,8 @@ jobs: - name: Check Port if: ${{ failure() }} run: | - lsof -i:50001 - lsof -i:50002 - lsof -i:50003 + sudo apt-get install lsof + lsof -i:50001,50002,50003 medium_test_container: runs-on: ubuntu-latest