Project: datamanagement
Issue DM-5979:  tests in testArgumentParser.py fail Jenkins run-rebuild on nfs
(1) {{testOutputs}} fails because paths are compared literally Jenkins run-rebuild #139 failed with pipe_base https://ci.lsst.codes/job/run-rebuild/139//console {code:java} FAIL: testOutputs (__main__.ArgumentParserTestCase) Test output directories, specified in different ways ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/testArgumentParser.py", line 497, in testOutputs self.assertEqual(args.input, DataPath) AssertionError: '/nfs/home/lsstsw/stack/Linux64/obs_test/2016_01.0-3-gafa6dd0+10/data/input' != '/home/lsstsw/stack/Linux64/obs_test/2016_01.0-3-gafa6dd0+10/data/input' {code} Please make the comparison more robust. (2) File descriptor leaks Jenkins run-rebuild #138 failed with pipe_base https://ci.lsst.codes/job/run-rebuild/138//console {code:java} FAIL: testFileDescriptorLeaks (lsst.utils.tests.MemoryTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/lsstsw/stack/Linux64/utils/2016_01.0-2-g97a6e33/python/lsst/utils/tests.py", line 133, in testFileDescriptorLeaks self.fail("Failed to close %d files" % len(diff)) AssertionError: Failed to close 1 files {code} {code:java} File open: /nfs/home/lsstsw/build/pipe_base/.nfs000000000a20a3f700005679 {code} This test passes on local disk.
Story points: 2