Last modified: 2014-09-13 23:30:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69743, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67743 - maintenance/install.php fails on HHVM
maintenance/install.php fails on HHVM
Status: RESOLVED FIXED
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Ori Livneh
: hhvm
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-09 18:03 UTC by Juliusz Gonera
Modified: 2014-09-13 23:30 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Juliusz Gonera 2014-07-09 18:03:38 UTC
When running vagrant provision:
Error: php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 
 returned 1 instead of one of [0]

When running manually in vagrant ssh:
$ php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 
could not allocate 216006655 bytes for translation cache

It doesn't happen 100% of the times.
Comment 1 Juliusz Gonera 2014-07-09 18:08:25 UTC
vagrant reload used to help, but not anymore.

Part of the log with puppet_debug: true in .setting.yaml:

Info: /Stage[main]/Mediawiki/Exec[check settings]: Scheduling refresh of Exec[mediawiki setup]
Debug: /Stage[main]/Mediawiki/Exec[check settings]: The container Class[Mediawiki] will propagate my refresh event
Debug: Exec[mediawiki setup](provider=posix): Executing 'php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 
'
Debug: Executing 'php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 
'
Notice: /Stage[main]/Mediawiki/Exec[mediawiki setup]/returns: could not allocate 216006655 bytes for translation cache
Error: php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 
 returned 1 instead of one of [0]
Error: /Stage[main]/Mediawiki/Exec[mediawiki setup]/returns: change from notrun to 0 failed: php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 
 returned 1 instead of one of [0]
Debug: Exec[mediawiki setup](provider=posix): Executing 'php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 
'
Debug: Executing 'php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 
'
Notice: /Stage[main]/Mediawiki/Exec[mediawiki setup]/returns: could not allocate 216006655 bytes for translation cache
Error: /Stage[main]/Mediawiki/Exec[mediawiki setup]: Failed to call refresh: php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 
 returned 1 instead of one of [0]
Error: /Stage[main]/Mediawiki/Exec[mediawiki setup]: php /vagrant/mediawiki/maintenance/install.php devwiki admin --dbname wiki --dbpass vagrant --dbuser root --pass vagrant --scriptpath /w --server http://127.0.0.1:8080 
 returned 1 instead of one of [0]
Notice: /Stage[main]/Mediawiki/Exec[require extra settings]: Dependency Exec[mediawiki setup] has failures: true
Warning: /Stage[main]/Mediawiki/Exec[require extra settings]: Skipping because of failed dependencies
Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki user Selenium_user]: Dependency Exec[mediawiki setup] has failures: true
Warning: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki user Selenium_user]: Skipping because of failed dependencies
Comment 2 Juliusz Gonera 2014-07-09 18:10:05 UTC
I tried enabling zend role, but it still tries to run install.php using HHVM.
Comment 3 Juliusz Gonera 2014-07-09 18:19:45 UTC
Increasing memory for VM to 1536 seems to help although that seems like a lot, especially on a 4GB RAM laptop...
Comment 4 Gerrit Notification Bot 2014-07-09 20:36:16 UTC
Change 145110 had a related patch set uploaded by Ori.livneh:
Run maintenance/install.php with PHP5

https://gerrit.wikimedia.org/r/145110
Comment 5 Gerrit Notification Bot 2014-07-09 20:43:52 UTC
Change 145110 merged by jenkins-bot:
Run maintenance/install.php with PHP5

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links