You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Konrad Windszus <kw...@apache.org> on 2024/08/11 09:00:24 UTC

GH Action Shared v4 fails for Java 8 on Mac OS

Hi,
By default our shared GH actions pipeline fails now for Java 8 on Mac OS:

Run actions/setup-java@v4 
with: 
java-version: 8 
 distribution: temurin 
 cache: maven 
 java-package: jdk 
 check-latest: false 
 server-id: github 
 server-username: GITHUB_ACTOR 
 server-password: GITHUB_TOKEN 
 overwrite-settings: true 
 job-status: success 
 token: *** 
Installed distributions 
Trying to resolve the latest version from remote 
Error: Could not find satisfied version for SemVer '8'. 
Available versions: 22.0.2+9, 22.0.1+8, 22.0.0+36, 21.0.4+7.0.LTS, 21.0.3+9.0.LTS, 21.0.2+13.0.LTS, 21.0.1+12.0.LTS, 21.0.0+35.0.LTS, 20.0.2+9, 20.0.1+9, 20.0.0+36, 19.0.2+7, 19.0.1+10, 19.0.0+36, 18.0.2+101, 18.0.2+9, 18.0.1+10, 18.0.0+36, 17.0.12+7, 17.0.11+9, 17.0.10+7, 17.0.9+9, 17.0.8+101, 17.0.8+7, 17.0.7+7, 17.0.6+10, 17.0.5+8, 17.0.4+101, 17.0.4+8, 17.0.3+7, 17.0.2+8, 17.0.1+12, 17.0.0+35, 11.0.24+8, 11.0.23+9, 11.0.22+7.1, 11.0.22+7, 11.0.21+9, 11.0.20+101, 11.0.20+8, 11.0.19+7, 11.0.18+10, 11.0.17+8, 11.0.16+101, 11.0.16+8, 11.0.15+10

(e.g. in https://github.com/apache/maven-scm/actions/runs/10338422023/job/28616570218).

This seems to be caused by the fact that the macOS-latest node in GitHub is now a Aarch64 machine (https://github.com/actions/runner-images?tab=readme-ov-file#available-images) for which there is no Temurin 8 distribution.

Potential solutions:

1) Use Azul for Mac OS with Java 8
2) Skip Java 8 build on Mac OS

WDYT?

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


Re: GH Action Shared v4 fails for Java 8 on Mac OS

Posted by Slawomir Jaranowski <s....@gmail.com>.
Hi,

We did it ... zulu is used
https://github.com/apache/maven-gh-actions-shared/pull/100

niedz., 11 sie 2024 o 11:00 Konrad Windszus <kw...@apache.org> napisał(a):

>
> Hi,
> By default our shared GH actions pipeline fails now for Java 8 on Mac OS:
>
> Run actions/setup-java@v4
> with:
> java-version: 8
>  distribution: temurin
>  cache: maven
>  java-package: jdk
>  check-latest: false
>  server-id: github
>  server-username: GITHUB_ACTOR
>  server-password: GITHUB_TOKEN
>  overwrite-settings: true
>  job-status: success
>  token: ***
> Installed distributions
> Trying to resolve the latest version from remote
> Error: Could not find satisfied version for SemVer '8'.
> Available versions: 22.0.2+9, 22.0.1+8, 22.0.0+36, 21.0.4+7.0.LTS,
> 21.0.3+9.0.LTS, 21.0.2+13.0.LTS, 21.0.1+12.0.LTS, 21.0.0+35.0.LTS,
> 20.0.2+9, 20.0.1+9, 20.0.0+36, 19.0.2+7, 19.0.1+10, 19.0.0+36, 18.0.2+101,
> 18.0.2+9, 18.0.1+10, 18.0.0+36, 17.0.12+7, 17.0.11+9, 17.0.10+7, 17.0.9+9,
> 17.0.8+101, 17.0.8+7, 17.0.7+7, 17.0.6+10, 17.0.5+8, 17.0.4+101, 17.0.4+8,
> 17.0.3+7, 17.0.2+8, 17.0.1+12, 17.0.0+35, 11.0.24+8, 11.0.23+9,
> 11.0.22+7.1, 11.0.22+7, 11.0.21+9, 11.0.20+101, 11.0.20+8, 11.0.19+7,
> 11.0.18+10, 11.0.17+8, 11.0.16+101, 11.0.16+8, 11.0.15+10
>
> (e.g. in
> https://github.com/apache/maven-scm/actions/runs/10338422023/job/28616570218
> ).
>
> This seems to be caused by the fact that the macOS-latest node in GitHub
> is now a Aarch64 machine (
> https://github.com/actions/runner-images?tab=readme-ov-file#available-images)
> for which there is no Temurin 8 distribution.
>
> Potential solutions:
>
> 1) Use Azul for Mac OS with Java 8
> 2) Skip Java 8 build on Mac OS
>
> WDYT?
>
> Thanks,
> Konrad
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

-- 
Sławomir Jaranowski

Re: GH Action Shared v4 fails for Java 8 on Mac OS

Posted by Konrad Windszus <kw...@apache.org>.
I have never seen a case yet where it works on Mac OS Aarch64 Java but fails on Mac OS x64 Java (or vice versa).
Once we have that we can think about adding more Mac OS versions.
For me what matters is that we cover Mac OS at all (no matter if with Aarch64 or X64).

Konrad

> On 11. Aug 2024, at 11:34, Maarten Mulders <mt...@apache.org> wrote:
> 
> That's interesting. It means we don't test on macOS 12 or 13 anymore, as ASF Jenkins doesn't do it either.
> 
> Personally, I don't think all MacBook owners have replaced their Intel-based machines with ARM-based machines. They may be a bit older but I don't think they're out of operation everywhere. Given our usual efforts for ensuring backward compatibility, I see a gap here.
> 
> We could consider adding macos-12 or macos-13 to our matrix, to ensure Maven still works on these machines. WDYT?
> 
> 
> Maarten
> 
> On 11/08/2024 11:09, Konrad Windszus wrote:
>> Sorry for the noise, turned out that PR still used the v3 version of the Shared GH action.
>> V4 is already configured to use Azul by default (https://github.com/apache/maven-gh-actions-shared/commit/994eebd0d7acb406c055aed405b32ca42415df91)
>> With v4 it is working fine.
>> Konrad
>>> On 11. Aug 2024, at 11:00, Konrad Windszus <kw...@apache.org> wrote:
>>> 
>>> 
>>> Hi,
>>> By default our shared GH actions pipeline fails now for Java 8 on Mac OS:
>>> 
>>> Run actions/setup-java@v4
>>> with:
>>> java-version: 8
>>> distribution: temurin
>>> cache: maven
>>> java-package: jdk
>>> check-latest: false
>>> server-id: github
>>> server-username: GITHUB_ACTOR
>>> server-password: GITHUB_TOKEN
>>> overwrite-settings: true
>>> job-status: success
>>> token: ***
>>> Installed distributions
>>> Trying to resolve the latest version from remote
>>> Error: Could not find satisfied version for SemVer '8'.
>>> Available versions: 22.0.2+9, 22.0.1+8, 22.0.0+36, 21.0.4+7.0.LTS, 21.0.3+9.0.LTS, 21.0.2+13.0.LTS, 21.0.1+12.0.LTS, 21.0.0+35.0.LTS, 20.0.2+9, 20.0.1+9, 20.0.0+36, 19.0.2+7, 19.0.1+10, 19.0.0+36, 18.0.2+101, 18.0.2+9, 18.0.1+10, 18.0.0+36, 17.0.12+7, 17.0.11+9, 17.0.10+7, 17.0.9+9, 17.0.8+101, 17.0.8+7, 17.0.7+7, 17.0.6+10, 17.0.5+8, 17.0.4+101, 17.0.4+8, 17.0.3+7, 17.0.2+8, 17.0.1+12, 17.0.0+35, 11.0.24+8, 11.0.23+9, 11.0.22+7.1, 11.0.22+7, 11.0.21+9, 11.0.20+101, 11.0.20+8, 11.0.19+7, 11.0.18+10, 11.0.17+8, 11.0.16+101, 11.0.16+8, 11.0.15+10
>>> 
>>> (e.g. in https://github.com/apache/maven-scm/actions/runs/10338422023/job/28616570218).
>>> 
>>> This seems to be caused by the fact that the macOS-latest node in GitHub is now a Aarch64 machine (https://github.com/actions/runner-images?tab=readme-ov-file#available-images) for which there is no Temurin 8 distribution.
>>> 
>>> Potential solutions:
>>> 
>>> 1) Use Azul for Mac OS with Java 8
>>> 2) Skip Java 8 build on Mac OS
>>> 
>>> WDYT?
>>> 
>>> Thanks,
>>> Konrad
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


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


Re: GH Action Shared v4 fails for Java 8 on Mac OS

Posted by Maarten Mulders <mt...@apache.org>.
That's interesting. It means we don't test on macOS 12 or 13 anymore, as 
ASF Jenkins doesn't do it either.

Personally, I don't think all MacBook owners have replaced their 
Intel-based machines with ARM-based machines. They may be a bit older 
but I don't think they're out of operation everywhere. Given our usual 
efforts for ensuring backward compatibility, I see a gap here.

We could consider adding macos-12 or macos-13 to our matrix, to ensure 
Maven still works on these machines. WDYT?


Maarten

On 11/08/2024 11:09, Konrad Windszus wrote:
> Sorry for the noise, turned out that PR still used the v3 version of the Shared GH action.
> V4 is already configured to use Azul by default (https://github.com/apache/maven-gh-actions-shared/commit/994eebd0d7acb406c055aed405b32ca42415df91)
> 
> With v4 it is working fine.
> Konrad
> 
> 
>> On 11. Aug 2024, at 11:00, Konrad Windszus <kw...@apache.org> wrote:
>>
>>
>> Hi,
>> By default our shared GH actions pipeline fails now for Java 8 on Mac OS:
>>
>> Run actions/setup-java@v4
>> with:
>> java-version: 8
>> distribution: temurin
>> cache: maven
>> java-package: jdk
>> check-latest: false
>> server-id: github
>> server-username: GITHUB_ACTOR
>> server-password: GITHUB_TOKEN
>> overwrite-settings: true
>> job-status: success
>> token: ***
>> Installed distributions
>> Trying to resolve the latest version from remote
>> Error: Could not find satisfied version for SemVer '8'.
>> Available versions: 22.0.2+9, 22.0.1+8, 22.0.0+36, 21.0.4+7.0.LTS, 21.0.3+9.0.LTS, 21.0.2+13.0.LTS, 21.0.1+12.0.LTS, 21.0.0+35.0.LTS, 20.0.2+9, 20.0.1+9, 20.0.0+36, 19.0.2+7, 19.0.1+10, 19.0.0+36, 18.0.2+101, 18.0.2+9, 18.0.1+10, 18.0.0+36, 17.0.12+7, 17.0.11+9, 17.0.10+7, 17.0.9+9, 17.0.8+101, 17.0.8+7, 17.0.7+7, 17.0.6+10, 17.0.5+8, 17.0.4+101, 17.0.4+8, 17.0.3+7, 17.0.2+8, 17.0.1+12, 17.0.0+35, 11.0.24+8, 11.0.23+9, 11.0.22+7.1, 11.0.22+7, 11.0.21+9, 11.0.20+101, 11.0.20+8, 11.0.19+7, 11.0.18+10, 11.0.17+8, 11.0.16+101, 11.0.16+8, 11.0.15+10
>>
>> (e.g. in https://github.com/apache/maven-scm/actions/runs/10338422023/job/28616570218).
>>
>> This seems to be caused by the fact that the macOS-latest node in GitHub is now a Aarch64 machine (https://github.com/actions/runner-images?tab=readme-ov-file#available-images) for which there is no Temurin 8 distribution.
>>
>> Potential solutions:
>>
>> 1) Use Azul for Mac OS with Java 8
>> 2) Skip Java 8 build on Mac OS
>>
>> WDYT?
>>
>> Thanks,
>> Konrad
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


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


Re: GH Action Shared v4 fails for Java 8 on Mac OS

Posted by Konrad Windszus <kw...@apache.org>.
Sorry for the noise, turned out that PR still used the v3 version of the Shared GH action.
V4 is already configured to use Azul by default (https://github.com/apache/maven-gh-actions-shared/commit/994eebd0d7acb406c055aed405b32ca42415df91)

With v4 it is working fine.
Konrad


> On 11. Aug 2024, at 11:00, Konrad Windszus <kw...@apache.org> wrote:
> 
> 
> Hi,
> By default our shared GH actions pipeline fails now for Java 8 on Mac OS:
> 
> Run actions/setup-java@v4 
> with: 
> java-version: 8 
> distribution: temurin 
> cache: maven 
> java-package: jdk 
> check-latest: false 
> server-id: github 
> server-username: GITHUB_ACTOR 
> server-password: GITHUB_TOKEN 
> overwrite-settings: true 
> job-status: success 
> token: *** 
> Installed distributions 
> Trying to resolve the latest version from remote 
> Error: Could not find satisfied version for SemVer '8'. 
> Available versions: 22.0.2+9, 22.0.1+8, 22.0.0+36, 21.0.4+7.0.LTS, 21.0.3+9.0.LTS, 21.0.2+13.0.LTS, 21.0.1+12.0.LTS, 21.0.0+35.0.LTS, 20.0.2+9, 20.0.1+9, 20.0.0+36, 19.0.2+7, 19.0.1+10, 19.0.0+36, 18.0.2+101, 18.0.2+9, 18.0.1+10, 18.0.0+36, 17.0.12+7, 17.0.11+9, 17.0.10+7, 17.0.9+9, 17.0.8+101, 17.0.8+7, 17.0.7+7, 17.0.6+10, 17.0.5+8, 17.0.4+101, 17.0.4+8, 17.0.3+7, 17.0.2+8, 17.0.1+12, 17.0.0+35, 11.0.24+8, 11.0.23+9, 11.0.22+7.1, 11.0.22+7, 11.0.21+9, 11.0.20+101, 11.0.20+8, 11.0.19+7, 11.0.18+10, 11.0.17+8, 11.0.16+101, 11.0.16+8, 11.0.15+10
> 
> (e.g. in https://github.com/apache/maven-scm/actions/runs/10338422023/job/28616570218).
> 
> This seems to be caused by the fact that the macOS-latest node in GitHub is now a Aarch64 machine (https://github.com/actions/runner-images?tab=readme-ov-file#available-images) for which there is no Temurin 8 distribution.
> 
> Potential solutions:
> 
> 1) Use Azul for Mac OS with Java 8
> 2) Skip Java 8 build on Mac OS
> 
> WDYT?
> 
> Thanks,
> Konrad
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


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


Re: GH Action Shared v4 fails for Java 8 on Mac OS

Posted by Tamás Cservenák <ta...@cservenak.net>.
Howdy,


We already use zulu for java8 on macos...

T

On Sun, Aug 11, 2024, 11:00 Konrad Windszus <kw...@apache.org> wrote:

>
> Hi,
> By default our shared GH actions pipeline fails now for Java 8 on Mac OS:
>
> Run actions/setup-java@v4
> with:
> java-version: 8
>  distribution: temurin
>  cache: maven
>  java-package: jdk
>  check-latest: false
>  server-id: github
>  server-username: GITHUB_ACTOR
>  server-password: GITHUB_TOKEN
>  overwrite-settings: true
>  job-status: success
>  token: ***
> Installed distributions
> Trying to resolve the latest version from remote
> Error: Could not find satisfied version for SemVer '8'.
> Available versions: 22.0.2+9, 22.0.1+8, 22.0.0+36, 21.0.4+7.0.LTS,
> 21.0.3+9.0.LTS, 21.0.2+13.0.LTS, 21.0.1+12.0.LTS, 21.0.0+35.0.LTS,
> 20.0.2+9, 20.0.1+9, 20.0.0+36, 19.0.2+7, 19.0.1+10, 19.0.0+36, 18.0.2+101,
> 18.0.2+9, 18.0.1+10, 18.0.0+36, 17.0.12+7, 17.0.11+9, 17.0.10+7, 17.0.9+9,
> 17.0.8+101, 17.0.8+7, 17.0.7+7, 17.0.6+10, 17.0.5+8, 17.0.4+101, 17.0.4+8,
> 17.0.3+7, 17.0.2+8, 17.0.1+12, 17.0.0+35, 11.0.24+8, 11.0.23+9,
> 11.0.22+7.1, 11.0.22+7, 11.0.21+9, 11.0.20+101, 11.0.20+8, 11.0.19+7,
> 11.0.18+10, 11.0.17+8, 11.0.16+101, 11.0.16+8, 11.0.15+10
>
> (e.g. in
> https://github.com/apache/maven-scm/actions/runs/10338422023/job/28616570218
> ).
>
> This seems to be caused by the fact that the macOS-latest node in GitHub
> is now a Aarch64 machine (
> https://github.com/actions/runner-images?tab=readme-ov-file#available-images)
> for which there is no Temurin 8 distribution.
>
> Potential solutions:
>
> 1) Use Azul for Mac OS with Java 8
> 2) Skip Java 8 build on Mac OS
>
> WDYT?
>
> Thanks,
> Konrad
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>