Skip to content

Try to fix reset-project Playwright tests (#789) #710

Try to fix reset-project Playwright tests (#789)

Try to fix reset-project Playwright tests (#789) #710

GitHub Actions / Integration Tests self-hosted for Mercurial 6 failed May 30, 2024 in 0s

4 fail, 57 pass in 17m 24s

61 tests   57 ✅  17m 24s ⏱️
 2 suites   0 💤
 2 files     4 ❌

Results for commit 20ffa08.

Annotations

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Tests self-hosted for Mercurial 6

ModifyProjectData(protocol: Resumable) (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./test-results/_gha-lf-lexbox-runner-pvjdr-fpp89_2024-05-30_05_00_24.trx [took 9s]
Raw output
Shouldly.ShouldAssertException : srOutput
    should not contain (case insensitive comparison)
"failure"
    but was actually
"Sync failure: System.ApplicationException: Failed to send to LexBox (https://admin:[email protected]..."   at Testing.Services.Utils.ValidateSendReceiveOutput(String srOutput) in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Services/Utils.cs:line 70
   at Testing.Services.SendReceiveService.SendReceiveProject(SendReceiveParams sendReceiveParams, SendReceiveAuth auth, String commitMessage, Boolean validateOutput) in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Services/SendReceiveService.cs:line 197
   at Testing.SyncReverseProxy.SendReceiveServiceTests.ModifyProjectData(HgProtocol protocol) in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 86
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Testing.SyncReverseProxy.SendReceiveServiceTests.ModifyProjectData(HgProtocol protocol) in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 102
   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)

Check warning on line 0 in Testing.ApiTests.NewProjectRaceCondition

See this annotation in the file changed.

@github-actions github-actions / Integration Tests self-hosted for Mercurial 6

CanCreateMultipleProjectsAndQueryThemRightAway (Testing.ApiTests.NewProjectRaceCondition) failed

./test-results/_gha-lf-lexbox-runner-pvjdr-fpp89_2024-05-30_05_00_24.trx [took 24s]
Raw output
Shouldly.ShouldAssertException : response["data"]!["createProject"]!["createProjectResponse"]
    should be of type
System.Text.Json.Nodes.JsonObject
    but was
null   at Testing.ApiTests.NewProjectRaceCondition.CreateQueryAndVerifyProject(Guid id) in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/ApiTests/NewProjectRaceCondition.cs:line 54
   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.ApiTests.NewProjectRaceCondition.CanCreateMultipleProjectsAndQueryThemRightAway() in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/ApiTests/NewProjectRaceCondition.cs:line 21
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Testing.ApiTests.NewProjectRaceCondition.CanCreateMultipleProjectsAndQueryThemRightAway() in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/ApiTests/NewProjectRaceCondition.cs:line 29
   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)

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Tests self-hosted for Mercurial 6

ModifyProjectData(protocol: Hgweb) (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./test-results/_gha-lf-lexbox-runner-pvjdr-fpp89_2024-05-30_05_00_24.trx [took 2s]
Raw output
Chorus.VcsDrivers.Mercurial.ProjectLabelErrorException : Check that hg.lexbox.dev.languagetechnology.org really hosts a project labeled 'modify-project-data-0d413386-dev-flex'   at Chorus.VcsDrivers.Mercurial.HgRepository.PullFromTarget(String targetLabel, String targetUri)
   at Chorus.VcsDrivers.Mercurial.HgNormalTransport.Pull()
   at Chorus.VcsDrivers.Mercurial.HgRepository.Pull(RepositoryAddress source, String targetUri)
   at LfMergeBridge.LanguageForgeSendReceiveActionHandler.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.SendReceiveProject(SendReceiveParams sendReceiveParams, SendReceiveAuth auth, String commitMessage, Boolean validateOutput) in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Services/SendReceiveService.cs:line 188
   at Testing.SyncReverseProxy.SendReceiveServiceTests.ModifyProjectData(HgProtocol protocol) in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 86
   at Testing.SyncReverseProxy.SendReceiveServiceTests.ModifyProjectData(HgProtocol protocol) in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 102
--- End of stack trace from previous location ---

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Tests self-hosted for Mercurial 6

SendReceiveAfterProjectReset(protocol: Hgweb) (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./test-results/_gha-lf-lexbox-runner-pvjdr-fpp89_2024-05-30_05_00_24.trx [took 2s]
Raw output
Chorus.VcsDrivers.Mercurial.ProjectLabelErrorException : Check that hg.lexbox.dev.languagetechnology.org really hosts a project labeled 'sr-after-reset-hgweb-ce75673b-dev-flex'   at Chorus.VcsDrivers.Mercurial.HgRepository.PullFromTarget(String targetLabel, String targetUri)
   at Chorus.VcsDrivers.Mercurial.HgNormalTransport.Pull()
   at Chorus.VcsDrivers.Mercurial.HgRepository.Pull(RepositoryAddress source, String targetUri)
   at LfMergeBridge.LanguageForgeSendReceiveActionHandler.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.SendReceiveProject(SendReceiveParams sendReceiveParams, SendReceiveAuth auth, String commitMessage, Boolean validateOutput) in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Services/SendReceiveService.cs:line 188
   at Testing.SyncReverseProxy.SendReceiveServiceTests.SendReceiveAfterProjectReset(HgProtocol protocol) in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 115
   at Testing.SyncReverseProxy.SendReceiveServiceTests.SendReceiveAfterProjectReset(HgProtocol protocol) in /runner/_work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 167
--- End of stack trace from previous location ---

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Integration Tests self-hosted for Mercurial 6

61 tests found

There are 61 tests, see "Raw output" for the full list of tests.
Raw output
Testing.ApiTests.AuthTests ‑ AdminIsPermittedToCallAdminApi
Testing.ApiTests.AuthTests ‑ CanUseBearerAuth
Testing.ApiTests.AuthTests ‑ ClearingCookiesWorks
Testing.ApiTests.AuthTests ‑ JwtWithInvalidSignatureFailsAuth
Testing.ApiTests.AuthTests ‑ ManagerIsForbiddenFromAdminApi
Testing.ApiTests.AuthTests ‑ ManagerIsPermittedToCallRequiresAuthApi
Testing.ApiTests.AuthTests ‑ NoOneCanCallForgotPasswordApi
Testing.ApiTests.AuthTests ‑ NotLoggedInIsNotPermittedToCallRequiresAuthApi
Testing.ApiTests.AuthTests ‑ TestGqlVerifyDifferentUsers
Testing.ApiTests.AuthTests ‑ TestLoginAndVerifyDifferentUsers
Testing.ApiTests.FlexJwtTests ‑ CanGetProjectSpecificToken
Testing.ApiTests.InvalidRouteTests ‑ ApiBasePathRequestsShouldBeServedByDotnetForAuthenticated
Testing.ApiTests.InvalidRouteTests ‑ ApiPathRequestsShouldBeServedByDotnetForAnonymous
Testing.ApiTests.NewProjectRaceCondition ‑ CanCreateMultipleProjectsAndQueryThemRightAway
Testing.ApiTests.ResetPojectRaceCondition ‑ SimultaneousResetsDontResultIn404s
Testing.SyncReverseProxy.LegacyProjectApiTests ‑ GetProjectDataViaForm
Testing.SyncReverseProxy.LegacyProjectApiTests ‑ GetProjectDataViaJson
Testing.SyncReverseProxy.LegacyProjectApiTests ‑ GetProjectDataWithEmailAddress
Testing.SyncReverseProxy.LegacyProjectApiTests ‑ GetProjectDataWithUppercaseUsername
Testing.SyncReverseProxy.LegacyProjectApiTests ‑ MissingPasswordReturns403
Testing.SyncReverseProxy.LegacyProjectApiTests ‑ TestInvalidPassword
Testing.SyncReverseProxy.LegacyProjectApiTests ‑ TestInvalidUser
Testing.SyncReverseProxy.ProxyHgRequests ‑ SimpleClone
Testing.SyncReverseProxy.ProxyHgRequests ‑ TestGet(user: "admin")
Testing.SyncReverseProxy.ProxyHgRequests ‑ TestGet(user: "manager")
Testing.SyncReverseProxy.ProxyHgRequests ‑ TestGetBadPassword
Testing.SyncReverseProxy.ProxyHgRequests ‑ TestGetPrefixHg
Testing.SyncReverseProxy.ProxyHgRequests ‑ TestGetWithJwtInBasicAuth(user: "admin")
Testing.SyncReverseProxy.ProxyHgRequests ‑ TestGetWithJwtInBasicAuth(user: "manager")
Testing.SyncReverseProxy.ProxyHgRequests ‑ TestNoAuthResponse
Testing.SyncReverseProxy.ResumableTests ‑ IsAvailable(user: "admin")
Testing.SyncReverseProxy.ResumableTests ‑ IsAvailable(user: "manager")
Testing.SyncReverseProxy.ResumableTests ‑ IsAvailableJwtInBasicAuth(user: "admin")
Testing.SyncReverseProxy.ResumableTests ‑ IsAvailableJwtInBasicAuth(user: "manager")
Testing.SyncReverseProxy.ResumableTests ‑ WithBadNotValidProject
Testing.SyncReverseProxy.ResumableTests ‑ WithBadPassword
Testing.SyncReverseProxy.ResumableTests ‑ WithBadUser
Testing.SyncReverseProxy.ResumableTests ‑ WithUnauthorizedUser
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CanCloneSendReceive(hgProtocol: Hgweb, user: "manager")
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CanCloneSendReceive(hgProtocol: Resumable, user: "manager")
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CanCloneSendReceiveWithJwtOverBasicAuth(hgProtocol: Hgweb, user: "manager")
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CanCloneSendReceiveWithJwtOverBasicAuth(hgProtocol: Resumable, user: "manager")
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CloneBigProject(hgProtocol: Hgweb)
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CloneBigProject(hgProtocol: Resumable)
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ InvalidPassOnCloneHgResumable
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ InvalidPassOnCloneHgWeb
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ InvalidPassOnSendReceiveHgResumable
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ InvalidPassOnSendReceiveHgWeb
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ InvalidProjectAdminLogin
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ InvalidProjectManagerLogin
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ InvalidUserCloneHgResumable
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ InvalidUserCloneHgWeb
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ ModifyProjectData(protocol: Hgweb)
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ ModifyProjectData(protocol: Resumable)
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ SendNewProject_Big
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ SendNewProject_Medium
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ SendReceiveAfterProjectReset(protocol: Hgweb)
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ SendReceiveAfterProjectReset(protocol: Resumable)
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ UnauthorizedUserCloneHgResumable
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ UnauthorizedUserCloneHgWeb
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ VerifyHgWorking