Closed
Bug 1095278
Opened 10 years ago
Closed 10 years ago
Android builds are going to burn when Gecko 36 merges to Beta
Categories
(Firefox Build System :: Android Studio and Gradle Integration, defect)
Firefox Build System
Android Studio and Gradle Integration
ARM
Android
Tracking
(firefox36+ verified, firefox37 verified)
VERIFIED
FIXED
mozilla37
People
(Reporter: RyanVM, Assigned: mcomella)
References
Details
Attachments
(5 files, 8 obsolete files)
(deleted),
patch
|
mfinkle
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
[Tracking Requested - why for this release]: Android build bustage when Gecko 36 merges to Beta.
https://treeherder.mozilla.org/ui/logviewer.html#?job_id=2977389&repo=try
gecko-util.jar
/usr/bin/javac -target 1.7 -source 1.7 -classpath /builds/slave/try-and-0000000000000000000000/build/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/libs/google-play-services.jar:/builds/slave/try-and-0000000000000000000000/build/android-sdk-linux/extras/android/support/v7/mediarouter/libs/android-support-v7-mediarouter.jar:/builds/slave/try-and-0000000000000000000000/build/android-sdk-linux/extras/android/support/v7/appcompat/libs/android-support-v7-appcompat.jar -bootclasspath /builds/slave/try-and-0000000000000000000000/build/android-sdk-linux/platforms/android-20/android.jar:/builds/slave/try-and-0000000000000000000000/build/android-sdk-linux/extras/android/support/v4/android-support-v4.jar -encoding UTF8 -g:source,lines -Werror -Xlint:all,-deprecation -d gecko-util-classes -classpath gecko-mozglue.jar /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/ActivityResultHandler.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/ActivityResultHandlerMap.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/ActivityUtils.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/Clipboard.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/EventCallback.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/FileUtils.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/FloatUtils.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/GamepadUtils.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/GeckoBackgroundThread.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/GeckoEventListener.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/GeckoJarReader.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/GeckoRequest.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/HardwareUtils.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/INIParser.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/INISection.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/IOUtils.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/JSONUtils.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/MenuUtils.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/NativeEventListener.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/NativeJSContainer.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/NativeJSObject.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/NonEvictingLruCache.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/PrefUtils.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/ProxySelector.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/RawResource.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/StringUtils.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/ThreadUtils.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/UIAsyncTask.java /builds/slave/try-and-0000000000000000000000/build/mobile/android/base/util/WebActivityMapper.java
/builds/slave/try-and-0000000000000000000000/build/mobile/android/base/resources/layout-v11/new_tablet_tabs_item_cell.xml:25: error: Error: No resource found that matches the given name (at 'textColor' with value '@color/new_tablet_tab_item_title').
/builds/slave/try-and-0000000000000000000000/build/mobile/android/base/resources/layout-v11/new_tablet_tabs_item_cell.xml:40: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/new_tablet_tab_item_close_button').
aapt: warning: string 'auth_client_needs_enabling_title' has no default translation in /builds/slave/try-and-0000000000000000000000/build/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_needs_installation_title' has no default translation in /builds/slave/try-and-0000000000000000000000/build/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_needs_update_title' has no default translation in /builds/slave/try-and-0000000000000000000000/build/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_play_services_err_notification_msg' has no default translation in /builds/slave/try-and-0000000000000000000000/build/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_requested_by_msg' has no default translation in /builds/slave/try-and-0000000000000000000000/build/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_using_bad_version_title' has no default translation in /builds/slave/try-and-0000000000000000000000/build/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
make[5]: *** [.aapt.deps] Error 1
make[5]: *** Deleting file `.aapt.deps'
make[5]: *** Waiting for unfinished jobs....
Comment 1•10 years ago
|
||
/build/mobile/android/base/resources/layout-v11/new_tablet_tabs_item_cell.xml:25:
error: Error: No resource found that matches the given name (at 'textColor'
with value '@color/new_tablet_tab_item_title').
/builds/slave/try-and-
Same symptoms as Bug 1093636, Bug 1093394; the precise details don't really matter.
I'm guessing this is just the build flag for newtablet being turned off for release builds. Lucas'll be able to confirm.
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(lucasr.at.mozilla)
Comment 2•10 years ago
|
||
Grr, yeah, one more instance of a tablet-specific resource missing. Fixing.
Flags: needinfo?(lucasr.at.mozilla)
Comment 4•10 years ago
|
||
RyanVM: can you verify that the try build you pushed is mozilla-central masquerading as mozilla-beta? I can try to understand this locally.
Flags: needinfo?(ryanvm)
Reporter | ||
Comment 5•10 years ago
|
||
Correct. Comment 1 shows other similar bugs from the past.
Flags: needinfo?(ryanvm)
Comment 7•10 years ago
|
||
This should be as trivial as fixing this:
# Enable the new tablet UI in pre-release builds
# if the max Android sdk is undefined or at least 11.
if test ! "$RELEASE_BUILD"; then
MOZ_ANDROID_NEW_TABLET_UI=1
fi
That is: let the new tablet UI ride the trains. Then, or now, we can entirely unconditionalize the feature: Bug 1106935.
Flags: needinfo?(nalexander)
Reporter | ||
Comment 8•10 years ago
|
||
Mark, this has been on file for over a month now and blocks me from being able to look for any test bustage before the next beta uplift (which is coming shortly after the new year). Can we please get someone to implement the fixes discussed in the comments here so I can get some test coverage before everybody disappears for the holidays?
Flags: needinfo?(mark.finkle)
Comment 9•10 years ago
|
||
Mike - Tablet UI is riding the trains for Fx36. Can we get the code cleaned up enough to remove the conditional parts? Do we have bugs filed for removing the "side by side" nature of the code?
Let's make sure Fx36 moves to Beta cleanly
Flags: needinfo?(michael.l.comella)
Flags: needinfo?(mark.finkle)
Flags: needinfo?(lucasr.at.mozilla)
Comment 10•10 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #9)
> Do we have bugs filed for
> removing the "side by side" nature of the code?
Yes: as mentioned earlier, Bug 1106935.
Comment 11•10 years ago
|
||
This should do the trick.
Attachment #8536642 -
Flags: review?(mark.finkle)
Updated•10 years ago
|
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Updated•10 years ago
|
Flags: needinfo?(michael.l.comella)
Flags: needinfo?(lucasr.at.mozilla)
Comment 12•10 years ago
|
||
Comment on attachment 8536642 [details] [diff] [review]
Part 0: Allow new tablet UI to ride the trains. v1
This is the bare minimum. I think this patch would allow the "Enable new Tablet UI" setting to ship as well. We don't want that.
I am fine with landing this patch, but we must get whatever other "removals" prepped for Fx36 before it merges to Beta.
Flags: needinfo?(michael.l.comella)
Attachment #8536642 -
Flags: review?(mark.finkle) → review+
Comment 13•10 years ago
|
||
This kills part of a test, the checkbox, and takes some of the new tablet switching code down to a stub for removal elsewhere.
This builds, but I haven't tested it. Michael, could you carry this forward?
Attachment #8536692 -
Flags: review?(michael.l.comella)
Comment 14•10 years ago
|
||
As I mentioned in a comment on https://bugzilla.mozilla.org/show_bug.cgi?id=1093394#c7 - I get a portion of this error (about missing resources) when building without the new tablet UI...would that affect this issue?
Comment 15•10 years ago
|
||
Nevermind - ignore my last comment. I thought that the suggested fix was to disable the new tablet UI - but in actuality, it is *enabling* the new tablet UI. Sorry.
Assignee | ||
Comment 16•10 years ago
|
||
Comment on attachment 8536692 [details] [diff] [review]
Part 1: assume new tablet UI. v1
Review of attachment 8536692 [details] [diff] [review]:
-----------------------------------------------------------------
Remove the associated Strings too.
::: mobile/android/base/NewTabletUI.java
@@ +16,5 @@
> if (!HardwareUtils.isTablet()) {
> return false;
> }
>
> + return true;
nit: return HardwareUtils.isTablet();
::: mobile/android/base/tests/testSettingsMenuItems.java
@@ +163,2 @@
> // New tablet UI: we don't allow a page title option.
> + settingsMap.get(PATH_DISPLAY).remove(TITLE_BAR_LABEL_ARR);
Inside `if (isTablet)`
Attachment #8536692 -
Flags: review?(michael.l.comella) → review-
Assignee | ||
Comment 17•10 years ago
|
||
Taking over for rnewman.
Assignee: rnewman → michael.l.comella
Flags: needinfo?(michael.l.comella)
Assignee | ||
Updated•10 years ago
|
Blocks: new-tablet-v1
Assignee | ||
Comment 18•10 years ago
|
||
My updates to Richard's patch sans String updates - I realized we don't want those because this will be uplifted.
Assignee | ||
Updated•10 years ago
|
Attachment #8536692 -
Attachment is obsolete: true
Assignee | ||
Comment 19•10 years ago
|
||
try run w/ the patch: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=b00899638a80
Note that best efforts were made to rebase RyanVM's initial patch (comment 0) onto Aurora for testing this.
Assignee | ||
Comment 20•10 years ago
|
||
try run w/ up-to-date trunk-as-beta patch from RyanVM: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=fabc9cdc499e
Assignee | ||
Comment 21•10 years ago
|
||
testSettingsMenuItems works for me locally on my N7: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=4c69ff8a15c8
Added @RobocopTarget for the other failures.
Assignee | ||
Comment 22•10 years ago
|
||
Update owner info. I'll handle the burning tests in part 2.
Attachment #8538018 -
Flags: review?(mhaigh)
Assignee | ||
Updated•10 years ago
|
Attachment #8537249 -
Attachment is obsolete: true
Assignee | ||
Comment 23•10 years ago
|
||
I'm not sure why the try push in comment 21 would affect API 9... I wonder if there could be an issue in the split patch?
Assignee | ||
Comment 24•10 years ago
|
||
Comment on attachment 8538018 [details] [diff] [review]
Part 1: assume new tablet UI
Review of attachment 8538018 [details] [diff] [review]:
-----------------------------------------------------------------
Tag - no tag backs!
Attachment #8538018 -
Flags: review?(mhaigh) → review?(rnewman)
Assignee | ||
Comment 25•10 years ago
|
||
I can't reproduce the failures in the testAboutPasswords or testGetUserMedia tests locally and I'm having difficulty identifying useful information in the logs - I'm going to try pulling and setting up a new try run to ensure we're still getting the same errors.
Comment 26•10 years ago
|
||
Comment on attachment 8538018 [details] [diff] [review]
Part 1: assume new tablet UI
Review of attachment 8538018 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/NewTabletUI.java
@@ +13,3 @@
> public class NewTabletUI {
> + public static boolean isEnabled(final Context context) {
> + return HardwareUtils.isTablet();
Something to think about: just inline this and eliminate NewTabletUI altogether? Bigger patch, but it kills this class.
Attachment #8538018 -
Flags: review?(rnewman) → review+
Assignee | ||
Comment 27•10 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #26)
> Something to think about: just inline this and eliminate NewTabletUI
> altogether? Bigger patch, but it kills this class.
If there are no major perf wins to be had here, I'd rather keep it in - it makes it easier to find and update these references for bug 1106935.
Assignee | ||
Comment 28•10 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #25)
> I can't reproduce the failures in the testAboutPasswords or testGetUserMedia
> tests locally
Actually, now I can - I think it's because the patch requires a clobber.
Assignee | ||
Comment 29•10 years ago
|
||
Seems this test was not disabled on non-Nightly builds though the feature was.
Attachment #8540442 -
Flags: review?(liuche)
Assignee | ||
Updated•10 years ago
|
Attachment #8540442 -
Attachment description: Part 3: Disable testAboutPasswords on non-Nightly builds → Part 2: Disable testAboutPasswords on non-Nightly builds
Assignee | ||
Comment 30•10 years ago
|
||
GCP, are all of the features of testGetUserMedia available on all release channels? e.g. tab streaming
In my try run [1] for trunk-as-beta simulation, testGetUserMedia fails on 2.3 and doesn't seem to run on 4.0 - I imagine [2] is the reason. Note that testGetUserMedia fails locally.
[1]: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=66bbab144ba4
[2]: https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/tests/testGetUserMedia.java?rev=d7a6ecdac6b4#32
Flags: needinfo?(gpascutto)
Comment 31•10 years ago
|
||
That check will pass on try because the test slaves have emulated cameras. You also ran the test on 4.2 x86, not 4.0 ARM, which is why it didn't run. Looking at the try run, it's tab streaming that is failing. We don't have the Google services for Chromecast(?) in the 2.3 APK but I would expect that tab streaming also works without that, just to WebRTC clients? Blassey, can you confirm?
Flags: needinfo?(gpascutto) → needinfo?(blassey.bugs)
Comment 32•10 years ago
|
||
(In reply to Gian-Carlo Pascutto [:gcp] from comment #31)
> We don't have
> the Google services for Chromecast(?) in the 2.3 APK but I would expect that
> tab streaming also works without that, just to WebRTC clients? Blassey, can
> you confirm?
Yup
Flags: needinfo?(blassey.bugs)
Assignee | ||
Comment 33•10 years ago
|
||
Seems tracking protection is not enabled in non-Nightly builds:
https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/preferences/GeckoPreferences.java?rev=44916c82049c#683
Attachment #8540932 -
Flags: review?(liuche)
Assignee | ||
Comment 34•10 years ago
|
||
Actually, the previous pt. 4 won't work - this one works locally.
Attachment #8541044 -
Flags: review?(liuche)
Assignee | ||
Updated•10 years ago
|
Attachment #8540932 -
Attachment is obsolete: true
Attachment #8540932 -
Flags: review?(liuche)
Assignee | ||
Updated•10 years ago
|
Attachment #8541044 -
Attachment description: Part 4: Do not test for tracking protection on non-nightly builds → Part 3: Do not test for tracking protection on non-nightly builds
Assignee | ||
Comment 35•10 years ago
|
||
First four patches: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=fd5f176a7258
Assignee | ||
Comment 36•10 years ago
|
||
(In reply to Gian-Carlo Pascutto [:gcp] from comment #31)
> You also ran the test on 4.2 x86, not 4.0 ARM, which is why it didn't run.
According to the logs, it ran up until the camera check. robocop.ini [1] implies this test is not disabled on x86.
It also fails locally on my N7 and N9. The push in comment 35 includes 4.0 - I wonder if it will show the same failures.
Any ideas what else this might be? I'll keep investigating in the mean-time.
[1]: https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/tests/robocop.ini?rev=64f427666f49#43
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(gpascutto)
Assignee | ||
Comment 37•10 years ago
|
||
Following the String we're looking for, "Choose a tab to stream" [1], it is defined as tabshare.title [2], which is only used in TabSource.js [3]. While I don't know how the JS manifest files work, it appears it may be disabled for non-release builds [4] [5]. Since [3] references creating the prompt that we see, I think that may be why this test is failing.
Finkle & GCP, any thoughts? Can I disable this test on release builds?
[1]: https://mxr.mozilla.org/mozilla-central/search?string=Choose%20a%20tab%20to%20stream&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
[2]: https://mxr.mozilla.org/mozilla-central/source/mobile/android/locales/en-US/chrome/browser.properties?rev=d9052c420ed3#377
[3]: https://mxr.mozilla.org/mozilla-central/source/mobile/android/components/TabSource.js?rev=c474691b9c0f#36
[4]: https://mxr.mozilla.org/mozilla-central/source/mobile/android/components/MobileComponents.manifest?rev=4f270128536a#108
[5]: https://mxr.mozilla.org/mozilla-central/source/mobile/android/installer/package-manifest.in?rev=70fe31e4b65e#347
Flags: needinfo?(mark.finkle)
Comment 38•10 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #37)
> Following the String we're looking for, "Choose a tab to stream" [1], it is
> defined as tabshare.title [2], which is only used in TabSource.js [3]. While
> I don't know how the JS manifest files work, it appears it may be disabled
> for non-release builds [4] [5]
The opposite: `ifndef RELEASE_BUILD` means that the manifest section will be included (and the code available) if RELEASE_BUILD is *not* defined.
If tab sharing should ride the trains, you'll need to remove that conditional, and any siblings it has scattered around the tree. Bug 996358 can be your guide to that.
Assignee | ||
Comment 39•10 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #38)
> The opposite: `ifndef RELEASE_BUILD` means that the manifest section will be
> included (and the code available) if RELEASE_BUILD is *not* defined.
That is what I intended to say (-_-') meaning...
> Can I disable this test on release builds?
Confirmed for disable.
Flags: needinfo?(mark.finkle)
Flags: needinfo?(gpascutto)
Assignee | ||
Comment 40•10 years ago
|
||
Attachment #8541070 -
Flags: review?(rnewman)
Assignee | ||
Comment 41•10 years ago
|
||
Added some hero logging.
Attachment #8541073 -
Flags: review?(rnewman)
Assignee | ||
Updated•10 years ago
|
Attachment #8540442 -
Attachment is obsolete: true
Attachment #8540442 -
Flags: review?(liuche)
Assignee | ||
Updated•10 years ago
|
Attachment #8541070 -
Attachment description: Part 5: Disable testGetUserMedia on release builds → Part 4: Disable testGetUserMedia on release builds
Assignee | ||
Updated•10 years ago
|
Attachment #8541044 -
Flags: review?(liuche) → review?(rnewman)
Assignee | ||
Comment 42•10 years ago
|
||
Assignee | ||
Comment 43•10 years ago
|
||
Note some additional cleanup in part 4.
Updated•10 years ago
|
Attachment #8541044 -
Flags: review?(rnewman) → review+
Updated•10 years ago
|
Attachment #8541070 -
Flags: review?(rnewman) → review+
Comment 44•10 years ago
|
||
Comment on attachment 8541073 [details] [diff] [review]
Part 2: Disable testAboutPasswords on non-Nightly builds
Review of attachment 8541073 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/tests/testAboutPasswords.java
@@ +17,5 @@
> +
> + @Override
> + public void testJavascript() throws Exception {
> + // This feature is only available in Nightly.
> + if (!AppConstants.NIGHTLY_BUILD) {
Double-check for me: is this feature non-release (Aurora or Nightly), or Nightly only?
@@ +21,5 @@
> + if (!AppConstants.NIGHTLY_BUILD) {
> + Log.d(LOGTAG, "This test is disabled on non-Nightly builds: returning");
> + return;
> + }
> + }
You're missing a `super.testJavascript()` call here.
Attachment #8541073 -
Flags: review?(rnewman)
Assignee | ||
Comment 45•10 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #44)
> ::: mobile/android/base/tests/testAboutPasswords.java
> > + if (!AppConstants.NIGHTLY_BUILD) {
>
> Double-check for me: is this feature non-release (Aurora or Nightly), or
> Nightly only?
Nightly only: https://mxr.mozilla.org/mozilla-central/source/mobile/android/components/AboutRedirector.js?rev=1050ea09ba3e#87
> You're missing a `super.testJavascript()` call here.
Welp, I feel silly. Fixed.
Attachment #8542197 -
Flags: review?(rnewman)
Assignee | ||
Updated•10 years ago
|
Attachment #8541073 -
Attachment is obsolete: true
Assignee | ||
Comment 46•10 years ago
|
||
Comment 47•10 years ago
|
||
Comment on attachment 8542197 [details] [diff] [review]
Part 2: Disable testAboutPasswords on non-Nightly builds
Review of attachment 8542197 [details] [diff] [review]:
-----------------------------------------------------------------
r+ if you find the right log tag!
::: mobile/android/base/tests/testAboutPasswords.java
@@ +11,2 @@
> public class testAboutPasswords extends JavascriptTest {
> + private static final String LOGTAG = testAboutPasswords.class.getSimpleName();
This should really be a value that'll be picked up by the test harness. I *think* this'll be invisible when viewed in the logs, because "Full Logs" doesn't actually show all logcat output.
Time to ask gbrown...
Attachment #8542197 -
Flags: review?(rnewman) → review+
Comment 48•10 years ago
|
||
Looks like it's not so much logtag filtering that we need to worry about, so much as not reporting the whole log.
So let's do something a little different. Add a no-op assertion with the log message instead, so at least it'll show up!
Assignee | ||
Comment 49•10 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #48)
> Looks like it's not so much logtag filtering that we need to worry about, so
> much as not reporting the whole log.
Details:
Filtering:
https://mxr.mozilla.org/mozilla-central/source/testing/mozbase/mozdevice/mozdevice/devicemanager.py?rev=da9a33e93832#149
https://mxr.mozilla.org/mozilla-central/source/build/mobile/remoteautomation.py?rev=edd717f27f37#20
We only take the logcat at the end of the test run so we only get the last few messages.
Assignee | ||
Comment 50•10 years ago
|
||
Updated w/ mAsserter.dumpLog.
Assignee | ||
Updated•10 years ago
|
Attachment #8542197 -
Attachment is obsolete: true
Assignee | ||
Comment 51•10 years ago
|
||
Remove unnecessary Log import. -_-
Assignee | ||
Updated•10 years ago
|
Attachment #8542219 -
Attachment is obsolete: true
Assignee | ||
Comment 52•10 years ago
|
||
Log -> mAsserter.dumpLog.
Assignee | ||
Updated•10 years ago
|
Attachment #8541070 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Attachment #8542224 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Attachment #8542225 -
Flags: review+
Assignee | ||
Comment 53•10 years ago
|
||
Note: updated patches should not be so different from try run in comment 46.
Assignee | ||
Comment 54•10 years ago
|
||
Assignee | ||
Comment 55•10 years ago
|
||
Note: the try build from comment 46 uses a trunk-as-beta simulation patch - I forgot to push against trunk on try, but I don't expect any issues.
https://hg.mozilla.org/mozilla-central/rev/d8fd7efe9ea6
https://hg.mozilla.org/mozilla-central/rev/30a8e30cf31b
https://hg.mozilla.org/mozilla-central/rev/a32868881bc7
https://hg.mozilla.org/mozilla-central/rev/92e3d07b6721
https://hg.mozilla.org/mozilla-central/rev/3e5f3d222e21
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 37
Assignee | ||
Updated•10 years ago
|
Attachment #8536642 -
Attachment description: Allow new tablet UI to ride the trains. v1 → Part 0: Allow new tablet UI to ride the trains. v1
Assignee | ||
Comment 59•10 years ago
|
||
Comment on attachment 8536642 [details] [diff] [review]
Part 0: Allow new tablet UI to ride the trains. v1
Request applies to parts 0 - 4.
Approval Request Comment
[Feature/regressing bug #]:
New tablet UI, FF 36, bug 1014156
[User impact if declined]:
The new tablet UI will not be enabled by default in FF 36, nor will it be available to toggle on. The tree will burn due to inconsistent test state with regards to the "RELEASE_BUILD" flag.
[Describe test coverage new/current, TBPL]:
This patch fixes the existing tests which cover most of the new tablet functionality but there are no new tests to cover the tab strip - bug 1064828.
[Risks and why]:
There may still be mismatched release build and new tablet flags, causing an inconsistent/non-building browser build, but this is unlikely given the trunk-as-beta build I tested with. More simply, these patches may not completely fix the issue in this bug.
[String/UUID change made/needed]: N/A
Flags: needinfo?(michael.l.comella)
Attachment #8536642 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Attachment #8536642 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Reporter | ||
Comment 60•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/aaa8e2cd46e4
https://hg.mozilla.org/releases/mozilla-aurora/rev/ce13de5c49b4
https://hg.mozilla.org/releases/mozilla-aurora/rev/2c0fdd936e83
https://hg.mozilla.org/releases/mozilla-aurora/rev/db56e49069f4
Part 2 was skipped because testAboutPasswords is only on Gecko 37.
status-firefox37:
--- → fixed
Reporter | ||
Comment 61•10 years ago
|
||
Verified green on my latest Try runs. You have earned your gold star, sir! Thanks for hammering this out :)
Updated•5 years ago
|
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 37 → mozilla37
You need to log in
before you can comment on or make changes to this bug.
Description
•