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 CA84A200CA8 for ; Wed, 31 May 2017 19:33:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C88F3160BC2; Wed, 31 May 2017 17:33:37 +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 ECBF7160BCB for ; Wed, 31 May 2017 19:33:36 +0200 (CEST) Received: (qmail 11302 invoked by uid 500); 31 May 2017 17:33:36 -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 10997 invoked by uid 99); 31 May 2017 17:33:36 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2017 17:33:36 +0000 Received: from mail-io0-f171.google.com (mail-io0-f171.google.com [209.85.223.171]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 9CB8E1A031B for ; Wed, 31 May 2017 17:33:34 +0000 (UTC) Received: by mail-io0-f171.google.com with SMTP id f102so20211318ioi.2 for ; Wed, 31 May 2017 10:33:34 -0700 (PDT) X-Gm-Message-State: AODbwcC+PIRNZ61W00jXqx3+cLx7rNyDmz1g/U6GawW0j7KPv3/OGekA H7GczQ/DpnYOUASDKNkl63YyjjfUqg== X-Received: by 10.107.142.88 with SMTP id q85mr24096834iod.225.1496252013974; Wed, 31 May 2017 10:33:33 -0700 (PDT) MIME-Version: 1.0 Reply-To: elecharny@apache.org Received: by 10.79.144.68 with HTTP; Wed, 31 May 2017 10:33:33 -0700 (PDT) In-Reply-To: References: From: Emmanuel Lecharny Date: Wed, 31 May 2017 19:33:33 +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="94eb2c05a2b6c9d9250550d55135" archived-at: Wed, 31 May 2017 17:33:38 -0000 --94eb2c05a2b6c9d9250550d55135 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 t= o > 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 Java > 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 surefire >> 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, 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 >> 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 data >> >> 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: Th= e >> >> 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 > --=20 Regards, Cordialement, Emmanuel L=C3=A9charny www.iktek.com --94eb2c05a2b6c9d9250550d55135 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry, I made a mistake : the maven-checkstyle-plugin vers= ion to use is 2.17, not 3.0.1.

On Wed, May 31, 2017 at 7:30 PM, Emmanuel Lecharny <= span dir=3D"ltr"><elecharny@apache.org> wrote:
Ok= , I've checked with Studio, and it was not as easy as expected. I had t= o downgrade some of the versions :
- slf4j 1.8.0-alpha2 does not p= lease Eclipse version scheme, so I used 1.7.25 instead
- bcprov (u= sed by apacheDS) *must* use version 1.56, as 1.57 is for Java 9, which is n= ot accepted by eclipse.

Here are the plugins I have upgraded i= n '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-depen= dency-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-plu= gin : 2.4.3 -> 3.0.0
o maven-site-plugin : 3.5.1 -> 3.6
<= /div>o maven-surefire-plugin : 2.18.1 -> 2.19.1
o maven-war-plu= gin : 3.0.0 -> 3.1.0
o maven-bundle-plugin : 3.2.0 -> 3.3.0<= br>
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.ap= i : 1.7.22 -> 1.7.25
o slf4j.log4j12 : 1.7.22 -> 1.7.25
<= /div>
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.v20170= 502
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 n= et.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 <elecharny@gmail.com&g= t; 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,
Cordialement,<= br>Emmanuel L=C3=A9charny
www.iktek.com



--
Regards,
Cordialement,
Emm= anuel L=C3=A9charny
w= ww.iktek.com
--94eb2c05a2b6c9d9250550d55135--