You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2022/07/04 10:49:48 UTC

Integration test execution time; Re: [VOTE] Release HttpCore 5.1.4 based on RC1

On Sun, 2022-07-03 at 17:37 -0400, Gary Gregory wrote:
> 

> 
> The httpcore5-testing module is very slow on my machine compared to
> the other modules. Anyone else? The whole build takes 27 minutes!
> It's
> never been this long.
> 
> Tested using:
> 
> openjdk version "1.8.0_322"
> OpenJDK Runtime Environment (build 1.8.0_322-bre_2022_02_28_15_01-
> b00)
> OpenJDK 64-Bit Server VM (build 25.322-b00, mixed mode)
> 

Hi Gary

I observed a similar problem, albeit a long time ago. This usually
happens if TLS context initialization and / or shutdown takes massively
longer than usual. Given the total number of TLS sessions it can all
add up to something like 15 minutes or more. 

I have no Mac at my disposal, however, and I cannot verify if this is
the case with your particular setup. Please try to find out where the
time is being spent in tests.

Oleg  



> Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
> Maven home: /usr/local/Cellar/maven/3.8.6/libexec
> Java version: 1.8.0_322, vendor: Homebrew, runtime:
> /usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Ho
> me/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "12.4", arch: "x86_64", family: "mac"
> 
> Darwin *** 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22
> PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64
> 
> 
> On Sat, Jul 2, 2022 at 4:46 AM Oleg Kalnichevski <ol...@apache.org>
> wrote:
> > 
> > Please vote on releasing these packages as HttpCore 5.1.4.
> > The vote is open for the at least 72 hours, and only votes from
> > HttpComponents PMC members are binding. The vote passes if at least
> > three binding +1 votes are cast and there are more +1 than -1
> > votes.
> > 
> > Release notes:
> > https://dist.apache.org/repos/dist/dev/httpcomponents/httpcore-5.1.4-RC1/RELEASE_NOTES-5.1.x.txt
> > 
> > Maven artefacts:
> > https://repository.apache.org/content/repositories/orgapachehttpcomponents-1149/org/apache/httpcomponents/core5/
> > 
> > Git Tag: 5.1.4-RC1
> >  https://github.com/apache/httpcomponents-core/tree/5.1.4-RC1
> > 
> > Packages:
> > https://dist.apache.org/repos/dist/dev/httpcomponents/httpcore-5.1.4-RC1
> >  revision 55418
> > 
> > Hashes:
> > 6c842ed09007b0e54c50acb02c0b76de0845590f42e50721e1b6825a2e6838384a8
> > 3a933
> > 44599ad5cc1bb0f97e6d2b992e1ea303cbed582fc0f6642c27ba4758
> > httpcomponents-core-5.1.4-bin.zip httpcomponents-core-5.1.4-bin.zip
> > 0cdc34fac5f48db0da136888d1b62950fb61e8d802d2d13b0f99b351b20552cc9d9
> > 042bc
> > 3549682a908d50eff8ce2eb6193dea1fadd22c408acd4792e7892f73
> > httpcomponents-core-5.1.4-bin.tar.gz httpcomponents-core-5.1.4-
> > bin.tar.gz
> > 7739a82f23d892552e146aa3f3e3646cb01e74055e5196ddbb711800dd7d135e0c7
> > 4c362
> > 56fb3a4992478291cc33b7fe0d0362345166410d26fa71f393203ab0
> > httpcomponents-core-5.1.4-src.zip httpcomponents-core-5.1.4-src.zip
> > 9a94bad22f8d6757a3d5effce73e81279c45176eaa265404476878d48204365db4c
> > 04638
> > f1f732e8e3e6a03d0ad1c3cf895649cb33eb249b3e89b2846fabda6e
> > httpcomponents-core-5.1.4-src.tar.gz httpcomponents-core-5.1.4-
> > src.tar.gz
> > 
> > Keys:
> >  https://www.apache.org/dist/httpcomponents/httpcore/KEYS
> > 
> > -------------------------------------------------------------------
> > ----
> > ---
> > Vote: HttpCore 5.1.4 release
> > [ ] +1 Release the packages as HttpCore 5.1.4.
> > [ ] -1 I am against releasing the packages (must include a reason).
> > 
> > 
> > -------------------------------------------------------------------
> > --
> > To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> > For additional commands, e-mail: dev-help@hc.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: Integration test execution time; Re: [VOTE] Release HttpCore 5.1.4 based on RC1

Posted by Gary Gregory <ga...@gmail.com>.
I'll take a peek but FTR, this is what I see: https://pastebin.com/raw/AkAJvaNV

Gary

