Skip to content

Stabilize e2e tests #57

Stabilize e2e tests

Stabilize e2e tests #57

GitHub Actions / Integration Tests windows-latest for Mercurial 3 failed Apr 29, 2024 in 0s

2 fail, 59 pass in 24m 34s

61 tests  ±0   59 ✅ +22   24m 34s ⏱️ + 24m 17s
 1 suites ±0    0 💤 ± 0 
 1 files   ±0    2 ❌  - 22 

Results for commit 9ff712c. ± Comparison against earlier commit 248a5ff.

Annotations

Check warning on line 0 in Testing.ApiTests.ResetPojectRaceCondition

See this annotation in the file changed.

@github-actions github-actions / Integration Tests windows-latest for Mercurial 3

SimultaneousResetsDontResultIn404s (Testing.ApiTests.ResetPojectRaceCondition) failed

./test-results\runneradmin_fv-az731-413_2024-04-29_13_02_21.trx [took 0s]
Raw output
System.IO.IOException : The file 'C:\Users\runneradmin\AppData\Local\Temp\SR_Tests\_template-repo_\.hg\last-message.txt' already exists.   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.FileStream..ctor(String path, FileStreamOptions options)
   at System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry source, String destinationFileName, Boolean overwrite)
   at System.IO.Compression.ZipFileExtensions.ExtractRelativeToDirectory(ZipArchiveEntry source, String destinationDirectoryName, Boolean overwrite)
   at System.IO.Compression.ZipFileExtensions.ExtractToDirectory(ZipArchive source, String destinationDirectoryName, Boolean overwriteFiles)
   at System.IO.Compression.ZipFile.ExtractToDirectory(Stream source, String destinationDirectoryName, Encoding entryNameEncoding, Boolean overwriteFiles)
   at Testing.Fixtures.IntegrationFixture.InitTemplateRepo() in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\Fixtures\IntegrationFixture.cs:line 50
   at Testing.Fixtures.IntegrationFixture.InitializeAsync() in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\Fixtures\IntegrationFixture.cs:line 32

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Tests windows-latest for Mercurial 3

SendNewProject_Big (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./test-results\runneradmin_fv-az731-413_2024-04-29_13_02_21.trx [took 2m 24s]
Raw output
Shouldly.ShouldAssertException : srOutput
    should not contain (case insensitive comparison)
"abort"
    but was actually
"Sync success: No changes from others
New long SHA: 3598be50ad0116f7355bf7a5a19b06368608b300Progress..."   at Testing.Services.Utils.ValidateSendReceiveOutput(String srOutput) in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\Services\Utils.cs:line 68
   at Testing.Services.SendReceiveService.SendReceiveProject(SendReceiveParams sendReceiveParams, SendReceiveAuth auth, String commitMessage, Boolean validateOutput) in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\Services\SendReceiveService.cs:line 197
   at Testing.SyncReverseProxy.SendReceiveServiceTests.SendNewProject(Int32 totalSizeMb, Int32 fileCount) in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\SyncReverseProxy\SendReceiveServiceTests.cs:line 213
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Testing.SyncReverseProxy.SendReceiveServiceTests.SendNewProject(Int32 totalSizeMb, Int32 fileCount) in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\SyncReverseProxy\SendReceiveServiceTests.cs:line 214
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
   at Testing.SyncReverseProxy.SendReceiveServiceTests.SendNewProject_Big() in D:\a\languageforge-lexbox\languageforge-lexbox\backend\Testing\SyncReverseProxy\SendReceiveServiceTests.cs:line 185
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)