[Phpmyadmin-devel] Build failed in Jenkins: phpMyAdmin-continuous #1639
michal at cihar.com
michal at cihar.com
Mon Jul 2 08:55:49 CEST 2012
See <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/1639/changes>
Changes:
[pe.chanaka.ck] Introduce PMA_CommonFunctions class
[pe.chanaka.ck] Renamed all the function names with by PMA_ phrase
[pe.chanaka.ck] Implement class behavior of common.lib.php file
[pe.chanaka.ck] Correction of method calling in some files
[pe.chanaka.ck] common.lib.php file renamed to CommonFunctions.class.php
[pe.chanaka.ck] Remove unnecessary files
[pe.chanaka.ck] PMA_mimeDefaultFunction() function moved back to PMA_DisplayResults class
[pe.chanaka.ck] Fixed some code violations in PMA_DisplayResults class
[pe.chanaka.ck] Fix some code violations in PMA_CommonFunctions class
[pe.chanaka.ck] Test for _getResettedClassForInlineEdit function in PMA_DisplayResults class
[pe.chanaka.ck] Tests for _getClassForDateTimeRelatedFields function in PMA_DisplayResults class
[pe.chanaka.ck] Tests for _getOperationLinksForVerticleTable function in PMA_DisplayResults class
[yasitha4] Test cases for PMA_Footer.class.php
[weblate] Translated using Weblate.
[weblate] Translated using Weblate.
------------------------------------------
Started by an SCM change
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 38f18cc3
Using strategy: Default
Last Built Revision: Revision 05331f0cf198fc374e3c17704b2bcf430153a457 (origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from git://github.com/phpmyadmin/phpmyadmin.git
Commencing build of Revision 6ea909049949473b0dea3591482d2d8b191811b5 (origin/master)
Checking out Revision 6ea909049949473b0dea3591482d2d8b191811b5 (origin/master)
[workspace] $ /bin/sh -xe /tmp/hudson252896189683996346.sh
+ ./scripts/generate-mo --quiet
po/fa.po:367: 'msgstr' is not a valid PHP format string, unlike 'msgid'. Reason: The character that terminates the directive number 2 is not a valid conversion specifier.
msgfmt: found 1 fatal error
[workspace] $ ant clean phpunit phpcpd phpcs phploc
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:
[exec] PHP Warning: require_once(libraries/common.lib.php): failed to open stream: No such file or directory in <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/PMA_Footer_test.php> on line 17
[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:130
[exec] PHP 4. PHPUnit_TextUI_Command->handleArguments() /usr/share/php/PHPUnit/TextUI/Command.php:139
[exec] PHP 5. PHPUnit_Util_Configuration->getTestSuiteConfiguration() /usr/share/php/PHPUnit/TextUI/Command.php:671
[exec] PHP 6. PHPUnit_Util_Configuration->getTestSuite() /usr/share/php/PHPUnit/Util/Configuration.php:776
[exec] PHP 7. PHPUnit_Framework_TestSuite->addTestFiles() /usr/share/php/PHPUnit/Util/Configuration.php:848
[exec] PHP 8. PHPUnit_Framework_TestSuite->addTestFile() /usr/share/php/PHPUnit/Framework/TestSuite.php:419
[exec] PHP 9. PHPUnit_Util_Fileloader::checkAndLoad() /usr/share/php/PHPUnit/Framework/TestSuite.php:358
[exec] PHP 10. PHPUnit_Util_Fileloader::load() /usr/share/php/PHPUnit/Util/Fileloader.php:79
[exec] PHP 11. include_once() /usr/share/php/PHPUnit/Util/Fileloader.php:95
[exec] PHP Fatal error: require_once(): Failed opening required 'libraries/common.lib.php' (include_path='.:/usr/share/php:/usr/share/pear:') in <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/PMA_Footer_test.php> on line 17
[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:130
[exec] PHP 4. PHPUnit_TextUI_Command->handleArguments() /usr/share/php/PHPUnit/TextUI/Command.php:139
[exec] PHP 5. PHPUnit_Util_Configuration->getTestSuiteConfiguration() /usr/share/php/PHPUnit/TextUI/Command.php:671
[exec] PHP 6. PHPUnit_Util_Configuration->getTestSuite() /usr/share/php/PHPUnit/Util/Configuration.php:776
[exec] PHP 7. PHPUnit_Framework_TestSuite->addTestFiles() /usr/share/php/PHPUnit/Util/Configuration.php:848
[exec] PHP 8. PHPUnit_Framework_TestSuite->addTestFile() /usr/share/php/PHPUnit/Framework/TestSuite.php:419
[exec] PHP 9. PHPUnit_Util_Fileloader::checkAndLoad() /usr/share/php/PHPUnit/Framework/TestSuite.php:358
[exec] PHP 10. PHPUnit_Util_Fileloader::load() /usr/share/php/PHPUnit/Util/Fileloader.php:79
[exec] PHP 11. include_once() /usr/share/php/PHPUnit/Util/Fileloader.php:95
[exec] Result: 255
phpcpd:
[exec] phpcpd 1.3.5 by Sebastian Bergmann.
[exec]
[exec] Found 11 exact clones with 364 duplicated lines in 9 files:
[exec]
[exec] - /libraries/plugins/export/ExportLatex.class.php:130-143
[exec] /libraries/plugins/export/ExportOdt.class.php:85-98
[exec]
[exec] - /libraries/schema/Eps_Relation_Schema.class.php:629-655
[exec] /libraries/schema/Pdf_Relation_Schema.class.php:704-730
[exec]
[exec] - /libraries/schema/Eps_Relation_Schema.class.php:282-300
[exec] /libraries/schema/Svg_Relation_Schema.class.php:277-295
[exec]
[exec] - /libraries/schema/Eps_Relation_Schema.class.php:425-446
[exec] /libraries/schema/Svg_Relation_Schema.class.php:392-413
[exec]
[exec] - /libraries/schema/Eps_Relation_Schema.class.php:473-482
[exec] /libraries/schema/Svg_Relation_Schema.class.php:442-451
[exec]
[exec] - /libraries/schema/Eps_Relation_Schema.class.php:608-658
[exec] /libraries/schema/Svg_Relation_Schema.class.php:589-639
[exec]
[exec] - /libraries/schema/Eps_Relation_Schema.class.php:425-446
[exec] /libraries/schema/Visio_Relation_Schema.class.php:223-244
[exec]
[exec] - /libraries/schema/Eps_Relation_Schema.class.php:608-664
[exec] /libraries/schema/Visio_Relation_Schema.class.php:376-432
[exec]
[exec] - /libraries/schema/Dia_Relation_Schema.class.php:753-774
[exec] /libraries/schema/Visio_Relation_Schema.class.php:578-599
[exec]
[exec] - /themes/original/css/common.css.php:1271-1292
[exec] /themes/original/css/common.css.php:1275-1296
[exec]
[exec] - /themes/original/css/common.css.php:1215-1323
[exec] /themes/pmahomme/css/common.css.php:1574-1682
[exec]
[exec] 0.28% duplicated lines out of 132122 total lines of code.
[exec]
[exec] Time: 27 seconds, Memory: 108.00Mb
[exec] Result: 1
phpcs:
[exec] Time: 02:24, Memory: 178.50Mb
[exec]
[exec] Result: 1
phploc:
[exec] phploc 1.6.4 by Sebastian Bergmann.
[exec]
[exec] Directories: 26
[exec] Files: 350
[exec]
[exec] Lines of Code (LOC): 132122
[exec] Cyclomatic Complexity / Lines of Code: 0.14
[exec] Comment Lines of Code (CLOC): 40093
[exec] Non-Comment Lines of Code (NCLOC): 92029
[exec]
[exec] Namespaces: 0
[exec] Interfaces: 2
[exec] Classes: 155
[exec] Abstract: 20 (12.90%)
[exec] Concrete: 135 (87.10%)
[exec] Average Class Length (NCLOC): 240
[exec] Methods: 1426
[exec] Scope:
[exec] Non-Static: 1252 (87.80%)
[exec] Static: 174 (12.20%)
[exec] Visibility:
[exec] Public: 1058 (74.19%)
[exec] Non-Public: 368 (25.81%)
[exec] Average Method Length (NCLOC): 26
[exec] Cyclomatic Complexity / Number of Methods: 4.20
[exec]
[exec] Anonymous Functions: 0
[exec] Functions: 541
[exec]
[exec] Constants: 152
[exec] Global constants: 102
[exec] Class constants: 50
BUILD SUCCESSFUL
Total time: 3 minutes 1 second
[CHECKSTYLE] Collecting checkstyle analysis files...
[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 7811 warnings.
[CHECKSTYLE] Computing warning deltas based on reference build #1634
[DRY] Collecting duplicate code analysis files...
[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 21 warnings.
[DRY] Computing warning deltas based on reference build #1634
[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 462 files to scan for tasks
[TASKS] Found 201 open tasks.
[TASKS] Computing warning deltas based on reference build #1634
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #1634
Recording plot data
Publishing Clover coverage report...
Clover xml file does not exist in: <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs> called: clover.xml and will not be copied to: /var/lib/jenkins/jobs/phpMyAdmin-continuous/builds/2012-07-02_08-52-11/clover.xml
Could not find 'build/logs/clover.xml'. Did you generate the XML report for Clover?
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/coverage> to /var/lib/jenkins/jobs/phpMyAdmin-continuous/htmlreports/Code_Coverage
ERROR: Directory '<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/coverage'> exists but failed copying to '/var/lib/jenkins/jobs/phpMyAdmin-continuous/htmlreports/Code_Coverage'.
ERROR: This is especially strange since your build otherwise succeeded.
Build step 'Publish HTML reports' changed build result to FAILURE
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.4 (default)
[xUnit] [INFO] - [PHPUnit-3.4 (default)] - No 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.4 (default)'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'PHPUnit-3.4 (default)'?
[xUnit] [ERROR] - No test reports found for the metric 'PHPUnit' with the resolved pattern 'build/logs/junit.xml'. Configuration error?.
[xUnit] [INFO] - Setting the build status to FAILURE
[xUnit] [INFO] - Stopping recording.
More information about the Developers
mailing list