History log of /external/autotest/client/tests/kvm/tests/unattended_install.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
456d3c115952bf1ae984770e226c5a50676b31c0 19-Jul-2011 Dale Curtis <dalecurtis@chromium.org> Upstream Autotest merge.

Merged from d9d64b855363d214996b187380532d4cc9991d29.

BUG=none
TEST=emerge autotest-tests, local server, run_remote_tests.

Change-Id: Id8cf1ef930bc0cd80347d77f2de65561be2a12a4
Reviewed-on: http://gerrit.chromium.org/gerrit/4664
Reviewed-by: Mike Truty <truty@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: Dale Curtis <dalecurtis@chromium.org>
/external/autotest/client/tests/kvm/tests/unattended_install.py
22434d4311581dde7a3bb51eef03a27d757aa263 29-Apr-2011 Eric Li <ericli@chromium.org> Merge autotest upstream from @5318 ~ @5336

Change-Id: I454d3bf5cc2708d9c0ced86b4d932fe9ee79713d

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/6883246
/external/autotest/client/tests/kvm/tests/unattended_install.py
d656d56473f50b9c1a9f5e2b2f5a9472181ee342 20-Apr-2011 Eric Li <ericli@chromium.org> Merge remote branch 'autotest-upstream/master' into autotest-merge

Merged to autotest upstream @5317.

BUG=none
TEST=
1. utils/unittest_suite.py
2. utils/packager.py --all upload -r /tmp/pkgs
3. utils/compile_gwt_clients.py

enter_chroot
emerge-x86-generic autotest-*
emerge-arm-generic autotest-*

run_remote_test suite_Smoke
run_remote_test bvt

Review URL: http://codereview.chromium.org/6883035

Change-Id: I03240d8652ffdfde4d6c8fbf474e2fad7f3cda10
/external/autotest/client/tests/kvm/tests/unattended_install.py
861b2d54aec24228cdb3895dbc40062cb40cb2ad 04-Feb-2011 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into master

Merged to upstream autotest @4749~@5215.

The entire change list description is too big to enlist here. Please refer to upstream (http://autotest.kernel.org/browser) for more details.

BUG=
TEST=emerged both x86 and arm build.
Tested emerged x86 build bvt against a chromeos device.

Review URL: http://codereview.chromium.org/6246035

Change-Id: I8455f2135c87c321c6efc232e2869dc8f675395e
/external/autotest/client/tests/kvm/tests/unattended_install.py
0ac8210d824a76c95e681846f3bb2532b0c45c34 18-Jun-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> KVM test: Unattended install - make sure to check if vm.is_alive()

Sometimes, the VM might segfault in the middle of the unattended
install test. If that happens today, the unattended install will
keep waiting until the timeout is reached. So check if the VM
is alive during the main unattended install loop.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4649 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/kvm/tests/unattended_install.py
a7fbbe82ba400cc44080a1618ed28e9c15a240da 10-Jun-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> KVM test: Do not use the hard-coded address during unattended installation

When we do the unattended installation in tap mode, we should use
vm.get_address() instead of the 'localhost' in order the connect to
the finish program running in the guest.

Signed-off-by: Jason Wang <jasowang@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4593 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/kvm/tests/unattended_install.py
6f4f2f6ebd19f3d4a7bb42b607124ff14f887d3f 18-Apr-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> KVM test: Introducing Opensuse and SLES unattended installs

Adds support to do unattended install of Opensuse11, patch adds
new autoyast files (OpenSUSE.xml and SLES-11.xml) and creates
entries for unattended install in tests_base.cfg. The patch also
introduces an optional parameter, post_install_delay in the config
file that allows people to adjust a wait time. In this particular
case, the timeout is for autoyast to finish configuration.

Signed-off-by: Yogananth Subramanian <anantyog@linux.vnet.ibm.com>
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4428 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/kvm/tests/unattended_install.py
a29a5cb4e0c462438b0b933d9b4f08415557493f 18-Mar-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> KVM test: Parallel install of guest OS v3

The patch enables doing mulitple install of guest OS in parallel.
Have added four more options to test_base.cfg, port redirection
entry "guest_port_unattended_install" for host to communicate with
guest during installation, "pxe_dir", 'pxe_image' and 'pxe_initrd"
to specify locations for kernel and initrd. For parallel
installation to work in unattended mode, the floppy image and pxe
boot path also have to be unique for each quest.

All the relevant unattended post install steps for guests were
changed, now they are server based codes.

Changes from v2:
* According to Michael Goldish comments, handled a possible
socket.error exception that could be generated during the
unattended install test
* Modified the floppy image names to be contained inside
the same directory that might hold the tftp root for each
OS, making the needed changes on unattended.py.
* Added floppy names for windows based OSs, which were lacking
on previous patches.

Changes from v1:
* Fixed the logic for the new unattended install test (original
implementation would hang indefinitely if guest dies in the middle
of the install).
* Fixed the config changes to make sure the unattended install
port actually gets redirected so the test can work, also made the
config specific to unattended install
* Merged the finish.exe patch, including a binary patch that
changes the binary shipped to the new version
* Changed all unattended install files to use the parallel
mechanism

Tested with Windows 7 and Fedora 11 guests.

Signed-off-by: Yogananth Subramanian <anantyog@linux.vnet.ibm.com>
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4309 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/kvm/tests/unattended_install.py
b0fc8a99bdaa8fd8f4c473f3fdbead9c3eb57066 17-Jan-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> KVM test: Unattended install logging improvements

Log useful information during unattended install
execution, such as timeout set and total time
elapsed during test.

Note: Slightly modified version of the 1st patch sent.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4138 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/kvm/tests/unattended_install.py
513db40f86cc5a5d6e2c28df3a00f0e5067e61a8 09-Oct-2009 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> KVM test: Introducing unattended install subtest

In order to resolve the question, 'how will the guest
operating system tell the host operating system that
the unattended install process finish', we took the
simple approach and created a simple socket communication
ack process: The test instantiates a server tcp socket
on port 12323, and waits during a specified amount of time.

For guests, the vast majority of the unattended install
processes can deal with executing commands at the end of
the install process. Let's take advantage of that and
make clients tell the server about the end of the process
using simple programs that can do that. The implementation
of that strategy varies trough different operating systems.

This is the kvm test implementation code, client programs
will follow on later patches.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3809 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/kvm/tests/unattended_install.py