Skip to content

Pretranslate even if there isn't a target corpus. #1134

Pretranslate even if there isn't a target corpus.

Pretranslate even if there isn't a target corpus. #1134

Triggered via push October 11, 2024 14:26
Status Failure
Total duration 10m 20s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Serval.Translation.Services.EngineServiceTests ► StartBuildAsync_ScriptureRangeEmptyString: src/Serval/test/Serval.Translation.Tests/Services/EngineServiceTests.cs#L501
Failed test found in: src/Serval/test/Serval.Translation.Tests/TestResults/test-results.trx Error: NSubstitute.Exceptions.ReceivedCallsException : Expected to receive a call matching: StartBuildAsync({ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "corpus1", "sourceCorpora": [ { "language": "es", "files": [ { "location": "file1.zip", "format": "FILE_FORMAT_PARATEXT", "textId": "file1.zip" } ] } ], "targetCorpora": [ { "language": "en", "files": [ { "location": "file2.zip", "format": "FILE_FORMAT_PARATEXT", "textId": "file2.zip" } ] } ] } ] }, <null>, <null>, System.Threading.CancellationToken) Actually received no matching calls. Received 1 non-matching call (non-matching arguments indicated with '*' characters): StartBuildAsync(*{ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "corpus1", "sourceCorpora": [ { "language": "es", "pretranslateAll": true, "files": [ { "location": "file1.zip", "format": "FILE_FORMAT_PARATEXT", "textId": "file1.zip" } ] } ], "targetCorpora": [ { "language": "en", "pretranslateAll": true, "files": [ { "location": "file2.zip", "format": "FILE_FORMAT_PARATEXT", "textId": "file2.zip" } ] } ] } ] }*, <null>, <null>, System.Threading.CancellationToken)
Serval.Translation.Services.EngineServiceTests ► StartBuildAsync_ScriptureRangeSpecified: src/Serval/test/Serval.Translation.Tests/Services/EngineServiceTests.cs#L410
Failed test found in: src/Serval/test/Serval.Translation.Tests/TestResults/test-results.trx Error: NSubstitute.Exceptions.ReceivedCallsException : Expected to receive a call matching: StartBuildAsync({ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "corpus1", "sourceCorpora": [ { "language": "es", "trainOnChapters": { "MAT": { "chapters": [ 1 ] }, "MRK": { } }, "files": [ { "location": "file1.zip", "format": "FILE_FORMAT_PARATEXT", "textId": "file1.zip" } ] } ], "targetCorpora": [ { "language": "en", "trainOnChapters": { "MAT": { "chapters": [ 1 ] }, "MRK": { } }, "files": [ { "location": "file2.zip", "format": "FILE_FORMAT_PARATEXT", "textId": "file2.zip" } ] } ] } ] }, <null>, <null>, System.Threading.CancellationToken) Actually received no matching calls. Received 1 non-matching call (non-matching arguments indicated with '*' characters): StartBuildAsync(*{ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "corpus1", "sourceCorpora": [ { "language": "es", "pretranslateAll": true, "trainOnChapters": { "MAT": { "chapters": [ 1 ] }, "MRK": { } }, "files": [ { "location": "file1.zip", "format": "FILE_FORMAT_PARATEXT", "textId": "file1.zip" } ] } ], "targetCorpora": [ { "language": "en", "pretranslateAll": true, "trainOnChapters": { "MAT": { "chapters": [ 1 ] }, "MRK": { } }, "files": [ { "location": "file2.zip", "format": "FILE_FORMAT_PARATEXT", "textId": "file2.zip" } ] } ] } ] }*, <null>, <null>, System.Threading.CancellationToken)
Serval.Translation.Services.EngineServiceTests ► StartBuildAsync_TextIdsEmpty: src/Serval/test/Serval.Translation.Tests/Services/EngineServiceTests.cs#L181
Failed test found in: src/Serval/test/Serval.Translation.Tests/TestResults/test-results.trx Error: NSubstitute.Exceptions.ReceivedCallsException : Expected to receive a call matching: StartBuildAsync({ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "corpus1", "sourceCorpora": [ { "language": "es", "files": [ { "location": "file1.txt", "textId": "text1" } ] } ], "targetCorpora": [ { "language": "en", "files": [ { "location": "file2.txt", "textId": "text1" } ] } ] } ] }, <null>, <null>, System.Threading.CancellationToken) Actually received no matching calls. Received 1 non-matching call (non-matching arguments indicated with '*' characters): StartBuildAsync(*{ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "corpus1", "sourceCorpora": [ { "language": "es", "pretranslateAll": true, "files": [ { "location": "file1.txt", "textId": "text1" } ] } ], "targetCorpora": [ { "language": "en", "pretranslateAll": true, "files": [ { "location": "file2.txt", "textId": "text1" } ] } ] } ] }*, <null>, <null>, System.Threading.CancellationToken)
Serval.Translation.Services.EngineServiceTests ► StartBuildAsync_TextIdsNotSpecified: src/Serval/test/Serval.Translation.Tests/Services/EngineServiceTests.cs#L323
Failed test found in: src/Serval/test/Serval.Translation.Tests/TestResults/test-results.trx Error: NSubstitute.Exceptions.ReceivedCallsException : Expected to receive a call matching: StartBuildAsync({ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "corpus1", "sourceCorpora": [ { "language": "es", "files": [ { "location": "file1.txt", "textId": "text1" } ] } ], "targetCorpora": [ { "language": "en", "files": [ { "location": "file2.txt", "textId": "text1" } ] } ] } ] }, <null>, <null>, System.Threading.CancellationToken) Actually received no matching calls. Received 1 non-matching call (non-matching arguments indicated with '*' characters): StartBuildAsync(*{ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "corpus1", "sourceCorpora": [ { "language": "es", "pretranslateAll": true, "files": [ { "location": "file1.txt", "textId": "text1" } ] } ], "targetCorpora": [ { "language": "en", "pretranslateAll": true, "files": [ { "location": "file2.txt", "textId": "text1" } ] } ] } ] }*, <null>, <null>, System.Threading.CancellationToken)
Serval.Translation.Services.EngineServiceTests ► StartBuildAsync_TextIdsPopulated: src/Serval/test/Serval.Translation.Tests/Services/EngineServiceTests.cs#L252
Failed test found in: src/Serval/test/Serval.Translation.Tests/TestResults/test-results.trx Error: NSubstitute.Exceptions.ReceivedCallsException : Expected to receive a call matching: StartBuildAsync({ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "corpus1", "sourceCorpora": [ { "language": "es", "trainOnTextIds": [ "text1" ], "files": [ { "location": "file1.txt", "textId": "text1" } ] } ], "targetCorpora": [ { "language": "en", "trainOnTextIds": [ "text1" ], "files": [ { "location": "file2.txt", "textId": "text1" } ] } ] } ] }, <null>, <null>, System.Threading.CancellationToken) Actually received no matching calls. Received 1 non-matching call (non-matching arguments indicated with '*' characters): StartBuildAsync(*{ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "corpus1", "sourceCorpora": [ { "language": "es", "pretranslateAll": true, "trainOnTextIds": [ "text1" ], "files": [ { "location": "file1.txt", "textId": "text1" } ] } ], "targetCorpora": [ { "language": "en", "pretranslateAll": true, "trainOnTextIds": [ "text1" ], "files": [ { "location": "file2.txt", "textId": "text1" } ] } ] } ] }*, <null>, <null>, System.Threading.CancellationToken)
Serval.Translation.Services.EngineServiceTests ► StartBuildAsync_TrainOnNotSpecified: src/Serval/test/Serval.Translation.Tests/Services/EngineServiceTests.cs#L112
Failed test found in: src/Serval/test/Serval.Translation.Tests/TestResults/test-results.trx Error: NSubstitute.Exceptions.ReceivedCallsException : Expected to receive a call matching: StartBuildAsync({ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "corpus1", "sourceCorpora": [ { "language": "es", "files": [ { "location": "file1.txt", "textId": "text1" } ] } ], "targetCorpora": [ { "language": "en", "files": [ { "location": "file2.txt", "textId": "text1" } ] } ] } ] }, <null>, <null>, System.Threading.CancellationToken) Actually received no matching calls. Received 1 non-matching call (non-matching arguments indicated with '*' characters): StartBuildAsync(*{ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "corpus1", "sourceCorpora": [ { "language": "es", "trainOnAll": true, "pretranslateAll": true, "files": [ { "location": "file1.txt", "textId": "text1" } ] } ], "targetCorpora": [ { "language": "en", "trainOnAll": true, "pretranslateAll": true, "files": [ { "location": "file2.txt", "textId": "text1" } ] } ] } ] }*, <null>, <null>, System.Threading.CancellationToken)
Build
Failed test were found and 'fail-on-error' option is set to true
Build
Process completed with exit code 1.