Skip to content

Commit

Permalink
fix(CI): remove strict check
Browse files Browse the repository at this point in the history
There is node churning during the memcheck and location verification
tests, which does havea chance of failed fetch alarm against dead node.
Hence move the check only to be undertaken withn the large file test,
which all nodes are persistant.
  • Loading branch information
maqi committed May 21, 2024
1 parent 721852e commit c109828
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 21 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/memcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -461,16 +461,6 @@ jobs:
fi
if: always()

- name: check there is no failed replication fetch
shell: bash
timeout-minutes: 1
run: |
if grep -r "failed to fetch" $NODE_DATA_PATH
then
echo "We find failed replication fetch"
exit 1
fi
- name: Upload payment wallet initialization log
uses: actions/upload-artifact@main
with:
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -906,16 +906,6 @@ jobs:
node_count=$(ls "${{ matrix.node_data_path }}" | wc -l)
echo "Node dir count is $node_count"
- name: check there is no failed replication fetch
if: matrix.os != 'windows-latest' # causes error
shell: bash
run: |
if grep -r "failed to fetch" "${{ matrix.node_data_path }}"
then
echo "We find failed replication fetch"
exit 1
fi
# Only error out after uploading the logs
- name: Don't log raw data
if: matrix.os != 'windows-latest' # causes error
Expand Down Expand Up @@ -1040,6 +1030,18 @@ jobs:
log_file_prefix: safe_test_logs_large_file_upload
build: true

- name: check there is no failed replication fetch
shell: bash
run: |
if grep -r "failed to fetch" $NODE_DATA_PATH
then
echo "We find failed replication fetch"
exit 1
fi
env:
NODE_DATA_PATH: /home/runner/.local/share/safe/node
timeout-minutes: 1

- name: Check the home dir leftover space
run: |
df
Expand All @@ -1054,7 +1056,7 @@ jobs:
ls $CLIENT_DATA_PATH/logs -l
env:
CLIENT_DATA_PATH: /home/runner/.local/share/safe/client
timeout-minutes: 10
timeout-minutes: 1

replication_bench_with_heavy_upload:
if: "!startsWith(github.event.head_commit.message, 'chore(release):')"
Expand Down

0 comments on commit c109828

Please sign in to comment.