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]>: >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]> 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] >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > -- Uwe Schindler Achterdiek 19, 28357 Bremen https://www.thetaphi.de
