Return-Path: X-Original-To: apmail-karaf-dev-archive@minotaur.apache.org Delivered-To: apmail-karaf-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 848DE10767 for ; Sun, 27 Oct 2013 10:34:31 +0000 (UTC) Received: (qmail 47294 invoked by uid 500); 27 Oct 2013 10:34:28 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 47267 invoked by uid 500); 27 Oct 2013 10:34:23 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 47252 invoked by uid 99); 27 Oct 2013 10:34:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Oct 2013 10:34:21 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.70.183.197] (HELO relay5-d.mail.gandi.net) (217.70.183.197) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Oct 2013 10:34:16 +0000 Received: from mfilter15-d.gandi.net (mfilter15-d.gandi.net [217.70.178.143]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 6877E41C06D for ; Sun, 27 Oct 2013 11:33:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter15-d.gandi.net Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter15-d.gandi.net (mfilter15-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id UzlbaKobKamD for ; Sun, 27 Oct 2013 11:33:52 +0100 (CET) X-Originating-IP: 82.238.224.4 Received: from [192.168.134.15] (bre91-1-82-238-224-4.fbx.proxad.net [82.238.224.4]) (Authenticated sender: jb@nanthrax.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id B13D841C056 for ; Sun, 27 Oct 2013 11:33:52 +0100 (CET) Message-ID: <526CEC10.8010204@nanthrax.net> Date: Sun, 27 Oct 2013 11:33:52 +0100 From: =?ISO-8859-1?Q?Jean-Baptiste_Onofr=E9?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: dev@karaf.apache.org Subject: Re: Further itest speed improvements References: <526C0F36.3000801@die-schneider.net> <526C149D.3090303@nanthrax.net> <526C17E1.9020403@die-schneider.net> <526CB766.4060108@nanthrax.net> <526CDE5B.30102@die-schneider.net> In-Reply-To: <526CDE5B.30102@die-schneider.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Christian, It's what I said in my previous e-mail: if possible, I would like to=20 avoid a job dedicated to itests. If there are no other ways, we will do=20 like this. For the PerSuite, you have an option in Pax Exam to reuse an existing=20 container. Let me try with that. Regards JB On 10/27/2013 10:35 AM, Christian Schneider wrote: > Hi JB, > > I created an itest build here: > https://builds.apache.org/view/H-L/view/Karaf/job/Karaf-itests/ > > You can reuse it or delete it when you create a new build. > > About the PerSuite tests. I have experimented a bit. In eclipse I was > able to run most of the karaf tests successfully in PerSuite mode and > they are really extremely fast. Unfortunately I was not able to make > them work with maven. In maven the karaf container was always created > for each test class. I think it is related to the fork mode of surefire= . > By default it seems to start a fresh process for each test class. When = I > changed forkCount to 0 none of the tests work. So the results of my > experiments is that it has a lot of potential but currently does not > work correctly. > > Christian > > Am 27.10.2013 07:49, schrieb Jean-Baptiste Onofr=E9: >> Hi Christian, >> >> On 10/26/2013 09:28 PM, Christian Schneider wrote: >>> On 26.10.2013 21:14, Jean-Baptiste Onofr=E9 wrote: >>>> Hi Christian, >>>> >>>> - If you mean create two job in Jenkins, I disagree. I would prefer = to >>>> work with profiles. More over, it makes sense to tight the itest on >>>> the artifacts that we just built before. Maybe we can have to target >>>> on Jenkins: one with the itest profile, one without the itest profil= e. >>>> The trigger for the full build (including itest) is every night, the >>>> build without itest is at scm polling. >>> I did not want to have a build without itests. The itests are fast >>> enough to run in both builds. I wanted one build with itests after ea= ch >>> commit and one build with itests and deploy nightly. The problem >>> currently seems to be the deploy it takes much longer than the tests. >> Catcha, so build without deploy after scm poll, and deploy only for >> nightly builds ? I can do that. >> >>>> - For the PerClass test on feature, I'm agree. >>>> - Not sure I follow you for the PerSuite. What do you mean ? >>> PerSuite will start karaf only once and run several test classes on i= t. >> Catcha, you mean reuse the same Karaf container for all itests. We >> just have to be careful that one itest doesn't impact another. I have >> issues like this when I implemented itests. >> >> Regards >> JB >> >>> >>> Christian >>> >> > > --=20 Jean-Baptiste Onofr=E9 jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com