Closed Bug 1009456 Opened 10 years ago Closed 10 years ago

Unable to reset Gaia on Tarako devices

Categories

(Firefox OS Graveyard :: Performance, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davehunt, Unassigned)

Details

Attachments

(1 file)

Attached file console.log
I noticed that our make test-perf (mozperftest) job was not resetting to the latest Gaia for Tarako as we do for Hamachi/mozilla-central. I modified the Jenkins job to perform this additional step but since then it has failed due to running out of disk space on the device. Here's a snippet from the console log: $ GAIA_OPTIMIZE=1 NOFTU=1 make reset-gaia ... push: profile/webapps/music2.gaiamobile.org/application.zip -> /system/b2g/webapps/music2.gaiamobile.org/application.zip push: profile/webapps/music2.gaiamobile.org/manifest.webapp -> /system/b2g/webapps/music2.gaiamobile.org/manifest.webapp push: profile/webapps/wallpaper.gaiamobile.org/application.zip -> /system/b2g/webapps/wallpaper.gaiamobile.org/application.zip failed to copy 'profile/webapps/wallpaper.gaiamobile.org/application.zip' to '/system/b2g/webapps/wallpaper.gaiamobile.org/application.zip': No space left on device Traceback (most recent call last): File "build/install-gaia.py", line 188, in <module> install_gaia() File "build/install-gaia.py", line 168, in install_gaia install_gaia_slow() File "build/install-gaia.py", line 147, in install_gaia_slow adb_push(profile_folder + '/webapps', webapps_path) File "build/install-gaia.py", line 42, in adb_push subprocess.check_call([adb_cmd, 'push', local, remote]) File "/usr/lib/python2.7/subprocess.py", line 511, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['adb', 'push', 'profile/webapps', '/system/b2g/webapps']' returned non-zero exit status 1 make: *** [install-gaia] Error 1 Build step 'Execute managed script' marked build as failure Archiving artifacts Sending e-mails to: webqa-ci@mozilla.org Finished: FAILURE Here's the free space immediately following the full flash: Filesystem Size Used Free Blksize /dev 49M 68K 48M 4096 /mnt/asec 49M 0K 49M 4096 /mnt/obb 49M 0K 49M 4096 /system 110M 91M 18M 4096 /data 91M 15M 75M 4096 /cache 7M 956K 6M 4096 /productinfo 2M 784K 1M 4096 /runtimenv 3M 1M 2M 4096 /backupfixnv 2M 836K 1M 4096 /fixnv 2M 836K 1M 4096 /mnt/sdcard 3G 1002M 2G 32768 /mnt/secure/asec 3G 1002M 2G 32768 I wonder if we should pass additional flags when resetting Gaia on Tarako? I've attached the full console log.
:hub any ideas? For now I have removed the reset Gaia build step so we at least have results for each tinderbox build.
Flags: needinfo?(hub)
I ran into that too. I have no idea. I know that recently there have been a new base image that change partition size. But I haven't done it myself.
Flags: needinfo?(hub)
The extra apps such as music 2 and other items in the engineering profile cause the device to run out of space I think. They won't fit. The production version barely fits onto the system profile.
How do we reset gaia but exclude most of these testing apps? I would assume all we need to do is follow the same process that takes place when preparing Gaia for the tinderbox builds? I've successfully been able to run using the following: $ cp build/apps-production.list build/apps-perf.list $ echo test_apps/template >> build/apps-perf.list $ GAIA_APP_TARGET=perf GAIA_OPTIMIZE=1 NOFTU=1 make clean reset-gaia This uses the production apps (plus Template, which is needed for these perf tests). Does this seem like a reasonable approach Naoki?
Flags: needinfo?(nhirata.bugzilla)
yes, I think so! that's a clever way to resolve the issue for bug 980829.
Flags: needinfo?(nhirata.bugzilla)
Okay, I've set the Jenkins job up to do this and will report back. I don't think we can use this for bug 980829 though as we don't reset gaia in those affected jobs. We'd need to influence the apps installed on a releng buid. Perhaps we need a new apps-*.list file for test automation? The 'engineering' list contains more than we need, and the 'production' list misses template and others we may need (such as UI Test?). Alternatively, maybe we could slim down 'engineering' and create an 'all' or 'dev' list?
Flags: needinfo?(nhirata.bugzilla)
I'm going to mark this as resolved. The job is now successfully flashing Gaia onto the Tarako with the workaround proposed in comment 5. The ni? is also asked on bug 980829 so I'll let that continue there.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(nhirata.bugzilla)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: