See http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/1535/changes
Changes:
[mcihar] Add method for generating update SQLs
[mcihar] Remove unused parameter
[mcihar] Single place to handle table renaming for configuration storage
[mcihar] This code is broken anyway (see comment above)
[mcihar] Missing doc
[mcihar] Correct wrapping
[mcihar] Add documentation
[mcihar] Better name for function
[mcihar] Add missing comment
[mcihar] Wrap some long lines
------------------------------------------ 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@28892a87 Using strategy: Default Last Built Revision: Revision 2d73225a19b65d2a55084ebe993f6d0ef594d0af (origin/master) Fetching changes from 1 remote Git repository Fetching upstream changes from git://github.com/phpmyadmin/phpmyadmin.git Commencing build of Revision e544705e3c9a959ee93fc596ebcd002c1dba0cdf (origin/master) Checking out Revision e544705e3c9a959ee93fc596ebcd002c1dba0cdf (origin/master) [workspace] $ /bin/sh -xe /tmp/hudson660717312419598174.sh + ./scripts/generate-mo --quiet [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 Fatal error: Cannot redeclare PMA_REL_renameTable() (previously declared in http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/relation.lib.php:1264) in http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/relation.lib.php on line 1358 [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 12 exact clones with 354 duplicated lines in 7 files: [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:472-479 [exec] /libraries/schema/Pdf_Relation_Schema.class.php:435-442 [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:628-653 [exec] /libraries/schema/Pdf_Relation_Schema.class.php:631-656 [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:424-440 [exec] /libraries/schema/Svg_Relation_Schema.class.php:391-407 [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:472-480 [exec] /libraries/schema/Svg_Relation_Schema.class.php:441-449 [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:607-657 [exec] /libraries/schema/Svg_Relation_Schema.class.php:588-638 [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:424-440 [exec] /libraries/schema/Visio_Relation_Schema.class.php:222-238 [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:472-480 [exec] /libraries/schema/Visio_Relation_Schema.class.php:272-280 [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:607-663 [exec] /libraries/schema/Visio_Relation_Schema.class.php:375-431 [exec] [exec] - /libraries/schema/Dia_Relation_Schema.class.php:752-773 [exec] /libraries/schema/Visio_Relation_Schema.class.php:577-598 [exec] [exec] - /themes/original/css/common.css.php:1276-1297 [exec] /themes/original/css/common.css.php:1280-1301 [exec] [exec] - /themes/original/css/common.css.php:1220-1328 [exec] /themes/pmahomme/css/common.css.php:1582-1690 [exec] [exec] 0.28% duplicated lines out of 125128 total lines of code. [exec] [exec] Time: 8 seconds, Memory: 102.25Mb [exec] Result: 1
phpcs: [exec] Time: 02:16, Memory: 177.50Mb [exec] [exec] Result: 1
phploc: [exec] phploc 1.6.4 by Sebastian Bergmann. [exec] [exec] Directories: 24 [exec] Files: 326 [exec] [exec] Lines of Code (LOC): 125128 [exec] Cyclomatic Complexity / Lines of Code: 0.15 [exec] Comment Lines of Code (CLOC): 37088 [exec] Non-Comment Lines of Code (NCLOC): 88040 [exec] [exec] Namespaces: 0 [exec] Interfaces: 0 [exec] Classes: 82 [exec] Abstract: 2 (2.44%) [exec] Concrete: 80 (97.56%) [exec] Ave [exec] rage Class Length (NCLOC): 218 [exec] Methods: 781 [exec] Scope: [exec] Non-Static: 686 (87.84%) [exec] Static: 95 (12.16%) [exec] Visibility: [exec] Public: 637 (81.56%) [exec] Non-Public: 144 (18.44%) [exec] Average Method Length (NCLOC): 22 [exec] Cyclomatic Complexity / Number of Methods: 3.73 [exec] [exec] Anonymous Functions: 0 [exec] Functions: 854 [exec] [exec] Constants: 121 [exec] Global constants: 105 [exec] Class constants: 16
BUILD SUCCESSFUL Total time: 2 minutes 31 seconds [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 7593 warnings. [CHECKSTYLE] Computing warning deltas based on reference build #1534 [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 22 warnings. [DRY] Computing warning deltas based on reference build #1534 [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 435 files to scan for tasks [TASKS] Found 186 open tasks. [TASKS] Computing warning deltas based on reference build #1534 [ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #1534 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-06-04_13-20-36/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.
See http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/1536/changes
Changes:
[mcihar] Wrap some long lines
------------------------------------------ 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@28892a87 Using strategy: Default Last Built Revision: Revision e544705e3c9a959ee93fc596ebcd002c1dba0cdf (origin/master) Fetching changes from 1 remote Git repository Fetching upstream changes from git://github.com/phpmyadmin/phpmyadmin.git Commencing build of Revision a9d7091b841caa82c21c943d86f7b534ab237b70 (origin/master) Checking out Revision a9d7091b841caa82c21c943d86f7b534ab237b70 (origin/master) [workspace] $ /bin/sh -xe /tmp/hudson6191569816973996321.sh + ./scripts/generate-mo --quiet [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 Fatal error: Cannot redeclare PMA_REL_renameTable() (previously declared in http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/relation.lib.php:1270) in http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/relation.lib.php on line 1364 [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 12 exact clones with 354 duplicated lines in 7 files: [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:472-479 [exec] /libraries/schema/Pdf_Relation_Schema.class.php:435-442 [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:628-653 [exec] /libraries/schema/Pdf_Relation_Schema.class.php:631-656 [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:424-440 [exec] /libraries/schema/Svg_Relation_Schema.class.php:391-407 [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:472-480 [exec] /libraries/schema/Svg_Relation_Schema.class.php:441-449 [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:607-657 [exec] /libraries/schema/Svg_Relation_Schema.class.php:588-638 [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:424-440 [exec] /libraries/schema/Visio_Relation_Schema.class.php:222-238 [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:472-480 [exec] /libraries/schema/Visio_Relation_Schema.class.php:272-280 [exec] [exec] - /libraries/schema/Eps_Relation_Schema.class.php:607-663 [exec] /libraries/schema/Visio_Relation_Schema.class.php:375-431 [exec] [exec] - /libraries/schema/Dia_Relation_Schema.class.php:752-773 [exec] /libraries/schema/Visio_Relation_Schema.class.php:577-598 [exec] [exec] - /themes/original/css/common.css.php:1276-1297 [exec] /themes/original/css/common.css.php:1280-1301 [exec] [exec] - /themes/original/css/common.css.php:1220-1328 [exec] /themes/pmahomme/css/common.css.php:1582-1690 [exec] [exec] 0.28% duplicated lines out of 125140 total lines of code. [exec] [exec] Time: 7 seconds, Memory: 102.25Mb [exec] Result: 1
phpcs: [exec] Time: 02:09, Memory: 177.50Mb [exec] [exec] Result: 1
phploc: [exec] phploc 1.6.4 by Sebastian Bergmann. [exec] [exec] Directories: 24 [exec] Files: 326 [exec] [exec] Lines of Code (LOC): 125140 [exec] Cyclomatic Complexity / Lines of Code: 0.15 [exec] Comment Lines of Code (CLOC): 37088 [exec] Non-Comment Lines of Code (NCLOC): 88052 [exec] [exec] Namespaces: 0 [exec] Interfaces: 0 [exec] Classes: 82 [exec] Abstract: 2 (2.44%) [exec] Concrete: 80 (97.56%) [exec] Average Class Length (NCLOC): 218 [exec] Methods: 781 [exec] Scope: [exec] Non-Static: 686 (87.84%) [exec] Static: 95 (12.16%) [exec] Visibility: [exec] Public: 637 (81.56%) [exec] Non-Public: 144 (18.44%) [exec] Average Method Length (NCLOC): 22 [exec] Cyclomatic Complexity / Number of Methods: 3.73 [exec] [exec] Anonymous Functions: 0 [exec] Functions: 854 [exec] [exec] Constants: 121 [exec] Global constants: 105 [exec] Class constants: 16
BUILD SUCCESSFUL Total time: 2 minutes 23 seconds [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 7579 warnings. [CHECKSTYLE] Computing warning deltas based on reference build #1534 [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 22 warnings. [DRY] Computing warning deltas based on reference build #1534 [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 435 files to scan for tasks [TASKS] Found 186 open tasks. [TASKS] Computing warning deltas based on reference build #1534 [ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #1534 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-06-04_13-30-36/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.