NightOwl888 opened a new issue, #896:
URL: https://github.com/apache/lucenenet/issues/896

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Task description
   
   This test fails very rarely, but I have confirmed the failure is 100% 
reproducible in both `net48` and `net7.0` on x64.
   
   Here is a case that fails: 
https://dev.azure.com/lucene-net-temp2/Lucene.NET/_build/results?buildId=975&view=ms.vss-test-web.build-test-results-tab&runId=644343&resultId=100779&paneView=debug
   
   The details are:
   
   ```
   Expected: etmdu, Actual: ceiqskp
   
   
   term 31, output[i] = etmdu, termAtt = ceiqskp
   
   
   To reproduce this test result:
   
   
   Option 1:
   
   
   Apply the following assembly-level attributes:
   
   
   [assembly: Lucene.Net.Util.RandomSeed("0x60e51b9510a7774b")]
   [assembly: NUnit.Framework.SetCulture("vai")]
   
   
   Option 2:
   
   
   Use the following .runsettings file:
   
   
   <RunSettings>
     <TestRunParameters>
       <Parameter name="tests:seed" value="0x60e51b9510a7774b" />
       <Parameter name="tests:culture" value="vai" />
     </TestRunParameters>
   </RunSettings>
   See the .runsettings documentation at: 
https://docs.microsoft.com/en-us/visualstudio/test/configure-unit-tests-by-using-a-dot-runsettings-file.
   
   ```
   
   ## Stack Trace
   
   ```console
   BaseTokenStreamTestCase.AssertTokenStreamContents(TokenStream ts, String[] 
output, Int32[] startOffsets, Int32[] endOffsets, String[] types, Int32[] 
posIncrements, Int32[] posLengths, Nullable`1 finalOffset, Nullable`1 
finalPosInc, Boolean[] keywordAtts, Boolean offsetsAreCorrect, Byte[][] 
payloads) line 226
   BaseTokenStreamTestCase.AssertTokenStreamContents(TokenStream ts, String[] 
output, Int32[] startOffsets, Int32[] endOffsets, String[] types, Int32[] 
posIncrements, Int32[] posLengths, Nullable`1 finalOffset, Boolean[] 
keywordAtts, Boolean offsetsAreCorrect) line 407
   BaseTokenStreamTestCase.AssertTokenStreamContents(TokenStream ts, String[] 
output, Int32[] startOffsets, Int32[] endOffsets, String[] types, Int32[] 
posIncrements, Int32[] posLengths, Nullable`1 finalOffset, Boolean 
offsetsAreCorrect) line 412
   BaseTokenStreamTestCase.AssertTokenStreamContents(TokenStream ts, String[] 
output, Int32[] startOffsets, Int32[] endOffsets, String[] types, Int32[] 
posIncrements, Int32[] posLengths, Nullable`1 finalOffset) line 417
   BaseTokenStreamTestCase.AssertTokenStreamContents(TokenStream ts, String[] 
output) line 432
   TestStemmerOverrideFilter.TestRandomRealisticWhiteSpace() line 143
   ```
   
   (with links)
   [at Lucene.Net.TestFramework.Assert.AreEqual(String expected, String actual, 
String message, Object[] args) in 
/_/src/Lucene.Net.TestFramework/Support/TestFramework/Assert.cs:line 
134](https://dev.azure.com/lucene-net-temp2/Lucene.NET/_git/0bfcbd04-4e65-4b34-99ee-7c81708a4f07?path=%2F_%2Fsrc%2FLucene.Net.TestFramework%2FSupport%2FTestFramework%2FAssert.cs&version=GBopennlp-dotnet-core-support-mavenreference&_a=contents&line=134&lineEnd=135&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   [at 
Lucene.Net.Analysis.BaseTokenStreamTestCase.AssertTokenStreamContents(TokenStream
 ts, String[] output, Int32[] startOffsets, Int32[] endOffsets, String[] types, 
Int32[] posIncrements, Int32[] posLengths, Nullable`1 finalOffset, Nullable`1 
finalPosInc, Boolean[] keywordAtts, Boolean offsetsAreCorrect, Byte[][] 
payloads) in 
/_/src/Lucene.Net.TestFramework/Analysis/BaseTokenStreamTestCase.cs:line 
395](https://dev.azure.com/lucene-net-temp2/Lucene.NET/_git/0bfcbd04-4e65-4b34-99ee-7c81708a4f07?path=%2F_%2Fsrc%2FLucene.Net.TestFramework%2FAnalysis%2FBaseTokenStreamTestCase.cs&version=GBopennlp-dotnet-core-support-mavenreference&_a=contents&line=395&lineEnd=396&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   [at 
Lucene.Net.Analysis.Miscellaneous.TestStemmerOverrideFilter.TestRandomRealisticWhiteSpace()
 in 
/_/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestStemmerOverrideFilter.cs:line
 
142](https://dev.azure.com/lucene-net-temp2/Lucene.NET/_git/0bfcbd04-4e65-4b34-99ee-7c81708a4f07?path=%2F_%2Fsrc%2FLucene.Net.Tests.Analysis.Common%2FAnalysis%2FMiscellaneous%2FTestStemmerOverrideFilter.cs&version=GBopennlp-dotnet-core-support-mavenreference&_a=contents&line=142&lineEnd=143&lineStartColumn=1&lineEndColumn=1&lineStyle=plain)
   
   ## Standard Output
   RandomSeed: 0x60e51b9510a7774b
   Culture: vai
   Time Zone: (UTC+00:00) Monrovia, Reykjavik
   Default Codec: CheapBastard (CheapBastardCodec)
   Default Similarity: DefaultSimilarity
   Nightly: False
   Weekly: False
   Slow: True
   Awaits Fix: True
   Directory: random
   Verbose: False
   Random Multiplier: 1


-- 
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: dev-unsubscr...@lucenenet.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to