Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-3146

CDAP VM build fails installing Eclipse plugin

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: Distribution
    • Labels:
      None
    • Rank:
      1|hzywtr:

      Description

      Building the CDAP VM from the release/3.1 branch fails with the following error, taken from Bamboo:

      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: * execute[eclipse plugin install] action run
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm:
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: ================================================================================
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Error executing action `run` on resource 'execute[eclipse plugin install]'
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: ================================================================================
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm:
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Mixlib::ShellOut::ShellCommandFailed
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: ------------------------------------
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Expected process to exit with [0], but received '13'
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: ---- Begin output of eclipse -application org.eclipse.equinox.p2.director -noSplash -repository http://vrapper.sourceforge.net/update-site/stable -installIUs net.sourceforge.vrapper.feature.group ----
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: STDOUT: org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized.  Will retry after the state location is initialized.
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Installation failed.
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: STDERR: Jul 29, 2015 10:41:48 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://vrapper.sourceforge.net: The target server failed to respond
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Jul 29, 2015 10:41:48 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: INFO: Retrying request to {}->http://vrapper.sourceforge.net
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Jul 29, 2015 10:41:48 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://vrapper.sourceforge.net: The target server failed to respond
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Jul 29, 2015 10:41:48 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: INFO: Retrying request to {}->http://vrapper.sourceforge.net
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Jul 29, 2015 10:41:48 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://vrapper.sourceforge.net: The target server failed to respond
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Jul 29, 2015 10:41:48 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: INFO: Retrying request to {}->http://vrapper.sourceforge.net
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Jul 29, 2015 10:41:49 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://vrapper.sourceforge.net: The target server failed to respond
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Jul 29, 2015 10:41:49 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: INFO: Retrying request to {}->http://vrapper.sourceforge.net
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Jul 29, 2015 10:41:49 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://vrapper.sourceforge.net: The target server failed to respond
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Jul 29, 2015 10:41:49 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: INFO: Retrying request to {}->http://vrapper.sourceforge.net
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Jul 29, 2015 10:41:49 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://vrapper.sourceforge.net: The target server failed to respond
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Jul 29, 2015 10:41:49 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: INFO: Retrying request to {}->http://vrapper.sourceforge.net
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Unable to load repositories.
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Application failed, log file location: /usr/local/eclipse-Luna/configuration/1438209682148.log
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: ---- End output of eclipse -application org.eclipse.equinox.p2.director -noSplash -repository http://vrapper.sourceforge.net/update-site/stable -installIUs net.sourceforge.vrapper.feature.group ----
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Ran eclipse -application org.eclipse.equinox.p2.director -noSplash -repository http://vrapper.sourceforge.net/update-site/stable -installIUs net.sourceforge.vrapper.feature.group returned 13
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm:
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Resource Declaration:
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: ---------------------
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: # In /var/chef/cookbooks/eclipse/recipes/default.rb
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm:
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: 44:     execute "eclipse plugin install" do
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: 45:       command "eclipse -application org.eclipse.equinox.p2.director -noSplash -repository #{repo} -installIUs #{plugins}"
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: 46:       action :run
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: 47:     end
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: 48:   end
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm:
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Compiled Resource:
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: ------------------
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: # Declared in /var/chef/cookbooks/eclipse/recipes/default.rb:44:in `block in from_file'
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm:
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: execute("eclipse plugin install") do
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: action [:run]
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: retries 0
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: retry_delay 2
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: default_guard_interpreter :execute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: command "eclipse -application org.eclipse.equinox.p2.director -noSplash -repository http://vrapper.sourceforge.net/update-site/stable -installIUs net.sourceforge.vrapper.feature.group"
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: backup 5
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: returns 0
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: declared_type :execute
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: cookbook_name :eclipse
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: recipe_name "default"
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: end
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm:
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm:
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Running handlers:
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: [2015-07-29T22:41:52+00:00] ERROR: Running exception handlers
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Running handlers complete
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: [2015-07-29T22:41:52+00:00] ERROR: Exception handlers complete
      build	29-Jul-2015 22:41:57	    cdap-sdk-vm: Chef Client failed. 60 resources updated in 1719.433175288 seconds
      build	29-Jul-2015 22:41:59	    cdap-sdk-vm: [2015-07-29T22:41:54+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
      build	29-Jul-2015 22:41:59	    cdap-sdk-vm: [2015-07-29T22:41:54+00:00] ERROR: execute[eclipse plugin install] (eclipse::default line 44) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '13'
      

      Running the same cookbook via chef-solo on a machine created on Google Compute Engine did not have this issue.

        Attachments

          Activity

            People

            • Assignee:
              chris Chris Gianelloni
              Reporter:
              chris Chris Gianelloni
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: