Closed
Bug 1011469
Opened 10 years ago
Closed 10 years ago
Intermittent in cost control tests, tapping Next button has no effect
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: AndreiH, Assigned: AndreiH)
Details
Attachments
(5 files)
6.88 KB,
image/png
|
Details | |
46 bytes,
text/x-github-pull-request
|
viorela
:
review+
Bebe
:
review+
|
Details | Review |
46 bytes,
text/x-github-pull-request
|
Bebe
:
review+
viorela
:
review+
|
Details | Review |
46 bytes,
text/x-github-pull-request
|
AndreiH
:
review+
|
Details | Review |
46 bytes,
text/x-github-pull-request
|
AndreiH
:
review+
|
Details | Review |
Test test_cost_control_reset_wifi.TestCostControlReset failed on todays run Let's add a better wait, master can also benefit from this. http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Hamachi/job/b2g.hamachi.mozilla-b2g30_v1_4.ui.non-smoketest/35/HTML_Report/ Traceback (most recent call last): File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette_test.py", line 163, in run testMethod() File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/cost_control/test_cost_control_reset_wifi.py", line 24, in test_cost_control_reset_wifi cost_control.run_ftu_accepting_defaults() File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/cost_control/app.py", line 60, in run_ftu_accepting_defaults ftu_step2 = ftu_step1.tap_next() File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/cost_control/regions/ftu_step1.py", line 22, in tap_next return FTUStep2(self.marionette) File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/cost_control/regions/ftu_step2.py", line 19, in __init__ self.wait_for_condition(lambda m: view.location['x'] == 0) File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 54, in wait_for_condition Wait(self.marionette, timeout).until(method, message=message) File "/var/jenkins/workspace/b2g.hamachi.mozilla-b2g30_v1_4.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/wait.py", line 143, in until cause=last_exc) TimeoutException: TimeoutException: Timed out after 30.1255269051 seconds
Assignee | ||
Updated•10 years ago
|
Priority: -- → P1
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8423833 -
Flags: review?(zcampbell)
Attachment #8423833 -
Flags: review?(viorela.ioia)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8423842 -
Flags: review?(viorela.ioia)
Attachment #8423842 -
Flags: review?(florin.strugariu)
Comment 3•10 years ago
|
||
Comment on attachment 8423833 [details] [review] Master PR https://github.com/mozilla-b2g/gaia/pull/19324 Lgtm
Attachment #8423833 -
Flags: review?(viorela.ioia) → review+
Updated•10 years ago
|
Attachment #8423833 -
Flags: review+
Comment 4•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/17cc405ab6163528efe321e831bf0e72d1166a28
Updated•10 years ago
|
Attachment #8423842 -
Flags: review?(florin.strugariu) → review+
Comment 5•10 years ago
|
||
Comment on attachment 8423842 [details] [review] v1.4 PR https://github.com/mozilla-b2g/gaia/pull/19325 Test still failing
Attachment #8423842 -
Flags: review?(viorela.ioia) → review-
Updated•10 years ago
|
Attachment #8423833 -
Flags: review?(zcampbell)
Assignee | ||
Comment 6•10 years ago
|
||
I know it failed with this new wait, but it is better that the last one on v1.4. And I want this to be merged instead of using a time.sleep(1) This definitely improves the test on that step. If it fails badly on CI we will investigate and add another wait. We currently don't have for something else to be more simple to wait for.
Comment 7•10 years ago
|
||
Comment on attachment 8423842 [details] [review] v1.4 PR https://github.com/mozilla-b2g/gaia/pull/19325 I agree, this wait is better than the one we already have.
Attachment #8423842 -
Flags: review- → review+
Comment 8•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/117a72f740b941fafb0babdd07ac3eed4db57f33
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 9•10 years ago
|
||
The failure described in this bug was not fixed, we just replaced a wait. We still need to work on fixing it, as it was reproducible in the latest v1.4 build: http://selenium.qa.mtv2.mozilla.com:8080/job/b2g.hamachi.mozilla-b2g30_v1_4.ui.smoketest/50/HTML_Report/ Gaia 16f7ef17feb08562aa6a3cfd6d561b2fcca652c0 Gecko https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/9cc96d59cc30 BuildID 20140523000202 Version 30.0 ro.build.version.incremental=eng.tclxa.20131223.163538 ro.build.date=Mon Dec 23 16:36:04 CST 2013
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•10 years ago
|
Summary: Intermittent test_cost_control_reset_wifi.TestCostControlReset on v1.4 → Intermittent in cost control tests on v1.4
Comment 10•10 years ago
|
||
I've been able to reproduce this failure manually, easily. #STR: 1. Flash your phone with the latest v1.4 build. 2. Launch the Usage app 3. Tap next button right when the Welcome page is displayed #Expected results: Data report page is displayed #Actual report: Tapping Next button has no effect Gaia 16f7ef17feb08562aa6a3cfd6d561b2fcca652c0 Gecko https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/9cc96d59cc30 BuildID 20140523000202 Version 30.0 ro.build.version.incremental=eng.tclxa.20131223.163538 ro.build.date=Mon Dec 23 16:36:04 CST 2013 In our automated tests, we can avoid this failure by adding a wait of 1-2 seconds after we get on the Welcome page, then tap the Next button. I see this as a bug, the Next button being tapped should have effect even if we tap it quickly after it is displayed.
Comment 11•10 years ago
|
||
Can you get a bug on file for comment 10 then?
Flags: needinfo?(viorela.ioia)
Assignee | ||
Comment 13•10 years ago
|
||
I saw this reproducing on master also, http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Master/job/b2g.hamachi.mozilla-central.ui.smoketest/48/HTML_Report/ if we add a workaround we should add it on master also.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → andrei.hutusoru
Assignee | ||
Updated•10 years ago
|
Summary: Intermittent in cost control tests on v1.4 → Intermittent in cost control tests, tapping Next button has no effect
Comment 14•10 years ago
|
||
Attachment #8428568 -
Flags: review?(florin.strugariu)
Attachment #8428568 -
Flags: review?(andrei.hutusoru)
Comment 15•10 years ago
|
||
Attachment #8428569 -
Flags: review?(robert.chira)
Attachment #8428569 -
Flags: review?(andrei.hutusoru)
Assignee | ||
Comment 16•10 years ago
|
||
Comment on attachment 8428569 [details] [review] PR for v1.4: https://github.com/mozilla-b2g/gaia/pull/19595 Merged on v1.4: https://github.com/mozilla-b2g/gaia/commit/a209b03c3fc64beda3580be39a79e5c7495b3acf
Attachment #8428569 -
Flags: review?(robert.chira)
Attachment #8428569 -
Flags: review?(andrei.hutusoru)
Attachment #8428569 -
Flags: review+
Assignee | ||
Comment 17•10 years ago
|
||
Comment on attachment 8428568 [details] [review] PR for v2.0: https://github.com/mozilla-b2g/gaia/pull/19633 Merged on v2.0: https://github.com/mozilla-b2g/gaia/commit/4c5f4020adf6b774331a08bf8ca72fb3f95331ac
Attachment #8428568 -
Flags: review?(florin.strugariu)
Attachment #8428568 -
Flags: review?(andrei.hutusoru)
Attachment #8428568 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•