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

Anjiang Wei edited comment on SUREFIRE-1884 at 1/29/21, 11:28 AM:
------------------------------------------------------------------

[~tibordigana] Thanks for your comments! What seems to be the bug is that 
running the whole test suite doesn't throw any exception, while running the 
specific test class does. So I believe there is a bug. I have confirmed this is 
reproducible on two different machines. Maybe minimization of the input should 
be done first in order to localize the bug.


was (Author: david1998):
[~tibordigana] Thanks for your comments! What seems to be the bug is that 
running the whole test suite doesn't throw any exception, while running the 
specific test class does. So I believe there is a bug. Maybe minimization of 
the input should be done first in order to localize the bug.

> Forked JVM Throws an Exception When Running TransformedMultiValuedMapTest 
> from apache/commons-collections
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1884
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1884
>             Project: Maven Surefire
>          Issue Type: Wish
>          Components: Maven Surefire Plugin, process forking
>    Affects Versions: 2.22.2
>         Environment: The following is the Java / Maven version info:
> openjdk version "1.8.0_252"
> OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~18.04-b09)
> OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
> --
> Apache Maven 3.6.0
> Maven home: /usr/share/maven
> Java version: 1.8.0_252, vendor: Private Build, runtime: 
> /usr/lib/jvm/java-8-openjdk-amd64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.15.0-20-generic", arch: "amd64", family: "unix
>            Reporter: Anjiang Wei
>            Priority: Major
>         Attachments: Full Stack Trace.txt
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Steps to reproduce:
> git clone [https://github.com/apache/commons-collections;]
> cd commons-collections
> git checkout dc01c2583a6d77242862f92b38908d1fc28e90de
> mvnops='-Dlicense.skip -Dcheckstyle.skip -Drat.skip -Denforcer.skip 
> -Danimal.sniffer.skip -Dmaven.javadoc.skip -Dfindbugs.skip -Dwarbucks.skip 
> -Dmodernizer.skip -Dimpsort.skip -Dmdep.analyze.skip -Dpgpverify.skip 
> -Dxml.skip -Ddependency-check.skip=true -Dgpg.skip -fn'
> mvn test-compile $mvnops
> mvn test $mvnops # Running whole test suite works fine
> mvn test -Dtest=TransformedMultiValuedMapTest $mvnops # forked JVM throws an 
> exception # [ERROR] 
> org.apache.maven.surefire.booter.SurefireBooterForkException: There was an 
> error in the forked process
>  
> The full stack trace has been uploaded in the attachment.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to