Commit Graph

51 Commits

Author SHA1 Message Date
Chris Plummer
21a6cf848d 8336587: failure_handler lldb command times out on macosx-aarch64 core file
Reviewed-by: dlong, dholmes, jpai
2024-07-18 00:21:03 +00:00
Leonid Mesnik
548e95a689 8330702: Update failure handler to don't generate Error message if cores actions are empty
Reviewed-by: sspitsyn
2024-06-14 15:32:04 +00:00
Chris Plummer
ec88c6a872 8332917: failure_handler should execute gdb "info threads" command on linux
Reviewed-by: lmesnik, sspitsyn
2024-05-30 18:59:21 +00:00
Ludvig Janiuk
08891553bb 8332885: Clarify failure_handler self-tests
Reviewed-by: lmesnik
2024-05-27 09:43:31 +00:00
Ludvig Janiuk
7f0ad513c3 8332898: failure_handler: log directory of commands
Reviewed-by: lmesnik
2024-05-27 09:35:52 +00:00
Leonid Mesnik
8be3e39220 8320129: "top" command during jtreg failure handler does not display CPU usage on OSX
Reviewed-by: cjplummer, jpai
2023-12-02 02:58:03 +00:00
Daniel Jeliński
4d50df63b6 8320691: Timeout handler on Windows takes 2 hours to complete
Reviewed-by: stuefe, jpai, ihse, alanb
2023-11-24 14:55:57 +00:00
Jaikiran Pai
42924ed4e5 8316946: jtreg failure handler pages are mislabelling the jcmd/thread/dump_to_file results.
Reviewed-by: dholmes
2023-09-28 05:42:26 +00:00
Jaikiran Pai
426ebf4fe9 8308475: Make the thread dump files generated by jcmd Thread.dump_to_file jtreg failure handler action easily accessible
Reviewed-by: lmesnik
2023-05-25 09:23:48 +00:00
Leonid Mesnik
563152f32d 8308223: failure handler missed jcmd.vm.info command
Reviewed-by: stefank
2023-05-16 19:44:38 +00:00
Ludvig Janiuk
6120319afd 8302226: failure_handler native.core should wait for coredump to finish
Reviewed-by: erikj
2023-02-17 14:57:00 +00:00
Leonid Mesnik
0233ba763d 8284614: on macOS "spindump" should be run from failure_handler as root
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: dnsimon, dcubed
2022-10-18 17:34:07 +00:00
Daniel Jeliński
292d909e81 8290178: failure_handler: run netstat without name lookups
Reviewed-by: jpai, dfuchs, msheppar, lmesnik
2022-07-14 06:36:57 +00:00
Jaikiran Pai
125efe6cba 8286744: failure_handler: dmesg command on macos fails to collect data due to permission issues
Reviewed-by: dfuchs, lancea, lmesnik
2022-05-17 00:09:25 +00:00
Leonid Mesnik
d347fc127b 8286438: Add jhsdb jstack processing without --mixed in efh
Reviewed-by: cjplummer
2022-05-10 18:58:58 +00:00
Leonid Mesnik
40470d83e4 8284550: test failure_handler is not properly invoking jhsdb jstack, resulting in failure to produce a stack when a test times out
Reviewed-by: dholmes, alanb
2022-05-09 18:26:08 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Jaikiran Pai
45ca81ff5f 8285915: failure_handler: gather the contents of /etc/hosts file
Reviewed-by: dfuchs, erikj
2022-05-03 01:23:01 +00:00
Mark Sheppard
d6d6c0692b 8273246: Amend the test java/nio/channels/DatagramChannel/ManySourcesAndTargets.java to execute in othervm mode
Reviewed-by: alanb
2021-09-07 22:18:23 +00:00
Leonid Mesnik
2e70bc35df 8268626: Remove native pre-jdk9 support for jtreg failure handler
Reviewed-by: erikj
2021-06-14 19:35:24 +00:00
Jesper Wilhelmsson
17295b1bb0 Merge
Reviewed-by: dcubed
2021-06-14 15:55:57 +00:00
Igor Ignatyev
53b6e2c85c 8267448: Add "ulimit -a" to environment.html
Reviewed-by: cjplummer
2021-06-10 18:05:16 +00:00
Leonid Mesnik
8c8422e0f8 8267893: Improve jtreg test failure handler do get native/mixed stack traces for cores and live processes
Reviewed-by: iignatyev
2021-06-10 17:45:53 +00:00
Nils Eliasson
41139e31c0 8255964: Add all details to jstack log in jtreg timeout handler
Reviewed-by: iignatyev
2020-11-13 09:40:06 +00:00
Igor Ignatyev
5a9bd41e79 8254102: use ProcessHandle::pid instead of ManagementFactory::getRuntimeMXBean to get pid in tests
Reviewed-by: rriggs, shade
2020-10-07 18:51:52 +00:00
Igor Ignatyev
e47b2bc8c3 8246387: switch to jtreg 5.1
Reviewed-by: dholmes, erikj
2020-06-10 10:47:40 -07:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Magnus Ihse Bursie
e8dfd8ce54 8243154: Fix deprecation warnings in failure handler
Reviewed-by: dholmes
2020-04-20 13:37:38 +02:00
Igor Ignatyev
59563a4ca9 8240904: Screen flashes on test failures when running tests from make
Reviewed-by: erikj, serb
2020-04-16 17:42:13 -07:00
Sergey Bylokhov
5705a55161 8233827: Enable screenshots in the enhanced failure handler on Linux/macOS
Reviewed-by: iignatyev
2020-02-13 13:23:31 -08:00
Coleen Phillimore
386b387ef2 8234355: Buffer overflow in jcmd GC.class_stats due to too many classes
Remove use of GC.class_stats in testing and failure analysis (plan to deprecate)

