2012-08-27 Andy Doan <email address hidden>
release-0.17
2012.08
2012-08-27 Andy Doan <email address hidden>
support for boot testing an openembedded image
2012-08-27 Andy Doan <email address hidden>
as per review comments - check for dpkg-divert before just calling it
2012-08-24 Andy Doan <email address hidden>
support for boot testing an openembedded image
This is a small change to allow boot testing an openembedded image. We
needed to ignore the dpkg-divert failure and also allow the job file to
specify an alternative set of boot commands since the OE images don't
use and initrd.
The way you can test this is by submitting a job whose boot action is:
{
"command": "boot_linaro_image",
"parameters": {
"options": ["boot_cmds=boot_cmds_oe"]
}
} },
then ensure you have the proper boot_cmds_oe conf set up for your
device-type.
2012-08-24 Andy Doan <email address hidden>
add a URL mapping feature
This allows the dispatcher's downloading code to be able to override
a URL given to it with another. For example, you might get a job
that wants to download a file:
http://blah/root.img
This could be overriden to be file:///root.img
You can specify one or more mappings in:
<INSTANCE>/etc/lava-dispatcher/urlmappings.txt
An example:
^https:\/\/.*\/precise\/restricted, scp://<email address hidden>/precise/restricted/
^https:\/\/.*\/~linaro-android-restricted\/, scp://<email address hidden>/android/~linaro-android-restricted/
these take URLs that are protected by OpenID (not supported in the downloader)
and replaces them with an SCP based URL
2012-08-24 Andy Doan <email address hidden>
fixes to dispatcher for ubuntu fastmodel support
2012-08-23 Andy Doan <email address hidden>
fix error message pexpect draining logic
This dumps a warning every time and is only a problem if we get
exceptions that aren't from "select"
2012-08-23 Andy Doan <email address hidden>
allow configurable boot_linaro_image timeouts
The fastmodel's take about 500 seconds to boot rather than 300
2012-08-23 Andy Doan <email address hidden>
move adb check for fastmodel to android boot logic
There's no need doing this check if we are doing ubuntu testing
2012-08-23 Andy Doan <email address hidden>
make the pexpect closes happen in one place for fastmodel
2012-08-23 Andy Doan <email address hidden>
ensure fastmodel filesystem has been synced before shutdown
I encountered a bug while testing ubuntu images with lava-test-run
actions. The timeline of events was roughly:
1) boot
2) lava-test-install
3) lava-test-run
- the last part of this action writes the .bundle to disk in the
target
4) shutdown
5) retrieve-results
The problem was the the .bundle from 3 wasn't getting synced to disk
before 4 occurred. This then caused action 5 to not see the file it
needed.
2012-08-22 Andy Doan <email address hidden>
use proper codepage streams for all fastmodel processes
2012-08-15 Andy Doan <email address hidden>
split up disable adb over USB from restart adb
2012-08-14 Alexander Sack <email address hidden>
split up disable adb over USB from restart adb functionality and only restart networking if self.enable_network_after_boot_android is set
2012-08-14 Alexander Sack <email address hidden>
disable enable_network_after_boot_android for device-types/fastmodel.conf
2012-08-09 Alexander Sack <email address hidden>
disble enable_network_after_boot_android for device-types/fastmodel.conf
2012-08-13 Andy Doan <email address hidden>
don't run linaro-android-media-create with sudo
2012-08-10 Alexander Sack <email address hidden>
don't run linaro-android-media-create with sudo in lmc_utils.py
Running lamc as sudo makes no sense:
1. lamc uses sudo on its own; hence, its not needed
2. for lamc run as root it obviously isn't needed either
2012-08-10 Andy Doan <email address hidden>
fix invalid comment in fastmodel
revno 360.2.2 forget to remove the comment attached to the code
2012-08-10 Alexander Sack <email address hidden>
workaround fix for TIME_WAIT fast model bustage as discussed in: https://bugs.launchpad.net/lava-dispatcher/+bug/1034809
here we wait till TIME_WAIT is gone, which will fix that we sometimes cant connect adb after rebooting fastmodel.
see https://code.launchpad.net/~asac/lava-dispatcher/logged-commands-getstatusoutput-wrapper-util/+merge/119029 for prereq merge proposal.
2012-08-10 Andy Doan <email address hidden>
fix some disablesuspend issues with fastmodel
2012-08-08 Andy Doan <email address hidden>
allow timeout for disablesuspend to be configurable
I ran into an issue where newer FM builds require a longer timeout
for the disablesuspend script to complete. Rather than getting stuck
in a hole where we always do code changes for this, it should just
be configurable.
2012-08-08 Andy Doan <email address hidden>
allow config.getint to take a default value
2012-08-08 Andy Doan <email address hidden>
fix disablesuspend path for fastmodels
This never worked and we were lucky because there's a default version
included in the FM android build.
2012-08-02 Andy Doan <email address hidden>
release-0.16
2012-08-02 Andy Doan <email address hidden>
fix syntax error from revno 362
2012-08-02 Andy Doan <email address hidden>
allow clients to recieve custom boot options
2012-08-01 Andy Doan <email address hidden>
fix issue where all schema now require parameters
This allows old actions that didn't specify a parameters section to
still work.
2012-07-27 Andy Doan <email address hidden>
allow fastmodel client to support configurable boot options
The new options this supports are:
* motherboard.smsc_91c111.enabled (default=1)
* motherboard.hostbridge.userNetworking (default=1)
* coretile.cache_state_modelled (default=0)
* coretile.cluster0.cpu0.semihosting-enable (default=1)
example json for this is:
"actions": [
{
"command": "boot_linaro_image",
"parameters": {
"options": [
"motherboard.hostbridge.userNetworking=0",
"coretile.cache_state_modelled=1"
]
}
}
2012-07-27 Andy Doan <email address hidden>
allow boot actions to take options
This adds support to pass boot options to client implementations. The
options are specific to the client and its implementation/validation rules
2012-08-02 Andy Doan <email address hidden>
import attachment support for client implementations
2012-07-31 Andy Doan <email address hidden>
clean up and document fastmodel draining function
2012-07-31 Andy Doan <email address hidden>
allow rtsm log attachments for fastmodel client
2012-07-31 Andy Doan <email address hidden>
improve attachment support for client implementations
The original code was basically designed to only add stdout.log as an
attachment to the lava_results bundle. This takes a more generic
approach so that clients can extend this if needed
2012-08-02 Andy Doan <email address hidden>
allow test image hostname to be configurable
2012-08-02 Spring Zhang <email address hidden>
include bug fix info
2012-08-02 Spring Zhang <email address hidden>
Provide test image hostname custom option
2012-08-02 Spring Zhang <email address hidden>
Use apt-get -o to specify proxy instead of configuration file to reduce proxy setting issue
2012-08-01 Spring Zhang <email address hidden>
delete dash in member name
2012-07-31 Spring Zhang <email address hidden>
Use apt-get option -o instead of configuration file
2012-07-27 Andy Doan <email address hidden>
use wget --no-cert to deal with https downloads
2012-07-27 Abner Silva <email address hidden>
In order to get the client/master.py working with https hosts a new flag
was added to each wget command execution: --no-check-certificate
2012-07-27 Andy Doan <email address hidden>
fastmodel-ubuntu-support
2012-07-23 Andy Doan <email address hidden>
cleanup of results direction now handled in atexit logic
The new get_www_scratch_dir (and download_image) logic for deleting
directories upon exit means we don't have to delete this here.
2012-07-23 Andy Doan <email address hidden>
make installation of lava-test optional for lava-test-install action
installing lava-test is not simple and on FastModel's it takes a long time.
Additionally, linaro images now have this pre-installed. Let's make the
installation of the lava-test package itself optional
2012-07-23 Andy Doan <email address hidden>
add result gathering logic for fastmodel client
results are gathered from the target image using this function
in the dispatcher
2012-07-23 Andy Doan <email address hidden>
make FM axf extraction logic common
2012-07-23 Andy Doan <email address hidden>
add lmc support for ubuntu images to fastmodel
NOTE: revno 353.1.2 accidentally added the lmc function. This was a
mistake made when I merged that.
2012-07-23 Alexander Sack <email address hidden>
add missing colon (:) when setting up fastmodel android prompt
2012-07-23 Spring Zhang <email address hidden>
Delete temporarily added proxy echo commands
2012-07-19 Spring Zhang <email address hidden>
Revert r335 delete proxy echo commands
2012-07-22 Andy Doan <email address hidden>
post release bump
2012-07-22 Andy Doan <email address hidden>
release-0.15.2
2012.07