Here is the fix for the forbiddenapis complaints: https://github.com/apache/solr/pull/261
(I also cleaned up the build logic) ----- Uwe Schindler Achterdiek 19, D-28357 Bremen https://www.thetaphi.de eMail: [email protected] From: Uwe Schindler <[email protected]> Sent: Thursday, August 12, 2021 12:58 AM To: [email protected] Subject: Re: Solr builds hanging all the time on Jenkins Hi Mike, The forbiddenapis error was degraded to warning by Mark Miller. It should not affect the build. In addition, builds hang before those checks are running. We should fix this by switching forbiddenapis back from warning to error, but ignore generated JMH class files from analysis. Those can easily be detected with an exclude pattern in Gradle build using "**/jmh_generated.*". I will provide a PR soon. Uwe Am 11. August 2021 22:38:56 UTC schrieb Mike Drob <[email protected] <mailto:[email protected]> >: When I build, I see the following error locally: Task :solr:benchmark:forbiddenApisMain Forbidden method invocation: java.lang.reflect.AccessibleObject#setAccessible(boolean) [Reflection usage to work around access flags fails with SecurityManagers and likely will not work anymore on runtime classes in Java 9] in org.apache.solr.bench.index.jmh_generated.CloudIndexing_indexSmallDoc_jmhTest (CloudIndexing_indexSmallDoc_jmhTest.java:779) It doesn't fail anything for me, but I wonder if it is related. On Wed, Aug 11, 2021 at 6:05 AM Uwe Schindler <[email protected] <mailto:[email protected]> > wrote: Hi, Solr "main" builds are hanging all the time on Policeman Jenkins. It looks like some test is causing this, because it runs the test suite of Solr Core module. Does anybody know what could causing this. I am not sure if it is related to the new benchmark module, but the problems started around that time. It affects all platforms, not only MacOS lik before. Linux and Windows builds are hanging, too. I have to kill them manually. I will for now disable jenkins build on Solr. Uwe _____ Uwe Schindler Achterdiek 19, D-28357 Bremen https://www.thetaphi.de eMail: [email protected] <mailto:[email protected]> _____ To unsubscribe, e-mail: [email protected] <mailto:[email protected]> For additional commands, e-mail: [email protected] <mailto:[email protected]> _____ To unsubscribe, e-mail: [email protected] <mailto:[email protected]> For additional commands, e-mail: [email protected] <mailto:[email protected]> -- Uwe Schindler Achterdiek 19, 28357 Bremen https://www.thetaphi.de
