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 5F31F200B91 for ; Thu, 29 Sep 2016 08:26:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5DE09160AD7; Thu, 29 Sep 2016 06:26:34 +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 7B5B9160AE3 for ; Thu, 29 Sep 2016 08:26:33 +0200 (CEST) Received: (qmail 15095 invoked by uid 500); 29 Sep 2016 06:26:32 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 14967 invoked by uid 99); 29 Sep 2016 06:26:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2016 06:26:31 +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 7B3E8180481 for ; Thu, 29 Sep 2016 06:26:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=objectstyle.org header.b=P7NwjBpO; dkim=pass (1024-bit key) header.d=messagingengine.com header.b=BhENyGsb Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 5kozZWPG1kp9 for ; Thu, 29 Sep 2016 06:26:29 +0000 (UTC) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 79EBF5FB3B for ; Thu, 29 Sep 2016 06:26:29 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 331CA208DE for ; Thu, 29 Sep 2016 02:26:29 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Thu, 29 Sep 2016 02:26:29 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=objectstyle.org; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=QZVqGPCdigFPxRgnox2vL4H/vtY=; b=P7NwjB pOhliZWvx+H2xVRDnOG2ySZ6pXAlN2Xrj78SzLpPAB5SEi0mxAVJgKnuOXCavr2p fbRxLWWtv6/UWWuM9MWECQDfRB/xYftNZpcF4Brw0p1qA1zWzkcRFQT+HsURUhdI J7Jap/OKcVabelCX8r5kWLL+xJZWpzJdTqCc0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=QZVqGPCdigFPxRg nox2vL4H/vtY=; b=BhENyGsbZ2zgl5Jz2mltFwGtd535TQbEum7kaotKETLQdwy C0n+/e9X7v6y/FZs1g6PsDsKyrA/vheGqqH9RHqI5uuQveSzvyioSJ4GqxZz6ySE XdvzuinVlA6jOklBZlBS7NHgzvkTwBHR9HpqzbhQq5iwhRfMEbbLFDMuWA3U= X-Sasl-enc: iLBotfePuRxMwmMRanby7t3V30lpJ7i3o+OTS93qXBW8 1475130388 Received: from [192.168.1.58] (unknown [37.17.49.228]) by mail.messagingengine.com (Postfix) with ESMTPA id B625DF29CD for ; Thu, 29 Sep 2016 02:26:28 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Compiling from source From: Andrus Adamchik In-Reply-To: Date: Thu, 29 Sep 2016 09:26:27 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <019E5907-29D7-43D9-9125-09296FD0AF2F@objectstyle.org> <90EFBBC5-581D-4A37-BE55-F16D2B4A086D@objectstyle.org> <4BC4D11D-316B-42B3-B8E7-CE8B92BECA4E@objectstyle.org> <3BCF54DC-6623-4506-9AA9-4F0F4EFA952F@objectstyle.org> To: user@cayenne.apache.org X-Mailer: Apple Mail (2.3124) archived-at: Thu, 29 Sep 2016 06:26:34 -0000 You should be able to successfully run "mvn clean install" or "mvn clean = verify" with clean Maven repo without any prerequisites against most the = DBs on OSX and Linux. E.g.: https://builds.apache.org/view/All/job/cayenne-master/378/ This is why I am confused about your test failures. I checked the output = file you sent previously - the failures *are* real. Just not = reproducible on my end.=20 What's the output of "mvn -v" BTW? Andrus > On Sep 28, 2016, at 8:19 PM, Lon Varscsak = wrote: >=20 > This gets failsafe failure too: >=20 > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify > (integration-test) on project cayenne-server: There are test failures. >=20 > Am I wrong in assuming it should compile with tests without issue = (from > clean, no .m2 directory)? >=20 > -Lon >=20 > On Tue, Sep 27, 2016 at 11:37 PM, Andrus Adamchik = > wrote: >=20 >> Also if the failures are HSQL-specific (I can't reproduce it, so hard = to >> say), perhaps another way to circumvent the failures is to use = another >> in-memory DB for testing. E.g: >>=20 >> mvn clean install -DcayenneTestConnection=3Dderby >>=20 >> Not ideal, but who knows, maybe this will also get it unstuck. >>=20 >> Andrus >>=20 >>=20 >>> On Sep 28, 2016, at 9:30 AM, Andrus Adamchik = >> wrote: >>>=20 >>> Interesting. Didn't know about -skipTests. >>>=20 >>> And another mystery - why do those tests fail in the first place. >>>=20 >>> Andrus >>>=20 >>>=20 >>>=20 >>>> On Sep 28, 2016, at 9:28 AM, Savva Kolbachev = >> wrote: >>>>=20 >>>>> We are reusing test classes from cayenne-server in testing the = client. >> No >>>> easy way around that. >>>>=20 >>>> Sorry for misunderstanding. I meant that Cayenne should not require = test >>>> classes from cayenne-server for building cayenne-client without = testing. >>>>=20 >>>> It happens when you build with -Dmaven.test.skip=3Dtrue. On the = other >> hand, >>>> if you build with -DskipTests, it will not require test classes = from >>>> cayenne-server for building cayenne-client and will work great. >>>>=20 >>>> It is important for those, who just takes the latest version from = trunk >> and >>>> wants to build sources without testing. So, if they build >> 4.0.M4-SNAPSHOT >>>> for the first time and without testing, they might not have >>>> cayenne-server:jar:tests:4.0.M4-SNAPSHOT >>>> in the local .m2 repo. >>>>=20 >>>> On Wed, Sep 28, 2016 at 8:25 AM, Andrus Adamchik < >> andrus@objectstyle.org> >>>> wrote: >>>>=20 >>>>>=20 >>>>>> On Sep 27, 2016, at 11:34 PM, Savva Kolbachev = >>>>> wrote: >>>>>>=20 >>>>>> So, your .m2 repository doesn't contain >>>>>> org.apache.cayenne:cayenne-server:jar:tests:4.0.M4-SNAPSHOT, = which is >>>>>> necessary for the cayenne-client. Not sure that it is a correct >> behaviour >>>>>=20 >>>>> We are reusing test classes from cayenne-server in testing the = client. >> No >>>>> easy way around that. >>>>>=20 >>>>> Andrus >>>>>=20 >>>>>=20 >>>>=20 >>>>=20 >>>> -- >>>> Best Regards, >>>> Savva Kolbachev >>>=20 >>=20 >>=20