Page MenuHomePhabricator
Paste P16390

(An Untitled Masterwork)
ActivePublic

Authored by Jakob_WMDE on Thu, Jun 10, 8:15 AM.
ansible-playbook fedProps.yml --limit wikidata-federated-properties.wikidata-dev.eqiad.wmflabs
PLAY [Setup and run a test system with a 'Federated Properties' enabled instance of Wikibase] **********************************************
TASK [Gathering Facts] *********************************************************************************************************************
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs]
TASK [Ensure essential system packages are installed] **************************************************************************************
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=zip)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=unzip)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=php-ast)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=php-curl)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=php-intl)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=php-mbstring)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=php-mysql)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=php-xml)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=python3)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=python3-pip)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=composer)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=git)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=docker.io)
TASK [Ensure essential python packages are installed] **************************************************************************************
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=setuptools)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=docker-compose)
TASK [Ensure user 'mediawiki' exists and belongs to the 'docker' group] ********************************************************************
changed: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs]
TASK [Ensure group 'mediawiki' exists] *****************************************************************************************************
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs]
TASK [Ensure project directories exists] ***************************************************************************************************
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item={'name': '/opt/federatedProperties', 'owner': 'root'})
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item={'name': '/opt/federatedProperties/scripts', 'owner': 'mediawiki'})
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item={'name': '/opt/federatedProperties/log', 'owner': 'mediawiki'})
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item={'name': '/opt/federatedProperties/mediawiki', 'owner': 'mediawiki'})
TASK [Ensure update and logrotate scripts are in place] ************************************************************************************
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=update.sh)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=logrotate.sh)
TASK [Checkout mediawiki master branch] ****************************************************************************************************
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs]
TASK [Ensure .htaccess is in place] ********************************************************************************************************
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs]
TASK [Ensure symbolic link for script dir is in place] *************************************************************************************
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs]
TASK [Checkout skin and extensions] ********************************************************************************************************
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=skins/Vector)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=extensions/UniversalLanguageSelector)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=extensions/cldr)
ok: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs] => (item=extensions/Wikibase)
TASK [Ensure composer.local.json is in place] **********************************************************************************************
changed: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs]
TASK [Run 'composer install' on mediawiki core] ********************************************************************************************
fatal: [wikidata-federated-properties.wikidata-dev.eqiad.wmflabs]: FAILED! => {"changed": false, "msg": "In FilesystemRepository.php line 58: Invalid repository data in /opt/federatedProperties/mediawiki/vendor/compos er/installed.json, packages could not be loaded: [Seld\\JsonLint\\ParsingExce ption] \"/opt/federatedProperties/mediawiki/vendor/composer/installed.json\" does not contain valid JSON Parse error on line 1: ^ Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['", "stdout": "\nIn FilesystemRepository.php line 58:\n \n Invalid repository data in /opt/federatedProperties/mediawiki/vendor/compos \n er/installed.json, packages could not be loaded: [Seld\\JsonLint\\ParsingExce \n ption] \"/opt/federatedProperties/mediawiki/vendor/composer/installed.json\" \n does not contain valid JSON \n Parse error on line 1: \n \n ^ \n Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[' \n \n\n", "stdout_lines": ["", "In FilesystemRepository.php line 58:", " ", " Invalid repository data in /opt/federatedProperties/mediawiki/vendor/compos ", " er/installed.json, packages could not be loaded: [Seld\\JsonLint\\ParsingExce ", " ption] \"/opt/federatedProperties/mediawiki/vendor/composer/installed.json\" ", " does not contain valid JSON ", " Parse error on line 1: ", " ", " ^ ", " Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[' ", " ", ""]}
PLAY RECAP *********************************************************************************************************************************
wikidata-federated-properties.wikidata-dev.eqiad.wmflabs : ok=12 changed=2 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0