Nightly unagi build still broken

RESOLVED FIXED

Status

Firefox OS
GonkIntegration
P1
critical
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: jgriffin, Unassigned)

Tracking

unspecified
All
Gonk (Firefox OS)

Firefox Tracking Flags

(blocking-basecamp:+)

Details

(Reporter)

Description

5 years ago
When made with latest gaia+gecko, build fails after the gecko and gaia build is complete, during the packaging step, with:

WARNING: Found 29 duplicate files taking 83678 bytes
Stripped 77182 bytes
Deoptimized 0/1171 in ./omni.ja
Compressing...
cd ../../dist && gtar -c --owner=0 --group=0 --numeric-owner --mode="go-w" --exclude=.mkdir.done -f - b2g | gzip -vf9 > b2g-18.0a2.en-US.android-arm.tar.gz
 39.0%
make[4]: Leaving directory `/data/jenkins/jobs/build-unagi/workspace/objdir-gecko/b2g/installer'
touch make-package
make[3]: Leaving directory `/data/jenkins/jobs/build-unagi/workspace/objdir-gecko/b2g/installer'
make tools
make[3]: Entering directory `/data/jenkins/jobs/build-unagi/workspace/objdir-gecko/b2g/installer'
make[3]: Nothing to be done for `tools'.
make[3]: Leaving directory `/data/jenkins/jobs/build-unagi/workspace/objdir-gecko/b2g/installer'
if test -d ../../dist/bin ; then touch ../../dist/bin/.purgecaches ; fi
make[2]: Leaving directory `/data/jenkins/jobs/build-unagi/workspace/objdir-gecko/b2g/installer'
make[1]: Leaving directory `/data/jenkins/jobs/build-unagi/workspace/objdir-gecko'
Install dir: out/target/product/unagi/system/b2g
mv out/target/product/unagi/system/b2g/webapps out/target/product/unagi/system
rm -rf out/target/product/unagi/system/b2g
mkdir -p out/target/product/unagi/system/b2g
mv out/target/product/unagi/system/webapps out/target/product/unagi/system/b2g
mkdir -p out/target/product/unagi/system/b2g/defaults/pref
sed s/user_pref\(/pref\(/ /data/jenkins/jobs/build-unagi/workspace/gaia/profile/user.js > out/target/product/unagi/system/b2g/defaults/pref/user.js
cp /data/jenkins/jobs/build-unagi/workspace/gaia/build/settings.json out/target/product/unagi/system/b2g/defaults/settings.json
cp: cannot stat `/data/jenkins/jobs/build-unagi/workspace/gaia/build/settings.json': No such file or directory
make: *** [out/target/product/unagi/system/gecko] Error 1

real	52m38.308s
user	85m16.087s
sys	8m33.484s

> Build failed! <
I was able to successfully build after mvines backed out my changes.

I've since updated things so that settings.py will work with python 2.6.5

The following 2 pull requests:
https://github.com/mozilla-b2g/gaia/pull/6263
https://github.com/mozilla-b2g/gonk-misc/pull/53

will reinstate settings.py

It's important to note that in either case there was a change made to gaia and gonk-misc and you need to use matching versiosns of both trees.

If you look in gaia/build you should see either settings.py or settings.json.

If you see settings.json, then gonk-misc/Android.mk should have a line that does a cp of settings.json.

If you see settings.py, then gonk-misc/Android.mk should have a line that references settings.py

Updated

5 years ago
blocking-basecamp: --- → ?

Updated

5 years ago
blocking-basecamp: ? → +

Updated

5 years ago
Severity: normal → critical
Priority: -- → P1
(Reporter)

Comment 2

5 years ago
On the builder, I see settings.py in gaia/build, but gonk-misc/Android.mk contains a line to copy settings.json.

I am guessing this is because some changes need to land on Gaia's nightly branch (from which all the nightlies are made).

Comment 3

5 years ago
Can you please land the patch on the nightly branch? I don't understand why this is still broken. Dylan, it seems there is a third part of the process that failed here (no update to the nightly branch).
Ok - I merged my new changes. 

B2G       git hash is b3fa904f390698ff54bb981d453f48788e05e6c7
gaia      git hash is 96594a9abb3bd9ebf3ccfd763e28caa64ce2776c
gonk-misc git hash is 5463ef6058a4aad360f60953231111b89abf8615

I verified that both otoro and unagi build and flash with the above hashes.
I verified that I was using python 2.6.5 for both builds.

To confirm that you have the right files, you should have settings.py in your gaia/build tree and your gonk-misc/Android.mk should have a reference to settings.py

If you don't find the above, then your gaia tree isn't consistent with your gonk-misc tree.

Right now, my otoro built against mozilla-inbound boots, and my unagi built against mozilla-aurora does not.

I'm going to do clobber builds for each phone, against each of m-i and m-a and I'll report the results heres.
Both unagi and my otoro build and boot with both mozilla-inbound and mozilla-aurora
Which gaia branch are you using? The builders use the nightly branch of gaia, not the master one.
Being unaware of the nightly branch, I of course merged into master.

I've now merged into nightly as well, and verified that it builds/flashes and boots on my unago.
(Reporter)

Comment 8

5 years ago
Thanks for the fix, the nightly unagi just completed successfully.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.