The current status of the tests can be viewed at https://travis-ci.org/wikimedia/mediawiki (job *.1)
Description
Details
- Reference
- bz73175
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Krinkle | T75176 Make PHPUnit tests pass on Travis CI | |||
Resolved | Krinkle | T75175 Make PHPUnit tests pass with hhvm/MySQL on Travis CI | |||
Resolved | JanZerebecki | T39665 IPTCTest::testIPTCParseForcedUTFButInvalid failure on PHP with buggy glibc (iconv //IGNORE broken) | |||
Resolved | bd808 | T74778 Unit tests in FormatJsonTest fail | |||
Resolved | None | T75178 IPTCTest::testIPTCParseForcedUTFButInvalid fails on Travis CI's hhvm | |||
Resolved | bd808 | T75177 RequestContextTest::testImportScopedSession fails on Travis CI's hhvm | |||
Resolved | Joe | T75531 ApiFormatWddxTest::testValidSyntax fails in mediawiki-core-regression-hhvm-master test | |||
Resolved | Joe | T84853 Build a new HHVM package | |||
Resolved | scfc | T75668 UIDGeneratorTest::testTimestampedUID fails on Travis CI's hhvm |
Event Timeline
This is currently the failure for the latest Travis CI build with hhvm+mysql:
https://travis-ci.org/wikimedia/mediawiki/jobs/148367595
Warning: Invalid argument: function: not a valid callback array in /home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/session/PHPSessionHandlerTest.php on line 183 Warning: Session callback expects true/false return value in /home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/session/PHPSessionHandlerTest.php on line 183 Fatal error: Failed to initialize storage module: user (path: /var/lib/hhvm/sessions) in /home/travis/build/wikimedia/mediawiki/tests/phpunit/includes/session/PHPSessionHandlerTest.php on line 183 Warning: Invalid argument: function: not a valid callback array Warning: Session callback expects true/false return value Warning: Destructor threw an object exception: exception 'MWException' with message 'MediaWiki\Session\PHPSessionHandlerTest::tearDown() must call parent::tearDown()' in /home/travis/build/wikimedia/mediawiki/tests/phpunit/MediaWikiTestCase.php:118 Stack trace: #0 (): MediaWikiTestCase->__destruct() #1 {main}
The true/false thing could be the version detection in f9d07f7ff23861c7abca27b72f0be29c292aa357 failing (or could just be a cascade from the previous error). The other errors don't make any sense to me. HHVM issue #5072 maybe?
I see the log linked was generated on July 29, 2016, while f9d07f7f that fixed the true/false thing was merged in October.
I think Gergő is right about the other error, since I see that log is using HHVM 3.6.6 while that HHVM bug wasn't fixed until 3.7.
Change 339096 had a related patch set uploaded (by Krinkle):
build: Update HHVM for Travis to 3.12
This didn't work as expected since the hhvm-3.12 option is only available on trusty images from Travis CI. We're on the default, which is apparently precise still.
I tried trusty on my GitHub fork, but ran into some unrelated issues. Tracking at https://github.com/travis-ci/travis-ci/issues/7368.
Change 339345 had a related patch set uploaded (by Krinkle):
build: Change Travis image from precise to trusty (Fix HHVM build)
Change 339345 merged by jenkins-bot:
build: Change Travis image from precise to trusty (Fix HHVM build)