Details
-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b07
-
generic
-
linux
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8283376 | 11.0.16 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
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
- backported by
-
JDK-8283376 SA: Tests using ClhsdbLauncher fail on SAP docker containers
- Resolved
- duplicates
-
JDK-8193497 SA: Modify ClhsdbLauncher and other tests to throw errors on attach failures
- Closed
-
JDK-8217582 20 hotspot_jtreg_tier1/serviceability fail after JDK-8215544 on Linux
- Closed
- relates to
-
JDK-8215544 SA: Modify ClhsdbLauncher to add sudo privileges to enable MacOS tests on Mach5
- Resolved
(1 links to)