Page MenuHomePhabricator

selenium-daily-beta(commons)-MediaWiki fails with `Test report file (...)WDIO.xunit-(...).xml was length 0`
Closed, ResolvedPublic

Description

Example failed test run: https://integration.wikimedia.org/ci/job/selenium-daily-beta-MediaWiki/1016/testReport/

Example error:

Test report file /srv/jenkins/workspace/workspace/selenium-daily-beta-MediaWiki/log/WDIO.xunit-2021-04-29T16-20-00-944Z.xml was length 0

Example empty file:

I was able to reproduce this locally by running npm run selenium-daily.

There's probably some configuration to make sure junit formatter doesn't create empty files:

Event Timeline

Change 683842 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/core@master] selenium: Fix failing selenium-daily-beta(commons)-MediaWiki Jenkins job

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

Change 683842 merged by jenkins-bot:

[mediawiki/core@master] selenium: Fix failing selenium-daily-beta(commons)-MediaWiki Jenkins job

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

zeljkofilipin claimed this task.