Closed
Bug 815348
Opened 12 years ago
Closed 9 years ago
Tracking: Meet memory-usage acceptance criteria
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: cjones, Assigned: gal)
References
(Depends on 1 open bug, )
Details
(Keywords: meta)
See the URL for the acceptance criteria. The document will evolve.
Reporter | ||
Comment 1•12 years ago
|
||
The model device used for tests is the "otoro", which is
- HVGA
- 16-bit display
- has 256MB physical RAM
- running the ics_chocolate branch of gonk
Reporter | ||
Comment 2•12 years ago
|
||
These are intermittently not-broken enough for me to complete the test. Not blocking this work anymore though they're still bad bugs.
Reporter | ||
Comment 3•12 years ago
|
||
Guys, can we run these tests[1] as part of the smoketests? We went from passing all three on Dec 6 to failing all of them today.
The regressions (bug 820702, bug 820704) are not related to memory usage, they're just extremely basic user scenarios that are regressing. This is noise that makes it hard to actually test the memory-usage signal.
[1] https://wiki.mozilla.org/B2G/Memory_acceptance_criteria#Workloads
Reporter | ||
Comment 4•12 years ago
|
||
We just went from all-pass to all-fail again, all the failures for crashes not related to memory usage. This is bad and wrong.
Reporter | ||
Comment 5•12 years ago
|
||
Back to no more non-memory-usage-related failures \o/
Can we help keep it that way by adding these tests to our smoketests?
Comment 6•12 years ago
|
||
That's tough - the smoketests are already lengthy and time-consuming.
Is it possible to automate this test?
Reporter | ||
Comment 7•12 years ago
|
||
Nope.
Comment 8•12 years ago
|
||
Ok. Will see if QA will run it at least weekly.
Reporter | ||
Comment 9•12 years ago
|
||
Weekly isn't enough to be useful. Don't bother.
Comment 10•12 years ago
|
||
I think these memory tests can be automated with gaia-ui-test framework (probably need a little help with shell script)
Can I work on this?
Reporter | ||
Comment 11•12 years ago
|
||
We don't have a meaningful and reliable way to automate many of the checks in these tests. I proposed a way over a year ago, but we haven't had bandwidth to implement that yet.
With the technology we currently have, you could automate the tests for a particular gaia SHA1, but then on the next commit the automation would break, with high probability. And then the tests would fail for reasons not related to the tests themselves until someone had time to fix the tests/automation. That would probably take around a week, and we'd be back where we started with comment 8.
So unless you're committed to that maintenance burden or can find someone who is, I would also say "don't bother" ;).
Reporter | ||
Comment 12•12 years ago
|
||
Aaaaand we're back to failing all the tests. Sad.
Comment 13•12 years ago
|
||
Can you try backing out bug 838615?
Reporter | ||
Comment 14•12 years ago
|
||
(Right bug #?)
Comment 15•12 years ago
|
||
(In reply to Chris Jones [:cjones] [:warhammer] from comment #14)
> (Right bug #?)
Yes. It's possible that we're sending processes into the background and giving them a very low CPU priority, which is causing them to take longer to start up, which is causing them to be killed.
Reporter | ||
Comment 16•12 years ago
|
||
We're back to failing for non-memory-management-related bugs, which is a start I guess.
Reporter | ||
Comment 17•12 years ago
|
||
I'm tired of fighting for blocking on exotic use cases like "can launch the dialer".
Someone else will need to pick this up.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 18•12 years ago
|
||
That someone is lucky me I guess.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → gal
Reporter | ||
Comment 19•12 years ago
|
||
In the very last run of the memory tests, we went all pass. Nice work, jlebar!
From here on out we'll transition away from unrealistic workloads like launching a few apps and onto our extensive automation, dogfooding, and QA testing.
Reporter | ||
Comment 20•12 years ago
|
||
I forgot to add: this was the first all-pass for a long time, so bug 836654 is almost certainly the fix.
Comment 21•11 years ago
|
||
Is this bug serving any useful purpose now? It hasn't been touched in 9 months. Bug 797189 is still open as a kind of catch-all for memory issues.
Updated•9 years ago
|
Status: REOPENED → RESOLVED
Closed: 12 years ago → 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•