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

YANG Compiler : OpenConfig - Failing to link in augment and grouping scenario.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.11.0
    • Fix Version/s: 1.11.0
    • Component/s: YangCompiler
    • Labels:
      None

      Description

      Logs Defect 6 :
      BUILD FAILED: //models/demo:onos-models-demo-yang#srcs failed on step yang-compile with an exception:
      Error in file: openconfig-if-ip in /home/root1/onos/models/demo/src/openconfig-if-ip.yang at line: 0 at position: 0
      Failed to link /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:addresses/oc-ip:address in 912 at 2 in /home/root1/onos/models/demo/src/openconfig-if-ip.yang
      org.onosproject.yang.compiler.api.YangCompilerException: Error in file: openconfig-if-ip in /home/root1/onos/models/demo/src/openconfig-if-ip.yang at line: 0 at position: 0
      Failed to link /oc-if:interfaces/oc-if:interface/oc-if:subinterfaces/oc-if:subinterface/oc-ip:ipv6/oc-ip:addresses/oc-ip:address in 912 at 2 in /home/root1/onos/models/demo/src/openconfig-if-ip.yang
      at org.onosproject.yang.compiler.tool.impl.YangCompilerManager.resolveDependenciesUsingLinker(YangCompilerManager.java:316)
      at org.onosproject.yang.compiler.tool.impl.YangCompilerManager.processYangFiles(YangCompilerManager.java:214)
      at org.onosproject.yang.compiler.tool.impl.YangCompilerManager.compileYangFiles(YangCompilerManager.java:100)
      at org.onosproject.yang.compiler.plugin.buck.YangGenerator.execute(YangGenerator.java:93)
      at org.onosproject.yang.compiler.plugin.buck.YangStep.execute(YangStep.java:71)
      at com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget(DefaultStepRunner.java:62)
      at com.facebook.buck.rules.CachingBuildEngine.executeCommandsNowThatDepsAreBuilt(CachingBuildEngine.java:1240)
      at com.facebook.buck.rules.CachingBuildEngine.lambda$null$0(CachingBuildEngine.java:320)
      at com.facebook.buck.util.concurrent.WeightedListeningExecutorService.lambda$submitWithSemaphore$0(WeightedListeningExecutorService.java:77)
      at com.google.common.util.concurrent.Futures$AsyncChainingFuture.doTransform(Futures.java:1442)
      at com.google.common.util.concurrent.Futures$AsyncChainingFuture.doTransform(Futures.java:1433)
      at com.google.common.util.concurrent.Futures$AbstractChainingFuture.run(Futures.java:1408)
      at com.google.common.util.concurrent.Futures$2$1.run(Futures.java:1177)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            janani Janani B
            Reporter:
            janani Janani B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: