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

daf_persistence test failures with gcc 5.2 on el5

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: daf_persistence
    • Labels:
      None
    • Templates:
    • Story Points:
      2
    • Team:
      SQuaRE

      Description

      The majority of the daf_persistence tests fail when attempting to build a conda package via conda-lsst on el5 with gcc 5.2.

      Traceback (most recent call last):
        File "tests/reposInButler.py", line 36, in <module>
          import lsst.daf.persistence as dp
        File "/home/jhoblitt/conda-lsst/miniconda/conda-bld/work/python/lsst/daf/persistence/__init__.py", line 28, in <module>
          from .persistenceLib import *
        File "/home/jhoblitt/conda-lsst/miniconda/conda-bld/work/python/lsst/daf/persistence/persistenceLib.py", line 27, in <module>
          _persistenceLib = swig_import_helper()
        File "/home/jhoblitt/conda-lsst/miniconda/conda-bld/work/python/lsst/daf/persistence/persistenceLib.py", line 26, in swig_import_helper
          return importlib.import_module('_persistenceLib')
        File "/home/jhoblitt/conda-lsst/miniconda/envs/_build/lib/python2.7/importlib/__init__.py", line 37, in import_module
          __import__(name)
      ImportError: No module named _persistenceLib
      tests/butlerSubset.py
      

      I'm at a loss as why the tests are failing in this environment. The library is being successfully built.

      $ ls -la /home/jhoblitt/conda-lsst/miniconda/conda-bld/work/python/lsst/daf/persistence/_persistenceLib.so 
      -rwxrwxr-x 1 jhoblitt jhoblitt 9716560 Oct 19 14:47 /home/jhoblitt/conda-lsst/miniconda/conda-bld/work/python/lsst/daf/persistence/_persistenceLib.so
      

      $ swig -copyright
       
      SWIG Version 3.0.10
      Copyright (c) 1995-1998
      University of Utah and the Regents of the University of California
      Copyright (c) 1998-2005
      University of Chicago
      Copyright (c) 2005-2006
      Arizona Board of Regents (University of Arizona)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jmatt J Matt Peterson [X] (Inactive)
                Reporter:
                jhoblitt Joshua Hoblitt
                Watchers:
                Frossie Economou, J Matt Peterson [X] (Inactive), Joshua Hoblitt, Nate Pease, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel