Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1138

aurorabuild.sh should exit on error in any command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • Build
    • Vagrant from examples/vagrant

    Description

      Due to proxy issues the mesos native egg could not be downloaded, but the scripts continued to completion. This resulted in termos_observer.pex being a plain .zip file which failed to execute.

      Not many hits on google regarding that issue, but I managed to find a link to an issue where the native egg had been moved from mesosphere to svn.apache.org which led me to rerun the 'aurorabuild.sh executor' and watching the output more closely. Lo and behold there was an error in the compilation.

      Having a 'set -e' at the top of the provision and aurorabuild scripts would have indicated the problem right away. It could also flush out other issues that may be present.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thorhs Thorhallur Sverrisson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: