Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwsys-0005rT-Pj for pgsql-hackers@arkaria.postgresql.org; Sat, 08 Apr 2017 16:12:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cwsys-00036g-Ce for pgsql-hackers@arkaria.postgresql.org; Sat, 08 Apr 2017 16:12:54 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cwsyq-000313-Pq for pgsql-hackers@postgresql.org; Sat, 08 Apr 2017 16:12:52 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cwsyn-00070d-9b for pgsql-hackers@postgresql.org; Sat, 08 Apr 2017 16:12:51 +0000 Received: by mail-lf0-x242.google.com with SMTP id x72so803424lfb.1 for ; Sat, 08 Apr 2017 09:12:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=y+cpZ2Pzqd7vYjxt2wRllmaafgUNcN6EkBnJt+sbE4s=; b=ax/X6wArJ5sB+OoFtdu+nZEJhj4pxqphiJ53zleNwIEamXshQweSJaORbYzGgsjgVW 8YGuTZJpx1oLmY9vLnC0PC21PTvg7LAwD+hkThySMF+zoTLGFmOL/iT9qt/PypxGcDdw QPzd0dKl3hJvUqiEuGLLErHac5Y++Wkn10JGd9jh4KH0gQJsEMjsmTHxjVnu6V+G5fwl o9zKOFM/rZeFLDfgeBX5AHHTf5Mixd+ya6S36wp/9yix0N7c7fAW5c12Sx/huQJeGdzN DJyIoTNnxHqUWkZwsk3+NXrH9ZxUk2Rk6aNBwievekF9a64vbwSVNF1CoiVCQ7xNU+Hs mkdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to; bh=y+cpZ2Pzqd7vYjxt2wRllmaafgUNcN6EkBnJt+sbE4s=; b=tkkcFdLEtxAFrCuh0KEd4Z2+H4uQSus57GrRg0v6bX2VXU7Bu0iHRkgq5UePlknNd8 huPtEIDG9h52VlRfzN8sFXmv3SHM1PyWt6bcx0dJZNldz3K4tcT9MRSWLDz5c1poIQ6W wP+CauDVWhXQcNgUUn77TzqxGI0vR8WXzi69BSlEqqLItdc9LPpIKN/o1+lSk+8BUrGl xnOm92fgDixHNYxRglIt2owaY8qxWxABQyEohaqIOLGp6QK3KvzucjL+YcW3tWIzC0mS SHpaNypirgazc6kp/YRYXfhiKumUqNA3xG1zok28SolNfzK8Q5enWpW5RmyFIIlhmv9i TiIw== X-Gm-Message-State: AFeK/H29++s5hzBSBqfrPyyM1e4bpb4pqU7HA9rL5I3O+wfyI0ewxjzeTvD6i1SszKHANw== X-Received: by 10.46.84.7 with SMTP id i7mr13021230ljb.74.1491667967278; Sat, 08 Apr 2017 09:12:47 -0700 (PDT) Received: from [192.168.1.99] (dsl-hkibrasgw1-50df7f-241.dhcp.inet.fi. [80.223.127.241]) by smtp.gmail.com with ESMTPSA id x84sm1643637lfa.13.2017.04.08.09.12.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Apr 2017 09:12:46 -0700 (PDT) Subject: Re: Fwd: Re: Running make check-world in buildfarm (was Re: [COMMITTERS] pgsql: Use SASLprep to normalize passwords for SCRAM authentication.) To: Andrew Dunstan , Andres Freund , PostgreSQL-development References: <20170408140554.slvzwqh5cw3shkzw@alap3.anarazel.de> <8101c9f8-c1e9-6bf8-dabf-f3e1a0eaed8f@dunslane.net> From: Heikki Linnakangas Message-ID: <67a41405-740a-098d-2aec-b7b6c187303f@iki.fi> Date: Sat, 8 Apr 2017 19:12:44 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------257E3ED6E39EAC3994215B4E" X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org This is a multi-part message in MIME format. --------------257E3ED6E39EAC3994215B4E Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 04/08/2017 05:26 PM, Andrew Dunstan wrote: > Yes, I don't want just to run check-world. > > I am aware of a few test sets that need to be added, and I'm planning on > doing that this weekend, in fact. Specifically: recovery, subscription, > authentication and SSL. Peter Eisentraut raised this with me about a > week ago. Thanks, that'd be great! Beware that src/test/ssl is not safe to run on a multi-user system, because it allows connections from localhost with well-known user certificates. I've been running it on chipmunk for a while, with the attached module script. - Heikki --------------257E3ED6E39EAC3994215B4E Content-Type: application/x-perl; name="TestSSL.pm" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="TestSSL.pm" # # A module to run the SSL test suite in src/test/ssl. # It is not run by "check-world", because the test server # is open for connections using widely-known certificates, # and isn't therefore safe to run in a hostile network. # package PGBuild::Modules::TestSSL; use PGBuild::Options; use PGBuild::SCM; use File::Basename; use strict; use vars qw($VERSION); $VERSION = 'REL_4.13'; my $hooks = {'check' => \&check,}; sub setup { my $class = __PACKAGE__; my $buildroot = shift; # where we're building my $branch = shift; # The branch of Postgres that's being built. my $conf = shift; # ref to the whole config object my $pgsql = shift; # postgres build dir # for now do nothing on MSVC return if $conf->{using_msvc}; # only for supported branches return unless $branch eq 'HEAD' || $branch ge 'REL9_5_STABLE'; my $self = { buildroot => $buildroot, pgbranch=> $branch, bfconf => $conf, pgsql => $pgsql }; bless($self, $class); main::register_module_hooks($self,$hooks); } sub check { my $self = shift; return unless main::step_wanted('test-decoding-check'); print main::time_str(), "checking test-ssl\n" if $verbose; my $make = $self->{bfconf}->{make}; my @checklog; if ($self->{bfconf}->{using_msvc}) { # chdir "$self->{pgsql}/src/tools/msvc"; # @checklog = `perl vcregress.pl upgradecheck 2>&1`; # chdir "$self->{buildroot}/$self->{pgbranch}"; } else { my $cmd = "cd $self->{pgsql}/src/test/ssl && $make check"; @checklog = `$cmd 2>&1`; } my @logfiles = glob( "$self->{pgsql}/src/test/ssl/tmp_check/log/*" ); foreach my $log (@logfiles) { my $fname = $log; $fname =~ s!.*/([^/]+/log/[^/]+log)$!$1!; $fname =~ s!.*/([^/]+/[^/]+diffs)$!$1!; local $/ = undef; my $handle; open($handle,$log); my $contents = <$handle>; close($handle); push(@checklog, "=========================== $fname ================\n",$contents); } my $status = $? >>8; main::writelog("test-ssl-check",\@checklog); print "======== test-ssl check log ===========\n",@checklog if ($verbose > 1); main::send_result("test-ssl-check",$status,\@checklog) if $status; { no warnings 'once'; $main::steps_completed .= " test-ssl-check"; } } 1; --------------257E3ED6E39EAC3994215B4E Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers --------------257E3ED6E39EAC3994215B4E--