[ 
https://issues.apache.org/jira/browse/SUREFIRE-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17869099#comment-17869099
 ] 

Michael Osipov commented on SUREFIRE-2253:
------------------------------------------

[~ggregory], you will cry:
{noformat}
osipovmi@deblndw011x:~/var/Projekte/maven-surefire ((28b3e54dd...)|BISECTING)
$ git bisect bad
28b3e54ddd7edd5d783c3ba855bbc7b77831f2da is the first bad commit
commit 28b3e54ddd7edd5d783c3ba855bbc7b77831f2da (HEAD)
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   2024-03-11T19:33:20Z

    Bump org.apache.commons:commons-compress from 1.26.0 to 1.26.1

    Bumps org.apache.commons:commons-compress from 1.26.0 to 1.26.1.

    ---
    updated-dependencies:
    - dependency-name: org.apache.commons:commons-compress
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <supp...@github.com>

 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
{noformat}
which leads to
{noformat}
osipovmi@deblndw011x:/tmp/commons-compress ((577fc979c...)|BISECTING)
$ git bisect bad
577fc979c6f6baa4327ea51c2e0cff8addd54538 is the first bad commit
commit 577fc979c6f6baa4327ea51c2e0cff8addd54538 (HEAD)
Author: Gary Gregory <garydgreg...@gmail.com>
Date:   2024-02-23T13:02:37-05:00

    Simplify dependencies by not using an optional dependency

 pom.xml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
{noformat]

Can you help, is that rather a bug in Surefire?

> Version 3.3.1 hangs when 3.2.5 is fine
> --------------------------------------
>
>                 Key: SUREFIRE-2253
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2253
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 3.3.0, 3.3.1
>            Reporter: Gary D. Gregory
>            Priority: Major
>
> Version 3.3.1 hangs when 3.2.5 is fine
> To reproduce:
> {noformat}
> git clone https://gitbox.apache.org/repos/asf/commons-codec.git
> cd commons-codec
> git checkout 560e87e520bf7d352cdaa489f7628baa986188c3
> mvn clean test -Dtest=Md5CryptTest -Dcommons.surefire.version=3.3.1
> {noformat}
> The above hangs. As does:
> {noformat}
> mvn clean test -Dtest=Md5CryptTest -Dcommons.surefire.version=3.3.0
> {noformat}
> This works (which uses 3.2.5):
> {noformat}
> mvn clean test -Dtest=Md5CryptTest
> {noformat}
> Using:
> {noformat}
> openjdk version "17.0.12" 2024-07-16
> OpenJDK Runtime Environment Homebrew (build 17.0.12+0)
> OpenJDK 64-Bit Server VM Homebrew (build 17.0.12+0, mixed mode, sharing)
> Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
> Maven home: /usr/local/Cellar/maven/3.9.8/libexec
> Java version: 17.0.12, vendor: Homebrew, runtime: 
> /usr/local/Cellar/openjdk@17/17.0.12/libexec/openjdk.jdk/Contents/Home
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "14.5", arch: "x86_64", family: "mac"
> Darwin **** 23.5.0 Darwin Kernel Version 23.5.0: Wed May  1 20:09:52 PDT 
> 2024; root:xnu-10063.121.3~5/RELEASE_X86_64 x86_64
> {noformat}
> It also hangs on:
> {noformat}
> openjdk version "1.8.0_412"
> OpenJDK Runtime Environment (build 1.8.0_412-bre_2024_04_17_05_46-b00)
> OpenJDK 64-Bit Server VM (build 25.412-b00, mixed mode)
> {noformat}



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

Reply via email to