Hi
I tried to run the smoke test command on an EC2 instance, and I got several
failures like the one below:

Exception in thread "Attach Listener" Agent failed to start!
>
> org.apache.lucene.index.Test2BPostings > classMethod FAILED
>     java.lang.AssertionError: The test or suite printed 48646 bytes to
> stdout and stderr, even though the limit was se$
>  to 8192 bytes. Increase the limit with @Limit, ignore it completely with
> @SuppressSysoutChecks or run with -Dtests.ve$
> bose=true
>         at __randomizedtesting.SeedInfo.seed([BBF119AE27F6031E]:0)
>         at
> org.apache.lucene.tests.util.TestRuleLimitSysouts.afterIfSuccessful(TestRuleLimitSysouts.java:283)
>         at
> com.carrotsearch.randomizedtesting.rules.TestRuleAdapter$1.afterIfSuccessful(TestRuleAdapter.java:36)
>         at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:37)
>         at
> org.apache.lucene.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
>         at
> org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
>         at
> org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
>         at
> org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:$
> 0)
>         at
> org.apache.lucene.tests.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
>         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>         at
> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>         at
> com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:370)
>         at
> com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:826$
>         at java.base/java.lang.Thread.run(Thread.java:834)
>
> org.apache.lucene.index.Test2BPostings > test suite's output saved to
> /tmp/smoke_lucene_9.1.0_5b522487ba8e0f1002b50a13$
>
> 817ca037aec9686_2/unpack/lucene-9.1.0/lucene/core/build/test-results/test/outputs/OUTPUT-org.apache.lucene.index.Test2$
> Postings.txt, copied below:
>   2> java.lang.reflect.InvocationTargetException
>   2>    at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>   2>    at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   2>    at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   2>    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>   2>    at
> java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
>   2>    at
> java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:535)
>   2> Caused by: java.security.AccessControlException: access denied
> ("java.lang.RuntimePermission" "accessClassInPacka$
> e.jdk.internal.org.objectweb.asm")
>   2>    at
> java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
>   2>    at
> java.base/java.security.AccessController.checkPermission(AccessController.java:895)
>   2>    at
> java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)
>   2>    at
> java.base/java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1238)
>   2>    at
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:174)
>   2>    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
>   2>    at Log4jHotPatch.asmVersion(Log4jHotPatch.java:71)
>   2>    at Log4jHotPatch.agentmain(Log4jHotPatch.java:93)
>   2>    ... 6 more
>

Does anyone have an idea?

Patrick

On Fri, Mar 18, 2022 at 7:48 AM Ignacio Vera <[email protected]> wrote:

> +1
>
> SUCCESS! [1:08:44.248804]
>
> On Thu, Mar 17, 2022 at 11:08 PM Uwe Schindler <[email protected]> wrote:
>
>> Hi,
>>
>>
>>
>> the test also failed several times in usual Jenkins jobs (see builds@lao
>> list). Looks like a problem with the test or some wrong assumption or some
>> missing synchronized block (the Policeman Jenkins machine has many cores,
>> so issues with not synchronized cache lines can happen easily).
>>
>>
>>
>> Uwe
>>
>>
>>
>> -----
>>
>> Uwe Schindler
>>
>> Achterdiek 19, D-28357 Bremen
>>
>> https://www.thetaphi.de
>>
>> eMail: [email protected]
>>
>>
>>
>> *From:* Julie Tibshirani <[email protected]>
>> *Sent:* Thursday, March 17, 2022 8:04 PM
>> *To:* [email protected]
>> *Subject:* Re: [VOTE] Release Lucene 9.1.0 RC2
>>
>>
>>
>> I investigated the TestMatchAllDocsQuery failure and filed an issue here:
>> https://issues.apache.org/jira/browse/LUCENE-10472. To me it doesn't
>> seem like a major problem and could potentially be a test issue. We also
>> haven't made changes to this early termination logic in 9.1 (to the best of
>> my knowledge), so it's unlikely to be a regression.
>>
>> Julie
>>
>>
>>
>> On Thu, Mar 17, 2022 at 11:51 AM Anshum Gupta <[email protected]>
>> wrote:
>>
>> Hi Julie,
>>
>>
>>
>> Thanks for volunteering as the RM.
>>
>>
>>
>> After 4 attempts, I finally got the smoke-tester (jdk11) to pass on the
>> 5th attempt.
>>
>>
>>
>> Tested out using some other basic indexing/search sample app code that I
>> was playing around with.
>>
>>
>>
>> Here's my +1 to release Lucene 9.1.0 RC2.
>>
>>
>>
>> SUCCESS! [1:05:31.299375]
>>
>>
>>
>> On Wed, Mar 16, 2022 at 1:27 PM Julie Tibshirani <[email protected]>
>> wrote:
>>
>> Please vote for release candidate 2 for Lucene 9.1.0
>>
>> The artifacts can be downloaded from:
>>
>> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.1.0-RC2-rev-5b522487ba8e0f1002b50a136817ca037aec9686
>>
>> You can run the smoke tester directly with this command:
>>
>> python3 -u dev-tools/scripts/smokeTestRelease.py \
>>
>> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.1.0-RC2-rev-5b522487ba8e0f1002b50a136817ca037aec9686
>>
>> The vote will be open for at least 72 hours i.e. until 2022-03-19 21:00
>> UTC.
>>
>> [ ] +1  approve
>> [ ] +0  no opinion
>> [ ] -1  disapprove (and reason why)
>>
>> Here is my +1.
>>
>>
>>
>> Julie
>>
>>
>>
>>
>> --
>>
>> Anshum Gupta
>>
>>

Reply via email to