-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.10.0
-
Component/s: None
-
Labels:None
-
Story Points:5
module vidya {
namespace "vidyabijoor";
prefix "siltest3";
description
"Test SIL code generation for nested lists and union types.";
revision 2011-09-16
{ description "Initial version."; } list u {
key ux;
leaf ux {
type union
}
leaf uy
leaf uz { config false; type uint32; }
leaf uu {
config false;
type union { type int32; type uint8; }
}
}
list c {
key x;
leaf x { type uint16; }
leaf z { type uint64; config false; }
leaf cuu {
type union { type int32; type uint8; type string; }
}
list cc {
key "xx1 xx2 xx3 xx4 xx5 xx6 xx7 xx8 xx9";
leaf xx1 {
type union { type uint32; type string; }
}
leaf xx2 { type int8; }
leaf xx3 { type int16; }
leaf xx4 { type int32; }
leaf xx5 { type int64; }
leaf xx6 { type uint8; }
leaf xx7 { type uint16; }
leaf xx8 { type uint32; }
leaf xx9
{ type uint64; }leaf yy
{ type int32; }leaf zz
{ type uint64; config false; }list ccc {
key xxx;
leaf xxx { type string; }
leaf yyy { type boolean; }
leaf zzz { type uint64; config false; }
}
}
}
notification n {
leaf a
leaf c
{ type int64; } }
}
mcis
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building onlab-test 1.9.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ onlab-test —
[INFO] Deleting /home/root1/onos/utils/test/target
[INFO]
[INFO] — jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (default-prepare-agent) @ onlab-test —
[INFO] argLine set to -javaagent:/home/root1/.m2/repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/home/root1/onos/utils/test/target/jacoco.exec -Duser.language=en -Duser.region=US
[INFO]
[INFO] — onos-yang-compiler-maven-plugin:1.12-SNAPSHOT:yang2java (default) @ onlab-test —
[INFO] Source directory added to compilation root: /home/root1/onos/utils/test/target/generated-sources/
[INFO]
[INFO] — maven-resources-plugin:3.0.1:resources (default-resources) @ onlab-test —
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/root1/onos/utils/test/src/main/resources
[INFO] Copying 2 resources
[INFO]
[INFO] — maven-compiler-plugin:2.5.1:compile (default-compile) @ onlab-test —
[INFO] Compiling 46 source files to /home/root1/onos/utils/test/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/root1/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/vidyabijoor/rev20110916/RpcExtendedCommand.java:[34,14] error: incompatible types: org.onosproject.yang.model.ResourceId cannot be converted to org.onosproject.config.model.ResourceId
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.942 s
[INFO] Finished at: 2017-02-10T11:41:01+05:30
[INFO] Final Memory: 30M/322M
[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
[ERROR] /home/root1/onos/utils/test/target/generated-sources/org/onosproject/yang/gen/v1/vidyabijoor/rev20110916/RpcExtendedCommand.java:[34,14] error: incompatible types: org.onosproject.yang.model.ResourceId cannot be converted to org.onosproject.config.model.ResourceId
[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:~/onos/utils/test$