Closed
Bug 1027144
Opened 10 years ago
Closed 10 years ago
Re-enable test_homescreen_move_app.py, test_homescreen_delete_app.py
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(b2g-v2.0 fixed, b2g-v2.1 fixed)
RESOLVED
FIXED
2.0 S5 (4july)
People
(Reporter: zcampbell, Assigned: kgrandon)
References
Details
(Keywords: qablocker, regression, Whiteboard: [systemsfe][xfail], NPOTB)
Attachments
(4 files, 1 obsolete file)
Over the last weekend changes were made to the Homescreen that regressed the testability.
Instead of this being resolved, tests were disabled.
The devs have described the problem as "In gaia_dragdrop, in the contextmenu event handler we don't handle it if the transition is still ending - this will then bubble up to the app and it will treat it as a long-press on the wallpaper."
It needs to be resolved because it is blocking P1 QA Smoketest coverage.
Rough regression range:
Passing:
Gaia revision 90777363ed0a
Gecko build 20140612160203
Gecko revision aab3362f97e9
Gecko version 33.0a1
Failing:
Gaia dfc4703bb81d1fa4f2087a1a6124b47a80a5d1de
Gecko https://hg.mozilla.org/mozilla-central/rev/80431d4fd0da
BuildID 20140616040202
Version 33.0a1
Assignee | ||
Comment 1•10 years ago
|
||
I think we should wait until transitionend before starting a new drag operation. The gaia fix will likely be to prevent the contextmenu while a transitionend is in progress - though a user will probably never run into this.
Also FWIW we do already have test coverage for this in the app. It's a unit test currently, and we're also working on JS marionette tests for this.
Comment 2•10 years ago
|
||
QA blocker - needs to block the release.
blocking-b2g: --- → 2.0?
QA Whiteboard: [VH-FL-blocking+][VH-FC-blocking+]
Keywords: qablocker,
regression
Whiteboard: [systemsfe]
Updated•10 years ago
|
Blocks: vertical-homescreen
Reporter | ||
Comment 4•10 years ago
|
||
I haven't checked yet. We're enabling vertical hs tests on v2.0 tomorrow so we'll know then. Keeping ni? until then.
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to Kevin Grandon :kgrandon from comment #1)
> I think we should wait until transitionend before starting a new drag
> operation. The gaia fix will likely be to prevent the contextmenu while a
> transitionend is in progress - though a user will probably never run into
> this.
I did try to put some generous waits into the test to wait for edit mode to settle and stabilise but it did not resolve it. but I agree it's a Marionette only problem, I could not replicate it manually.
Flags: needinfo?(zcampbell)
Comment 6•10 years ago
|
||
Will wait on a 2.0 nom until I get confirmation that this happens on 2.0.
blocking-b2g: 2.0? → 2.1?
Updated•10 years ago
|
QA Whiteboard: [VH-FL-blocking+][VH-FC-blocking+] → [VH-FL-blocking?][VH-FC-blocking?]
Updated•10 years ago
|
Whiteboard: [systemsfe] → [systemsfe][xfail]
Updated•10 years ago
|
Comment 7•10 years ago
|
||
Confirmed this test got shut off on 2.0 as well.
blocking-b2g: 2.1? → 2.0?
QA Whiteboard: [VH-FL-blocking?][VH-FC-blocking?] → [VH-FL-blocking+][VH-FC-blocking+]
Assignee | ||
Comment 8•10 years ago
|
||
I understand the desire to have these tests and we really want them as well, but how does this constitute a FL blocker? I understand the value in tests and they are really nice, but to me it doesn't seem like they should necessarily block the feature from landing. We have coverage for this functionality, and we will work on getting this working again for device coverage.
Can we remove FL blocking and keep FC blocking?
Flags: needinfo?(jsmith)
Flags: needinfo?(cserran)
Comment 9•10 years ago
|
||
(In reply to Kevin Grandon :kgrandon from comment #8)
> I understand the desire to have these tests and we really want them as well,
> but how does this constitute a FL blocker? I understand the value in tests
> and they are really nice, but to me it doesn't seem like they should
> necessarily block the feature from landing. We have coverage for this
> functionality, and we will work on getting this working again for device
> coverage.
>
> Can we remove FL blocking and keep FC blocking?
I don't think so. This is caused QA to lose smoketest coverage, so we need this test turned on asap.
Flags: needinfo?(jsmith)
Assignee | ||
Comment 10•10 years ago
|
||
We will turn this on asap, but I think you are abusing the feature landing flag for this. Feature landing === feature work.
Comment 11•10 years ago
|
||
(In reply to Kevin Grandon :kgrandon from comment #10)
> We will turn this on asap, but I think you are abusing the feature landing
> flag for this. Feature landing === feature work.
No, that's wrong. Feature landing means:
* No smoketest blockers
* No automation coverage lost due to landing of a feature (this is what is causing this to block)
* No missing use cases
Assignee | ||
Comment 12•10 years ago
|
||
Renaming this because we can't change anything about gaia to support this, we need to fix the waits in the test. I'm looking into it now.
Component: Gaia::Homescreen → Gaia::UI Tests
Summary: [Vertical homescreen] Homescreen testability has been regressed → Re-enable test_homescreen_move_app.py
Assignee | ||
Comment 13•10 years ago
|
||
Hey guys - anyone have time for a review?
Assignee: nobody → kgrandon
Status: NEW → ASSIGNED
Attachment #8443076 -
Flags: review?(zcampbell)
Attachment #8443076 -
Flags: review?(florin.strugariu)
Assignee | ||
Updated•10 years ago
|
Target Milestone: --- → 2.0 S4 (20june)
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(cserran)
Comment 14•10 years ago
|
||
I'll pull blocking flag since now I understand this doesn't require a gaia change. Still need to block FL though for the reasons mentioned above.
blocking-b2g: 2.0? → ---
Reporter | ||
Comment 15•10 years ago
|
||
Comment on attachment 8443076 [details] [review]
Github pull request
Bebe is off today.
r+, It works very well. Thanks a lot Kevin, you're a true gentleman!
Attachment #8443076 -
Flags: review?(zcampbell)
Attachment #8443076 -
Flags: review?(florin.strugariu)
Attachment #8443076 -
Flags: review+
Reporter | ||
Comment 16•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 17•10 years ago
|
||
I'll trial this on v2.0
Status: RESOLVED → REOPENED
Flags: needinfo?(zcampbell)
Resolution: FIXED → ---
Reporter | ||
Comment 18•10 years ago
|
||
This doesn't go straight onto v2.0, there must be some vertical hs commits waiting to be uplifted to v2.0. (or at least on the build I was using)
Flags: needinfo?(zcampbell)
Assignee | ||
Comment 19•10 years ago
|
||
Thanks Zac.
I uplifted a lot of commits last night and I'm generally doing everything in resolution order. It's best if we mark this as resolved so it goes in landing order, and it should be fine to uplift now - I'll follow through on it. Let me know if you have any objections to that.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 20•10 years ago
|
||
Comment on attachment 8443076 [details] [review]
Github pull request
This is a test and is needed to ensure we don't regress the vertical homescreen in 2.0. Not part of the build.
Attachment #8443076 -
Flags: approval-gaia-v2.0?(bbajaj)
Updated•10 years ago
|
Whiteboard: [systemsfe][xfail] → [systemsfe][xfail], NPOTB
Updated•10 years ago
|
status-b2g-v2.0:
--- → affected
status-b2g-v2.1:
--- → fixed
Updated•10 years ago
|
Attachment #8443076 -
Flags: approval-gaia-v2.0?(bbajaj) → approval-gaia-v2.0+
Assignee | ||
Comment 21•10 years ago
|
||
Comment 22•10 years ago
|
||
Reverted for intermittent test failures:
https://tbpl.mozilla.org/php/getParsedLog.php?id=42273009&tree=B2g-Inbound
https://github.com/mozilla-b2g/gaia/commit/a0807151b0b28feb59b323a30b1f74dc8801be32
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 23•10 years ago
|
||
Reckon this is actually a functional regression introduced recently.
Comment 24•10 years ago
|
||
Ed - Are you sure you backed out the right patch here? I would expect a Gaia patch to be backed out here that caused the functional regression, not the test.
Flags: needinfo?(emorley)
Comment 25•10 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #24)
> Ed - Are you sure you backed out the right patch here? I would expect a Gaia
> patch to be backed out here that caused the functional regression, not the
> test.
Yes I'm sure.
The test was flaky, was supposed to be fixed, and is still flaky, hence the fixing and re-enablement of the test being reverted.
Note comment 22 said /intermittent/ rather than permanently failing & also bear in mind this landed late on friday, and not as many jobs run (or are starred) over the weekend, so this test wasn't necessarily "fine" and then regressed later by something else.
Flags: needinfo?(emorley)
Comment 26•10 years ago
|
||
The uplift also turned gaia-ui-tests perma-orange on Aurora:
https://tbpl.mozilla.org/?tree=Mozilla-Aurora&jobname=gaia-ui
Please can you back it out there?
Comment 27•10 years ago
|
||
Assignee | ||
Comment 28•10 years ago
|
||
We were tracking the perma-orange in bug 1028640, which was due to waiting on bug 962645 to be uplifted.
I would like the tests to maintain the same state across the branch, so going to perform a backout on 2.0 while we investigate.
https://github.com/mozilla-b2g/gaia/commit/112b26d38f9ef91ca00d435055f5d28267423e53
Assignee | ||
Updated•10 years ago
|
Updated•10 years ago
|
Target Milestone: 2.0 S4 (20june) → 2.0 S5 (4july)
Comment 29•10 years ago
|
||
Add a wait before "first_app_before_move = self.homescreen.visible_apps[0].name" can fix the "IndexError: list index out of range" issue
https://github.com/mozilla-b2g/gaia/pull/20920
(In reply to Ed Morley [:edmorley UTC+0] from comment #27)
> Another on trunk:
> https://tbpl.mozilla.org/php/getParsedLog.php?id=42276928&tree=Mozilla-
> Inbound
Updated•10 years ago
|
feature-b2g: --- → 2.0
Reporter | ||
Comment 30•10 years ago
|
||
On behalf of Askeing.
Triggered it a few times to validate its stability:
https://tbpl.mozilla.org/?tree=Gaia-Try&rev=a431b50a07c2a30a4ea5c815cd3c27fb4b811399
Attachment #8445884 -
Flags: review?(zcampbell)
Attachment #8445884 -
Flags: review?(kgrandon)
Reporter | ||
Updated•10 years ago
|
Attachment #8445884 -
Flags: review?(kgrandon) → review?(florin.strugariu)
Comment 31•10 years ago
|
||
(In reply to Zac C (:zac) from comment #30)
> Triggered it a few times to validate its stability:
> https://tbpl.mozilla.org/?tree=Gaia-
> Try&rev=a431b50a07c2a30a4ea5c815cd3c27fb4b811399
Thanks for pushing to try :-) We'll need to run it something like 100 times to know for sure; have requested some additional retriggers.
Comment 32•10 years ago
|
||
Clearing the feature-b2g flag - this isn't feature work, but rather automation coverage lost against the FL criteria QA has set.
feature-b2g: 2.0 → ---
Reporter | ||
Comment 33•10 years ago
|
||
I've disabled and fixed the disabled messages for the two failing tests.
Also gave this bug the dependency upon the homescreen fix.
master
https://github.com/mozilla-b2g/gaia/commit/5ab7b1ce3144eb399575a76b58d2600b34d02411
v2.0
https://github.com/mozilla-b2g/gaia/commit/d815bfbb70d0f4a3757bb9eb93956a59a103d181
Summary: Re-enable test_homescreen_move_app.py → Re-enable test_homescreen_move_app.py, test_homescreen_delete_app.py
Comment 34•10 years ago
|
||
(In reply to Ed Morley [:edmorley UTC+0] from comment #31)
> (In reply to Zac C (:zac) from comment #30)
> > Triggered it a few times to validate its stability:
> > https://tbpl.mozilla.org/?tree=Gaia-
> > Try&rev=a431b50a07c2a30a4ea5c815cd3c27fb4b811399
>
> Thanks for pushing to try :-) We'll need to run it something like 100 times
> to know for sure; have requested some additional retriggers.
This found a failure:
https://tbpl.mozilla.org/php/getParsedLog.php?id=42455542&tree=Gaia-Try
TEST-UNEXPECTED-FAIL | test_homescreen_move_app.py test_homescreen_move_app.TestMoveApp.test_move_app_position | AssertionError: u'Phone' != u'FM Radio'
Reporter | ||
Comment 35•10 years ago
|
||
Comment on attachment 8445884 [details] [review]
github pr
This is not ready for review as the bug is blocked.
Attachment #8445884 -
Flags: review?(zcampbell)
Attachment #8445884 -
Flags: review?(florin.strugariu)
Assignee | ||
Comment 36•10 years ago
|
||
Pull request with just the revert, try results starting to come in and look promising: https://tbpl.mozilla.org/?tree=Gaia-Try&rev=791b9aeda2d8071b638a8eb4f80211b38b6e9b77
Assuming we get a slew of greens, it should be fine to land this now that the dependent bug has landed.
Attachment #8445884 -
Attachment is obsolete: true
Assignee | ||
Comment 37•10 years ago
|
||
A few failures for clock, but the intermittent here seems to have gone away, landing..
Assignee | ||
Comment 38•10 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 39•10 years ago
|
||
(In reply to Kevin Grandon :kgrandon from comment #37)
> A few failures for clock, but the intermittent here seems to have gone away,
> landing..
Damn, thought I resolved those last week :(
Thanks for re-enabling this test!
Comment 40•10 years ago
|
||
Kevin, does something need to be done on v2.0 here still?
Flags: needinfo?(kgrandon)
Assignee | ||
Comment 41•10 years ago
|
||
The test was turned off in 2.0, so I applied this patch to re-enable it now that the dependent bug has landed. A=test only.
Comment 42•10 years ago
|
||
Let's re-enable test_homescreen_delete_app.py too
Attachment #8448040 -
Flags: review?(zcampbell)
Reporter | ||
Comment 43•10 years ago
|
||
Comment on attachment 8448040 [details] [review]
Github PR: https://github.com/mozilla-b2g/gaia/pull/21188
r+ thanks!
Attachment #8448040 -
Flags: review?(zcampbell) → review+
Reporter | ||
Comment 44•10 years ago
|
||
Comment 45•10 years ago
|
||
test_delete_app need to be re-enabled on v2.0
Attachment #8449392 -
Flags: review?(zcampbell)
Attachment #8449392 -
Flags: review?(florin.strugariu)
Updated•10 years ago
|
Attachment #8449392 -
Flags: review?(florin.strugariu) → review+
Reporter | ||
Comment 46•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Attachment #8449392 -
Flags: review?(zcampbell)
You need to log in
before you can comment on or make changes to this bug.
Description
•