Public bug reported: Hi,
When i try to laucnh phpunit test (make phpunit) i get this error ******************************************************************************************************** [INF] 4f (lib/phpunit.php:107) Installing lastcoredata PHP Warning: require_once(Zend/Cache/Backend/ExtendedInterface.php): failed to open stream: No such file or directory in /app/jenkins/mahara_test/htdocs/webservice/libs/zend/Zend/Cache/Backend/Test.php on line 27 Warning: require_once(Zend/Cache/Backend/ExtendedInterface.php): failed to open stream: No such file or directory in /app/jenkins/mahara_test/htdocs/webservice/libs/zend/Zend/Cache/Backend/Test.php on line 27 PHP Fatal error: require_once(): Failed opening required 'Zend/Cache/Backend/ExtendedInterface.php' (include_path='/app/jenkins/mahara_test/htdocs/lib/:/app/jenkins/mahara_test/htdocs/lib/pear/:.:/usr/share/pear:/usr/share/php') in /app/jenkins/mahara_test/htdocs/webservice/libs/zend/Zend/Cache/Backend/Test.php on line 27 Fatal error: require_once(): Failed opening required 'Zend/Cache/Backend/ExtendedInterface.php' (include_path='/app/jenkins/mahara_test/htdocs/lib/:/app/jenkins/mahara_test/htdocs/lib/pear/:.:/usr/share/pear:/usr/share/php') in /app/jenkins/mahara_test/htdocs/webservice/libs/zend/Zend/Cache/Backend/Test.php on line 27 make: *** [phpunit] Error 255 ******************************************************************************************************** And the second try i get this ******************************************************************************************************** [DBG] bf (lib/ddl.php:753) CONSTRAINT tst_oautservconf_oau_fk FOREIGN KEY (oauthserverregistryid) REFERENCES tst_oauth_server_registry (id) [DBG] bf (lib/ddl.php:753) )ENGINE=innodb [DBG] bf (lib/ddl.php:753) [36] => ALTER TABLE tst_oauth_server_config COMMENT='Table to store settings related to an oauth server registry' [DBG] bf (lib/ddl.php:753) [37] => CREATE INDEX tst_oautservconf_oau_ix ON tst_oauth_server_config (oauthserverregistryid) [DBG] bf (lib/ddl.php:753) ) [DBG] bf (lib/ddl.php:753) PHP Fatal error: Uncaught SQLException: Failed to install (check logs for xmldb errors) in /app/jenkins/mahara_test/htdocs/lib/ddl.php:754 Stack trace: #0 /app/jenkins/mahara_test/htdocs/lib/upgrade.php(444): install_from_xmldb_file('/app/jenkins/ma...') #1 /app/jenkins/mahara_test/htdocs/lib/phpunit.php(121): upgrade_plugin(Object(stdClass)) #2 /app/jenkins/mahara_test/htdocs/lib/tests/phpunit/bootstrap.php(34): UnitTestBootstrap->install_mahara() #3 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/Util/Fileloader.php(64): include_once('/app/jenkins/ma...') #4 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/Util/Fileloader.php(48): PHPUnit\Util\Fileloader::load('/app/jenkins/ma...') #5 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/TextUI/Command.php(991): PHPUnit\Util\Fileloader::checkAndLoad('/app/jenkins/ma...') #6 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/TextUI/Command.php(788): PHPUnit\TextUI\Command->handleBootstrap('/app/jenkins/ma...') #7 /app/jenkins/mahara_ in /app/jenkins/mahara_test/htdocs/lib/ddl.php on line 754 Fatal error: Uncaught SQLException: Failed to install (check logs for xmldb errors) in /app/jenkins/mahara_test/htdocs/lib/ddl.php:754 Stack trace: #0 /app/jenkins/mahara_test/htdocs/lib/upgrade.php(444): install_from_xmldb_file('/app/jenkins/ma...') #1 /app/jenkins/mahara_test/htdocs/lib/phpunit.php(121): upgrade_plugin(Object(stdClass)) #2 /app/jenkins/mahara_test/htdocs/lib/tests/phpunit/bootstrap.php(34): UnitTestBootstrap->install_mahara() #3 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/Util/Fileloader.php(64): include_once('/app/jenkins/ma...') #4 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/Util/Fileloader.php(48): PHPUnit\Util\Fileloader::load('/app/jenkins/ma...') #5 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/TextUI/Command.php(991): PHPUnit\Util\Fileloader::checkAndLoad('/app/jenkins/ma...') #6 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/TextUI/Command.php(788): PHPUnit\TextUI\Command->handleBootstrap('/app/jenkins/ma...') #7 /app/jenkins/mahara_ in /app/jenkins/mahara_test/htdocs/lib/ddl.php on line 754 make: *** [phpunit] Error 255 OS RedHat Mahara 18.10 Php 7.2 Mysql 5.7 PhpUnit 8 ** Affects: mahara Importance: Undecided Status: New -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1821082 Title: PHPUnit test - Installing lastcoredata fail Status in Mahara: New Bug description: Hi, When i try to laucnh phpunit test (make phpunit) i get this error ******************************************************************************************************** [INF] 4f (lib/phpunit.php:107) Installing lastcoredata PHP Warning: require_once(Zend/Cache/Backend/ExtendedInterface.php): failed to open stream: No such file or directory in /app/jenkins/mahara_test/htdocs/webservice/libs/zend/Zend/Cache/Backend/Test.php on line 27 Warning: require_once(Zend/Cache/Backend/ExtendedInterface.php): failed to open stream: No such file or directory in /app/jenkins/mahara_test/htdocs/webservice/libs/zend/Zend/Cache/Backend/Test.php on line 27 PHP Fatal error: require_once(): Failed opening required 'Zend/Cache/Backend/ExtendedInterface.php' (include_path='/app/jenkins/mahara_test/htdocs/lib/:/app/jenkins/mahara_test/htdocs/lib/pear/:.:/usr/share/pear:/usr/share/php') in /app/jenkins/mahara_test/htdocs/webservice/libs/zend/Zend/Cache/Backend/Test.php on line 27 Fatal error: require_once(): Failed opening required 'Zend/Cache/Backend/ExtendedInterface.php' (include_path='/app/jenkins/mahara_test/htdocs/lib/:/app/jenkins/mahara_test/htdocs/lib/pear/:.:/usr/share/pear:/usr/share/php') in /app/jenkins/mahara_test/htdocs/webservice/libs/zend/Zend/Cache/Backend/Test.php on line 27 make: *** [phpunit] Error 255 ******************************************************************************************************** And the second try i get this ******************************************************************************************************** [DBG] bf (lib/ddl.php:753) CONSTRAINT tst_oautservconf_oau_fk FOREIGN KEY (oauthserverregistryid) REFERENCES tst_oauth_server_registry (id) [DBG] bf (lib/ddl.php:753) )ENGINE=innodb [DBG] bf (lib/ddl.php:753) [36] => ALTER TABLE tst_oauth_server_config COMMENT='Table to store settings related to an oauth server registry' [DBG] bf (lib/ddl.php:753) [37] => CREATE INDEX tst_oautservconf_oau_ix ON tst_oauth_server_config (oauthserverregistryid) [DBG] bf (lib/ddl.php:753) ) [DBG] bf (lib/ddl.php:753) PHP Fatal error: Uncaught SQLException: Failed to install (check logs for xmldb errors) in /app/jenkins/mahara_test/htdocs/lib/ddl.php:754 Stack trace: #0 /app/jenkins/mahara_test/htdocs/lib/upgrade.php(444): install_from_xmldb_file('/app/jenkins/ma...') #1 /app/jenkins/mahara_test/htdocs/lib/phpunit.php(121): upgrade_plugin(Object(stdClass)) #2 /app/jenkins/mahara_test/htdocs/lib/tests/phpunit/bootstrap.php(34): UnitTestBootstrap->install_mahara() #3 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/Util/Fileloader.php(64): include_once('/app/jenkins/ma...') #4 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/Util/Fileloader.php(48): PHPUnit\Util\Fileloader::load('/app/jenkins/ma...') #5 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/TextUI/Command.php(991): PHPUnit\Util\Fileloader::checkAndLoad('/app/jenkins/ma...') #6 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/TextUI/Command.php(788): PHPUnit\TextUI\Command->handleBootstrap('/app/jenkins/ma...') #7 /app/jenkins/mahara_ in /app/jenkins/mahara_test/htdocs/lib/ddl.php on line 754 Fatal error: Uncaught SQLException: Failed to install (check logs for xmldb errors) in /app/jenkins/mahara_test/htdocs/lib/ddl.php:754 Stack trace: #0 /app/jenkins/mahara_test/htdocs/lib/upgrade.php(444): install_from_xmldb_file('/app/jenkins/ma...') #1 /app/jenkins/mahara_test/htdocs/lib/phpunit.php(121): upgrade_plugin(Object(stdClass)) #2 /app/jenkins/mahara_test/htdocs/lib/tests/phpunit/bootstrap.php(34): UnitTestBootstrap->install_mahara() #3 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/Util/Fileloader.php(64): include_once('/app/jenkins/ma...') #4 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/Util/Fileloader.php(48): PHPUnit\Util\Fileloader::load('/app/jenkins/ma...') #5 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/TextUI/Command.php(991): PHPUnit\Util\Fileloader::checkAndLoad('/app/jenkins/ma...') #6 /app/jenkins/mahara_test/external/vendor/phpunit/phpunit/src/TextUI/Command.php(788): PHPUnit\TextUI\Command->handleBootstrap('/app/jenkins/ma...') #7 /app/jenkins/mahara_ in /app/jenkins/mahara_test/htdocs/lib/ddl.php on line 754 make: *** [phpunit] Error 255 OS RedHat Mahara 18.10 Php 7.2 Mysql 5.7 PhpUnit 8 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1821082/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp