You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/05/29 19:09:00 UTC

[jira] [Assigned] (SUREFIRE-2244) Make IT for SUREFIRE-1295 reliable

     [ https://issues.apache.org/jira/browse/SUREFIRE-2244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov reassigned SUREFIRE-2244:
----------------------------------------

    Assignee: Michael Osipov

> Make IT for SUREFIRE-1295 reliable
> ----------------------------------
>
>                 Key: SUREFIRE-2244
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2244
>             Project: Maven Surefire
>          Issue Type: Task
>    Affects Versions: 3.2.5
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Major
>
> The IT in SUREFIRE-1295 uses [this|https://github.com/michaeltandy/crashjvm/blob/master/src/main/java/uk/me/mjt/FindLibrary.java] small native library to perform checking, but this lib is only availabe for Windows/amd64, Linux/amd64 and macOS/amd64. While there is an assume for the OS, it does not check the arch at all. {{macos-latest}} in GH Actions now uses arm64 only: https://github.com/actions/runner-images/issues/9741. Thus, the IT fails for an incomplete assumption. We should remove the assumption, run the test and check for:
> * java.lang.RuntimeException: Unrecognised OS
> * java.lang.RuntimeException: Unrecognised arch
> and the verify tha actual output/crash.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)