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

michal at cihar.com michal at cihar.com
Sun Jul 28 12:23:31 CEST 2013


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

Changes:

[ruleant] fix unescaped parameter, see PMASA-2013-8 for details

[ruleant] add total as parameter to message

[me] [security] Fix stored XSS in Server status monitor, see PMASA-2013-9

[me] [security] Fix stored XSS in navigation panel logo link, see PMASA-2013-9

[me] [security] Fix self-XSS in setup, trusted proxies validation, see PMASA-2013-9

[marc] [security] Avoid full path disclosure from some libraries script, see

[marc] Fix merge conflicts

[marc] [security] Avoid full path disclosure from libraries/common.inc.php, see PMASA-2013-12

[marc] Fix merge conflicts

[marc] Move protection statement at beginning of script

[marc] Fix merge conflicts

[marc] [security] Avoid full path disclosure from some libraries scripts, see PMASA-2013-12

[marc] Delete .htaccess which does not work on all web servers

[marc] Remove other .htaccess for directories which are not at risk

[marc] ChangeLog entry for full path disclosure fixes

[marc] [security] Fix control user SQL injection in pmd_pdf.php, see PMASA-2013-15

[marc] [security] Fix control user SQL injection in schema_export.php, see PMASA-2015

[marc] [security] Fix self-XSS in schema export, see PMASA-2013-14

[ruleant] [security] Fix unencoded json object, see PMASA-2013-11

[ruleant] [security] Fix stored XSS in link transformation plugin, see PMASA-2013-13

