lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Sokolov <msoko...@gmail.com>
Subject Re: [JENKINS] Lucene » Lucene-Check-main - Build # 3039 - Unstable!
Date Sat, 24 Jul 2021 19:24:05 GMT
It turned out to be a minor test issue that crept in recently; I pushed a fix.

On Sat, Jul 24, 2021 at 2:58 PM Michael Sokolov <msokolov@gmail.com> wrote:
>
> This seed reproduced. It seems to be a degenerate random test case
> where all the test vectors are the same one-dimensional value [1.0].
> I'm not yet sure whether we need to fix the test or the implementation
>
> On Fri, Jul 23, 2021 at 9:09 PM Apache Jenkins Server
> <jenkins@builds.apache.org> wrote:
> >
> > Build: https://ci-builds.apache.org/job/Lucene/job/Lucene-Check-main/3039/
> >
> > 1 tests failed.
> > FAILED:  org.apache.lucene.util.hnsw.TestHnsw.testReadWrite
> >
> > Error Message:
> > java.lang.AssertionError: arcs differ for node 0 expected:<[1]> but was:<[1,
2, 3, 35, 4, 5, 6, 7, 8, 9]>
> >
> > Stack Trace:
> > java.lang.AssertionError: arcs differ for node 0 expected:<[1]> but was:<[1,
2, 3, 35, 4, 5, 6, 7, 8, 9]>
> >         at __randomizedtesting.SeedInfo.seed([DD596F6803B4C175:F987FE3048D2E603]:0)
> >         at org.junit.Assert.fail(Assert.java:89)
> >         at org.junit.Assert.failNotEquals(Assert.java:835)
> >         at org.junit.Assert.assertEquals(Assert.java:120)
> >         at org.apache.lucene.util.hnsw.TestHnsw.assertGraphEqual(TestHnsw.java:407)
> >         at org.apache.lucene.util.hnsw.TestHnsw.testReadWrite(TestHnsw.java:116)
> >         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> >         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> >         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> >         at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1754)
> >         at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:942)
> >         at com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:978)
> >         at com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:992)
> >         at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:44)
> >         at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
> >         at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:45)
> >         at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
> >         at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
> >         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.forkTimeoutingTask(ThreadLeakControl.java:819)
> >         at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:470)
> >         at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:951)
> >         at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:836)
> >         at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:887)
> >         at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:898)
> >         at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
> >         at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
> >         at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
> >         at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
> >         at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
> >         at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
> >         at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
> >         at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
> >         at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
> >         at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
> >         at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
> >         at org.apache.lucene.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)
> >
> >
> >
> >
> > Build Log:
> > [...truncated 1280 lines...]
> > ERROR: The following test(s) have failed:
> >   - org.apache.lucene.util.hnsw.TestHnsw.testReadWrite (:lucene:core)
> >     Test output: /home/jenkins/jenkins-slave/workspace/Lucene/Lucene-Check-main/lucene/core/build/test-results/test/outputs/OUTPUT-org.apache.lucene.util.hnsw.TestHnsw.txt
> >     Reproduce with: gradlew :lucene:core:test --tests "org.apache.lucene.util.hnsw.TestHnsw.testReadWrite"
-Ptests.jvms=4 -Ptests.haltonfailure=false -Ptests.jvmargs=-XX:TieredStopAtLevel=1 -Ptests.seed=DD596F6803B4C175
-Ptests.multiplier=2 -Ptests.badapples=false -Ptests.file.encoding=UTF-8
> >
> >
> > Deprecated Gradle features were used in this build, making it incompatible with
Gradle 7.0.
> > Use '--warning-mode all' to show the individual deprecation warnings.
> > See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings
> >
> > BUILD SUCCESSFUL in 17m 2s
> > 721 actionable tasks: 721 executed
> > Build step 'Invoke Gradle script' changed build result to SUCCESS
> > Archiving artifacts
> > java.lang.InterruptedException: no matches found within 10000
> >         at hudson.FilePath$ValidateAntFileMask.hasMatch(FilePath.java:3066)
> >         at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:2945)
> >         at hudson.FilePath$ValidateAntFileMask.invoke(FilePath.java:2926)
> >         at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3313)
> > Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to lucene2
> >                 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800)
> >                 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
> >                 at hudson.remoting.Channel.call(Channel.java:1001)
> >                 at hudson.FilePath.act(FilePath.java:1157)
> >                 at hudson.FilePath.act(FilePath.java:1146)
> >                 at hudson.FilePath.validateAntFileMask(FilePath.java:2924)
> >                 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:270)
> >                 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)
> >                 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
> >                 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
> >                 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753)
> >                 at hudson.model.Build$BuildExecution.post2(Build.java:177)
> >                 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:698)
> >                 at hudson.model.Run.execute(Run.java:1932)
> >                 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
> >                 at hudson.model.ResourceController.execute(ResourceController.java:97)
> >                 at hudson.model.Executor.run(Executor.java:429)
> > Caused: hudson.FilePath$TunneledInterruptedException
> >         at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3315)
> >         at hudson.remoting.UserRequest.perform(UserRequest.java:211)
> >         at hudson.remoting.UserRequest.perform(UserRequest.java:54)
> >         at hudson.remoting.Request$2.run(Request.java:375)
> >         at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73)
> >         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> >         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> >         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> >         at java.lang.Thread.run(Thread.java:748)
> > Caused: java.lang.InterruptedException: java.lang.InterruptedException: no matches
found within 10000
> >         at hudson.FilePath.act(FilePath.java:1159)
> >         at hudson.FilePath.act(FilePath.java:1146)
> >         at hudson.FilePath.validateAntFileMask(FilePath.java:2924)
> >         at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:270)
> >         at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)
> >         at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
> >         at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
> >         at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753)
> >         at hudson.model.Build$BuildExecution.post2(Build.java:177)
> >         at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:698)
> >         at hudson.model.Run.execute(Run.java:1932)
> >         at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
> >         at hudson.model.ResourceController.execute(ResourceController.java:97)
> >         at hudson.model.Executor.run(Executor.java:429)
> > No artifacts found that match the file pattern "**/*.events,heapdumps/**,**/hs_err_pid*".
Configuration error?
> > Recording test results
> > [Checks API] No suitable checks publisher found.
> > Build step 'Publish JUnit test result report' changed build result to UNSTABLE
> > Email was triggered for: Unstable (Test Failures)
> > Sending email for trigger: Unstable (Test Failures)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: builds-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: builds-help@lucene.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message