Closed Bug 1244298 Opened 4 years ago Closed 4 years ago

URLs are not opened in artifact builds due to stale android-api-11 artifacts being fetched

Categories

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

47 Branch
defect
Not set

Tracking

(firefox47 fixed)

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: arcturus, Assigned: nalexander)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When clicking on any url, from the top sites, bookmarks or any of the tabs, or even introducing the url on the address bar, fennec doesn't load any url.

The logcat output that I get each time I try to open an url is:

01-29 22:04:28.086  5257  5257 D Telemetry: SendUIEvent: event = loadurl.1 method = suggestion timestamp = 623470 extras = 2
01-29 22:04:28.086  5257  5257 D Telemetry: StopUISession: awesomescreen.1, reason=null
01-29 22:04:28.087   204   818 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
01-29 22:04:28.097   204   818 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
01-29 22:04:28.097   204   818 D msm8974_platform: platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
01-29 22:04:28.097   204   818 D audio_hw_primary: enable_snd_device: snd_device(2: speaker)
01-29 22:04:28.102   204   818 D audio_hw_primary: enable_audio_route: apply and update mixer path: low-latency-playback
01-29 22:04:28.281   782  1833 D NetlinkSocketObserver: NeighborEvent{elapsedMs=623666, 192.168.0.1, [C03E0F7B01D8], RTM_NEWNEIGH, NUD_STALE}
01-29 22:04:29.280   782   888 D ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [WIFI () - 100]
Assuming flags are vaguely correct: is this a Nightly build (if so, which one?) or a developer build?

I've seen this before for my own local builds, where a clobber was needed.
Flags: needinfo?(francisco)
It's a developer build, just compiled from m-c.
Flags: needinfo?(francisco)
Hi Richard,

just went through the process again, and manage to have the problem solved, the different between my builds was the first time, when I get the error I was using arctifact builds in macosx, and the second time when it worked I just build gecko from scracth plus fennec.
Flags: needinfo?(rnewman)
Just tried:

./mach artifact clear-cache
./mach artifact install
./mach build && ./mach package && ./mach install

And still see the problem.
Component: General → Build Config & IDE Support
Flags: needinfo?(rnewman) → needinfo?(nalexander)
Summary: URLs are not opened → URLs are not opened in artifact builds
(In reply to Francisco Jordano [:arcturus] [:francisco] from comment #4)
> Just tried:
> 
> ./mach artifact clear-cache
> ./mach artifact install
> ./mach build && ./mach package && ./mach install
> 
> And still see the problem.

This is most often a binary mismatch between your source tree and the binaries fetched.  It can be hard to determine why.

We've recently landed some improvements to artifact that should be better at choosing artifacts: https://bugzilla.mozilla.org/show_bug.cgi?id=1240667.

In general, I think the best I can recommend is to make sure you update your source tree and then re-run the build.  We have further improvements planned to make sure artifacts aren't too stale, and I hope these help you too.
Blocks: artifact
Flags: needinfo?(nalexander)
I now think we're seeing stale android-api-11 artifacts being fetched, instead of shiny fresh android-api-15 artifacts.  Digging in.
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Comment on attachment 8714384 [details]
MozReview Request: Bug 1244298 - Download android-api-15 artifacts. r?ahunt

https://reviewboard.mozilla.org/r/33057/#review29817

Looks good!
Attachment #8714384 - Flags: review?(ahunt) → review+
Francisco -- just want to thank you for filing early and to apologize for not identifying the real cause here until I started seeing this throughout the whole Fennec team.

It can be hard to differentiate "known artifact issues" from "we're busted" -- and in this case, we were busted.  Thanks again!
Summary: URLs are not opened in artifact builds → URLs are not opened in artifact builds due to stale android-api-11 artifacts being fetched
(In reply to Nick Alexander :nalexander from comment #10)
> Francisco -- just want to thank you for filing early and to apologize for
> not identifying the real cause here until I started seeing this throughout
> the whole Fennec team.

My pleasure ;) ... and thanks for taking care of this so quickly!
https://hg.mozilla.org/mozilla-central/rev/45467848daac
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 47 → mozilla47
You need to log in before you can comment on or make changes to this bug.