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

Test failed during rebuild ip_diffim due to /proc/driver/prl_vtg

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: utils
    • Labels:
      None
    • Templates:
    • Team:
      Data Access and Database

      Description

      ============================= test session starts ==============================
      platform linux -- Python 3.6.2, pytest-14.0, py-1.4.34, pluggy-0.4.0
      rootdir: /home/kennylo/work/lsstsw/build/ip_diffim, inifile:
      plugins: session2file-0.1.9, xdist-1.20.2.dev0+g1b74532.d20171117, forked-14.1.dev0+g1dd93f6.d20171117, flake8-0.9.1
      gw0 I / gw1 I
      gw0 [157] / gw1 [157]
      scheduling tests via LoadScheduling
      .............................................F...............................................................................................................
       generated xml file: /home/kennylo/work/lsstsw/build/ip_diffim/tests/.tests/pytest-ip_diffim.xml 
      =================================== FAILURES ===================================
      ______________________ TestMemory.testFileDescriptorLeaks ______________________
      [gw1] linux -- Python 3.6.2 /home/kennylo/work/lsstsw/miniconda/bin/python3.6
      self = <test_dipoleFitter.TestMemory testMethod=testFileDescriptorLeaks>
          def testFileDescriptorLeaks(self):
              if psutil is None:
                  self.skipTest("Unable to test file descriptor leaks. psutil unavailable.")
              gc.collect()
              global open_files
              now_open = _get_open_files()
          
              # Some files are opened out of the control of the stack.
              now_open = set(f for f in now_open if not f.endswith(".car") and
                             not f.endswith(".ttf") and
                             f != "/var/lib/sss/mc/passwd" and
                             not f.endswith("astropy.log"))
          
              diff = now_open.difference(open_files)
              if diff:
                  for f in diff:
                      print("File open: %s" % f)
      >           self.fail("Failed to close %d file%s" % (len(diff), "s" if len(diff) != 1 else ""))
      E           AssertionError: Failed to close 1 file
      ../../stack/Linux64/utils/14.0-4-gac01bb5+3/python/lsst/utils/tests.py:180: AssertionError
      ----------------------------- Captured stdout call -----------------------------
      File open: /proc/driver/prl_vtg
      

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  kennylo Kenny Lo
                  Reporter:
                  kennylo Kenny Lo
                  Reviewers:
                  Tim Jenness
                  Watchers:
                  Kenny Lo, Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel