Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-286

Maven archive extraction is not synchronized between processes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.1
    • Component/s: EmbeddedMaven
    • Labels:
      None

      Description

      If a test suite is executed in several forks and multiple forks try to extract a Maven binary archive, then it leads to:

      should_not_install_extension_when_only_clean_goal_is_used(org.arquillian.smart.testing.ftest.configuration.SkipTestExecutionFunctionalTest)  Time elapsed: 3.412 sec  <<< ERROR!
      java.lang.IllegalStateException: Execution of a Maven build has failed
          at org.arquillian.smart.testing.ftest.configuration.SkipTestExecutionFunctionalTest.should_not_install_extension_when_only_clean_goal_is_used(SkipTestExecutionFunctionalTest.java:100)
      Caused by: org.apache.maven.shared.invoker.MavenInvocationException: Error configuring command-line. Reason: Maven executable not found at: /home/bartek/code/redhat/arquillian/smart-testing/smart-testing/functional-tests/test-bed/target/resolver-maven/516923b3955b6035ba6b0a5b031fbd8b/apache-maven-3.3.9/bin/mvn
          at org.arquillian.smart.testing.ftest.configuration.SkipTestExecutionFunctionalTest.should_not_install_extension_when_only_clean_goal_is_used(SkipTestExecutionFunctionalTest.java:100)
      Caused by: org.apache.maven.shared.invoker.CommandLineConfigurationException: Maven executable not found at: /home/bartek/code/redhat/arquillian/smart-testing/smart-testing/functional-tests/test-bed/target/resolver-maven/516923b3955b6035ba6b0a5b031fbd8b/apache-maven-3.3.9/bin/mvn
          at org.arquillian.smart.testing.ftest.configuration.SkipTestExecutionFunctionalTest.should_not_install_extension_when_only_clean_goal_is_used(SkipTestExecutionFunctionalTest.java:100)
      

      For more information see: https://github.com/arquillian/smart-testing/issues/293

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dipakpawar231 Dipak Pawar
                Reporter:
                mjobanek Matous Jobanek
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: