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

michal at cihar.com michal at cihar.com
Tue Jun 11 14:35:34 CEST 2013


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

Changes:

[Michal Čihař] Allow test to run standalone

[Michal Čihař] Allow test to run standalone

[Michal Čihař] Set token in single place for all tests

[Michal Čihař] Adjust to new token value

[Michal Čihař] Allow to run standalone

[Michal Čihař] Globally set language

[Michal Čihař] Use correctly set language

[Michal Čihař] Do not set language in every test

[Michal Čihař] Possibly undefined variable

[Michal Čihař] Make it work with separated globals

[Michal Čihař] Do not rely too much on previous state

[Michal Čihař] Nedd to have defined ajax flag for most of the tets as well

[Michal Čihař] Do not rely on previous globals

[Michal Čihař] Make parser test work with error reporting as well

[Michal Čihař] Missing include

[Michal Čihař] Define another query used in testsuite

[Michal Čihař] Enable backupGlobals directive in phpunit

------------------------------------------
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 328c3770
Using strategy: Default
Last Built Revision: Revision dd0f5aafb781767173d12d0a443fabefe40bf67a (origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Commencing build of Revision ae2c8d5dfcc166b150a5ccf630416ab906ccd115 (origin/master)
Checking out Revision ae2c8d5dfcc166b150a5ccf630416ab906ccd115 (origin/master)
[workspace] $ /bin/sh -xe /tmp/hudson3104313911219952407.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] ............
     [exec] Result: 139

phpcpd:
     [exec] phpcpd 1.4.1 by Sebastian Bergmann.
     [exec] 
     [exec] Found 20 exact clones with 425 duplicated lines in 23 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>:208-214
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportJson.class.php>:205-211
     [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>:339-345
     [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] 0.30% duplicated lines out of 143081 total lines of code.
     [exec] 
     [exec] Time: 9 seconds, Memory: 124.50Mb
     [exec] Result: 1

phpcs:
     [exec] Time: 01:33, Memory: 56.50Mb
     [exec] 
     [exec] Result: 1

phploc:
     [exec] phploc 1.7.4 by Sebastian Bergmann.
     [exec] 
     [exec] Directories:                                         33
     [exec] Files:                                              405
     [exec] 
     [exec] Lines of Code (LOC):                             143081
     [exec]   Cyclomatic Complexity / Lines of Code:           0.13
     [exec] Comment Lines of Code (CLOC):                     44738
     [exec] Non-Comment Lines of Code (NCLOC):                98343
     [exec] 
     [exec] Namespaces:                                           0
     [exec] Interfaces:                                           3
     [exec] Traits:                                               0
     [exec] Classes:                                            199
     [exec]   Abstract:                                          26 (13.07%)
     [exec]   Concrete:                                         173 (86.93%)
     [exec]   Average Class Length (NCLOC):                     226
     [exec] Methods:                                           1728
     [exec]   Scope:
     [exec]     Non-Static:                                    1467 (84.90%)
     [exec]     Static:                                         261 (15.10%)
     [exec]   Visibility:
     [exec]     Public:                                        1334 (77.20%)
     [exec]     Non-Public:                                     394 (22.80%)
     [exec]   Average Method Length (NCLOC):                     26
     [exec]   Cyclomatic Complexity / Number of Methods:       4.25
     [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 9 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 2944 warnings.
[CHECKSTYLE] Computing warning deltas based on reference build #3563
[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 38 warnings.
[DRY] Computing warning deltas based on reference build #3563
[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 572 files to scan for tasks
[TASKS] Found 199 open tasks.
[TASKS] Computing warning deltas based on reference build #3563
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #3563
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