Skip to content

Stabilize e2e tests #57

Stabilize e2e tests

Stabilize e2e tests #57

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

2 fail, 59 pass in 22m 13s

61 tests  ±0   59 ✅ +5   22m 13s ⏱️ + 9m 10s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    2 ❌  - 5 

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

Annotations

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Tests ubuntu-latest for Mercurial 6

CanCloneSendReceive(hgProtocol: Hgweb, user: "manager") (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./test-results/_fv-az1014-326_2024-04-29_13_08_09.trx [took 43s]
Raw output
System.ApplicationException : transaction abort!
rollback completed
abort: HTTP request error (incomplete response)
(this may be an intermittent network failure; if the error persists, consider contacting the network or server operator)

hg command was
clone -U  "https://manager:********@hg-staging.languageforge.org:443/sena-3" "/tmp/SR_Tests/CanCloneSendReceive/7-c2cd66cc/sena-3" 
hg version is Mercurial Distributed SCM (version 6.5.1)
(see https://mercurial-scm.org for more information)

   at Chorus.VcsDrivers.Mercurial.HgRepository.Execute(Boolean failureIsOk, Boolean noChangeIsOk, Int32 secondsBeforeTimeout, String cmd, String[] rest)
   at Chorus.VcsDrivers.Mercurial.HgRepository.CloneFromSource(String sourceLabel, String sourceUri)
   at Chorus.VcsDrivers.Mercurial.HgNormalTransport.Clone()
   at Chorus.VcsDrivers.Mercurial.HgRepository.Clone(RepositoryAddress source, String targetPath, IProgress progress)
   at LfMergeBridge.LanguageForgeMakeCloneActionHandler.LibTriboroughBridgeChorusPlugin.Infrastructure.IBridgeActionTypeHandler.StartWorking(IProgress progress, Dictionary`2 options, String& somethingForClient)
   at LfMergeBridge.LfMergeBridge.Execute(String actionType, IProgress progress, Dictionary`2 options, String& somethingForClient)
   at Testing.Services.SendReceiveService.CloneProject(SendReceiveParams sendReceiveParams, SendReceiveAuth auth, Boolean validateOutput) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Services/SendReceiveService.cs:line 139
   at Testing.Services.SendReceiveService.RunCloneSendReceive(SendReceiveParams sendReceiveParams, SendReceiveAuth auth) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Services/SendReceiveService.cs:line 87
   at Testing.SyncReverseProxy.SendReceiveServiceTests.CanCloneSendReceive(HgProtocol hgProtocol, String user) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 59
   at InvokeStub_SendReceiveServiceTests.CanCloneSendReceive(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check warning on line 0 in Testing.ApiTests.ResetPojectRaceCondition

See this annotation in the file changed.

@github-actions github-actions / Integration Tests ubuntu-latest for Mercurial 6

SimultaneousResetsDontResultIn404s (Testing.ApiTests.ResetPojectRaceCondition) failed

./test-results/_fv-az1014-326_2024-04-29_13_08_09.trx [took 0s]
Raw output
System.IO.IOException : The file '/tmp/SR_Tests/_template-repo_/.hg/last-message.txt' already exists.   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(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 /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Fixtures/IntegrationFixture.cs:line 50
   at Testing.Fixtures.IntegrationFixture.InitializeAsync() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Fixtures/IntegrationFixture.cs:line 32