Issue Type: Bug Bug
Assignee: Unassigned
Components: www
Created: 16/Feb/13 12:12 AM
Description:

When a file is requested with a range that starts beyond the end of the file, Jenkins returns a 500 error, instead of returning a proper response.

This is version 1.470

Example (below). The file syslinux-tftpboot-3.82-1.wc1.x86_64.rpm is 261792 bytes long. reposync makes a request and send a range header of "Range: bytes=261796-" Jenkins dies with a 500 error.

2013-02-15 18:58:51,382 attempt 1/10: http://build.whamcloud.com/job/toolkit/arch=x86_64%2Cdistro=el6/lastSuccessfulBuild/artifact/_topdir/RPMS/x86_64/syslinux-tftpboot-3.82-1.wc1.x86_64.rpm
2013-02-15 18:58:51,382 opening local file "/var/www/cobbler/repo_mirror/local-toolkit_el6-x86_64/x86_64/syslinux-tftpboot-3.82-1.wc1.x86_64.rpm" with mode ab
* About to connect() to build.whamcloud.com port 80 (#0)
*   Trying 72.18.218.227... * connected
* Connected to build.whamcloud.com (72.18.218.227) port 80 (#0)
> GET /job/toolkit/arch=x86_64%2Cdistro=el6/lastSuccessfulBuild/artifact/_topdir/RPMS/x86_64/syslinux-tftpboot-3.82-1.wc1.x86_64.rpm HTTP/1.1
Range: bytes=261796-
User-Agent: urlgrabber/3.9.1 yum/3.2.29
Host: build.whamcloud.com
Accept: */*

* The requested URL returned error: 500
* Closing connection #0
2013-02-15 18:58:51,524 exception: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 500"
2013-02-15 18:58:51,525 retrycode (14) not in list [-1, 2, 4, 5, 6, 7], re-raising
2013-02-15 18:58:51,525 MIRROR: failed
2013-02-15 18:58:51,525 GR   mirrors: [] 0
2013-02-15 18:58:51,525 MAIN mirrors: [http://build.whamcloud.com/job/toolkit/arch=x86_64%2Cdistro=el6/lastSuccessfulBuild/artifact/_topdir/RPMS/] 0
Could not retrieve package 1:syslinux-tftpboot-3.82-1.wc1.x86_64. Error was failure: x86_64/syslinux-tftpboot-3.82-1.wc1.x86_64.rpm from local-toolkit_el6-x86_64: [Errno 256] No more mirrors to try.
Project: Jenkins
Priority: Critical Critical
Reporter: Joshua Kugler
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to