Details

    • Type: Test
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.16
    • Fix Version/s: None
    • Component/s: parser
    • Labels:
      None

      Description

      The test(s) cannot be run successfully and it will exit with fail with the following output:

      Failed tests:
      OOXMLParserTest.testXLSBVarious:1537->TikaTest.assertContains:102 <td>13.1211231321</td> not found in:
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <meta name="date" content="2017-03-10T14:58:49Z" />
      <meta name="extended-properties:AppVersion" content="16.0300" />
      <meta name="dc:creator" content="Allison, Timothy B." />
      <meta name="extended-properties:Company" content="" />
      <meta name="dcterms:created" content="2017-03-09T12:24:26Z" />
      <meta name="Last-Modified" content="2017-03-10T14:58:49Z" />
      <meta name="dcterms:modified" content="2017-03-10T14:58:49Z" />
      <meta name="Last-Save-Date" content="2017-03-10T14:58:49Z" />
      <meta name="protected" content="false" />
      <meta name="meta:save-date" content="2017-03-10T14:58:49Z" />
      <meta name="Application-Name" content="Microsoft Excel" />
      <meta name="modified" content="2017-03-10T14:58:49Z" />
      <meta name="Content-Type" content="application/vnd.ms-excel.sheet.binary.macroenabled.12" />
      <meta name="X-Parsed-By" content="org.apache.tika.parser.DefaultParser" />
      <meta name="X-Parsed-By" content="org.apache.tika.parser.microsoft.ooxml.OOXMLParser" />
      <meta name="creator" content="Allison, Timothy B." />
      <meta name="meta:author" content="Allison, Timothy B." />
      <meta name="meta:creation-date" content="2017-03-09T12:24:26Z" />
      <meta name="extended-properties:Application" content="Microsoft Excel" />
      <meta name="meta:last-author" content="Allison, Timothy B." />
      <meta name="Creation-Date" content="2017-03-09T12:24:26Z" />
      <meta name="Last-Author" content="Allison, Timothy B." />
      <meta name="X-TIKA:origResourceName" content="C:\Users\tallison\Desktop\working\xlsb\" />
      <meta name="Application-Version" content="16.0300" />
      <meta name="Author" content="Allison, Timothy B." />
      <meta name="publisher" content="" />
      <meta name="dc:publisher" content="" />
      <title></title>
      </head>
      <body><div><h1>mySheet1</h1>
      <table><tbody><tr> <td>String</td> <td>This is a string</td></tr>
      <tr> <td>integer</td> <td>13</td></tr>
      <tr> <td>float</td> <td>13,1211231321</td></tr>
      <tr> <td>currency</td> <td>$ 0,003,,03.00</td></tr>
      <tr> <td>percent</td> <td>20%</td></tr>
      <tr> <td>float 2</td> <td>13,12</td></tr>
      <tr> <td>long int</td> <td>123456789012345</td></tr>
      <tr> <td>longer int</td> <td>1,23456789012345E+15</td> <td><br />
      Allison, Timothy B.: Allison, Timothy B.:
      test comment2
      </td></tr>
      <tr> <td>fraction</td> <td>1/4</td></tr>
      <tr> <td>date</td> <td>3/9/17</td></tr>
      <tr> <td>comment</td> <td>contents<br />
      Allison, Timothy B.: Allison, Timothy B.:
      test comment
      </td></tr>
      <tr> <td>hyperlink</td> <td>tika_link</td></tr>
      <tr> <td>formula</td> <td>4</td> <td>2</td></tr>
      <tr> <td>formulaErr</td> <td>ERROR</td></tr>
      <tr> <td>formulaFloat</td> <td>0,5</td> <td>March</td> <td>April</td></tr>
      <tr> <td>customFormat1</td> <td> 46/1963</td> <td>merchant1</td> <td>1</td> <td>3</td></tr>
      <tr> <td>customFormat2</td> <td> 3/128</td> <td>merchant2</td> <td>2</td> <td>4</td></tr>
      <tr> <td>text test</td></tr>
      <tr> <td><br />
      Allison, Timothy B.: Allison, Timothy B.:
      comment1
      </td></tr>
      <tr> <td><br />
      Allison, Timothy B.: Allison, Timothy B.:
      comment2
      </td></tr>
      <tr> <td><br />
      Allison, Timothy B.: Allison, Timothy B.:
      comment3
      </td></tr>
      <tr> <td>the</td> <td><br />
      Allison, Timothy B.: Allison, Timothy B.:
      comment4 (end of row)
      </td></tr>
      <tr> <td>the</td> <td><br />
      Allison, Timothy B.: Allison, Timothy B.:
      comment5 between cells
      </td> <td>quick</td></tr>
      <tr> <td>comment6<br />
      Allison, Timothy B.: Allison, Timothy B.:
      comment6 actually in cell
      </td></tr>
      <tr> <td><br />
      Allison, Timothy B.: Allison, Timothy B.:
      comment7 end of file
      </td></tr>
      <tr> <td><br />
      Allison, Timothy B.: Allison, Timothy B.:
      comment8 end of file</td></tr>
      </tbody></table>
      <p>OddLeftHeader OddCenterHeader OddRightHeader</p>
      <p>EvenLeftHeader EvenCenterHeader EvenRightHeader
      </p>
      <p>FirstPageLeftHeader FirstPageCenterHeader FirstPageRightHeader</p>
      <p>OddLeftFooter OddCenterFooter OddRightFooter</p>
      <p>EvenLeftFooter EvenCenterFooter EvenRightFooter</p>
      <p>FirstPageLeftFooter FirstPageCenterFooter FirstPageRightFooter</p>
      <p>test textbox
      </p>
      <a href="http://lucene.apache.org/">http://lucene.apache.org/</a><p>myChartTitle</p>
      <p />
      merchant1 March April 1 3 merchant2 March April 2 4 <p />
      <p />
      <p />
      <p />
      <p>test WordArt</p>
      <p>myChartTitle</p>
      <p />
      merchant1 March April 1 3 merchant2 March April 2 4 <p />
      <p />
      <p />
      <p />
      <p>myChartTitle</p>
      <p />
      merchant1 March April 1 3 merchant2 March April 2 4 <p />
      <p />
      <p />
      <p />
      <a href="http://tika.apache.org/">http://tika.apache.org/</a></div>
      <div class="package-entry" /><div class="package-entry" /><div class="package-entry" /></body></html>

      Tests run: 917, Failures: 1, Errors: 0, Skipped: 19

      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Apache Tika parent ................................. SUCCESS [ 0.468 s]
      [INFO] Apache Tika core ................................... SUCCESS [ 24.263 s]
      [INFO] Apache Tika parsers ................................ FAILURE [03:03 min]
      [INFO] Apache Tika XMP .................................... SKIPPED
      [INFO] Apache Tika serialization .......................... SKIPPED
      [INFO] Apache Tika batch .................................. SKIPPED
      [INFO] Apache Tika language detection ..................... SKIPPED
      [INFO] Apache Tika application ............................ SKIPPED
      [INFO] Apache Tika OSGi bundle ............................ SKIPPED
      [INFO] Apache Tika translate .............................. SKIPPED
      [INFO] Apache Tika server ................................. SKIPPED
      [INFO] Apache Tika examples ............................... SKIPPED
      [INFO] Apache Tika Java-7 Components ...................... SKIPPED
      [INFO] Apache Tika eval ................................... SKIPPED
      [INFO] Apache Tika Deep Learning (powered by DL4J) ........ SKIPPED
      [INFO] Apache Tika Natural Language Processing ............ SKIPPED
      [INFO] Apache Tika ........................................ SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 03:28 min
      [INFO] Finished at: 2017-10-28T20:24:38+02:00
      [INFO] Final Memory: 34M/228M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project tika-parsers: There are test failures.
      [ERROR]
      [ERROR] Please refer to /home/kbabioch/PKGBUILD/tika/src/tika/tika-parsers/target/surefire-reports for the individual test results.
      [ERROR] -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project tika-parsers: There are test failures.

        Attachments

          Activity

            People

            • Assignee:
              tallison@apache.org Tim Allison
              Reporter:
              kbabioch Karol Babioch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: