Skip to content

Change function name #1299

Change function name

Change function name #1299

Triggered via push November 26, 2024 22:51
Status Failure
Total duration 10m 25s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_EnableKeyTerms: src/Machine/test/Serval.Machine.Shared.Tests/Services/PreprocessBuildJobTests.cs#L119
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: Expected: 5726 But was: 0
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_FilterOutEverything: src/ServiceToolkit/src/SIL.ServiceToolkit/Services/ParallelCorpusPreprocessingService.cs#L93
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.ArgumentException : There must be at least one corpora. (Parameter 'corpora')
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_MixedSource_Text: src/ServiceToolkit/src/SIL.ServiceToolkit/Services/ParallelCorpusPreprocessingService.cs#L93
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.ArgumentException : There must be at least one corpora. (Parameter 'corpora')
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_OnlyParseSelectedBooks_NoBadBooks: src/Machine/test/Serval.Machine.Shared.Tests/Services/PreprocessBuildJobTests.cs#L311
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: Expected: No Exception to be thrown But was: <System.ArgumentException: There must be at least one corpora. (Parameter 'corpora') at SIL.Machine.Corpora.NParallelTextCorpus..ctor(IEnumerable`1 corpora, IComparer`1 rowRefComparer) at SIL.Machine.Corpora.MergedTextCorpus..ctor(IEnumerable`1 corpora, MergeRule mergeRule, Nullable`1 seed) at SIL.Machine.Corpora.CorporaExtensions.ChooseRandom(IEnumerable`1 corpora, Nullable`1 seed) at SIL.ServiceToolkit.Services.ParallelCorpusPreprocessingService.Preprocess(IReadOnlyList`1 corpora, Action`1 train, Action`2 pretranslate, Boolean useKeyTerms) in /home/runner/work/serval/serval/src/ServiceToolkit/src/SIL.ServiceToolkit/Services/ParallelCorpusPreprocessingService.cs:line 93 at Serval.Machine.Shared.Services.PreprocessBuildJob.WriteDataFilesAsync(String buildId, IReadOnlyList`1 corpora, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs:line 110 at Serval.Machine.Shared.Services.PreprocessBuildJob.WriteDataFilesAsync(String buildId, IReadOnlyList`1 corpora, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs:line 143 at Serval.Machine.Shared.Services.PreprocessBuildJob.WriteDataFilesAsync(String buildId, IReadOnlyList`1 corpora, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs:line 143 at Serval.Machine.Shared.Services.PreprocessBuildJob.WriteDataFilesAsync(String buildId, IReadOnlyList`1 corpora, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs:line 143 at Serval.Machine.Shared.Services.PreprocessBuildJob.WriteDataFilesAsync(String buildId, IReadOnlyList`1 corpora, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs:line 143 at Serval.Machine.Shared.Services.PreprocessBuildJob.DoWorkAsync(String engineId, String buildId, IReadOnlyList`1 data, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs:line 44 at Serval.Machine.Shared.Services.HangfireBuildJob`1.RunAsync(String engineId, String buildId, T data, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/HangfireBuildJob.cs:line 54 at Serval.Machine.Shared.Services.HangfireBuildJob`1.RunAsync(String engineId, String buildId, T data, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/HangfireBuildJob.cs:line 118 at Serval.Machine.Shared.Services.HangfireBuildJob`1.RunAsync(String engineId, String buildId, T data, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/HangfireBuildJob.cs:line 123 at Serval.Machine.Shared.Services.PreprocessBuildJobTests.<>c__DisplayClass16_0.<<RunAsync_OnlyParseSelectedBooks_NoBadBooks>b__0>d.MoveNext() in /home/runner/work/serval/serval/src/Machine/test/Serval.Machine.Shared.Tests/Services/PreprocessBuildJobTests.cs:line 313 --- End of stack trace from previous location --- at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted() at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter) at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke) at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_PretranslateAll: src/ServiceToolkit/src/SIL.ServiceToolkit/Services/ParallelCorpusPreprocessingService.cs#L93
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.ArgumentException : There must be at least one corpora. (Parameter 'corpora')
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_PretranslateTextIds: src/ServiceToolkit/src/SIL.ServiceToolkit/Services/ParallelCorpusPreprocessingService.cs#L93
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.ArgumentException : There must be at least one corpora. (Parameter 'corpora')
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_PretranslateTextIdsOverlapWithTrainOnTextIds: src/ServiceToolkit/src/SIL.ServiceToolkit/Services/ParallelCorpusPreprocessingService.cs#L93
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.ArgumentException : There must be at least one corpora. (Parameter 'corpora')
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_TrainAndPretranslateAll: src/ServiceToolkit/src/SIL.ServiceToolkit/Services/ParallelCorpusPreprocessingService.cs#L93
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.ArgumentException : There must be at least one corpora. (Parameter 'corpora')
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_TrainOnAll: src/ServiceToolkit/src/SIL.ServiceToolkit/Services/ParallelCorpusPreprocessingService.cs#L93
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.ArgumentException : There must be at least one corpora. (Parameter 'corpora')
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_TrainOnTextIds: src/ServiceToolkit/src/SIL.ServiceToolkit/Services/ParallelCorpusPreprocessingService.cs#L93
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.ArgumentException : There must be at least one corpora. (Parameter 'corpora')
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_UnknownLanguageTagsNoData: src/Machine/test/Serval.Machine.Shared.Tests/Services/PreprocessBuildJobTests.cs#L241
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: Expected: <System.InvalidOperationException> But was: <System.ArgumentException: There must be at least one corpora. (Parameter 'corpora') at SIL.Machine.Corpora.NParallelTextCorpus..ctor(IEnumerable`1 corpora, IComparer`1 rowRefComparer) at SIL.Machine.Corpora.MergedTextCorpus..ctor(IEnumerable`1 corpora, MergeRule mergeRule, Nullable`1 seed) at SIL.Machine.Corpora.CorporaExtensions.ChooseRandom(IEnumerable`1 corpora, Nullable`1 seed) at SIL.ServiceToolkit.Services.ParallelCorpusPreprocessingService.Preprocess(IReadOnlyList`1 corpora, Action`1 train, Action`2 pretranslate, Boolean useKeyTerms) in /home/runner/work/serval/serval/src/ServiceToolkit/src/SIL.ServiceToolkit/Services/ParallelCorpusPreprocessingService.cs:line 93 at Serval.Machine.Shared.Services.PreprocessBuildJob.WriteDataFilesAsync(String buildId, IReadOnlyList`1 corpora, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs:line 110 at Serval.Machine.Shared.Services.PreprocessBuildJob.WriteDataFilesAsync(String buildId, IReadOnlyList`1 corpora, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs:line 143 at Serval.Machine.Shared.Services.PreprocessBuildJob.WriteDataFilesAsync(String buildId, IReadOnlyList`1 corpora, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs:line 143 at Serval.Machine.Shared.Services.PreprocessBuildJob.WriteDataFilesAsync(String buildId, IReadOnlyList`1 corpora, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs:line 143 at Serval.Machine.Shared.Services.PreprocessBuildJob.WriteDataFilesAsync(String buildId, IReadOnlyList`1 corpora, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs:line 143 at Serval.Machine.Shared.Services.PreprocessBuildJob.DoWorkAsync(String engineId, String buildId, IReadOnlyList`1 data, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs:line 44 at Serval.Machine.Shared.Services.HangfireBuildJob`1.RunAsync(String engineId, String buildId, T data, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/HangfireBuildJob.cs:line 54 at Serval.Machine.Shared.Services.HangfireBuildJob`1.RunAsync(String engineId, String buildId, T data, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/HangfireBuildJob.cs:line 118 at Serval.Machine.Shared.Services.HangfireBuildJob`1.RunAsync(String engineId, String buildId, T data, String buildOptions, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Machine/src/Serval.Machine.Shared/Services/HangfireBuildJob.cs:line 123 at Serval.Machine.Shared.Services.PreprocessBuildJobTests.<>c__DisplayClass13_0.<<RunAsync_UnknownLanguageTagsNoData>b__0>d.MoveNext() in /home/runner/work/serval/serval/src/Machine/test/Serval.Machine.Shared.Tests/Services/PreprocessBuildJobTests.cs:line 243 --- End of stack trace from previous location --- at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted() at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter) at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke) at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
Build
Failed test were found and 'fail-on-error' option is set to true
Build
Process completed with exit code 1.