Reviewed-by: dcubed
2019-12-04 11:09:15 -05:00
Julia Boes
095d77acf0 8234964: failure_handler: gather more environment information on Windows, Solaris and Linux
Add 'ifconfig -a' on Solaris and Linux, 'ipconfig /all' on Windows

Reviewed-by: iignatyev, vtewari
2019-12-03 12:44:50 +00:00
Igor Ignatyev
6a7c8b3e01 8209917: fix TODO in GatherDiagnosticInfoObserver
Reviewed-by: jjg, dholmes
2019-06-10 17:11:04 -07:00
Igor Ignatyev
ac1b5fb59a 8218197: [failurehandler] parent processes shouldn't be killed till their children are handle
Reviewed-by: dholmes, kbarrett
2019-02-04 17:53:26 -08:00
Mikael Vidstedt
95db6924f2 Merge 2018-08-20 14:19:30 -07:00
Igor Ignatyev
d5142e7240 8205687: TimeoutHandler generates huge core files
Use kill instead of gcore to generate core file

Reviewed-by: dholmes
2018-08-13 13:44:45 -07:00
Igor Ignatyev
d2dd5c4473 8208647: switch jtreg to 4.2b13
Reviewed-by: kvn, dholmes, ihse
2018-08-01 23:06:33 -07:00
Amy Lu
e155b21fce 8202763: failure_handler: list open files for macOS
Reviewed-by: alanb
2018-05-15 14:39:11 +08:00
Amy Lu
2dd9adbf24 8202581: failure_handler: gather more environment information on macOS
Reviewed-by: psandoz
2018-05-08 12:37:39 +08:00
Goetz Lindenmaier
0480f69dd5 8194869: [TESTBUG][aix, s390] Adapt tests to platforms
Reviewed-by: mbaesken, simonis, dholmes, serb
2018-01-18 10:26:39 +01:00
Staffan Larsen
a019f44ab1 8172842: Invoke lldb with --batch from failure handler
Reviewed-by: erikj, dsamersoff
2017-01-16 12:32:46 +01:00
Staffan Larsen
afd296c799 8171366: macOS: Do not run failure handler commands that require Developer mode access
Reviewed-by: erikj, iignatyev
2016-12-19 10:47:26 +01:00
Jesper Wilhelmsson
61440b5478 Merge 2016-11-09 15:32:39 +01:00
Staffan Larsen
6594e9ed40 8168414: Various timeouthandler fixes
Reviewed-by: mlarsson
2016-10-24 09:12:40 +02:00
Staffan Larsen
5320830885 8168412: Reduce buffering in jtreg timeouthandler
Reviewed-by: mlarsson
2016-10-21 15:40:47 +02:00
Staffan Larsen
3aa16decba 8168409: Update list of tools run by the jtreg timeouthandler
Reviewed-by: mlarsson
2016-10-21 15:29:34 +02:00
Igor Ignatyev
e3124c170a 8166262: failurehandler should not use jtreg internal API
Reviewed-by: sla, dsamersoff
2016-09-20 16:56:04 +03:00
Erik Joelsson
0b57773edd 8149777: Enable enhanced failure handler for "make test"
Reviewed-by: ihse
2016-04-14 15:13:42 +02:00
Kirill Zhaldybin
6061ff3f28 8149780: GatherProcessInfoTimeoutHandler shouldn't call getWin32Pid if the lib isn't load
Reviewed-by: iignatyev, stsmirno
2016-02-16 15:36:22 +03:00
Kirill Zhaldybin
4b48aaa15e 8146287: typos in /test/failure_handler
Reviewed-by: iignatyev, stsmirno
2016-02-16 15:25:45 +03:00