<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/qemuimage-testlib, branch bernard</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=bernard</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=bernard'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2011-02-10T15:27:50+00:00</updated>
<entry>
<title>qemuimagetest: Rename test scenario file from poky-image-sdk to poky-image-sato-sdk</title>
<updated>2011-02-10T15:27:50+00:00</updated>
<author>
<name>Jiajun Xu</name>
<email>jiajun.xu@intel.com</email>
</author>
<published>2011-02-10T14:50:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d2cfd3c54fd27ea302af390c3c9e9ae60cf26604'/>
<id>urn:sha1:d2cfd3c54fd27ea302af390c3c9e9ae60cf26604</id>
<content type='text'>
Signed-off-by Jiajun Xu &lt;jiajun.xu@intel.com&gt;
</content>
</entry>
<entry>
<title>qemuimagetest: Use same image during sanity testing instead of copying a new image for each case</title>
<updated>2011-01-20T21:36:57+00:00</updated>
<author>
<name>Jiajun Xu</name>
<email>jiajun.xu@intel.com</email>
</author>
<published>2011-01-18T16:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3e052919c9307ba73a1db0f705b7dc1a677cb80f'/>
<id>urn:sha1:3e052919c9307ba73a1db0f705b7dc1a677cb80f</id>
<content type='text'>
To reduce the time on sanity testing, we remove variable SHARE_IMAGE and use
a new variable TEST_SERIALIZE in local.conf. It is by default set to 1. Poky
will copy and boot the to-be tested image for only once. It will not remove
or kill the image and test cases will be serialized executed against the same
image. If it is set to 0, image is always be copied for each cases, which takes
much time. I had a experiment that latest qemuppc sato only takes 7 minutes to
finish 9 sanity test cases, which takes more than 20 minutes before.

I also removed sanity case "boot" from sato/sdk/lsb because the other cases for
these targets already cover the check point of "boot".

Signed-off-by Jiajun Xu &lt;jiajun.xu@intel.com&gt;
</content>
</entry>
<entry>
<title>qemuimagetest: Use the same image in sanity testing to fix the timeout issue on autobuilder</title>
<updated>2011-01-14T16:09:26+00:00</updated>
<author>
<name>Jiajun Xu</name>
<email>jiajun.xu@intel.com</email>
</author>
<published>2011-01-13T01:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2119274314f49678de78dc1c5aa2971676fa6774'/>
<id>urn:sha1:2119274314f49678de78dc1c5aa2971676fa6774</id>
<content type='text'>
Fixes [BUGID #595]

Because of the QEMU booting slowness issue(see bug #646 and #618), autobuilder
may suffer a timeout issue when running sanity test. We introduce variable
SHARE_IMAGE here to fix the issue. It is by default set to 1. Poky will copy
latest built-out image and keep using it in sanity testing. If it is set to 0,
latest built-out image will be copied and tested for each case, which will take
much time.

Signed-off-by Jiajun Xu &lt;jiajun.xu@intel.com&gt;
</content>
</entry>
<entry>
<title>qemuimagetest: Remove connman test for lsb image and fix one warning in Test_Create_Qemu</title>
<updated>2011-01-06T10:06:32+00:00</updated>
<author>
<name>Jiajun Xu</name>
<email>jiajun.xu@intel.com</email>
</author>
<published>2011-01-06T04:01:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=601af9f8ead73e4c385162e820b877f18e5e6722'/>
<id>urn:sha1:601af9f8ead73e4c385162e820b877f18e5e6722</id>
<content type='text'>
There is no connman in LSB image. So we need to remove connman test from it.
And when we check if ip address fetched by Test_Fetch_Target_IP is valid,
we should use "==" operator for string comparison.

Signed-off-by Jiajun Xu &lt;jiajun.xu@intel.com&gt;
</content>
</entry>
<entry>
<title>qemuimage-testlib: Improve quoting causing problems under certain circumstances</title>
<updated>2010-12-24T01:03:47+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-12-24T01:03:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cab983b0d097851b60e1c4ad7174702b37327e7a'/>
<id>urn:sha1:cab983b0d097851b60e1c4ad7174702b37327e7a</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>qemuimage-testlib: Fix the check for running qemu processes</title>
<updated>2010-12-23T17:28:47+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-12-23T17:28:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=11833f70024e9d1199b911734c0d385a423d0c73'/>
<id>urn:sha1:11833f70024e9d1199b911734c0d385a423d0c73</id>
<content type='text'>
Previously, any active command containing the word "qemu" including
in the command path would trigger a "success" result for detecting
the qemu process. This change fixes the check to search for commands
starting with "qemu" and ignores pathnames.

It also shortens the timeout for the qemu process to appear to 10
seconds. If it doesn't appear in that time there is always a problem.

Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>qemuimage-testlib: Ensure TOPDIR/BUILDDIR are set</title>
<updated>2010-12-23T17:27:14+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-12-23T17:27:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=df74cf25f0904562623a15b641a7770d2fa88570'/>
<id>urn:sha1:df74cf25f0904562623a15b641a7770d2fa88570</id>
<content type='text'>
The recent environment changes mean TOPDIR/BUILDDIR need to be exported
specifcially to the enviromnent so the qemu scripts can find the correct
build directory.

Without this, qemu can fail to run.

Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>qemuimage-testlib: Add check for existence of image and correctness of ip address</title>
<updated>2010-12-23T15:52:37+00:00</updated>
<author>
<name>Jiajun Xu</name>
<email>jiajun.xu@intel.com</email>
</author>
<published>2010-12-23T15:09:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=236faced1d907b025a3136c5949a311104d3a661'/>
<id>urn:sha1:236faced1d907b025a3136c5949a311104d3a661</id>
<content type='text'>
Fixes [BUGID #612, #611]

Add check for existence of image to be tested in qemuimage-testlib.
This ensures that sanity test returns failure immediatly when there is
no image found. And also add check for the correctness of ip address.
If the ip address returned by function Test_Fetch_Target_IP is 0, it
means qemu starts up failed and no valid ip address found.

Signed-off-by Jiajun Xu &lt;jiajun.xu@intel.com&gt;
</content>
</entry>
<entry>
<title>imagetest-qemu: Add sanity test cases for scp/shutdown in target</title>
<updated>2010-11-15T05:08:22+00:00</updated>
<author>
<name>Jiajun Xu</name>
<email>jiajun.xu@intel.com</email>
</author>
<published>2010-11-10T14:58:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d64c7ae88ca29def7dd2869acaa0e2ec047bd153'/>
<id>urn:sha1:d64c7ae88ca29def7dd2869acaa0e2ec047bd153</id>
<content type='text'>
scp test is to check if file copying via network work or not in target.
shutdown test is to check if target can be poweroff with qemu process off.

Signed-off-by Jiajun Xu &lt;jiajun.xu@intel.com&gt;
</content>
</entry>
<entry>
<title>imagetest-qemu: Add test case for dmesg check in target</title>
<updated>2010-11-10T13:09:22+00:00</updated>
<author>
<name>Jiajun Xu</name>
<email>jiajun.xu@intel.com</email>
</author>
<published>2010-10-29T17:03:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=12a861359a3413ded52174c814e8653c56caee17'/>
<id>urn:sha1:12a861359a3413ded52174c814e8653c56caee17</id>
<content type='text'>
Add a test case for error log check with command dmesg in target. The
case introduces a new folder in target, "/opt/test", which holds test
scripts running in target.

Signed-off-by Jiajun Xu &lt;jiajun.xu@intel.com&gt;
</content>
</entry>
</feed>
