Jenkins on Wikibase: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
Closed, DuplicatePublic

Description

https://gerrit.wikimedia.org/r/333203 and https://gerrit.wikimedia.org/r/#/c/332011/
Can't say for sure if it's only Wikibase or all mysql-related jobs:
Example of failed job: https://integration.wikimedia.org/ci/job/mwext-testextension-php55-composer/7591/console

+ /srv/deployment/integration/slave-scripts/bin/mw-install-mysql.sh
08:40:43 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
08:40:43 Build step 'Execute shell' marked build as failure
08:40:43 Recording test results
08:40:43 ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 20 2017, 8:54 AM
Ladsgroup triaged this task as "Unbreak Now!" priority.Jan 20 2017, 8:54 AM
Restricted Application added subscribers: Jay8g, TerraCodes. · View Herald TranscriptJan 20 2017, 8:54 AM
Stashbot added a subscriber: Stashbot.

Mentioned in SAL (#wikimedia-releng) [2017-01-20T09:05:21Z] <hashar> integration restarted mysql on trusty permanent slaves T141450 T155815 salt -v '*trusty*' cmd.run 'service mysql start'