You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lécharny <el...@gmail.com> on 2023/04/17 12:13:20 UTC

API/Server builds with Java 20+

Hi!


we have to add a Java 20 build for the LDAP API, ApacheDS and most 
certainly for Fortress.
The current buildtools project cannot deploy a container with jdk-20, 
because the image does not exist. I think we can modify the current 
Dockerfile to use the Eclipse-Tamarin images.

I'll work on that in the coming two weeks (but any insight is greatly 
appreciated ;-)

Otherwise we have two frequent breakages:
- a race condition that cause the SSL layer to throw an unexpected 
exception. Nothing really serious, it's just that we don't handle it 
properly on the LDAP API client. I'm working on it atm.
- a permanent breakage on windows 11, due to some filesystem not being 
freed. I guess we should either fix it - I'm not a windows lover, so if 
anyone has any clue, that would be great, otherwise option 2 - get rid 
of windows 11 build

That being said, those builds take a hell of time:
- LDAP API takes more or less 15 minutes
- ApacheDS takes at least 2h

I wonder if it would be a possibility to get a simple Java 8 build atm 
(or at least a Java 17 targeting Java 8), with the option of running the 
whole pipleline only once a week or before a release ?`

Thanks !

-- 
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
emmanuel.lecharny@busit.com https://www.busit.com/

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


Re: API/Server builds with Java 20+

Posted by Emmanuel Lécharny <el...@gmail.com>.
Hi Colm,

not sure my modifications are working.
It seems we can run many steps, so I added the ones with the 3 other 
java versions, but I'm not sure it's taken into account...


On 18/04/2023 08:13, Colm O hEigeartaigh wrote:
> Yeah, you just have to change the java-version, although I don't know
> if Java 20 is supported yet. CXF uses Java 17 here:
> https://github.com/apache/cxf/blob/2419865a4d160ef5973d3fbb8adb3dd50472e6a3/.github/workflows/pull-request-build.yml#L22
> 
> Colm.
> 
> On Tue, Apr 18, 2023 at 7:07 AM Emmanuel Lécharny <el...@gmail.com> wrote:
>>
>> Indeed!
>>
>> Any way to have it built for Java 11/17 and 20 ?
>>
>> I guess it's only a matter of dealing with some yamlery...
>>
>> On 18/04/2023 07:56, Colm O hEigeartaigh wrote:
>>> Hi Emmanuel,
>>>
>>> As an alternative to Jenkins, I added a pull request builder as a
>>> github action here:
>>> https://github.com/apache/directory-ldap-api/blob/master/.github/workflows/pull-request-build.yaml
>>>
>>> The build times are pretty good:
>>> https://github.com/apache/directory-ldap-api/actions/workflows/pull-request-build.yaml
>>>
>>> Colm.
>>>
>>> On Mon, Apr 17, 2023 at 4:35 PM Emmanuel Lécharny <el...@gmail.com> wrote:
>>>>
>>>> Hi!
>>>>
>>>>
>>>> we have to add a Java 20 build for the LDAP API, ApacheDS and most
>>>> certainly for Fortress.
>>>> The current buildtools project cannot deploy a container with jdk-20,
>>>> because the image does not exist. I think we can modify the current
>>>> Dockerfile to use the Eclipse-Tamarin images.
>>>>
>>>> I'll work on that in the coming two weeks (but any insight is greatly
>>>> appreciated ;-)
>>>>
>>>> Otherwise we have two frequent breakages:
>>>> - a race condition that cause the SSL layer to throw an unexpected
>>>> exception. Nothing really serious, it's just that we don't handle it
>>>> properly on the LDAP API client. I'm working on it atm.
>>>> - a permanent breakage on windows 11, due to some filesystem not being
>>>> freed. I guess we should either fix it - I'm not a windows lover, so if
>>>> anyone has any clue, that would be great, otherwise option 2 - get rid
>>>> of windows 11 build
>>>>
>>>> That being said, those builds take a hell of time:
>>>> - LDAP API takes more or less 15 minutes
>>>> - ApacheDS takes at least 2h
>>>>
>>>> I wonder if it would be a possibility to get a simple Java 8 build atm
>>>> (or at least a Java 17 targeting Java 8), with the option of running the
>>>> whole pipleline only once a week or before a release ?`
>>>>
>>>> Thanks !
>>>>
>>>> --
>>>> *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
>>>> T. +33 (0)4 89 97 36 50
>>>> P. +33 (0)6 08 33 32 61
>>>> emmanuel.lecharny@busit.com https://www.busit.com/
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
>>>> For additional commands, e-mail: dev-help@directory.apache.org
>>>>
>>
>> --
>> *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
>> T. +33 (0)4 89 97 36 50
>> P. +33 (0)6 08 33 32 61
>> emmanuel.lecharny@busit.com https://www.busit.com/

-- 
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
emmanuel.lecharny@busit.com https://www.busit.com/

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


Re: API/Server builds with Java 20+

Posted by Colm O hEigeartaigh <co...@apache.org>.
Yeah, you just have to change the java-version, although I don't know
if Java 20 is supported yet. CXF uses Java 17 here:
https://github.com/apache/cxf/blob/2419865a4d160ef5973d3fbb8adb3dd50472e6a3/.github/workflows/pull-request-build.yml#L22

Colm.

On Tue, Apr 18, 2023 at 7:07 AM Emmanuel Lécharny <el...@gmail.com> wrote:
>
> Indeed!
>
> Any way to have it built for Java 11/17 and 20 ?
>
> I guess it's only a matter of dealing with some yamlery...
>
> On 18/04/2023 07:56, Colm O hEigeartaigh wrote:
> > Hi Emmanuel,
> >
> > As an alternative to Jenkins, I added a pull request builder as a
> > github action here:
> > https://github.com/apache/directory-ldap-api/blob/master/.github/workflows/pull-request-build.yaml
> >
> > The build times are pretty good:
> > https://github.com/apache/directory-ldap-api/actions/workflows/pull-request-build.yaml
> >
> > Colm.
> >
> > On Mon, Apr 17, 2023 at 4:35 PM Emmanuel Lécharny <el...@gmail.com> wrote:
> >>
> >> Hi!
> >>
> >>
> >> we have to add a Java 20 build for the LDAP API, ApacheDS and most
> >> certainly for Fortress.
> >> The current buildtools project cannot deploy a container with jdk-20,
> >> because the image does not exist. I think we can modify the current
> >> Dockerfile to use the Eclipse-Tamarin images.
> >>
> >> I'll work on that in the coming two weeks (but any insight is greatly
> >> appreciated ;-)
> >>
> >> Otherwise we have two frequent breakages:
> >> - a race condition that cause the SSL layer to throw an unexpected
> >> exception. Nothing really serious, it's just that we don't handle it
> >> properly on the LDAP API client. I'm working on it atm.
> >> - a permanent breakage on windows 11, due to some filesystem not being
> >> freed. I guess we should either fix it - I'm not a windows lover, so if
> >> anyone has any clue, that would be great, otherwise option 2 - get rid
> >> of windows 11 build
> >>
> >> That being said, those builds take a hell of time:
> >> - LDAP API takes more or less 15 minutes
> >> - ApacheDS takes at least 2h
> >>
> >> I wonder if it would be a possibility to get a simple Java 8 build atm
> >> (or at least a Java 17 targeting Java 8), with the option of running the
> >> whole pipleline only once a week or before a release ?`
> >>
> >> Thanks !
> >>
> >> --
> >> *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
> >> T. +33 (0)4 89 97 36 50
> >> P. +33 (0)6 08 33 32 61
> >> emmanuel.lecharny@busit.com https://www.busit.com/
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
> >> For additional commands, e-mail: dev-help@directory.apache.org
> >>
>
> --
> *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
> T. +33 (0)4 89 97 36 50
> P. +33 (0)6 08 33 32 61
> emmanuel.lecharny@busit.com https://www.busit.com/

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


Re: API/Server builds with Java 20+

Posted by Emmanuel Lécharny <el...@gmail.com>.
Indeed!

Any way to have it built for Java 11/17 and 20 ?

I guess it's only a matter of dealing with some yamlery...

On 18/04/2023 07:56, Colm O hEigeartaigh wrote:
> Hi Emmanuel,
> 
> As an alternative to Jenkins, I added a pull request builder as a
> github action here:
> https://github.com/apache/directory-ldap-api/blob/master/.github/workflows/pull-request-build.yaml
> 
> The build times are pretty good:
> https://github.com/apache/directory-ldap-api/actions/workflows/pull-request-build.yaml
> 
> Colm.
> 
> On Mon, Apr 17, 2023 at 4:35 PM Emmanuel Lécharny <el...@gmail.com> wrote:
>>
>> Hi!
>>
>>
>> we have to add a Java 20 build for the LDAP API, ApacheDS and most
>> certainly for Fortress.
>> The current buildtools project cannot deploy a container with jdk-20,
>> because the image does not exist. I think we can modify the current
>> Dockerfile to use the Eclipse-Tamarin images.
>>
>> I'll work on that in the coming two weeks (but any insight is greatly
>> appreciated ;-)
>>
>> Otherwise we have two frequent breakages:
>> - a race condition that cause the SSL layer to throw an unexpected
>> exception. Nothing really serious, it's just that we don't handle it
>> properly on the LDAP API client. I'm working on it atm.
>> - a permanent breakage on windows 11, due to some filesystem not being
>> freed. I guess we should either fix it - I'm not a windows lover, so if
>> anyone has any clue, that would be great, otherwise option 2 - get rid
>> of windows 11 build
>>
>> That being said, those builds take a hell of time:
>> - LDAP API takes more or less 15 minutes
>> - ApacheDS takes at least 2h
>>
>> I wonder if it would be a possibility to get a simple Java 8 build atm
>> (or at least a Java 17 targeting Java 8), with the option of running the
>> whole pipleline only once a week or before a release ?`
>>
>> Thanks !
>>
>> --
>> *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
>> T. +33 (0)4 89 97 36 50
>> P. +33 (0)6 08 33 32 61
>> emmanuel.lecharny@busit.com https://www.busit.com/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
>> For additional commands, e-mail: dev-help@directory.apache.org
>>

-- 
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
emmanuel.lecharny@busit.com https://www.busit.com/

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


Re: API/Server builds with Java 20+

Posted by Colm O hEigeartaigh <co...@apache.org>.
Hi Emmanuel,

As an alternative to Jenkins, I added a pull request builder as a
github action here:
https://github.com/apache/directory-ldap-api/blob/master/.github/workflows/pull-request-build.yaml

The build times are pretty good:
https://github.com/apache/directory-ldap-api/actions/workflows/pull-request-build.yaml

Colm.

On Mon, Apr 17, 2023 at 4:35 PM Emmanuel Lécharny <el...@gmail.com> wrote:
>
> Hi!
>
>
> we have to add a Java 20 build for the LDAP API, ApacheDS and most
> certainly for Fortress.
> The current buildtools project cannot deploy a container with jdk-20,
> because the image does not exist. I think we can modify the current
> Dockerfile to use the Eclipse-Tamarin images.
>
> I'll work on that in the coming two weeks (but any insight is greatly
> appreciated ;-)
>
> Otherwise we have two frequent breakages:
> - a race condition that cause the SSL layer to throw an unexpected
> exception. Nothing really serious, it's just that we don't handle it
> properly on the LDAP API client. I'm working on it atm.
> - a permanent breakage on windows 11, due to some filesystem not being
> freed. I guess we should either fix it - I'm not a windows lover, so if
> anyone has any clue, that would be great, otherwise option 2 - get rid
> of windows 11 build
>
> That being said, those builds take a hell of time:
> - LDAP API takes more or less 15 minutes
> - ApacheDS takes at least 2h
>
> I wonder if it would be a possibility to get a simple Java 8 build atm
> (or at least a Java 17 targeting Java 8), with the option of running the
> whole pipleline only once a week or before a release ?`
>
> Thanks !
>
> --
> *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
> T. +33 (0)4 89 97 36 50
> P. +33 (0)6 08 33 32 61
> emmanuel.lecharny@busit.com https://www.busit.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
> For additional commands, e-mail: dev-help@directory.apache.org
>

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