Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 227371

Summary: [installer] Installer broken after download timeout
Product: [Eclipse Project] Equinox Reporter: Aaron Digulla <digulla>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: pascal, slewis
Version: 3.4Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Log file with timeout errors
none
Log file with timeout
none
Log file when I try to continue the installation none

Description Aaron Digulla CLA 2008-04-16 12:08:31 EDT
Created attachment 96278 [details]
Log file with timeout errors

Build ID: 3.4M6a

Steps To Reproduce:
I tried to create a shared install of Eclipse with the p2 installer from the download page. During the install, I had several timeout errors in the log.

The installer showed an error in the main window and only offered me the "Close" button.

When I start the installer again, now, it will think for a while and then simply exit without an error in the log file.




More information:
Comment 1 Aaron Digulla CLA 2008-05-13 10:47:54 EDT
I tried again with equinox.p2.installer-I20080510-2000-win32.win32.x86
Comment 2 Aaron Digulla CLA 2008-05-13 10:49:42 EDT
Created attachment 99958 [details]
Log file with timeout

This is the log file in which I got during the first attempt to install. It contains a timeout while downloading http://download.eclipse.org/eclipse/updates/3.4milestones/plugins/com.jcraft.jsch_0.1.37.v200803061811.jar.
Comment 3 Aaron Digulla CLA 2008-05-13 10:52:03 EDT
Created attachment 99960 [details]
Log file when I try to continue the installation

So the first attempt to install failed. I closed the UI and started it again. It would say "Resolve dependencies" think for a few moments and then fail.

This time, nothing was downloaded at all (not even the failed file from the first attempt).

My guess is that you download the file with it's final name and forget to delete it when the download fails creating a corrupt cache. Where can I find this cache?
Comment 4 Aaron Digulla CLA 2008-05-13 11:29:12 EDT
I've tried several times but I'm always getting a timeout eventually. After the timeout, I have to delete the install directory and start over.

I suggest that you up the severity of this bug to "blocker" because this is a killer.