grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Bruce Dubbs <bruce.dubbs@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: GRUB release schedule?
Date: Fri, 21 Aug 2015 14:55:55 -0500	[thread overview]
Message-ID: <55D7824B.7010008@gmail.com> (raw)
In-Reply-To: <20150821184157.GB1948@l.oracle.com>

Konrad Rzeszutek Wilk wrote:
> On Fri, Aug 21, 2015 at 09:24:33PM +0300, Andrei Borzenkov wrote:

>> GRUB includes comprehensive amount of regression tests. Just run "make
>> check". The practical problems are
>>
>> - many tests require additional tools (filesystem tests need at least mkfs
>> for respective file system, LVM etc)
>>
>> - each platform must be built separately; that requires either native system
>> or cross tools (which itself may not be trivial). So I e.g. am limited to
>> x86
>>
>> - tests are not really formalized, you get PASS/FAIL but what failed is up
>> to human to understand
>>
>> - some tests require server part, e.g. to run anything involving HTTP server
>> must be available
>>
>> - some tests are pretty heavy hit; it is better now when I have new hardware
>> still I cannot dream running them continuously on my notebook ...
>>
>> Of course addition to regression testing is always welcome.
>
> Lets start with a list of priorities:
>   - What are the most important platforms after x86?
>   - What are the most important tests that MUST PASS all the time?
>   - Which ones have been FAILing for years?
>
> Surely if we weed out the most important cases that cover 99% that will
> give the foundation for going out with a release?

Although tests are very useful, not all packages ship tests.  One prime 
example is the linux kernel, but there are many more.

Tests depend on external programs and specific setups used by the 
developers, but often are not available on builder's systems.  For 
example, in grub-2.02~beta2, I get:

============================================================================
Testsuite summary for GRUB 2.02~beta2
============================================================================
# TOTAL: 78
# PASS:  12
# SKIP:  18
# XFAIL: 0
# FAIL:  48
# XPASS: 0
# ERROR: 0

That doesn't mean that the build is bad on a x86_64 system.  It works 
quite well (although grub-mkconfig always produces an unusable 
configuration for us.)


A lot of the FAILs are due to things like:

FAIL: iso9660_test
==================

cp: cannot stat '/usr/share/dict/linux.words': No such file or directory

although I have other dictionaries.

FAIL: pata_test
===============

tar: Removing leading `/' from member names
timeout: failed to run command 'qemu-system-i386': No such file or directory

Although I have /usr/bin/qemu -> qemu-system-x86_64

This corresponds to 45 of the 48 "FAILs" above.  Creating a symlink 
qemu-system-i386 to qemu-system-x86_64 allows most ot the tests to pass, 
but hangs after test_unset.

++++++++++++

In other words, the tests are highly sensitive to the user's system.

Please do not let the tests shipped in the tarball hold up a release. 
Perfect is the enemy of good enough.

   -- Bruce Dubbs
      linuxfromscratch.org


  reply	other threads:[~2015-08-21 19:56 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-20 18:22 GRUB release schedule? Peter Jones
2015-07-20 19:25 ` Vladimir 'phcoder' Serbinenko
2015-07-22 21:34   ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-07-29 19:01     ` Bruce Dubbs
2015-07-29 19:14       ` Vladimir 'phcoder' Serbinenko
2015-12-08 20:55   ` Peter Jones
2015-12-08 21:34     ` Josef Bacik
2015-07-24  4:20 ` Andrei Borzenkov
2015-07-24  8:03   ` Vladimir 'phcoder' Serbinenko
2015-07-24 10:59     ` Andrei Borzenkov
2015-08-21 16:56 ` Josef Bacik
2015-08-21 17:11   ` Konrad Rzeszutek Wilk
2015-08-21 17:18     ` Josef Bacik
2015-08-21 17:30       ` Konrad Rzeszutek Wilk
2015-08-21 17:57         ` Josef Bacik
2015-08-21 18:24     ` Andrei Borzenkov
2015-08-21 18:41       ` Konrad Rzeszutek Wilk
2015-08-21 19:55         ` Bruce Dubbs [this message]
2015-08-22  5:19           ` Andrei Borzenkov
2015-08-22  5:16         ` Andrei Borzenkov
2015-08-24 18:20           ` Konrad Rzeszutek Wilk
  -- strict thread matches above, loose matches on Subject: below --
2020-10-25 16:59 Bruce Dubbs
2020-10-26 14:27 ` Daniel Kiper

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=55D7824B.7010008@gmail.com \
    --to=bruce.dubbs@gmail.com \
    --cc=grub-devel@gnu.org \
    /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).