Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-308

Gerrit Verify job for hydrogen/stable release branch fails to build.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • config
    • None
    • Operating System: Linux
      Platform: PC

    • 717

    Description

      Jenkins Verify job for hydrogen/stable release branch is executing with following goals: "mvn clean install -Pintegrationtests,doc"

      while building distribution component, build fails with following error message:

      !ENTRY org.opendaylight.controller.config-persister-impl 4 0 2014-04-10 21:12:05.850
      !MESSAGE FrameworkEvent ERROR
      !STACK 0
      org.osgi.framework.BundleException: The bundle "org.opendaylight.controller.config-persister-impl_0.2.4.1-SNAPSHOT [159]" could not be resolved. Reason: Missing Constraint: Require-Capability: org.opendaylight.controller.config.persister.storage.adapter

      See link below for entire error message:
      https://jenkins.opendaylight.org/controller/job/controller-verify/4528/console

      After analyzing the failure, issue seems to be in opendaylight/config/config-persister-directory-adapter/pom.xml and the snippet:

      <plugins>
      <!-- workaround for creating version according to OSGi specification (major.minor.micro[.qualifier] -->
      <plugin>
      <groupId>org.codehaus.groovy.maven</groupId>
      <artifactId>gmaven-plugin</artifactId>
      <executions>
      <execution>
      <phase>generate-sources</phase>
      <goals>
      <goal>execute</goal>
      </goals>
      <configuration>
      <source>
      System.setProperty("osgiversion", "${project.version}".replace('-', '.'))
      </source>
      </configuration>
      </execution>
      </executions>
      </plugin>

      on stable branch we have versioning scheme as 0.2.4-1-SNAPSHOT which is being replaced as 0.2.4.1 and we will not be able to find it.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            sbejgam@cisco.com Surekha Bejgam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: