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.

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: meas_base
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Sprint:
      DRP F17-3
    • Team:
      Data Release Production

      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

          Container Issues

            Issue Links

              Activity

                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:

                    Summary Panel