mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
chore(ci): report proactor kind on reg test failure (#4531)
* include epoll or iouring on notification failures Signed-off-by: kostas <kostas@dragonflydb.io>
This commit is contained in:
parent
83569aca28
commit
c05d1cafc8
2 changed files with 3 additions and 3 deletions
4
.github/actions/regression-tests/action.yml
vendored
4
.github/actions/regression-tests/action.yml
vendored
|
@ -49,7 +49,7 @@ runs:
|
||||||
export DRAGONFLY_PATH="${GITHUB_WORKSPACE}/${{inputs.build-folder-name}}/${{inputs.dfly-executable}}"
|
export DRAGONFLY_PATH="${GITHUB_WORKSPACE}/${{inputs.build-folder-name}}/${{inputs.dfly-executable}}"
|
||||||
export UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1 # to crash on errors
|
export UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1 # to crash on errors
|
||||||
|
|
||||||
if [[ "${{inputs.epoll}}" == 'true' ]]; then
|
if [[ "${{inputs.epoll}}" == 'epoll' ]]; then
|
||||||
export FILTER="${{inputs.filter}} and not exclude_epoll"
|
export FILTER="${{inputs.filter}} and not exclude_epoll"
|
||||||
# Run only replication tests with epoll
|
# Run only replication tests with epoll
|
||||||
timeout 50m pytest -m "$FILTER" --durations=10 --timeout=300 --color=yes --json-report --json-report-file=report.json dragonfly --df force_epoll=true --log-cli-level=INFO || code=$?
|
timeout 50m pytest -m "$FILTER" --durations=10 --timeout=300 --color=yes --json-report --json-report-file=report.json dragonfly --df force_epoll=true --log-cli-level=INFO || code=$?
|
||||||
|
@ -98,7 +98,7 @@ runs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
job_link="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
|
job_link="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
|
||||||
message="Regression tests failed.\\n The commit is: ${{github.sha}}.\\n $failed_tests \\n Job Link: ${job_link}\\n"
|
message="Regression ${{inputs.epoll}} tests failed.\\n The commit is: ${{github.sha}}.\\n $failed_tests \\n Job Link: ${job_link}\\n"
|
||||||
|
|
||||||
curl -s \
|
curl -s \
|
||||||
-X POST \
|
-X POST \
|
||||||
|
|
2
.github/workflows/regression-tests.yml
vendored
2
.github/workflows/regression-tests.yml
vendored
|
@ -57,7 +57,7 @@ jobs:
|
||||||
s3-bucket: ${{ secrets.S3_REGTEST_BUCKET }}
|
s3-bucket: ${{ secrets.S3_REGTEST_BUCKET }}
|
||||||
# Chain ternary oprator of the form (which can be nested)
|
# Chain ternary oprator of the form (which can be nested)
|
||||||
# (expression == condition && <true expression> || <false expression>)
|
# (expression == condition && <true expression> || <false expression>)
|
||||||
epoll: ${{ matrix.proactor == 'Epoll' && 'true' || '' }}
|
epoll: ${{ matrix.proactor == 'Epoll' && 'epoll' || 'iouring' }}
|
||||||
|
|
||||||
- name: Upload logs on failure
|
- name: Upload logs on failure
|
||||||
if: failure()
|
if: failure()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue