tests/butlerPickle.py
|
|
/tigress/HSC/LSST/stack_perseus_20170801/python/miniconda2-4.2.12/lib/python2.7/site-packages/astropy/config/configuration.py:541: ConfigurationMissingWarning: Configuration defaults will be used due to O
|
SError:Could not find unix home directory to search for astropy config dir on None
|
warn(ConfigurationMissingWarning(msg))
|
.E..
|
======================================================================
|
ERROR: testPickle (__main__.ButlerPickleTestCase)
|
----------------------------------------------------------------------
|
Traceback (most recent call last):
|
File "tests/butlerPickle.py", line 67, in testPickle
|
butler = pickle.loads(pickledButler)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/python/miniconda2-4.2.12/lib/python2.7/pickle.py", line 1388, in loads
|
return Unpickler(file).load()
|
File "/tigress/HSC/LSST/stack_perseus_20170801/python/miniconda2-4.2.12/lib/python2.7/pickle.py", line 864, in load
|
dispatch[key](self)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/python/miniconda2-4.2.12/lib/python2.7/pickle.py", line 1139, in load_reduce
|
value = func(*args)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/EupsBuildDir/Linux64/daf_persistence/python/lsst/daf/persistence/butler.py", line 943, in _unreduce
|
butler = Butler(**initArgs)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/EupsBuildDir/Linux64/daf_persistence/python/lsst/daf/persistence/butler.py", line 304, in __init__
|
self._addRepo(args, inout='out', defaultMapper=defaultMapper, butlerIOParents=butlerIOParents)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/EupsBuildDir/Linux64/daf_persistence/python/lsst/daf/persistence/butler.py", line 369, in _addRepo
|
cfg = Storage.getRepositoryCfg(args.cfgRoot)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/EupsBuildDir/Linux64/daf_persistence/python/lsst/daf/persistence/storage.py", line 75, in getRepositoryCfg
|
ret = Storage.storages[parseRes.scheme].getRepositoryCfg(uri)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/EupsBuildDir/Linux64/daf_persistence/python/lsst/daf/persistence/posixStorage.py", line 79, in getRepositoryCfg
|
repositoryCfg = PosixStorage._getRepositoryCfg(uri)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/EupsBuildDir/Linux64/daf_persistence/python/lsst/daf/persistence/posixStorage.py", line 72, in _getRepositoryCfg
|
repositoryCfg = yaml.load(f)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/Linux64/pyyaml/3.11.lsst1+3/lib/python/yaml/__init__.py", line 71, in load
|
return loader.get_single_data()
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/Linux64/pyyaml/3.11.lsst1+3/lib/python/yaml/constructor.py", line 39, in get_single_data
|
return self.construct_document(node)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/Linux64/pyyaml/3.11.lsst1+3/lib/python/yaml/constructor.py", line 43, in construct_document
|
data = self.construct_object(node)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/Linux64/pyyaml/3.11.lsst1+3/lib/python/yaml/constructor.py", line 88, in construct_object
|
data = constructor(self, node)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/EupsBuildDir/Linux64/daf_persistence/python/lsst/daf/persistence/repositoryCfg.py", line 63, in v1Constructor
|
d = loader.construct_mapping(node)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/Linux64/pyyaml/3.11.lsst1+3/lib/python/yaml/constructor.py", line 208, in construct_mapping
|
return BaseConstructor.construct_mapping(self, node, deep=deep)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/Linux64/pyyaml/3.11.lsst1+3/lib/python/yaml/constructor.py", line 133, in construct_mapping
|
value = self.construct_object(value_node, deep=deep)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/Linux64/pyyaml/3.11.lsst1+3/lib/python/yaml/constructor.py", line 90, in construct_object
|
data = constructor(self, tag_suffix, node)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/Linux64/pyyaml/3.11.lsst1+3/lib/python/yaml/constructor.py", line 610, in construct_python_object_new
|
return self.construct_python_object_apply(suffix, node, newobj=True)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/Linux64/pyyaml/3.11.lsst1+3/lib/python/yaml/constructor.py", line 599, in construct_python_object_apply
|
instance = self.make_python_instance(suffix, node, args, kwds, newobj)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/Linux64/pyyaml/3.11.lsst1+3/lib/python/yaml/constructor.py", line 540, in make_python_instance
|
cls = self.find_python_name(suffix, node.start_mark)
|
File "/tigress/HSC/LSST/stack_perseus_20170801/stack/miniconda2-4.2.12-7c8e67/Linux64/pyyaml/3.11.lsst1+3/lib/python/yaml/constructor.py", line 513, in find_python_name
|
module.__name__), mark)
|
ConstructorError: while constructing a Python object
|
cannot find 'ImgMapper' in the module '__main__'
|
in "./repositoryCfg.yaml", line 3, column 10
|
Works for me on python 2 and 3 on macOS Sierra. Jenkins seems to be okay as well.
daf_persistence: 12.0-8-ge6890fd+1 ok (36.2 sec).