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 E7D8F200BAB for ; Sat, 22 Oct 2016 19:41:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E6275160AE0; Sat, 22 Oct 2016 17:41:19 +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 DA124160ADB for ; Sat, 22 Oct 2016 19:41:18 +0200 (CEST) Received: (qmail 62711 invoked by uid 500); 22 Oct 2016 17:41:18 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 62698 invoked by uid 99); 22 Oct 2016 17:41:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Oct 2016 17:41:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2CA80C1E70 for ; Sat, 22 Oct 2016 17:41:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.798 X-Spam-Level: * X-Spam-Status: No, score=1.798 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 9RwA6EheK5Fu for ; Sat, 22 Oct 2016 17:41:13 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id C9F245F201 for ; Sat, 22 Oct 2016 17:41:12 +0000 (UTC) Received: from mail-wm0-f48.google.com ([74.125.82.48]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M0QLp-1cnMUc0yWT-00uXXh for ; Sat, 22 Oct 2016 19:41:11 +0200 Received: by mail-wm0-f48.google.com with SMTP id f193so6053484wmg.1 for ; Sat, 22 Oct 2016 10:41:11 -0700 (PDT) X-Gm-Message-State: AA6/9RlQcljMWMYhuYKkGFn1ewKANiohHMFeo2F0DeADMeqwD70pDJoWcI1OAcix2Cd8mORlH6+5OHI4HPkmkw== X-Received: by 10.28.174.209 with SMTP id x200mr8243212wme.55.1477158070714; Sat, 22 Oct 2016 10:41:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.225.6 with HTTP; Sat, 22 Oct 2016 10:41:09 -0700 (PDT) In-Reply-To: <87funp67mx.fsf@v45346.1blu.de> References: <20161020014842.44E89141428@vmgump.apache.org> <87funp67mx.fsf@v45346.1blu.de> From: Dominik Stadler Date: Sat, 22 Oct 2016 19:41:09 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Fwd: [GUMP@vmgump]: Project ooxml-schemas (in module poi) failed To: POI Developers List Cc: Gump code and data Content-Type: multipart/mixed; boundary=001a11444f52152838053f77aa34 X-Provags-ID: V03:K0:yQ9Gfd4Yy531cqBRQlETSzb2tI3PBBGcryMFQFscaP+mz/UF5is cmsX4RYg6Sb8mHxxwkM4yGY622IieyP2NiYBsrosaN704M8mpSVIvsD2fBuCDfmpSd1EmHe axC+DbMBRvKSove/uWT0PPIgTQhnUfMIlBI4orFmgbmxFZ3xVZ+w5caXxPfGq+3i7q+X9c8 Sd+47KvCuRrGpgcfL3JSA== X-UI-Out-Filterresults: notjunk:1;V01:K0:uH4+uWgCqKc=:/XaOThK6OjH+oh06fiV9QH 1yoHkPCB+zy/4E5bGsXpNANLNHuE3ki0mBo6znpxvKIizLNnfNypco8+GvY6B645dBDRsczwN pHJWGPkwQbjKSLKZrZh8/B0vmFJU1lL0XYAoQGAwSg9DRXa+T5dnnmJBpfon0OSiTky0Z12Ag Fz3r8DyRthl/REwbGxRoBS1L4bYFkk8Fg3w6XPnN6O77GB9fvbI8X0+wRw9BPbHYJddxlURQO dMjFACv1t5yMsizJuz1vPIH5IPm1AdI8hagRt8tb2wDRKB2Uv2PMjcRl/Dh7+aqrxRcv8C3WI nsgxez9jrxQmD541ZDEKiEZIatQ50uhJAFg2nxok0wZwFUgc3M/jyAaOPBDqPJzA0II7BZ0AA CWQ1ePPO1ZBuulyColhptt9btToHz/oGJTLNV1VEb0F01JKas1DyCblWuh8yPnVrr/SisxX0a ugLeHHiMFPFmjTQKvjam5oluiSbB4my4to5CBvWVow0CqaIIAE8KGV70xy6t9KL8ZhLxuSPj5 BrUV3eA3dVkT+HMQI92dB3fKDjkG/6CZGERzDXHFWMOk1JK/jwC5ufWEoLM0H6X21RWJRtTzE aPfwGhRERChAveUbsYs1rsSOacA6WPBB2F81W2LOcawI8loBBbMwhgnlDP47F77tWvEC4T8OI 5SKhFFKiZ6SPxqagZ7fOBbYx5vDWvN/GUS8TeEjSZGgufBnEUn+KBj2CY2kqn/qcwxTBv/UaT YJ1eubsB3aDts8BHWRb3eN+Frs5kjoysPpWlZpyj8GtbY2w2rFfWzwsJARA= archived-at: Sat, 22 Oct 2016 17:41:20 -0000 --001a11444f52152838053f77aa34 Content-Type: multipart/alternative; boundary=001a11444f52152833053f77aa32 --001a11444f52152833053f77aa32 Content-Type: text/plain; charset=UTF-8 Hi, thanks for the hints, I added this locally, it seems to work when I run the ooxml-schemas target. I am not a Python expert, but the changes seemed easy enough, see attached diffs. I had to split it into two files as the metadata directory is an svn-external. Regards... Dominik. On Fri, Oct 21, 2016 at 5:31 PM, Stefan Bodewig wrote: > Hi Dominik > > On 2016-10-20, Dominik Stadler wrote: > > > Since some time one of the steps in the POI builds inside Gump is > failing, > > see below. We think it is related to the 1 hour timeout that is applied > by > > default. > > Yes, looks that way. > > > The step compiles a big number of files, but finishes in a few minutes > > usually. Our builds on the Apache Jenkins instance usually take up to 40 > > minutes for the complete build which includes a number of additional > steps, > > so we are not sure why it is taking so long here, maybe the machine is > > quite limited on memory/CPU? > > Yes, vmgump is a pretty limited. We are in the process of replacing it, > but it may take a while until we get there. > > > Is there a simple way to try to increase the timeout for this specific > > build? > > This is not implemented, although most of the infrastructure would be > there. > > In case anybody with some working Python knowledge can spare a bit of > time: https://svn.apache.org/repos/asf/gump/live/ holds the code. > > All builders create an instance of gump.util.process.Cmd and the timeout > value could be configured via a constructor arg. For POI it would be > enough to add an optional timeout property to > gump.core.model.builder.Ant (likely Builder would be the better place) > and use that from gump.core.build.Ant.getAntCommand - the builder > instance is project.ant. > > I'm not sure how quick I'd be able to make the changes myself, I'm > switching between a couple of tasks (including the new VM for gump) > right now. > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org > For additional commands, e-mail: dev-help@poi.apache.org > > --001a11444f52152833053f77aa32 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

thanks for the hints, I added this l= ocally, it seems to work when I run the ooxml-schemas target. I am not a Py= thon expert, but the changes seemed easy enough, see attached diffs.
I had to split it into two files as the metadata directory is an svn= -external.

Regards... Dominik.

On Fri, Oct 21, 2016 at 5:31 PM, Stefan= Bodewig <bodewig@apache.org> wrote:
Hi Dominik

On 2016-10-20, Dominik Stadler wrote:

> Since some time one of the steps in the POI builds inside Gump is fail= ing,
> see below. We think it is related to the 1 hour timeout that is applie= d by
> default.

Yes, looks that way.

> The step compiles a big number of files, but finishes in a few minutes=
> usually. Our builds on the Apache Jenkins instance usually take up to = 40
> minutes for the complete build which includes a number of additional s= teps,
> so we are not sure why it is taking so long here, maybe the machine is=
> quite limited on memory/CPU?

Yes, vmgump is a pretty limited. We are in the process of replacing it,
but it may take a while until we get there.

> Is there a simple way to try to increase the timeout for this specific=
> build?

This is not implemented, although most of the infrastructure would be
there.

In case anybody with some working Python knowledge can spare a bit of
time: https://svn.apache.org/repos/asf/gump/live/ holds the code.

All builders create an instance of gump.util.process.Cmd and the timeout value could be configured via a constructor arg. For POI it would be
enough to add an optional timeout property to
gump.core.model.builder.Ant (likely Builder would be the better place)
and use that from gump.core.build.Ant.getAntCommand - the builder
instance is project.ant.

I'm not sure how quick I'd be able to make the changes myself, I= 9;m
switching between a couple of tasks (including the new VM for gump)
right now.

Stefan

-----------------------------------------------------------------= ----
To unsubscribe, e-mail:
d= ev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


--001a11444f52152833053f77aa32-- --001a11444f52152838053f77aa34 Content-Type: text/x-diff; charset=US-ASCII; name="gump_poi.patch" Content-Disposition: attachment; filename="gump_poi.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iulhnkl50 SW5kZXg6IC9vcHQvYXBhY2hlL2d1bXAtbGl2ZS9tZXRhZGF0YS9kdGQvcHJvamVjdC5kdGQKPT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PQotLS0gL29wdC9hcGFjaGUvZ3VtcC1saXZlL21ldGFkYXRhL2R0ZC9wcm9qZWN0LmR0 ZAkoUmV2aXNpb24gMTc2NjIyMCkKKysrIC9vcHQvYXBhY2hlL2d1bXAtbGl2ZS9tZXRhZGF0YS9k dGQvcHJvamVjdC5kdGQJKEFyYmVpdHNrb3BpZSkKQEAgLTk2LDYgKzk2LDcgQEAKICAgYmFzZWRp ciAgIENEQVRBICNJTVBMSUVECiAgIHZlcmJvc2UgICBDREFUQSAjSU1QTElFRAogICBkZWJ1ZyAg ICAgQ0RBVEEgI0lNUExJRUQKKyAgdGltZW91dCAgIENEQVRBICNJTVBMSUVECiAgIHZtICAgICAg ICBDREFUQSAjSU1QTElFRCA+CiAKIDwhQVRUTElTVCBuYW50CkluZGV4OiAvb3B0L2FwYWNoZS9n dW1wLWxpdmUvbWV0YWRhdGEvcHJvamVjdC9wb2kueG1sCj09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIC9vcHQvYXBh Y2hlL2d1bXAtbGl2ZS9tZXRhZGF0YS9wcm9qZWN0L3BvaS54bWwJKFJldmlzaW9uIDE3NjYyMjAp CisrKyAvb3B0L2FwYWNoZS9ndW1wLWxpdmUvbWV0YWRhdGEvcHJvamVjdC9wb2kueG1sCShBcmJl aXRza29waWUpCkBAIC03NSw3ICs3NSw3IEBACiAgICA8L3Byb2plY3Q+CiAKICAgIDxwcm9qZWN0 IG5hbWU9Im9veG1sLXNjaGVtYXMiIGdyb3VwSWQ9Im9yZy5hcGFjaGUucG9pIj4KLSAgICAgIDxh bnQgdGFyZ2V0PSJjb21waWxlLW9veG1sLXhzZHMiPgorICAgICAgPGFudCB0YXJnZXQ9ImNvbXBp bGUtb294bWwteHNkcyIgdGltZW91dD0iMTA4MDAiPgogICAgICAgICA8c3lzcHJvcGVydHkgbmFt ZT0iYW50LmJ1aWxkLmNsb25ldm0iIHZhbHVlPSJ0cnVlIi8+CiAgICAgICA8L2FudD4KIAo= --001a11444f52152838053f77aa34 Content-Type: text/x-diff; charset=US-ASCII; name="gump_timeout.patch" Content-Disposition: attachment; filename="gump_timeout.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iulhnkma1 SW5kZXg6IC9vcHQvYXBhY2hlL2d1bXAtbGl2ZS9weXRob24vZ3VtcC9jb3JlL2J1aWxkL2FudC5w eQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09Ci0tLSAvb3B0L2FwYWNoZS9ndW1wLWxpdmUvcHl0aG9uL2d1bXAvY29yZS9i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pZiBzZWxmLnRpbWVvdXQ6CisgICAgICAgICAgICByZXR1cm4gVHJ1ZQorICAgICAgICByZXR1 cm4gRmFsc2UKKworICAgIGRlZiBnZXRUaW1lb3V0KHNlbGYpOgorCQlyZXR1cm4gc2VsZi50aW1l b3V0CisKICAgICBkZWYgZHVtcChzZWxmLCBpbmRlbnQgPSAwLCBvdXRwdXQgPSBzeXMuc3Rkb3V0 KToKICAgICAgICAgIiIiIERpc3BsYXkgdGhlIGNvbnRlbnRzIG9mIHRoaXMgb2JqZWN0ICIiIgog ICAgICAgICBCdWlsZGVyLmR1bXAoc2VsZiwgaW5kZW50LCBvdXRwdXQpCkBAIC0yNjEsNiArMjcz LDggQEAKICAgICAgICAgICAgIG91dHB1dC53cml0ZShpKydUYXJnZXQ6ICcgKyBzZWxmLmdldFRh cmdldCgpICsgJ1xuJykKICAgICAgICAgaWYgc2VsZi5oYXNCdWlsZEZpbGUoKToKICAgICAgICAg ICAgIG91dHB1dC53cml0ZShpKydCdWlsZEZpbGU6ICcgKyBzZWxmLmdldEJ1aWxkRmlsZSgpICsg J1xuJykKKyAgICAgICAgaWYgc2VsZi50aW1lb3V0KCk6CisgICAgICAgICAgICBvdXRwdXQud3Jp dGUoaSsnVGltZW91dDogJyArIHNlbGYuZ2V0VGltZW91dCgpICsgJ1xuJykKIAogY2xhc3MgQW50 KEJhc2VBbnQpOiAKICAgICAiIiIgQW4gQW50IGNvbW1hbmQgKHdpdGhpbiBhIHByb2plY3QpICIi Igo= --001a11444f52152838053f77aa34 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org --001a11444f52152838053f77aa34--