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 43AA1200CA3 for ; Thu, 1 Jun 2017 10:28:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 423F4160BC4; Thu, 1 Jun 2017 08:28:15 +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 0DF8A160BB5 for ; Thu, 1 Jun 2017 10:28:13 +0200 (CEST) Received: (qmail 41222 invoked by uid 500); 1 Jun 2017 08:28:02 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 40752 invoked by uid 99); 1 Jun 2017 08:28:02 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2017 08:28:02 +0000 Received: from mail-it0-f45.google.com (mail-it0-f45.google.com [209.85.214.45]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 277141A0280 for ; Thu, 1 Jun 2017 08:28:01 +0000 (UTC) Received: by mail-it0-f45.google.com with SMTP id m47so30178735iti.1 for ; Thu, 01 Jun 2017 01:28:01 -0700 (PDT) X-Gm-Message-State: AODbwcBTEjn7WjG8LHnHg0UyS8UBev2F0DYVucjZYkYe4eO8xRAgrJRI tl/ZD+EsXKAQaViAVuGah5ivjH7msA== X-Received: by 10.36.122.211 with SMTP id a202mr11712187itc.90.1496305681270; Thu, 01 Jun 2017 01:28:01 -0700 (PDT) MIME-Version: 1.0 Reply-To: elecharny@apache.org Received: by 10.79.144.68 with HTTP; Thu, 1 Jun 2017 01:28:00 -0700 (PDT) In-Reply-To: References: From: Emmanuel Lecharny Date: Thu, 1 Jun 2017 10:28:00 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: failure while running mvn release:perform To: Apache Directory Developers List Content-Type: multipart/alternative; boundary="001a11451d889b94250550e1d0ad" archived-at: Thu, 01 Jun 2017 08:28:15 -0000 --001a11451d889b94250550e1d0ad Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Actually, if someone with a decent internet connection could try to checkout the current API trunk, and run mvn release:prepare (for 1.0.0) followed by mvn release:perform, just to check if it's not that I just have a slow connection, that would be cool ! Thanks ! On Thu, Jun 1, 2017 at 10:22 AM, Emmanuel Lecharny wrote: > I'm still stuck :/ > > - when using project-39, with maven-surefire-plugin 2.19.1, it fails. > - when using project-40, whith maven-surefire-plugin 2.18.1, failure agai= n > - the previous release (1.0.0-RC2) was using preoject-36, which was using > maven-surefire-plugin 2.19.1, and it worked... > > Now, here is what can be done : > - revert the version changes for the felix and pax dependencies, to have > them back to their version used in 1.0.0-RC2 > - or simply comment the integ-osgi module temporarily (or in package mode= ). > > The thing is that when I run the tests, or mvn:perform in dry test, or > mvn:prepare, everything goes well. The failure is really when I do the > perform, so there must be something else going on that impact various par= ts > of maven... > > Waiting for suggestions ... > > > On Wed, May 31, 2017 at 7:33 PM, Emmanuel Lecharny > wrote: > >> Sorry, I made a mistake : the maven-checkstyle-plugin version to use is >> 2.17, not 3.0.1. >> >> On Wed, May 31, 2017 at 7:30 PM, Emmanuel Lecharny >> wrote: >> >>> Ok, I've checked with Studio, and it was not as easy as expected. I had >>> to downgrade some of the versions : >>> - slf4j 1.8.0-alpha2 does not please Eclipse version scheme, so I used >>> 1.7.25 instead >>> - bcprov (used by apacheDS) *must* use version 1.56, as 1.57 is for Jav= a >>> 9, which is not accepted by eclipse. >>> >>> Here are the plugins I have upgraded in 'project' 39-SNAPSHOT : >>> >>> o maven-assembly-plugin : 2.6 -> 3.0.0 >>> o maven-checkstyle-plugin : 2.17-> 3.0.1 >>> o checkstyle : 7.2 -> 7.8 >>> o maven-compiler-plugin : 3.6.0 -> 3.6.1 >>> o maven-dependency-plugin : 2.10 -> 3.0.1 >>> o maven-pmd-plugin : 3.7 -> 3.8 >>> o maven-resources-plugin : 3.0.1 -> 3.0.2 >>> o maven-shade-plugin : 2.4.3 -> 3.0.0 >>> o maven-site-plugin : 3.5.1 -> 3.6 >>> o maven-surefire-plugin : 2.18.1 -> 2.19.1 >>> o maven-war-plugin : 3.0.0 -> 3.1.0 >>> o maven-bundle-plugin : 3.2.0 -> 3.3.0 >>> o modello-maven-plugin : 1.8.3 -> 1.9.1 >>> o build-helper-maven-plugin : 1.12 -> 3.0.0 >>> >>> Changes in LDAP API : >>> >>> o logback : 1.1.8 -> 1.2.3 >>> o org.apache.felix : 5.6.1 -> 5.6.4 >>> o pax-exam : 4.9.2 -> 4.11.0 >>> o slf4j.api : 1.7.22 -> 1.7.25 >>> o slf4j.log4j12 : 1.7.22 -> 1.7.25 >>> >>> Changes in ApacheDS : >>> >>> o ant : 1.10.0 -> 1.10.1 >>> o commons.cli : 1.3.1 -> 1.4 >>> o commons.net : 3/5 -> 3.6 >>> o ehcache : 2.10.3 -> 2.10.4 >>> o jetty : 9.2.16.v20160414 -> 9.4.5.v20170502 >>> o logback : 1.1.8 -> 1.2.3 >>> o org.apache.felix : 5.6.1 -> 5.6.4 >>> o pax-exam : 4.9.2 -> 4.11.0 >>> o slf4j.api : 1.7.22 -> 1.7.25 >>> o slf4j.log4j12 : 1.7.22 -> 1.7.25 >>> >>> and finally changes in Studio : >>> >>> o net.sf.ehcache : 2.10.3 -> 2.10.4 >>> o org.slf4j : 1.7.22 -> 1.7.25 >>> >>> >>> I will release project-39 now. >>> >>> >>> On Wed, May 31, 2017 at 9:23 AM, Emmanuel L=C3=A9charny >>> wrote: >>> >>>> Hi, >>>> >>>> >>>> I will try to run the release with a mre recent version of the surefir= e >>>> plugi (see the comment from Tibor on >>>> https://issues.apache.org/jira/browse/SUREFIRE-1302). >>>> >>>> >>>> At the same time, I have bumped up a few plugins in the 'project' >>>> project, so I may have to release it first. Probably this afternoon, o= r >>>> evening. Tests are passing with the changes I have made on the API and >>>> ApacheDS, I'll check with Studio and Fortress later on. >>>> >>>> >>>> >>>> >>>> Le 30/05/2017 =C3=A0 11:31, Colm O hEigeartaigh a =C3=A9crit : >>>> > Hi Emmanuel, >>>> > >>>> > We ran into that same error in the OSGi tests in CXF. We had to >>>> downgrade >>>> > to Surefire 2.18.1 to get it to work afaik. >>>> > >>>> > Colm. >>>> > >>>> > On Tue, May 30, 2017 at 10:25 AM, Emmanuel L=C3=A9charny < >>>> elecharny@gmail.com> >>>> > wrote: >>>> > >>>> >> Hi guys, >>>> >> >>>> >> >>>> >> I'm facing some issue with the mvn release:perform : >>>> >> >>>> >> >>>> >> [INFO] ------------------------------------------------------- >>>> >> [INFO] T E S T S >>>> >> [INFO] ------------------------------------------------------- >>>> >> [INFO] Running org.apache.directory.api.osgi.ApiAsn1ApiOsgiTest >>>> >> [INFO] >>>> >> ... >>>> >> >>>> >> [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time >>>> elapsed: >>>> >> 1.119 sec - in org.apache.directory.api.osgi.ApiLdapNetMinaOsgiTest >>>> >> [INFO] Running org.apache.directory.api.osgi. >>>> >> ApiLdapSchemaConverterOsgiTest >>>> >> [INFO] >>>> >> [INFO] [SUREFIRE] std/in stream corrupted >>>> >> [INFO] java.io.IOException: Command NOOP unexpectedly read Void dat= a >>>> >> with length 4. >>>> >> [INFO] at >>>> >> org.apache.maven.surefire.booter.MasterProcessCommand. >>>> >> decode(MasterProcessCommand.java:139) >>>> >> [INFO] at >>>> >> org.apache.maven.surefire.booter.CommandReader$CommandRunnable.run( >>>> >> CommandReader.java:360) >>>> >> [INFO] at java.lang.Thread.run(Thread.java:745) >>>> >> [INFO] >>>> >> [INFO] Results : >>>> >> [INFO] >>>> >> [INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0 >>>> >> ... >>>> >> >>>> >> [INFO] [INFO] Apache Directory API OSGi Integration Tests ........ >>>> >> FAILURE [ 21.710 s] >>>> >> [INFO] [INFO] Apache Directory LDAP API Distribution ............. >>>> SKIPPED >>>> >> [INFO] [INFO] >>>> >> ------------------------------------------------------------ >>>> ------------ >>>> >> [INFO] [INFO] BUILD FAILURE >>>> >> [INFO] [INFO] >>>> >> ------------------------------------------------------------ >>>> ------------ >>>> >> [INFO] [INFO] Total time: 15:35 min >>>> >> [INFO] [INFO] Finished at: 2017-05-30T11:10:32+02:00 >>>> >> [INFO] [INFO] Final Memory: 78M/304M >>>> >> [INFO] [INFO] >>>> >> ------------------------------------------------------------ >>>> ------------ >>>> >> [INFO] [ERROR] Failed to execute goal >>>> >> org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test >>>> >> (default-test) on project api-integ-osgi: Execution default-test of >>>> goal >>>> >> org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: >>>> The >>>> >> forked VM terminated without properly saying goodbye. VM crash or >>>> >> System.exit called? >>>> >> harny/apacheds/trunks/shared/target/checkout/integ-osgi/ >>>> >> target/surefire/surefire_158862987326254246739tmp >>>> >> ... >>>> >> >>>> >> and of course, I just can't re-run from the last module :/ >>>> >> >>>> >> >>>> >> It might be related to https://issues.apache.org/jira >>>> /browse/SUREFIRE-1302 >>>> >> >>>> >> Anyone has an idea ? >>>> >> >>>> >> >>>> >> -- >>>> >> Emmanuel Lecharny >>>> >> >>>> >> Symas.com >>>> >> directory.apache.org >>>> >> >>>> >> >>>> > >>>> >>>> -- >>>> Emmanuel Lecharny >>>> >>>> Symas.com >>>> directory.apache.org >>>> >>>> >>> >>> >>> -- >>> Regards, >>> Cordialement, >>> Emmanuel L=C3=A9charny >>> www.iktek.com >>> >> >> >> >> -- >> Regards, >> Cordialement, >> Emmanuel L=C3=A9charny >> www.iktek.com >> > > > > -- > Regards, > Cordialement, > Emmanuel L=C3=A9charny > www.iktek.com > --=20 Regards, Cordialement, Emmanuel L=C3=A9charny www.iktek.com --001a11451d889b94250550e1d0ad Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Actually, if someone with a decent internet connectio= n could try to checkout the current API trunk, and run mvn release:prepare = (for 1.0.0) followed by mvn release:perform, just to check if it's not = that I just have a slow connection, that would be cool !

Thank= s !

On Wed, May 31, 2017 at 7:33 PM, Emmanuel Lecharny <elec= harny@apache.org> wrote:
Sorry, I made a mistake : the maven-checkstyle-plugin versio= n to use is 2.17, not 3.0.1.
<= br>
On Wed, May 31, 2017 at 7:30 PM, Emmanuel Lec= harny <elecharny@apache.org> wrote:
Ok, I've checked with Studio, and it was not as easy as expected.= I had to downgrade some of the versions :
- slf4j 1.8.0-alpha2 do= es not please Eclipse version scheme, so I used 1.7.25 instead
- b= cprov (used by apacheDS) *must* use version 1.56, as 1.57 is for Java 9, wh= ich is not accepted by eclipse.

Here are the plugins I have up= graded in 'project' 39-SNAPSHOT :

o maven-assembly-plugin : = 2.6 -> 3.0.0
o maven-checkstyle-plugin : 2.17-> 3.0.1
o checkst= yle : 7.2 -> 7.8
o maven-compiler-plugin : 3.6.0 -> 3.6.1
o mav= en-dependency-plugin : 2.10 -> 3.0.1
o maven-pmd-plugin : 3.7 -> 3= .8
o maven-resources-plugin : 3.0.1 -> 3.0.2
o maven-s= hade-plugin : 2.4.3 -> 3.0.0
o maven-site-plugin : 3.5.1 -> = 3.6
o maven-surefire-plugin : 2.18.1 -> 2.19.1
o maven= -war-plugin : 3.0.0 -> 3.1.0
o maven-bundle-plugin : 3.2.0 ->= ; 3.3.0
o modello-maven-plugin : 1.8.3 -> 1.9.1
o buil= d-helper-maven-plugin : 1.12 -> 3.0.0

Changes in LDAP= API :

o logback : 1.1.8 -> 1.2.3
o org.apache.fel= ix : 5.6.1 -> 5.6.4
o pax-exam : 4.9.2 -> 4.11.0
o = slf4j.api : 1.7.22 -> 1.7.25
o slf4j.log4j12 : 1.7.22 -> 1.7= .25

Changes in ApacheDS :

o ant : 1.10.0 -> 1.= 10.1
o commons.cli : 1.3.1 -> 1.4
o commons.net : 3/5 -> 3.6
o e= hcache : 2.10.3 -> 2.10.4
o jetty : 9.2.16.v20160414 -> 9.4.= 5.v20170502
o logback : 1.1.8 -> 1.2.3
=
=
o org.apache.felix : 5.6.1 -> 5.6.4
o pax-exam : 4.9.2 ->= ; 4.11.0
o slf4j.api : 1.7.22 -> 1.7.25
o slf4j.log4j12 : 1.7.22 -= > 1.7.25

and finally changes in Studio :

=
o net.sf.ehcache : 2.10.3 -> 2.10.4
o org.slf4j : 1.7= .22 -> 1.7.25


I will release project-39 now.
<= /div>

On Wed, May 31, 2017 at 9:23 AM, Em= manuel L=C3=A9charny <elecharny@gmail.com> wrote:
Hi,


I will try to run the release with a mre recent version of the surefire
plugi (see the comment from Tibor on
https://issues.apache.org/jira/browse/SUREFI= RE-1302).


At the same time, I have bumped up a few plugins in the 'project' project, so I may have to release it first. Probably this afternoon, or
evening. Tests are passing with the changes I have made on the API and
ApacheDS, I'll check with Studio and Fortress later on.




Le 30/05/2017 =C3=A0 11:31, Colm O hEigeartaigh a =C3=A9crit :
> Hi Emmanuel,
>
> We ran into that same error in the OSGi tests in CXF. We had to downgr= ade
> to Surefire 2.18.1 to get it to work afaik.
>
> Colm.
>
> On Tue, May 30, 2017 at 10:25 AM, Emmanuel L=C3=A9charny <elecharny@gmail.com&g= t;
> wrote:
>
>> Hi guys,
>>
>>
>> I'm facing some issue with the mvn release:perform :
>>
>>
>> [INFO] ------------------------------------------------------= -
>> [INFO]=C2=A0 T E S T S
>> [INFO] ------------------------------------------------------= -
>> [INFO] Running org.apache.directory.api.osgi.ApiAsn1ApiOsgiTe= st
>> [INFO]
>> ...
>>
>> [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elap= sed:
>> 1.119 sec - in org.apache.directory.api.osgi.ApiLdapNetMinaOs= giTest
>> [INFO] Running org.apache.directory.api.osgi.
>> ApiLdapSchemaConverterOsgiTest
>> [INFO]
>> [INFO] [SUREFIRE] std/in stream corrupted
>> [INFO] java.io.IOException: Command NOOP unexpectedly read Void da= ta
>> with length 4.
>> [INFO]=C2=A0 =C2=A0 =C2=A0at
>> org.apache.maven.surefire.booter.MasterProcessCommand.
>> decode(MasterProcessCommand.java:139)
>> [INFO]=C2=A0 =C2=A0 =C2=A0at
>> org.apache.maven.surefire.booter.CommandReader$CommandRunnab<= wbr>le.run(
>> CommandReader.java:360)
>> [INFO]=C2=A0 =C2=A0 =C2=A0at java.lang.Thread.run(Thread.java= :745)
>> [INFO]
>> [INFO] Results :
>> [INFO]
>> [INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0
>> ...
>>
>> [INFO] [INFO] Apache Directory API OSGi Integration Tests ........=
>> FAILURE [ 21.710 s]
>> [INFO] [INFO] Apache Directory LDAP API Distribution .............= SKIPPED
>> [INFO] [INFO]
>> ------------------------------------------------------------<= wbr>------------
>> [INFO] [INFO] BUILD FAILURE
>> [INFO] [INFO]
>> ------------------------------------------------------------<= wbr>------------
>> [INFO] [INFO] Total time: 15:35 min
>> [INFO] [INFO] Finished at: 2017-05-30T11:10:32+02:00
>> [INFO] [INFO] Final Memory: 78M/304M
>> [INFO] [INFO]
>> ------------------------------------------------------------<= wbr>------------
>> [INFO] [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test >> (default-test) on project api-integ-osgi: Execution default-test o= f goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test fa= iled: The
>> forked VM terminated without properly saying goodbye. VM crash or<= br> >> System.exit called?
>> harny/apacheds/trunks/shared/target/checkout/integ-osgi/
>> target/surefire/surefire_158862987326254246739tmp
>> ...
>>
>> and of course, I just can't re-run from the last module :/
>>
>>
>> It might be related to https://issues.ap= ache.org/jira/browse/SUREFIRE-1302
>>
>> Anyone has an idea ?
>>
>>
>> --
>> Emmanuel Lecharny
>>
>> Symas.com
>> directory.apache.org
>>
>>
>

--
Emmanuel Lecharny

Symas.com
directory.apache.org




--=
Regards,
C= ordialement,
Emmanuel L=C3=A9charny
www.iktek.com



--
Regards,
Cordialement,
Emmanuel L=C3=A9charny
www.iktek.com



--
Regards,
Cordialement,
Emmanuel L=C3=A9charny
www.iktek.com



--
Regards,
Cordial= ement,
Emmanuel L=C3=A9charny
www.iktek.com
--001a11451d889b94250550e1d0ad--