Skip to content

Use OperationCanceledException #1390

Use OperationCanceledException

Use OperationCanceledException #1390

Triggered via push December 12, 2024 14:45
Status Failure
Total duration 10m 33s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
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.OperationCanceledException: At least one language code in build build1 is unknown to the base model, and the data specified for training was empty. Build canceled. 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 66 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 94 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.
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636