Page MenuHomePhabricator

Jenkins reports test failures in current master: Cannot override frozen service "storage"
Closed, DuplicatePublic

Description

Jenkins sporadically reports failures of the mediawiki-extensions-hhvm job on innocuous, newly-rebased changes in mediawiki/core. For example https://integration.wikimedia.org/ci/job/mediawiki-extensions-hhvm/5936/consoleFull

There were 7 errors:

1) ApiFlowThankTest::testRequestWithoutToken
RuntimeException: Cannot override frozen service "storage".

/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Flow/vendor/Pimple/Container.php:76
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Thanks/tests/ApiFlowThankIntegrationTest.php:93
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/tests/phpunit/MediaWikiTestCase.php:132

2) ApiFlowThankTest::testInvalidRequest
RuntimeException: Cannot override frozen service "storage".

/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Flow/vendor/Pimple/Container.php:76
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Thanks/tests/ApiFlowThankIntegrationTest.php:93
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/tests/phpunit/MediaWikiTestCase.php:132

3) ApiFlowThankTest::testValidRequest
RuntimeException: Cannot override frozen service "storage".

/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Flow/vendor/Pimple/Container.php:76
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Thanks/tests/ApiFlowThankIntegrationTest.php:93
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/tests/phpunit/MediaWikiTestCase.php:132

4) ApiFlowThankTest::testRequestWithInvalidId
RuntimeException: Cannot override frozen service "storage".

/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Flow/vendor/Pimple/Container.php:76
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Thanks/tests/ApiFlowThankIntegrationTest.php:93
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/tests/phpunit/MediaWikiTestCase.php:132

5) ApiFlowThankTest::testRequestWithOwnId
RuntimeException: Cannot override frozen service "storage".

/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Flow/vendor/Pimple/Container.php:76
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Thanks/tests/ApiFlowThankIntegrationTest.php:93
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/tests/phpunit/MediaWikiTestCase.php:132

6) ApiFlowThankTest::testApiTestGroup
RuntimeException: Cannot override frozen service "storage".

/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Flow/vendor/Pimple/Container.php:76
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Thanks/tests/ApiFlowThankIntegrationTest.php:93
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/tests/phpunit/MediaWikiTestCase.php:132

7) ApiFlowThankTest::testMediaWikiTestCaseParentSetupCalled
RuntimeException: Cannot override frozen service "storage".

/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Flow/vendor/Pimple/Container.php:76
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/extensions/Thanks/tests/ApiFlowThankIntegrationTest.php:93
/mnt/jenkins-workspace/workspace/mediawiki-extensions-hhvm/src/tests/phpunit/MediaWikiTestCase.php:132

I'm not sure exactly when it started, but at least as early as build #5894. The failure rate graph shows a rise at around that time. https://gerrit.wikimedia.org/r/#/c/192608/ is presumably implicated, but perhaps was merged too early to be the whole story.

Event Timeline

tstarling created this task.Mar 9 2015, 3:03 AM
tstarling assigned this task to EBernhardson.
tstarling raised the priority of this task from to High.
tstarling updated the task description. (Show Details)
tstarling added a subscriber: tstarling.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 9 2015, 3:03 AM
tstarling updated the task description. (Show Details)Mar 9 2015, 3:56 AM
tstarling set Security to None.

Has this been resolved? Has it happened recently?

EBernhardson closed this task as Resolved.Mar 11 2015, 3:48 PM

This should have been resolved by Ic80b137e6ca2f8ba6ad34ce0bdbb1319b81c0a6e