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

4 Checkstyle errors occurred for standard ietf files.

    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:
      15

      Description

      Defect : 4 Checkstyle errors occurred for standard ietf files.

      Logs :
      root1@root1-HP-EliteBook-840-G2:/opt/onos-master/onos/utils/test$ 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/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 12 resources
      [INFO] Copying 12 resources
      [INFO]
      [INFO] — maven-compiler-plugin:2.5.1:compile (default-compile) @ onlab-test —
      [INFO] Compiling 160 source files to /opt/onos-master/onos/utils/test/target/classes
      [INFO]
      [INFO] — maven-resources-plugin:2.7:testResources (default-testResources) @ onlab-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) @ onlab-test —
      [INFO] No sources to compile
      [INFO]
      [INFO] — maven-surefire-plugin:2.19.1:test (default-test) @ onlab-test —
      [INFO] No tests to run.
      [INFO]
      [INFO] — jacoco-maven-plugin:0.7.5.201505241946:report (default-report) @ onlab-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) @ onlab-test —
      [INFO]
      [INFO] — maven-jar-plugin:2.6:test-jar (default) @ onlab-test —
      [INFO] Skipping packaging of the test-jar
      [INFO]
      [INFO] — maven-checkstyle-plugin:2.17:check (validate-checkstyle) @ onlab-test —
      [INFO] There are 4 errors reported by Checkstyle 6.11.2 with onos/checkstyle.xml ruleset.
      [ERROR] src/main/java/org/onosproject/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/access/control/list/rev20160218/ietfaccesscontrollist/AclBase.java:[17] (sizes) LineLength: Line is longer than 120 characters (found 123).
      [ERROR] src/main/java/org/onosproject/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/access/control/list/rev20160218/ietfaccesscontrollist/Ipv6Acl.java:[17] (sizes) LineLength: Line is longer than 120 characters (found 123).
      [ERROR] src/main/java/org/onosproject/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/access/control/list/rev20160218/ietfaccesscontrollist/Ipv4Acl.java:[17] (sizes) LineLength: Line is longer than 120 characters (found 123).
      [ERROR] src/main/java/org/onosproject/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/access/control/list/rev20160218/ietfaccesscontrollist/EthAcl.java:[17] (sizes) LineLength: Line is longer than 120 characters (found 123).
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 10.201 s
      [INFO] Finished at: 2016-07-08T17:15:13+05:30
      [INFO] Final Memory: 47M/589M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (validate-checkstyle) on project onlab-test: You have 4 Checkstyle violations. -> [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:
            bsaraswal bharat saraswal
            Reporter:
            huawei-adarsh Adarsh m
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: