Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324060 - [build][hudson] Multiple builds are started at once
Summary: [build][hudson] Multiple builds are started at once
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: 0.8.2   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 03:47 EDT by Eike Stepper CLA
Modified: 2011-08-27 13:53 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (53.81 KB, application/octet-stream)
2011-08-27 13:53 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2010-08-31 03:47:59 EDT
Is this related to HTTP redirections?
Comment 1 Steffen Pingel CLA 2010-08-31 15:00:15 EDT
Looking at the HTTP dump it seems that indeed two requests are sent:

POST /job/test-parameterized/build HTTP/1.1
User-Agent: Mylyn/3.5.0 Apache XML-RPC/3.0 Eclipse/3.6.0 (org.eclipse.sdk.ide) HttpClient/3.1 Java/1.6.0_20 (Sun) Linux/2.6.34-020634rc6-generic (i386; en_CA)
Content-Length: 665
...
HTTP/1.1 302 Found
Server: Winstone Servlet Engine v0.9.10
Location: http://localhost:8080/job/test-parameterized/
Content-Length: 0
Connection: Keep-Alive
Date: Tue, 31 Aug 2010 18:56:45 GMT
X-Powered-By: Servlet/2.5 (Winstone/0.9.10)

POST /job/test-parameterized/build HTTP/1.1
User-Agent: Mylyn/3.5.0 Apache XML-RPC/3.0 Eclipse/3.6.0 (org.eclipse.sdk.ide) HttpClient/3.1 Java/1.6.0_20 (Sun) Linux/2.6.34-020634rc6-generic (i386; en_CA)
Content-Length: 665
Content-Type: application/x-www-form-urlencoded
...
HTTP/1.1 302 Found
Server: Winstone Servlet Engine v0.9.10
Location: http://localhost:8080/job/test-parameterized/
Content-Length: 0
Connection: Keep-Alive
Date: Tue, 31 Aug 2010 18:56:45 GMT
X-Powered-By: Servlet/2.5 (Winstone/0.9.10)
Comment 2 Steffen Pingel CLA 2011-08-27 13:53:26 EDT
I have fixed the handling code. The request was indeed being send twice due to erroneous checking of the HTTP response code.
Comment 3 Steffen Pingel CLA 2011-08-27 13:53:30 EDT
Created attachment 202269 [details]
mylyn/context/zip