Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0857C200C0E for ; Wed, 1 Feb 2017 17:51:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 06DC2160B46; Wed, 1 Feb 2017 16:51:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 50427160B41 for ; Wed, 1 Feb 2017 17:51:01 +0100 (CET) Received: (qmail 56850 invoked by uid 500); 1 Feb 2017 16:51:00 -0000 Mailing-List: contact dev-help@atlas.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.incubator.apache.org Delivered-To: mailing list dev@atlas.incubator.apache.org Received: (qmail 56839 invoked by uid 99); 1 Feb 2017 16:51:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2017 16:51:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 03CDF1A04F1 for ; Wed, 1 Feb 2017 16:51:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.198 X-Spam-Level: X-Spam-Status: No, score=-1.198 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id appRGk4F6ueB for ; Wed, 1 Feb 2017 16:50:59 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 062A35F613 for ; Wed, 1 Feb 2017 16:50:59 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 06997E0236 for ; Wed, 1 Feb 2017 16:50:52 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id B517C25286 for ; Wed, 1 Feb 2017 16:50:51 +0000 (UTC) Date: Wed, 1 Feb 2017 16:50:51 +0000 (UTC) From: =?utf-8?Q?P=C3=A9ter_Gerg=C5=91_Barna_=28JIRA=29?= To: dev@atlas.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ATLAS-1515) Build (tests) fail with python3, only works with python2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Feb 2017 16:51:02 -0000 [ https://issues.apache.org/jira/browse/ATLAS-1515?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] P=C3=A9ter Gerg=C5=91 Barna updated ATLAS-1515: ------------------------------------- Attachment: ATLAS-1515.patch > Build (tests) fail with python3, only works with python2 > -------------------------------------------------------- > > Key: ATLAS-1515 > URL: https://issues.apache.org/jira/browse/ATLAS-1515 > Project: Atlas > Issue Type: Bug > Affects Versions: 0.6-incubating, 0.7-incubating > Reporter: P=C3=A9ter Gerg=C5=91 Barna > Priority: Trivial > Attachments: ATLAS-1515.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > Build (tests) fail with python3, only works with python2 > Only atlas-distro module is affected. > {noformat} > [INFO] --- exec-maven-plugin:1.2.1:exec (python-test) @ atlas-distro --- > Traceback (most recent call last): > File "unitTests.py", line 118, in > main() > File "unitTests.py", line 87, in main > suite =3D all_tests_suite() > File "unitTests.py", line 78, in all_tests_suite > suite =3D unittest.TestLoader().loadTestsFromNames(tests_list) > File "/Users/pbarna/anaconda3/lib/python3.5/unittest/loader.py", line 2= 19, in loadTestsFromNames > suites =3D [self.loadTestsFromName(name, module) for name in names] > File "/Users/pbarna/anaconda3/lib/python3.5/unittest/loader.py", line 2= 19, in > suites =3D [self.loadTestsFromName(name, module) for name in names] > File "/Users/pbarna/anaconda3/lib/python3.5/unittest/loader.py", line 1= 53, in loadTestsFromName > module =3D __import__(module_name) > File "/Users/pbarna/Desktop/apache-source/incubator-atlas/distro/src/te= st/python/scripts/TestMetadata.py", line 26, in > import atlas_config as mc > File "/Users/pbarna/Desktop/apache-source/incubator-atlas/distro/src/bi= n/atlas_config.py", line 135 > except OSError, e: > ^ > SyntaxError: invalid syntax > [INFO] ------------------------------------------------------------------= ------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------= ------ > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)