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

Maven archive extraction is not synchronized between processes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.1.1
    • 3.1.0
    • EmbeddedMaven
    • None

      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

              dipakpawar231 Dipak Pawar (Inactive)
              mjobanek Matous Jobanek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: