Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8186540

[TESTBUG] serviceability/dcmd/jvmti/LoadAgentDcmdTest.java failed to clean up files in agentvm mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 10
    • 10
    • hotspot
    • svc
    • b34
    • windows

    Description

      Test: hotspot/test/serviceability/dcmd/jvmti/LoadAgentDcmdTest.java
      Platform: Windows Server 2012 R2 6.3 (amd64)
      Error: test result: Error. failed to clean up files after test

      Hints for fixing:
       - root cause most likely due to resource/file access contention (JTReg attempts to clean up temporary files after test execution, while the files are either still open, or access locked by some service software running on the host, e.g. anti-virus)
       - inspect the test and make sure all resource handles are closed properly; use try-with-resource pattern if needed; test multiple times via distributed test system, on Windows
       - if this does not fix the problem, consider adding "/othervm" to the test

      Attachments

        Activity

          People

            cjplummer Chris Plummer
            mseledtsov Mikhailo Seledtsov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: