Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903646

test/BasicAgent.vm fails when run with Java 21

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg7.6
    • None
    • tools
    • None
    • x86_64
    • linux

      When running jtreg tests in the master branch with Java 21.0.1/21.0.2 the following error occurs during `make test`
      ----
      TRT.finished(), requesting cache flush...Test results: passed: 93; failed: 38; error: 94
      Report written to /home/vladimirp/git/jtreg/build/test/Basic.agentvm/report/html/report.html
      Results written to /home/vladimirp/git/jtreg/build/test/Basic.agentvm/work
      Error: Some tests failed or other problems occurred.
      ok...batch execution
      checking selection according to previous state
        passed: 93
      state: 1 (failed)
      expected number of tests: 44
      found: 38
      wrong number of tests found
      java.lang.Error: wrong number of tests found
      at Basic.failed(Basic.java:363)
      at Basic.checkPreviousStateSelection(Basic.java:289)
      at Basic.<init>(Basic.java:132)
      at Basic.main(Basic.java:50)
      make: *** [../test/basic/Basic.gmk:83: /home/vladimirp/git/jtreg/build/test/Basic.agentvm.ok] Error 1
      ----

      The unexpected errors are caused by the following failure:
      ---
      main/Exit.java#id2 Error. Agent communication error: java.io.EOFException; check console log for any additional details
      ----

            jpai Jaikiran Pai
            vpetko Vladimir Petko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: