[Phpmyadmin-devel] Build failed in Jenkins: phpMyAdmin-continuous #3555
michal at cihar.com
michal at cihar.com
Mon Jun 10 17:33:54 CEST 2013
See <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/3555/changes>
Changes:
[Michal Čihař] Missing include
------------------------------------------
Started by GitHub push by nijel
Building in workspace <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
Checkout:workspace / <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/> - hudson.remoting.LocalChannel at 70dc3491
Using strategy: Default
Last Built Revision: Revision 37781045a46c337daa498eb31c828312698d7fd7 (origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Commencing build of Revision 73862412ee0bd059ca14bb7c9bce4cd93d1c583a (origin/master)
Checking out Revision 73862412ee0bd059ca14bb7c9bce4cd93d1c583a (origin/master)
[workspace] $ /bin/sh -xe /tmp/hudson2662750061353422514.sh
+ ./scripts/generate-mo --quiet
[workspace] $ ant clean phpunit-nocoverage phpcpd phpcs phploc jshint
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar
Buildfile: <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build.xml>
clean:
[delete] Deleting directory <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/api>
[delete] Deleting directory <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/code-browser>
[delete] Deleting directory <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/coverage>
[delete] Deleting directory <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs>
[delete] Deleting directory <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/pdepend>
[mkdir] Created dir: <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/api>
[mkdir] Created dir: <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/code-browser>
[mkdir] Created dir: <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/coverage>
[mkdir] Created dir: <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs>
[mkdir] Created dir: <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/pdepend>
phpunit-nocoverage:
[exec] PHPUnit 3.7.19 by Sebastian Bergmann.
[exec]
[exec] Configuration read from <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/phpunit.xml.nocoverage>
[exec]
[exec] PHP Fatal error: Call to undefined function json_encode() in <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/DisplayResults.class.php> on line 5746
[exec] PHP Stack trace:
[exec] PHP 1. {main}() /usr/bin/phpunit:0
[exec] PHP 2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:46
[exec] PHP 3. PHPUnit_TextUI_Command->run() /usr/share/php/PHPUnit/TextUI/Command.php:129
[exec] PHP 4. PHPUnit_TextUI_TestRunner->doRun() /usr/share/php/PHPUnit/TextUI/Command.php:176
[exec] ............................................................[33;1mI[0m 61 / 1239 ( 4%)
[exec] PHP 5. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/TextUI/TestRunner.php:349
[exec] PHP 6. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
[exec] PHP 7. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
[exec] PHP 8. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
[exec] PHP 9. PHPUnit_Framework_TestSuite->runTest() /usr/share/php/PHPUnit/Framework/TestSuite.php:745
[exec] PHP 10. PHPUnit_Framework_TestCase->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:775
[exec] PHP 11. PHPUnit_Framework_TestResult->run() /usr/share/php/PHPUnit/Framework/TestCase.php:776
[exec] PHP 12. PHP_Invoker->invoke() /usr/share/php/PHPUnit/Framework/TestResult.php:646
[exec] PHP 13. call_user_func_array() /usr/share/php/PHP/Invoker.php:93
[exec] PHP 14. PHPUnit_Framework_TestCase->runBare() /usr/share/php/PHP/Invoker.php:93
[exec] PHP 15. PHPUnit_Framework_TestCase->runTest() /usr/share/php/PHPUnit/Framework/TestCase.php:831
[exec] PHP 16. ReflectionMethod->invokeArgs() /usr/share/php/PHPUnit/Framework/TestCase.php:976
[exec] PHP 17. PMA_DisplayResults_Test->testGetCheckboxForMultiRowSubmissions() /usr/share/php/PHPUnit/Framework/TestCase.php:976
[exec] PHP 18. PMA_DisplayResults_Test->_callPrivateFunction() <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/PMA_DisplayResults_test.php>:792
[exec] PHP 19. ReflectionMethod->invokeArgs() <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/PMA_DisplayResults_test.php>:75
[exec] PHP 20. PMA_DisplayResults->_getCheckboxForMultiRowSubmissions() <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/PMA_DisplayResults_test.php>:75
[exec] .....................................................
[exec] Result: 255
phpcpd:
[exec] phpcpd 1.4.1 by Sebastian Bergmann.
[exec]
[exec] Found 23 exact clones with 559 duplicated lines in 24 files:
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/enum_editor.css.php>:65-73
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/pmd.css.php>:520-528
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/jqplot.css.php>:132-138
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/common.css.php>:2778-2784
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/navigation.css.php>:140-257
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/original/css/navigation.css.php>:145-262
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php>:208-215
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportSql.class.php>:1871-1878
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php>:204-211
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportPhparray.class.php>:220-227
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php>:207-213
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportJson.class.php>:215-221
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php>:208-214
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportCsv.class.php>:338-344
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/auth/AuthenticationConfig.class.php>:157-171
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/auth/AuthenticationHttp.class.php>:233-247
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/import/ImportMediawiki.class.php>:557-572
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/import/ImportCsv.class.php>:572-587
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/import/upload/UploadProgress.class.php>:86-93
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/import/upload/UploadSession.class.php>:87-94
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/ExportPlugin.class.php>:192-204
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/ImportPlugin.class.php>:46-58
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:278-296
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:282-300
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:394-415
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:427-448
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:446-457
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:477-488
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:593-639
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:612-658
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:912-950
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:920-958
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:446-453
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Dia_Relation_Schema.class.php>:275-282
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:912-956
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Dia_Relation_Schema.class.php>:792-836
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:446-453
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Pdf_Relation_Schema.class.php>:453-460
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:616-644
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Pdf_Relation_Schema.class.php>:654-682
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:446-457
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Visio_Relation_Schema.class.php>:286-297
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:593-650
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Visio_Relation_Schema.class.php>:393-450
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Dia_Relation_Schema.class.php>:761-827
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Visio_Relation_Schema.class.php>:606-672
[exec]
[exec] 0.39% duplicated lines out of 143754 total lines of code.
[exec]
[exec] Time: 21 seconds, Memory: 125.25Mb
[exec] Result: 1
phpcs:
[exec] Time: 01:31, Memory: 58.50Mb
[exec]
[exec] Result: 1
phploc:
[exec] phploc 1.7.4 by Sebastian Bergmann.
[exec]
[exec] Directories: 33
[exec] Files: 406
[exec]
[exec] Lines of Code (LOC): 143754
[exec] Cyclomatic Complexity / Lines of Code: 0.13
[exec] Comment Lines of Code (CLOC): 45035
[exec] Non-Comment Lines of Code (NCLOC): 98719
[exec]
[exec] Namespaces: 0
[exec] Interfaces: 3
[exec] Traits: 0
[exec] Classes: 203
[exec] Abstract: 26 (12.81%)
[exec] Concrete: 177 (87.19%)
[exec] Average Class Length (NCLOC): 224
[exec] Methods: 1748
[exec] Scope:
[exec] Non-Static: 1487 (85.07%)
[exec] Static: 261 (14.93%)
[exec] Visibility:
[exec] Public: 1345 (76.95%)
[exec] Non-Public: 403 (23.05%)
[exec] Average Method Length (NCLOC): 26
[exec] Cyclomatic Complexity / Number of Methods: 4.23
[exec]
[exec] Anonymous Functions: 0
[exec] Functions: 607
[exec]
[exec] Constants: 165
[exec] Global constants: 105
[exec] Class constants: 60
jshint:
[exec] Result: 1
BUILD SUCCESSFUL
Total time: 2 minutes 14 seconds
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Finding all files that match the pattern build/logs/checkstyle.xml
[CHECKSTYLE] Parsing 1 files in <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
[CHECKSTYLE] Successfully parsed file <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs/checkstyle.xml> of module with 2954 warnings.
[CHECKSTYLE] Computing warning deltas based on reference build #3554
[DRY] Collecting duplicate code analysis files...
[DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml
[DRY] Parsing 1 files in <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/>
[DRY] Successfully parsed file <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs/pmd-cpd.xml> of module with 44 warnings.
[DRY] Computing warning deltas based on reference build #3554
[TASKS] Scanning folder '<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/'> for files matching the pattern '**/*.php' - excludes: build/**,libraries/PHPExcel/**,libraries/tcpdf/**,libraries/php-gettext/**
[TASKS] Found 573 files to scan for tasks
[TASKS] Found 200 open tasks.
[TASKS] Computing warning deltas based on reference build #3554
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #3554
Recording plot data
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.x (default)
[xUnit] [INFO] - [PHPUnit-3.x (default)] - 1 test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/'> for the testing framework 'PHPUnit-3.x (default)'.
[xUnit] [ERROR] - The result file '<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs/junit.xml'> for the metric 'PHPUnit' is empty. The result file has been skipped.
[xUnit] [INFO] - Fail BUILD because 'set build failed if errors' option is activated.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] - Stop build.
Build step 'Publish xUnit test result report' changed build result to FAILURE
More information about the Developers
mailing list