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

jdk/jfr/jvm/TestChunkIntegrity.java failed with AssertionError: Events don't match. Event number NNNNN

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 24
    • 24
    • hotspot
    • jfr
    • x86_64
    • windows

      The following test failed in the JDK24 CI:

      jdk/jfr/jvm/TestChunkIntegrity.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/343)----------
      command: main jdk.jfr.jvm.TestChunkIntegrity
      reason: User specified action: run main/othervm/timeout=300 jdk.jfr.jvm.TestChunkIntegrity
      started: Thu Aug 22 09:41:37 UTC 2024
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jfr
      finished: Thu Aug 22 09:41:53 UTC 2024
      elapsed time (seconds): 15.927
      ----------configuration:(3/38)----------
      Boot Layer
        add modules: jdk.jfr

      ----------System.out:(128/7516)*----------
      520 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      196 jdk.jfr.jvm.TestChunkIntegrity$StringStressor
      267 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      898 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      111 jdk.jfr.jvm.TestChunkIntegrity$StringStressor
      424 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      908 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      165 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      141 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      211 jdk.jfr.jvm.TestChunkIntegrity$StringStressor
      35 jdk.jfr.jvm.TestChunkIntegrity$StringStressor
      818 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      318 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      697 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      903 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      231 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      303 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      542 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      580 jdk.jfr.jvm.TestChunkIntegrity$StringStressor
      341 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      383 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      243 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      341 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      485 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      582 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      292 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      40 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      630 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      446 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      244 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      929 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      650 jdk.jfr.jvm.TestChunkIntegrity$StringStressor
      520 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      862 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      770 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      675 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      101 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      30 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      297 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      320 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      463 jdk.jfr.jvm.TestChunkIntegrity$StringStressor
      552 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      444 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      188 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      213 jdk.jfr.jvm.TestChunkIntegrity$StringStressor
      804 jdk.jfr.jvm.TestChunkIntegrity$ClassStressor
      968 jdk.jfr.jvm.TestChunkIntegrity$ThreadStressor
      251 jdk.jfr.jvm.TestChunkIntegrity$StringStressor
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-24+12-1306\\windows-x64.jdk\\jdk-24\\bin\\jfr.exe disassemble --output C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled --max-chunks 1 C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\recording.jfr]
      [2024-08-22T09:41:49.776934300Z] Gathering output for process 55832
      [2024-08-22T09:41:49.788945200Z] Waiting for completion for process 55832
      [2024-08-22T09:41:50.156929900Z] Waiting for completion finished for process 55832
      Output and diagnostic info for process 55832 was saved into 'pid-55832-output.log'

      Examining recording C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\recording.jfr ...

      File consists of 21 chunks. The recording will be split into 21 files

      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_00.jfr ... 282276
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_01.jfr ... 872693
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_02.jfr ... 493214
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_03.jfr ... 486325
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_04.jfr ... 809158
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_05.jfr ... 644861
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_06.jfr ... 698480
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_07.jfr ... 728873
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_08.jfr ... 746607
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_09.jfr ... 696936
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_10.jfr ... 504488
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_11.jfr ... 558195
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_12.jfr ... 694571
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_13.jfr ... 713556
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_14.jfr ... 1575363
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_15.jfr ... 800620
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_16.jfr ... 876386
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_17.jfr ... 850366
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_18.jfr ... 797893
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_19.jfr ... 643580
      Writing C:\\sb\\prod\\1724318469\\testoutput\\test-support\\jtreg_open_test_jdk_tier3\\scratch\\4\\disassembled\\recording_20.jfr ... 1016243

      Veryfying chunk: disassembled\\recording_00.jfr 0
      Veryfying chunk: disassembled\\recording_01.jfr 3575
      Veryfying chunk: disassembled\\recording_02.jfr 23008
      Veryfying chunk: disassembled\\recording_03.jfr 35499
      Veryfying chunk: disassembled\\recording_04.jfr 46565
      Veryfying chunk: disassembled\\recording_05.jfr 69472
      Veryfying chunk: disassembled\\recording_06.jfr 87141
      Veryfying chunk: disassembled\\recording_07.jfr 105963
      Veryfying chunk: disassembled\\recording_08.jfr 126113
      Veryfying chunk: disassembled\\recording_09.jfr 146892
      One value null
      Value A: {
        name = "jdk/jfr/jvm"
        module = {
          name = N/A
          version = N/A
          location = N/A
          classLoader = jdk.test.lib.jfr.TestClassLoader (id = 331)
        }
        exported = true
      }

      Value B: null
      Object A:
      jdk.ModuleExport {
        startTime = 09:41:43.276 (2024-08-22)
        exportedPackage = {
          name = "jdk/jfr/jvm"
          module = {
            name = N/A
            version = N/A
            location = N/A
            classLoader = jdk.test.lib.jfr.TestClassLoader (id = 331)
          }
          exported = true
        }
        targetModule = N/A
      }


      Object B:
      jdk.ModuleExport {
        startTime = 09:41:43.276 (2024-08-22)
        exportedPackage = N/A
        targetModule = N/A
      }


      ----------System.err:(12/779)----------
      java.lang.AssertionError: Events don't match. Event number 14970
      at jdk.jfr.jvm.TestChunkIntegrity.assertEventEquals(TestChunkIntegrity.java:174)
      at jdk.jfr.jvm.TestChunkIntegrity.main(TestChunkIntegrity.java:131)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:573)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.AssertionError: Events don't match. Event number 14970
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.AssertionError: Events don't match. Event number 14970
      ----------rerun:(43/6232)*----------

            mgronlun Markus Grönlund
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: