[Phpmyadmin-devel] Build failed in Jenkins: phpMyAdmin-continuous #3334

michal at cihar.com michal at cihar.com
Fri May 10 11:14:49 CEST 2013


See <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/3334/changes>

Changes:

[michal] Better function names

[michal] Wrap some long lines

------------------------------------------
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 bdf6623
Using strategy: Default
Last Built Revision: Revision 3e6466a60f09cc9a22858c37ca661d41e84911d1 (origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Commencing build of Revision 0b55726fa1945831fe2efbd673dd53464a5ca99e (origin/master)
Checking out Revision 0b55726fa1945831fe2efbd673dd53464a5ca99e (origin/master)
[workspace] $ /bin/sh -xe /tmp/hudson1165547443056493986.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] PHP Parse error:  syntax error, unexpected '.' in <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/relation.lib.php> on line 773
     [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_Command->handleArguments() /usr/share/php/PHPUnit/TextUI/Command.php:138
     [exec] PHP   5. PHPUnit_Util_Configuration->getTestSuiteConfiguration() /usr/share/php/PHPUnit/TextUI/Command.php:657
     [exec] PHP   6. PHPUnit_Util_Configuration->getTestSuite() /usr/share/php/PHPUnit/Util/Configuration.php:784
     [exec] PHP   7. PHPUnit_Framework_TestSuite->addTestFiles() /usr/share/php/PHPUnit/Util/Configuration.php:860
     [exec] PHP   8. PHPUnit_Framework_TestSuite->addTestFile() /usr/share/php/PHPUnit/Framework/TestSuite.php:416
     [exec] PHP   9. PHPUnit_Util_Fileloader::checkAndLoad() /usr/share/php/PHPUnit/Framework/TestSuite.php:355
     [exec] PHP  10. PHPUnit_Util_Fileloader::load() /usr/share/php/PHPUnit/Util/Fileloader.php:76
     [exec] PHP  11. include_once() /usr/share/php/PHPUnit/Util/Fileloader.php:92
     [exec] Result: 255

phpcpd:
     [exec] phpcpd 1.4.1 by Sebastian Bergmann.
     [exec] 
     [exec] Found 22 exact clones with 561 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>:2734-2740
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/navigation.css.php>:135-252
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/original/css/navigation.css.php>:135-252
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php>:206-213
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportSql.class.php>:1868-1875
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php>:202-209
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportPhparray.class.php>:217-224
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php>:205-211
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportJson.class.php>:213-219
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php>:206-212
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportCsv.class.php>:336-342
     [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>:563-578
     [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>:392-412
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:425-445
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:442-451
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:473-482
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:589-635
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:608-654
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:908-946
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:916-954
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:908-952
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Dia_Relation_Schema.class.php>:788-832
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:612-640
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Pdf_Relation_Schema.class.php>:650-678
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:392-413
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Visio_Relation_Schema.class.php>:232-253
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:442-451
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Visio_Relation_Schema.class.php>:282-291
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:589-646
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Visio_Relation_Schema.class.php>:389-446
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Dia_Relation_Schema.class.php>:757-823
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Visio_Relation_Schema.class.php>:602-668
     [exec] 
     [exec] 0.39% duplicated lines out of 142485 total lines of code.
     [exec] 
     [exec] Time: 8 seconds, Memory: 123.25Mb
     [exec] Result: 1

phpcs:
     [exec] Time: 01:29, Memory: 58.50Mb
     [exec] 
     [exec] Result: 1

phploc:
     [exec] phploc 1.7.4 by Sebastian Bergmann.
     [exec] 
     [exec] Directories:                                         33
     [exec] Files:                                              399
     [exec] 
     [exec] Lines of Code (LOC):                             142485
     [exec]   Cyclomatic Complexity / Lines of Code:           0.13
     [exec] Comment Lines of Code (CLOC):                     44346
     [exec] Non-Comment Lines of Code (NCLOC):                98139
     [exec] 
     [exec] Namespaces:                                           0
     [exec] Interfaces:                                           2
     [exec] Traits:                                               0
     [exec] Classes:                                            198
     [exec]   Abstract:                                          26 (13.13%)
     [exec]   Concrete:                                         172 (86.87%)
     [exec]   Average Class Length (NCLOC):                     213
     [exec] Methods:                                           1572
     [exec]   Scope:
     [exec]     Non-Static:                                    1316 (83.72%)
     [exec]     Static:                                         256 (16.28%)
     [exec]   Visibility:
     [exec]     Public:                                        1175 (74.75%)
     [exec]     Non-Public:                                     397 (25.25%)
     [exec]   Average Method Length (NCLOC):                     26
     [exec]   Cyclomatic Complexity / Number of Methods:       4.33
     [exec] 
     [exec] Anonymous Functions:                                  0
     [exec] Functions:                                          707
     [exec] 
     [exec] Constants:                                          163
     [exec]   Global constants:                                 107
     [exec]   Class constants:                                   56

jshint:
     [exec] Result: 1

BUILD SUCCESSFUL
Total time: 1 minute 49 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 2988 warnings.
[CHECKSTYLE] Computing warning deltas based on reference build #3333
[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 43 warnings.
[DRY] Computing warning deltas based on reference build #3333
[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 565 files to scan for tasks
[TASKS] Found 206 open tasks.
[TASKS] Computing warning deltas based on reference build #3333
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #3333
Recording plot data
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.x (default)
[xUnit] [INFO] - [PHPUnit-3.x (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.x (default)'.  Did you enter a pattern relative to the correct directory?  Did you generate the result report(s) for 'PHPUnit-3.x (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.
Build step 'Publish xUnit test result report' changed build result to FAILURE




More information about the Developers mailing list