Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-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 78DB7107E7 for ; Fri, 5 Jun 2015 10:36:40 +0000 (UTC) Received: (qmail 38523 invoked by uid 500); 5 Jun 2015 10:36:35 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 38462 invoked by uid 500); 5 Jun 2015 10:36:35 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 37594 invoked by uid 99); 5 Jun 2015 10:36:34 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2015 10:36:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 842451821FA for ; Fri, 5 Jun 2015 10:36:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.01 X-Spam-Level: X-Spam-Status: No, score=-0.01 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id t5CtDumA8xat for ; Fri, 5 Jun 2015 10:36:21 +0000 (UTC) Received: from mailout1.informatik.hu-berlin.de (mailout1.informatik.hu-berlin.de [141.20.20.101]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 1D0EA43C99 for ; Fri, 5 Jun 2015 10:36:20 +0000 (UTC) Received: from mailbox.informatik.hu-berlin.de (mailbox [141.20.20.63]) by mail.informatik.hu-berlin.de (8.14.7/8.14.7/INF-2.0-MA-SOLARIS-2.10-25) with ESMTP id t55AaH05023975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 5 Jun 2015 12:36:18 +0200 (MEST) Received: from [141.20.27.42] (localhost [127.0.0.1]) (authenticated bits=0) by mailbox.informatik.hu-berlin.de (8.14.7/8.14.7/INF-2.0-MA-SOLARIS-2.10-AUTH-26-465-587) with ESMTP id t55AaH58023971 for ; Fri, 5 Jun 2015 12:36:17 +0200 (MEST) Message-ID: <55717AF3.4010403@informatik.hu-berlin.de> Date: Fri, 05 Jun 2015 12:33:23 +0200 From: "Matthias J. Sax" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: dev@flink.apache.org Subject: Local Python Test Execution Problem Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i9Hgjv8lP3IV8SWx6Hqcud33lTm0N7hDd" X-Virus-Scanned: clamav-milter 0.98.4 at mailbox X-Virus-Status: Clean X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.5.1 (mail.informatik.hu-berlin.de [141.20.20.50]); Fri, 05 Jun 2015 12:36:19 +0200 (MEST) --i9Hgjv8lP3IV8SWx6Hqcud33lTm0N7hDd Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, I have a local setup problem on my Linux that let Python tests fail. For some reason, it cannot write to /tmp/ file... (see error message below). I can resolve the issue with "sudo rm -rf /tmp/*", but this raises other problems on my system. Furthermore, the testing problem is back, after restarting my machine. Do you have any idea, what I need to do, to get my configuration right? -Matthias > Running org.apache.flink.languagebinding.api.java.python.PythonPlanBind= erTest > log4j:WARN No appenders could be found for logger (org.apache.flink.lan= guagebinding.api.java.python.PythonPlanBinder). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig fo= r more info. > Traceback (most recent call last): > File "/tmp/flink_plan/plan.py", line 162, in > env =3D get_environment() > File "/tmp/flink_plan/flink/plan/Environment.py", line 34, in get_env= ironment > return Environment() > File "/tmp/flink_plan/flink/plan/Environment.py", line 44, in __init_= _ > self._connection =3D Connection.OneWayBusyBufferingMappedFileConnec= tion() > File "/tmp/flink_plan/flink/connection/Connection.py", line 42, in __= init__ > self._output_file =3D open(tempfile.gettempdir() + "/flink_data/out= put", "rb+") > IOError: [Errno 2] No such file or directory: '/tmp/user/1000/flink_dat= a/output' > Traceback (most recent call last): > File "/tmp/flink_plan/plan.py", line 162, in > env =3D get_environment() > File "/tmp/flink_plan/flink/plan/Environment.py", line 34, in get_env= ironment > return Environment() > File "/tmp/flink_plan/flink/plan/Environment.py", line 44, in __init_= _ > self._connection =3D Connection.OneWayBusyBufferingMappedFileConnec= tion() > File "/tmp/flink_plan/flink/connection/Connection.py", line 42, in __= init__ > self._output_file =3D open(tempfile.gettempdir() + "/flink_data/out= put", "rb+") > FileNotFoundError: [Errno 2] No such file or directory: '/tmp/user/1000= /flink_data/output' > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 5.13 se= c <<< FAILURE! - in org.apache.flink.languagebinding.api.java.python.Pyth= onPlanBinderTest > testPython2(org.apache.flink.languagebinding.api.java.python.PythonPlan= BinderTest) Time elapsed: 2.784 sec <<< ERROR! > java.lang.RuntimeException: Plan file caused an error. Check log-files = for details. > at org.apache.flink.languagebinding.api.java.python.PythonPlanB= inder.startPython(PythonPlanBinder.java:202) > at org.apache.flink.languagebinding.api.java.python.PythonPlanB= inder.runPlan(PythonPlanBinder.java:109) > at org.apache.flink.languagebinding.api.java.python.PythonPlanB= inder.main(PythonPlanBinder.java:84) > at org.apache.flink.languagebinding.api.java.python.PythonPlanB= inderTest.testPython2(PythonPlanBinderTest.java:75) >=20 > testPython3(org.apache.flink.languagebinding.api.java.python.PythonPlan= BinderTest) Time elapsed: 2.179 sec <<< ERROR! > java.lang.RuntimeException: Plan file caused an error. Check log-files = for details. > at org.apache.flink.languagebinding.api.java.python.PythonPlanB= inder.startPython(PythonPlanBinder.java:202) > at org.apache.flink.languagebinding.api.java.python.PythonPlanB= inder.runPlan(PythonPlanBinder.java:109) > at org.apache.flink.languagebinding.api.java.python.PythonPlanB= inder.main(PythonPlanBinder.java:84) > at org.apache.flink.languagebinding.api.java.python.PythonPlanB= inderTest.testPython3(PythonPlanBinderTest.java:85) >=20 >=20 > Results : >=20 > Tests in error:=20 > PythonPlanBinderTest.testPython2:75 =C2=BB Runtime Plan file caused a= n error. Check... > PythonPlanBinderTest.testPython3:85 =C2=BB Runtime Plan file caused a= n error. Check... --i9Hgjv8lP3IV8SWx6Hqcud33lTm0N7hDd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVcXr3AAoJEBXkotPFErDWKq0P/A1Ehdc3ILO1i210lYVeDrLO UZf8dxHL4bt8hK9J+Sw6JpRplUKcYguHrWOlHtfKCa5phkGfYlK3kyhR6UnxWdkd mS6txve6HAPMkBQa0ax7xoa5ae89SeB0c5/eSbUSkW2ccaTP39HLOx1Nz4JcRCEb q0fKBfMPWk4cmpN63Wh0L61VLZtJIgo44rScMpmUYQv9k2xQmYb/JbThyr/hHIBm 8xfgLins2i0fU0KPNKINNNZBAXLKs5UkqyyEB3uF8MFtYw1CccFai+2wsPSlMi/l Rk67lq/cuc4IoNQIP+W+90JgT5Nkap/C+L9BCo2unr/ja5UEJJqgu67RPTwC+7iu IqrVbLOEjXK5J4yEz2qwQ+QH81UTnNtY3VjW0Uh2QjCvAkSOgTzZjEs2mVBpl08e uekiU16lreb3dRBcIcMRWKotZ7FrJW10K8XjyI43ydi8ZR1MYG6JbX9sEMwEI2a8 46UTfagirWmfZ+7e+nJWETAPk28Qq5hxUPTA+xYQ3sr5jOaxylySNAFZn02hEnWj XFThgXUdlSkJlpqSxilsknmTa4YQHNYF9aDu0qCSrsMItx+rkKV1yeaLqU3LNEWV aWIzbdWzVRBGdjvSsoaqLEeqQ2EnEz7brVErItK4XaBg84qNvTPaVq5XNsJo58py gPntlyOv6JRi1pev+Ivx =EmD0 -----END PGP SIGNATURE----- --i9Hgjv8lP3IV8SWx6Hqcud33lTm0N7hDd--