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

Test com/sun/jdi/JdbStopInNotificationThreadTest.java failing with missing "Breakpoint hit" for line 70

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 25
    • 25
    • hotspot
    • gc
    • linux

      The com/sun/jdi/JdbStopInNotificationThreadTest.java test has been failing in the CI with:

      java.lang.RuntimeException: '^Breakpoint hit: "thread=Notification Thread", JdbStopInNotificationThreadTestTarg\\$1\\.handleNotification\\(\\), line=70.*\\R70\\s+System\\.out\\.println\\("Memory usage low!!!"\\);.*' missing from stdout/stderr
      at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:372)
      at JdbStopInNotificationThreadTest.runCases(JdbStopInNotificationThreadTest.java:135)
      at lib.jdb.JdbTest.run(JdbTest.java:96)
      at JdbStopInNotificationThreadTest.main(JdbStopInNotificationThreadTest.java:122)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1447)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: '^Breakpoint hit: "thread=Notification Thread", JdbStopInNotificationThreadTestTarg\\$1\\.handleNotification\\(\\), line=70.*\\R70\\s+System\\.out\\.println\\("Memory usage low!!!"\\);.*' missing from stdout/stderr
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: '^Breakpoint hit: "thread=Notification Thread", JdbStopInNotificationThreadTestTarg\\$1\\.handleNotification\\(\\), line=70.*\\R70\\s+System\\.out\\.println\\("Memory usage low!!!"\\);.*' missing from stdout/stderr

            Unassigned Unassigned
            jpai Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: