Author: jhall
Description:
Reported on the #wikimedia-qa IRC channel, and I was able to repro locally. When a user provisions the "browsertests" role for mediawiki-vagrant, the obsolete mediawiki-selenium is deployed, rather than the newer (and expected) mediawiki_selenium Rubygem (note the underscore).
Repro steps:
- Start with a fresh mediawiki-vagrant install (i.e. git clone the project).
- cd to new "vagrant" sub-directory.
- vagrant up
- vagrant enable-role browsertests
- vagrant provision (this step produces the error message shown below)
As near as I can tell, the error shown below does not actually prevent the "browsertests" role from working as expected; I am still able to run browser tests from the /srv/browsertests/tests/browser directory on the VM.
Error message:
notice: /Stage[main]/Browsertests/Exec[install browsertests bundle]/returns: Could not locate Gemfile
err: /Stage[main]/Browsertests/Exec[install browsertests bundle]/returns: change from notrun to 0 failed: bundle install --path /home/vagrant/.gem returned 10 instead of one of [0] at /tmp/vagrant-puppet-1/modules-0/browsertests/manifests/init.pp:85
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50993