Page MenuHomePhabricator

Tests on mediawiki/libs/CommonPasswords failing with timeouts
Closed, ResolvedPublic

Description

Different composer test failure on different php versions on https://gerrit.wikimedia.org/r/c/mediawiki/libs/CommonPasswords/+/1147861 due to timeout

19:46:27 Analyzing files...
19:46:27 ░░                                                     2 / 2 (100%) 295MB
19:51:24 The following exception is caused by a process timeout
19:51:24 Check https://getcomposer.org/doc/06-config.md#process-timeout for details
19:51:24 
19:51:24 In Process.php line 1205:
19:51:24                                                                                
19:51:24   The process "phan --allow-polyfill-parser --long-progress-bar" exceeded the  
19:51:24    timeout of 300 seconds.                                                     
19:51:24

In a passing job there is a time leak between phan and minus, not sure what is running there, but it timeouts out "that" takes to long

19:46:41 Analyzing files...
19:46:41 ░░                                                     2 / 2 (100%) 294MB
19:50:28 
19:50:29 > minus-x check .
19:50:29 MinusX
19:50:29 ======
19:50:29 Processing /src...
19:50:29 .....................
19:50:29 All good!
19:50:29 [PostBuildScript] - [INFO] Executing post build scripts.

Details

Event Timeline

Reedy subscribed.
		"test": [
			"parallel-lint . --exclude vendor",
			"phpunit",
			"covers-validator",
			"@phpcs",
			"phan --allow-polyfill-parser --long-progress-bar",
			"minus-x check ."
		],

Arguably some fallout from {f1d9f97730a2971cce31101cffd716d3f4d72059} for T212460: Adopt static array files for local disk storage of values (epic)... Which reverting would make T379482: Increase the common passwords list to 1M entries easier.

Change #1148964 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/libs/CommonPasswords@master] CI: Exclude common.php from phan

https://gerrit.wikimedia.org/r/1148964

There's probably scope for an Upstream bug report for the perf issue for phan, if someone wants...

Change #1148964 merged by jenkins-bot:

[mediawiki/libs/CommonPasswords@master] CI: Exclude common.php from phan

https://gerrit.wikimedia.org/r/1148964

Daimona subscribed.

There's probably scope for an Upstream bug report for the perf issue for phan, if someone wants...

Filed T395292. The bug appears to be in taint-check, not phan.