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

tests in testArgumentParser.py fail Jenkins run-rebuild on nfs

    Details

      Description

      (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

      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'
      

      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

      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
      

      File open: /nfs/home/lsstsw/build/pipe_base/.nfs000000000a20a3f700005679
      

      This test passes on local disk.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  hchiang2 Hsin-Fang Chiang
                  Reporter:
                  hchiang2 Hsin-Fang Chiang
                  Reviewers:
                  Kian-Tat Lim
                  Watchers:
                  Hsin-Fang Chiang, Kian-Tat Lim, Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel