Closed Bug 1011041 Opened 8 years ago Closed 8 years ago

inari eng nightlies failing because stage-update.py can't find a mar

Categories

(Release Engineering :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: bhearsum)

Details

Attachments

(1 file)

https://tbpl.mozilla.org/?jobname=b2g_mozilla-central_inari_eng_nightly

eg:
https://tbpl.mozilla.org/php/getParsedLog.php?id=39693142&tree=Mozilla-Central
{
17:31:06     INFO - mkdir: /builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/testdata
17:31:06     INFO - Writing to file /builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/testdata/smoketest-config.json
17:31:06     INFO - Contents:
17:31:06     INFO -  {"public_key": "/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/target/product/security/testkey.x509.pem", "private_key": "/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/target/product/security/testkey.pk8", "devices": {"otoro": {"serials": ["full_otoro"], "system_fs_type": "ext4", "data_fs_type": "ext4", "sdcard_recovery": "/sdcard", "system_location": "/dev/block/mmcblk0p19", "sdcard": "/mnt/sdcard", "data_location": "/dev/block/mmcblk0p22"}, "inari": {"serials": ["full_inari"], "system_fs_type": "ext4", "data_fs_type": "ext4", "sdcard_recovery": "/sdcard", "system_location": "/dev/block/mmcblk0p19", "sdcard": "/mnt/sdcard", "data_location": "/dev/block/mmcblk0p22"}}}
17:31:06     INFO - Running command: ['mock_mozilla', '-r', u'mozilla-centos6-i386', '-q', '--cwd', '/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build', '--unpriv', '--shell', u'/usr/bin/env MOZ_TELEMETRY_REPORTING=1 VARIANT=eng GAIA_OPTIMIZE=1 "LESSOPEN=|/usr/bin/lesspipe.sh %s" TMOUT=86400 CVS_RSH=ssh LOGNAME=cltbld USER=cltbld PATH=/tools/python27/bin:/usr/local/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cltbld/bin:/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/compare-locales/scripts SYMBOL_SERVER_USER=b2gbld "WGET_OPTS=-c -q" CCACHE_UMASK=002 LANG=en_US.UTF-8 CCACHE_HASHDIR= TERM=linux SHELL=/bin/bash MOZ_BUILD_DATE=20140514160245 SHLVL=1 G_BROKEN_FILENAMES=1 HISTSIZE=1000 SYMBOL_SERVER_PATH=/mnt/netapp/breakpad/symbols_b2g/ LOCALES_FILE=/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/gaia/locales/languages_dev.json SYMBOL_SERVER_HOST=symbolpush.mozilla.org PYTHONPATH=:/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/compare-locales/lib L10NBASEDIR=/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/gecko-l10n MOZILLA_OFFICIAL=1 "MOZ_CHROME_MULTILOCALE=es-ES pl pt-BR" CCACHE_DIR=/builds/ccache CCACHE_COMPRESS=1 B2G_SYSTEM_APPS=1 _=/tools/buildbot/bin/python CCACHE_BASEDIR=/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build HOSTNAME=bld-linux64-spot-380.build.releng.usw2.mozilla.com SYMBOL_SERVER_SSH_KEY=/home/mock_mozilla/.ssh/b2gbld_dsa LOCALE_BASEDIR=/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/gaia-l10n HISTCONTROL=ignoredups POST_SYMBOL_UPLOAD_CMD=/usr/local/bin/post-symbol-upload.py PWD=/builds/slave/b2g_m-cen_inari_eng_ntly-00000 PROPERTIES_FILE=/builds/slave/b2g_m-cen_inari_eng_ntly-00000/buildprops.json MAIL=/var/spool/mail/cltbld B2G_UPDATER=1 B2G_UPDATE_CHANNEL=inari/2.0.0/default /tools/python27/bin/python2.7 /builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/gecko/testing/marionette/update-smoketests/stage-update.py inari /builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/testdata'] in /builds/slave/b2g_m-cen_inari_eng_ntly-00000/build
17:31:06     INFO - Copy/paste: mock_mozilla -r mozilla-centos6-i386 -q --cwd /builds/slave/b2g_m-cen_inari_eng_ntly-00000/build --unpriv --shell "/usr/bin/env MOZ_TELEMETRY_REPORTING=1 VARIANT=eng GAIA_OPTIMIZE=1 \"LESSOPEN=|/usr/bin/lesspipe.sh %s\" TMOUT=86400 CVS_RSH=ssh LOGNAME=cltbld USER=cltbld PATH=/tools/python27/bin:/usr/local/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cltbld/bin:/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/compare-locales/scripts SYMBOL_SERVER_USER=b2gbld \"WGET_OPTS=-c -q\" CCACHE_UMASK=002 LANG=en_US.UTF-8 CCACHE_HASHDIR= TERM=linux SHELL=/bin/bash MOZ_BUILD_DATE=20140514160245 SHLVL=1 G_BROKEN_FILENAMES=1 HISTSIZE=1000 SYMBOL_SERVER_PATH=/mnt/netapp/breakpad/symbols_b2g/ LOCALES_FILE=/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/gaia/locales/languages_dev.json SYMBOL_SERVER_HOST=symbolpush.mozilla.org PYTHONPATH=:/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/compare-locales/lib L10NBASEDIR=/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/gecko-l10n MOZILLA_OFFICIAL=1 \"MOZ_CHROME_MULTILOCALE=es-ES pl pt-BR\" CCACHE_DIR=/builds/ccache CCACHE_COMPRESS=1 B2G_SYSTEM_APPS=1 _=/tools/buildbot/bin/python CCACHE_BASEDIR=/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build HOSTNAME=bld-linux64-spot-380.build.releng.usw2.mozilla.com SYMBOL_SERVER_SSH_KEY=/home/mock_mozilla/.ssh/b2gbld_dsa LOCALE_BASEDIR=/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/gaia-l10n HISTCONTROL=ignoredups POST_SYMBOL_UPLOAD_CMD=/usr/local/bin/post-symbol-upload.py PWD=/builds/slave/b2g_m-cen_inari_eng_ntly-00000 PROPERTIES_FILE=/builds/slave/b2g_m-cen_inari_eng_ntly-00000/buildprops.json MAIL=/var/spool/mail/cltbld B2G_UPDATER=1 B2G_UPDATE_CHANNEL=inari/2.0.0/default /tools/python27/bin/python2.7 /builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/gecko/testing/marionette/update-smoketests/stage-update.py inari /builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/testdata"
17:31:47     INFO -  FOTA Flash ZIP generated: /builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/testdata/inari/20140514160245/flash.zip
17:31:47     INFO -  Building flash zip for device inari, version 32.0a1, build 20140514160245...
17:31:47     INFO -  Traceback (most recent call last):
17:31:47     INFO -    File "/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/gecko/testing/marionette/update-smoketests/stage-update.py", line 95, in <module>
17:31:47     INFO -      main()
17:31:47     INFO -    File "/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/gecko/testing/marionette/update-smoketests/stage-update.py", line 90, in main
17:31:47     INFO -      stage_update(args.device, args.stage_dir)
17:31:47     INFO -    File "/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/gecko/testing/marionette/update-smoketests/stage-update.py", line 62, in stage_update
17:31:47     INFO -      shutil.copy(gecko_mar, complete_mar)
17:31:47     INFO -    File "/tools/python27/lib/python2.7/shutil.py", line 117, in copy
17:31:47     INFO -      copyfile(src, dst)
17:31:47     INFO -    File "/tools/python27/lib/python2.7/shutil.py", line 82, in copyfile
17:31:47     INFO -      with open(src, 'rb') as fsrc:
17:31:47     INFO -  IOError: [Errno 2] No such file or directory: '/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/objdir-gecko/dist/b2g-update/b2g-gecko-update.mar'
17:31:47    ERROR - Return code: 1
17:31:47    FATAL - failed to stage b2g update testdata
17:31:47    FATAL - Running post_fatal callback...
17:31:47    FATAL - Exiting 2
program finished with exit code 2
elapsedTime=5141.881514
========= Finished 'scripts/scripts/b2g_build.py --target ...' failed (results: 2, elapsed: 1 hrs, 25 mins, 42 secs) (at 2014-05-14 17:31:48.441397) =========
}

