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)
Taskcluster
Services
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)
![]() |
Reporter | |
Updated•10 years ago
|
Comment 1•10 years ago
|
||
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.
Comment 2•10 years ago
|
||
Pay attention, patch in bug 1201540 does a fullimg fota, not just a Gecko/Gaia one.
![]() |
Reporter | |
Comment 3•10 years ago
|
||
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.
Comment 4•10 years ago
|
||
(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.
Updated•10 years ago
|
Whiteboard: [tc-build-support]
Updated•10 years ago
|
Priority: -- → P1
Updated•10 years ago
|
Whiteboard: [tc-build-support] → [b2g-build-support]
Comment 5•10 years ago
|
||
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)
![]() |
Reporter | |
Comment 6•10 years ago
|
||
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)
Comment 7•10 years ago
|
||
(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?
Updated•10 years ago
|
Flags: needinfo?(nhirata.bugzilla)
![]() |
Reporter | |
Comment 8•10 years ago
|
||
(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)
Comment 9•10 years ago
|
||
(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)
![]() |
Reporter | |
Comment 11•10 years ago
|
||
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.
Updated•10 years ago
|
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.
Comment 12•9 years ago
|
||
Moving to TaskCluster component...
Component: TaskCluster → Integration
Product: Testing → Taskcluster
Updated•9 years ago
|
Component: Integration → Platform and Services
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•6 years ago
|
Component: Platform and Services → Services
You need to log in
before you can comment on or make changes to this bug.
Description
•