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

sconsUtils test hangs when run from scons

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: sconsUtils
    • Labels:
      None
    • Team:
      Data Release Production

      Description

      A hang was noticed while building master of sconsUtils using lsst-build. scons opt=3, run manually, hangs while running the new test case. Running the new test case explicitly using python tests/testAll.py does not hang. This appears to be because the test relies on the setup shell function which is not being made available when run under scons.

        Attachments

          Activity

          Hide
          ktl Kian-Tat Lim added a comment -

          Interestingly enough, buildbot managed to get through this somehow. The output of the test shows the missing setup function, but somehow it was bypassed as follows:

          tests/testAll.py
           
          You are attempting to run "setup" which requires administrative
          privileges, but more information is needed in order to do so.
          Authenticating as "root"
          Password: Password: Password: .
          ----------------------------------------------------------------------
          Ran 1 test in 1.200s
           
          OK

          Show
          ktl Kian-Tat Lim added a comment - Interestingly enough, buildbot managed to get through this somehow. The output of the test shows the missing setup function, but somehow it was bypassed as follows: tests/testAll.py   You are attempting to run "setup" which requires administrative privileges, but more information is needed in order to do so. Authenticating as "root" Password: Password: Password: . ---------------------------------------------------------------------- Ran 1 test in 1.200s   OK
          Hide
          rhl Robert Lupton added a comment -

          Pushed to tickets/DM-1144

          Show
          rhl Robert Lupton added a comment - Pushed to tickets/ DM-1144
          Hide
          rowen Russell Owen added a comment -

          This looks great. Thank you for the quick fix!

          Show
          rowen Russell Owen added a comment - This looks great. Thank you for the quick fix!

            People

            • Assignee:
              rhl Robert Lupton
              Reporter:
              ktl Kian-Tat Lim
              Reviewers:
              Russell Owen
              Watchers:
              Kian-Tat Lim, Robert Lupton, Russell Owen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel