Page MenuHomePhabricator

selenium-daily-beta-MediaWiki fails with `spawn ffmpeg ENOENT`
Closed, ResolvedPublic

Description

Caused by T179188. See T179188#4676596 for how to fix.

Example: selenium-daily-beta-MediaWiki/95/console

...
------------------------------------------------------------------
[chrome #0-0] Session ID: 5cbad2cfb7f944998d9c04df483ff80e
[chrome #0-0] Spec: /src/tests/selenium/wdio-mediawiki/specs/BlankPage.js
[chrome #0-0] Running: chrome
[chrome #0-0]
[chrome #0-0]   BlankPage
[chrome #0-0]
[chrome #0-0]   BlankPage
[chrome #0-0]       1) "before each" hook
[chrome #0-0]
[chrome #0-0]
[chrome #0-0] 1 failing (1s)
[chrome #0-0]
[chrome #0-0] 1) BlankPage "before each" hook:
[chrome #0-0] spawn ffmpeg ENOENT
[chrome #0-0] Error: spawn ffmpeg ENOENT
[chrome #0-0]     at exports._errnoException (util.js:1018:11)
[chrome #0-0]     at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
[chrome #0-0]     at onErrorNT (internal/child_process.js:367:16)
[chrome #0-0]     at _combinedTickCallback (internal/process/next_tick.js:80:11)
[chrome #0-0]     at process._tickDomainCallback (internal/process/next_tick.js:128:9)
[chrome #0-0]


	Screenshot location: /log/Page-should-be-editable-%40daily.png 

------------------------------------------------------------------
...

Event Timeline

zeljkofilipin moved this task from Inbox to Selenium on the MediaWiki-Core-Tests board.
zeljkofilipin moved this task from Backlog 🔙 to Next 🔜 on the User-zeljkofilipin board.
zeljkofilipin updated the task description. (Show Details)

The job uses docker-registry.wikimedia.org/releng/npm-browser-test:0.3.1, we would want to add the ffmpeg package into it.

Change 488000 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] docker: add fmpeg to npm browser test containers

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

Change 488000 merged by jenkins-bot:
[integration/config@master] docker: add fmpeg to npm browser test containers

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

Change 488007 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] Add ffmpeg for selenium-daily-beta-* jobs

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

Change 488007 merged by jenkins-bot:
[integration/config@master] Add ffmpeg for selenium-daily-beta-* jobs

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

hashar claimed this task.

I have updated all the selenium-daily-beta-* jobs. Triggered a build at https://integration.wikimedia.org/ci/view/Selenium/job/selenium-daily-beta-MediaWiki/166/ and it captured some videos.