[Phpmyadmin-devel] Build failed in Jenkins: phpMyAdmin-continuous #4103
michal at cihar.com
michal at cihar.com
Wed Aug 7 15:50:30 CEST 2013
See <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/4103/changes>
Changes:
[Michal Čihař] Do not check against hardcoded value
[Michal Čihař] Better error message
[Michal Čihař] Remove always set $conditional_class variable
------------------------------------------
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 6be03fce
Using strategy: Default
Last Built Revision: Revision bb1df87584da4e967929c13877bbf79800578333 (origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Commencing build of Revision 47b64818458c755dbea0868b700726846576a06b (origin/master)
Checking out Revision 47b64818458c755dbea0868b700726846576a06b (origin/master)
[workspace] $ /bin/sh -xe /tmp/hudson5421910629458085889.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] Enabling headers testing...
[exec] PHP Parse error: syntax error, unexpected ')' in <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/server_privileges.lib.php> on line 3136
[exec] PHP Stack trace:
[exec] PHP 1. {main}() /usr/bin/phpunit:0
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[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:797
[exec] PHP 7. PHPUnit_Framework_TestSuite->addTestFiles() /usr/share/php/PHPUnit/Util/Configuration.php:873
[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.2 by Sebastian Bergmann.
[exec]
[exec] Found 32 exact clones with 576 duplicated lines in 39 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-143
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/common.css.php>:2722-2733
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/navigation.css.php>:155-272
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/original/css/navigation.css.php>:160-277
[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>:119-130
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportJson.class.php>:121-132
[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>:202-208
[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>:313-319
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/auth/AuthenticationConfig.class.php>:159-173
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/auth/AuthenticationHttp.class.php>:243-257
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php>:29-42
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Link.class.php>:29-42
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php>:29-42
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Substring.class.php>:29-42
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php>:29-42
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_External.class.php>:29-42
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php>:29-42
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Sql.class.php>:29-42
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Image_JPEG_Inline.class.php>:29-42
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Image_JPEG_Link.class.php>:29-42
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php>:29-42
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Imagelink.class.php>:29-42
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Application_Octetstream_Download.class.php>:28-41
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Application_Octetstream_Hex.class.php>:29-42
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php>:29-42
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Formatted.class.php>:29-42
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php>:29-42
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Append.class.php>:30-43
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php>:29-42
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Longtoipv4.class.php>:29-42
[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/server_privileges.lib.php>:3892-3905
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/ServerStatusData.class.php>:369-382
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:279-297
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:283-301
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:396-417
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:429-450
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:448-459
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:479-490
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:602-643
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:620-661
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:929-966
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php>:935-972
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:448-455
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Dia_Relation_Schema.class.php>:277-284
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:929-972
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Dia_Relation_Schema.class.php>:807-850
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:448-455
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Pdf_Relation_Schema.class.php>:460-467
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php>:620-648
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Pdf_Relation_Schema.class.php>:661-689
[exec]
[exec] - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/tbl_row_action.php>:127-133
[exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/tbl_select.php>:63-69
[exec]
[exec] 0.39% duplicated lines out of 147089 total lines of code.
[exec]
[exec] Time: 6 seconds, Memory: 129.50Mb
[exec] Result: 1
phpcs:
[exec] Time: 01:15, Memory: 57.50Mb
[exec]
[exec] Result: 1
phploc:
[exec] phploc 1.7.4 by Sebastian Bergmann.
[exec]
[exec] Directories: 33
[exec] Files: 426
[exec]
[exec] Lines of Code (LOC): 147089
[exec] Cyclomatic Complexity / Lines of Code: 0.13
[exec] Comment Lines of Code (CLOC): 46359
[exec] Non-Comment Lines of Code (NCLOC): 100730
[exec]
[exec] Namespaces: 0
[exec] Interfaces: 5
[exec] Traits: 0
[exec] Classes: 208
[exec] Abstract: 28 (13.46%)
[exec] Concrete: 180 (86.54%)
[exec] Average Class Length (NCLOC): 224
[exec] Methods: 1819
[exec] Scope:
[exec] Non-Static: 1538 (84.55%)
[exec] Static: 281 (15.45%)
[exec] Visibility:
[exec] Public: 1415 (77.79%)
[exec] Non-Public: 404 (22.21%)
[exec] Average Method Length (NCLOC): 25
[exec] Cyclomatic Complexity / Number of Methods: 4.19
[exec]
[exec] Anonymous Functions: 2
[exec] Functions: 700
[exec]
[exec] Constants: 168
[exec] Global constants: 108
[exec] Class constants: 60
jshint:
[apply] Result: 1
BUILD SUCCESSFUL
Total time: 1 minute 33 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 2290 warnings.
[CHECKSTYLE] Computing warning deltas based on reference build #4102
[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 55 warnings.
[DRY] Computing warning deltas based on reference build #4102
[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 690 files to scan for tasks
[TASKS] Found 200 open tasks.
[TASKS] Computing warning deltas based on reference build #4102
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #4102
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] - 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