Closed
Bug 1317880
Opened 8 years ago
Closed 8 years ago
Building Adjust sdk broken on beta 51, keeping mozilla-beta closed
Categories
(Firefox Build System :: Android Studio and Gradle Integration, defect, P1)
Tracking
(firefox51blocking fixed, firefox52 fixed, firefox53 fixed)
People
(Reporter: philor, Assigned: ahunt)
Details
(Whiteboard: [MobileAS])
Attachments
(1 file, 2 obsolete files)
58 bytes,
text/x-review-board-request
|
sebastian
:
review+
gchang
:
approval-mozilla-aurora+
gchang
:
approval-mozilla-beta+
|
Details |
Last thing keeping beta closed and keeping us from being able to ship the first beta of 51.
Once bug 1317359 made it possible to actually build Adjust, we now have https://treeherder.mozilla.org/logviewer.html#?job_id=1922227&repo=mozilla-beta
02:57:31 INFO - Exception in thread "main" java.lang.NoClassDefFoundError: com/adjust/sdk/OnAttributionChangedListener
02:57:31 INFO - at java.lang.ClassLoader.defineClass1(Native Method)
02:57:31 INFO - at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
02:57:31 INFO - at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
02:57:31 INFO - at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
02:57:31 INFO - at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
02:57:31 INFO - at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
02:57:31 INFO - at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
02:57:31 INFO - at java.security.AccessController.doPrivileged(Native Method)
02:57:31 INFO - at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
02:57:31 INFO - at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
02:57:31 INFO - at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
02:57:31 INFO - at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
02:57:31 INFO - at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
02:57:31 INFO - at org.mozilla.gecko.annotationProcessors.classloader.JarClassIterator.fillLookAheadIfPossible(JarClassIterator.java:51)
02:57:31 INFO - at org.mozilla.gecko.annotationProcessors.classloader.JarClassIterator.hasNext(JarClassIterator.java:27)
02:57:31 INFO - at org.mozilla.gecko.annotationProcessors.AnnotationProcessor.main(AnnotationProcessor.java:84)
02:57:31 INFO - Caused by: java.lang.ClassNotFoundException: com.adjust.sdk.OnAttributionChangedListener
02:57:31 INFO - at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
02:57:31 INFO - at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
02:57:31 INFO - at java.security.AccessController.doPrivileged(Native Method)
02:57:31 INFO - at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
02:57:31 INFO - at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
02:57:31 INFO - at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
02:57:31 INFO - at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
02:57:31 INFO - ... 16 more
02:57:32 INFO - gmake[5]: *** [GeneratedJNIWrappers.cpp] Error 1
Reporter | ||
Comment 1•8 years ago
|
||
[Tracking Requested - why for this release]:
Because it's making releasing it impossible.
tracking-firefox51:
--- → ?
Comment 2•8 years ago
|
||
Sebastian can you help find someone to work on this? It is blocking 51 beta 1 mobile.
Comment 3•8 years ago
|
||
Brad, maybe you can suggest someone to investigate/fix this. I'm not sure who to needinfo to.
Flags: needinfo?(blassey.bugs)
Comment 5•8 years ago
|
||
It looks like we do not include the Adjust code at all - which depends on MOZ_INSTALL_TRACKING being set at this point:
https://dxr.mozilla.org/mozilla-central/source/mobile/android/base/moz.build#1007-1044
I'll have a look, but I'll also flag Chris who might already know what's going on here.
Flags: needinfo?(s.kaspari) → needinfo?(cmanchester)
Comment 6•8 years ago
|
||
Andrzej is actually already working on fixing this.
Assignee: nobody → ahunt
Flags: needinfo?(cmanchester)
Assignee | ||
Comment 7•8 years ago
|
||
Assignee | ||
Comment 8•8 years ago
|
||
Assignee | ||
Comment 9•8 years ago
|
||
These two patches allow me to build beta locally, and are intended for applying directly to beta.
Part 1 contains build changes that will probably need to be landed on central/aurora too before the next merge day, I don't know if the patch I've uploaded would even apply to central/aurora (there's a lot of work going on in the geckoview area, which I'm not entirely up to date on).
Part 2 already exists on nightly/aurora (52/53) as Bug 1306021.
We should probably look into producing builds with adjust enabled on central/aurora to prevent this issue from hitting us again. Sebastian suggested running builds with the beta/release configuration on central/aurora, which would allow us to verify that we don't break anything that might only be enabled with the release config. (Adjust is however the most significant difference, and adds a large chunk of code that is only built on beta/release.)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8811179 -
Flags: review?(s.kaspari)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8811162 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8811163 -
Attachment is obsolete: true
Comment 12•8 years ago
|
||
mozreview-review |
Comment on attachment 8811179 [details]
Bug 1317880 - Move adjust and thirdparty jars into GECKOVIEW_JARS to fix annotation processing
https://reviewboard.mozilla.org/r/93388/#review93422
Attachment #8811179 -
Flags: review?(s.kaspari) → review+
Comment 13•8 years ago
|
||
Pushed by ahunt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6b7c1986d7ec
Move adjust and thirdparty jars into GECKOVIEW_JARS to fix annotation processing r=sebastian
Assignee | ||
Comment 14•8 years ago
|
||
Comment on attachment 8811179 [details]
Bug 1317880 - Move adjust and thirdparty jars into GECKOVIEW_JARS to fix annotation processing
Approval Request Comment
[Feature/regressing bug #]: Probably Bug 1291375
[User impact if declined]: can't build beta (== can't build with adjust enabled)
[Describe test coverage new/current, TreeHerder]: manual local builds of both m-c and beta (beta with adjust enabled, m-c without).
[Risks and why]: Medium risk, build system changes that involve moving jars around between GeckoView and Fennec.
[String/UUID change made/needed]: none.
Attachment #8811179 -
Flags: approval-mozilla-beta?
Attachment #8811179 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•8 years ago
|
Status: NEW → ASSIGNED
Iteration: --- → 1.9
Priority: -- → P1
Whiteboard: [MobileAS]
Comment 15•8 years ago
|
||
Comment on attachment 8811179 [details]
Bug 1317880 - Move adjust and thirdparty jars into GECKOVIEW_JARS to fix annotation processing
Fix a blocker for building fennec 51 beta. Beta51+ and Aurora52+.
Attachment #8811179 -
Flags: approval-mozilla-beta?
Attachment #8811179 -
Flags: approval-mozilla-beta+
Attachment #8811179 -
Flags: approval-mozilla-aurora?
Attachment #8811179 -
Flags: approval-mozilla-aurora+
Updated•8 years ago
|
status-firefox52:
--- → affected
Comment 16•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Comment 17•8 years ago
|
||
bugherder uplift |
Comment 18•8 years ago
|
||
bugherder uplift |
Updated•6 years ago
|
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 53 → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•