On Wed, Oct 26, 2011 at 10:11 AM, Dave Pigott <[email protected]> wrote: > When we deprecate options it breaks automated systems. Maybe we should > try to take care in the future to support the old behaviour with a > "deprecated" warning being issued, and not remove the support until the > next release?
Actually the old options are not touched at all, they still work and there's no plan for removing them. The only reason there's no deprecation warning is that adding the aliases was trivial and adding deprecation messages would take a little (admittedly very little) effort. We can make sure to add warnings a couple of releases before the old options are removed, if they ever will be. -- 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: --image-file and --image-size do not work in l-m-c Status in LAVA Dispatcher: Confirmed Status in Linaro Image Tools: Fix Released 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 : [email protected] Unsubscribe : https://launchpad.net/~linaro-release More help : https://help.launchpad.net/ListHelp

