Uploaded image for project: 'odlparent'
  1. odlparent
  2. ODLPARENT-20

ODL Parent Change broke SFC and OVSDB

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 4096
    • Highest

    Description

      I think it is this patch broke SFC.

      https://git.opendaylight.org/gerrit/#/c/24502/4

      SFC-verify does not pass anymore. Out of the blue we started getting these erros:

      https://jenkins.opendaylight.org/releng/view/sfc/job/sfc-verify-master/

      I see these errors:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:testCompile (default-testCompile) on project sfc-provider: Compilation failure: Compilation failure: [ERROR] /opt/jenkins/workspace/sfc-verify-master/jdk/openjdk7/nodes/dynamic_verify/ sfc-provider/src/test/java/org/opendaylight/sfc/provider/bootstrap/SfcProvi derBootstrapRestAPITest.java:[72,26] unreported exception org.json.JSONException; must be caught or declared to be thrown [ERROR] /opt/jenkins/workspace/sfc-verify-master/jdk/openjdk7/nodes/dynamic_verify/ sfc-provider/src/test/java/org/opendaylight/sfc/provider/bootstrap/SfcProvi derBootstrapRestAPITest.java:[75,50] unreported exception org.json.JSONException; must be caught or declared to be thrown [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[ERROR ] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :sfc-provider

      We provided a patch to fix these compilation errors and then other bundle related issues appeared:

      Can't install feature odl-sfc-core/0.2.0-SNAPSHOT:
      Could not start bundle
      mvn:org.opendaylight.sfc/sfc-provider/0.2.0-SNAPSHOT in feature(s)
      odl-sfc-provider-0.2.0-SNAPSHOT: The bundle
      "org.opendaylight.sfc.provider_0.2.0.SNAPSHOT [286]" could not be
      resolved. Reason: Missing Constraint: Import-Package: org.json;
      version="[20090211.0.0,20090212.0.0)"
      Can't install feature odl-sfc-provider/0.2.0-SNAPSHOT:
      Could not start bundle
      mvn:org.opendaylight.sfc/sfc-provider/0.2.0-SNAPSHOT in feature(s)
      odl-sfc-provider-0.2.0-SNAPSHOT: The bundle
      "org.opendaylight.sfc.provider_0.2.0.SNAPSHOT [286]" could not be
      resolved. Reason: Missing Constraint: Import-Package: org.json;
      version="[20090211.0.0,20090212.0.0)"
      Can't install feature odl-sfc-test-consumer/0.2.0-SNAPSHOT:
      Could not start bundle
      mvn:org.opendaylight.sfc/sfc-provider/0.2.0-SNAPSHOT in feature(s)
      odl-sfc-provider-0.2.0-SNAPSHOT: The bundle
      "org.opendaylight.sfc.provider_0.2.0.SNAPSHOT [286]" could not be
      resolved. Reason: Missing Constraint: Import-Package: org.json;
      version="[20090211.0.0,20090212.0.0)"
      Can't install feature odl-sfc-ui/0.2.0-SNAPSHOT:
      Could not start bundle
      mvn:org.opendaylight.sfc/sfc-provider/0.2.0-SNAPSHOT in feature(s)
      odl-sfc-provider-0.2.0-SNAPSHOT: The bundle
      "org.opendaylight.sfc.provider_0.2.0.SNAPSHOT [286]" could not be
      resolved. Reason: Missing Constraint: Import-Package: org.json;
      version="[20090211.0.0,20090212.0.0)"

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            repenno Reinaldo Penno
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: