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

IOexecption occured for module without any definitions.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1

      Description

      Hi,

      Pls check this issue and confirm,

      Defect : IOexecption occured for module without any definitions.

      YANG :
      module test1

      { yang-version 1; namespace "test1:level1:level2"; prefix test; organization "huawei"; contact "bharat.saraswal@huawei.com"; description "test"; revision 2015-02-12; }

      Logs :
      root1@root1-HP-EliteBook-840-G2:/opt/onos-master/onos/utils/test$ mvn install
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building test 1.5.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (default-prepare-agent) @ test —
      [INFO] argLine set to -javaagent:/home/root1/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/opt/onos-master/onos/utils/test/target/jacoco.exec -Duser.language=en -Duser.region=US
      [INFO]
      [INFO] — yangutils-maven-plugin:1.0.0-SNAPSHOT:yang2java (default) @ test —
      /opt/onos-master/onos/utils/test/src/main/yangmodel/org/onosproject/yang/gen/v1/test1/level1/level2/rev20150212[INFO] There is no attribute info of Test1 YANG file in the temporary files.
      [INFO] IOException occured
      [INFO]
      [INFO] — maven-resources-plugin:2.7:resources (default-resources) @ test —
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /opt/onos-master/onos/utils/test/src/main/resources
      [INFO]
      [INFO] — maven-compiler-plugin:2.5.1:compile (default-compile) @ test —
      [INFO] No sources to compile
      [INFO]
      [INFO] — maven-resources-plugin:2.7:testResources (default-testResources) @ test —
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /opt/onos-master/onos/utils/test/src/test/resources
      [INFO]
      [INFO] — maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ test —
      [INFO] No sources to compile
      [INFO]
      [INFO] — maven-surefire-plugin:2.19.1:test (default-test) @ test —
      [INFO] No tests to run.
      [INFO]
      [INFO] — jacoco-maven-plugin:0.7.5.201505241946:report (default-report) @ test —
      [INFO] Skipping JaCoCo execution due to missing execution data file:/opt/onos-master/onos/utils/test/target/jacoco.exec
      [INFO]
      [INFO] — maven-bundle-plugin:3.0.1:bundle (default-bundle) @ test —
      [WARNING] Bundle org.onosproject:test:bundle:1.5.0-SNAPSHOT : The JAR is empty: The instructions for the JAR named org.onosproject.test did not cause any content to be included, this is likely wrong
      [INFO]
      [INFO] — maven-jar-plugin:2.6:test-jar (default) @ test —
      [INFO] Skipping packaging of the test-jar
      [INFO]
      [INFO] — maven-checkstyle-plugin:2.17:check (validate-checkstyle) @ test —
      [INFO]
      [INFO] — maven-install-plugin:2.5.2:install (default-install) @ test —
      [INFO] Installing /opt/onos-master/onos/utils/test/target/test-1.5.0-SNAPSHOT.jar to /home/root1/.m2/repository/org/onosproject/test/1.5.0-SNAPSHOT/test-1.5.0-SNAPSHOT.jar
      [INFO] Installing /opt/onos-master/onos/utils/test/pom.xml to /home/root1/.m2/repository/org/onosproject/test/1.5.0-SNAPSHOT/test-1.5.0-SNAPSHOT.pom
      [INFO]
      [INFO] — maven-bundle-plugin:3.0.1:install (default-install) @ test —
      [INFO] Installing org/onosproject/test/1.5.0-SNAPSHOT/test-1.5.0-SNAPSHOT.jar
      [INFO] Writing OBR metadata
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3.933 s
      [INFO] Finished at: 2016-03-08T15:53:03+05:30
      [INFO] Final Memory: 25M/323M
      [INFO] ------------------------------------------------------------------------

        Attachments

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

          Activity

            People

            Assignee:
            bsaraswal bharat saraswal
            Reporter:
            huawei-adarsh Adarsh m
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: