1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

[skip ci] Skip suspicious fpm tests on GH actions & macOS

There have been misterious macOS failures with the following error for a long
time, which would usually happen 1-2x per nightly run:

> The hosted runner lost communication with the server. Anything in your
> workflow that terminates the runner process, starves it for CPU/Memory, or
> blocks its network access can cause this error.

After way too much debugging, it looks like this is caused by the two fpm tests
skipped in this commit. When there's a failure, the responsible test will run
for at least 120 seconds until the job is eventually killed by GitHub Actions.
It's not clear yet why the tests stall.

Debugging this is a PITA because the GitHub Actions log gets partially lost for
killed jobs. It took an external log server to actually figure out where the job
fails. Let's disable the tests first to be sure this actually solves the issue.
This commit is contained in:
Ilija Tovilo
2025-10-17 13:04:11 +02:00
parent 9a2113a104
commit b094d5a588
2 changed files with 2 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ Concurrent reload signals should not kill PHP-FPM master process. (Bug: #74083)
<?php
include "skipif.inc";
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") die("flaky Potential cause for GitHub Actions crash");
?>
--FILE--
<?php

View File

@@ -4,6 +4,7 @@ FPM: bug76601 children should not ignore signals during concurrent reloads
<?php
include "skipif.inc";
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") die("flaky Potential cause for GitHub Actions crash");
?>
--FILE--
<?php