Closed Bug 897991 Opened 13 years ago Closed 13 years ago

[v1-train] Launching the cost control app the second time in a test returns ScriptTimeoutException

Categories

(Remote Protocol :: Marionette, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: moz.teodosia, Unassigned)

Details

(Whiteboard: [fromAutomation])

Attachments

(1 file)

When trying to launch the cost control app the second time in a test, ScriptTimeoutException is returned, even if the app itself is launched. Build ID Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/142cb317a178 Gaia b1945e7eca58c9176d91998390871864f5e8eb3e BuildID 20130724230201 Version 18.0 Here is the test: https://github.com/mozilla/gaia-ui-tests/blob/v1-train/gaiatest/tests/cost_control/test_cost_control_reset_wifi.py#L37 Here is the stacktrace http://qa-selenium.mv.mozilla.com:8080/view/B2G/job/b2g.unagi.mozril.gaia.v1-train.ui/636/testReport/%28root%29/TestCostControlReset/test_cost_control_reset_wifi/
Whiteboard: [fromAutomation]
Do you have a logcat for this Teodosia? There might be some kind of exception or failure that is causing the launch to slow down or freeze.
Attached file logcat
Attachment #781030 - Attachment mime type: text/x-vhdl → text/plain
Do you have a regression range for this? Which was the last good nightly build, and first bad? I haven't seen any issues with the performance tests, so it must be something more specific to this test case.
I had a look at this and it appears to be working fine really but because our test method waits for the apploadevent which seems to not be triggered and then the test has a ScriptTimeoutException. When you perform the test steps manually the app updates itself (by what event I'm not sure) so I don't really think this is a bug with the app or our test framework. I think when bug #855327 is loaded we will have a better method for switching between apps.
The issue is no longer reproducible on today's build. Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/35cb56244e74 Gaia 6c635e809baedb6b3393bd351b8ce95304782ac6 BuildID 20130730230204 Version 18.0 I'm closing the bug and if it's reproducible in the future, we can reopen this.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: