2013-01-29 Andy Doan <email address hidden>
testdef_meta data has not yet been approved in our bundle format
we need to release today but we aren't yet ready to include the
proposed update to the bundle format. For now, I'm just backing
out the part of revno 548 that added this information to the bundle
2013-01-29 Andy Doan <email address hidden>
release-0.32
2013.01
2013-01-29 Senthil Kumaran <email address hidden>
Merge add-on-to-testdef-yaml branch which adds additional metadata parameters
to test definition YAML format.
2013-01-29 Senthil Kumaran <email address hidden>
Bring up-to-date with trunk.
2013-01-28 Senthil Kumaran <email address hidden>
Bring up-to-date with trunk.
2013-01-28 Senthil Kumaran <email address hidden>
Fix comment to add description about new testdef_metadata file.
2013-01-28 Senthil Kumaran <email address hidden>
Ensure testdef metadata is attached to each test run and avoid adding it
to context.
2013-01-23 Senthil Kumaran <email address hidden>
Make certain test definition metadata parameters to be a list in YAML.
2013-01-22 Senthil Kumaran <email address hidden>
Bring up-to-date with trunk.
2013-01-22 Senthil Kumaran <email address hidden>
_get_testdef_info does not belong to a class anymore, hence get rid of self.
2013-01-22 Senthil Kumaran <email address hidden>
Make the function call which gets metadata from testdef really functional.
2013-01-22 Senthil Kumaran <email address hidden>
Rename the repo revision attribute name, since revision is already used as
an attribute in bundle stream format.
2013-01-22 Senthil Kumaran <email address hidden>
Bring up-to-date with trunk.
2013-01-21 Senthil Kumaran <email address hidden>
Add metadata to context, which can then be pulled by Test Definition model.
2013-01-28 Andy Doan <email address hidden>
fix support for boot_options in master.py
this is a regression from past functionality when code was merged
to boot_options.py. Its still a confusing hack, but we'll fix for
real another day.
2013-01-28 Andy Doan <email address hidden>
fix boot_options support for master.py
I was seeing a problem when trying to add a new boot_cmds_fdt option
for snowball boards. Basically, booting ubuntu images worked. Booting
ubuntu images with fdt worked, eg:
{
"command": "boot_linaro_image",
"parameters": {
"options": ["boot_cmds=boot_cmds_fdt"]
}
}
However, booting android images failed. This is because the boot_options
function was overriding boot_cmds to be "boot_cmds" since its default
in the config file.
This change allows us to specify a runtime default that takes
precedence over the statically configured default.
2013-01-28 Andy Doan <email address hidden>
fix some pylint warnings
2013-01-28 Andy Doan <email address hidden>
sdmux fixes found while stress testing
2013-01-28 Andy Doan <email address hidden>
fix some issues from testing sdmux
1) sometime python has opened files and not flushed them to disk. This
flushes the buffers so umount will succeed on first try and not print
a warning
2) add a couple of sleeps to sdmux.sh. this seems to make things
more reliable - possibly helps avoid something racy.
2013-01-28 Andy Doan <email address hidden>
set hostname in linux based images to device-configs hostname
this was requested by the cbuild guys to help them build better
reports based on where the job actually ran.
2013-01-28 Michael Hudson-Doyle <email address hidden>
add an --output-dir argument for the dispatcher to put structured data in
2013-01-24 Michael Hudson-Doyle <email address hidden>
shuffle
2013-01-24 Michael Hudson-Doyle <email address hidden>
mismerge
2013-01-24 Michael Hudson-Doyle <email address hidden>
merge trunk
2013-01-24 Michael Hudson-Doyle <email address hidden>
backport some stuff from my gone-off-the-rails experimental branch
2013-01-24 Michael Hudson-Doyle <email address hidden>
small fix
2013-01-15 Michael Hudson-Doyle <email address hidden>
add an --output-dir option, and put the dashboard put result in there
2013-01-23 Antonio Terceiro <email address hidden>
Galaxy Nexus support.
This merge introduces support for the Galaxy Nexus, using fastboot for image
flashing and adb for interaction with Android.
2013-01-23 Antonio Terceiro <email address hidden>
sync from trunk
2013-01-21 Antonio Terceiro <email address hidden>
Better explanation for nexus_working_directory
2013-01-21 Antonio Terceiro <email address hidden>
Add some debug logging
2013-01-21 Antonio Terceiro <email address hidden>
Name revealling intention: s/_powered_on/_booted/
2013-01-21 Antonio Terceiro <email address hidden>
address more review comments
- removed sudo from config file. I assume the user running the dispatcher has
the proper permissions
- removed _make_filesystem_readwrite - not needed anymore
- implemented fastboot detection
- added timeout to all calls. Default: 10 minutes
2013-01-21 Antonio Terceiro <email address hidden>
Clarify intent of some methods
2013-01-21 Antonio Terceiro <email address hidden>
minor changes to doc
2013-01-21 Antonio Terceiro <email address hidden>
remove spaces around = in keyword argument
2013-01-21 Antonio Terceiro <email address hidden>
sync from trunk
2013-01-18 Antonio Terceiro <email address hidden>
Require deploy before power_on()
2013-01-18 Antonio Terceiro <email address hidden>
Separate all required API methods from private implementation methods
private methods marked with _ and moved to below the public API
2013-01-15 Antonio Terceiro <email address hidden>
No crazy stuff, I guess
All of the required fixes were merged into trunk before
2013-01-15 Antonio Terceiro <email address hidden>
Missed reference to reboot method
2013-01-15 Antonio Terceiro <email address hidden>
Extract Methods
2013-01-15 Antonio Terceiro <email address hidden>
power_off is not viable
2013-01-15 Antonio Terceiro <email address hidden>
sync from trunk
2013-01-14 Antonio Terceiro <email address hidden>
merge wait-for-prompt branch for testing
2013-01-04 Antonio Terceiro <email address hidden>
sync from better command line handling branch
2013-01-04 Antonio Terceiro <email address hidden>
Replay fix done in the lava-test-shell-nexus-aosp branch
2013-01-04 Antonio Terceiro <email address hidden>
sync from trunk
2013-01-03 Antonio Terceiro <email address hidden>
I don't believe that extract_tarball and get_test_data_attachment will be useful
2013-01-03 Antonio Terceiro <email address hidden>
sync from trunk
2013-01-02 Antonio Terceiro <email address hidden>
merge latest lava-android-test changes
2013-01-02 Antonio Terceiro <email address hidden>
sync from trunk
2012-12-21 Antonio Terceiro <email address hidden>
merge changes required to make lava-android-test work
2012-12-20 Antonio Terceiro <email address hidden>
oops - missed changes to default config
2012-12-20 Antonio Terceiro <email address hidden>
Use the working dir (renamed from image dir) also for pulling data out of the device
2012-12-20 Antonio Terceiro <email address hidden>
Get version number from configured adb_command
2012-12-20 Antonio Terceiro <email address hidden>
using `lava dispatch --target DEVICE` here
2012-12-20 Antonio Terceiro <email address hidden>
sync from trunk
2012-12-20 Antonio Terceiro <email address hidden>
Allow overriding the image directory.
This is useful when running the dispatcher inside the VM, but can also support
the use case where the dispatcher is on a machine and the phone is physically
plugged to another.
2012-12-20 Antonio Terceiro <email address hidden>
Extract method
2012-12-19 Antonio Terceiro <email address hidden>
finish fixes for running lava-test-runner in the foreground
2012-12-19 Antonio Terceiro <email address hidden>
revert earlier change that broke things.
2012-12-19 Antonio Terceiro <email address hidden>
fix argument handling in lava-test-*-attach
2012-12-19 Antonio Terceiro <email address hidden>
grrr - fix reference to undefined variable
2012-12-19 Antonio Terceiro <email address hidden>
more lava-test-runner stdin usage fixes
2012-12-19 Antonio Terceiro <email address hidden>
remove /etc/ cleanup hack and do not ignore unexisting directory when pulling (create it before pulling instead)
2012-12-19 Antonio Terceiro <email address hidden>
sync with trunk
2012-12-19 Antonio Terceiro <email address hidden>
Run lava-test-runner in the background; drop mkfifo binary
2012-12-19 Antonio Terceiro <email address hidden>
trunk updates
2012-12-18 Antonio Terceiro <email address hidden>
trunk updates
2012-12-18 Antonio Terceiro <email address hidden>
Do not expect that `read -t` will ever work
2012-12-18 Antonio Terceiro <email address hidden>
Remove `-t N` from read calls.
BTW I've just found out that `read -t N < FIFO` does not work at all.
2012-12-18 Antonio Terceiro <email address hidden>
file_system already implemented
2012-12-18 Antonio Terceiro <email address hidden>
Do not send output to /dev/console
2012-12-18 Antonio Terceiro <email address hidden>
Log commands run on host when in debug mode
2012-12-16 Antonio Terceiro <email address hidden>
Fix lava_test_shell bin directory location
2012-12-16 Antonio Terceiro <email address hidden>
Install custom-made mkfifo binary
2012-12-16 Antonio Terceiro <email address hidden>
use shell builtin type instead of which
which is not present in AOSP
2012-12-14 Antonio Terceiro <email address hidden>
mark pending work
2012-12-13 Antonio Terceiro <email address hidden>
Also remove `sleep 15` from lava-test-runner-ubuntu
2012-12-13 Antonio Terceiro <email address hidden>
trunk updates
2012-12-13 Antonio Terceiro <email address hidden>
oops, forgot to actually echo the line to stdout
2012-12-12 Antonio Terceiro <email address hidden>
Chenges to make lava-test-runner run on the nexus
2012-12-12 Antonio Terceiro <email address hidden>
turn the device on if it's not already.
This makes it possible to use lava_test_shell the way it is supposed to (i.e. not requiring to explicitly run boot_linaro*_image before).
2012-12-12 Antonio Terceiro <email address hidden>
AOSP does not have `tee` :-/
2012-12-12 Antonio Terceiro <email address hidden>
Need to mark make_filesystem_readwrite as a context manager
2012-12-12 Antonio Terceiro <email address hidden>
Fixes trying to make lava-test-shell work on the Nexus
exec > /dev/console in special does not really help because we only have `adb
shell` and not access to an actual console.
2012-12-12 Antonio Terceiro <email address hidden>
sanitize terminfo hack
2012-12-11 Antonio Terceiro <email address hidden>
fix example config
2012-12-11 Antonio Terceiro <email address hidden>
missing import statement
2012-12-11 Antonio Terceiro <email address hidden>
oops, another embarassing bug
2012-12-11 Antonio Terceiro <email address hidden>
oops - previously commented code had a syntax error
2012-12-11 Antonio Terceiro <email address hidden>
implement file_system() API
With this I got lava-test-shell pretty much working. I still need to do more
tests, though.
2012-12-10 Antonio Terceiro <email address hidden>
Implement get_device_version
2012-12-07 Antonio Terceiro <email address hidden>
trunk updates
2012-12-06 Antonio Terceiro <email address hidden>
trunk updates
2012-12-05 Antonio Terceiro <email address hidden>
only accepts .img files. that's all the android team need.
2012-12-05 Antonio Terceiro <email address hidden>
no need to erase partitions just before they are reflashed
2012-12-05 Antonio Terceiro <email address hidden>
recent trunk changes
2012-12-03 Antonio Terceiro <email address hidden>
merge recent trunk updates
2012-11-30 Antonio Terceiro <email address hidden>
merge from trunk
2012-11-28 Antonio Terceiro <email address hidden>
make android boot procedures conditional
2012-11-27 Antonio Terceiro <email address hidden>
another TODO item
2012-11-27 Antonio Terceiro <email address hidden>
add TODO items
2012-11-27 Antonio Terceiro <email address hidden>
properly set PS1
This makes the following boot test job run successfully:
{
"timeout": 18000,
"job_name": "nexus-boot-test",
"device_type": "nexus",
"target": "nexus01",
"image_type": "android",
"logging_level": "DEBUG",
"actions": [
{
"command": "deploy_linaro_android_image",
"parameters": {
"data": "file:///home/terceiro/src/lava/images/nexus/userdata.img",
"system": "file:///home/terceiro/src/lava/images/nexus/system.img",
"boot": "file:///home/terceiro/src/lava/images/nexus/boot.img"
}
},
{
"command": "boot_linaro_android_image"
}
]
}
2012-11-27 Antonio Terceiro <email address hidden>
re-use adb command line creation function
that function will be extended in the future to cope with multiple
devices plugged in (i.e. adding the serial number parameter to the
adb/fastboot command line)
2012-11-27 Antonio Terceiro <email address hidden>
Skip dev board setup when it's not necessary
2012-11-27 Antonio Terceiro <email address hidden>
merge trunk into local branch
2012-11-26 Antonio Terceiro <email address hidden>
download images *before* rebooting device
2012-11-26 Antonio Terceiro <email address hidden>
move retrieve_results method to LavaClient, as it is supposed to be a client method
2012-11-26 Antonio Terceiro <email address hidden>
merge recent changes
2012-11-26 Antonio Terceiro <email address hidden>
Fix indentation (4 spaces)
2012-11-26 Antonio Terceiro <email address hidden>
we don't want to disable ADB over USB for the Nexus
2012-11-26 Antonio Terceiro <email address hidden>
very basic Nexus device implementation.
flashing images and booting kind of work, but the boot_linaro_android_image
action does not complete successfully yet - investigating
2013-01-22 Andy Doan <email address hidden>
release-0.31.2
2013-01-22 Andy Doan <email address hidden>
ensure device isn't power_on before calling power_on
2013-01-22 Andy Doan <email address hidden>
ensure device isn't power_on before calling power_on
2013-01-23 Michael Hudson-Doyle <email address hidden>
this is a hack, but work around rtsm.log attachment breakage
2013-01-22 Michael Hudson-Doyle <email address hidden>
post release bump
2013-01-22 Michael Hudson-Doyle <email address hidden>
release 0.31.1
2013-01-22 Yongqin Liu <email address hidden>
merge the fix of error [FastModelTarget object has no attribute client]
2013-01-22 Yongqin Liu <email address hidden>
fix failure of using self.client.context.logfile_read in FastModelTarget
http://validation.linaro.org/lava-server/scheduler/job/45661/log_file
File "/srv/lava/.cache/eggs/lava_dispatcher-0.31-py2.7.egg/lava_dispatcher/device/fastmodel.py", line 203, in power_on
logfile=self.client.context.logfile_read,
AttributeError: 'FastModelTarget' object has no attribute 'client'
2013-01-22 Michael Hudson-Doyle <email address hidden>
post release bump
2013-01-22 Michael Hudson-Doyle <email address hidden>
release 0.31
2013-01-22 Michael Hudson-Doyle <email address hidden>
remove attempt to attach serial log to lava test run (which has been broken for months anyway)
2013-01-17 Michael Hudson-Doyle <email address hidden>
set logfile_read before creating the client
2013-01-17 Michael Hudson-Doyle <email address hidden>
remove the sio attributes, the SerialIO class, some things that wrote to sio for no good reason at all and the attempt to attach the serial output to the lava test run, which has been broken for weeks anyway
2013-01-22 Michael Hudson-Doyle <email address hidden>
make config README less confusing
2013-01-17 Michael Hudson-Doyle <email address hidden>
remove information about non-instance deployments
2013-01-21 Yongqin Liu <email address hidden>
change to use Launcher information in logcat to check the display of home screen
2013-01-19 Yongqin Liu <email address hidden>
fix according to review comment
2013-01-18 Yongqin Liu <email address hidden>
set the android_boot_prompt_timeout to the max value
so the we will wait a long time for the bad case,
but for the good case, this will not waste time.
2013-01-18 Yongqin Liu <email address hidden>
change to only use launcher message to check the display of home screen
2013-01-17 Yongqin Liu <email address hidden>
merge with trunk
2013-01-17 Yongqin Liu <email address hidden>
adjust the timeout value of waiting launcher from logcat
use try count times 5s
2013-01-16 Yongqin Liu <email address hidden>
support android targets that don't have boot animation support
this makes the property we check for more generic so new platforms can
skip the boot animation by just checking "sys.boot_complete".
and message "Displayed com.android.launcher/com.android.launcher2.Launcher"
from logcat
2013-01-14 Yongqin Liu <email address hidden>
fix the type of reponse
2013-01-14 Yongqin Liu <email address hidden>
add support to check if the home screen is booted for fastmodel_v8 with using sys.boot_completed property
2013-01-17 Michael Hudson-Doyle <email address hidden>
remove two lies
2013-01-15 Andy Doan <email address hidden>
release-0.30
2013-01-15 Michael Hudson-Doyle <email address hidden>
fill out log_lineno for lava-test-shell results so that the dashboard can link to the line in the log
2013-01-15 Michael Hudson-Doyle <email address hidden>
merge trunk
2013-01-14 Michael Hudson-Doyle <email address hidden>
fix
2013-01-14 Michael Hudson-Doyle <email address hidden>
workaround for lava-test-shell not working on qemu
2013-01-14 Michael Hudson-Doyle <email address hidden>
is this all that is required?
2013-01-14 Antonio Terceiro <email address hidden>
wait for prompt properly in lava-test-shell
2013-01-14 Antonio Terceiro <email address hidden>
Add wait_for_prompt method to the runner itself
2013-01-11 Andy Doan <email address hidden>
make fastmodel device-type easier to override
now you can simply specify the binary or the license file and not
have to override anything else
2013-01-11 Andy Doan <email address hidden>
update fastmodelv8 default config
The latest model from ARM has new paths. Also, made it where its possible
to override things like license_file in the device config so that users
don't have to maintain their own version of the device-type file.
2013-01-11 Antonio Terceiro <email address hidden>
lava-test-shell: keep a copy of the results directory + consistency fix in lava-test-runner for Ubuntu
2013-01-09 Antonio Terceiro <email address hidden>
fix comment as well :-p
2013-01-09 Antonio Terceiro <email address hidden>
s/./-/
2013-01-09 Antonio Terceiro <email address hidden>
move results directory away
2013-01-08 Antonio Terceiro <email address hidden>
sync from tunk
2013-01-07 Antonio Terceiro <email address hidden>
Do not remove results directory from target
This makes it easier to do a post-mortem analysis in the target
2013-01-07 Antonio Terceiro <email address hidden>
Remove missing manipulation of standard input. This breaks running lava-test-runner in the foreground
2013-01-10 Andy Doan <email address hidden>
hack around some configglue warnings
2013-01-09 Andy Doan <email address hidden>
post release bump
2013-01-09 Andy Doan <email address hidden>
release-0.29.1
revno 494.1.1 deleted two files but forgot to remove them from
setup.py
2013-01-09 Andy Doan <email address hidden>
release-0.29
2013-01-08 Yongqin Liu <email address hidden>
update the possible_partitions_files and sdcard_mountpoint_path according to http://review.android.git.linaro.org/#change,3213,patchset=1
2013-01-08 Yongqin Liu <email address hidden>
redefine the sdcard_mountpoint_path to /mnt/sdcard
2013-01-06 Yongqin Liu <email address hidden>
update for the changing of partition file to fstab.omap4pandaboard on pandaboard
2013-01-04 Andy Doan <email address hidden>
sdmux support
2013-01-03 Andy Doan <email address hidden>
address code review comments
2012-12-30 Andy Doan <email address hidden>
add android support to sdmux device
2012-12-29 Andy Doan <email address hidden>
add sdmux device type support
This adds an sd mux device implementation to the dispatcher. Details
of the sd-mux can be found at:
http://people.linaro.org/~doanac/sdmux/
Configuration of an sd-mux target looks like:
# sd-mux to a panda
device_type = panda
hard_reset_command = /usr/local/bin/panda_reset.sh
connection_command = telnet 192.168.0.101 2001
# new attributes required for an sd-mux target
client_type = sdmux
sdmux_id = 2-1.1
sdmux_version = 1.1
power_on_cmd = /usr/local/bin/pdu_power.sh 1 1
power_off_cmd = /usr/local/bin/pdu_power.sh 1 0
NOTE: the sdmux_version field is optional
2012-12-28 Andy Doan <email address hidden>
move serial console connection logic to helper function
This logic is generally useful and isn't specific to a master
image. This move will make the upcoming sdmux implementation easier
2013-01-04 Antonio Terceiro <email address hidden>
Better handling of target devices on command line
If the job file does not specify a target device and no target was specified on
the command line, print an error message instead of crashing with KeyError.
2013-01-04 Antonio Terceiro <email address hidden>
Make lava-test-shell work with the Galaxy Nexus + AOSP
This involves dropping the assumption that the connection to the device is a
serial connection that can read from /dev/console. In the Nexus, and in other
consumer devices, the only connection available to the device without hardware
tinkering is `adb shell`. Because of this we cannot, we cannot run the
lava-test-shell command in the background and redirect its output to
/dev/console; instead, we have to run it in the foreground and make sure that
stdin/stdout are properly handled.
Additionally, some points where the lava-test-shell scripts were assuming a
shell more capable than the one in AOSP had to be reworked. Two notable cases
where the usage of `read -t` (-t is not in POSIX, and not so widely
implemented) and of mkfifo (AOSP does not include a mkfifo binary).
2013-01-04 Antonio Terceiro <email address hidden>
Revert change to default timeout in lava_test_shell's run()
This was fixed by Michael Hudson-Doyle yesterday.
2013-01-03 Antonio Terceiro <email address hidden>
sync from trunk
2012-12-20 Antonio Terceiro <email address hidden>
sync from trunk
2012-12-19 Antonio Terceiro <email address hidden>
sync from nexus branch
2012-12-19 Antonio Terceiro <email address hidden>
sync from trunk
2012-12-19 Antonio Terceiro <email address hidden>
trunk updates
2012-12-17 Antonio Terceiro <email address hidden>
forgot to merge the static mkfifo binary here
2012-12-16 Antonio Terceiro <email address hidden>
replay fix in nexus branch
2012-12-16 Antonio Terceiro <email address hidden>
update from nexus branch
2012-12-13 Antonio Terceiro <email address hidden>
Changes required to run lava-test-shell on the AOSP build for the Nexus
This branch contains the changes rebased against the current trunk. Full
history is available on ~terceiro/lava-dispatcher/nexus
2013-01-03 Antonio Terceiro <email address hidden>
Adapt lava_android_test code to work with the Galaxy Nexus
2013-01-02 Antonio Terceiro <email address hidden>
enable either TCP or USB, never both. And bail out if neither was selected
2013-01-02 Antonio Terceiro <email address hidden>
sync with trunk
2012-12-21 Antonio Terceiro <email address hidden>
Do not assume ADB over TCP unconditionally
2013-01-03 Michael Hudson-Doyle <email address hidden>
handle timeout being unspecified (i.e. -1) properly in the lava_test_shell action
2013-01-02 Antonio Terceiro <email address hidden>
Add --target parameter to `lava dispatch`
2012-12-20 Antonio Terceiro <email address hidden>
Allow to specify target in the cmdline when calling `lava dispatch`
2012-12-21 Yongqin Liu <email address hidden>
fix the typo of defaulti in fastmodel_v8.conf
2012-12-20 Andy Doan <email address hidden>
enable networking for fastmodel_v8 model
2012-12-19 Andy Doan <email address hidden>
fix aep and shell hooks signal hander post-processing logic
revno 507 left out the part of shellhooks logic that ensured the
test case id would be preserved. This does the same thing w/o
requiring the extra call to os.mkdir
2012-12-20 Michael Hudson-Doyle <email address hidden>
post release bump