On Mon, Jul 4, 2022 at 6:49 AM Oleg Kalnichevski <ol...@apache.org> wrote:
>
> On Sun, 2022-07-03 at 17:37 -0400, Gary Gregory wrote:
> >
>
> >
> > The httpcore5-testing module is very slow on my machine compared to
> > the other modules. Anyone else? The whole build takes 27 minutes!
> > It's
> > never been this long.
> >
> > Tested using:
> >
> > openjdk version "1.8.0_322"
> > OpenJDK Runtime Environment (build 1.8.0_322-bre_2022_02_28_15_01-
> > b00)
> > OpenJDK 64-Bit Server VM (build 25.322-b00, mixed mode)
> >
>
> Hi Gary
>
> I observed a similar problem, albeit a long time ago. This usually
> happens if TLS context initialization and / or shutdown takes massively
> longer than usual. Given the total number of TLS sessions it can all
> add up to something like 15 minutes or more.
>
> I have no Mac at my disposal, however, and I cannot verify if this is
> the case with your particular setup. Please try to find out where the
> time is being spent in tests.
>
> Oleg
>
>
>
> > Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
> > Maven home: /usr/local/Cellar/maven/3.8.6/libexec
> > Java version: 1.8.0_322, vendor: Homebrew, runtime:
> > /usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Ho
> > me/jre
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "mac os x", version: "12.4", arch: "x86_64", family: "mac"
> >
> > Darwin *** 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22
> > PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64
> >
> >
> > On Sat, Jul 2, 2022 at 4:46 AM Oleg Kalnichevski <ol...@apache.org>
> > wrote:
> > >
> > > Please vote on releasing these packages as HttpCore 5.1.4.
> > > The vote is open for the at least 72 hours, and only votes from
> > > HttpComponents PMC members are binding. The vote passes if at least
> > > three binding +1 votes are cast and there are more +1 than -1
> > > votes.
> > >
> > > Release notes:
> > > https://dist.apache.org/repos/dist/dev/httpcomponents/httpcore-5.1.4-RC1/RELEASE_NOTES-5.1.x.txt
> > >
> > > Maven artefacts:
> > > https://repository.apache.org/content/repositories/orgapachehttpcomponents-1149/org/apache/httpcomponents/core5/
> > >
> > > Git Tag: 5.1.4-RC1
> > >  https://github.com/apache/httpcomponents-core/tree/5.1.4-RC1
> > >
> > > Packages:
> > > https://dist.apache.org/repos/dist/dev/httpcomponents/httpcore-5.1.4-RC1
> > >  revision 55418
> > >
> > > Hashes:
> > > 6c842ed09007b0e54c50acb02c0b76de0845590f42e50721e1b6825a2e6838384a8
> > > 3a933
> > > 44599ad5cc1bb0f97e6d2b992e1ea303cbed582fc0f6642c27ba4758
> > > httpcomponents-core-5.1.4-bin.zip httpcomponents-core-5.1.4-bin.zip
> > > 0cdc34fac5f48db0da136888d1b62950fb61e8d802d2d13b0f99b351b20552cc9d9
> > > 042bc
> > > 3549682a908d50eff8ce2eb6193dea1fadd22c408acd4792e7892f73
> > > httpcomponents-core-5.1.4-bin.tar.gz httpcomponents-core-5.1.4-
> > > bin.tar.gz
> > > 7739a82f23d892552e146aa3f3e3646cb01e74055e5196ddbb711800dd7d135e0c7
> > > 4c362
> > > 56fb3a4992478291cc33b7fe0d0362345166410d26fa71f393203ab0
> > > httpcomponents-core-5.1.4-src.zip httpcomponents-core-5.1.4-src.zip
> > > 9a94bad22f8d6757a3d5effce73e81279c45176eaa265404476878d48204365db4c
> > > 04638
> > > f1f732e8e3e6a03d0ad1c3cf895649cb33eb249b3e89b2846fabda6e
> > > httpcomponents-core-5.1.4-src.tar.gz httpcomponents-core-5.1.4-
> > > src.tar.gz
> > >
> > > Keys:
> > >  https://www.apache.org/dist/httpcomponents/httpcore/KEYS
> > >
> > > -------------------------------------------------------------------
> > > ----
> > > ---
> > > Vote: HttpCore 5.1.4 release
> > > [ ] +1 Release the packages as HttpCore 5.1.4.
> > > [ ] -1 I am against releasing the packages (must include a reason).
> > >
> > >
> > > -------------------------------------------------------------------
> > > --
> > > To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> > > For additional commands, e-mail: dev-help@hc.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> > For additional commands, e-mail: dev-help@hc.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org