On Tue, Oct 25, 2011 at 12:50 PM, Alexander Sack <a...@ubuntu.com> wrote:
> if this is really hat the old arguments are not there anymore, its a
> serious lmc regression. It MUST keep the old/depreacted arguments
> forever.

It's the other way around:
>    usage: linaro-media-create [-h] [-v] (--mmc DEVICE | --image_file DEVICE)

Either --mmc or --image_file is not passed at all, or the new
parameter --image-file is used with an old l-m-c.

Can we have the full command line that was used to produce this error?

-- 
You received this bug notification because you are a member of linaro-
infrastructure-drivers, which is the registrant for Linaro Image Tools.
https://bugs.launchpad.net/bugs/881292

Title:
  lava-dispatcher fails to deploy the image

Status in LAVA Dispatcher:
  Confirmed
Status in Linaro Image Tools:
  New

Bug description:
  The lava-dispatcher is failing to deploy the images. Here is the trace
  of the error:

  root@master:~#  [rc=0]: <LAVA_DISPATCHER>2011-10-25 07:30:02 AM INFO: About 
to handle with the build
  <LAVA_DISPATCHER>2011-10-25 07:30:02 AM INFO: Downloading the 
http://ci.linaro.org/kernel_hwpack/linux-arm-soc-for-next/linux-arm-soc-for-next_panda-omap2plus/hwpack_linaro-panda_20111025-0725_b144_armel_supported.tar.gz
 file using cache
  <LAVA_DISPATCHER>2011-10-25 07:44:02 AM INFO: Downloading the 
http://snapshots.linaro.org/11.05-daily/linaro-nano/20111024/0/images/tar/nano-n-tar-20111024-0.tar.gz
 file using cache
  <LAVA_DISPATCHER>2011-10-25 07:44:02 AM INFO: Executing the 
linaro-media-create command
  <LAVA_DISPATCHER>2011-10-25 07:44:02 AM INFO: sudo flock 
/var/lock/lava-lmc.lck linaro-media-create --hwpack-force-yes --dev panda 
--image-file /linaro/images/tmp/tmpeSFdyh/lava.img --binary 
/linaro/images/tmp/tmpeSFdyh/nano-n-tar-20111024-0.tar.gz --hwpack 
/linaro/images/tmp/tmpeSFdyh/hwpack_linaro-panda_20111025-0725_b144_armel_supported.tar.gz
 --image-size 3G
  None
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/lava_dispatcher/actions/deploy.py", line 
66, in run
      use_cache)
    File "/usr/lib/pymodules/python2.6/lava_dispatcher/actions/deploy.py", line 
176, in generate_tarballs
      raise RuntimeError("linaro-media-create failed: %s" % output)
  RuntimeError: linaro-media-create failed: 
/usr/lib/pymodules/python2.6/argparse.py:1576: DeprecationWarning: The 
"version" argument to ArgumentParser is deprecated. Please use 
"add_argument(..., action='version', version="N", ...)" instead
    """instead""", DeprecationWarning)
  usage: linaro-media-create [-h] [-v] (--mmc DEVICE | --image_file DEVICE)
                             --dev
                             
{overo,vexpress,mx53loco,snowball_emmc,panda,ux500,igep,mx51evk,smdkv310,snowball_sd,beagle,efikamx,origen,efikasb}
                             [--rootfs {ext2,ext3,ext4,btrfs}]
                             [--rfs_label RFS_LABEL] [--boot_label BOOT_LABEL]
                             [--swap_file SWAP_FILE] [--live | --live-256m]
                             [--console CONSOLES] --hwpack HWPACKS
                             [--hwpack-sig HWPACKSIGS] [--hwpack-force-yes]
                             [--image_size IMAGE_SIZE] --binary BINARY
                             [--binary-sig BINARYSIG] [--no-rootfs]
                             [--no-bootfs] [--no-part] [--align-boot-part]
                             [--nocheck-mmc]
  linaro-media-create: error: one of the arguments --mmc --image_file is 
required
  Lava failed at action deploy_linaro_image with error: Deployment tarballs 
preparation failed
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/lava_dispatcher/__init__.py", line 79, 
in run
      action.run(**params)
    File "/usr/lib/pymodules/python2.6/lava_dispatcher/actions/deploy.py", line 
70, in run
      raise CriticalError("Deployment tarballs preparation failed")
  CriticalError: Deployment tarballs preparation failed

  
  You can refer to the job 
http://validation.linaro.org/lava-server/scheduler/job/2918 which failed as an 
example failure.
  I guess the lava-dispatcher is not completely adopting the latest l-m-c 
changes.

  Thanks!!!
  Deepti.

To manage notifications about this bug go to:
https://bugs.launchpad.net/lava-dispatcher/+bug/881292/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~linaro-release
Post to     : linaro-release@lists.launchpad.net
Unsubscribe : https://launchpad.net/~linaro-release
More help   : https://help.launchpad.net/ListHelp

Reply via email to