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

Doing a stack install using Anaconda 4.4.0 (Python 3.6.1) results in 3 tests failing during the build in meas_base.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: meas_base
    • Labels:
      None

      Description

      Both at NERSC and on a Linux machine at Duke I see the following identical behavior. The Duke machine is one of our reference platforms so I believe the behavior should be reproducible anywhere.

      cosmology-01:~ $ cat /etc/redhat-release 
      CentOS Linux release 7.3.1611 (Core) 
      

      I installed Anaconda 4.4.0 (Python 3.6 version) and used it for the stack install (instead of the 3.5 based miniconda).

      I used the newinstall from:

      https://raw.githubusercontent.com/lsst/lsst/master/scripts/newinstall.sh

      I issued the following command after the eups bootstrap:

      eups distrib install -t w_2017_25 lsst_apps

      The build runs until meas_base where 3 of the tests fail. The three resulting failures are:

      cosmology-01:.tests $ ls *.failed
      testApertureFlux.py.failed    testScaledApertureFlux.py.failed
      testMeasureSources.py.failed
      cosmology-01:.tests $ 
      

      For example:

      cosmology-01:.tests $ cat testMeasureSources.py.failed
      tests/testMeasureSources.py
       
      F....
      ======================================================================
      FAIL: testCircularApertureMeasure (__main__.MeasureSourcesTestCase)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "tests/testMeasureSources.py", line 102, in testCircularApertureMeasure
          self.assertAlmostEqual(10.0*math.pi*r*r/currentFlux, 1.0, places=4)
      AssertionError: 2.3123809147074006 != 1.0 within 4 places
       
      ----------------------------------------------------------------------
      Ran 5 tests in 2.487s
       
      FAILED (failures=1)
      

        Attachments

          Issue Links

            Activity

            Hide
            cwalter Chris Walter added a comment -

            Ah... sorry missed that. OK got it.

            Show
            cwalter Chris Walter added a comment - Ah... sorry missed that. OK got it.
            Hide
            swinbank John Swinbank added a comment -

            Hey Chris Walter — I added a note on this to the "known issues" page of pipelines.lsst.io.

            PR here: https://github.com/lsst/pipelines_lsst_io/pull/52
            Rendered text here: https://pipelines.lsst.io/v/DM-11158/known-issues.html

            What do you think?

            Show
            swinbank John Swinbank added a comment - Hey Chris Walter — I added a note on this to the "known issues" page of pipelines.lsst.io. PR here: https://github.com/lsst/pipelines_lsst_io/pull/52 Rendered text here: https://pipelines.lsst.io/v/DM-11158/known-issues.html What do you think?
            Hide
            cwalter Chris Walter added a comment -

            I think it looks good. Thanks.

            Show
            cwalter Chris Walter added a comment - I think it looks good. Thanks.
            Hide
            cwalter Chris Walter added a comment -

            I think this should hopefully take care of this until the underlying issue is resolved.

            Show
            cwalter Chris Walter added a comment - I think this should hopefully take care of this until the underlying issue is resolved.
            Hide
            swinbank John Swinbank added a comment -

            Thanks; merged.

            Show
            swinbank John Swinbank added a comment - Thanks; merged.

              People

              Assignee:
              swinbank John Swinbank
              Reporter:
              cwalter Chris Walter
              Reviewers:
              Chris Walter
              Watchers:
              Chris Walter, John Swinbank, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.