Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-2490

FUNCintent test caught "IllegalStateExceptions"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
    • Environment:
    • Epic Link:
    • Sprint:
      Drake Sprint 2 (7/27-8/14) 2, Drake Sprint 3 (8/17-8/28)

      Description

      Exception caught during FUNCintent test:

      2015-07-29 14:25:17,689 | WARN | -intent-worker-0 | ConsistentIdBlockStore | 79 - org.onosproject.onos-core-dist - 1.3.0.SNAPSHOT | Unable to allocate ID block due to null; retrying...
      2015-07-29 14:25:17,786 | WARN | nos-intent-batch | IntentManager | 77 - org.onosproject.onos-core-net - 1.3.0.SNAPSHOT | Future failed: {}
      java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Unable to allocate ID block
      at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_31]
      at java.util.concurrent.FutureTask.get(FutureTask.java:192)[:1.8.0_31]
      at org.onosproject.net.intent.impl.IntentManager$IntentBatchProcess.waitForFutures(IntentManager.java:364)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.impl.IntentManager$IntentBatchProcess.run(IntentManager.java:339)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_31]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_31]
      Caused by: java.lang.IllegalStateException: Unable to allocate ID block
      at org.onosproject.store.core.impl.ConsistentIdBlockStore.getIdBlock(ConsistentIdBlockStore.java:69)[79:org.onosproject.onos-core-dist:1.3.0.SNAPSHOT]
      at org.onosproject.core.impl.StoreBasedIdBlockAllocator.allocateUniqueIdBlock(StoreBasedIdBlockAllocator.java:39)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
      at org.onosproject.core.impl.BlockAllocatorBasedIdGenerator.getNewId(BlockAllocatorBasedIdGenerator.java:52)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.Intent.<init>(Intent.java:78)[75:org.onosproject.onos-api:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.ConnectivityIntent.<init>(ConnectivityIntent.java:75)[75:org.onosproject.onos-api:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.PathIntent.<init>(PathIntent.java:59)[75:org.onosproject.onos-api:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.PathIntent$Builder.build(PathIntent.java:140)[75:org.onosproject.onos-api:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.impl.compiler.HostToHostIntentCompiler.createPathIntent(HostToHostIntentCompiler.java:107)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.impl.compiler.HostToHostIntentCompiler.compile(HostToHostIntentCompiler.java:74)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.impl.compiler.HostToHostIntentCompiler.compile(HostToHostIntentCompiler.java:46)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.impl.CompilerRegistry.compile(CompilerRegistry.java:82)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.impl.IntentManager$InternalIntentProcessor.compile(IntentManager.java:394)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.impl.phase.Compiling.execute(Compiling.java:57)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.impl.phase.IntentWorker.call(IntentWorker.java:48)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
      at org.onosproject.net.intent.impl.phase.IntentWorker.call(IntentWorker.java:27)[77:org.onosproject.onos-core-net:1.3.0.SNAPSHOT]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_31]
      ... 3 more
      Caused by: org.onosproject.store.service.StorageException$Timeout
      at org.onosproject.store.consistent.impl.DefaultAtomicCounter.complete(DefaultAtomicCounter.java:79)[79:org.onosproject.onos-core-dist:1.3.0.SNAPSHOT]
      at org.onosproject.store.consistent.impl.DefaultAtomicCounter.getAndAdd(DefaultAtomicCounter.java:59)[79:org.onosproject.onos-core-dist:1.3.0.SNAPSHOT]
      at org.onosproject.store.core.impl.ConsistentIdBlockStore.getIdBlock(ConsistentIdBlockStore.java:60)[79:org.onosproject.onos-core-dist:1.3.0.SNAPSHOT]
      ... 18 more
      2015-07-29 14:25:17,797 | WARN | -intent-worker-2 | ConsistentIdBlockStore | 79 - org.onosproject.onos-core-dist - 1.3.0.SNAPSHOT | Unable to alloca

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            madan Madan Jampani
            Reporter:
            suibin suibin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: