LAVA Dispatcher 2012.06

Milestone information

Project:
LAVA Dispatcher
Series:
trunk
Version:
2012.06
Released:
 
Registrant:
Andy Doan
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
1 Dave Pigott, 1 Michael Hudson-Doyle, 5 Yongqin Liu
Blueprints:
1 Implemented
Bugs:
6 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon lava-dispatcher-0.14-2012.06.tar.gz (md5, sig) Source release 753
last downloaded 24 hours ago
Total downloads: 753

Release notes 

This release does not have release notes.

Changelog 

View the full changelog

2012-06-28 Andy Doan <email address hidden>

 release 0.14

 2012.06

2012-06-27 Andy Doan <email address hidden>

 Suppress warnings about timestamps being in the future

2012-06-27 Paul Larson <email address hidden>

 Suppress warnings about timestamps being in the future when deploying tarballs to boards

2012-06-27 Spring Zhang <email address hidden>

 Display proxy setting to confirm if some error related with proxy config file

2012-06-26 Spring Zhang <email address hidden>

 Echo the content of 30proxy to see if the proxy setting is right

 http://validation.linaro.org/lava-server/scheduler/job/23133/log_file
 error:
 E: Syntax error /etc/apt/apt.conf.d/30proxy:4: Extra junk at end of file
 export http_proxy=http://1 92.168.1.10:3128/
 Acquire::http::proxy "http: //192.168.1.10:3128/"

2012-06-27 Michael Hudson-Doyle <email address hidden>

 make passing timeout in respsones to CommandRunner.run do something more useful

2012-06-26 Michael Hudson-Doyle <email address hidden>

 if TIMEOUT is one of the expected responses in CommandRunner.run, just return immediately

2012-06-26 Andy Doan <email address hidden>

 support linaro-android-media-create in fastmodel client

2012-06-25 Andy Doan <email address hidden>

 A subtle change in flock and linaro-android-media-create

 I've encountered an issue where fastmodel's don't run well from a root
 user account. We normally run this part of the dispatcher as root so
 that things like linaro-media-create work properly. The best hack I've
 found so far is to run the fast model dispatcher as a non-root user,
 and create an /etc/sudoers file like:

 %admin ALL=NOPASSWD: /usr/bin/linaro-android-media-create

 This change just makes the sudoers entry smaller so it doesn't include
 the flock stuff

2012-06-25 Andy Doan <email address hidden>

 add support for deploy_linaro_android_image to fastmodel

 This allows users to send us a boot.tar.bz2, system.tar.bz2, and
 userdata.tar.bz2 file and we'll generate an image via l-a-m-c

2012-06-25 Andy Doan <email address hidden>

 update downloader to optionally decompress

 For android images, we don't want to decompress them as we download, because
 they are expected to be compressed by l-a-m-c.

2012-06-25 Andy Doan <email address hidden>

 fix android support for fast models

2012-06-25 Andy Doan <email address hidden>

 improve handling of enable_network_after_boot_android

 As per code review, this makes this option work better as a real
 boolean and gives it a proper default value

2012-06-22 Andy Doan <email address hidden>

 update fastmodel client for proper android support

 base.py:
 * don't assume the default network interface is used for ADB. In
 the case of fast model's it has to be a bridged "lo" device.

 * don't attempt to get ip in get_default_nic_ip. we already have
 code to get the IP address in the _enable_network function

 * the sleep between check_device_state needed to be a bit bigger

 * the wait for home screen had to be increased

 * option support for enable_network_after_boot_android was always
 returning true based on how it was written

 fastmodel.py
 * fastmodels must use loopback for adb which requires setting
 the userNetPorts when launching the process

 * ping doesn't in user mode network, so we fake this out

2012-06-22 Michael Hudson-Doyle <email address hidden>

 preserve the port in the dashboard url when building the MemoryAuthBackend for submission

2012-06-21 Andy Doan <email address hidden>

 merge fastmodel boot support

2012-06-20 Andy Doan <email address hidden>

 code review update for guessing android/ubuntu

 The code review noted the ugliness of how the code guessed if
 the image was android or ubuntu. This adds an attribute to the
 deploy_fastmodel_action to handle this

2012-06-19 Andy Doan <email address hidden>

 fix fastmodel issues for android boot

 There were two issues keeping and android boot action from working:

 1) The _sim_procs stdout pipe was getting full. We weren't calling
 the "interact()" function on pexpect which drains the pipe. This wasn't
 a problem (yet) for ubuntu images because its sim process isn't as
 verbose.

 2) PS1 needs to be set properly

2012-06-18 Andy Doan <email address hidden>

 add ability to boot an android image

 Android and Ubuntu can basically boot the same way. There's only
 a minor difference in how we customize the images.

2012-06-18 Andy Doan <email address hidden>

 support "reliable_session" function

 This is used by the lava-test install action.

2012-06-18 Andy Doan <email address hidden>

 simplify fastmodel deploy/boot

 fastmodel's don't have to have the kernel,initrd, and device tree
 specified. We can rely on the semi-hosting bootwrapper (axf file).
 This makes for a little less code.

 Also - the base client has a function called boot_linaro_image. We really
 just need to implement what's required of the function it calls
 _boot_linaro_image

2012-06-15 Andy Doan <email address hidden>

 basic boot support for fast model

 This includes the basic support to download a pre-built fast model
 image, run a deploy action, and then the boot action

2012-06-15 Andy Doan <email address hidden>

 ensure boot actions are only done for supported clients

 Not all clients can perform all boot actions. This will be more true
 when we add fast model support. Ideally this check should be done at
 the time of job submission, but this is a much easier way to add the
 sanity check right now

2012-06-15 Andy Doan <email address hidden>

 update to new downloader logic

 This new download streams content and decompresses on the fly. Its
 also built to handle SCP, HTTP, and local file.

 NOTE: other SCP alternatives were tried including paramiko, but their
 performance and/or code complexity were more than just shelling to ssh

2012-06-18 Andy Doan <email address hidden>

 updates for new downloader code and qemu

2012-06-13 Andy Doan <email address hidden>

 add a device-type example for qemu

2012-06-13 Andy Doan <email address hidden>

 update qemu client to work like other clients

 The qemu client didn't have logic for downloading images. So jobs
 only worked when the image was a local path.

2012-06-13 Andy Doan <email address hidden>

 create a common download_image function

 The qemu and future fast model clients both need this type of logic so
 lets move the logic from master.py into a common function.

 Additionally, I also discovered a bug while testing this code where
 the cache lock file wasn't getting deleted upon download errors which
 then caused subsequent jobs to wait around on the lock forever.

2012-06-18 Yongqin Liu <email address hidden>

 delete script lava-partition-disk

2012-06-18 Yongqin Liu <email address hidden>

 delete lava-partition-disk

2012-06-15 Michael Hudson-Doyle <email address hidden>

 post release bump

2012-06-15 Michael Hudson-Doyle <email address hidden>

 release 0.13

2012-06-15 Michael Hudson-Doyle <email address hidden>

 backfill changes

2012-06-14 Yongqin Liu <email address hidden>

 add the option parameter for the test_name method of lava_android_test_run command

2012-06-14 Yongqin Liu <email address hidden>

 add the option parameter for the test_name method of lava_android_test_run command

2012-06-14 Michael Hudson-Doyle <email address hidden>

 make lava-dispatch invoke lava dispatch, and make the latter's logging
 setup match the formers

2012-06-14 Michael Hudson-Doyle <email address hidden>

 take lava-dispatch away and replace it with a shell compatibility shim

2012-06-14 Michael Hudson-Doyle <email address hidden>

 do horrible things so the logging setup in "lava dispatch" works

2012-06-13 Yongqin Liu <email address hidden>

 merge with the branch that adding support for android test actions

2012-06-11 Yongqin Liu <email address hidden>

 make the last action not rebooted

2012-06-11 Yongqin Liu <email address hidden>

 modify sendcontrol to sendline

2012-06-08 Yongqin Liu <email address hidden>

 add clear source befor reboot the android session

2012-06-08 Yongqin Liu <email address hidden>

 raise exception when not found interrupt_boot_prompt

2012-06-07 Yongqin Liu <email address hidden>

 modify a bug for android install action

2012-06-07 Yongqin Liu <email address hidden>

 modify to use the TimeoutError

2012-06-06 Yongqin Liu <email address hidden>

 check the command and timeout value before add timeout to params

2012-06-06 Yongqin Liu <email address hidden>

 add reboot when timeout

2012-05-28 Yongqin Liu <email address hidden>

 add timeout for lava-android-test actions

2012-06-11 Andy Doan <email address hidden>

 download code fixes for proxy and cookies

2012-06-07 Andy Doan <email address hidden>

 add support for configurable cookies in download code

 Some LAVA deployments may need the ability to specify cookies in
 order to properly download images. This adds a simple mechanism
 that allows the cookies to be specified via .conf file

2012-06-07 Andy Doan <email address hidden>

 update *all* download code to use proxy

 we were still downloading pre-built images using our old caching
 logic rather than via our proxy support

2012-06-11 Yongqin Liu <email address hidden>

 increase the number of retry and decrease the wait time for _deploy_tarball_to_board method

2012-06-08 Yongqin Liu <email address hidden>

 increase the number of retry and decrease the wait time for _deploy_tarball_to_board method

2012-06-11 Michael Hudson-Doyle <email address hidden>

 add all repositories specified in the add_apt_repository command

2012-06-08 Luis Araujo <email address hidden>

 Add all the available apt repositories in the add_apt_repository lava-test command

2012-06-07 Michael Hudson-Doyle <email address hidden>

 post release bump

2012-06-07 Michael Hudson-Doyle <email address hidden>

 release 0.12

2012-06-06 Michael Hudson-Doyle <email address hidden>

 the hot key message does not actually indicate that the cyclades port is working, so do not wait for it

2012-06-06 Yongqin Liu <email address hidden>

 merge the branch that fix the timeout problem of wait_home_screen for android

1 blueprint and 6 bugs targeted

Blueprint Priority Assignee Delivery
add timeout process for lava-android-test actions add timeout process for lava-android-test actions 3 Medium Yongqin Liu  11 Implemented
Bug report Importance Assignee Status
1008836 #1008836 Need update the binary files for panda-tracking image 2 Critical Dave Pigott  10 Fix Released
1001112 #1001112 timeout when run "netcfg" or "getprop init.svc.bootanim" after android booted up 3 High Yongqin Liu  10 Fix Released
1009302 #1009302 CommandRunner.run(response=pexpect.TIMEOUT) does not DTRT 3 High Michael Hudson-Doyle  10 Fix Released
1013205 #1013205 Error when specify the option parameter for lava_android_test_run command 4 Medium Yongqin Liu  10 Fix Released
1010285 #1010285 the retry number is little and the wait time for retry is long in _deploy_tarball_to_board method 5 Low Yongqin Liu  10 Fix Released
1014588 #1014588 lava-partition-disk is duplicate for the one in lava-master-image-scripts 5 Low Yongqin Liu  10 Fix Released
This milestone contains Public information
Everyone can see this information.