arne-bdt commented on issue #2492:
URL: https://github.com/apache/jena/issues/2492#issuecomment-2134904869

   Since I was the one introducing JMH into Jena last year, I feel kind of 
responsible.
   
   If I get it right, `-proc:none` has been introduced in October 2023 to 
support Java 21.
   The current solution proposal is to remove `-proc:none`. This proposal has 
been approved by @kinow. 
   
   On my machine, the proposed solution does not seem to work properly. First I 
get a lot of errors and further down the line the benchmarks seem to run 
successfully.
   But here is what the first lines look like:
   
   ```
   [INFO] --- surefire:3.2.5:test (default-test) @ jena-benchmarks-jmh ---
   [INFO] Using auto detected provider 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
   [INFO] 
   [INFO] -------------------------------------------------------
   [INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running org.apache.jena.mem.graph.jmh_generated.TestGraphAdd_jmhType
   [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
0.057 s <<< FAILURE! -- in 
org.apache.jena.mem.graph.jmh_generated.TestGraphAdd_jmhType
   [ERROR] 
org.apache.jena.mem.graph.jmh_generated.TestGraphAdd_jmhType.benchmark -- Time 
elapsed: 0.046 s <<< ERROR!
   No benchmarks to run; check the include/exclude regexps.
        at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:257)
        at org.openjdk.jmh.runner.Runner.run(Runner.java:208)
        at 
org.apache.jena.mem.graph.TestGraphAdd.benchmark(TestGraphAdd.java:97)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
   
   [INFO] Running 
org.apache.jena.mem.graph.jmh_generated.TestGraphAdd_jmhType_B1
   [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
0.007 s <<< FAILURE! -- in 
org.apache.jena.mem.graph.jmh_generated.TestGraphAdd_jmhType_B1
   [ERROR] 
org.apache.jena.mem.graph.jmh_generated.TestGraphAdd_jmhType_B1.benchmark -- 
Time elapsed: 0.006 s <<< ERROR!
   No benchmarks to run; check the include/exclude regexps.
        at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:257)
        at org.openjdk.jmh.runner.Runner.run(Runner.java:208)
        at 
org.apache.jena.mem.graph.TestGraphAdd.benchmark(TestGraphAdd.java:97)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
   ```
   
   @Aklakan do you not have that problem?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to