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

michal at cihar.com michal at cihar.com
Mon Aug 12 18:02:43 CEST 2013


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

Changes:

[Michal Čihař] Fix expected data without html escaping

------------------------------------------
[...truncated 39 lines...]
     [exec] Configuration read from <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/phpunit.xml.nocoverage>
     [exec] 
     [exec] ............................................................I   61 / 1852 (  3%)
     [exec] .............................................................  122 / 1852 (  6%)
     [exec] .............................................................  183 / 1852 (  9%)
     [exec] .............................................................  244 / 1852 ( 13%)
     [exec] .............................................................  305 / 1852 ( 16%)
     [exec] .............................................................  366 / 1852 ( 19%)
     [exec] .............................................................  427 / 1852 ( 23%)
     [exec] .............................................................  488 / 1852 ( 26%)
     [exec] .............................................................  549 / 1852 ( 29%)
     [exec] .............................................................  610 / 1852 ( 32%)
     [exec] ..............................I..................F...........  671 / 1852 ( 36%)
     [exec] F..FFF..............F.......F.......FF.......................  732 / 1852 ( 39%)
     [exec] .............................................................  793 / 1852 ( 42%)
     [exec] .............................................................  854 / 1852 ( 46%)
     [exec] .............................................................  915 / 1852 ( 49%)
     [exec] .............................................................  976 / 1852 ( 52%)
     [exec] ............................................................. 1037 / 1852 ( 55%)
     [exec] ............................................................. 1098 / 1852 ( 59%)
     [exec] ............................................................. 1159 / 1852 ( 62%)
     [exec] ............................................................. 1220 / 1852 ( 65%)
     [exec] ............................................................. 1281 / 1852 ( 69%)
     [exec] ............................................................. 1342 / 1852 ( 72%)
     [exec] ............................................................. 1403 / 1852 ( 75%)
     [exec] ............................................................. 1464 / 1852 ( 79%)
     [exec] ............................................................. 1525 / 1852 ( 82%)
     [exec] ............................................................. 1586 / 1852 ( 85%)
     [exec] ............................................................. 1647 / 1852 ( 88%)
     [exec] ............................................................. 1708 / 1852 ( 92%)
     [exec] ............................................................. 1769 / 1852 ( 95%)
     [exec] ............................................................. 1830 / 1852 ( 98%)
     [exec] .....................I
     [exec] 
     [exec] Time: 19 seconds, Memory: 97.75Mb
     [exec] 
     [exec] There were 9 failures:
     [exec] 
     [exec] 1) PMA_ExportCodegen_Test::testExportData
     [exec] Failed asserting that '<?xml version="1.0" encoding="utf-8" ?>
     [exec] <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="TestDB" assembly="TestDB">
     [exec]     <class name="TestTable" table="TestTable">
     [exec]     </class>
     [exec] </hibernate-mapping>' contains "<?xml version="1.0" encoding="utf-8" ?>".
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/export/PMA_ExportCodegen_test.php>:261
     [exec] 
     [exec] 2) PMA_ExportCsv_Test::testExportData
     [exec] Failed asserting that two strings are equal.
     [exec] --- Expected
     [exec] +++ Actual
     [exec] @@ @@
     [exec] -'"foo"bar;customNull;'
     [exec] +'"foo"bar;customNull;'
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/export/PMA_ExportCsv_test.php>:599
     [exec] 
     [exec] 3) PMA_ExportHtmlword_Test::testExportHeader
     [exec] Failed asserting that two strings are equal.
     [exec] --- Expected
     [exec] +++ Actual
     [exec] @@ @@
     [exec] -'<html xmlns:o="urn:schemas-microsoft-com:office:office"
     [exec] -            xmlns:x="urn:schemas-microsoft-com:office:word"
     [exec] -            xmlns="http://www.w3.org/TR/REC-html40">
     [exec] +'<html xmlns:o="urn:schemas-microsoft-com:office:office"
     [exec] +            xmlns:x="urn:schemas-microsoft-com:office:word"
     [exec] +            xmlns="http://www.w3.org/TR/REC-html40">
     [exec]  
     [exec] -            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     [exec] -            <html>
     [exec] -            <head>
     [exec] -                <meta http-equiv="Content-type" content="text/html;charset=utf-8" />
     [exec] -            </head>
     [exec] -            <body>'
     [exec] +            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     [exec] +            <html>
     [exec] +            <head>
     [exec] +                <meta http-equiv="Content-type" content="text/html;charset=utf-8" />
     [exec] +            </head>
     [exec] +            <body>'
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/export/PMA_ExportHtmlword_test.php>:236
     [exec] 
     [exec] 4) PMA_ExportHtmlword_Test::testExportFooter
     [exec] Failed asserting that two strings are equal.
     [exec] --- Expected
     [exec] +++ Actual
     [exec] @@ @@
     [exec] -'</body></html>'
     [exec] +'</body></html>'
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/export/PMA_ExportHtmlword_test.php>:282
     [exec] 
     [exec] 5) PMA_ExportHtmlword_Test::testExportDBHeader
     [exec] Failed asserting that two strings are equal.
     [exec] --- Expected
     [exec] +++ Actual
     [exec] @@ @@
     [exec] -'<h1>Database d&quot;b</h1>'
     [exec] +'<h1>Database d"b</h1>'
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/export/PMA_ExportHtmlword_test.php>:301
     [exec] 
     [exec] 6) PMA_ExportJson_Test::testExportData
     [exec] Failed asserting that two strings are equal.
     [exec] --- Expected
     [exec] +++ Actual
     [exec] @@ @@
     [exec]  '// db.tbl
     [exec]  
     [exec] -[{"f1":"foo"}, {"f1":"bar"}]'
     [exec] +[{"f1":"foo"}, {"f1":"bar"}]'
     [exec] 
     [exec] 
     [exec] 7) PMA_ExportLatex_Test::testExportStructure
     [exec] Failed asserting that two strings are equal.
     [exec] --- Expected
     [exec] +++ Actual
     [exec] @@ @@
     [exec]  '
     [exec]  %
     [exec]  % Structure: 
     [exec]  %
     [exec]   \begin{longtable}{|l|c|c|c|l|l|} 
     [exec] - \hline \multicolumn{1}{|c|}{\textbf{Column}} & \multicolumn{1}{|c|}{\textbf{Type}} & \multicolumn{1}{|c|}{\textbf{Null}} & \multicolumn{1}{|c|}{\textbf{Default}} & \multicolumn{1}{|c|}{\textbf{Comments}} & \multicolumn{1}{|c|}{\textbf{MIME}} \\ \hline \hline
     [exec] + \hline \multicolumn{1}{|c|}{\textbf{Column}} & \multicolumn{1}{|c|}{\textbf{Type}} & \multicolumn{1}{|c|}{\textbf{Null}} & \multicolumn{1}{|c|}{\textbf{Default}} & \multicolumn{1}{|c|}{\textbf{Comments}} & \multicolumn{1}{|c|}{\textbf{MIME}} \\ \hline \hline
     [exec]  \endfirsthead
     [exec] - \hline \multicolumn{1}{|c|}{\textbf{Column}} & \multicolumn{1}{|c|}{\textbf{Type}} & \multicolumn{1}{|c|}{\textbf{Null}} & \multicolumn{1}{|c|}{\textbf{Default}} & \multicolumn{1}{|c|}{\textbf{Comments}} & \multicolumn{1}{|c|}{\textbf{MIME}} \\ \hline \hline \endhead \endfoot 
     [exec] -\textbf{\textit{name1}} & set(abc) & Yes & NULL &  & Testmimetype/ \\ \hline 
     [exec] -fields &   & No & def &  &  \\ \hline 
     [exec] + \hline \multicolumn{1}{|c|}{\textbf{Column}} & \multicolumn{1}{|c|}{\textbf{Type}} & \multicolumn{1}{|c|}{\textbf{Null}} & \multicolumn{1}{|c|}{\textbf{Default}} & \multicolumn{1}{|c|}{\textbf{Comments}} & \multicolumn{1}{|c|}{\textbf{MIME}} \\ \hline \hline \endhead \endfoot 
     [exec] +\textbf{\textit{name1}} & set(abc) & Yes & NULL &  & Testmimetype/ \\ \hline 
     [exec] +fields &   & No & def &  &  \\ \hline 
     [exec]   \end{longtable}
     [exec]  '
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/export/PMA_ExportLatex_test.php>:800
     [exec] 
     [exec] 8) PMA_ExportMediawiki_Test::testExportStructure
     [exec] Failed asserting that two strings are equal.
     [exec] --- Expected
     [exec] +++ Actual
     [exec] @@ @@
     [exec]  '
     [exec]  <!--
     [exec]  Table structure for `table`
     [exec]  -->
     [exec]  
     [exec] -{| class="wikitable" style="text-align:center;"
     [exec] +{| class="wikitable" style="text-align:center;"
     [exec]  |+'''table'''
     [exec] -|- style="background:#ffdead;"
     [exec] -! style="background:#ffffff" | 
     [exec] +|- style="background:#ffdead;"
     [exec] +! style="background:#ffffff" | 
     [exec]   | name1
     [exec]   | fields
     [exec]  |-
     [exec]  ! Type
     [exec]   | set(abc)enum123
     [exec]   | 
     [exec]  |-
     [exec]  ! Null
     [exec]   | Yes
     [exec]   | NO
     [exec]  |-
     [exec]  ! Default
     [exec]   | 
     [exec]   | def
     [exec]  |-
     [exec]  ! Extra
     [exec]   | 
     [exec]   | ext
     [exec]  |}
     [exec]  
     [exec]  '
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/export/PMA_ExportMediawiki_test.php>:331
     [exec] 
     [exec] 9) PMA_ExportMediawiki_Test::testExportData
     [exec] Failed asserting that two strings are equal.
     [exec] --- Expected
     [exec] +++ Actual
     [exec] @@ @@
     [exec]  '
     [exec]  <!--
     [exec]  Table data for `table`
     [exec]  -->
     [exec]  
     [exec] -{| class="wikitable sortable" style="text-align:center;"
     [exec] +{| class="wikitable sortable" style="text-align:center;"
     [exec]  |+'''table'''
     [exec]  |-
     [exec]   ! name1
     [exec]   ! fields
     [exec]  |-
     [exec]   | r1
     [exec]   | r2
     [exec]  |-
     [exec]   | r3
     [exec]   | 
     [exec]  |}
     [exec]  
     [exec]  '
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/plugin/export/PMA_ExportMediawiki_test.php>:436
     [exec] 
     [exec] --
     [exec] 
     [exec] 
     [exec] There were 3 incomplete tests:
     [exec] 
     [exec] 1) PMA_ConfigTest::testCheckPermissions
     [exec] This test has not been implemented yet.
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/classes/PMA_Config_test.php>:943
     [exec] 
     [exec] 2) PMA_AuthenticationCookie_Test::testBlowfishDecrypt
     [exec] This test did not perform any assertions
     [exec] 
     [exec] 
     [exec] 3) Environment_Test::testSession
     [exec] 
     [exec] <http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/test/Environment_test.php>:83
     [exec] 
     [exec] FAILURES!
     [exec] Tests: 1852, Assertions: 3943, Failures: 9, Incomplete: 3.
     [exec] 

BUILD FAILED
<http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build.xml>:28: exec returned: 1

Total time: 21 seconds
Build step 'Invoke Ant' marked build as failure
[CHECKSTYLE] Skipping publisher since build result is FAILURE
[DRY] Collecting duplicate code analysis files...
[DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml
[DRY] Computing warning deltas based on reference build #4139
[TASKS] Skipping publisher since build result is FAILURE
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #4139
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] [INFO] - Check 'Failed Tests' threshold.
[xUnit] [INFO] - Check 'Skipped Tests' threshold.
[xUnit] [INFO] - Setting the build status to FAILURE
[xUnit] [INFO] - Stopping recording.




More information about the Developers mailing list