Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjqZh-0001jM-0O for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Jan 2019 19:10:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gjqZd-0005M4-Oj for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Jan 2019 19:10:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjqZb-0005Lm-QS for pgsql-bugs@lists.postgresql.org; Wed, 16 Jan 2019 19:10:01 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjqZT-0002v1-Nt for pgsql-bugs@lists.postgresql.org; Wed, 16 Jan 2019 19:09:58 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BD816287C4; Wed, 16 Jan 2019 14:09:50 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 16 Jan 2019 14:09:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=sRkqeroTgVeTLK90yPJC1q1OJTj vMPyjYQAKWWBGUvI=; b=CRBrY1tmqt16maq5qOJSPh1lGbBpKMXINW3OUBdE8OM V9LbBvTdEpw9bfm4G52dKjMYnAre2JoG4sRxuqeu7jlacLqOjQI4tYReVR2jio4N moeliSTTiLLIjylHYYW0KxL50jETuhuHo3QGMUWGif+/HapFOV6G4hvjAe9JZVMf ddY7/9uyTDisk3XekA1/v/2Ym2HY3pLGjstzP+VZuFMZV8Iy2/gUdO6xI1QuzWzC fxFWjD0D7gwe/1u7H4U2Hoas2/b3ae0wz91JJE1IZ4OKv+V6+Tyzc1GSXCJBrAyS VzIl0dUbGsQh+Pe3xx1xTV/z6VtQeKIPZk0F+3s4mqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=sRkqer oTgVeTLK90yPJC1q1OJTjvMPyjYQAKWWBGUvI=; b=Ne+qOHXIIKG7NHed64frNs DlrVmMK7b0v8g1Mkv2t6lrQBO48Aivr5wopVrcIiM7oVIzOQJVx1rRviSj+FMhz6 aNQQeAQ06JI6s6V9W9GKhUY7UYtPrR5aZ1huZn8IK0OKo2bQW9an1Ptc32UCsJTl LXtocfg5vdFlCkSl0H20kYHESoDQjTOUV4i40viWk6Qep7QQ4jZTh5hT33cmDUKd jgM0P8hnLn1TgcOSty5nMNDDeUa257m74Sd6aJPUShuoyj7wQRDC5TZjFEbSyGmw ktKeWE4P01JKapZjfts9BPrdtcVOerOWsMQ35+e2LO1ZVpfZEK49Xf+7L8pU6Lxw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgeehgdduvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpe etnhgurhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeen ucfkphepleekrddvuddtrddugedtrddujedunecurfgrrhgrmhepmhgrihhlfhhrohhmpe grnhgurhgvshesrghnrghrrgiivghlrdguvgenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 26BCD100E5; Wed, 16 Jan 2019 14:09:50 -0500 (EST) Date: Wed, 16 Jan 2019 11:09:49 -0800 From: Andres Freund To: exclusion@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15594: Unstable tests in contrib/test_decoding/output_iso/ Message-ID: <20190116190949.veuctcodlttweumc@alap3.anarazel.de> References: <15594-9df77c4c0da54c2c@postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15594-9df77c4c0da54c2c@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-01-16 14:56:34 +0000, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 15594 > Logged by: Alexander Lakhin > Email address: exclusion@gmail.com > PostgreSQL version: 11.1 > Operating system: Ubuntu 18.04 > Description: > > Some tests in contrib/test_decoding/output_iso/ occasionally fail. > To reproduce it reliable you can do: > # sed 's/ mxact / $(shell printf "mxact %.0s" `seq 1000` ) /' -i > contrib/test_decoding/Makefile > # make check -C contrib/test_decoding/ > > ... > test delayed_startup ... ok > test ondisk_startup ... ok > test concurrent_ddl_dml ... ok > test oldest_xmin ... ok > test snapshot_transfer ... ok > ============== shutting down postmaster ============== > > ========================== > 19 of 1005 tests failed. > ========================== > The differences that caused some tests to fail can be viewed in the > file ".../contrib/test_decoding/output_iso/regression.diffs". A copy of the > test summary that you see > above is saved in the file > ".../contrib/test_decoding/output_iso/regression.out". > > The diff file contains: > --- .../contrib/test_decoding/expected/delayed_startup.out 2018-02-08 > 16:57:42.816744192 +0300 > +++ .../contrib/test_decoding/output_iso/results/delayed_startup.out > 2019-01-16 17:46:33.138962021 +0300 > @@ -12,6 +12,8 @@ > step s2start: SELECT data FROM > pg_logical_slot_get_changes('isolation_slot', NULL, NULL, 'include-xids', > 'false'); > data > > +BEGIN > +COMMIT > step s1b: BEGIN ISOLATION LEVEL SERIALIZABLE; > step s1w: INSERT INTO do_write DEFAULT VALUES; > step s1c: COMMIT; > > ====================================================================== > ... > > > I observe this issue with the tests: mxact, delayed_startup, and > ondisk_startup. Interesting - I've not seen that on the buildfarm before, or in local tests with a lot of repetitions. I assume the problem vanishes if you add 'skip-empty-xacts', '1' to the options of pg_logical_slot_get_changes()? Greetings, Andres Freund