[Kolab-devel] Call for testing and proposal for kolab-test-toolbox

Gunnar Wrobel wrobel at pardus.de
Fri Dec 4 08:41:57 CET 2009


Hi Mathieu!

Quoting Mathieu Parent <math.parent at gmail.com>:

> Hello,
>
> I just have commited kolab-test-toolbox.pl to CVS.

Very nice! Thanks a lot.

I did move this from the "testing" directory to a new "ci" (for  
continuous integration) hierarchy. I also added my older "ec2"  
directory there (see below). I'm pretty certain Thomas also has a few  
ideas concerning CI but I hope it makes sense to keep the things that  
will be needed in that area within utils/ci.

>
> This tools aims to easily test kolab:
> - bootstrap a VM
> - boot it
> - install kolab on it
> - test
>
> Currently three "platforms" have been created (in kolab-test-toolbox.ini):
> - OpenPKG on lenny
> - native on lenny
> - native on sid (fail to build, see [ftbfs])
>
> Currently, only VirtualBox and Xen are supported.
>
> Ideas/to be done:
> - add other distributions (suse, gentoo, ubuntu, mandriva, ...)
> - add other native methods (those in dist_conf, mainly gentoo and suse)

Native Kolab2/Gentoo is a project I needed to drop between of time  
constraints. So it is unlikely I'll add something for gentoo soon :(

> - add other VM types (kvm, ...)

As I'm currently only using Amazon ec2 for such things I'd like to  
merge my older shell scripts into your perl script.

Cheers,

Gunnar

> - implement Installation from CVS
> (http://wiki.kolab.org/index.php/Kolab2_Beta_testing)
> - enhance the testsuite
>
> The testsuite, very small as of now, already helped me to report:
> https://issues.kolab.org/issue3983
> https://issues.kolab.org/issue3949
>
> Comments, improvements, ideas, .. welcome!
>
> NB: kolab-test-toolbox requires:
> - Sys::Virt  http://search.cpan.org/dist/Sys-Virt/
> - Expect http://search.cpan.org/dist/Expect/
> - libvirt
> - xen-create-image from xen-tools (will probably drop this requirement
> in the future)

Does it make sense to directly package this in a decent perl package?  
Similar to perl-kolab?

>
> Mathieu Parent
>
> [ftbfs]: one cause is described here:
> <http://wiki.kolab.org/index.php/Kolab2_Server_Troubleshooting_-_Compiling#Fail_to_build_from_source_with_error:_conflicting_types_for_.27getline.27>.
> There is at least another problem caused by the use of newer gcc.
> ===============
> Output of kolab-test-toolbox.pl --test:
> ---------------
> Usage:
>     kolab-test-toolbox [options] command [[options] command] ...
>
> Arguments:
>     *bootstrap*
>             Step 1: Bootstrap the domain
>
>     *preboot_install*
>             Step 2: Install from chroot.
>
>     *boot*  Step 3: Power on the domain
>
>     *install*
>             Step 4: Install
>
>     *test*  Step 5: Test
>
>     *chroot*
>             Extra step: Chroot to the mounted root partition
>
>     *login* Extra step: Log in via ssh
>
>     *list-platforms*
>             Extra step: List available platforms
>
> Options:
>     --help  Print a brief help message and exits.
>
>     --man   Prints the manual page and exits.
>
>     --platform=*NAME*
>             Set platform. See also command *list-platforms*.
>
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel
>



-- 
______ http://kdab.com _______________ http://kolab-konsortium.com _

p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium

____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
Tel.   : +49 700 6245 0000                          Bundesstrasse 29
Fax    : +49 721 1513 52322                          D-20146 Hamburg
--------------------------------------------------------------------
    >> Mail at ease - Rent a kolab groupware server at p at rdus <<
--------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.kolab.org/pipermail/devel/attachments/20091204/20594cd2/attachment.sig>


More information about the devel mailing list