You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jiseong Bak (Jira)" <ji...@apache.org> on 2021/12/16 06:44:00 UTC

[jira] [Updated] (MNG-7365) Maven install failure with multi-threads(-T option)

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

Jiseong Bak updated MNG-7365:
-----------------------------
    Description: 
I found that build failure occurs with multi-threads, using `-T` option. I'm the researcher on automated software engineering and faced this problem while running a script that installs vast amount of open-source projects using Maven.

This happens on one project, [karaf|https://github.com/apache/karaf]. If I find other cases like this, I'll investigate and report them for discussion here. Currently, I'm not sure why this corner case happens. Two log files are attached.

 

Commands I used to build Karaf:
{code:bash}
git clone https://github.com/apache/karaf
cd karaf

mvn clean install -DskipTests -V          # success
mvn clean install -DskipTests -V -T 6     # failure
{code}


  was:
I found that build failure occurs with multi-threads, using `-T` option. I'm the researcher on automated software engineering and faced this problem while running a script that installs vast amount of open-source projects using Maven.

This happens on one project, [karaf|https://github.com/apache/karaf]. If I find other cases like this, I'll investigate and report them for discussion here. Currently, I'm not sure why this corner case happens. Two log files are attached.

 

Commands I used to build Karaf:
{code:bash}
git clone https://github.com/apache/karaf
cd karaf

mvn clean install -DskipTests -V             # success
mvn clean install -DskipTests -V -T 6     # failure
{code}



> Maven install failure with multi-threads(-T option) 
> ----------------------------------------------------
>
>                 Key: MNG-7365
>                 URL: https://issues.apache.org/jira/browse/MNG-7365
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 3.8.1
>         Environment: 1. Operating System & Hardware
> macOS Monterey 12.0.1
> with 6-Core Intel Core i5
> 2. JDK version
> openjdk version "1.8.0_292"
> OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_292-b10)
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.292-b10, mixed mode)
>            Reporter: Jiseong Bak
>            Priority: Major
>         Attachments: karaf_install_multi_thread.log, karaf_install_single_thread.log
>
>
> I found that build failure occurs with multi-threads, using `-T` option. I'm the researcher on automated software engineering and faced this problem while running a script that installs vast amount of open-source projects using Maven.
> This happens on one project, [karaf|https://github.com/apache/karaf]. If I find other cases like this, I'll investigate and report them for discussion here. Currently, I'm not sure why this corner case happens. Two log files are attached.
>  
> Commands I used to build Karaf:
> {code:bash}
> git clone https://github.com/apache/karaf
> cd karaf
> mvn clean install -DskipTests -V          # success
> mvn clean install -DskipTests -V -T 6     # failure
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)