From harmony-dev-return-11284-apmail-incubator-harmony-dev-archive=incubator.apache.org@incubator.apache.org Wed Aug 02 07:45:52 2006 Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 68958 invoked from network); 2 Aug 2006 07:45:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2006 07:45:51 -0000 Received: (qmail 94921 invoked by uid 500); 2 Aug 2006 07:45:48 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 94696 invoked by uid 500); 2 Aug 2006 07:45:48 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 94685 invoked by uid 99); 2 Aug 2006 07:45:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 00:45:48 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of alexei.zakharov@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 00:45:45 -0700 Received: by py-out-1112.google.com with SMTP id c63so1762012pyc for ; Wed, 02 Aug 2006 00:45:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=URF3aRbx7lboZlT69lMB6Pu3hy/M+Z2s+dvM4VIpmMNYOW7ich38vvaKwg8mvFslJnYYcpkxCzVonIslBafagDEVpgyhj4NnudVHwuRGKnoh5MX2dZZ/NINmM4EQ5q8/bsr6PxrRnLr0Euan/c1TIUYTL0N5KrI/DMl4sH44Rzc= Received: by 10.35.40.10 with SMTP id s10mr966912pyj; Wed, 02 Aug 2006 00:45:24 -0700 (PDT) Received: by 10.35.128.18 with HTTP; Wed, 2 Aug 2006 00:45:24 -0700 (PDT) Message-ID: <2c9597b90608020045v1f701a3aqc6063d6f86eb2043@mail.gmail.com> Date: Wed, 2 Aug 2006 11:45:24 +0400 From: "Alexei Zakharov" To: harmony-dev@incubator.apache.org Subject: Re: [build-test-infra] Build Test Infrastructure In-Reply-To: <44D03C71.9040002@pobox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <509223F0BF55E74FA1247D17207E7A0C270692@orsmsx419.amr.corp.intel.com> <2c9597b90608010358j607f2241p236f568701640484@mail.gmail.com> <2c9597b90608010509j6852e17fr529730da2d3d83bd@mail.gmail.com> <44D03C71.9040002@pobox.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Geir, Well, if we will have a java-based webserver then there is no problem. As far as I understand Anton wasn't sure we have one. Regards, 2006/8/2, Geir Magnusson Jr : > > > Alexei Zakharov wrote: > > Anton, > > > > I have no objections here, just thinking about Harmony-hosted Harmony > > web site - it can become really good self explanatory reliability > > test. Not today, I agree. But may be some day. > > Well, I have objections if I understand things correctly. > > There is no reason for "least common denominator" CGI+perl for this > since it's not made to deploy everywhere. Yes, it can run locally on > every build/test installation, but they are all java based anyway! > > So what am I missing? > > geir > > > > > With Regards, > > > > 2006/8/1, Anton Luht : > >> Hello Alexei, > >> > >> I believe that there are more installations that can execute CGI than > >> those that can run servlets. I'm sure that for the first time the test > >> infrastructure will be deployed to an existing installation but not to > >> a dedicated server - that's why I decided that CGI suites better. > >> > >> When we have a dedicated host for builds maybe it'll be worth to > >> rewrite test infrastructure in Java. But please do not consider the > >> choice of technology final - I just wanted to pick something that fits > >> for a prototype: fast to develop and easy to deploy. > >> > >> On 8/1/06, Alexei Zakharov wrote: > >> > Hi Anton, > >> > > >> > > I believe that most > >> > > common server-side engine is CGI (not PHP or J2EE) so I'd like to > >> > > implement this using Perl CGI scripts. > >> > > >> > (just thinking about) there are several good Java-oriented > >> > technologies - servlets, JSP, JSF - why not to use them? I don't like > >> > to say that servlets are more frequent than perl, but Java itself is > >> > not the most widely used language. We should advertise it. :) IMHO > >> > having Java web/servlets server (not a complete J2EE) for such type of > >> > tasks with theoretically Harmony JRE inside will do a good job for our > >> > project. > >> > > >> > Regards, > >> > > >> > 2006/7/28, Anton Luht : > >> > > Hello, > >> > > > >> > > I know why this thread is so lazy - it's because everybody > >> dislikes QA > >> > > & testing :) > >> > > > >> > > > OK, now let me add my $0.02 about my vision about reporting of test > >> > > > results. I believe it's better to do this using HTTP rather than > >> mail > >> > > > because some people may not have access to SMTP port (for > >> example, be > >> > > > behind proxy with Exchange as mail server - I don't really know > >> if it > >> > > > provides SMTP service). HTTP is open in most configurations and it > >> > > > was already decided that HDK and tests will be delivered via HTTP. > >> > > > > >> > > > I see the reporting of the results in the following way: after > >> > > > executing tests the script packs results and uploads them (as with > >> > > > browser file upload) to the server. After that data is processed on > >> > > > server-side - daemons can send periodical e-mails, draw charts, > >> > > > reports, lists of top test results contributors, etc. > >> > > > >> > > Nobody criticized this approach so I assume that it's not too bad. > >> I'm > >> > > going to implement a sketch for server-side bunch of scripts - one > >> > > that accepts uploads and puts them to a temp directory and maybe some > >> > > simple reports. They won't use any database. I believe that most > >> > > common server-side engine is CGI (not PHP or J2EE) so I'd like to > >> > > implement this using Perl CGI scripts. Since this is a first draft, > >> > > I'm not going to use advanced templates language like XSLT. Including > >> > > HTML output in script is bad idea so I'm going to use something like > >> > > HTML::Template [1] for pages generation and CGI::Lite [2] for > >> requests > >> > > handling. > >> > > > >> > > Perl is chosen just because it suites well for fast prototyping > >> development. > >> > > > >> > > If nobody objects, I'm going to start coding. > >> > > > >> > > [1] http://html-template.sourceforge.net/ > >> > > [2] http://search.cpan.org/~smylers/CGI-Lite-2.02/Lite.pm > >> > > > >> > > -- > >> > > Regards, > >> > > Anton Luht, > >> > > Intel Middleware Products Division > >> > -- > >> > Alexei Zakharov, > >> > Intel Middleware Product Division > >> > > >> > >> -- > >> Regards, > >> Anton Luht, > >> Intel Middleware Products Division -- Alexei Zakharov, Intel Middleware Product Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org