Closed Bug 922062 Opened 12 years ago Closed 12 years ago

Skip duplicate cleanUp steps

Categories

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

Other
Gonk (Firefox OS)
defect
Not set
normal

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.
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: nobody → zcampbell
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.
Attached file pull request (obsolete) —
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 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+
Thanks, this will save maybe 10 minutes even! Let's wait for Travis of course.
Comment on attachment 811998 [details] [review] pull request I ran some tests and all looks ok
Attachment #811998 - Flags: review?(florin.strugariu) → review+
Let's wait for Travis and then merge it
This was fine on Travis. What is wrong with TBPL? Is it set up differently?
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)
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.
Attached file pull request
Refiled with lock step in all b2g setUp
Attachment #811998 - Attachment is obsolete: true
Attachment #812518 - Flags: review?(dave.hunt)
Attachment #812518 - Flags: review?(dave.hunt) → review+
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)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attachment mime type: text/plain text/plain → text/x-github-pull-request text/x-github-pull-request
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)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
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 ago12 years ago
Resolution: --- → FIXED
Attachment #826346 - Attachment is obsolete: true
Attachment #826346 - Flags: review?(zcampbell)
Attachment #826346 - Flags: review?(florin.strugariu)
Attachment #826346 - Flags: review?(dave.hunt)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: