Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9144

A XAR Extension Handler Test fails very frequently

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.xwiki.extension.xar.internal.job.RepairXarJobTest
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.291 sec
      Running org.xwiki.extension.xar.internal.repository.XarInstalledExtensionRepositoryTest
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.259 sec
      Running org.xwiki.extension.xar.XarExtensionHandlerTest
      12:59:35.725 [main] WARN  com.xpn.xwiki.doc.XWikiDocument - Failed to find parser for the default syntax [xwiki/1.0]. Defaulting to xwiki/2.1 syntax.
      Cleaning up unclosed ZipFile for archive /Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-handlers/xwiki-platform-extension-handler-xar/target/test-1368701975785/permanent-dir/extension/repository/test/1.0/test-1.0.xar
      Cleaning up unclosed ZipFile for archive /Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-handlers/xwiki-platform-extension-handler-xar/target/test-1368701975785/permanent-dir/extension/repository/test/1.0/test-1.0.xar
      Cleaning up unclosed ZipFile for archive /Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-handlers/xwiki-platform-extension-handler-xar/target/test-1368701975785/permanent-dir/extension/repository/test/1.0/test-1.0.xar
      Cleaning up unclosed ZipFile for archive /Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-handlers/xwiki-platform-extension-handler-xar/target/test-1368701975785/permanent-dir/extension/repository/test/1.0/test-1.0.xar
      Cleaning up unclosed ZipFile for archive /Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-handlers/xwiki-platform-extension-handler-xar/target/test-1368701975785/permanent-dir/extension/repository/test/1.0/test-1.0.xar
      Cleaning up unclosed ZipFile for archive /Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-handlers/xwiki-platform-extension-handler-xar/target/test-1368701975785/permanent-dir/extension/repository/test/1.0/test-1.0.xar
      Cleaning up unclosed ZipFile for archive /Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-handlers/xwiki-platform-extension-handler-xar/target/test-1368701975785/permanent-dir/extension/repository/test/1.0/test-1.0.xar
      Cleaning up unclosed ZipFile for archive /Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-handlers/xwiki-platform-extension-handler-xar/target/test-1368701975785/permanent-dir/extension/repository/test/1.0/test-1.0.xar
      Cleaning up unclosed ZipFile for archive /Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-handlers/xwiki-platform-extension-handler-xar/target/test-1368701975785/permanent-dir/extension/repository/test/1.0/test-1.0.xar
      Cleaning up unclosed ZipFile for archive /Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-handlers/xwiki-platform-extension-handler-xar/target/test-1368701975785/permanent-dir/extension/repository/test/1.0/test-1.0.xar
      Cleaning up unclosed ZipFile for archive /Users/vmassol/dev/xwiki/git/xwiki-platform/xwiki-platform-core/xwiki-platform-extension/xwiki-platform-extension-handlers/xwiki-platform-extension-handler-xar/target/test-1368701975785/permanent-dir/extension/repository/test/1.0/test-1.0.xar
      Exception in thread "Job Manager daemon thread" java.util.ConcurrentModificationException
      	at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
      	at java.util.AbstractList$Itr.next(AbstractList.java:343)
      	at org.jmock.internal.InvocationDispatcher.dispatch(InvocationDispatcher.java:79)
      	at org.jmock.Mockery.dispatch(Mockery.java:231)
      	at org.jmock.Mockery.access$100(Mockery.java:29)
      	at org.jmock.Mockery$MockObject.invoke(Mockery.java:271)
      	at org.jmock.internal.InvocationDiverter.invoke(InvocationDiverter.java:27)
      	at org.jmock.internal.FakeObjectMethods.invoke(FakeObjectMethods.java:38)
      	at org.jmock.lib.concurrent.Synchroniser.synchroniseInvocation(Synchroniser.java:82)
      	at org.jmock.lib.concurrent.Synchroniser.access$000(Synchroniser.java:23)
      	at org.jmock.lib.concurrent.Synchroniser$1.invoke(Synchroniser.java:74)
      	at org.jmock.lib.legacy.ClassImposteriser$4.invoke(ClassImposteriser.java:129)
      	at com.xpn.xwiki.XWiki$$EnhancerByCGLIB$$4b2a6c03.prepareResources(<generated>)
      	at com.xpn.xwiki.internal.MessageToolVelocityContextInitializer.initialize(MessageToolVelocityContextInitializer.java:60)
      	at org.xwiki.velocity.internal.DefaultVelocityContextFactory.createContext(DefaultVelocityContextFactory.java:107)
      	at org.xwiki.velocity.internal.VelocityExecutionContextInitializer.initialize(VelocityExecutionContextInitializer.java:64)
      	at org.xwiki.context.internal.DefaultExecutionContextManager.runInitializers(DefaultExecutionContextManager.java:141)
      	at org.xwiki.context.internal.DefaultExecutionContextManager.initialize(DefaultExecutionContextManager.java:128)
      	at org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:141)
      	at java.lang.Thread.run(Thread.java:680)
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: