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

SA: Tests using ClhsdbLauncher fail on SAP docker containers

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b07
    • CPU:
      generic
    • OS:
      linux

      Description

      ClhsdbLauncher currently errors out if SA cannot attach to a target process unless we are dealing with macOS. The SA tests using ClhsdbLauncher currently fail on docker containers on Linux since the container needs to be started with strace capabilities. (Would need to do docker run with --cap-add=SYS_PTRACE for attach to work). So modifying ClhsdbLauncher to skip the test with jtreg.SkippedException if Platform.shouldSAAttach() returns false and this is not macOS where we can add privileges.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jgeorge Jini George (Inactive)
                Reporter:
                jgeorge Jini George (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: