Skip to content

Another small logic fix; update tests to reflect not generating pretr… #1166

Another small logic fix; update tests to reflect not generating pretr…

Another small logic fix; update tests to reflect not generating pretr… #1166

Triggered via push October 17, 2024 01:41
Status Failure
Total duration 10m 21s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_EnableKeyTerms: src/ServiceToolkit/src/SIL.ServiceToolkit/Utils/ParallelCorpusPreprocessor.cs#L146
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.MissingMethodException : Method not found: 'Void SIL.Machine.Corpora.ParatextBackupTermsCorpus..ctor(System.String, System.Collections.Generic.IEnumerable`1<System.String>, Boolean)'.
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_FilterOutEverything: src/ServiceToolkit/src/SIL.ServiceToolkit/Utils/ParallelCorpusPreprocessor.cs#L146
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.MissingMethodException : Method not found: 'Void SIL.Machine.Corpora.ParatextBackupTermsCorpus..ctor(System.String, System.Collections.Generic.IEnumerable`1<System.String>, Boolean)'.
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_MixedSource_Text: src/ServiceToolkit/src/SIL.ServiceToolkit/Utils/ParallelCorpusPreprocessor.cs#L146
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.MissingMethodException : Method not found: 'Void SIL.Machine.Corpora.ParatextBackupTermsCorpus..ctor(System.String, System.Collections.Generic.IEnumerable`1<System.String>, Boolean)'.
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_PretranslateAll: src/ServiceToolkit/src/SIL.ServiceToolkit/Utils/ParallelCorpusPreprocessor.cs#L146
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.MissingMethodException : Method not found: 'Void SIL.Machine.Corpora.ParatextBackupTermsCorpus..ctor(System.String, System.Collections.Generic.IEnumerable`1<System.String>, Boolean)'.
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_PretranslateChapters: src/ServiceToolkit/src/SIL.ServiceToolkit/Utils/ParallelCorpusPreprocessor.cs#L146
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.MissingMethodException : Method not found: 'Void SIL.Machine.Corpora.ParatextBackupTermsCorpus..ctor(System.String, System.Collections.Generic.IEnumerable`1<System.String>, Boolean)'.
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_PretranslateTextIds: src/ServiceToolkit/src/SIL.ServiceToolkit/Utils/ParallelCorpusPreprocessor.cs#L146
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.MissingMethodException : Method not found: 'Void SIL.Machine.Corpora.ParatextBackupTermsCorpus..ctor(System.String, System.Collections.Generic.IEnumerable`1<System.String>, Boolean)'.
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_PretranslateTextIdsOverlapWithTrainOnTextIds: src/ServiceToolkit/src/SIL.ServiceToolkit/Utils/ParallelCorpusPreprocessor.cs#L146
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.MissingMethodException : Method not found: 'Void SIL.Machine.Corpora.ParatextBackupTermsCorpus..ctor(System.String, System.Collections.Generic.IEnumerable`1<System.String>, Boolean)'.
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_TrainAndPretranslateAll: src/ServiceToolkit/src/SIL.ServiceToolkit/Utils/ParallelCorpusPreprocessor.cs#L146
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.MissingMethodException : Method not found: 'Void SIL.Machine.Corpora.ParatextBackupTermsCorpus..ctor(System.String, System.Collections.Generic.IEnumerable`1<System.String>, Boolean)'.
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_TrainOnAll: src/ServiceToolkit/src/SIL.ServiceToolkit/Utils/ParallelCorpusPreprocessor.cs#L146
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.MissingMethodException : Method not found: 'Void SIL.Machine.Corpora.ParatextBackupTermsCorpus..ctor(System.String, System.Collections.Generic.IEnumerable`1<System.String>, Boolean)'.
Serval.Machine.Shared.Services.PreprocessBuildJobTests ► RunAsync_TrainOnTextIds: src/ServiceToolkit/src/SIL.ServiceToolkit/Utils/ParallelCorpusPreprocessor.cs#L146
Failed test found in: src/Machine/test/Serval.Machine.Shared.Tests/TestResults/test-results.trx Error: System.MissingMethodException : Method not found: 'Void SIL.Machine.Corpora.ParatextBackupTermsCorpus..ctor(System.String, System.Collections.Generic.IEnumerable`1<System.String>, Boolean)'.
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.MissingMethodException: Method not found: 'Void SIL.Machine.Corpora.ParatextBackupTermsCorpus..ctor(System.String, System.Collections.Generic.IEnumerable`1<System.String>, Boolean)'. at SIL.ServiceToolkit.Services.CorpusService.CreateTermCorpora(IReadOnlyList`1 files)+MoveNext() at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Boolean& found) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at SIL.ServiceToolkit.Utils.ParallelCorpusPreprocessor.Preprocess(IReadOnlyList`1 corpora, Action`1 train, Action`2 pretranslate, Boolean useKeyTerms) in /home/runner/work/serval/serval/src/ServiceToolkit/src/SIL.ServiceToolkit/Utils/ParallelCorpusPreprocessor.cs:line 146 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 108 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 135 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 135 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 135 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 135 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 42 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.