Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-905

Incorrect CPS Temporal docker image tested by CSIT Jenkins jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Jakarta Release
    • Istanbul Release, Jakarta Release
    • CPS-Temporal
    • None

      Current behaviour:

      When pushing a CPS Temporal change in gerrit, docker image under test is `nexus3.onap.org:10003/onap/cps-temporal:latest`

      But no docker image is built during the job itself, then latest docker image is pull from nexus registry for testing the current change. This is not relevant.

      See: https://jenkins.onap.org/job/cps-cps-temporal-review-verification-maven-master/116/console

      23:02:23 + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn clean install -e --global-settings /w/workspace/cps-cps-temporal-review-verification-maven-master@tmp/config7638351493444124761tmp --settings /w/workspace/cps-cps-temporal-review-verification-maven-master@tmp/config7234762936514290069tmp -DaltDeploymentRepository=staging::default::file:/w/workspace/cps-cps-temporal-review-verification-maven-master/m2repo --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.test.skip=true -Ddocker.repository.push=
      
      ...
      
      23:04:21 de9acd553ae7   nexus3.onap.org:10003/onap/cps-temporal:latest 

      Expected behaviour:

      The docker image corresponding to the current change is build from the verification job and used to run csit tests.

      Docker build goal from jib maven plugin is expected to be part of Jenkins job before launching the tests:

      --- jib-maven-plugin:3.0.0:dockerBuild (build) @ cps-temporal ---
      

       

            brusak brusak
            brusak brusak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: