Closed Bug 1431140 Opened 6 years ago Closed 6 years ago

Android nightly Google Play publishing failures due to "APK is marked as debuggable." error

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect, P1)

All
Android
defect

Tracking

(firefox-esr52 unaffected, firefox57 unaffected, firefox58 unaffected, firefox59- fixed)

RESOLVED FIXED
mozilla59
Tracking Status
firefox-esr52 --- unaffected
firefox57 --- unaffected
firefox58 --- unaffected
firefox59 - fixed

People

(Reporter: RyanVM, Assigned: nalexander)

References

Details

We haven't been able to publish Fennec nightlies to Google Play for the last two days due to the below error:
https://public-artifacts.taskcluster.net/Utdwv3cUSWSr4EiIqzm_iw/0/public/logs/live_backing.log

googleapiclient.errors.HttpError: <HttpError 403 when requesting https://www.googleapis.com/upload/androidpublisher/v2/applications/org.mozilla.fennec_aurora/edits/05751475843230325114/apks?uploadType=media&alt=json returned "APK is marked as debuggable.">

Regression range below shows a lot of Android build changes during that window.
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b7d66e4e60ef&tochange=e4107773cffb

Nick, can you please look ASAP? This is presumably going to be a blocker for shipping Fennec 59 betas next week (not to mention the whole lack of nightlies right now).
Flags: needinfo?(nalexander)
Assuming this was a regression from bug 1411654, I have to wonder why in the world such a big change was landed during the Nightly 59 soft freeze anyway.
Unless there's a very good reason for bug 1411654 having to ship in 59, I'd vote for backing it out and not re-landing until after the Gecko 60 bump next week.
(In reply to Ryan VanderMeulen [:RyanVM] from comment #3)
> Unless there's a very good reason for bug 1411654 having to ship in 59, I'd
> vote for backing it out and not re-landing until after the Gecko 60 bump
> next week.

Let's do that, even though it slows things down.  Clearly my APK comparison process hasn't been rigorous enough for this change.

It's only landing this late because of all the things that happened in the 59 cycle (All-Hands and Christmas), so it can slip to 60.
Flags: needinfo?(nalexander)
(In reply to Johan Lorenzo [:jlorenzo] from comment #2)
> For the record, the same error occurred on the 13th[1]. Backing out bug
> 1411654 made the Google Play upload working again[3]

Oh yeah, this is definitely Bug 1411654 -- we have fragile handling for Debug vs. Release in production, and I triggered changes there that I didn't think to check for.
Assignee: nobody → nalexander
Priority: -- → P1
Version: 55 Branch → Trunk
Fixed by the backout of bug 1411654 et al.

https://hg.mozilla.org/mozilla-central/rev/ef04f3ad8475
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 59 → mozilla59
You need to log in before you can comment on or make changes to this bug.