See <https://builds.apache.org/job/Tika-trunk/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.

------------------------------------------
[...truncated 68 lines...]
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/tika/tika-parent/1.1-SNAPSHOT/maven-metadata.xml
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/tika/tika-parent/1.1-SNAPSHOT/maven-metadata.xml
 (601 B at 1.9 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/tika/tika-parent/maven-metadata.xml
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/tika/tika-parent/maven-metadata.xml
 (512 B at 5.0 KB/sec)
[TASKS] Skipping maven reporter: there is already a result available.
[JENKINS] Archiving 
<https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-parent/pom.xml> to 
/home/hudson/hudson/jobs/Tika-trunk/modules/org.apache.tika$tika-parent/builds/2011-11-11_12-01-57/archive/org.apache.tika/tika-parent/1.1-SNAPSHOT/tika-parent-1.1-SNAPSHOT.pom
[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/ws/trunk/tika-core/target>
[TASKS] Scanning folder 
'<https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-core/src/main/java'> 
for tasks ... 
[TASKS] Found 25.
[TASKS] Scanning folder 
'<https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-core/src/test/java'> 
for tasks ... 
[TASKS] Found 2.
[TASKS] Scanning folder 
'<https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-core/src/main/resources'>
 for tasks ... 
[TASKS] Found 0.
[TASKS] Scanning folder 
'<https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-core/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/ws/trunk/tika-core/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/ws/trunk/tika-core/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/ws/trunk/tika-core/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/ws/trunk/tika-core/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/ws/trunk/tika-core/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
ignoring exception during new ExecutedMojo null
[PMD] Skipping maven reporter: there is already a result available.
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] 
[INFO] --- clirr-maven-plugin:2.3:check (default) @ tika-core ---
Downloading: 
http://repo1.maven.org/maven2/org/apache/tika/tika-core/1.0/tika-core-1.0.jar
Downloaded: 
http://repo1.maven.org/maven2/org/apache/tika/tika-core/1.0/tika-core-1.0.jar 
(417 KB at 539.7 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/apache/tika/tika-core/1.0/tika-core-1.0.pom
Downloaded: 
http://repo1.maven.org/maven2/org/apache/tika/tika-core/1.0/tika-core-1.0.pom 
(5 KB at 8.1 KB/sec)
Downloading: 
http://repo1.maven.org/maven2/org/apache/tika/tika-parent/1.0/tika-parent-1.0.pom
Downloaded: 
http://repo1.maven.org/maven2/org/apache/tika/tika-parent/1.0/tika-parent-1.0.pom
 (10 KB at 18.7 KB/sec)
[ERROR] org.apache.tika.metadata.Property$PropertyType: Method 'public 
org.apache.tika.metadata.Property$PropertyType[] values()' is now final
[ERROR] org.apache.tika.metadata.Property$ValueType: Method 'public 
org.apache.tika.metadata.Property$ValueType[] values()' is now final
[PMD] Skipping maven reporter: there is already a result available.
[TASKS] Skipping maven reporter: there is already a result available.
[JENKINS] Archiving 
<https://builds.apache.org/job/Tika-trunk/ws/trunk/tika-core/target/tika-core-1.1-SNAPSHOT.jar>
 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.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Tika parent ................................ SUCCESS [8.900s]
[INFO] Apache Tika core .................................. FAILURE [25.865s]
[INFO] Apache Tika parsers ............................... SKIPPED
[INFO] Apache Tika application ........................... SKIPPED
[INFO] Apache Tika OSGi bundle ........................... SKIPPED
[INFO] Apache Tika ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.977s
[INFO] Finished at: Fri Nov 11 12:02:39 GMT 2011
[INFO] Final Memory: 22M/408M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.codehaus.mojo:clirr-maven-plugin:2.3:check 
(default) on project tika-core: There were 2 errors.
cause : There were 2 errors.
Stack trace : 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:clirr-maven-plugin:2.3:check (default) on project tika-core: 
There were 2 errors.
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at 
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
        at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
        at hudson.maven.Maven3Builder.call(Maven3Builder.java:122)
        at hudson.maven.Maven3Builder.call(Maven3Builder.java:74)
        at hudson.remoting.UserRequest.perform(UserRequest.java:118)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:287)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.maven.plugin.MojoFailureException: There were 2 errors.
        at 
org.codehaus.mojo.clirr.AbstractClirrCheckMojo.doExecute(AbstractClirrCheckMojo.java:101)
        at 
org.codehaus.mojo.clirr.AbstractClirrMojo.execute(AbstractClirrMojo.java:200)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
[PMD] Aggregating results of Apache Tika parent
[PMD] Using set difference to compute new warnings
[PMD] Not changing build status, since no threshold has been exceeded
[PMD] Aggregating results of Apache Tika core
[PMD] Using set difference to compute new warnings
[PMD] Not changing build status, since no threshold has been exceeded
[TASKS] Aggregating results of Apache Tika parent
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
[TASKS] Aggregating results of Apache Tika core
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
Sending e-mails to: dev@tika.apache.org
channel stopped

Reply via email to