https://bugzilla.wikimedia.org/show_bug.cgi?id=47389
Web browser: ---
Bug ID: 47389
Summary: EducationProgram unit tests are broken
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: EducationProgram
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
https://integration.wikimedia.org/ci/job/mwext-EducationProgram-testextensions-master/300/console
21:54:56 There were 3 failures:
21:54:56
21:54:56 1) EducationProgram\Tests\ArticleStoreTest::testInsertAndUpdateArticle
with data set #0 (EducationProgram\EPArticle)
21:54:56 deleteArticle returned true
21:54:56 Failed asserting that ResultWrapper Object (
21:54:56 'db' => DatabaseSqlite Object (
21:54:56 'mAffectedRows' => 1
21:54:56 'mLastResult' => null
21:54:56 'mDatabaseFile' =>
'/var/lib/jenkins/tmpfs/mwext-EducationProgram-testextensions-master/my_wiki.sqlite'
21:54:56 'mName' => 'my_wiki'
21:54:56 'mConn' => PDO Object ()
21:54:56 'mLastQuery' => 'DELETE FROM unittest_ep_articles WHERE
article_id = '2''
21:54:56 'mDoneWrites' => true
21:54:56 'mPHPError' => false
21:54:56 'mServer' => null
21:54:56 'mUser' => null
21:54:56 'mPassword' => null
21:54:56 'mDBname' => null
21:54:56 'mOpened' => true
21:54:56 'mTrxIdleCallbacks' => Array ()
21:54:56 'mTrxPreCommitCallbacks' => Array ()
21:54:56 'mTablePrefix' => 'unittest_'
21:54:56 'mFlags' => 16
21:54:56 'mTrxLevel' => 0
21:54:56 'mErrorCount' => 60
21:54:56 'mLBInfo' => Array (
21:54:56 'host' => ''
21:54:56 'user' => ''
21:54:56 'password' => ''
21:54:56 'dbname' => 'my_wiki'
21:54:56 'type' => 'sqlite'
21:54:56 'load' => 1
21:54:56 'flags' => 16
21:54:56 'serverIndex' => 0
21:54:56 )
21:54:56 'mFakeSlaveLag' => null
21:54:56 'mFakeMaster' => false
21:54:56 'mDefaultBigSelects' => null
21:54:56 'mSchemaVars' => false
21:54:56 'preparedArgs' => null
21:54:56 'htmlErrors' => null
21:54:56 'delimiter' => ';'
21:54:56 'mTrxFname' => null
21:54:56 'mTrxDoneWrites' => false
21:54:56 'mTrxAutomatic' => false
21:54:56 'fileHandle' => null
21:54:56 )
21:54:56 'result' => Array ()
21:54:56 'pos' => 0
21:54:56 'currentRow' => null
21:54:56 ) is true.
21:54:56
21:54:56
/srv/ssd/jenkins/workspace/mwext-EducationProgram-testextensions-master/extensions/EducationProgram/tests/phpunit/ArticleStoreTest.php:115
21:54:56
/srv/ssd/jenkins/workspace/mwext-EducationProgram-testextensions-master/tests/phpunit/MediaWikiTestCase.php:116
21:54:56
/srv/ssd/jenkins/workspace/mwext-EducationProgram-testextensions-master/tests/phpunit/MediaWikiPHPUnitCommand.php:64
21:54:56
/srv/ssd/jenkins/workspace/mwext-EducationProgram-testextensions-master/tests/phpunit/MediaWikiPHPUnitCommand.php:48
21:54:56
21:54:56 2) EducationProgram\Tests\ArticleStoreTest::testInsertAndUpdateArticle
with data set #1 (EducationProgram\EPArticle)
21:54:56 deleteArticle returned true
21:54:56 Failed asserting that ResultWrapper Object (
21:54:56 'db' => DatabaseSqlite Object (
21:54:56 'mAffectedRows' => 1
21:54:56 'mLastResult' => null
21:54:56 'mDatabaseFile' =>
'/var/lib/jenkins/tmpfs/mwext-EducationProgram-testextensions-master/my_wiki.sqlite'
21:54:56 'mName' => 'my_wiki'
21:54:56 'mConn' => PDO Object ()
21:54:56 'mLastQuery' => 'DELETE FROM unittest_ep_articles WHERE
article_id = '3''
21:54:56 'mDoneWrites' => true
21:54:56 'mPHPError' => false
21:54:56 'mServer' => null
21:54:56 'mUser' => null
21:54:56 'mPassword' => null
21:54:56 'mDBname' => null
21:54:56 'mOpened' => true
21:54:56 'mTrxIdleCallbacks' => Array ()
21:54:56 'mTrxPreCommitCallbacks' => Array ()
21:54:56 'mTablePrefix' => 'unittest_'
21:54:56 'mFlags' => 16
21:54:56 'mTrxLevel' => 0
21:54:56 'mErrorCount' => 60
21:54:56 'mLBInfo' => Array (
21:54:56 'host' => ''
21:54:56 'user' => ''
21:54:56 'password' => ''
21:54:56 'dbname' => 'my_wiki'
21:54:56 'type' => 'sqlite'
21:54:56 'load' => 1
21:54:56 'flags' => 16
21:54:56 'serverIndex' => 0
21:54:56 )
21:54:56 'mFakeSlaveLag' => null
21:54:56 'mFakeMaster' => false
21:54:56 'mDefaultBigSelects' => null
21:54:56 'mSchemaVars' => false
21:54:56 'preparedArgs' => null
21:54:56 'htmlErrors' => null
21:54:56 'delimiter' => ';'
21:54:56 'mTrxFname' => null
21:54:56 'mTrxDoneWrites' => false
21:54:56 'mTrxAutomatic' => false
21:54:56 'fileHandle' => null
21:54:56 )
21:54:56 'result' => Array ()
21:54:56 'pos' => 0
21:54:56 'currentRow' => null
21:54:56 ) is true.
21:54:56
21:54:56
/srv/ssd/jenkins/workspace/mwext-EducationProgram-testextensions-master/extensions/EducationProgram/tests/phpunit/ArticleStoreTest.php:115
21:54:56
/srv/ssd/jenkins/workspace/mwext-EducationProgram-testextensions-master/tests/phpunit/MediaWikiTestCase.php:116
21:54:56
/srv/ssd/jenkins/workspace/mwext-EducationProgram-testextensions-master/tests/phpunit/MediaWikiPHPUnitCommand.php:64
21:54:56
/srv/ssd/jenkins/workspace/mwext-EducationProgram-testextensions-master/tests/phpunit/MediaWikiPHPUnitCommand.php:48
21:54:56
21:54:56 3)
EducationProgram\Tests\ArticleStoreTest::testDeleteNonExistingArticle
21:54:56 Failed asserting that ResultWrapper Object (
21:54:56 'db' => DatabaseSqlite Object (
21:54:56 'mAffectedRows' => 0
21:54:56 'mLastResult' => null
21:54:56 'mDatabaseFile' =>
'/var/lib/jenkins/tmpfs/mwext-EducationProgram-testextensions-master/my_wiki.sqlite'
21:54:56 'mName' => 'my_wiki'
21:54:56 'mConn' => PDO Object ()
21:54:56 'mLastQuery' => 'DELETE FROM unittest_ep_articles WHERE
article_id = '99999''
21:54:56 'mDoneWrites' => true
21:54:56 'mPHPError' => false
21:54:56 'mServer' => null
21:54:56 'mUser' => null
21:54:56 'mPassword' => null
21:54:56 'mDBname' => null
21:54:56 'mOpened' => true
21:54:56 'mTrxIdleCallbacks' => Array ()
21:54:56 'mTrxPreCommitCallbacks' => Array ()
21:54:56 'mTablePrefix' => 'unittest_'
21:54:56 'mFlags' => 16
21:54:56 'mTrxLevel' => 0
21:54:56 'mErrorCount' => 60
21:54:56 'mLBInfo' => Array (
21:54:56 'host' => ''
21:54:56 'user' => ''
21:54:56 'password' => ''
21:54:56 'dbname' => 'my_wiki'
21:54:56 'type' => 'sqlite'
21:54:56 'load' => 1
21:54:56 'flags' => 16
21:54:56 'serverIndex' => 0
21:54:56 )
21:54:56 'mFakeSlaveLag' => null
21:54:56 'mFakeMaster' => false
21:54:56 'mDefaultBigSelects' => null
21:54:56 'mSchemaVars' => false
21:54:56 'preparedArgs' => null
21:54:56 'htmlErrors' => null
21:54:56 'delimiter' => ';'
21:54:56 'mTrxFname' => null
21:54:56 'mTrxDoneWrites' => false
21:54:56 'mTrxAutomatic' => false
21:54:56 'fileHandle' => null
21:54:56 )
21:54:56 'result' => Array ()
21:54:56 'pos' => 0
21:54:56 'currentRow' => null
21:54:56 ) is true.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l