Uploaded image for project: 'VNF Validation Program'
  1. VNF Validation Program
  2. VVP-41

Build failure on vvp nexus3 authentication secret missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • Beijing Release
    • VVP Sprint 2

      Building vvp ran into issues with nexus3 authentication - poms are missing user/pass registry secret.

       Reproduction - pull repos - run maven build using onap-root pom.xml

       

      Only the following work

            <module>vnfsdk/lctest</module>

            <!-module>vnfsdk/refrepo</module->

            <module>vnfsdk/validation</module>

            <!-module>vvp/cms</module> <!- -->

            <!-module>vvp/engagementmgr</module->

            <module>vvp/gitlab</module>

            <!-module>vvp/image-scanner</module->

            <!-module>vvp/jenkins</module->

            <!-module>vvp/portal</module->

            <!-module>vvp/postgresql</module->

            <!-module>vvp/test-engine</module->

      [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:report (post-unit-test) @ cms ---
      
      [INFO] Skipping JaCoCo execution due to missing execution data file.
      
      [INFO]
      
      [INFO] <<< docker-maven-plugin:0.19.1:build (generate-images) < package @ cms <<<
      
      [INFO]
      
      [INFO]
      
      [INFO] --- docker-maven-plugin:0.19.1:build (generate-images) @ cms ---
      
      [ERROR] DOCKER> Unable to pull 'python:alpine' from registry 'nexus3.onap.org:10003'
      
      
      
      
      
      [INFO] vnfsdk-lctest ...................................... SUCCESS [  0.798 s]
      
      [INFO] vnf-sdk-validate-lc-test/lifecycle-test-service .... SUCCESS [  3.852 s]
      
      [INFO] vnf-sdk-validate-lc-test/deployment ................ SUCCESS [  4.970 s]
      
      [INFO] csarvalidation/validation .......................... SUCCESS [  4.446 s]
      
      [INFO] vnfsdk-validation .................................. SUCCESS [  0.756 s]
      
      [INFO] csarvalidation/deployment .......................... SUCCESS [  0.687 s]
      
      [INFO] vvp-cms ............................................ FAILURE [  5.106 s]
      
      [INFO] vvp-engagementmgr .................................. SKIPPED
      
      [INFO] vvp-gitlab ......................................... SKIPPED
      
      [INFO] vvp-image-scanner .................................. SKIPPED
      
      [INFO] vvp-jenkins ........................................ SKIPPED
      
      [INFO] vvp-portal ......................................... SKIPPED
      
      [INFO] vvp-postgresql ..................................... SKIPPED
      
      [INFO] vvp-test-engine .................................... SKIPPED
      
      [INFO] onap.root .......................................... SKIPPED
      
      [INFO] ------------------------------------------------------------------------
      
      [INFO] BUILD FAILURE
      
      [INFO] ------------------------------------------------------------------------
      
      [INFO] Total time: 30:09 min
      
      [INFO] Finished at: 2017-12-28T01:38:33-05:00
      
      [INFO] Final Memory: 1889M/3700M
      
      [INFO] ------------------------------------------------------------------------
      
      [ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.19.1:build (generate-images) on project cms: Unable to pull 'python:alpine' from registry 'nexus3.onap.org:10003': Get https://nexus3.onap.org:10003/v2/python/manifests/alpine: no basic auth credentials (Internal Server Error: 500) -> [Help 1]
      
      [ERROR]
      
      
      
      again
      
      [INFO] --- docker-maven-plugin:0.19.1:build (generate-images) @ cms ---
      
      [ERROR] DOCKER> Unable to pull 'python:alpine' from registry 'nexus3.onap.org:10003'
      
      [INFO] ------------------------------------------------------------------------
      
      [INFO] BUILD FAILURE
      
      [INFO] ------------------------------------------------------------------------
      
      [INFO] Total time: 7.138 s
      
      [INFO] Finished at: 2017-12-28T09:06:32-05:00
      
      [INFO] Final Memory: 29M/382M
      
      
      
      
      
      [ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.19.1:build (generate-images) on project jenkins: Unable to pull 'jenkinsci/jenkins:alpine' from registry 'nexus3.onap.org:10003': Get https://nexus3.onap.org:10003/v2/jenkinsci/jenkins/manifests/alpine: no basic auth credentials (Internal Server Error: 500) -> [Help 1]
      
      
      
      [ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.19.0:build (generate-images) on project image-scanner: Execution generate-images of goal io.fabric8:docker-maven-plugin:0.19.0:build failed: JSONObject["auth"] not found. -> [Help 1]
      
      
      
      [ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.19.1:build (generate-images) on project engagementmgr: Unable to pull 'python:alpine' from registry 'nexus3.onap.org:10003': Get https://nexus3.onap.org:10003/v2/python/manifests/alpine: no basic auth credentials (Internal Server Error: 500) -> [Help 1]
      
      
      
      
      
      [ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.19.1:build (generate-images) on project portal: Unable to pull 'nginx:1.11.9-alpine' from registry 'nexus3.onap.org:10003': Get https://nexus3.onap.org:10003/v2/nginx/manifests/1.11.9-alpine: no basic auth credentials (Internal Server Error: 500) -> [Help 1]
      
      
      
      
      
      [ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.19.1:build (generate-images) on project postgresql: Unable to pull 'postgres:9.6' from registry 'nexus3.onap.org:10003': Get https://nexus3.onap.org:10003/v2/postgres/manifests/9.6: no basic auth credentials (Internal Server Error: 500) -> [Help 1]
      
      
      
      [ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.19.1:build (generate-images) on project test-engine: Unable to pull 'python:alpine' from registry 'nexus3.onap.org:10003': Get https://nexus3.onap.org:10003/v2/python/manifests/alpine: no basic auth credentials (Internal Server Error: 500) -> [Help 1]

            eriks eriks
            michaelobrien michaelobrien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: