From: Ryan Harper <ryanh@us.ibm.com>
To: Michael Goldish <mgoldish@redhat.com>
Cc: Ryan Harper <ryanh@us.ibm.com>, KVM List <kvm@vger.kernel.org>,
Uri Lublin <uril@redhat.com>
Subject: Re: kvm-autotest -- introducing kvm_runtest_2
Date: Thu, 12 Mar 2009 07:54:33 -0500 [thread overview]
Message-ID: <20090312125433.GY11777@us.ibm.com> (raw)
In-Reply-To: <1503567742.1616341236842702283.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
* Michael Goldish <mgoldish@redhat.com> [2009-03-12 02:26]:
>
> > > Regarding the stepfiles you created for Linux -- I can't help much
> > > with those since I don't have the data. I do believe that if I had
> > the
> > > data and the stepfiles I could quickly identify the problem, so if
> > you
> > > think those can be sent to us, I'd like to have them.
> >
> > I created a stepfile for RHEL5 and what I'm seeing is that one of the
> > screens I captured in stepmaker ended up having a focus ring around
> > something and on replay the focus isn't there. This situation isn't
> > something that a new algo will fix as you pointed out. I'm wondering
> > if
> > this is something you've seen. I don't quite understand how it would
> > happen since stepmaker and the replace send the same keystrokes. I
> > also
> > don't see how in general this can be avoided.
>
> The problem sounds familiar. Does the ring appear around one of the
> GNOME menubars, i.e. around "Applications" or "System"? GNOME seems to
> be somewhat indeterministic with those rings. If you run the stepfile
> several times, you'll notice that in most cases you'll see a focus
> ring (or no focus ring, I don't quite remember) and the rest of the
> time you'll get the other case.
Ding Ding Ding! =)
>
> This can be avoided either with experience, or a good wiki entry on
> picking the right barriers (which we plan to create). But you don't
> have to avoid making mistakes with stepmaker -- most types of mistakes
> are fixed very quickly and easily with stepeditor.
yep, used stepeditor to fix; defintely worth documenting where one
should be invoking stepeditor -- from the steps dir; if you don't run it
from there, it won't find the steps_data dir =(
>
> The fix depends on exactly what you were trying to do:
>
> - If you sent "alt-f1" to open the menu, and in the following step
> picked the open menu (including the "Applications" caption itself) to
> make sure it was open -- use stepeditor to modify the barrier so that
> it doesn't include the "Applications" caption or anything that might
> have a ring around it.
That worked for me.
>
> The following text was copied from your previous e-mail:
>
> > I do have the debug dir data from these runs. Looking at the cropped
> > ppm and screendump ppm is how I determined that there must be
> > something
> > wrong with how the image is rendered since the cropped ppm matches
> > the
> > screendump output, but with whatever subtle difference that generates
> > a
> > different md5sum.
>
> I'm not sure my previous e-mail was clear enough, so just in case it
> wasn't, let me rephrase: The cropped ppm is generated from the
> screendump ppm every time the stepfile running module receives a
> screendump from the guest in order to see if it matches a barrier.
> This is done for debugging purposes. If you somehow check, you'll see
> there is no subtle difference between those two files. It wouldn't
> make sense to find a subtle difference between them, and if you did
> find one, it certainly wouldn't indicate a stepfile problem, but
> rather a very strange bug in the framework. You should be looking for
> subtle differences between the screendump ppm and the reference
> screendump ppm, as well as between the cropped screendump ppm and the
> reference cropped screendump ppm. By "reference" I mean coming from
> the stepmaker data. If you don't have the stepmaker data, you have no
> way of knowing what caused the difference in the md5sums.
Right -- the real win was comparing the full screendump to the reference
screendump - basically, without the reference dumps, the debug output
isn't useful.
I'll have to go back and re-read your email on where to put the
reference ppm files so one gets the refrence comparision.
>
>
> There are two other things I forgot to mention in my previous e-mail:
>
> The Windows failures you're seeing might be caused by KVM bugs other
> than the one I mentioned. KVM-84 has a very strong tendency to crash
> during Windows installations. You can use the logs to find out if that
> happened in your case. If you have the latest git HEAD the exception
> info will look something like "Barrier timed out at step ... (VM is
> dead)", and if you have a slightly older version, you'll probably see
> "(guest is stuck)" at the end of the info string. You should also see
> the system consistently complaining that it can't fetch any
> screendumps from the guest (this will appear in stdout).
I've seen those on kvm-84.
> The other thing has to do with the ISO files. kvm_runtest has a very
> important feature that we innocently forgot to implement in
> kvm_runtest_2 -- md5sum verification of the ISO files. This means that
> the framework currently makes no use of the "md5sum" and "md5sum_1m"
> parameters in the config file. This means you might be using different
> ISOs than the ones we made our stepfiles with. In that case I wouldn't
> expect any stepfile to succeed. However, if you used these same ISOs
> with kvm_runtest then they should be fine. In any case, I'll add the
> feature ASAP to the git repository.
Right - I suppose it might be better if the names of the windows iso
disks matched how MS names them in MSDN, for example, kvm_runtest refers
to Windows2008-x64.iso which doesn't match any name from MSDN, what we
have is:
en_windows_server_2008_datacenter_enterprise_standard_x64_dvd_X14-26714.iso
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
ryanh@us.ibm.com
next prev parent reply other threads:[~2009-03-12 12:54 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <316573781.1616221236842323850.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-03-12 7:25 ` kvm-autotest -- introducing kvm_runtest_2 Michael Goldish
2009-03-12 12:54 ` Ryan Harper [this message]
[not found] <337817070.1631851236866509897.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-03-12 14:03 ` Michael Goldish
2009-03-12 14:21 ` Ryan Harper
[not found] <1170652852.1514931236758361795.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-03-11 8:01 ` Michael Goldish
2009-03-11 13:12 ` Ryan Harper
2009-03-11 20:58 ` Ryan Harper
[not found] <1419870903.1471901236736357942.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-03-11 1:54 ` Michael Goldish
2009-03-11 2:58 ` Ryan Harper
[not found] <160776987.914431236209784966.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-03-04 23:52 ` Uri Lublin
[not found] <1786372222.913761236208477884.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-03-04 23:25 ` Uri Lublin
2009-03-01 19:09 Uri Lublin
2009-03-02 17:45 ` Ryan Harper
2009-03-04 8:58 ` Uri Lublin
2009-03-04 18:15 ` Ryan Harper
2009-03-04 18:59 ` sudhir kumar
2009-03-04 22:23 ` Dor Laor
2009-03-09 16:23 ` Ryan Harper
2009-03-09 17:53 ` Uri Lublin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090312125433.GY11777@us.ibm.com \
--to=ryanh@us.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=mgoldish@redhat.com \
--cc=uril@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox