Error
- mwversion: 1.42.0-wmf.17
- reqId: 529735bf-6002-46a1-92bd-2f2baa277b01
- Find reqId in Logstash
Error message:
"Executing: /bin/bash '/srv/mediawiki/php-1.42.0-wmf.17/vendor/wikimedia/shellbox/src/Command/limit.sh' ''\\''/usr/bin/firejail'\\'' '\\''--quiet'\\'' '\\''--profile=/srv/mediawiki/php-1.42.0-wmf.17/includes/shell/firejail.profile'\\'' '\\''--seccomp'\\'' '\\''--net=none'\\'' '\\''--env=TMH_OUTPUT_FILE=transcoded.webm'\\'' '\\''--env=TMH_FFMPEG_PASSES=2'\\'' '\\''--env=TMH_FFMPEG_PATH=/usr/bin/ffmpeg'\\'' '\\''--env=TMH_OPTS_VIDEO= -threads 8 -row-mt 1 -pix_fmt yuv420p -crf 31 -vcodec libvpx-vp9 -tile-columns 2 -quality good -f webm -g 599 -b:v 5952529 -minrate 2975515 -maxrate 8629743 -s 1920x1080'\\'' '\\''--env=TMH_REMUX=no'\\'' '\\''--env=TMH_OPT_VIDEOCODEC='\\''\\'\\'''\\''vp9'\\''\\'\\'''\\'''\\'' '\\''--env=TMH_OPT_SPEED=3'\\'' '\\''--env=TMH_OPTS_FFMPEG2=-max_muxing_queue_size 1024'\\'' '\\''--env=TMH_OPT_NOAUDIO=no'\\'' '\\''--env=TMH_OPTS_AUDIO= -ab 96000 -acodec libopus'\\'' '\\''--env=TMH_MOVFLAGS='\\'' -- '\\''/bin/bash'\\'' '\\''scripts/ffmpeg-encode.sh'\\''' 'SB_INCLUDE_STDERR=1;SB_CPU_LIMIT=50; SB_CGROUP='\\''/sys/fs/cgroup/memory/mediawiki/job'\\''; SB_MEM_LIMIT=4194304; SB_FILE_SIZE_LIMIT=536870912; SB_WALL_CLOCK_LIMIT=180; SB_USE_LOG_PIPE=yes' 2>&1"
Impact
Video transcoding is broken, we won't create successful transclusions of uploaded videos
Notes
This can probably be solved in two ways:
- "Fixing" the video transclusion script to use less elaborate variables
- Fix the escaping of --env arguments in Shellbox::Command::FirejailWrapper::wrap