Page MenuHomePhabricator

TestVideoTranscode::testTranscodeJobs fails Undefined property: WebVideoTranscodeJob::$id
Open, MediumPublic

Description

The test TestVideoTranscode::testTranscodeJobs with data set #1 (array('video/webm', '/Users/amusso/projects/mediawiki/extensions/TimedMediaHandler/tests/phpunit/media/shuttle10seconds.1080x608.webm', 699018, 1080, 608, 'VIDEO', 522142, 29.97))

Fails with:

Undefined property: WebVideoTranscodeJob::$id

Example run https://integration.wikimedia.org/ci/job/mwext-TimedMediaHandler-testextensions-master/5/console


Version: master
Severity: normal

Details

Reference
bz61878

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:52 AM
bzimport set Reference to bz61878.

And:

  1. TestVideoTranscode::testTranscodeJobs with data set #0 (array('application/ogg', '/Users/amusso/projects/mediawiki/extensions/TimedMediaHandler/tests/phpunit/media/test5seconds.electricsheep.300x400.ogv', 301477, 400, 300, 'VIDEO', 452216, 30))

Failed asserting that false is true.

Change 115304 had a related patch set uploaded by Hashar:
Ignore TestVideoTranscode::testTranscodeJobs

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

Change 115304 merged by jenkins-bot:
Ignore TestVideoTranscode::testTranscodeJobs

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

All patches merged; resetting ticket status

I get this error

20:36:15 1) TestVideoThumbnail::testApiThumbnails with data set #0 (array('application/ogg', '/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/TimedMediaHandler/tests/phpunit/media/test5seconds.electricsheep.300x400.ogv', 301477, 400, 300, 'VIDEO', 452216, 30))
20:36:15 Failed asserting that false is true.
20:36:15
20:36:15 /mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/TimedMediaHandler/tests/phpunit/TestVideoThumbnail.php:39
20:36:15 /mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/tests/phpunit/MediaWikiTestCase.php:137
20:36:15
20:36:15 2) TestVideoThumbnail::testApiThumbnails with data set #1 (array('video/webm', '/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/TimedMediaHandler/tests/phpunit/media/shuttle10seconds.1080x608.webm', 699018, 1080, 608, 'VIDEO', 522142, 29.97))
20:36:15 Failed asserting that false is true.
20:36:15
20:36:15 /mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/TimedMediaHandler/tests/phpunit/TestVideoThumbnail.php:39
20:36:15 /mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/tests/phpunit/MediaWikiTestCase.php:137

It seems that Undefined property: WebVideoTranscodeJob::$id was fixed.

@brion and @TheDJ can I add you since this is a broken test that is disabled but should be re enabled.

Looks like the test is still disabled (src).

I'll take a look at this, as we now no longer support on MwEmbedSupport

Aklapper added a subscriber: TheDJ.

Removing task assignee due to inactivity, as this open task has been assigned for more than two years (see emails sent to assignee on May26 and Jun17, and T270544). Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be very welcome!

(See https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator.)