Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-466

OSGi bundle scanner updates SchemaContext during shutdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • 5.0.0, 4.0.4, 3.0.11
    • 5.0.0, 4.0.3
    • DOM runtime
    • None

      https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/genius-csit-1node-upstream-only-sodium/274/odl_1/karaf_1_10983_threads_after.log.gz

      is showing the following:

      "Framework stop" #1122 daemon prio=5 os_prio=0 tid=0x00007f239c00c000 nid=0x3838 runnable [0x00007f236c0ea000]
         java.lang.Thread.State: RUNNABLE
      	at [...]
      com.google.common.util.concurrent.Futures.transformAsync(Futures.java:471)
      	at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory.createSchemaContext(SharedSchemaContextFactory.java:103)
      	at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory.createEffectiveModelContext(SharedSchemaContextFactory.java:74)
      	at org.opendaylight.yangtools.yang.parser.repo.YangTextSchemaContextResolver.getSchemaContext(YangTextSchemaContextResolver.java:239)
      	at org.opendaylight.yangtools.yang.parser.repo.YangTextSchemaContextResolver.getSchemaContext(YangTextSchemaContextResolver.java:205)
      	at org.opendaylight.mdsal.binding.generator.impl.ModuleInfoBackedContext.tryToCreateSchemaContext(ModuleInfoBackedContext.java:179)
      	at org.opendaylight.mdsal.binding.generator.impl.ModuleInfoBackedContext.getSchemaContext(ModuleInfoBackedContext.java:123)
      	at org.opendaylight.mdsal.binding.dom.codec.osgi.impl.OsgiModuleInfoRegistry.updateService(OsgiModuleInfoRegistry.java:49)
      	- locked <0x0000000082912bf8> (a org.opendaylight.mdsal.binding.dom.codec.osgi.impl.OsgiModuleInfoRegistry)
      	at org.opendaylight.mdsal.binding.dom.codec.osgi.impl.OsgiModuleInfoRegistry$ObjectRegistrationWrapper.close(OsgiModuleInfoRegistry.java:88)
      	at org.opendaylight.mdsal.binding.dom.codec.osgi.impl.ModuleInfoBundleTracker.removedBundle(ModuleInfoBundleTracker.java:118)
      	at org.opendaylight.mdsal.binding.dom.codec.osgi.impl.ModuleInfoBundleTracker.removedBundle(ModuleInfoBundleTracker.java:34)
      	at org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(BundleTracker.java:495)
      	at org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(BundleTracker.java:415)
      	at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
      	at org.osgi.util.tracker.BundleTracker.close(BundleTracker.java:192)
      	at org.opendaylight.mdsal.binding.dom.codec.osgi.impl.Activator.stop(Activator.java:53)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:835)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:828)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:947)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
      	at org.eclipse.osgi.container.Module.doStop(Module.java:636)
      	at org.eclipse.osgi.container.Module.stop(Module.java:498)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1675)
      	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1594)
      	- locked <0x0000000080adf690> (a java.lang.Object)
      	at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
      	at org.eclipse.osgi.container.Module.doStop(Module.java:636)
      	at org.eclipse.osgi.container.Module.stop(Module.java:498)
      	at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
      	at java.lang.Thread.run(Thread.java:748)

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: