You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2011/11/11 13:02:39 UTC

Build failed in Jenkins: Tika-trunk » Apache Tika core #719

See <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/719/changes>

Changes:

[jukka] fix typo

[jukka] TIKA-780: Optimize loading of the media type registry

Use a SAX parser to stream through the mime-info database

[jukka] TIKA-780: Optimize loading of the media type registry

Add a maximum size limit to the static set of simple media types kept in memory. This prevents a potential DOS attack against the library.

Fix handling of media type parameters.

[jukka] Adjust clirr checks to use Tika 1.0 as the baseline.

[jukka] TIKA-780: Optimize loading of the media type registry

Use a static map of normalized media type names to speed up type parsing.

Optimize the in-memory layout of MediaType for the common case of accessing the full canonical media type string instead of the separate type and subtype components.

------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Tika core 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ tika-core ---
[INFO] Deleting <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/target>
[TASKS] Scanning folder '<https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/src/main/java'> for tasks ... 
[TASKS] Found 25.
[TASKS] Scanning folder '<https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/src/test/java'> for tasks ... 
[TASKS] Found 2.
[TASKS] Scanning folder '<https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/src/main/resources'> for tasks ... 
[TASKS] Found 0.
[TASKS] Scanning folder '<https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/src/test/resources'> for tasks ... 
[TASKS] Found 0.
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ tika-core ---
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ tika-core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 29 resources
[INFO] Copying 3 resources
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tika-core ---
[INFO] Compiling 155 source files to <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/target/classes>
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] [debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ tika-core ---
[INFO] Copying 32 resources
[INFO] Copying 3 resources
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tika-core ---
[INFO] Compiling 32 source files to <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/target/test-classes>
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-surefire-plugin:2.9:test (default-test) @ tika-core ---
[INFO] Surefire report directory: <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.tika.parser.CompositeParserTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.184 sec
Running org.apache.tika.metadata.TestMetadata
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.tika.mime.MimeTypesReaderTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.mime.MimeDetectionTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.218 sec
Running org.apache.tika.mime.PatternsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tika.mime.MediaTypeTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.language.ProfilingWriterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tika.language.LanguageProfileTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tika.language.LanguageIdentifierTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.248 sec
Running org.apache.tika.language.LanguageProfilerBuilderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.167 sec
Running org.apache.tika.TestRereadableInputStream
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.tika.TikaDetectionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.apache.tika.io.TikaInputStreamTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.io.LookaheadInputStreamTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.detect.TextDetectorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.detect.TypeDetectorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tika.detect.MagicDetectorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.detect.NameDetectorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tika.utils.RegexUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.tika.utils.CharsetUtilsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.apache.tika.fork.ForkParserTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.844 sec
Running org.apache.tika.sax.OfflineContentHandlerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.tika.sax.xpath.XPathParserTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.tika.sax.SecureContentHandlerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.264 sec
Running org.apache.tika.sax.SerializerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.sax.BodyContentHandlerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tika.sax.SafeContentHandlerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.sax.XHTMLContentHandlerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec

Results :

Tests run: 106, Failures: 0, Errors: 0, Skipped: 0

[TASKS] Skipping maven reporter: there is already a result available.
[JENKINS] Recording test results
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.4:bundle (default-bundle) @ tika-core ---
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-site-plugin:3.0:attach-descriptor (attach-descriptor) @ tika-core ---
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-failsafe-plugin:2.10:integration-test (default) @ tika-core ---
[INFO] Failsafe report directory: <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/target/failsafe-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.tika.TikaIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.202 sec

Results :

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

[TASKS] Skipping maven reporter: there is already a result available.
[JENKINS] Recording test results
[INFO] 
[INFO] --- apache-rat-plugin:0.7:check (default) @ tika-core ---
[INFO] Exclude: src/test/resources/org/apache/tika/**
[PMD] Using set difference to compute new warnings
[PMD] Not changing build status, since no threshold has been exceeded
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ tika-core ---
[TASKS] Skipping maven reporter: there is already a result available.
[debug] execute contextualize
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 29 resources

[INFO] [INFO] Copying 3 resources
--- maven-resources-plugin:2.5:resources (default-resources) @ tika-core ---
[INFO] Copying 3 resources
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tika-core ---
[INFO] Nothing to compile - all classes are up to date
[TASKS] Skipping maven reporter: there is already a result available.
[JENKINS] Archiving <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/pom.xml> to /home/hudson/hudson/jobs/Tika-trunk/modules/org.apache.tika$tika-core/builds/2011-11-11_12-01-57/archive/org.apache.tika/tika-core/1.1-SNAPSHOT/tika-core-1.1-SNAPSHOT.pom


Build failed in Jenkins: Tika-trunk » Apache Tika core #720

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/720/changes>

Changes:

[jukka] TIKA-780: Optimize loading of the media type registry

Avoid collecting data when it's not needed. Fix handling of complex magic matches.

------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Tika core 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Deleting <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/target>
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ tika-core ---
[TASKS] Scanning folder '<https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/src/main/java'> for tasks ... 
[TASKS] Found 25.
[TASKS] Scanning folder '<https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/src/test/java'> for tasks ... 
[TASKS] Found 2.
[TASKS] Scanning folder '<https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/src/main/resources'> for tasks ... 
[TASKS] Found 0.
[TASKS] Scanning folder '<https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/src/test/resources'> for tasks ... 
[TASKS] Found 0.
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ tika-core ---
[TASKS] Skipping maven reporter: there is already a result available.[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ tika-core ---
[INFO] Copying 29 resources
[INFO] Copying 3 resources
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tika-core ---
[INFO] Compiling 155 source files to <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/target/classes>
[TASKS] Skipping maven reporter: there is already a result available.[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 32 resources

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ tika-core ---
[INFO] Copying 3 resources
[TASKS] Skipping maven reporter: there is already a result available.[INFO] Compiling 32 source files to <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/target/test-classes>

[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ tika-core ---
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-surefire-plugin:2.9:test (default-test) @ tika-core ---
[INFO] Surefire report directory: <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.tika.fork.ForkParserTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.514 sec
Running org.apache.tika.parser.CompositeParserTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.137 sec
Running org.apache.tika.utils.RegexUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.tika.utils.CharsetUtilsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec
Running org.apache.tika.metadata.TestMetadata
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.apache.tika.language.ProfilingWriterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tika.language.LanguageProfilerBuilderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.372 sec
Running org.apache.tika.language.LanguageProfileTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.language.LanguageIdentifierTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.686 sec
Running org.apache.tika.TikaDetectionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.593 sec
Running org.apache.tika.TestRereadableInputStream
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.tika.sax.SerializerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.sax.XHTMLContentHandlerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tika.sax.BodyContentHandlerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tika.sax.SafeContentHandlerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tika.sax.xpath.XPathParserTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tika.sax.SecureContentHandlerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.27 sec
Running org.apache.tika.sax.OfflineContentHandlerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.tika.mime.MimeTypesReaderTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.tika.mime.MediaTypeTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.tika.mime.MimeDetectionTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.153 sec
Running org.apache.tika.mime.PatternsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.tika.io.LookaheadInputStreamTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.io.TikaInputStreamTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.detect.NameDetectorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.detect.TypeDetectorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.tika.detect.TextDetectorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.tika.detect.MagicDetectorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec

Results :

Tests run: 106, Failures: 0, Errors: 0, Skipped: 0

[TASKS] Skipping maven reporter: there is already a result available.
[JENKINS] Recording test results
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.4:bundle (default-bundle) @ tika-core ---
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-site-plugin:3.0:attach-descriptor (attach-descriptor) @ tika-core ---
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-failsafe-plugin:2.10:integration-test (default) @ tika-core ---
[INFO] Failsafe report directory: <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/target/failsafe-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.tika.TikaIT
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.206 sec

Results :

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

[TASKS] Skipping maven reporter: there is already a result available.
[JENKINS] Recording test results
[INFO] 
[INFO] --- apache-rat-plugin:0.7:check (default) @ tika-core ---
[INFO] Exclude: src/test/resources/org/apache/tika/**
[PMD] Using set difference to compute new warnings
[PMD] Not changing build status, since no threshold has been exceeded
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ tika-core ---
[TASKS] Skipping maven reporter: there is already a result available.[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 29 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources

[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ tika-core ---
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tika-core ---
[TASKS] Skipping maven reporter: there is already a result available.
[JENKINS] Archiving <https://builds.apache.org/job/Tika-trunk/org.apache.tika$tika-core/ws/pom.xml> to /home/hudson/hudson/jobs/Tika-trunk/modules/org.apache.tika$tika-core/builds/2011-11-11_13-06-15/archive/org.apache.tika/tika-core/1.1-SNAPSHOT/tika-core-1.1-SNAPSHOT.pom