Project: datamanagement
Issue DM-6100: afw/tests/rgb.py fails due to .ttf files
afw/tests/rgb.py fails for me with the below error. We likely shouldn't be trying to track system resources like fonts, as we don't have any control over them. {code} [2016-05-12T19:46:12.528961Z] Failed test output: [2016-05-12T19:46:12.536029Z] tests/rgb.py [2016-05-12T19:46:12.536057Z] [2016-05-12T19:46:12.536070Z] ...s......ss...F. [2016-05-12T19:46:12.536106Z] ====================================================================== [2016-05-12T19:46:12.536138Z] FAIL: testFileDescriptorLeaks (lsst.utils.tests.MemoryTestCase) [2016-05-12T19:46:12.536173Z] ---------------------------------------------------------------------- [2016-05-12T19:46:12.536192Z] Traceback (most recent call last): [2016-05-12T19:46:12.536261Z] File "/Users/parejkoj/lsst/lsstsw/stack/DarwinX86/utils/2016_01.0-4-g52f464f/python/lsst/utils/tests.py", line 134, in testFileDescriptorLeaks [2016-05-12T19:46:12.536330Z] self.fail("Failed to close %d file%s" % (len(diff), "s" if len(diff) != 1 else "")) [2016-05-12T19:46:12.536352Z] AssertionError: Failed to close 2 files [2016-05-12T19:46:12.536356Z] [2016-05-12T19:46:12.536391Z] ---------------------------------------------------------------------- [2016-05-12T19:46:12.536404Z] Ran 17 tests in 3.451s [2016-05-12T19:46:12.536407Z] [2016-05-12T19:46:12.536424Z] FAILED (failures=1, skipped=3) [2016-05-12T19:46:12.536445Z] File open: /Library/Fonts/NISC18030.ttf [2016-05-12T19:46:12.536479Z] File open: /System/Library/Fonts/Apple Color Emoji.ttf [2016-05-12T19:46:12.536495Z] The following tests failed: [2016-05-12T19:46:12.539928Z] /Users/parejkoj/lsst/lsstsw/build/afw/tests/.tests/rgb.py.failed [2016-05-12T19:46:12.540060Z] 1 tests failed {code}
Story points: 1