My latest attempt to run sudo labs-vagrant provision on flow-tests.eqiad.wmflabs, with latest /vagrant and /vagrant/mediawiki files, repeatedly fails with:
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: The MediaWiki script file "/vagrant/mediawiki/maintenance/createAndPromote.php" does not exist
Error: mwscript createAndPromote.php --wiki=wiki Selenium_user vagrant returned 1 instead of one of [0]
Error: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: change from notrun to 0 failed: mwscript createAndPromote.php --wiki=wiki Selenium_user vagrant returned 1 instead of one of [0]
Bfore and after provision, there *IS* a MediaWiki script file:
-rw-rw---- 1 vagrant wikidev 3620 Jul 15 23:30 /vagrant/mediawiki/maintenance/createAndPromote.php
note it can't be read or executed by "other". So it's probably a permissions problem. Maybe the script runs as user www-data as MWScript.php recommends ("Maintenance scripts should generally be run using sudo -u www-data ..."), but user www-data is not a member of the wikidev group.
If you look at the entire output log below, you see before and after it is messing with files in /var/www/w. That has copies of many files in it and symlinks to many things in /vagrant/mediawiki, all mode 644 in group www-data. But not maintenance.
labs-provision log output follows:
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: PHP Warning: chdir(): Permission denied (errno 13) in /var/www/w/MWVersion.php on line 62
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: PHP Stack trace:
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: PHP 1. {main}() /var/www/w/MWScript.php:0
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: PHP 2. getMWScriptWithArgs() /var/www/w/MWScript.php:89
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: PHP 3. getMediaWikiCli() /var/www/w/MWScript.php:79
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: PHP 4. chdir() /var/www/w/MWVersion.php:62
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns:
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: Warning: chdir(): Permission denied (errno 13) in /var/www/w/MWVersion.php on line 62
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns:
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: Call Stack:
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: 0.0004 234400 1. {main}() /var/www/w/MWScript.php:0
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: 0.0004 234576 2. getMWScriptWithArgs() /var/www/w/MWScript.php:89
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: 0.0009 247360 3. getMediaWikiCli() /var/www/w/MWScript.php:79
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: 0.0013 275992 4. chdir() /var/www/w/MWVersion.php:62
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns:
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: The MediaWiki script file "/vagrant/mediawiki/maintenance/createAndPromote.php" does not exist.
Error: mwscript createAndPromote.php --wiki=wiki Selenium_user vagrant returned 1 instead of one of [0]
Error: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: change from notrun to 0 failed: mwscript createAndPromote.php --wiki=wiki Selenium_user vagrant returned 1 instead of one of [0]
and it continues with the following. The fail in Import_dump is bug 70959.
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: PHP Warning: chdir(): Permission denied (errno 13) in /var/www/w/MWVersion.php on line 62
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: PHP Stack trace:
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: PHP 1. {main}() /var/www/w/MWScript.php:0
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: PHP 2. getMWScriptWithArgs() /var/www/w/MWScript.php:89
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: PHP 3. getMediaWikiCli() /var/www/w/MWScript.php:79
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: PHP 4. chdir() /var/www/w/MWVersion.php:62
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns:
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: Warning: chdir(): Permission denied (errno 13) in /var/www/w/MWVersion.php on line 62
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns:
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: Call Stack:
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: 0.0003 234272 1. {main}() /var/www/w/MWScript.php:0
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: 0.0003 234448 2. getMWScriptWithArgs() /var/www/w/MWScript.php:89
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: 0.0008 247104 3. getMediaWikiCli() /var/www/w/MWScript.php:79
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: 0.0012 275728 4. chdir() /var/www/w/MWVersion.php:62
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns:
Notice: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: The MediaWiki script file "/vagrant/mediawiki/maintenance/importDump.php" does not exist.
Error: mwscript importDump.php --wiki=wiki /vagrant/puppet/modules/labs/files/labs_privacy_policy.xml returned 1 instead of one of [0]
Error: /Stage[main]/Role::Labs_initial_content/Mediawiki::Import_dump[labs_privacy]/Exec[import_dump_labs_privacy]/returns: change from notrun to 0 failed: mwscript importDump.php --wiki=wiki /vagrant/puppet/modules/labs/files/labs_privacy_policy.xml returned 1 instead of one of [0]
Notice: Finished catalog run in 49.67 seconds
Version: unspecified
Severity: normal