Closed
Bug 1058166
Opened 11 years ago
Closed 11 years ago
android mozApps.install error
Categories
(Marketplace Graveyard :: Integration, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: thecount, Unassigned)
Details
Attachments
(1 file)
|
34.66 KB,
application/x-gzip
|
Details |
I have this example: http://scottdowne.github.io/exampleApp/
That tries to install this manifest: https://github.com/ScottDowne/exampleApp/blob/gh-pages/manifest.webapp
When installed using Android, it reports a 503 while hosted on github, and a 504 when hosted locally. Works on ff os simulator.
I'm told it looks like apk generation is failing.
Thoughts?
Comment 1•11 years ago
|
||
It does indeed look like APK generation is failing. I'm unsure why, but I validated the manifest:
https://marketplace.firefox.com/developers/upload/bf254b0ed2b94b6f865e34529b5f7412
And the validator complained that the manifest is missing an *icons* property:
Error: The 'root' node of the Web App Manifest expects a `icons` element, which was not found.
Which is one of the three required properties:
https://developer.mozilla.org/en-US/Apps/Build/Manifest#Manifest_fields
So perhaps that's the reason.
Comment 2•11 years ago
|
||
Is there any more debugging information we can get? Maybe there's a log near the machine that generates APK's we can look at?
| Reporter | ||
Comment 3•11 years ago
|
||
Yeah, I tested it with it too, locally, same issue but I never pushed it up. I'll push it up to clean confusion and just in case I goofed up the test and that is the fix.
| Reporter | ||
Comment 4•11 years ago
|
||
Updated the manifest, getting other errors though. Working through them best I can.
| Reporter | ||
Comment 5•11 years ago
|
||
I'm getting two issues via the validator now, both kinda feel off: https://marketplace.firefox.com/developers/upload/c86c2967713c4cce9d84a71e0144ae70
It's saying there is a syntax issue but I cannot seem to find it, the json looks fine.
It also says the content-type is wrong, but here: https://developer.mozilla.org/en-US/Marketplace/Options/Hosted_apps#GitHub
It says github should host it with the correct mime type if it has the .webapp extension.
I don't think these are my issue, but never know.
Comment 6•11 years ago
|
||
(In reply to Scott [:thecount] Downe from comment #5)
> I'm getting two issues via the validator now, both kinda feel off:
> https://marketplace.firefox.com/developers/upload/
> c86c2967713c4cce9d84a71e0144ae70
>
> It's saying there is a syntax issue but I cannot seem to find it, the json
> looks fine.
It looks like you validated https://github.com/ScottDowne/exampleApp/blob/gh-pages/manifest.webapp, which is an HTML view of the source code of the file, whereas you need to validate http://scottdowne.github.io/exampleApp/manifest.webapp, which is the file itself. Here's the validator's report for the file itself:
https://marketplace.firefox.com/developers/upload/0dc13e3cc2f647dd8a489c1fc3845edd
So the manifest looks fine now. But the APK Factory is still not generating its APK. I'm going to move this to the Marketplace::Integration component, which is where we've been tracking APK Factory issues (even though the APK Factory also generates APKs for non-Marketplace apps like this one.)
I'm also cc:ing clouserw for advice on who might be able to look at this (or at least provide us with logs from the APK Factory server.)
Component: Web Apps → Integration
Product: Firefox for Android → Marketplace
QA Contact: aaron.train
Version: unspecified → 2014-Q3
Comment 8•11 years ago
|
||
Logs for APK factory are in Kibana https://mana.mozilla.org/wiki/pages/viewpage.action?pageId=38547561#controller.apk.firefox.com&generator.apk.firefox.com%28APKFactoryService%29-Kibana/Logging but I am not seeing any generator related logs for the past couple of hours. On closer inspection on the 3 generator nodes I do see in the supervisor logs 'Concurrent Builds: 10 of 10'. I've attached the generator supervisor log.
I believe this is related to a bug in feature bug 1031027 comment 11. Concurrent builds counter in apk factory generator is not decrementing correctly which causes generator not to accept new connections. Since there is no time stamp in the log it's hard to say when this is actually happening. There are also instances in logs where Concurrent Builds: -1 of 10 which doesn't seem right.
For now I have restarted the generator workers and generator is now accepting connections. Bug 1045282 for monitoring the state of concurrent builds.
Flags: needinfo?(jthomas)
Comment 9•11 years ago
|
||
(In reply to Jason Thomas [:jason] from comment #8)
> For now I have restarted the generator workers and generator is now
> accepting connections. Bug 1045282 for monitoring the state of concurrent
> builds.
Thanks, Jason!
Installing the app now works, so resolving this fixed!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•