INFRA-126 Test runs fail with "Lost connection to MySQL server at 'reading initial communication packet'"
We've had two test-runs in two days which failed with this error:
SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 0
e.g.
https://test.civicrm.org/job/CiviCRM-Core-Matrix/CIVIVER=4.5,label=test-debian6-1/30/console
Note: In reading the log, the error message occurs in the middle (while executing CRM_AllTests). Then at the very end, the error cascades:
[xUnit] [ERROR] - The result file '/var/lib/jenkins/workspace/CiviCRM-Core-Matrix/CIVIVER/4.5/label/test-debian6-1/junit/CRM_AllTests.xml' for the metric 'JUnit' is empty. The result file has been skipped.