Closed Bug 962504 Opened 11 years ago Closed 11 years ago

Investigate intermittent fail on test_cost_control_reset_wifi

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.3 affected)

RESOLVED DUPLICATE of bug 965305
Tracking Status
b2g-v1.3 --- affected

People

(Reporter: AndreiH, Assigned: AndreiH)

Details

Attachments

(3 files)

Attached image index.png (deleted) —
This test intermittently fails on master and aurora with: Traceback (most recent call last): File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.2-py2.7.egg/marionette/marionette_test.py", line 143, in run testMethod() File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui/tests/python/gaia-ui-tests/gaiatest/tests/functional/cost_control/test_cost_control_reset_wifi.py", line 52, in test_cost_control_reset_wifi self.wait_for_condition(lambda m: cost_control.wifi_data_usage_figure == u'0.00 B', message='Wifi usage did not reset back to 0.00 B') File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 1087, in wait_for_condition raise TimeoutException(message) TimeoutException: Wifi usage did not reset back to 0.00 B
As you can see from the screenshot there is an insignificant traffic that is still there. Maybe, this happens because the browser is still opened in the background.
I think that we should also close the Browser before reseting
Attachment #8363579 - Flags: review?(zcampbell)
Attachment #8363579 - Flags: review?(viorela.ioia)
Attachment #8363579 - Flags: review?(florin.strugariu)
Attachment #8363579 - Flags: review?(bob.silverberg)
Attachment #8363579 - Flags: review?(florin.strugariu) → review+
Comment on attachment 8363579 [details] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/15597 The adhoc run looks ok :) I also ran the test with your fix and it passed.
Attachment #8363579 - Flags: review?(viorela.ioia) → review+
Assignee: nobody → andrei.hutusoru
Attachment #8363579 - Flags: review?(zcampbell)
Attachment #8363579 - Flags: review?(bob.silverberg)
Attachment #8363579 - Flags: review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Making this v1.3 affected
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #8366018 - Flags: review?(florin.strugariu)
Attachment #8366018 - Flags: review?(bob.silverberg)
Attachment #8366018 - Flags: review?(florin.strugariu) → review-
Comment on attachment 8366018 [details] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/15733 Updated
Attachment #8366018 - Flags: review?(viorela.ioia)
Attachment #8366018 - Flags: review?(florin.strugariu)
Attachment #8366018 - Flags: review-
Comment on attachment 8366018 [details] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/15733 This fix doesn't seems to be a good idea. The adhoc run shows some fails in this test, I also ran it locally and I got fails too.
Attachment #8366018 - Flags: review?(viorela.ioia) → review-
This is odd. The test from the PR passed 21/21 for me on my Inari with v1.3, but it seems to have a lot of difficulty passing on CI. Are you saying that the fix is good on master as well, but just not on v1.3? Do you have any idea why that is?
I'm going to try to dig into this a bit more to see why: a) it's passing on master and not on v1.3, and b) it's passing on my Inari but not on a Hamachi on CI I'll try testing locally on v1.3 with my Hamachi to see if I can reproduce the failure.
Thanks for looking into this! I can replicate this on v1.3 Hamachi, but I cannot replicate it manually.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → DUPLICATE
Attachment #8366018 - Flags: review?(florin.strugariu)
Attachment #8366018 - Flags: review?(bob.silverberg)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: