Skip to content

Ensure tests run on ci #241

Ensure tests run on ci

Ensure tests run on ci #241

GitHub Actions / LCM Tests failed Jul 25, 2024 in 0s

7 fail, 31 skipped, 2 769 pass in 1m 29s

    7 files  +    7      7 suites  +7   1m 29s ⏱️ + 1m 29s
2 807 tests +2 807  2 769 ✅ +2 769  31 💤 +31  7 ❌ +7 
5 287 runs  +5 287  5 227 ✅ +5 227  52 💤 +52  8 ❌ +8 

Results for commit 6919afc. ± Comparison against earlier commit e01079d.

Annotations

Check warning on line 0 in SIL.LCModel.FixData.Tests.FwDataFixerTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

All 2 runs failed: HomographNumberInconsistency (SIL.LCModel.FixData.Tests.FwDataFixerTests)

artifacts/Test results (ubuntu-latest)/_fv-az702-134_2024-07-25_06_48_43.trx [took 0s]
artifacts/Test results (windows-latest)/runneradmin_fv-az980-229_2024-07-25_06_49_49.trx [took 0s]
Raw output
  Homograph# is unexpectedly different.
  String lengths are both 1. Strings differ at index 0.
  Expected: "1"
  But was:  "0"
  -----------^
  at SIL.LCModel.FixData.Tests.FwDataFixerTests.VerifyHn (System.Xml.XmlDocument xmlDoc, System.String guid, System.String expectedHn) [0x00073] in <e055ce4cf55247f8a36c2fa4bb6af7f7>:0 
  at SIL.LCModel.FixData.Tests.FwDataFixerTests.HomographNumberInconsistency () [0x00358] in <e055ce4cf55247f8a36c2fa4bb6af7f7>:0 

1)   at SIL.LCModel.FixData.Tests.FwDataFixerTests.VerifyHn (System.Xml.XmlDocument xmlDoc, System.String guid, System.String expectedHn) [0x00000] in <e055ce4cf55247f8a36c2fa4bb6af7f7>:0 
  at SIL.LCModel.FixData.Tests.FwDataFixerTests.HomographNumberInconsistency () [0x00000] in <e055ce4cf55247f8a36c2fa4bb6af7f7>:0

Check warning on line 0 in SIL.LCModel.Core.Text.CustomIcuFallbackTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 2 runs failed: InitIcuDataDir_CustomIcuVersion (SIL.LCModel.Core.Text.CustomIcuFallbackTests)

artifacts/Test results (windows-latest)/runneradmin_fv-az980-229_2024-07-25_06_49_49[1].trx [took 1s]
Raw output
  Expected string length 28 but was 0. Strings differ at index 0.
  Expected: "70.1\r\nNON_SPACING_MARK\r\nTrue"
  But was:  <string.Empty>
  -----------^
   at SIL.LCModel.Core.Text.CustomIcuFallbackTests.InitIcuDataDir_CustomIcuVersion() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\Text\CustomIcuFallbackTests.cs:line 189

1)    at SIL.LCModel.Core.Text.CustomIcuFallbackTests.InitIcuDataDir_CustomIcuVersion() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\Text\CustomIcuFallbackTests.cs:line 189

Check warning on line 0 in SIL.LCModel.Core.Text.CustomIcuFallbackTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 2 runs failed: InitIcuDataDir_FallbackDefaultIcuVersion (SIL.LCModel.Core.Text.CustomIcuFallbackTests)

artifacts/Test results (windows-latest)/runneradmin_fv-az980-229_2024-07-25_06_49_49[1].trx [took 0s]
Raw output
  Expected string length 29 but was 0. Strings differ at index 0.
  Expected: "62.2\r\nPRIVATE_USE_CHAR\r\nFalse"
  But was:  <string.Empty>
  -----------^
   at SIL.LCModel.Core.Text.CustomIcuFallbackTests.InitIcuDataDir_FallbackDefaultIcuVersion() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\Text\CustomIcuFallbackTests.cs:line 211

1)    at SIL.LCModel.Core.Text.CustomIcuFallbackTests.InitIcuDataDir_FallbackDefaultIcuVersion() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\Text\CustomIcuFallbackTests.cs:line 211

Check warning on line 0 in SIL.LCModel.Core.Text.CustomIcuFallbackTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 2 runs failed: InitIcuDataDir_NoIcuLibrary (SIL.LCModel.Core.Text.CustomIcuFallbackTests)

artifacts/Test results (windows-latest)/runneradmin_fv-az980-229_2024-07-25_06_49_49[1].trx [took 0s]
Raw output
  Expected: String containing "Unhandled Exception: System.IO.FileLoadException: Can't load ICU library (version 0)"
  But was:  "
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'SIL.Core, Version=12.0.0.0, Culture=neutral, PublicKeyToken=cab3c8c5232dfcf2' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at SIL.LCModel.Core.Text.CustomIcu.InitIcuDataDir()
   at Icu.Tests.TestHelper.Main(String[] args)
"
   at SIL.LCModel.Core.Text.CustomIcuFallbackTests.InitIcuDataDir_NoIcuLibrary() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\Text\CustomIcuFallbackTests.cs:line 240

1)    at SIL.LCModel.Core.Text.CustomIcuFallbackTests.InitIcuDataDir_NoIcuLibrary() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\Text\CustomIcuFallbackTests.cs:line 240

Check warning on line 0 in SIL.LCModel.DomainServices.AnalysisGuessServicesTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 2 runs failed: ExpectedGuessForWord_GuessUpperAndLowerGenerated (SIL.LCModel.DomainServices.AnalysisGuessServicesTests)

artifacts/Test results (ubuntu-latest)/_fv-az702-134_2024-07-25_06_48_46[1].trx [took 0s]
Raw output
System.InvalidOperationException : Failed to compare two elements in the array.
  ----> System.ArgumentNullException : Value cannot be null.
Parameter name: key  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) [0x00023] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00013] in <d636f104d58046fd9b195699bcb1a744>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServices.GetSortedAnalysisGuesses (SIL.LCModel.IWfiWordform wordform, System.Int32 ws, SIL.LCModel.DomainServices.AnalysisOccurrence occurrence, System.Boolean onlyIndexZeroLowercaseMatching) [0x000d8] in <008c4b7970e54da29f6178169405e863>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServices.GetSortedAnalysisGuesses (SIL.LCModel.IWfiWordform wordform, SIL.LCModel.DomainServices.AnalysisOccurrence occurrence, System.Boolean onlyIndexZeroLowercaseMatching) [0x0001d] in <008c4b7970e54da29f6178169405e863>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServicesTests.ExpectedGuessForWord_GuessUpperAndLowerGenerated () [0x00083] in <35463bf27fe646afa4ecda2191735cd2>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <d636f104d58046fd9b195699bcb1a744>:0 
--ArgumentNullException
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <d636f104d58046fd9b195699bcb1a744>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServices.ComparePriorityCounts (SIL.LCModel.IAnalysis a1, SIL.LCModel.IAnalysis a2, SIL.LCModel.IAnalysis previous, System.Collections.Generic.Dictionary`2[TKey,TValue] counts) [0x00075] in <008c4b7970e54da29f6178169405e863>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServices+<>c__DisplayClass46_0.<GetSortedAnalysisGuesses>b__0 (SIL.LCModel.IWfiAnalysis x, SIL.LCModel.IWfiAnalysis y) [0x00000] in <008c4b7970e54da29f6178169405e863>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].SwapIfGreater (T[] keys, System.Comparison`1[T] comparer, System.Int32 a, System.Int32 b) [0x00004] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, System.Comparison`1[T] comparer) [0x00019] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, System.Comparison`1[T] comparer) [0x00013] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) [0x00000] in <d636f104d58046fd9b195699bcb1a744>:0

Check warning on line 0 in SIL.LCModel.DomainServices.AnalysisGuessServicesTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 2 runs failed: ExpectedAnalysisGuess_ForSentenceInitialPositionLowerCaseAlternative (SIL.LCModel.DomainServices.AnalysisGuessServicesTests)

artifacts/Test results (ubuntu-latest)/_fv-az702-134_2024-07-25_06_48_46[1].trx [took 0s]
Raw output
System.InvalidOperationException : Failed to compare two elements in the array.
  ----> System.ArgumentNullException : Value cannot be null.
