Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-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 81745DBD8 for ; Tue, 8 Jan 2013 10:56:40 +0000 (UTC) Received: (qmail 19348 invoked by uid 500); 8 Jan 2013 10:56:39 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 19235 invoked by uid 500); 8 Jan 2013 10:56:38 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 19194 invoked by uid 99); 8 Jan 2013 10:56:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2013 10:56:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2013 10:56:29 +0000 Received: by mail-wg0-f45.google.com with SMTP id dq12so211065wgb.24 for ; Tue, 08 Jan 2013 02:56:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=hyp5evlWonvzVEC7/s9rlr5HegqviVIIuudZ7K/vABY=; b=bved0sFZVvs1S7SkD7vksfn/C6rzNWkYM4UYtUauf95pyudTFE1+brWRl8acbjx5yV PsUxoshqoZkIbexwkGek1QlPfpfFnSIOE0gXG7dS1Oyr+r5cGJjTjWGaUid9vM15yu/t yd4A6SAbnsr7R3DI40xhb8HtWiDPFjgW/nJZGOSBV6ybF0tU0SzZYrUh7Ufwgj5Gmd47 QreVxVFA7Vc0cVa6/yKddNvQtRj9PeO5aAtMB589OHL2yzBgl35dHQhleSb9vIkMnBax rl8BvPSxxzm8jGye7yjRb9q24hYiXDHHD4UqEWz5T8rbuPTlrKEq0G1lhGH5vnHnLd2P Gk+A== MIME-Version: 1.0 X-Received: by 10.180.24.198 with SMTP id w6mr13874438wif.27.1357642568918; Tue, 08 Jan 2013 02:56:08 -0800 (PST) Received: by 10.194.234.164 with HTTP; Tue, 8 Jan 2013 02:56:08 -0800 (PST) In-Reply-To: References: <20130108024433.4DABF14712E@vmgump.apache.org> <87fw2cckjc.fsf@v35516.1blu.de> Date: Tue, 8 Jan 2013 10:56:08 +0000 Message-ID: Subject: Re: [GUMP@vmgump]: Project commons-email (in module apache-commons) failed From: sebb To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On 8 January 2013 09:02, Thomas Neidhart wrote: > On Tue, Jan 8, 2013 at 6:26 AM, Stefan Bodewig wrote: > >> On 2013-01-08, Gump wrote: >> >> > at java.lang.Short.parseShort(Short.java:143) >> > at >> org.powermock.modules.junit4.common.internal.impl.VersionCompatibility.getJUnitVersion(VersionCompatibility.java:40) >> >> ... >> >> > initializationError(org.apache.commons.mail.MultiPartEmailTest): Value >> out of range. Value:"08012013" Radix:10 >> >> Oompf. >> >> Gump sets JUnit's version to the current date while building it (right >> now in the format DDMMYYYY but this will change soonish). This doesn't >> fit into a short. >> >> Is there any way around this version check or do we need to change the >> way Gump builds JUnit to make it work? >> > > This is due to the powermock dependency that has been introduced lately. > The implemented version check seems to be broken (see > http://code.google.com/p/powermock/issues/detail?id=381) and is pretty > useless anyway, but there seems to be no way to disable it for now. > > I would like to keep powermock, but we could disable the tests in question > until the version format changes? Another approach is to revert to the previous code, and check whether the .invalid host name is resolved; if so, print a warning and skip the test(s). Or use a mocking solution that's not broken in this way. I don't think the tests should be unconditionally disabled. > Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org