Page MenuHomePhabricator

browsertests: Error: Working directory '/srv/browsertests/tests/browser' does not exist (and others)
Closed, ResolvedPublic

Description

Something wrong with the browsertests role, got after http://paste.debian.net/111811/

Notice: /Stage[main]/Role::Browsertests/File[/srv/browsertests/config]/ensure: created
Notice: /Stage[main]/Role::Browsertests/File[/srv/browsertests/config/secret.yml]/ensure: defined content as '{md5}b0aa09943ae3b5df22215876b3573a05'
Error: Working directory '/srv/browsertests/tests/browser' does not exist
Error: /Stage[main]/Role::Browsertests/Browsertests::Bundle[/srv/browsertests/tests/browser]/Ruby::Bundle[/srv/browsertests/tests/browser]/Exec[bundle_install_/srv/browsertests/tests/browser]/returns: change from notrun to 0 failed: Working directory '/srv/browsertests/tests/browser' does not exist

[...]

Notice: /Stage[main]/Browsertests/Mediawiki::User[Selenium_user]/Exec[mediawiki_user_Selenium_user]/returns: include_once "$IP/extensions/WikimediaIncubator/WikimediaIncubator.php";Account exists. Perhaps you want the --force option?
Error: php5 createAndPromote.php 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: php5 createAndPromote.php Selenium_user vagrant returned 1 instead of one of [0]


Version: unspecified
Severity: normal

Details

Reference
bz68625

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 3:37 AM
bzimport added a project: MediaWiki-Vagrant.
bzimport set Reference to bz68625.
Nemo_bis created this task.Jul 26 2014, 6:26 PM

At the next puppet run only the first is left:

Notice: /Stage[main]/Apt/Exec[update_package_index]/returns: executed successfully
Error: Working directory '/srv/browsertests/tests/browser' does not exist
Error: /Stage[main]/Role::Browsertests/Browsertests::Bundle[/srv/browsertests/tests/browser]/Ruby::Bundle[/srv/browsertests/tests/browser]/Exec[bundle_install_/srv/browsertests/tests/browser]/returns: change from notrun to 0 failed: Working directory '/srv/browsertests/tests/browser' does not exist
Notice: Finished catalog run in 282.18 seconds

The qa/browsertests repository has been emptied of content -- https://github.com/wikimedia/qa-browsertests. I thought there was a bug to remove the browsertests role altogether, but I'm not finding it at the moment.

The ::mediawiki::extension define now supports a browser_tests => true setting to setup browser test support for an individual extension. I know the visualeditor role has been updated to use this setting, but there may be other extensions that need to be updated.

Someone asked about removing the role on IRC about a week back. However, it doesn't look like that ever happened.

Change 149921 had a related patch set uploaded by Dduvall:
Removed browsertests role

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

Change 149921 merged by jenkins-bot:
Removed browsertests role

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

bd808 moved this task from Backlog to Done on the MediaWiki-Vagrant board.Feb 26 2015, 12:52 AM