#5805 HIGH Update.: olpc-update failed message

Zarro Boogs per Child bugtracker at laptop.org
Thu Jan 17 16:54:55 EST 2008


#5805: olpc-update failed message
------------------------------+---------------------------------------------
  Reporter:  chihyu           |       Owner:  cscott  
      Type:  defect           |      Status:  new     
  Priority:  high             |   Milestone:  Update.1
 Component:  upgrade utility  |     Version:          
Resolution:                   |    Keywords:          
  Verified:  0                |    Blocking:          
 Blockedby:                   |  
------------------------------+---------------------------------------------

Comment(by chihyu):

 Replying to [comment:5 ffm]:
 > for me, it fails at "localtime", which occurred after I changed the
 timezone.
 >
 > Also occurs for Aaron Konstam


 I performed {{{olpc-update --usb}}} again from joyride 1537 to joyride
 1541. I did not change the timezone, but this time the error message
 includes "localtime" and "MemoryError" (please see below).

 The update was successful, despite the error message.

 {{{
 -bash-3.2# olpc-update --usb
 Updating to version hash a2187811ad6b9413b688d0fd8ad1253d
 Deleting old pristine version [some old hash]
 Deleting run version [some old hash]
 Deleting old contents for version [some old hash]
 Making clean /versions/updates/a2187811ad6b9413b688d0fd8ad1253d
 Trying irsync_pristine update from /tmp/tmpxSvC-6
  - Cleaning tree.
  - Fetching contents.
  - Performing incremental rsync.
 Verifying update.
 Contents manifest failure at line 383
 Last file examined: localtime
 Update failed: Command '['/usr/sbin/olpc-contents-verify',
 '/versions/updates/a2187811ad6b9413b688d0fd8ad1253d/etc/passwd',
 '/version/updates/a2187811ad6b9413b688d0fd8ad1253d/etc/group',
 'a2187811ad6b9413b688d0fd8ad1253dc78066e59690e597b18062ca6a1dbedb',
 '/versions/updates/a2187811ad6b9413b688d0fd8ad1253d.contents',
 '/versions/updates/a2187811ad6b9413b688d0fd8ad1253d',
 '/versions/updates/a2187811ad6b9413b688d0fd8ad1253d.pristine']' returned
 non-zero exit status 1
 Trying irsync_dirty update from /tmp/tmpxSvC-6
  - Creating contents for existing tree.
 Traceback (most recent call last):
  File "/usr/sbin/olpc-contents-create", line 90, in <module>
    if __name__ == '__main__': main()
  File "/usr/sbin/olpc-contents-create", line 83, in main
    force_group=force_group)
  File "/usr/lib/python2.5/site-packages/bitfrost/contents/utils.py", line
 140, in mkcontents
    force_user=force_user, force_group=force_group)
  File "/usr/lib/python2.5/site-packages/bitfrost/contents/utils.py", line
 94, in mkdirobject
    force_user, force_group)
  File "/usr/lib/python2.5/site-packages/bitfrost/contents/utils.py", line
 94, in mkdirobject
    force_user, force_group)
  File "/usr/lib/python2.5/site-packages/bitfrost/contents/utils.py", line
 94, in mkdirobject
    force_user, force_group)
  File "/usr/lib/python2.5/site-packages/bitfrost/contents/utils.py", line
 100, in mkdirobject
    entry['h'] = mkhashes(file(fullname).read())
 MemoryError
 Update failed: Command '['/usr/sbin/olpc-contents-create', '-f',
 '/versions/updates/tmp.2j5RJG/contents', '-p',
 '/versions/updates/a2187811ad6b9413b688d0fd8ad1253d/etc/passwd', '-g',
 '/versions/updates/a2187811ad6b9413b688d0fd8ad1253d/etc/group',
 '/versions/updates/a2187811ad6b9413b688d0fd8ad1253d']' returned non-zero
 exit status 1
 Trying rsync update from /tmp/tmpxSvC-6
  - Fetching contents.
  - Performing full rsync.
 Verifying update.
 Installing update in
 /versions/{pristine,run}/a2187811ad6b9413b688d0fd8ad1253d
 -bash-3.2#
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/5805#comment:6>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list