Last good:
https://tbpl.mozilla.org/?jobname=b2g_mozilla-central_inari_eng_nightly&rev=e5f321740d10

First bad:
https://tbpl.mozilla.org/?rev=5c99d5136ad7&jobname=b2g_mozilla-central_inari_eng_nightly
I'm pretty sure this is going to be permafail, not intermittent. In any case, it's probably a result of me changing the device build MAR filenames.
Assignee: nobody → bhearsum
Yeah it is permafail, the keyword was to get this to show in TBPL, rather than to indicate it's intermittent (helpful I know) :-)
Attached patch kill smoketestSplinter Review
The failing code is part of the smoketest. It started failing when I landed a patch to change MAR filenames. jgriffin says we don't need to run it anymore though. I also killed the dead code.
Attachment #8423213 - Flags: review?(aki)
Comment on attachment 8423213 [details] [diff] [review]
kill smoketest

Awesome. You probably can nuke the testdata_dir from query_abs_dirs.
Attachment #8423213 - Flags: review?(aki) → review+
Summary: B2G inari engineering nightlies failing with "IOError: [Errno 2] No such file or directory: '/builds/slave/b2g_m-cen_inari_eng_ntly-00000/build/objdir-gecko/dist/b2g-update/b2g-gecko-update.mar'" → inari eng nightlies failing because stage-update.py can't find a mar
Comment on attachment 8423213 [details] [diff] [review]
kill smoketest

I killed that upon landing. I transplanted the patch to production - you should be able to safely retrigger the job now.
Attachment #8423213 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Thank you :-)
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.