Closed Bug 1206028 Opened 9 years ago Closed 9 years ago

[Aries KK]][Hackerplace] Hackerplace app is unuseable.

Categories

(Firefox OS Graveyard :: Gaia::Hackerplace, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:2.5+, b2g-master verified)

VERIFIED FIXED
blocking-b2g 2.5+
Tracking Status
b2g-master --- verified

People

(Reporter: yelanying, Assigned: mikehenrty)

Details

(Keywords: regression, smoketest, Whiteboard: [dogfood-blocker])

Attachments

(6 files, 1 obsolete file)

Attached file logcat_0100.txt
[1.Description]:
[Aries KK v2.5][Hackerplace] Hackerplace app is unuseable when you launch it.

Time: 01:00
See attachments:logcat_0100.txt and Aries_KK v2.5.3gp

[2.Testing Steps]: 
1.Launch Hackerplace app.

[3.Expected Result]: 
1.It can be useable.

[4.Actual Result]: 
1.It's unuseable.

[5.Reproduction build]: 
Device: Aries KK 2.5 user [Affected]
Build ID               20150917232249
Gaia Revision          2082894c8e974b0c371e4dec298e0ad0f3ac56b1
Gaia Date              2015-09-17 14:56:47
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/01a75ffad1024a3f75d494fb77a022c96a497eb2
Gecko Version          43.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20150917.224210
Firmware Date          Thu Sep 17 22:42:18 UTC 2015
Bootloader             s1

Device: Aries KK 2.5 eng [Affected]
Build ID               20150917232610
Gaia Revision          2082894c8e974b0c371e4dec298e0ad0f3ac56b1
Gaia Date              2015-09-17 14:56:47
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/01a75ffad1024a3f75d494fb77a022c96a497eb2
Gecko Version          43.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20150917.224608
Firmware Date          Thu Sep 17 22:46:16 UTC 2015
Bootloader             s1

[6.Reproduction Frequency]: 
Always Recurrence,10/10

[7.TCID]: 
16424

[8.Note]:
Flame KK v2.5 dosen't have this app.
Attached video Aries_KK v2.5.3gp
Hi William,

Could you have someone to take a look at this bug? The bug seems to fail TCID 16424.
" Case #16424
Title: Ensure the supported Spark Apps launch
Step: 1. Launch Customizer, Sharing, Webmaker, Hackerplace, Studio, BuddyUp and Bugzilla Lite
>>Each app launches and is usable.
"
Flags: needinfo?(whsu)
I saw many errors on the log

09-18 00:32:05.845 W/Marketplace( 3022): [JavaScript Warning: "Error in parsing value for 'display'.  Declaration dropped." {file: "https://marketplace.cdn.mozilla.net/media/fireplace/css/include.css?b=1442340905908" line: 46 column: 439 source: ".games-home{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:100%;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%}.games-home>section{padding:30px 120px;width:100%}.games-home-primary{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-directio"}]
Flags: needinfo?(whsu)
Also, I saw the error while I reproduced this bug.


E/Hackerplace( 1974): [JavaScript Error: "SyntaxError: import declarations may only appear at top level" {file: "app://directory.gaiamobile.org/js/app.js" line: 1 column: 0 source: "import 'js/globals';
E/Hackerplace( 1974): "}]
Assignee: nobody → nhirata.bugzilla
Whiteboard: [dogfood-blocker]
triage: blocking for white screen, app is dead in the water. Marking this P1 as long as hackerplace is distributed with the Aries build.
blocking-b2g: --- → 2.5+
Priority: -- → P1
Keywords: smoketest
Doug/Kevin,

Mhenretty is ooo. And I believe Naoki is working on backing out the patch that may have caused this issue.  Can one of you please help take a look if the backout does not help here. 

This is holding up dogfood builds.

Thanks a lot!

Hema
Flags: needinfo?(kevingrandon)
Flags: needinfo?(drs)
Comment on attachment 8664387 [details] [review]
revert hackerplace, add mozspeech

I assume that this is just a straight revert of that commit without the mozspeechcollect stuff removed as well.
Flags: needinfo?(drs)
Attachment #8664387 - Flags: feedback?(drs) → feedback+
Comment on attachment 8664387 [details] [review]
revert hackerplace, add mozspeech

I've confirmed that this works, so it'll do for now.
Attachment #8664387 - Flags: review?(drs) → review+
https://github.com/mozilla-b2g/gaia/commit/5f67c62ccacb9e9ae6f5989ef9fdcd8ed5c2515e
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(kevingrandon)
Resolution: --- → FIXED
This issue IS still occurring on the latest Aries 2.5 Master build.

Hackerplace is still launching as a blank screen with a repro rate of approximately 46/50 attempts.  I have intermittently been able to launch the app and see the app UI properly, but the majority of the times the app is launched, only a blank screen is displayed.


Environmental Variables:
Device: Aries 2.5
BuildID: 20150924111215
Gaia: 4bb17b24620818cbda0ba0c0d69e0ce3f914e1b7
Gecko: 001942e4617b2324bfa6cdfb1155581cbc3f0cc4
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 44.0a1 (2.5) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0
QA Whiteboard: [QAnalyst-Triage?][failed-verification]
Flags: needinfo?(ktucker)
Let's make sure this issue was actually caused by the reverted commit.
QA Contact: pcheng
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
QA Contact: pcheng
Assignee: nhirata.bugzilla → drs
Status: REOPENED → ASSIGNED
Attachment #8665688 - Flags: review?(jdarcangelo)
Attachment #8665690 - Attachment description: Add "moz-extremely-unstable-and-will-change-webcomponents" permission. → [Directory] Add "moz-extremely-unstable-and-will-change-webcomponents" permission.
Attachment #8665690 - Attachment is patch: true
Attachment #8665690 - Attachment mime type: text/x-github-pull-request → text/plain
Attachment #8665688 - Attachment description: [Sharing] Add "moz-extremely-unstable-and-will-change-webcomponents" permission. → [Studio] Add "moz-extremely-unstable-and-will-change-webcomponents" permission.
Attachment #8665688 - Flags: review?(jdarcangelo) → review?(etienne)
Attachment #8665688 - Attachment is patch: true
Attachment #8665688 - Attachment mime type: text/x-github-pull-request → text/plain
Attachment #8665693 - Attachment is patch: true
Attachment #8665693 - Attachment mime type: text/x-github-pull-request → text/plain
Attachment #8665693 - Flags: review?(jdarcangelo) → review+
QA Whiteboard: [QAnalyst-Triage?][failed-verification] → [QAnalyst-Triage+][failed-verification]
Comment on attachment 8665690 [details] [diff] [review]
[Directory] Add "moz-extremely-unstable-and-will-change-webcomponents" permission.

This is needed I think in that repo.  Having said that, it's already added in the app in the main gaia repo.  There's something else that's causing the white out...
Attachment #8665690 - Flags: review?(nhirata.bugzilla) → review-
Attachment #8665688 - Flags: review?(etienne) → review+
QA Contact: pcheng
QA Whiteboard: [QAnalyst-Triage+][failed-verification] → [failed-verification]
Flags: needinfo?(ktucker)
b2g-inbound regression window:

Last Working
Device: Aries 2.5
BuildID: 20150917052413
Gaia: aede8622d780ec71f766a3ecccbff74c04aaba4e
Gecko: 8d4c37a86b576db4ef150dff715a89ff77e84bf5
Version: 43.0a1 (2.5) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:43.0) Gecko/43.0 Firefox/43.0

First Broken
Device: Aries 2.5
BuildID: 20150917070524
Gaia: eb62d50351fd6a9b560fe369387d8138b9b3a2d3
Gecko: bd9c944ed8add573d1fdeaf7dcc3ed424e8bdad1
Version: 43.0a1 (2.5) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:43.0) Gecko/43.0 Firefox/43.0

Last Working Gaia First Broken Gecko - no repro
Gaia: aede8622d780ec71f766a3ecccbff74c04aaba4e
Gecko: bd9c944ed8add573d1fdeaf7dcc3ed424e8bdad1

Last Working Gecko First Broken Gaia - repro
Gaia: eb62d50351fd6a9b560fe369387d8138b9b3a2d3
Gecko: 8d4c37a86b576db4ef150dff715a89ff77e84bf5

Gaia pushlog:
https://github.com/mozilla-b2g/gaia/compare/aede8622d780ec71f766a3ecccbff74c04aaba4e...eb62d50351fd6a9b560fe369387d8138b9b3a2d3

Caused by Gaia commit eb62d50351fd6a9b560fe369387d8138b9b3a2d3
QA Whiteboard: [failed-verification] → [QAnalyst-Triage?][failed-verification]
Flags: needinfo?(jmercado)
Naoki and Doug, please take a look at the pushlog from comment 17
QA Whiteboard: [QAnalyst-Triage?][failed-verification] → [QAnalyst-Triage+][failed-verification]
Flags: needinfo?(nhirata.bugzilla)
Flags: needinfo?(jmercado)
Flags: needinfo?(drs)
We already reverted and it's still not working correctly.  It's something else.

Even with that as a benefit of the doubt, I also checked via reverting to a previous hash and copying and pushing to make sure it wasn't any file change difference.

Something else is causing the issue to occur.
Flags: needinfo?(nhirata.bugzilla)
So I found out by flashing a 9/16 gaia on top of 9/18 that the first instance of the white out was caused by this regression.  We had backed out of this change.  There's something in the gecko that's causing a second regression with the same issue as I flashed a 9/16 gaia on top of today's gecko and I still get the white out.

I'm trying to find the regression range for the second break.
Looking at the patch... that doesn't make sense...
I'm pretty sure this commit caused the regression [1]. When spark-bot deployed the hackerplace, it did so with the un-built javascript files. We need to first build the hackerplace, and then use the javascript files in the /dist/ folder of the hackerplace repo in gaia.

1.) https://github.com/mozilla-b2g/gaia/commit/eb62d50351fd6a9b560fe369387d8138b9b3a2d3
Comment on attachment 8665690 [details] [diff] [review]
[Directory] Add "moz-extremely-unstable-and-will-change-webcomponents" permission.

I'll merge this. Thanks Doug.
Attachment #8665690 - Flags: review- → review+
Naoki, let me know if I can help out here with building hackerplace.
Flags: needinfo?(nhirata.bugzilla)
Spoke with Michael, he's helping out.  

recap: there are two regressions : one from trying to push a new hackerplace which a backout had fixed, then a second white out issue.  There's a permission that needs to be added which Michael has done in the app source tree which is what the patch is.  The patch does not fix the issue.

Michael is investigating the possibility of a race condition, which would make a regression window hard to find/useless.  I confirmed that the regression window I had in comment 24 is wrong.

Once we get that issue resolved, I think we'll work on updating the hackerplace in general?
Flags: needinfo?(nhirata.bugzilla)
Comment on attachment 8667349 [details] [review]
[gaia] mikehenrty:bug-1206028-deploy-hackerplace > mozilla-b2g:master

Naoki, can you see if this deploy of hackerplace fixes the issue?
Attachment #8667349 - Flags: review?(nhirata.bugzilla)
Cherry picked Michael's patch.  It seems that install-gaia didn't make the hackerplace show, reset-gaia however did.  Not sure if that will make a difference.

Kicked off a build : https://tools.taskcluster.net/task-inspector/#MtsglCSmSduiLQM606y7Vw/
for aries FOTA with mhenretty's patch.
Comment on attachment 8667349 [details] [review]
[gaia] mikehenrty:bug-1206028-deploy-hackerplace > mozilla-b2g:master

The patch makes a successful marketplace build and view; even updating from RC4 will show the app properly.
Attachment #8667349 - Flags: review?(nhirata.bugzilla) → review+
ok, merged the hackerplace fix into master:

https://github.com/mozilla-b2g/gaia/commit/f4d1301790c616f5ef871272ccb76f35c898e32b

sounds like we'll have a foxfood update soon \o/
Assignee: drs → mhenretty
Status: ASSIGNED → RESOLVED
Closed: 9 years ago9 years ago
Flags: needinfo?(drs)
Resolution: --- → FIXED
This issue is verified fixed in Aries 2.5.

Environmental Variables:
Device: Aries 2.5 [Full Flash]
BuildID: 20151001114357
Gaia: bd8ff00faac97ad6a2df5a6217910b8d295d56a3
Gecko: 2c1fb007137dcb68b1862a79553b53f1a34c99c3
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 44.0a1 (2.5) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0

Result:
The hackerplace app opens correctly.
Status: RESOLVED → VERIFIED
QA Whiteboard: [QAnalyst-Triage+][failed-verification] → [QAnalyst-Triage+]
Flags: needinfo?(jmercado)
Flags: needinfo?(jmercado)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: