Closed
Bug 922062
Opened 12 years ago
Closed 12 years ago
Skip duplicate cleanUp steps
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(b2g-v1.2 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
b2g-v1.2 | --- | fixed |
People
(Reporter: zcampbell, Assigned: zcampbell)
Details
Attachments
(1 file, 2 obsolete files)
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
A lot of steps are not necessary - they are already done in the stop/start b2g tidy up.
Summary: Skip duplicate cleanUp steps that → Skip duplicate cleanUp steps
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → zcampbell
Comment 2•12 years ago
|
||
Note that the restart cleanup is optional via the command line --restart option, so some cleanup steps are intentionally duplicated. I'm not sure which ones you're referring to here though.
Assignee | ||
Comment 3•12 years ago
|
||
This saves 5-10 seconds per test on device.
All of these settings are cleared when we stop/start b2g and clear the profile/storage data.
Attachment #811998 -
Flags: review?(florin.strugariu)
Attachment #811998 -
Flags: review?(dave.hunt)
Comment 4•12 years ago
|
||
Comment on attachment 811998 [details] [review]
pull request
I haven't run the tests but assuming they pass, this looks okay to me.
Attachment #811998 -
Flags: review?(dave.hunt) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Thanks, this will save maybe 10 minutes even!
Let's wait for Travis of course.
Comment 6•12 years ago
|
||
Comment on attachment 811998 [details] [review]
pull request
I ran some tests and all looks ok
Attachment #811998 -
Flags: review?(florin.strugariu) → review+
Comment 7•12 years ago
|
||
Let's wait for Travis and then merge it
Comment 8•12 years ago
|
||
Backed out for Gaia UI test failures on TBPL.
https://github.com/mozilla-b2g/gaia/commit/bd2d8af23081971a5f644e821c32a5446d61aea9
https://tbpl.mozilla.org/php/getParsedLog.php?id=28563605&tree=B2g-Inbound
Assignee | ||
Comment 9•12 years ago
|
||
This was fine on Travis. What is wrong with TBPL? Is it set up differently?
Assignee | ||
Comment 10•12 years ago
|
||
The failure pattern indicates that TBPL is not behaving like Travis or device tests.
When desktop is loaded on TBPL it must be loading with the lockscreen displayed. Is it not loading with a fresh profile?
On device/Travis it loads a fresh profile and the first thing we see is the FTU app and when we kill the FTU the screen remains unlocked.
Flags: needinfo?(jgriffin)
Comment 11•12 years ago
|
||
I see 'NOFTU': '1' in the full log, so it may be that the FTU is not displayed in TBPL. Can we keep the unlock in the cleanup (it will have negligible impact on test run time) so that we're covered for both scenarios?
We should probably also have Travis and TBPL configured identically, which means either enabling FTU in TBPL or disabling it in Travis.
Assignee | ||
Comment 12•12 years ago
|
||
Refiled with lock step in all b2g setUp
Attachment #811998 -
Attachment is obsolete: true
Attachment #812518 -
Flags: review?(dave.hunt)
Updated•12 years ago
|
Attachment #812518 -
Flags: review?(dave.hunt) → review+
Comment 13•12 years ago
|
||
ITYM unlock. This looks good to me. Clearing as bug 922547 has been raised to resolve the differences between TBPL and Travis.
Flags: needinfo?(jgriffin)
Comment 14•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Attachment mime type: text/plain text/plain → text/x-github-pull-request text/x-github-pull-request
Comment 15•12 years ago
|
||
Pointer to Github pull-request
Comment 16•12 years ago
|
||
Comment on attachment 826346 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/13313
Pulling changes from master into v1.2
Attachment #826346 -
Flags: review?(zcampbell)
Attachment #826346 -
Flags: review?(florin.strugariu)
Attachment #826346 -
Flags: review?(dave.hunt)
Updated•12 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 17•12 years ago
|
||
Actually, I decided to open a single bug to being all changes to gaiatest from master into v1.2, instead of individual bugs/PRs per original commit.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Attachment #826346 -
Attachment is obsolete: true
Attachment #826346 -
Flags: review?(zcampbell)
Attachment #826346 -
Flags: review?(florin.strugariu)
Attachment #826346 -
Flags: review?(dave.hunt)
Comment 18•12 years ago
|
||
Uplifted to v1.2:
https://github.com/mozilla-b2g/gaia/commit/b6aa907222f1eb252351edd44b4137f57e82f4f1
status-b2g-v1.2:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•