Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C831618CF6 for ; Fri, 5 Feb 2016 14:04:10 +0000 (UTC) Received: (qmail 57454 invoked by uid 500); 5 Feb 2016 14:03:54 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 57377 invoked by uid 500); 5 Feb 2016 14:03:54 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 57367 invoked by uid 99); 5 Feb 2016 14:03:54 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2016 14:03:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D66F6C25BE for ; Fri, 5 Feb 2016 14:03:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.652 X-Spam-Level: ** X-Spam-Status: No, score=2.652 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, KAM_BADIPHTTP=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.652] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id rRW3Qh1X7r6t for ; Fri, 5 Feb 2016 14:03:51 +0000 (UTC) Received: from resqmta-po-07v.sys.comcast.net (resqmta-po-07v.sys.comcast.net [96.114.154.166]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id BE12431AA9 for ; Fri, 5 Feb 2016 14:03:50 +0000 (UTC) Received: from resomta-po-09v.sys.comcast.net ([96.114.154.233]) by resqmta-po-07v.sys.comcast.net with comcast id Ee301s00352QWKC01e3j3z; Fri, 05 Feb 2016 14:03:43 +0000 Received: from [192.168.199.10] ([69.251.84.114]) by resomta-po-09v.sys.comcast.net with comcast id Ee1h1s00U2U0RYt01e1iQz; Fri, 05 Feb 2016 14:01:43 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: collaboration request - apache server automation testing with swat tool From: Jim Jagielski In-Reply-To: Date: Fri, 5 Feb 2016 09:01:41 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <3A242214-802F-4DAE-A124-7FEB0B23D54D@jaguNET.com> References: To: dev@httpd.apache.org X-Mailer: Apple Mail (2.3112) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1454681023; bh=+ytbUaEKYk/ryJtyo5i32bjlG0SxYULSf227hzIT608=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To; b=WvRyWt7OGNktOvkv+8IP02xbHA3MwwcwhjwSRPxOc2Llsu6goSGDYCZa5EfIltiON vSqivFQjLjemCwchYhc3HyXkrHbj6mGkPQaHm7FC2Mv46QPa8MgstfiZ80f5KpZoVi aOl2nC4qAAa8DfILVXVrJdAZBCpKs4m6l1P0zGCkynfHhYT15pj4ghTvh89+ZALfdT JEmrO2Qmj9kYgM5AEKPAUDC3xd26s71RMDlThnuzdfzzE/EQYr+ghQuu4cyAyl5Zs8 edRL4nXPxiIBe8nA42p3QqJjM8Ak41HOGNqbtgN/TSFBuYK4kswExh8hSrAS9D/LMF 2eqYBAXuMOCvQ== Personally, I like the idea of having another framework; the current one is OK but somewhat "painful" to update. I wonder how possible it would be to transcode the old tests to Swat? We could then provide for 2 testing frameworks, one developed by the ASF and the other external and 3rd party. > On Feb 1, 2016, at 5:23 AM, Alexey Melezhik = wrote: >=20 > Here the list of existed issues I was able to automate tests for: >=20 > vagrant@Debian-jessie-amd64-netboot:~/my/apache-swat$ ls -1 | grep -P = '\d' > 44221 > 46751 > 58789 > 58828 > 58854 >=20 >=20 > I have informed developers at https://bz.apache.org/bugzilla/ about > these, so they rely upon them. Or you have some pre-release testing, > so run all of these in a whole chunk? >=20 > Regards >=20 > Alexey >=20 > PS chaining issues / tests listing as always - > https://github.com/melezhik/apache-swat >=20 > PS2 it'd be could to verify tests as well against "bleeding edge" > apache version gets installed from SCM, but I don't know how to do > this. > Currently I use http://httpd.apache.org/download.cgi ( last stable = release ) >=20 >=20 >=20 > 2016-01-30 21:36 GMT+03:00 Alexey Melezhik : >> Hi Bill! >>=20 >> I have started to assemble swat tests for apache2 issues coming from >> https://bz.apache.org/bugzilla >>=20 >> And this the first one - = https://bz.apache.org/bugzilla/show_bug.cgi?id=3D44221 , >>=20 >> Test suite is failed for the moment : >>=20 >>=20 >> vagrant@Debian-jessie-amd64-netboot:~/my/apache-swat$ swat -t 44221 >> /home/vagrant/.swat/.cache/384/prove/44221/foo.baz/00.GET.t ... >> ok 1 - GET 127.0.0.1/44221/foo.baz succeeded >> # http headers saved to = /home/vagrant/.swat/.cache/384/prove/52jLAo76YZ.hdr >> # body saved to /home/vagrant/.swat/.cache/384/prove/52jLAo76YZ >> ok 2 - output match '200 OK' >> 1..2 >> ok >> /home/vagrant/.swat/.cache/384/prove/44221/FOO.bar/00.GET.t ... >> ok 1 - GET 127.0.0.1/44221/FOO.bar succeeded >> # http headers saved to = /home/vagrant/.swat/.cache/384/prove/DvEZnO6ALe.hdr >> # body saved to /home/vagrant/.swat/.cache/384/prove/DvEZnO6ALe >> ok 2 - output match '200 OK' >> ok 3 - output match /Location: \S+/ >> ok 4 - 'Location: http://127.0.0.1/44221/foo.bar' match 'foo.bar' >> 1..4 >> ok >> /home/vagrant/.swat/.cache/384/prove/44221/foo.BAR/00.GET.t ... >> ok 1 - GET 127.0.0.1/44221/foo.BAR succeeded >> # http headers saved to = /home/vagrant/.swat/.cache/384/prove/bWQ1Sbl0YZ.hdr >> # body saved to /home/vagrant/.swat/.cache/384/prove/bWQ1Sbl0YZ >> ok 2 - output match '200 OK' >> ok 3 - output match /Location: \S+/ >> ok 4 - 'Location: http://127.0.0.1/44221/foo.bar' match 'foo.bar' >> 1..4 >> ok >> /home/vagrant/.swat/.cache/384/prove/44221/foo.bar/00.GET.t ... >> ok 1 - GET 127.0.0.1/44221/foo.bar succeeded >> # http headers saved to = /home/vagrant/.swat/.cache/384/prove/Jd_hlo7Qwv.hdr >> # body saved to /home/vagrant/.swat/.cache/384/prove/Jd_hlo7Qwv >> ok 2 - output match '200 OK' >> 1..2 >> ok >> /home/vagrant/.swat/.cache/384/prove/44221/foo.html/00.GET.t .. >> ok 1 - GET 127.0.0.1/44221/foo.html succeeded >> # http headers saved to = /home/vagrant/.swat/.cache/384/prove/tW2L511eym.hdr >> # body saved to /home/vagrant/.swat/.cache/384/prove/tW2L511eym >> ok 2 - output match /HTTP\/(\S+) (\d+) \S+/ >> not ok 3 - 'HTTP/1.1 300 Multiple Choices' match /404 / >>=20 >> # Failed test ''HTTP/1.1 300 Multiple Choices' match /404 /' >> # at /usr/local/share/perl/5.20.2/swat.pm line 218. >> not ok 4 - output match 'Not Found' >>=20 >> # Failed test 'output match 'Not Found'' >> # at /usr/local/share/perl/5.20.2/swat.pm line 218. >> 1..4 >> # Looks like you failed 2 tests of 4. >> Dubious, test returned 2 (wstat 512, 0x200) >> Failed 2/4 subtests >>=20 >> Test Summary Report >> ------------------- >> /home/vagrant/.swat/.cache/384/prove/44221/foo.html/00.GET.t (Wstat: >> 512 Tests: 4 Failed: 2) >> Failed tests: 3-4 >> Non-zero exit status: 2 >> Files=3D5, Tests=3D16, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.27 = cusr >> 0.00 csys =3D 0.30 CPU) >> Result: FAIL >>=20 >> ... >>=20 >> Ok, this is just the beginning ;-))) , watch soon updates at - >> https://github.com/melezhik/apache-swat >>=20 >> 2016-01-29 20:44 GMT+03:00 William A Rowe Jr : >>> On Fri, Jan 29, 2016 at 6:35 AM, Alexey Melezhik = wrote: >>>>=20 >>>> Hi Bill! >>>>=20 >>>> Any news? ( Please see my previous reply ...) >>>> Intr >>>=20 >>>=20 >>> Intrigued :) But my responses will be delayed, I personally >>> won't have time to look further myself until other backlogged >>> commitments to httpd are caught up some more. >>>=20 >>> Be aware many of us have only a few hours to participate in the >>> httpd project itself, so it will take several days or more to gather >>> feedback on your interest and perhaps a champion to drive such >>> an effort if it is actively driven from this side. Of course that >>> should not stop you from assembling some ideas at the vcs of >>> your choice, and sharing a link for those who want to look at an >>> early draft of such an effort! >>>=20 >>> Cheers, >>>=20 >>> Bill