Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48335

When running jobs, it seems to be always installing rbenv

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • rbenv-plugin
    • None
    • Jenkins 2.60.2
      CentOS 7 (3.10.0-327.28.2.el7.x86_64)

      This is what the console output shows before the failure notice appears.

      $ bash -c "[ -d \$HOME/.rbenv ]"
      $ bash -c "[ -d \$HOME/.rbenv/plugins/ruby-build ]"
      $ bash -c "cd /Users/romeoartista/jenkinshome/workspace/machine-setup && env RBENV_ROOT\=\$HOME/.rbenv RBENV_VERSION\=2.2.4 CONFIGURE_OPTS\= RUBY_CONFIGURE_OPTS\= \$HOME/.rbenv/bin/rbenv local 2>/dev/null || true"
      $ bash -c "mkdir \$HOME/.rbenv/.lock"
      $ bash -c "env RBENV_ROOT\=\$HOME/.rbenv RBENV_VERSION\=2.2.4 CONFIGURE_OPTS\= RUBY_CONFIGURE_OPTS\= \$HOME/.rbenv/bin/rbenv versions --bare"
      Updating rbenv...
      $ bash -c "cd \$HOME/.rbenv && git checkout master && git pull"
      Already on 'master'
      Your branch is up-to-date with 'origin/master'.
      Already up-to-date.
      Updated rbenv.
      Updating ruby-build...
      $ bash -c "cd \$HOME/.rbenv/plugins/ruby-build && git checkout master && git pull"
      Already on 'master'
      Your branch is up-to-date with 'origin/master'.
      Already up-to-date.
      Updated ruby-build.
      Installing 2.2.4...
      $ bash -c "env RBENV_ROOT\=\$HOME/.rbenv RBENV_VERSION\=2.2.4 CONFIGURE_OPTS\= RUBY_CONFIGURE_OPTS\= \$HOME/.rbenv/bin/rbenv install 2.2.4"
      Downloading openssl-1.0.2m.tar.gz...
      -> https://dqw8nmjcqpjn7.cloudfront.net/8c6ff15ec6b319b50788f42c7abc2890c08ba5a1cdcd3810eb9092deada37b0f
      Installing openssl-1.0.2m...
      $HOME/.rbenv/plugins/ruby-build/bin/ruby-build: line 1029: //$HOME/.rbenv/versions/2.2.4/openssl/ssl/cert.pem: No such file or directory
      
      BUILD FAILED (OS X 10.12 using ruby-build 20170914-17-g331a408)
      
      Inspect or clean up the working tree at /tmp/ruby-build.20171201181018.15940
      Results logged to /tmp/ruby-build.20171201181018.15940.log
      
      Last 10 log lines:
      libraries for your version of UNIX. The following manpages may be
      helpful: ld(1), ld.so(1), ld.so.1(1) [Solaris], dld.sl(1) [HP],
      ldd(1), crle(1) [Solaris], pldd(1) [Solaris], ldconfig(8) [Linux],
      chatr(1) [HP].
      cp libcrypto.pc //OME/.rbenv/versions/2.2.4/openssl/lib/pkgconfig
      chmod 644 //OME/.rbenv/versions/2.2.4/openssl/lib/pkgconfig/libcrypto.pc
      cp libssl.pc //OME/.rbenv/versions/2.2.4/openssl/lib/pkgconfig
      chmod 644 //OME/.rbenv/versions/2.2.4/openssl/lib/pkgconfig/libssl.pc
      cp openssl.pc //OME/.rbenv/versions/2.2.4/openssl/lib/pkgconfig
      chmod 644 //OME/.rbenv/versions/2.2.4/openssl/lib/pkgconfig/openssl.pc
      $ bash -c "rm -rf \$HOME/.rbenv/.lock"
      FATAL: (CommandError) failed: "env RBENV_ROOT\\=\\$HOME/.rbenv RBENV_VERSION\\=2.2.4 CONFIGURE_OPTS\\= RUBY_CONFIGURE_OPTS\\= \\$HOME/.rbenv/bin/rbenv install 2.2.4"
      org.jruby.exceptions.RaiseException: (CommandError) failed: "env RBENV_ROOT\\=\\$HOME/.rbenv RBENV_VERSION\\=2.2.4 CONFIGURE_OPTS\\= RUBY_CONFIGURE_OPTS\\= \\$HOME/.rbenv/bin/rbenv install 2.2.4"
      at Rbenv::InvokeCommand.run(/var/lib/jenkins/plugins/rbenv/WEB-INF/classes/lib/rbenv/invoke.rb:18)
      at RUBY.setup!(/var/lib/jenkins/plugins/rbenv/WEB-INF/classes/lib/rbenv.rb:29)
      at RUBY.synchronize(/var/lib/jenkins/plugins/rbenv/WEB-INF/classes/lib/rbenv/semaphore.rb:15)
      at RUBY.setup!(/var/lib/jenkins/plugins/rbenv/WEB-INF/classes/lib/rbenv.rb:24)
      at RUBY.setup(/var/lib/jenkins/plugins/rbenv/WEB-INF/classes/models/rbenv_wrapper.rb:65)
      at RUBY.setUp(/var/lib/jenkins/plugins/rbenv/WEB-INF/classes/vendor/gems/bundler/../gems/jenkins-plugin-runtime-0.2.3/lib/jenkins/model/environment_proxy.rb:8)
      Finished: FAILURE
      

       

      Installed plugins:

      ace-editor 1.1
      ansicolor 0.5.0
      ant 1.5
      antisamy-markup-formatter 1.5
      authentication-tokens 1.3
      blueocean 1.1.5
      blueocean-autofavorite 1.0.0
      blueocean-commons 1.1.5
      blueocean-config 1.1.5
      blueocean-dashboard 1.1.5
      blueocean-display-url 2.1.0
      blueocean-events 1.1.5
      blueocean-git-pipeline 1.1.5
      blueocean-github-pipeline 1.1.5
      blueocean-i18n 1.1.5
      blueocean-jwt 1.1.5
      blueocean-personalization 1.1.5
      blueocean-pipeline-api-impl 1.1.5
      blueocean-pipeline-editor 0.2.0
      blueocean-pipeline-scm-api 1.1.5
      blueocean-rest 1.1.5
      blueocean-rest-impl 1.1.5
      blueocean-web 1.1.5
      bouncycastle-api 2.16.2
      branch-api 2.0.11
      build-timeout 1.18
      cloudbees-folder 6.1.0
      conditional-buildstep 1.3.6
      copyartifact 1.38.1
      credentials 2.1.14
      credentials-binding 1.12
      display-url-api 2
      docker-commons 1.8
      docker-workflow 1.12
      durable-task 1.14
      emotional-jenkins-plugin 1.2
      envinject 2.1.3
      envinject-api 1.2
      exclusive-execution 0.8
      external-monitor-job 1.7
      favorite 2.3.0
      ghprb 1.39.0
      git 3.4.1
      git-client 2.4.6
      git-server 1.7
      github 1.27.0
      github-api 1.86
      github-branch-source 2.2.2
      github-organization-folder 1.6
      google-login 1.3
      handlebars 1.1.1
      hockeyapp 1.2.2
      http_request 1.8.20
      icon-shim 2.0.3
      jackson2-api 2.7.3
      javadoc 1.4
      jobConfigHistory 2.16
      jquery 1.11.2-0
      jquery-detached 1.2.1
      junit 1.2
      ldap 1.16
      mailer 1.2
      matrix-auth 1.7
      matrix-project 1.11
      maven-plugin 2.17
      metrics 3.1.2.10
      momentjs 1.1.1
      nodelabelparameter 1.7.2
      nodenamecolumn 1.2
      nunit 0.21
      pam-auth 1.3
      parameterized-trigger 2.35.1
      pipeline-build-step 2.5.1
      pipeline-github-lib 1
      pipeline-graph-analysis 1.4
      pipeline-input-step 2.7
      pipeline-milestone-step 1.3.1
      pipeline-model-api 1.1.9
      pipeline-model-declarative-agent 1.1.1
      pipeline-model-definition 1.1.9
      pipeline-model-extensions 1.1.9
      pipeline-rest-api 2.8
      pipeline-stage-step 2.2
      pipeline-stage-tags-metadata 1.1.9
      pipeline-stage-view 2.8
      plain-credentials 1.4
      pubsub-light 1.12
      purge-job-history 1.1
      rbenv 0.0.17
      rebuild 1.25
      role-strategy 2.5.1
      ruby-runtime 0.12
      run-condition 1
      scm-api 2.2.0
      script-security 1.3
      sse-gateway 1.15
      ssh-agent 1.15
      ssh-credentials 1.13
      structs 1.9
      timestamper 1.8.8
      token-macro 2.1
      unity3d-plugin 1.3
      variant 1.1
      windows-slaves 1.3.1
      workflow-aggregator 2.5
      workflow-api 2.19
      workflow-basic-steps 2.6
      workflow-cps 2.37
      workflow-cps-global-lib 2.8
      workflow-durable-task-step 2.13
      workflow-job 2.12.1
      workflow-multibranch 2.16
      workflow-scm-step 2.6
      workflow-step-api 2.12
      workflow-support 2.14
      xcode-plugin 2.0.0
      

        1. jenkinsconfig.png
          23 kB
          Romeo Franco Artista

            Unassigned Unassigned
            romeoartista Romeo Franco Artista
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: