Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4337

Race condition in as-integration-client on adding +x to standalone.sh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Alpha5
    • None
    • None
    • None

      "chmod +x" and "./standalone.sh" are both spawned because of this "./standalone.sh" can execute before the chmod and fail with:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (infinispan-server-startup) on project infinispan-as-module-client-integrationtests: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "/home/comp_/cc/infinispan/infinispan/integrationtests/as-integration-client/target/server/bin/standalone.sh" (in directory "/home/comp_/cc/infinispan/infinispan/integrationtests/as-integration-client"): error=13, Permission denied
      [ERROR] around Ant part ...<exec spawn="true" executable="/home/comp_/cc/infinispan/infinispan/integrationtests/as-integration-client/target/server/bin/standalone.sh" osfamily="unix">... @ 10:159 in /home/comp_/cc/infinispan/infinispan/integrationtests/as-integration-client/target/antrun/build-main.xml

            isavin_jira Ion Savin (Inactive)
            isavin_jira Ion Savin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: