Repository navigation
ci(bigquery): add temporary diagnostics to the cloud test job - #6243
Conversation
Since 2026-10-31 engine-tests-cloud (bigquery) fails on every main run with "The runner has received a shutdown signal" 40-75s after pytest starts. pytest output is block-buffered, so the logs show nothing about which tests were running or why the runner went down. For the bigquery matrix entry only: - PYTHONUNBUFFERED=1 and PYTEST_ADDOPTS=-v so test results stream live - a background loop logging memory, swap, disk and the top RSS processes every 5s, stopped when the step exits Other engines are unchanged. Revert once the cause is found. Signed-off-by: mday-io <mdaytn@gmail.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Problem
engine-tests-cloud (bigquery)has failed on every completedmainrun since 2026-10-31. The last pass wasf6527ffbdon 10-21, and the first failure wasa8e3405fc. Each failure has the same shape: 40–75 seconds afterpytest -n auto -m "bigquery"starts,makeisTerminated, and the runner logs "The runner has received a shutdown signal". There is no test output, because pytest's stdout is block-buffered when it isn't a terminal. On the last passing run the session header itself only appeared about 50 seconds in.That window has too many suspects to tell apart from the existing logs:
google-cloud-bigquery3.46.2→3.47.0,grpcio1.84→1.85.1 andpytest9.2.0test-vscode-e2ehas shown the same runner shutdown since 11-20, afterNo ptyHost heartbeatwarnings, which suggests the runner is running out of resources.Change
This affects the BigQuery matrix entry only. Every other engine runs exactly as before.
PYTHONUNBUFFERED=1andPYTEST_ADDOPTS=-v, so each test result streams to the log as it finishes.make.The cloud jobs only run on
main, so the firstmainrun after merge will produce the evidence. This is temporary, and I'll revert it once the cause is found.Summary by CodeRabbit