Page MenuHomePhabricator

selenium-Wikibase Jenkins job fails with `no such file to load -- features/support/pages (LoadError)`
Closed, ResolvedPublic

Event Timeline

Change 291907 had a related patch set uploaded (by Zfilipin):
WIP Fix selenium-Wikibase Jenkins job

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

Change 291890 had a related patch set uploaded (by Zfilipin):
Fix selenium-Wikibase Jenkins job by fixing path to a file

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

My comment on my commit in Gerrit (291907)

selenium-Wikibase job fails with

no such file to load -- features/support/pages (LoadError)

https://integration.wikimedia.org/ci/view/Selenium/job/selenium-Wikibase/BROWSER=firefox,MEDIAWIKI_ENVIRONMENT=beta,PLATFORM=Linux,label=contintLabsSlave%20&&%20UbuntuTrusty/2/console

The problem is that selenium* jobs run from repository root.

I have fixed the path in the Wikibase repo

https://gerrit.wikimedia.org/r/#/c/291890/

tested it, works fine

https://integration.wikimedia.org/ci/view/Selenium/job/selenium-Wikibase-291890/

but now mwext-mw-selenium-composer job fails with

no such file to load -- tests/browser/features/support/pages (LoadError)

https://integration.wikimedia.org/ci/job/mwext-mw-selenium-composer/3403/consoleFull

because it is not running from the root of the repo but from tests/browser.

The folder is configured in tests-dir variable of mw-selenium-with-dir builder

https://phabricator.wikimedia.org/diffusion/CICF/browse/master/jjb/macro.yaml$353

I have seen it used in mw-selenium:

tests-dir: 'src/extensions/$EXT_NAME/tests/browser'

https://phabricator.wikimedia.org/diffusion/CICF/browse/master/jjb/macro.yaml$388

and in mediawiki-selenium-integration

tests-dir: '.'

https://phabricator.wikimedia.org/diffusion/CICF/browse/master/jjb/ruby-jobs.yaml$133

I am not sure which one is correct.

Change 300278 had a related patch set uploaded (by Tobias Gritschacher):
Fix paths in env.rb

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

Change 300278 merged by jenkins-bot:
Fix paths in env.rb

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

Tobi_WMDE_SW claimed this task.
Tobi_WMDE_SW moved this task from Proposed to Done on the Wikidata-Sprint-2016-07-19 board.

Change 291890 abandoned by Tobias Gritschacher:
WIP Fix selenium-Wikibase Jenkins job by fixing path to a file

Reason:
This was resolved in https://gerrit.wikimedia.org/r/#/c/300508/15/tests/browser/features/support/env.rb

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

Change 291907 abandoned by Zfilipin:
WIP Fix selenium-Wikibase Jenkins job

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