OK I am nuts - I was applying the patch from TIKA-1580, but didn’t update Felix in the bundle pom - done now, building again. Yay.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Chief Architect Instrument Software and Science Data Systems Section (398) NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 168-519, Mailstop: 168-527 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Associate Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: <Mattmann>, Chris Mattmann <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Wednesday, March 25, 2015 at 6:57 PM To: "[email protected]" <[email protected]> Subject: trunk test failure >Hey Anyone else seeing this failure in trunk? > >Running org.apache.tika.bundle.BundleIT >[main] INFO org.ops4j.pax.exam.spi.DefaultExamSystem - Pax Exam System >(Version: 4.4.0) created. >[main] INFO org.ops4j.pax.exam.junit.impl.ProbeRunner - creating PaxExam >runner for class org.apache.tika.bundle.BundleIT >[main] INFO org.ops4j.pax.exam.junit.impl.ProbeRunner - running test class >org.apache.tika.bundle.BundleIT >ERROR: Bundle org.apache.tika.bundle [17] Error starting >file:/Users/mattmann/tmp/tika/tika-bundle/target/test-bundles/tika-bundle. >j >ar (org.osgi.framework.BundleException: Unresolved constraint in bundle >org.apache.tika.bundle [17]: Unable to resolve 17.0: missing requirement >[17.0] osgi.wiring.package; >(&(osgi.wiring.package=org.apache.commons.csv)(version>=1.0.0)(!(version>= >2 >.0.0)))) >org.osgi.framework.BundleException: Unresolved constraint in bundle >org.apache.tika.bundle [17]: Unable to resolve 17.0: missing requirement >[17.0] osgi.wiring.package; >(&(osgi.wiring.package=org.apache.commons.csv)(version>=1.0.0)(!(version>= >2 >.0.0))) > at >org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4097) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2114) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1368) > at >org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevel >I >mpl.java:308) > at java.lang.Thread.run(Thread.java:745) >[main] ERROR org.ops4j.pax.exam.nat.internal.NativeTestContainer - Bundle >[org.apache.tika.bundle [17]] is not resolved >ERROR: Bundle org.apache.tika.bundle [17] Error starting >file:/Users/mattmann/tmp/tika/tika-bundle/target/test-bundles/tika-bundle. >j >ar (org.osgi.framework.BundleException: Unresolved constraint in bundle >org.apache.tika.bundle [17]: Unable to resolve 17.0: missing requirement >[17.0] osgi.wiring.package; >(&(osgi.wiring.package=org.apache.commons.csv)(version>=1.0.0)(!(version>= >2 >.0.0)))) >org.osgi.framework.BundleException: Unresolved constraint in bundle >org.apache.tika.bundle [17]: Unable to resolve 17.0: missing requirement >[17.0] osgi.wiring.package; >(&(osgi.wiring.package=org.apache.commons.csv)(version>=1.0.0)(!(version>= >2 >.0.0))) > at >org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4097) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2114) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1368) > at >org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevel >I >mpl.java:308) > at java.lang.Thread.run(Thread.java:745) >[main] ERROR org.ops4j.pax.exam.nat.internal.NativeTestContainer - Bundle >[org.apache.tika.bundle [17]] is not resolved >ERROR: Bundle org.apache.tika.bundle [17] Error starting >file:/Users/mattmann/tmp/tika/tika-bundle/target/test-bundles/tika-bundle. >j >ar (org.osgi.framework.BundleException: Unresolved constraint in bundle >org.apache.tika.bundle [17]: Unable to resolve 17.0: missing requirement >[17.0] osgi.wiring.package; >(&(osgi.wiring.package=org.apache.commons.csv)(version>=1.0.0)(!(version>= >2 >.0.0)))) >org.osgi.framework.BundleException: Unresolved constraint in bundle >org.apache.tika.bundle [17]: Unable to resolve 17.0: missing requirement >[17.0] osgi.wiring.package; >(&(osgi.wiring.package=org.apache.commons.csv)(version>=1.0.0)(!(version>= >2 >.0.0))) > at >org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4097) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2114) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1368) > at >org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevel >I >mpl.java:308) > at java.lang.Thread.run(Thread.java:745) >[main] ERROR org.ops4j.pax.exam.nat.internal.NativeTestContainer - Bundle >[org.apache.tika.bundle [17]] is not resolved >ERROR: Bundle org.apache.tika.bundle [17] Error starting >file:/Users/mattmann/tmp/tika/tika-bundle/target/test-bundles/tika-bundle. >j >ar (org.osgi.framework.BundleException: Unresolved constraint in bundle >org.apache.tika.bundle [17]: Unable to resolve 17.0: missing requirement >[17.0] osgi.wiring.package; >(&(osgi.wiring.package=org.apache.commons.csv)(version>=1.0.0)(!(version>= >2 >.0.0)))) >org.osgi.framework.BundleException: Unresolved constraint in bundle >org.apache.tika.bundle [17]: Unable to resolve 17.0: missing requirement >[17.0] osgi.wiring.package; >(&(osgi.wiring.package=org.apache.commons.csv)(version>=1.0.0)(!(version>= >2 >.0.0))) > at >org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4097) > at org.apache.felix.framework.Felix.startBundle(Felix.java:2114) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1368) > at >org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevel >I >mpl.java:308) > at java.lang.Thread.run(Thread.java:745) >[main] ERROR org.ops4j.pax.exam.nat.internal.NativeTestContainer - Bundle >[org.apache.tika.bundle [17]] is not resolved >[main] INFO org.ops4j.pax.exam.spi.reactors.ReactorManager - suite >finished >Tests run: 7, Failures: 0, Errors: 4, Skipped: 3, Time elapsed: 43.325 sec ><<< FAILURE! > >Results : > >Tests in error: > testBundleDetection(org.apache.tika.bundle.BundleIT): gave up waiting >for service org.apache.tika.parser.Parser > testBundleLoaded(org.apache.tika.bundle.BundleIT): gave up waiting for >service org.apache.tika.parser.Parser > testForkParser(org.apache.tika.bundle.BundleIT): gave up waiting for >service org.apache.tika.parser.Parser > testBundleParsers(org.apache.tika.bundle.BundleIT): gave up waiting for >service org.apache.tika.parser.Parser > >Tests run: 7, Failures: 0, Errors: 4, Skipped: 3 > >[INFO] >[INFO] --- maven-failsafe-plugin:2.10:verify (default) @ tika-bundle --- >[INFO] Failsafe report directory: >/Users/mattmann/tmp/tika/tika-bundle/target/failsafe-reports >[INFO] >------------------------------------------------------------------------ >[INFO] Reactor Summary: >[INFO] >[INFO] Apache Tika parent ................................. SUCCESS [ >1.736 s] >[INFO] Apache Tika core ................................... SUCCESS [ >23.323 s] >[INFO] Apache Tika parsers ................................ SUCCESS [02:33 >min] >[INFO] Apache Tika XMP .................................... SUCCESS [ >2.483 s] >[INFO] Apache Tika serialization .......................... SUCCESS [ >2.004 s] >[INFO] Apache Tika batch .................................. SUCCESS [01:54 >min] >[INFO] Apache Tika application ............................ SUCCESS [ >14.056 s] >[INFO] Apache Tika OSGi bundle ............................ FAILURE [ >54.628 s] >[INFO] Apache Tika server ................................. SKIPPED >[INFO] Apache Tika translate .............................. SKIPPED >[INFO] Apache Tika examples ............................... SKIPPED >[INFO] Apache Tika Java-7 Components ...................... SKIPPED >[INFO] Apache Tika ........................................ SKIPPED >[INFO] >------------------------------------------------------------------------ >[INFO] BUILD FAILURE >[INFO] >------------------------------------------------------------------------ >[INFO] Total time: 06:07 min >[INFO] Finished at: 2015-03-25T18:55:34-04:00 >[INFO] Final Memory: 74M/1637M >[INFO] >------------------------------------------------------------------------ >[ERROR] Failed to execute goal >org.apache.maven.plugins:maven-failsafe-plugin:2.10:verify (default) on >project tika-bundle: There are test failures. >[ERROR] >[ERROR] Please refer to >/Users/mattmann/tmp/tika/tika-bundle/target/failsafe-reports for the >individual test results. >[ERROR] -> [Help 1] >[ERROR] >[ERROR] To see the full stack trace of the errors, re-run Maven with the >-e switch. >[ERROR] Re-run Maven using the -X switch to enable full debug logging. >[ERROR] >[ERROR] For more information about the errors and possible solutions, >please read the following articles: >[ERROR] [Help 1] >http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >[ERROR] >[ERROR] After correcting the problems, you can resume the build with the >command >[ERROR] mvn <goals> -rf :tika-bundle >[chipotle:~/tmp/tika] mattmann% > >I can’t get the tests to pass. > > >Running on following: > >[chipotle:~/tmp/tika] mattmann% mvn -version >Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; >2014-08-11T16:58:10-04:00) >Maven home: /usr/local/Cellar/maven/3.2.3/libexec >Java version: 1.7.0_60, vendor: Oracle Corporation >Java home: >/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/jre >Default locale: en_US, platform encoding: UTF-8 >OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac" >[chipotle:~/tmp/tika] mattmann% > > > >[chipotle:~/tmp/tika] mattmann% uname -a >Darwin chipotle.local 13.4.0 Darwin Kernel Version 13.4.0: Wed Dec 17 >19:05:52 PST 2014; root:xnu-2422.115.10~1/RELEASE_X86_64 x86_64 >[chipotle:~/tmp/tika] mattmann% java -version >java version "1.7.0_60" >Java(TM) SE Runtime Environment (build 1.7.0_60-b19) >Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode) > > > >Thoughts? > >Cheers, >Chris > >++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >Chris Mattmann, Ph.D. >Chief Architect >Instrument Software and Science Data Systems Section (398) >NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA >Office: 168-519, Mailstop: 168-527 >Email: [email protected] >WWW: http://sunset.usc.edu/~mattmann/ >++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >Adjunct Associate Professor, Computer Science Department >University of Southern California, Los Angeles, CA 90089 USA >++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > >
