Closed
Bug 935451
Opened 11 years ago
Closed 10 years ago
Test failure "Geolocation position is: Position acquisition timed out" in /testGeolocation/testShareLocation.js
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect, P2)
Tracking
(firefox27 wontfix, firefox28 fixed, firefox29 fixed, firefox30 fixed, firefox31 fixed, firefox-esr24 unaffected)
RESOLVED
FIXED
People
(Reporter: cosmin-malutan, Assigned: AndreeaMatei)
References
()
Details
(Keywords: intermittent-failure, Whiteboard: [mozmill-test-failure])
Attachments
(2 files, 1 obsolete file)
2.08 KB,
patch
|
andrei
:
review+
andrei
:
checkin+
|
Details | Diff | Splinter Review |
1.94 KB,
patch
|
andrei
:
review+
|
Details | Diff | Splinter Review |
Failed today on Mac 10.8.5 x64, with Aurora de
http://mozmill-daily.blargon7.com/#/functional/report/d17690a112360a2b3155acaa276cfd8c
This is most likely a network issue. If it will fail again I suggest we increse the timeout for retrieving the geolocation.
Comment 1•11 years ago
|
||
If its a network issue any increase will not help. And I'm even against it increasing it once more. The timeout we currently have is long enough. If there is an underlying issue that one has to be fixed instead.
Reporter | ||
Comment 2•11 years ago
|
||
Failed again with "Geolocation position is: Unknown error acquiring position"
On Linux 13.04 x86 with Nightly it;
Machine mm-ub-1304-32-4
http://mozmill-daily.blargon7.com/#/functional/report/21341f02f219acb032f628de85332c43
I connected on the affected node and "Position acquisition timed out" it reproduced every time for about 10 minutes, then it started working.
Comment 3•11 years ago
|
||
So which API are we using by default on Linux for getting the position? Given that the nodes are not connected to the WLAN it has to be IP address based? We might have to get this information from devs and if it turns out those are network issues, IT has to fix them.
Comment 4•11 years ago
|
||
Failed again as in comment 2 "Geolocation position is: Unknown error acquiring position"
This time on Windows 8, 28.0a1, it:
http://mozmill-daily.blargon7.com/#/functional/report/2f1ca72938985fc4b989b7efcce31841
Comment 5•11 years ago
|
||
And again today on Mac OS X 10.7.5 (x86_64) with Firefox 28.0a1 fr:
http://mozmill-daily.blargon7.com/#/functional/report/456bebe92845279408c15c03e8f5b904
Comment 6•11 years ago
|
||
Still failing:
http://mozmill-daily.blargon7.com/#/functional/report/ca1869364f98dd0de71202e01e8eb749
status-firefox28:
--- → affected
Comment 7•11 years ago
|
||
This is still failing from time to time:
http://mozmill-daily.blargon7.com/#/functional/report/40742e0746fd767e6d2fd586590bea2f
Priority: P5 → P3
Assignee | ||
Updated•11 years ago
|
Keywords: intermittent-failure
Whiteboard: [mozmill-test-failure]
Reporter | ||
Comment 8•11 years ago
|
||
It failed again with "Geolocation position is: Unknown error acquiring position"
on Nightly it / Windows 8.1 x86
http://mozmill-daily.blargon7.com/#/functional/report/94e33fe3d7ec0be6dbbfa0a702160e14
status-firefox29:
--- → affected
Comment 9•11 years ago
|
||
Failed again on 27 Beta, pl, Vista:
http://mozmill-release.blargon7.com/#/functional/report/94e33fe3d7ec0be6dbbfa0a70299fe89
Comment 10•11 years ago
|
||
Still fails every now and then.
Not sure what we should/can do about this since this might very well be a network reliability issue in returning the geoposition.
status-firefox30:
--- → affected
OS: Mac OS X → All
Comment 11•11 years ago
|
||
Yes, it is. And that's why the test should have been in the remote testrun. It will be moved together with the other remaining ones on bug 967456.
Reporter | ||
Comment 13•11 years ago
|
||
Failed again with Nightly en-US on Windows 8.1 x86
Date: Feb 15, 2014 6:14:28 AM
Node: mm-win-81-32-4
Report:
http://mozmill-daily.blargon7.com/#/functional/report/0100465a763e4862d400405384503970
Reporter | ||
Comment 14•11 years ago
|
||
Failed on Nightly en-US too on the same time frame on Windows 7 x86
Date: Feb 15, 2014 6:28:35 AM
Node: mm-win-7-32-4
Report:
http://mozmill-daily.blargon7.com/#/functional/report/0100465a763e4862d40040538451660d
Comment 15•11 years ago
|
||
I wonder if we should update the test page to handle the error callback for the geolocation request call. That way we could pass along a better error message.
Reporter | ||
Comment 16•11 years ago
|
||
Here we already use the Error message returned by the API, what we could do more would be to get the error code also, which is basically the same thing.
http://mxr.mozilla.org/mozilla-central/source/dom/src/geolocation/nsGeolocation.cpp#424
Comment 18•11 years ago
|
||
Failed on Nightly fr on win 8.1
Date: Feb 21, 2014 6:56:09 AM
Node: mm-win-81-32-1
Report:
http://mozmill-daily.blargon7.com/#/functional/report/6062fdddb60e88657bc78ec1f493d70e
Comment 19•11 years ago
|
||
Failed on Aurora en-US on Mac OS X 10.6.8 (x86_64)
Date: Feb 22, 2014 2:33:12 AM
Node: mm-osx-106-3
Report
http://mozmill-daily.blargon7.com/#/functional/report/6062fdddb60e88657bc78ec1f498b300
Failed on Nightly en-US on Linux Ubuntu 13.10 (x86_64):
Date: Feb 22, 2014 5:16:45 AM
Node: mm-ub-1310-64-3
Report:
http://mozmill-daily.blargon7.com/#/functional/report/6062fdddb60e88657bc78ec1f4a6d6ad
Comment 20•11 years ago
|
||
Failed today several times
Nightly en-US on Max OS X 10.7 (x86_64)
Date: Feb 25, 2014 4:42:30 AM
Node: mm-osx-107-1
Report:
http://mozmill-daily.blargon7.com/#/functional/report/6062fdddb60e88657bc78ec1f4fa6bed
--
On Aurora fr on Ubuntu 12.10 32bits
Date: Feb 25, 2014 4:46:16 AM
Node: mm-ub-1310-32-4
Report:
http://mozmill-daily.blargon7.com/#/functional/report/6062fdddb60e88657bc78ec1f4fb0dbf
--
On Nightly en-US on Mac OS X 10.9
Date: Feb 25, 2014 4:42:32 AM
Node: mm-osx-109-3
Report:
http://mozmill-daily.blargon7.com/#/functional/report/6062fdddb60e88657bc78ec1f4fa5e79
--
On Nightly de on Windows Vista 32bits
Date: Feb 25, 2014 4:55:21 AM
Node: mm-win-vista-32-1
Report:
http://mozmill-daily.blargon7.com/#/functional/report/6062fdddb60e88657bc78ec1f4fd1d48
Node: mm-win-vista-32-1
--
On Nightly de on Windows 8.1 x64
Node: mm-win-81-64-2
Report:
http://mozmill-daily.blargon7.com/#/functional/report/6062fdddb60e88657bc78ec1f4fd1917
Feb 25, 2014 4:55:29 AM
Comment 21•11 years ago
|
||
Way too many failures today on this.
It may occur a lot of network issues when trying to obtain the geolocation data.
Let's skip this test until this calms down.
Attachment #8381420 -
Flags: review?(andreea.matei)
Assignee | ||
Comment 22•11 years ago
|
||
Comment on attachment 8381420 [details] [diff] [review]
disable_testGeolocation.patch
Review of attachment 8381420 [details] [diff] [review]:
-----------------------------------------------------------------
It didn't fail anymore, it was certainly a network issue, lets not skip it for now.
Attachment #8381420 -
Flags: review?(andreea.matei)
Comment 23•11 years ago
|
||
Firefox 28 has merged to release so this is wontfix for Firefox 27.
I'm seeing two Geolocation failures in 28.0build1, not sure if they're related to this:
http://mozmill-release.blargon7.com/#/functional/report/d8c9b09561f242bc8489be43d6065c6f
http://mozmill-release.blargon7.com/#/functional/report/3d7ca01655bfd2044736c8e06f0a76bf
Comment 25•11 years ago
|
||
As filed as bug 984725 we have massive fallouts of this test in Firefox 31 on Windows and Linux now. Please get this investigated.
http://mozmill-daily.blargon7.com/#/functional/top?app=All&branch=31.0&platform=All&from=2014-03-17&to=2014-03-18
If we can help Juan with the investigation of the problem lets do it on bug 979940.
Depends on: 979940
Priority: P3 → P1
Reporter | ||
Comment 26•11 years ago
|
||
This failed for 100 times and it still fails so we should skip.
Comment 27•11 years ago
|
||
Comment on attachment 8381420 [details] [diff] [review]
disable_testGeolocation.patch
Review of attachment 8381420 [details] [diff] [review]:
-----------------------------------------------------------------
Daniel, would you please update this skip patch. Due to massive recent failures we might need to land this.
::: firefox/tests/functional/manifest.ini
@@ +6,5 @@
> disabled = Bug 930509 - Window has been found.
> [include:testFindInPage/manifest.ini]
> [include:testFormManager/manifest.ini]
> [include:testGeolocation/manifest.ini]
> +disabled = Bug 935451 - Test failure "Geolocation position is: Position acquisition timed out" in /testGeolocation/testShareLocation.js
Please remove the fire reference.
::: firefox/tests/functional/testGeolocation/testShareLocation.js
@@ +68,5 @@
> }
> }
> +
> +setupModule.__force_skip__ = "Bug 935451 - Test failure \"Geolocation position is: Position acquisition timed out\" in /testGeolocation/testShareLocation.js";
> +teardownModule.__force_skip__ = "Bug 935451 - Test failure \"Geolocation position is: Position acquisition timed out\" in /testGeolocation/testShareLocation.js";
Please remove the file reference and to simplify things a bit change the double quotes to single quotes so we won't need to escape them.
Attachment #8381420 -
Flags: review-
Updated•11 years ago
|
status-firefox31:
--- → affected
Comment 28•11 years ago
|
||
Updated the disable patch.
Attachment #8381420 -
Attachment is obsolete: true
Attachment #8392766 -
Flags: review?(andrei.eftimie)
Reporter | ||
Comment 29•11 years ago
|
||
I checked with an older Firefox and we get the same Error, also with other browsers(Google).
Comment 30•11 years ago
|
||
Comment on attachment 8392766 [details] [diff] [review]
disable_testGeolocation2.patch
Review of attachment 8392766 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for the quick update.
Disabled: http://hg.mozilla.org/qa/mozmill-tests/rev/c5925afd6eb1 (default)
Attachment #8392766 -
Flags: review?(andrei.eftimie)
Attachment #8392766 -
Flags: review+
Attachment #8392766 -
Flags: checkin+
Comment 31•11 years ago
|
||
I'm unable to get my position vie Bing either...
We'll need to disable this test across all branches.
Comment 32•11 years ago
|
||
Disabled:
http://hg.mozilla.org/qa/mozmill-tests/rev/69341531d14f (mozilla-aurora)
http://hg.mozilla.org/qa/mozmill-tests/rev/caae5397a8ae (mozilla-beta)
http://hg.mozilla.org/qa/mozmill-tests/rev/b27b7a0c09df (mozilla-release)
Comment 33•11 years ago
|
||
As mentioned on bug 979940 let get logging enabled for geo location, and run the tests manually to see the corresponding failure details.
Comment 34•11 years ago
|
||
Andrei, so esr24 is not affected? Can you please check which version started to fail? I think that would help a lot here. Best is to comment on bug 979940 with that info.
Assignee | ||
Comment 35•11 years ago
|
||
Added the pref as requested.
Here's the output:
*** WIFI GEO: startup called.
*** WIFI GEO: Sending request: https://www.googleapis.com/geolocation/v1/geolocate?key=AIzaSyD-s-mXL4mBzF7KMRkhTCIbG2RKnRGXzJc
*** WIFI GEO: sending {"wifiAccessPoints":[]}
*** WIFI GEO: gls returned status: 404 --> {"error":{"errors":[{"domain":"geolocation","reason":"notFound","message":"Not Found"}],"code":404,"message":"Not Found"}}
*** WIFI GEO: shutdown called
ERROR | Test Failure | {
Assignee: nobody → andreea.matei
Status: NEW → ASSIGNED
Attachment #8393370 -
Flags: review?(andrei.eftimie)
Comment 36•11 years ago
|
||
(In reply to Andreea Matei [:AndreeaMatei] from comment #35)
> *** WIFI GEO: gls returned status: 404 -->
> {"error":{"errors":[{"domain":"geolocation","reason":"notFound","message":
Interesting that the URL does not exist. I wonder if we can get this error message into the error details of the geolocation test. Is that possible?
Comment 37•11 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #34)
> Andrei, so esr24 is not affected? Can you please check which version started
> to fail? I think that would help a lot here. Best is to comment on bug
> 979940 with that info.
We don't have this test landed on ESR24.
Now, where do we gather the geolocation position from?
I assume it's through some 3rd party API? Is the OS providing us with the actual data?
I find this functionality broken across multiple browsers (Firefox, Chrome, Safari) and providers (Google, Bing).
Comment 38•11 years ago
|
||
Comment on attachment 8393370 [details] [diff] [review]
patch v1 - add pref
Review of attachment 8393370 [details] [diff] [review]:
-----------------------------------------------------------------
This looks ok.
Just wondering it its ok to expose our GOOGLE_API_KEY...
Attachment #8393370 -
Flags: review?(andrei.eftimie) → review+
Comment 39•11 years ago
|
||
Everyone by setting this pref or with a network sniffer can get it, right?
Comment 40•11 years ago
|
||
I think you're right that it is being sent in clear.
The test is skipped right now, so I'm landing this across branches directly.
Landed:
http://hg.mozilla.org/qa/mozmill-tests/rev/b9692eb7d405 (default)
http://hg.mozilla.org/qa/mozmill-tests/rev/0b4b99489361 (mozilla-aurora)
http://hg.mozilla.org/qa/mozmill-tests/rev/f1e47c68fae4 (mozilla-beta)
http://hg.mozilla.org/qa/mozmill-tests/rev/fe08defe3a0c (mozilla-release)
Comment 41•11 years ago
|
||
We talked about this problem in the qa desktop meeting. What we got out of it is that we might also want to check other providers like our own one, or/and have a mockup services via mozqa.com or httpd. The latter would not be affected by network glitches.
Information about our own service can be found here:
http://mozilla-ichnaea.readthedocs.org/en/latest/api/geolocate.html
Comment 42•11 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #41)
> We talked about this problem in the qa desktop meeting. What we got out of
> it is that we might also want to check other providers like our own one,
> or/and have a mockup services via mozqa.com or httpd. The latter would not
> be affected by network glitches.
Yeah, that's a good idea to also test mozilla's API's.
I can't understand the second point, which is to mock the service? In what way? Always return the same or maybe a random position? Will that really help us in any way? I don't think we would be able to properly geolocate any position. I fail to see how we could have this test run without network connectivity.
Comment 43•11 years ago
|
||
A mock service exists to fake a specific feature you want to test. In this case it would be the geolocation API backend. Whatever we want to get tested, all could be setup via a static or dynamic reply. Personally I would propose to use httpd.js.
Assignee | ||
Comment 44•11 years ago
|
||
This is working again, re-enabled:
http://hg.mozilla.org/qa/mozmill-tests/rev/35ecfeba55e7 (default)
http://hg.mozilla.org/qa/mozmill-tests/rev/78f132c07bb9 (aurora)
http://hg.mozilla.org/qa/mozmill-tests/rev/34f261f1e0d3 (beta)
http://hg.mozilla.org/qa/mozmill-tests/rev/232961d727f6 (release)
Leaving this open as we might want to use a mockup service after all and to check it's not failing again intermittently.
Comment 45•11 years ago
|
||
Hi Andreea, I noticed the tests are failing still, up to 4-11-2014. Should you reopen the bug?
http://mozmill-daily.blargon7.com/#/functional/top?app=All&branch=All&platform=All&from=2014-03-26&to=2014-04-16
Flags: needinfo?(andreea.matei)
Assignee | ||
Comment 46•11 years ago
|
||
Hi Liz, the bug is still open, but the test was skipped in bug 994040 and was failing since April 9th due to another issue (a regression).
This failure in particular we haven't seen it since it was enabled on March 26th. We left the bug open in case this kept failing and we'd want a mockup service. Since it was skipped a week later, I'll keep this open a bit longer, to re-enable it and see what's the state then.
Flags: needinfo?(andreea.matei)
Comment 47•11 years ago
|
||
Which backend failures did we get for those test failures? We enabled the output in the logs. So it would be helpful to know here.
Assignee | ||
Comment 48•11 years ago
|
||
This has been unskipped by bug 994040 on Friday, didn't fail since then, I'll keep an eye for the next days.
Priority: P1 → P2
Comment 49•11 years ago
|
||
Failed with Aurora (Firefox 32.0a2 en-US) on mm-win-8-32-3 (20140614004002)
05:35:04 TEST-START | testGeolocation\testShareLocation.js | setupModule
05:35:05 TEST-START | testGeolocation\testShareLocation.js | testVerifyDisplayGeolocationNotification
05:35:05 *** WIFI GEO: startup called.
05:35:35 ERROR | Test Failure | {
05:35:35 "exception": {
05:35:35 "message": "Geolocation position is: Position acquisition timed out",
05:35:35 "lineNumber": 79,
05:35:35 "name": "Error",
05:35:35 "fileName": "file:///c:/jenkins/workspace/mozilla-aurora_functional/data/mozmill-tests/firefox/tests/functional/testGeolocation/testShareLocation.js"
05:35:35 }
05:35:35 }
05:35:35 TEST-UNEXPECTED-FAIL | testGeolocation\testShareLocation.js | testVerifyDisplayGeolocationNotification
05:35:35 TEST-START | testGeolocation\testShareLocation.js | teardownModule
05:35:35 TEST-END | testGeolocation\testShareLocation.js | finished in 30570ms
I also see this at the end of the testrun:
05:36:57 *** WIFI GEO: shutdown called
05:36:57
Several lines with:
05:36:57 ###!!! [Child][DispatchAsyncMessage] Error: Route error: message sent to unknown actor ID
05:36:57
We can make this test not depending on google geolocation with a local input data file, like in bug 1008913.
Comment 50•11 years ago
|
||
Isn't this test obsolete when we get all the other tests landed?
Assignee | ||
Comment 51•11 years ago
|
||
No, the test was unskipped by bug 994040.
Assignee | ||
Comment 52•10 years ago
|
||
Since this test was unskipped again, adding a need info to recheck in a few days if we encountered the failure again.
Flags: needinfo?(andreea.matei)
Assignee | ||
Comment 53•10 years ago
|
||
Hasn't failed anymore.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(andreea.matei)
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•