------------------------------------------
[...truncated 40 lines...]
     [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_TestRunner->doRun() /usr/share/php/PHPUnit/TextUI/Command.php:176
     [exec] PHP   5. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/TextUI/TestRunner.php:349
     [exec] PHP   6. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
     [exec] PHP   7. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
     [exec] PHP   8. PHPUnit_Framework_TestSuite->runTest() /usr/share/php/PHPUnit/Framework/TestSuite.php:745
     [exec] PHP   9. PHPUnit_Framework_TestCase->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:775
     [exec] PHP  10. PHPUnit_Framework_TestResult->run() /usr/share/php/PHPUnit/Framework/TestCase.php:776
     [exec] PHP  11. PHP_Invoker->invoke() /usr/share/php/PHPUnit/Framework/TestResult.php:646
     [exec] PHP  12. call_user_func_array() /usr/share/php/PHP/Invoker.php:93
     [exec] PHP  13. PHPUnit_Framework_TestCase->runBare() /usr/share/php/PHP/Invoker.php:93
     [exec] PHP  14. PHPUnit_Framework_TestCase->runTest() /usr/share/php/PHPUnit/Framework/TestCase.php:831
     [exec] PHP  15. ReflectionMethod->invokeArgs() /usr/share/php/PHPUnit/Framework/TestCase.php:976
     [exec] PHP  16. PMA_HeaderLocation_Test->testSendHeaderLocationIisLongUri() /usr/share/php/PHPUnit/Framework/TestCase.php:976
     [exec] PHP  17. PMA_sendHeaderLocation() <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/libraries/core/PMA_headerLocation_test.php>:233
     [exec] PHP  18. PMA_Response->disable() <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/core.lib.php>:537
     [exec] ............................................................I   61 / 1720 (  3%)
     [exec] .............................................................  122 / 1720 (  7%)
     [exec] .............................................................  183 / 1720 ( 10%)
     [exec] .............................................................  244 / 1720 ( 14%)
     [exec] .............................................................  305 / 1720 ( 17%)
     [exec] .............................................................  366 / 1720 ( 21%)
     [exec] .............................................................  427 / 1720 ( 24%)
     [exec] .............................................................  488 / 1720 ( 28%)
     [exec] .............................................................  549 / 1720 ( 31%)
     [exec] .............................................................  610 / 1720 ( 35%)
     [exec] ..E
     [exec]     <div class="container">
     [exec]     <a href="./url.php?url=http%3A%2F%2Fwww.phpmyadmin.net%2F&server=0&lang=en&token=token" target="_blank" class="logo"><img src="testlogo_right.png" id="imLogo" name="imLogo" alt="phpMyAdmin" border="0" /></a>
     [exec]        <h1>Welcome to <bdo dir="ltr" lang="en">phpMyAdmin</bdo></h1><div class="error"><img src="themes/dot.gif" title="" alt="" class="icon ic_s_error" /> 1</div><noscript>
     [exec] <div class="error"><img src="themes/dot.gif" title="" alt="" class="icon ic_s_error" /> Javascript must be enabled past this point</div></noscript>
     [exec] <div class='hide js-show'></div>
     [exec]     <br />
     [exec]     <!-- Login form -->
     [exec]     <form method="post" action="index.php" name="login_form" class="disableAjax login hide js-show">
     [exec]         <fieldset>
     [exec]         <legend>Log in<a href="./url.php?url=http%3A%2F%2Fdocs.phpmyadmin.net%2Fen%2Flatest%2Findex.html&server=0&lang=en&token=token" target="documentation"><img src="themes/dot.gif" title="Documentation" alt="Documentation" class="icon ic_b_help" /></a></legend>
     [exec]             <div class="item">
     [exec]                 <label for="input_servername" title="You can enter hostname/IP address and port separated by space.">Server:</label>
     [exec]                 <input type="text" name="pma_servername" id="input_servername" value="localhost" size="24" class="textfield" title="You can enter hostname/IP address and port separated by space." />
     [exec]             </div><div class="item">
     [exec]                 <label for="input_username">Username:</label>
     [exec]                 <input type="text" name="pma_username" id="input_username" value="pmauser" size="24" class="textfield"/>
     [exec]             </div>
     [exec]             <div class="item">
     [exec]                 <label for="input_password">Password:</label>
     [exec]                 <input type="password" name="pma_password" id="input_password" value="" size="24" class="textfield" />
     [exec]             </div><div class="item">
     [exec]                 <label for="select_server">Server Choice:</label>
     [exec]                 <select name="server" id="select_server" onchange="document.forms['login_form'].elements['pma_servername'].value = ''" >...........IF.............................................  671 / 1720 ( 39%)
     [exec] .............................................................  732 / 1720 ( 42%)
     [exec] .............................................................  793 / 1720 ( 46%)
     [exec] .....
     [exec] Result: 255

phpcpd:
     [exec] phpcpd 1.4.1 by Sebastian Bergmann.
     [exec] 
     [exec] Found 37 exact clones with 607 duplicated lines in 45 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>:2782-2793
     [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>:208-215
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportSql.class.php>:1883-1890
     [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/navigation/Nodes/Node_View.class.php>:60-66
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/navigation/Nodes/Node_Table.class.php>:251-257
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/navigation/Nodes/Node_View.class.php>:60-66
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/navigation/Nodes/Node_Function.class.php>:83-89
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/navigation/Nodes/Node_View.class.php>:60-66
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/navigation/Nodes/Node_Procedure.class.php>:83-89
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/navigation/Nodes/Node_View.class.php>:60-66
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/navigation/Nodes/Node_Event.class.php>:82-88
     [exec] 
     [exec]   - <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/server_privileges.lib.php>:3887-3900
     [exec]     <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/ServerStatusData.class.php>:366-379
     [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.41% duplicated lines out of 147712 total lines of code.
     [exec] 
     [exec] Time: 12 seconds, Memory: 130.50Mb
     [exec] Result: 1

phpcs:
     [exec] Time: 01:47, Memory: 59.00Mb
     [exec] 
     [exec] Result: 1

phploc:
     [exec] phploc 1.7.4 by Sebastian Bergmann.
     [exec] 
     [exec] Directories:                                         33
     [exec] Files:                                              422
     [exec] 
     [exec] Lines of Code (LOC):                             147712
     [exec]   Cyclomatic Complexity / Lines of Code:           0.13
     [exec] Comment Lines of Code (CLOC):                     46031
     [exec] Non-Comment Lines of Code (NCLOC):               101681
     [exec] 
     [exec] Namespaces:                                           0
     [exec] Interfaces:                                           5
     [exec] Traits:                                               0
     [exec] Classes:                                            207
     [exec]   Abstract:                                          27 (13.04%)
     [exec]   Concrete:                                         180 (86.96%)
     [exec]   Average Class Length (NCLOC):                     225
     [exec] Methods:                                           1814
     [exec]   Scope:
     [exec]     Non-Static:                                    1536 (84.67%)
     [exec]     Static:                                         278 (15.33%)
     [exec]   Visibility:
     [exec]     Public:                                        1419 (78.22%)
     [exec]     Non-Public:                                     395 (21.78%)
     [exec]   Average Method Length (NCLOC):                     25
     [exec]   Cyclomatic Complexity / Number of Methods:       4.21
     [exec] 
     [exec] Anonymous Functions:                                  2
     [exec] Functions:                                          668
     [exec] 
     [exec] Constants:                                          166
     [exec]   Global constants:                                 106
     [exec]   Class constants:                                   60

jshint:
    [apply] Result: 1

BUILD SUCCESSFUL
Total time: 2 minutes 26 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 2792 warnings.
[CHECKSTYLE] Computing warning deltas based on reference build #3940
[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 62 warnings.
[DRY] Computing warning deltas based on reference build #3940
[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 666 files to scan for tasks
[TASKS] Found 203 open tasks.
[TASKS] Computing warning deltas based on reference build #3940
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #3940
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