Closed
Bug 689596
Opened 13 years ago
Closed 13 years ago
android talos doesn't have a proxy server
Categories
(Testing :: Talos, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jmaher, Assigned: jmaher)
References
Details
(Keywords: intermittent-failure, Whiteboard: [mobile_unittests][android_tier_1])
Attachments
(1 file, 2 obsolete files)
2.16 KB,
patch
|
wlach
:
review+
|
Details | Diff | Splinter Review |
it appears that we were not running a network http proxy while running talos for android/tegra.
Assignee | ||
Comment 1•13 years ago
|
||
tested locally, would like to see in staging if we agree on this patch.
Comment 2•13 years ago
|
||
Split seems pretty fragile for this use, I think that you should look into urlparse for something that will provide better error messaging.
Assignee | ||
Comment 3•13 years ago
|
||
urlparse is helpful, but there are a lot of corner cases with it....let me see if I can find something better. urlparse also doesn't split out the host:port, hmm.
Comment 4•13 years ago
|
||
My reading of the doc (http://docs.python.org/library/urlparse.html) suggests that it understands port numbers in urls. Maybe I just haven't hit the right corner case yet. :)
Assignee | ||
Comment 5•13 years ago
|
||
updated with urlparse.
Attachment #562780 -
Attachment is obsolete: true
Attachment #562780 -
Flags: review?(anodelman)
Attachment #562852 -
Flags: review?(anodelman)
Comment 6•13 years ago
|
||
Since you already know the failure state, let's get this wrapped in a try: + #NOTE: if server has a scheme, this will fail, as well as the user_pref below will.
Assignee | ||
Comment 7•13 years ago
|
||
well the error is more like this: if (server.startswith('http') or server.startswith('chrome') or server.startswith('file') or ...): urlparse(server) else: urlparse('http://' + server) there is no try/except thrown, it is just that we could get into a corner case where the hostname is the original scheme (i.e. http:), so would you be fine adding a check in both places for all types of schemes in the server variable? fwiw, we have assumed there is no scheme on the webserver since this was originally developed (Nov 2009) and have never had a problem. I agree we should clean up the code correctly, it is just a lot of parameter checking. I also cannot assume that we will run perfconfigurator+run_tests without editing the intermediate config file.
Assignee | ||
Comment 8•13 years ago
|
||
Attachment #562852 -
Attachment is obsolete: true
Attachment #562852 -
Flags: review?(anodelman)
Attachment #564841 -
Flags: review?(wlachance)
Comment 9•13 years ago
|
||
Comment on attachment 564841 [details] [diff] [review] add network proxy to remote.config (3.0) Review of attachment 564841 [details] [diff] [review]: ----------------------------------------------------------------- Looks great.
Attachment #564841 -
Flags: review?(wlachance) → review+
Assignee | ||
Comment 10•13 years ago
|
||
http://hg.mozilla.org/build/talos/rev/0b4af7b42197
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Keywords: intermittent-failure
Updated•12 years ago
|
Whiteboard: [orange][mobile_unittests][android_tier_1] → [mobile_unittests][android_tier_1]
You need to log in
before you can comment on or make changes to this bug.
Description
•