Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1etbNM-0004SE-HE for pgadmin-hackers@arkaria.postgresql.org; Wed, 07 Mar 2018 15:53:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1etbNL-0006i4-FH for pgadmin-hackers@arkaria.postgresql.org; Wed, 07 Mar 2018 15:53:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1etbNL-0006hu-4p for pgadmin-hackers@lists.postgresql.org; Wed, 07 Mar 2018 15:53:07 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1etbNG-00037X-KX for pgadmin-hackers@postgresql.org; Wed, 07 Mar 2018 15:53:06 +0000 Received: by mail-wm0-x244.google.com with SMTP id s206so23338179wme.0 for ; Wed, 07 Mar 2018 07:53:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xDLQpoJRToC5rX7KpxUuydcIs8YXyiN8U+bY/5gGeHk=; b=GmwtSZJq7WOwLPjYTnkT11/lwE+jck9/aXG/gOXbSUc5bvLY/Khp2xesSZ/yJh/hr9 gyqnHd7ordXhi+ai7eR9r68G+5Mc7DKkjDsLC2Cbfx92whhDZxFV8NsVKGB/SS74a/xW mp988OOHkUjoBnlkIFUJv8orAbVaqnKTbL6nzxoZ4+762Tzb7r/u9huaIVIpMkF1e2jX Bvl0SG8HUyZQt/DmeFkJAAuyfeEyodlzU0GJPLvjBGOTig6RPsuewgTtrA7WO4ByFbQb RHe+6kbAy9Vr8H9+z3StBjoVtnyy476USyUpkYkYXicSlmYt/9zBJu+DI94RriA6gsp5 tdOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xDLQpoJRToC5rX7KpxUuydcIs8YXyiN8U+bY/5gGeHk=; b=VQasx9o/wDr9B4On8Lvxhk3EuTX9qLewwT/RU26NQz8o86HZ2kZa4es8FjLWeH6uio 2eogjwElEtHL8tbIQqrzVipFdoN2cV5zpn5QLXAK/nZWlmWFtBMx9U9qvpfYp87v0l4c IMOR+1eqiDj7+ambhiA1WiDe7mP0t6hPqdIQFeE1/s0mmWTKCrjBYYqJLUuL+oeIARMD NC9b43LaaPk5VEWqUlW5/rdkx0Bph2td/r06GBA37c7PMat/qgg7dwB0/tYBaMx2MlTx Sj17PrkwhLjOriR1HZAwK21vNHuPLLtRfIxOpvgSwajAAO22LAfSxcez49JLYfL/mq4T 7cWw== X-Gm-Message-State: AElRT7Gp5rYi/uFiQNgJzK2laeETi5A5dB63ri49PshrLjXjlvrfsb0v cR46iL25qyqhd2WH/OCWxMyYM7gFUc9LwE4PKe/oVQ== X-Google-Smtp-Source: AG47ELtoG6f49Py9DyCbjq1W8o1fS6jpy3fPyYrHAhjFnw0kYZJJhU729AFCH+ngto312YIY/Cd0x6IlU/MzHjZRrJo= X-Received: by 10.28.130.9 with SMTP id e9mr13857698wmd.161.1520437981350; Wed, 07 Mar 2018 07:53:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.109.7 with HTTP; Wed, 7 Mar 2018 07:53:00 -0800 (PST) In-Reply-To: References: <474340384.127.1520431275754.JavaMail.jenkins@jenkins.pgadmin.org> From: Dave Page Date: Wed, 7 Mar 2018 15:53:00 +0000 Message-ID: Subject: Re: Build failed in Jenkins: pgadmin4-master-python33 #507 To: Khushboo Vashi Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="001a11444b44c81f9a0566d48d4b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --001a11444b44c81f9a0566d48d4b Content-Type: text/plain; charset="UTF-8" Hi On Wed, Mar 7, 2018 at 3:10 PM, Khushboo Vashi < khushboo.vashi@enterprisedb.com> wrote: > Hi Dave, > > On Wed, Mar 7, 2018 at 7:34 PM, Dave Page wrote: > >> Khushboo, can you look at this ASAP please? It passed tests on my >> machine, but Jenkins isn't happy. >> >> I have tried to reproduce the issue with many combination but couldn't > reproduce it. > With the help of logs, I have tried to fix it. Can you please check this > fix is helpful or not? > On my laptop I now get: ====================================================================== ERROR: runTest (pgadmin.tools.sqleditor.tests.test_poll_query_tool.TestPollQueryTool) When query tool polling returns messages with result data-set ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/dpage/git/pgadmin4/web/pgadmin/tools/sqleditor/tests/test_poll_query_tool.py", line 104, in runTest response_data['data']['additional_messages']) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 802, in assertIn if member not in container: TypeError: argument of type 'NoneType' is not iterable ---------------------------------------------------------------------- -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --001a11444b44c81f9a0566d48d4b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Wed, Mar 7, 2018 at 3:10 PM, Khushboo Vashi <= khushb= oo.vashi@enterprisedb.com> wrote:
Hi Dave,

On Wed, Mar 7,= 2018 at 7:34 PM, Dave Page <dpage@pgadmin.org> wrote:
Khushboo, = can you look at this ASAP please? It passed tests on my machine, but Jenkin= s isn't happy.

I have trie= d to reproduce the issue with many combination but couldn't reproduce i= t.
With the help of logs, I have tried to fix it. Can you please = check this fix is helpful or not?=C2=A0

On my laptop I now get:

=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: = runTest (pgadmin.tools.sqleditor.tests.test_poll_query_tool.TestPollQueryTo= ol)
When query tool polling returns messages with result data-set=
----------------------------------------------------------------= ------
Traceback (most recent call last):
=C2=A0 File &= quot;/Users/dpage/git/pgadmin4/web/pgadmin/tools/sqleditor/tests/test_poll_= query_tool.py", line 104, in runTest
=C2=A0 =C2=A0 response_= data['data']['additional_messages'])
=C2=A0 File = "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.= 7/unittest/case.py", line 802, in assertIn
=C2=A0 =C2=A0 if = member not in container:
TypeError: argument of type 'NoneTyp= e' is not iterable

---------------------------= -------------------------------------------=C2=A0

--
Dave Page
Blog: http://pgsnake.blogspot.comTwitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise= PostgreSQL Company
--001a11444b44c81f9a0566d48d4b--