Closed Bug 1204658 Opened 10 years ago Closed 9 years ago

[meta] Taskcluster scripts will need to point to the FOTA zip files for updating Flame/Aries once the FOTAs are available.

Categories

(Taskcluster :: Services, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: nhirata, Unassigned)

References

Details

(Whiteboard: [b2g-build-support])

in bug 1201540 and bug 1037056, we should be making FOTA builds on taskcluster for Aries and Flame. Following this to make FOTA work, we need to make a server side change to support FOTA. AFAIK, we need the mar files pointed to the FOTA part. (Probably should do some testing to see if the client part needs any changes as well)
The ability to specify FOTA is already in the build script: https://dxr.mozilla.org/mozilla-central/source/testing/mozharness/scripts/b2g_build.py?case=true&from=b2g_build.py#167 To change this in the build, you need to update a configuration option in the mozharness config located in testing/mozharness/configs/b2g. The existing script is: taskcluster-phone-ota.py Probably copying that to a new script: taskcluster-phone-fota.py is the way to go. Then a new task file needs to be added to testing/taskcluster/tasks/builds for each new build (Aries and Flame). There are a few config options in there. And add a new variable MOZHARNESS_CONFIG in the "env:" portion of the config that points to the 'taskcluster-phone-fota.py' script. At that point, these builds should be runnable.
Pay attention, patch in bug 1201540 does a fullimg fota, not just a Gecko/Gaia one.
Apologies if you found the last comment offensive. He's referring to Flame needing a gecko/gaia FOTA versus Aries that needs a full FOTA w/ IMEI whitelisting. It's two separate issues that have to be handled differently.
(In reply to Alexandre LISSY :gerard-majax from comment #2) > Pay attention, patch in bug 1201540 does a fullimg fota, not just a > Gecko/Gaia one. That bug only updated the build targets, rather than the build automation. My comment was about what needs to happen in build automation (mozharness, etc) to produce these in infra.
Whiteboard: [tc-build-support]
Priority: -- → P1
Whiteboard: [tc-build-support] → [b2g-build-support]
Naoki: Is this bug to create a Gecko/Gaia FOTA only? And if so, is the build step necessary what was said here: https://bugzilla.mozilla.org/show_bug.cgi?id=1037056#c14
Flags: needinfo?(nhirata.bugzilla)
bug 1037056 is to build the flame gecko/gaia FOTA. We need the scripts to push information to balrog so that balrog can point the end users to the FOTA build instead of the OTA build. The later is what this bug is about.
Flags: needinfo?(nhirata.bugzilla)
(In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from comment #6) > bug 1037056 is to build the flame gecko/gaia FOTA. We need the scripts to > push information to balrog so that balrog can point the end users to the > FOTA build instead of the OTA build. The later is what this bug is about. Naoki, Who is responsible for writing this script? B2G or RelEng?
Flags: needinfo?(nhirata.bugzilla)
(In reply to Jean Gong from comment #7) > (In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from > comment #6) > > bug 1037056 is to build the flame gecko/gaia FOTA. We need the scripts to > > push information to balrog so that balrog can point the end users to the > > FOTA build instead of the OTA build. The later is what this bug is about. > > Naoki, > > Who is responsible for writing this script? B2G or RelEng? That's the million dollar question, Jean, that we're trying to figure out. :)
Flags: needinfo?(nhirata.bugzilla)
(In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from comment #8) > (In reply to Jean Gong from comment #7) > > (In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from > > comment #6) > > > bug 1037056 is to build the flame gecko/gaia FOTA. We need the scripts to > > > push information to balrog so that balrog can point the end users to the > > > FOTA build instead of the OTA build. The later is what this bug is about. > > > > Naoki, > > > > Who is responsible for writing this script? B2G or RelEng? > > That's the million dollar question, Jean, that we're trying to figure out. > :) I think this will be done in the current latest patch I have for bug 1201540 comment 47
Flags: needinfo?(jgong)
Ok. Sounds good. Anything I need to do?
Flags: needinfo?(jgong)
Depends on: 1211965
Thanks Alexandre. Jean, I talked to catlee and the plan is to freeze nightly-latest, land the patch on build bot and test on nightly-test. We're going to kick off a build today and test.
Summary: Taskcluster scripts will need to point to the FOTA zip files for updating Flame/Aries once the FOTAs are available. → [meta] Taskcluster scripts will need to point to the FOTA zip files for updating Flame/Aries once the FOTAs are available.
Moving to TaskCluster component...
Component: TaskCluster → Integration
Product: Testing → Taskcluster
Component: Integration → Platform and Services
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Component: Platform and Services → Services
You need to log in before you can comment on or make changes to this bug.