Parameter name: key  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) [0x00023] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00013] in <d636f104d58046fd9b195699bcb1a744>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServices.GetSortedAnalysisGuesses (SIL.LCModel.IWfiWordform wordform, System.Int32 ws, SIL.LCModel.DomainServices.AnalysisOccurrence occurrence, System.Boolean onlyIndexZeroLowercaseMatching) [0x000d8] in <008c4b7970e54da29f6178169405e863>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServices.GetSortedAnalysisGuesses (SIL.LCModel.IWfiWordform wordform, SIL.LCModel.DomainServices.AnalysisOccurrence occurrence, System.Boolean onlyIndexZeroLowercaseMatching) [0x0001d] in <008c4b7970e54da29f6178169405e863>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServicesTests.ExpectedAnalysisGuess_ForSentenceInitialPositionLowerCaseAlternative () [0x00059] in <35463bf27fe646afa4ecda2191735cd2>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <d636f104d58046fd9b195699bcb1a744>:0 
--ArgumentNullException
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <d636f104d58046fd9b195699bcb1a744>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServices.ComparePriorityCounts (SIL.LCModel.IAnalysis a1, SIL.LCModel.IAnalysis a2, SIL.LCModel.IAnalysis previous, System.Collections.Generic.Dictionary`2[TKey,TValue] counts) [0x00075] in <008c4b7970e54da29f6178169405e863>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServices+<>c__DisplayClass46_0.<GetSortedAnalysisGuesses>b__0 (SIL.LCModel.IWfiAnalysis x, SIL.LCModel.IWfiAnalysis y) [0x00000] in <008c4b7970e54da29f6178169405e863>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].SwapIfGreater (T[] keys, System.Comparison`1[T] comparer, System.Int32 a, System.Int32 b) [0x00004] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, System.Comparison`1[T] comparer) [0x00019] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, System.Comparison`1[T] comparer) [0x00013] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) [0x00000] in <d636f104d58046fd9b195699bcb1a744>:0

Check warning on line 0 in SIL.LCModel.DomainServices.AnalysisGuessServicesTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 2 runs failed: ExpectedGuessForWord_GuessUpperAndLowerGenerated2 (SIL.LCModel.DomainServices.AnalysisGuessServicesTests)

artifacts/Test results (ubuntu-latest)/_fv-az702-134_2024-07-25_06_48_46[1].trx [took 0s]
Raw output
System.InvalidOperationException : Failed to compare two elements in the array.
  ----> System.ArgumentNullException : Value cannot be null.
Parameter name: key  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) [0x00023] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00013] in <d636f104d58046fd9b195699bcb1a744>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServices.GetSortedAnalysisGuesses (SIL.LCModel.IWfiWordform wordform, System.Int32 ws, SIL.LCModel.DomainServices.AnalysisOccurrence occurrence, System.Boolean onlyIndexZeroLowercaseMatching) [0x000d8] in <008c4b7970e54da29f6178169405e863>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServices.GetSortedAnalysisGuesses (SIL.LCModel.IWfiWordform wordform, SIL.LCModel.DomainServices.AnalysisOccurrence occurrence, System.Boolean onlyIndexZeroLowercaseMatching) [0x0001d] in <008c4b7970e54da29f6178169405e863>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServicesTests.ExpectedGuessForWord_GuessUpperAndLowerGenerated2 () [0x00083] in <35463bf27fe646afa4ecda2191735cd2>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <d636f104d58046fd9b195699bcb1a744>:0 
--ArgumentNullException
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <d636f104d58046fd9b195699bcb1a744>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServices.ComparePriorityCounts (SIL.LCModel.IAnalysis a1, SIL.LCModel.IAnalysis a2, SIL.LCModel.IAnalysis previous, System.Collections.Generic.Dictionary`2[TKey,TValue] counts) [0x00075] in <008c4b7970e54da29f6178169405e863>:0 
  at SIL.LCModel.DomainServices.AnalysisGuessServices+<>c__DisplayClass46_0.<GetSortedAnalysisGuesses>b__0 (SIL.LCModel.IWfiAnalysis x, SIL.LCModel.IWfiAnalysis y) [0x00000] in <008c4b7970e54da29f6178169405e863>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].SwapIfGreater (T[] keys, System.Comparison`1[T] comparer, System.Int32 a, System.Int32 b) [0x00004] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, System.Comparison`1[T] comparer) [0x00019] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, System.Comparison`1[T] comparer) [0x00013] in <d636f104d58046fd9b195699bcb1a744>:0 
  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) [0x00000] in <d636f104d58046fd9b195699bcb1a744>:0