Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6810

oak-pojosr tests fail with java 9

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.10, 1.8.0
    • pojosr
    • None

    Description

      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.ConfigTest
      [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.975 s <<< FAILURE! - in org.apache.jackrabbit.oak.run.osgi.ConfigTest
      [ERROR] testFileConfig(org.apache.jackrabbit.oak.run.osgi.ConfigTest)  Time elapsed: 0.057 s  <<< ERROR!
      java.lang.ClassCastException: [B cannot be cast to [C
              at org.apache.jackrabbit.oak.run.osgi.ConfigTest.testFileConfig(ConfigTest.groovy:73)
      
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.DocumentNodeStoreConfigTest
      [WARNING] Tests run: 10, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 31.133 s - in org.apache.jackrabbit.oak.run.osgi.DocumentNodeStoreConfigTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.HybridIndexDisabledTest
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.309 s - in org.apache.jackrabbit.oak.run.osgi.HybridIndexDisabledTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.JaasConfigSpiTest
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.342 s <<< FAILURE! - in org.apache.jackrabbit.oak.run.osgi.JaasConfigSpiTest
      [ERROR] defaultConfigSpiAuth(org.apache.jackrabbit.oak.run.osgi.JaasConfigSpiTest)  Time elapsed: 3.342 s  <<< ERROR!
      java.lang.reflect.UndeclaredThrowableException
              at org.apache.jackrabbit.oak.run.osgi.JaasConfigSpiTest.defaultConfigSpiAuth(JaasConfigSpiTest.groovy:79)
      Caused by: java.lang.reflect.InvocationTargetException
              at org.apache.jackrabbit.oak.run.osgi.JaasConfigSpiTest.defaultConfigSpiAuth(JaasConfigSpiTest.groovy:79)
      Caused by: java.lang.IncompatibleClassChangeError: Method java.util.Set.of(Ljava/lang/Object;)Ljava/util/Set; must be InterfaceMethodref constant
              at org.apache.jackrabbit.oak.run.osgi.JaasConfigSpiTest.defaultConfigSpiAuth(JaasConfigSpiTest.groovy:79)
      
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.JsonConfigRepFactoryTest
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.298 s - in org.apache.jackrabbit.oak.run.osgi.JsonConfigRepFactoryTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.LuceneSupportTest
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.041 s - in org.apache.jackrabbit.oak.run.osgi.LuceneSupportTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.MBeanIntegrationTest
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.275 s - in org.apache.jackrabbit.oak.run.osgi.MBeanIntegrationTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.NodeStoreConfigTest
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.019 s - in org.apache.jackrabbit.oak.run.osgi.NodeStoreConfigTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.OakOSGiRepositoryFactoryTest
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.345 s - in org.apache.jackrabbit.oak.run.osgi.OakOSGiRepositoryFactoryTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.PropertyIndexReindexingTest
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.33 s - in org.apache.jackrabbit.oak.run.osgi.PropertyIndexReindexingTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.RepositoryClosedTest
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.211 s - in org.apache.jackrabbit.oak.run.osgi.RepositoryClosedTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.RepositoryShutdownTest
      [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.802 s - in org.apache.jackrabbit.oak.run.osgi.RepositoryShutdownTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.SecurityProviderRegistrationTest
      [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.563 s - in org.apache.jackrabbit.oak.run.osgi.SecurityProviderRegistrationTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.SegmentNodeStoreConfigTest
      [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 8.039 s <<< FAILURE! - in org.apache.jackrabbit.oak.run.osgi.SegmentNodeStoreConfigTest
      [ERROR] testDeadlock(org.apache.jackrabbit.oak.run.osgi.SegmentNodeStoreConfigTest)  Time elapsed: 8.039 s  <<< ERROR!
      java.lang.reflect.InaccessibleObjectException: Unable to make public com.sun.management.internal.HotSpotThreadImpl(sun.management.VMManagement) accessible: module jdk.management does not "exports com.sun.management.internal" to unnamed module @49438269
              at org.apache.jackrabbit.oak.run.osgi.SegmentNodeStoreConfigTest.testDeadlock(SegmentNodeStoreConfigTest.groovy:77)
      
      [ERROR] testDeadlock(org.apache.jackrabbit.oak.run.osgi.SegmentNodeStoreConfigTest)  Time elapsed: 8.039 s  <<< ERROR!
      org.osgi.framework.BundleException: Timed out while waiting for repository shutdown for 5 secs
      
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.SimpleRepositoryFactoryTest
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.118 s - in org.apache.jackrabbit.oak.run.osgi.SimpleRepositoryFactoryTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.TarSegmentNodeStoreConfigTest
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.228 s - in org.apache.jackrabbit.oak.run.osgi.TarSegmentNodeStoreConfigTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.TokenAuthenticationTest
      [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 s - in org.apache.jackrabbit.oak.run.osgi.TokenAuthenticationTest
      [INFO] Running org.apache.jackrabbit.oak.run.osgi.TrackerSupportTest
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.036 s - in org.apache.jackrabbit.oak.run.osgi.TrackerSupportTest
      [INFO]
      [INFO] Results:
      [INFO]
      [ERROR] Errors:
      [ERROR]   ConfigTest.testFileConfig:73 ▒ ClassCast [B cannot be cast to [C
      [ERROR]   JaasConfigSpiTest.defaultConfigSpiAuth:79 ▒ UndeclaredThrowable
      [ERROR] org.apache.jackrabbit.oak.run.osgi.SegmentNodeStoreConfigTest.testDeadlock(org.apache.jackrabbit.oak.run.osgi.SegmentNodeStoreConfigTest)
      [ERROR]   Run 1: SegmentNodeStoreConfigTest.testDeadlock:77 ▒ InaccessibleObject Unable to make...
      [ERROR]   Run 2: SegmentNodeStoreConfigTest>AbstractRepositoryFactoryTest.tearDown:71 ▒ Bundle ...
      [INFO]
      [INFO]
      [ERROR] Tests run: 40, Failures: 0, Errors: 3, Skipped: 3
      

      Attachments

        Activity

          People

            chetanm Chetan Mehrotra
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: