Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI(build-and-test-locally): set
session-timeout
for pytest (#10831)
## Problem Sometimes, a regression test run gets stuck (taking more than 60 minutes) and is killed by GitHub's `timeout-minutes` without leaving any traces in the test results database. I find no correlation between this and either the build type, the architecture, or the Postgres version. See: https://neonprod.grafana.net/goto/nM7ih7cHR?orgId=1 ## Summary of changes - Bump `pytest-timeout` to the version that supports `--session-timeout` - Set `--session-timeout` to (timeout-minutes - 10 minutes) * 60 seconds in Attempt to stop tests gracefully to generate test reports until they are forcibly stopped by the stricter `timeout-minutes` limit.
- Loading branch information
2ec8dff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7686 tests run: 7286 passed, 1 failed, 399 skipped (full report)
Failures on Postgres 16
test_sharding_autosplit[github-actions-selfhosted]
: release-x86-64-with-lfcFlaky tests (2)
Postgres 16
test_pageserver_gc_compaction_idempotent[after_restart]
: release-arm64-with-lfcPostgres 14
test_timeline_copy[100000]
: release-arm64-with-lfcCode coverage* (full report)
functions
:33.0% (8602 of 26072 functions)
lines
:48.9% (72632 of 148513 lines)
* collected from Rust tests only
2ec8dff at 2025-02-15T12:54:58.693Z :recycle: