Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-11777

nightly release d_2017_09_01 failing smoke tests

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Continuous Integration
    • Labels:
      None
    • Templates:
    • Story Points:
      0.125
    • Epic Link:
    • Team:
      SQuaRE

      Description

      An unexpected side effect of DM-11514 is that pytest bakes in the shebang line at package build time:

      #!/build/python/miniconda3-4.2.12/bin/python
      

      This results in the pytest tarball package not being relocatable:

      sh: /smoke/stack/miniconda3-4.2.12-7c8e67/Linux64/pytest/3.2.0/bin/pytest: /build/python/miniconda3-4.2.12/bin/python: bad interpreter: No such file or directory
      Global pytest run: failed
      mv: cannot stat 'tests/.tests/pytest-base.xml.out': No such file or directory
      scons: *** [tests/.tests/pytest-base.xml] Error 1
      scons: building terminated because of errors.
      script returned exit code 2
      

      The best course of action may be to require the use of shebangtron on linux as well as osx.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jhoblitt Joshua Hoblitt
                Reporter:
                jhoblitt Joshua Hoblitt
                Watchers:
                Joshua Hoblitt, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel