kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Rue <dan.rue@linaro.org>
To: Sean Christopherson <sean.j.christopherson@intel.com>
Cc: Naresh Kamboju <naresh.kamboju@linaro.org>,
	Andrew Jones <drjones@redhat.com>, kvm list <kvm@vger.kernel.org>,
	yzt356@gmail.com, lkft-triage@lists.linaro.org, namit@vmware.com,
	Basil Eljuse <Basil.Eljuse@arm.com>,
	Krish Sadhukhan <krish.sadhukhan@oracle.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Alexandru Elisei <alexandru.elisei@arm.com>,
	jmattson@google.com
Subject: Re: kvm-unit-tests : Kconfigs and extra kernel args for full coverage
Date: Mon, 24 Feb 2020 15:22:34 -0600	[thread overview]
Message-ID: <20200224212234.m4gqvgxoqj3elni2@xps.therub.org> (raw)
In-Reply-To: <20200224173033.GE29865@linux.intel.com>

On Mon, Feb 24, 2020 at 09:30:33AM -0800, Sean Christopherson wrote:
> On Mon, Feb 24, 2020 at 10:36:54PM +0530, Naresh Kamboju wrote:
> > Hi Paolo,
> > 
> > On Mon, 24 Feb 2020 at 18:36, Paolo Bonzini <pbonzini@redhat.com> wrote:
> > >
> > > On 24/02/20 13:53, Naresh Kamboju wrote:
> > > > FAIL  vmx (408624 tests, 3 unexpected failures, 2 expected
> > > > failures, 5 skipped)
> > >
> > > This could be fixed in a more recent kernel.
> > 
> > I will keep running these tests on most recent kernels.
> > 
> > My two cents,
> > OTOH, It would be great if we have monthly tag release for kvm-unit-tests.
> > 
> > LKFT plan to keep track of metadata / release tag version of each test suites
> > and kernel branches and versions details.
> > 
> > Currently LKFT sending out kselftests results test summary on
> > each linux-next release tag for x86_64, i386, arm and arm64 devices.
> > 
> > The next plan is to enable kvm-unit-tests results reporting from LKFT.
> 
> Rather than monthly tags, what about tagging a release for each major
> kernel version?  E.g. for v5.5, v5.6, etc...  That way the compatibility
> is embedded in the tag itself, i.e. there's no need to cross reference
> release dates against kernel/KVM releases to figure out why version of
> kvm-unit-tests should be run.
> 
> Paolo more or less agreed to the idea[*], it's just never been implemented.
> 
> [*] https://lkml.kernel.org/r/dc5ff4ed-c6dd-74ea-03ae-4f65c5d58073@redhat.com

The behavior of kvm in LTS kernels will change over time. In general, as
I wrote in that original thread as well, we would much prefer to use the
latest version of kvm-unit-tests against older kernels.

I think this is a valid example (right?): v4.19 (Oct 22 2018) until now
shows 245 kvm-related patches backported:

    $ git log --oneline v4.19..v4.19.106 | grep -i kvm | wc -l
    245

Just for curiosity I took a look at patch counts per recent releases,
and it seems to average around 250 or so. This means that a 6-year
extended LTS kernel branch will likely receive several releases worth of
fixes.

    $ git log --oneline v5.1..v5.2 | grep -i kvm | wc -l
    238
    $ git log --oneline v5.2..v5.3 | grep -i kvm | wc -l
    239
    $ git log --oneline v5.3..v5.4 | grep -i kvm | wc -l
    246
    $ git log --oneline v5.4..v5.5 | grep -i kvm | wc -l
    172

Indeed, 4.9 has received almost two releases worth of changes since Dec
2016, and is scheduled to still be supported until 2023.

    $ git log --oneline v4.9..v4.9.214 | grep -i kvm | wc -l
    387

We would also like to be able to verify the additional test coverage
that may be added to kvm-unit-tests against older kernels (I assume it's
not all just new features that tests are added for?)

Dan

-- 
Linaro LKFT
https://lkft.linaro.org

  reply	other threads:[~2020-02-24 21:22 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-24 12:53 kvm-unit-tests : Kconfigs and extra kernel args for full coverage Naresh Kamboju
2020-02-24 13:06 ` Paolo Bonzini
2020-02-24 17:06   ` Naresh Kamboju
2020-02-24 17:30     ` Sean Christopherson
2020-02-24 21:22       ` Dan Rue [this message]
2020-02-25  7:31         ` Paolo Bonzini
2020-02-24 13:21 ` Alexandru Elisei
2020-02-24 13:38   ` Andrew Jones
2020-02-24 13:47     ` Alexandru Elisei
2020-02-24 14:59       ` Andrew Jones
2020-02-24 16:55         ` Naresh Kamboju
2020-02-24 17:36           ` Alexandru Elisei
2020-02-24 17:44             ` Naresh Kamboju
2020-02-25  8:20               ` Naresh Kamboju
2020-03-03 16:02                 ` Alexandru Elisei
2020-03-03 18:53                   ` Naresh Kamboju
2020-03-05 10:11                     ` Marc Zyngier
2020-02-24 17:29       ` Naresh Kamboju
2020-02-24 20:02 ` Paolo Bonzini
2020-02-25  9:55   ` Naresh Kamboju
2020-02-25 14:21     ` Paolo Bonzini

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=20200224212234.m4gqvgxoqj3elni2@xps.therub.org \
    --to=dan.rue@linaro.org \
    --cc=Basil.Eljuse@arm.com \
    --cc=alexandru.elisei@arm.com \
    --cc=drjones@redhat.com \
    --cc=jmattson@google.com \
    --cc=krish.sadhukhan@oracle.com \
    --cc=kvm@vger.kernel.org \
    --cc=lkft-triage@lists.linaro.org \
    --cc=namit@vmware.com \
    --cc=naresh.kamboju@linaro.org \
    --cc=pbonzini@redhat.com \
    --cc=sean.j.christopherson@intel.com \
    --cc=yzt356@gmail.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;
as well as URLs for NNTP newsgroup(s).