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

Typedef package doesn't changes after cloning, still takes groupings package.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      19

      Description

      Logs :
      mvn clean install
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building onlab-test 1.7.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ onlab-test —
      [INFO] Deleting /opt/onos-master/onos/utils/test/target
      [INFO]
      [INFO] — jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (default-prepare-agent) @ onlab-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) @ onlab-test —
      [INFO] Source directory added to compilation root: /opt/onos-master/onos/utils/test/target/generated-sources/
      [INFO] Source directory added to compilation root: /opt/onos-master/onos/utils/test/src/main/java/
      [INFO]
      [INFO] — maven-resources-plugin:2.7:resources (default-resources) @ onlab-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] Copying 2 resources
      [INFO] Copying 2 resources
      [INFO]
      [INFO] — maven-compiler-plugin:2.5.1:compile (default-compile) @ onlab-test —
      [INFO] Compiling 25 source files to /opt/onos-master/onos/utils/test/target/classes
      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/DefaultValid.java:[25,80] error: package org.onosproject.yang.gen.v1.http.huawei.com.rev20160722.test.valid.fourth does not exist
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/Valid.java:[21,80] error: package org.onosproject.yang.gen.v1.http.huawei.com.rev20160722.test.valid.fourth does not exist
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/DefaultValid.java:[35,14] error: cannot find symbol
      [ERROR] symbol: class MyType
      location: class DefaultValid
      /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/DefaultValid.java:[46,11] error: cannot find symbol
      [ERROR] symbol: class MyType
      location: class DefaultValid
      /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/Valid.java:[40,4] error: cannot find symbol
      [ERROR] symbol: class MyType
      location: interface Valid
      /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/DefaultValid.java:[147,18] error: cannot find symbol
      [ERROR] symbol: class MyType
      location: class DefaultValid.ValidBuilder
      /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/DefaultValid.java:[159,15] error: cannot find symbol
      [ERROR] symbol: class MyType
      location: class DefaultValid.ValidBuilder
      /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/DefaultValid.java:[185,36] error: cannot find symbol
      [ERROR] symbol: class MyType
      location: class DefaultValid.ValidBuilder
      /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/Valid.java:[80,8] error: cannot find symbol
      [ERROR] symbol: class MyType
      location: interface ValidBuilder
      /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/Valid.java:[117,29] error: cannot find symbol
      [ERROR] symbol: class MyType
      location: interface ValidBuilder
      /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/ValidOpParam.java:[21,80] error: package org.onosproject.yang.gen.v1.http.huawei.com.rev20160722.test.valid.fourth does not exist
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/ValidOpParam.java:[112,36] error: cannot find symbol
      [INFO] 12 errors
      [INFO] -------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3.062 s
      [INFO] Finished at: 2016-07-22T17:01:00+05:30
      [INFO] Final Memory: 31M/327M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project onlab-test: Compilation failure: Compilation failure:
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/DefaultValid.java:[25,80] error: package org.onosproject.yang.gen.v1.http.huawei.com.rev20160722.test.valid.fourth does not exist
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/Valid.java:[21,80] error: package org.onosproject.yang.gen.v1.http.huawei.com.rev20160722.test.valid.fourth does not exist
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/DefaultValid.java:[35,14] error: cannot find symbol
      [ERROR] symbol: class MyType
      [ERROR] location: class DefaultValid
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/DefaultValid.java:[46,11] error: cannot find symbol
      [ERROR] symbol: class MyType
      [ERROR] location: class DefaultValid
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/Valid.java:[40,4] error: cannot find symbol
      [ERROR] symbol: class MyType
      [ERROR] location: interface Valid
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/DefaultValid.java:[147,18] error: cannot find symbol
      [ERROR] symbol: class MyType
      [ERROR] location: class DefaultValid.ValidBuilder
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/DefaultValid.java:[159,15] error: cannot find symbol
      [ERROR] symbol: class MyType
      [ERROR] location: class DefaultValid.ValidBuilder
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/DefaultValid.java:[185,36] error: cannot find symbol
      [ERROR] symbol: class MyType
      [ERROR] location: class DefaultValid.ValidBuilder
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/Valid.java:[80,8] error: cannot find symbol
      [ERROR] symbol: class MyType
      [ERROR] location: interface ValidBuilder
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/Valid.java:[117,29] error: cannot find symbol
      [ERROR] symbol: class MyType
      [ERROR] location: interface ValidBuilder
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/ValidOpParam.java:[21,80] error: package org.onosproject.yang.gen.v1.http.huawei.com.rev20160722.test.valid.fourth does not exist
      [ERROR] /opt/onos-master/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/http/huawei/com/rev20160722/test/ValidOpParam.java:[112,36] error: cannot find symbol
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      root1@root1-HP-EliteBook-840-G2:/opt/onos-master/onos/utils/test$

        Attachments

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

          Activity

            People

            Assignee:
            Vidyashree-Huawei Vidyashree Rama
            Reporter:
            huawei-adarsh Adarsh m
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: