Closed Bug 964566 Opened 10 years ago Closed 10 years ago

[perf][Tarako] JavaScriptException: TypeError widgetFrame is undefined app://system.gaiamobile.org/js/cost_control.js, line 116

Categories

(Firefox OS Graveyard :: General, defect, P1)

ARM
Gonk (Firefox OS)

Tracking

(Not tracked)

VERIFIED FIXED
1.4 S5 (11apr)

People

(Reporter: stephend, Assigned: hub)

References

()

Details

(Keywords: perf, Whiteboard: [c=automation p=1 s=2014.04.11 u=tarako])

Attachments

(1 file)

STR:

1. Get a Tarako and the latest engineering build from the Taipei team
2. Run http://qa-selenium.mv.mozilla.com:8080/job/b2g.tarako.mozilla-aurora.v1.3.perf

Actual Results:

16:49:00 + b2gperf --delay=10 --sources=b2g-distro/sources.xml --testvars=/home/webqa/webqa-credentials/b2g/b2g-6.json --dz-project=b2g --dz-branch=v1.3 --dz-device=tarako --dz-key=******** --dz-secret=******** Phone Contacts Messages Settings Gallery Video Music Camera Email Calendar Clock FM Radio Usage Template Browser
16:49:03 2014-01-27 16:50:58,498 B2GPerfRunner INFO | Running B2GPerfLaunchTest
16:50:32 Traceback (most recent call last):
16:50:32   File "/var/jenkins/workspace/b2g.tarako.mozilla-aurora.v1.3.perf/.env/local/lib/python2.7/site-packages/b2gperf/b2gperf.py", line 256, in measure_app_perf
16:50:32     test.run()
16:50:32   File "/var/jenkins/workspace/b2g.tarako.mozilla-aurora.v1.3.perf/.env/local/lib/python2.7/site-packages/b2gperf/b2gperf.py", line 354, in run
16:50:32     self.setup()
16:50:32   File "/var/jenkins/workspace/b2g.tarako.mozilla-aurora.v1.3.perf/.env/local/lib/python2.7/site-packages/b2gperf/b2gperf.py", line 401, in setup
16:50:32     B2GPerfTest.setup(self)
16:50:32   File "/var/jenkins/workspace/b2g.tarako.mozilla-aurora.v1.3.perf/.env/local/lib/python2.7/site-packages/b2gperf/b2gperf.py", line 346, in setup
16:50:32     self.apps.kill_all()
16:50:32   File "/var/jenkins/workspace/b2g.tarako.mozilla-aurora.v1.3.perf/.env/local/lib/python2.7/site-packages/gaiatest/gaia_test.py", line 119, in kill_all
16:50:32     self.marionette.execute_async_script("GaiaApps.killAll()")
16:50:32   File "/var/jenkins/workspace/b2g.tarako.mozilla-aurora.v1.3.perf/.env/local/lib/python2.7/site-packages/marionette/marionette.py", line 1073, in execute_async_script
16:50:32     filename=os.path.basename(frame[0]))
16:50:32   File "/var/jenkins/workspace/b2g.tarako.mozilla-aurora.v1.3.perf/.env/local/lib/python2.7/site-packages/marionette/marionette.py", line 577, in _send_message
16:50:32     self._handle_error(response)
16:50:32   File "/var/jenkins/workspace/b2g.tarako.mozilla-aurora.v1.3.perf/.env/local/lib/python2.7/site-packages/marionette/marionette.py", line 612, in _handle_error
16:50:32     raise JavascriptException(message=message, status=status, stacktrace=stacktrace)
16:50:32 JavascriptException: TypeError: widgetFrame is undefined
16:50:32 	stacktrace:
16:50:32 	@app://system.gaiamobile.org/js/cost_control.js, line 116
16:50:32
The first run of b2gperf will fail, and the next run will pass on TW Jenkins.
See Also: → 964647
I think this is a dupe of bug 957901, but possibly due to the Tarako being a slower(?) device, we're more likely to hit JavaScript exceptions thrown while we're waiting for a return from execute_async_script.
Keywords: perf
Priority: -- → P1
Whiteboard: [c=automation p= s= u=tarako]
Assignee: nobody → hub
Status: NEW → ASSIGNED
I can't get to reproduce here. 

gaia: 81981d260d0056c4e55e8b6dad6471ad14eb55d5
gecko: 9ac68cb015fc62362c9bdbafa9240c5497ecc477
I couldn't reproduce.

Please reopen if it occurs again.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
(In reply to Hubert Figuiere [:hub] from comment #5)
> I couldn't reproduce.
> 
> Please reopen if it occurs again.

As you wish (sadly); still seeing this on http://qa-selenium.mv.mozilla.com:8080/job/b2g.tarako.mozilla-aurora.v1.3.perf/79/consoleFull
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
*sigh*
Do these phone have SIM cards? one or two?
dual sim device
yeah but the question is whether they have SIM cards or not. Mine doesn't have any and I believe this could make the difference.
I didn't put ONE sim card in my tarako, and I still don't get that problem.
(In reply to Hubert Figuiere [:hub] from comment #8)
> Do these phone have SIM cards? one or two?

It has one (1) AT&T SIM, with full data and voice plans activated.
(In reply to Stephen Donner [:stephend] from comment #12)
> (In reply to Hubert Figuiere [:hub] from comment #8)
> > Do these phone have SIM cards? one or two?
> 
> It has one (1) AT&T SIM, with full data and voice plans activated.

The SIM I have in it is probably disabled. If that makes the difference, then we'll have a hard time.
I'm now wondering if it's related to bug 959503 / bug 970692.
What's the status now? From what I can see is that it just fails at flashing....
The latest job is running at http://qa-selenium.mv.mozilla.com:8080/view/B2G%20Perf/job/b2g.hamachi.mozilla-central.master.mozperftest/761/console.  Flashing was OK, running the tests seems to be in progress.
(In reply to Jonathan Griffin (:jgriffin) from comment #16)
> The latest job is running at
> http://qa-selenium.mv.mozilla.com:8080/view/B2G%20Perf/job/b2g.hamachi.
> mozilla-central.master.mozperftest/761/console.  Flashing was OK, running
> the tests seems to be in progress.

Oops, wrong job, disregard.
Yes, it seems the Tarako device is borked.  Stephen, can you check it out?
Flags: needinfo?(stephen.donner)
(In reply to Jonathan Griffin (:jgriffin) from comment #18)
> Yes, it seems the Tarako device is borked.  Stephen, can you check it out?

Yep.  Raymond looked at it remotely with me (I'm here in MV) and we couldn't resurrect it (it's stuck at the vendor's boot screen).  He's coming in to look at it in person.
Flags: needinfo?(stephen.donner)
As of today it still fail to flash the device.

What's the status?
Flags: needinfo?(stephen.donner)
Depends on: 973046
(In reply to Hubert Figuiere [:hub] from comment #20)
> As of today it still fail to flash the device.
> 
> What's the status?

The status is, per the set dependencies: blocked again by bug 973046, which is blocked by bug 975232, on which it depends :-(
Flags: needinfo?(stephen.donner)
I found the dependency afterwards.
Whiteboard: [c=automation p= s= u=tarako] → [c=automation p=1 s= u=tarako]
So does it work now that we are unblocked? I never get this error when running test on Tarako. Please let us know. Thanks.
Flags: needinfo?(stephen.donner)
(In reply to Hubert Figuiere [:hub] from comment #23)
> So does it work now that we are unblocked? I never get this error when
> running test on Tarako. Please let us know. Thanks.

Yes, no longer seeing this issue: http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Tarako/job/b2g.tarako.mozilla-b2g28_v1_3t.perf/58/console.  Feel free to mark FIXED; thanks!
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Whiteboard: [c=automation p=1 s= u=tarako] → [c=automation p=1 s=2014.04.11 u=tarako]
Verified FIXED.
Status: RESOLVED → VERIFIED
Target Milestone: --- → 1.4 S5 (11apr)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: