That’s great. Turns out that every test involving htm is failing so here is one snippet:
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-3.6.2, py-1.7.0, pluggy-0.6.0
rootdir: /usr/local/src/lsst_stack/stack/miniconda3-4.5.12-1172c30/EupsBuildDir/Linux64/meas_algorithms-17.0.1/meas_algorithms-17.0.1, inifile: setup.cfg
plugins: flake8-1.0.4, xdist-1.20.1, forked-0.2, session2file-0.1.9, cov-2.5.1, remotedata-0.3.1, openfiles-0.3.2, doctestplus-0.3.0, arraydiff-0.3
gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I / gw6 I / gw7 I / gw8 I / gw9 I / gw10 I / gw11 I
gw0 [282] / gw1 [282] / gw2 [282] / gw3 [282] / gw4 [282] / gw5 [282] / gw6 [282] / gw7 [282] / gw8 [282] / gw9 [282] / gw10 [282] / gw11 [282]
scheduling tests via LoadScheduling
........................................................................................................E....E..EE....E...E..s....E.........E........ss..s..s...E......
.EE..E....E.s......................................................................................................
==================================== ERRORS ====================================
________________ ERROR at setup of HtmIndexTestCase.testIngest _________________
[gw6] linux -- Python 3.7.2 /usr/local/src/lsst_stack/python/miniconda3-4.5.12/envs/lsst-scipipe-1172c30/bin/python3.7
cls = <class 'test_htmIndex.HtmIndexTestCase'>
@classmethod
def setUpClass(cls):
cls.outPath = tempfile.mkdtemp()
cls.testCatPath = os.path.join(os.path.dirname(os.path.realpath(__file__)), "data",
"testHtmIndex.fits")
# arbitrary, but reasonable, amount of proper motion (angle/year)
# and direction of proper motion
cls.properMotionAmt = 3.0*lsst.geom.arcseconds
cls.properMotionDir = 45*lsst.geom.degrees
cls.properMotionErr = 1e-3*lsst.geom.arcseconds
cls.epoch = astropy.time.Time(58206.861330339219, scale="tai", format="mjd")
ret = cls.make_skyCatalog(cls.outPath)
cls.skyCatalogFile, cls.skyCatalogFileDelim, cls.skyCatalog = ret
cls.testRas = [210., 14.5, 93., 180., 286., 0.]
cls.testDecs = [-90., -51., -30.1, 0., 27.3, 62., 90.]
cls.searchRadius = 3. * lsst.geom.degrees
cls.compCats = {} # dict of center coord: list of IDs of stars within cls.searchRadius of center
cls.depth = 4 # gives a mean area of 20 deg^2 per pixel, roughly matching a 3 deg search radius
config = IndexerRegistry['HTM'].ConfigClass()
# Match on disk comparison file
config.depth = cls.depth
> cls.indexer = IndexerRegistry['HTM'](config)
tests/test_htmIndex.py:135:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
python/lsst/meas/algorithms/indexerRegistry.py:46: in makeHtmIndexer
return HtmIndexer(depth=config.depth)
python/lsst/meas/algorithms/htmIndexer.py:36: in __init__
self.htm = esutil.htm.HTM(depth)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <esutil.htm.htm.HTM; >, depth = 4
def __init__(self, depth=10):
> this = _htmc.new_HTMC(depth)
E SystemError: <built-in function new_HTMC> returned a result with an error set
../../../../Linux64/esutil/0.6.2.5.lsst2+1/lib/python/esutil/htm/htmc.py:152: SystemError
---------------------------- Captured stderr setup -----------------------------
RuntimeError: FATAL: module compiled as little endian, but detected different endianness at runtime
______ ERROR at setup of HtmIndexTestCase.testLoadIndexedReferenceConfig _______
It seems that this line esutil.htm.HTM(depth)
is causing the problem. Can you see if you can run that line? (maybe the import wasn’t enough). I can guess that depth
is an integer but I’m not sure of the API.