Open Bug 1350527 Opened 7 years ago Updated 2 years ago

DownloadInterrupt should be processed

Categories

(Testing :: mozregression, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: yfdyh000, Unassigned)

Details

(Whiteboard: [lang=python])

On https://github.com/mozilla/mozregression/blob/master/mozregression/download_manager.py.


e.g. When I interrupt a connection through proxy manager to analog or make connection interruption (such as switching the connection output proxy), I will receive the following logs:
2017-03-25T17:02:14: INFO : Running mozilla-central build for 2014-07-21
2017-03-25T17:02:14: ERROR : Unable to install 'xxxx\\2014-07-21--mozilla-central--firefox-34.0a1.en-US.win32.zip'

And a corrupted package, and then be prompted that you have ignored the build, need to choose a nearby build version.
Sounds like a valid issue, would you be interested in working on this?
(In reply to William Lachance (:wlach) (use needinfo!) from comment #1)
> Sounds like a valid issue, would you be interested in working on this?

nothing now.
Keywords: good-first-bug
Whiteboard: [good next bug][lang=python]
Hi I am a new contributor and i wish to work on this issue.I have read the introductory documents from the mozilla page. How do i get started for this particular bug? Can i get some technical knowledge on this?
:wlach
I expect the "class DownloadInterrupt(Exception):" to throw an error and continue to the appropriate retry or error log instead of "pass" and "_download_finished". Sorry I have no more information.
Whiteboard: [good next bug][lang=python] → [lang=python]
Sorry... Couldnt take this up then. Can I take up this bug?
Assignee: nobody → hrushikeshcoc
Status: NEW → ASSIGNED
I am a bit confused about the bug. I have a few questions.
#1 In what case does the DownloadInterrupt class need to throw an exception? Currently, that class is only called when download is canceled. otherwise an error is raised. 
#2 Does the class need to log these errors?
Flags: needinfo?(yfdyh000)
(In reply to Hrushikesh Bodas from comment #6)
> I am a bit confused about the bug. I have a few questions.
> #1 In what case does the DownloadInterrupt class need to throw an exception?
> Currently, that class is only called when download is canceled. otherwise an
> error is raised. 
> #2 Does the class need to log these errors?

I have encountered it many times when using an unstable proxy server. This should be able to be simulated by interrupting the connection.
Flags: needinfo?(yfdyh000)
Assignee: hrushikeshcoc@gmail.comnobody@mozilla.org
Status: ASSIGNED → NEW
Assignee: hrushikeshcoc → nobody
Hi, I am new here. Can you please tell me that what you mean by `This should be able to be simulated by interrupting the connection."
Flags: needinfo?(yfdyh000)
(In reply to vaibhgupt199 from comment #9)
> Hi, I am new here. Can you please tell me that what you mean by `This should
> be able to be simulated by interrupting the connection."

Use a proxy server software, or agent handler (like "Proxifier"), close it when downloading.
Flags: needinfo?(yfdyh000)
could i be assigned this bug i am a new to open source i want to give it a try
(In reply to anandvardhan371 from comment #11)
> could i be assigned this bug i am a new to open source i want to give it a
> try

Please go ahead! To reduce churn I tend not assign bugs, but we can take this comment thread as an indication that you're looking into it.

Unfortunately I am too busy these days to mentor mozregression bugs explicitly, but I am happy to review a working patch. I haven't investigated the details of what would be involved here.
Keywords: good-first-bug
Whiteboard: [lang=python]
Whiteboard: [lang=python]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.