Page MenuHomePhabricator

mwext-mw-selenium job fails with: avconv not found on your system.
Closed, ResolvedPublic

Description

https://integration.wikimedia.org/ci/job/mwext-mw-selenium/ fails on new Trusty slaves with:

avconv not found on your system.

Seems some package is not provided via puppet :-/

Event Timeline

hashar claimed this task.
hashar raised the priority of this task from to Unbreak Now!.
hashar updated the task description. (Show Details)
hashar added subscribers: hashar, dduvall, zeljkofilipin.

On Trusty it is provided by libav-tools. Got installed manually (i.e. via explicitly via puppet):

hashar@integration-slave-trusty-1011:~$ apt-mark showmanual|grep libav-tools
libav-tools

It is nowhere in puppet :(

So https://gerrit.wikimedia.org/r/#/c/234699/ Use backported ffmpeg for multimedia transcoding on Trusty

That changes mediawiki::packages::multimedia` which Jenkins slaves are including:

 class mediawiki::packages::multimedia {
-    if os_version('ubuntu >= trusty') {
-        $libav_package   = 'libav-tools'
-    } else {
-        $libav_package   = 'ffmpeg'
-    }
-
     package { [
-        $libav_package,
+        'ffmpeg',

Which mean new Jenkins slaves do not have libav-tools installed.

Change 240569 had a related patch set uploaded (by Hashar):
contint: bring back libav-tools on slaves

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

hashar lowered the priority of this task from Unbreak Now! to Medium.Sep 23 2015, 8:33 PM

I have cherry picked the change and libav-tools has been installed:

Notice: /Stage[main]/Contint::Packages::Labs/Package[libav-tools]/ensure: ensure changed 'purged' to 'present'

Change 240569 merged by Dzahn:
contint: bring back libav-tools on slaves

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