Skip to content

Change output redirection in curl command #167

Change output redirection in curl command

Change output redirection in curl command #167

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Integration Test failed Jul 6, 2023 in 0s

12 fail, 9 pass in 12s

21 tests  +21     9 ✔️ +  9   12s ⏱️ +12s
  1 suites +  1     0 💤 ±  0 
  1 files   +  1   12 +12 

Results for commit 64c5073. ± Comparison against earlier commit 3aa2d5c.

Annotations

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Test

CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://hg-staging.languagedepot.org, HostType = normal, Username = , Password = , ShouldPass = False }) (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./testresults/_fv-az1111-415_2023-07-06_02_29_57.trx [took 0s]
Raw output
Shouldly.ShouldAssertException : result
    should match
"abort: authorization failed|Server Response 'Unauthorized'"
    but was
"Mercurial is not set up properly: Chorus requires the Mercurial version control system.  It must be installed and part of the PATH environment variable."   at Testing.SyncReverseProxy.SendReceiveServiceTests.CloneProjectAndSendReceive(SendReceiveTestData data) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 102
   at InvokeStub_SendReceiveServiceTests.CloneProjectAndSendReceive(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Test

CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://resumable-staging.languagedepot.org,… resumable, Username = manager, Password = pass, ShouldPass = True }) (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./testresults/_fv-az1111-415_2023-07-06_02_29_57.trx [took 0s]
Raw output
Shouldly.ShouldAssertException : fwdataFile
    should satisfy all the conditions specified, but does not.
The following errors were found ...
--------------- Error 1 ---------------
    new FileInfo(fwdataFile).Exists
        should be
    True
        but was
    False

--------------- Error 2 ---------------
    Could not find file '/tmp/SendReceiveTests/resumable/sena-3/sena-3.fwdata'.

-----------------------------------------   at Testing.SyncReverseProxy.SendReceiveServiceTests.CloneProjectAndSendReceive(SendReceiveTestData data) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 94
   at InvokeStub_SendReceiveServiceTests.CloneProjectAndSendReceive(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Test

CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://hg-staging.languagedepot.org, HostTy… Username = manager, Password = incorrect_pass, ShouldPass = False }) (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./testresults/_fv-az1111-415_2023-07-06_02_29_57.trx [took 0s]
Raw output
Shouldly.ShouldAssertException : result
    should match
"abort: authorization failed|Server Response 'Unauthorized'"
    but was
"Mercurial is not set up properly: Chorus requires the Mercurial version control system.  It must be installed and part of the PATH environment variable."   at Testing.SyncReverseProxy.SendReceiveServiceTests.CloneProjectAndSendReceive(SendReceiveTestData data) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 102
   at InvokeStub_SendReceiveServiceTests.CloneProjectAndSendReceive(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Test

CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://resumable-staging.languagedepot.org,… Username = manager, Password = incorrect_pass, ShouldPass = False }) (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./testresults/_fv-az1111-415_2023-07-06_02_29_57.trx [took 0s]
Raw output
Shouldly.ShouldAssertException : result
    should match
"abort: authorization failed|Server Response 'Unauthorized'"
    but was
"Mercurial is not set up properly: Chorus requires the Mercurial version control system.  It must be installed and part of the PATH environment variable."   at Testing.SyncReverseProxy.SendReceiveServiceTests.CloneProjectAndSendReceive(SendReceiveTestData data) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 102
   at InvokeStub_SendReceiveServiceTests.CloneProjectAndSendReceive(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Test

TestInvalidProject(projectCode: "non-existent-project", username: "manager", password: "pass") (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./testresults/_fv-az1111-415_2023-07-06_02_29_57.trx [took 0s]
Raw output
System.Exception : Clone should have thrown an exception but didn't; if we reach this point, this is a failed test   at Testing.SyncReverseProxy.SendReceiveServiceTests.TestInvalidProject(String projectCode, String username, String password) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 199
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Test

CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://hg-staging.languagedepot.org, HostTy…rmal, Username = invalid_user, Password = pass, ShouldPass = False }) (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./testresults/_fv-az1111-415_2023-07-06_02_29_57.trx [took 0s]
Raw output
Shouldly.ShouldAssertException : result
    should match
"abort: authorization failed|Server Response 'Unauthorized'"
    but was
"Mercurial is not set up properly: Chorus requires the Mercurial version control system.  It must be installed and part of the PATH environment variable."   at Testing.SyncReverseProxy.SendReceiveServiceTests.CloneProjectAndSendReceive(SendReceiveTestData data) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 102
   at InvokeStub_SendReceiveServiceTests.CloneProjectAndSendReceive(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Test

VerifyHgWorking (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./testresults/_fv-az1111-415_2023-07-06_02_29_57.trx [took 0s]
Raw output
System.ComponentModel.Win32Exception : An error occurred trying to start process 'Mercurial/hg' with working directory '/home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/bin/Debug/net7.0'. No such file or directory   at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at Testing.Services.SendReceiveService.GetHgVersion() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/Services/SendReceiveService.cs:line 29
   at Testing.SyncReverseProxy.SendReceiveServiceTests.VerifyHgWorking() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 40
--- 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 Test

CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://resumable-staging.languagedepot.org, HostType = resumable, Username = , Password = , ShouldPass = False }) (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./testresults/_fv-az1111-415_2023-07-06_02_29_57.trx [took 0s]
Raw output
Shouldly.ShouldAssertException : result
    should match
"abort: authorization failed|Server Response 'Unauthorized'"
    but was
"Mercurial is not set up properly: Chorus requires the Mercurial version control system.  It must be installed and part of the PATH environment variable."   at Testing.SyncReverseProxy.SendReceiveServiceTests.CloneProjectAndSendReceive(SendReceiveTestData data) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 102
   at InvokeStub_SendReceiveServiceTests.CloneProjectAndSendReceive(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Test

CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://resumable-staging.languagedepot.org,…able, Username = invalid_user, Password = pass, ShouldPass = False }) (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./testresults/_fv-az1111-415_2023-07-06_02_29_57.trx [took 0s]
Raw output
Shouldly.ShouldAssertException : result
    should match
"abort: authorization failed|Server Response 'Unauthorized'"
    but was
"Mercurial is not set up properly: Chorus requires the Mercurial version control system.  It must be installed and part of the PATH environment variable."   at Testing.SyncReverseProxy.SendReceiveServiceTests.CloneProjectAndSendReceive(SendReceiveTestData data) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 102
   at InvokeStub_SendReceiveServiceTests.CloneProjectAndSendReceive(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Test

CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://hg-staging.languagedepot.org, HostType = normal, Username = manager, Password = pass, ShouldPass = True }) (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./testresults/_fv-az1111-415_2023-07-06_02_29_57.trx [took 0s]
Raw output
Shouldly.ShouldAssertException : fwdataFile
    should satisfy all the conditions specified, but does not.
The following errors were found ...
--------------- Error 1 ---------------
    new FileInfo(fwdataFile).Exists
        should be
    True
        but was
    False

--------------- Error 2 ---------------
    Could not find file '/tmp/SendReceiveTests/normal/sena-3/sena-3.fwdata'.

-----------------------------------------   at Testing.SyncReverseProxy.SendReceiveServiceTests.CloneProjectAndSendReceive(SendReceiveTestData data) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 94
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check warning on line 0 in Testing.SyncReverseProxy.SendReceiveServiceTests

See this annotation in the file changed.

@github-actions github-actions / Integration Test

TestInvalidProject(projectCode: "non-existent-project", username: "admin", password: "pass") (Testing.SyncReverseProxy.SendReceiveServiceTests) failed

./testresults/_fv-az1111-415_2023-07-06_02_29_57.trx [took 0s]
Raw output
System.Exception : Clone should have thrown an exception but didn't; if we reach this point, this is a failed test   at Testing.SyncReverseProxy.SendReceiveServiceTests.TestInvalidProject(String projectCode, String username, String password) in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/SendReceiveServiceTests.cs:line 199
   at InvokeStub_SendReceiveServiceTests.TestInvalidProject(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check warning on line 0 in Testing.SyncReverseProxy.ResumableTests

See this annotation in the file changed.

@github-actions github-actions / Integration Test

IsAvailable (Testing.SyncReverseProxy.ResumableTests) failed

./testresults/_fv-az1111-415_2023-07-06_02_29_57.trx [took 3s]
Raw output
System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 3 seconds elapsing.
---- System.TimeoutException : The operation was canceled.
-------- System.Threading.Tasks.TaskCanceledException : The operation was canceled.
------------ System.IO.IOException : Unable to read data from the transport connection: Operation canceled.
---------------- System.Net.Sockets.SocketException : Operation canceled   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Testing.SyncReverseProxy.ResumableTests.IsAvailable() in /home/runner/work/languageforge-lexbox/languageforge-lexbox/backend/Testing/SyncReverseProxy/ResumableTests.cs:line 21
--- End of stack trace from previous location ---
----- Inner Stack Trace -----

----- Inner Stack Trace -----
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
----- Inner Stack Trace -----
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)
   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
----- Inner Stack Trace -----

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Integration Test

21 tests found

There are 21 tests, see "Raw output" for the full list of tests.
Raw output
Testing.SyncReverseProxy.GetProjectDataTests ‑ GetProjectData
Testing.SyncReverseProxy.GetProjectDataTests ‑ TestInvalidPassword
Testing.SyncReverseProxy.GetProjectDataTests ‑ TestInvalidUser
Testing.SyncReverseProxy.ProxyHgRequests ‑ TestGet
Testing.SyncReverseProxy.ProxyHgRequests ‑ TestGetBadPassword
Testing.SyncReverseProxy.ProxyHgRequests ‑ TestNoAuthResponse
Testing.SyncReverseProxy.ResumableTests ‑ IsAvailable
Testing.SyncReverseProxy.ResumableTests ‑ WithBadNotValidProject
Testing.SyncReverseProxy.ResumableTests ‑ WithBadPassword
Testing.SyncReverseProxy.ResumableTests ‑ WithBadUser
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://hg-staging.languagedepot.org, HostType = normal, Username = , Password = , ShouldPass = False })
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://hg-staging.languagedepot.org, HostType = normal, Username = invalid_user, Password = pass, ShouldPass = False })
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://hg-staging.languagedepot.org, HostType = normal, Username = manager, Password = incorrect_pass, ShouldPass = False })
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://hg-staging.languagedepot.org, HostType = normal, Username = manager, Password = pass, ShouldPass = True })
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://resumable-staging.languagedepot.org, HostType = resumable, Username = , Password = , ShouldPass = False })
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://resumable-staging.languagedepot.org, HostType = resumable, Username = invalid_user, Password = pass, ShouldPass = False })
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://resumable-staging.languagedepot.org, HostType = resumable, Username = manager, Password = incorrect_pass, ShouldPass = False })
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ CloneProjectAndSendReceive(data: SendReceiveTestData { ProjectCode = sena-3, Host = http://resumable-staging.languagedepot.org, HostType = resumable, Username = manager, Password = pass, ShouldPass = True })
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ TestInvalidProject(projectCode: "non-existent-project", username: "admin", password: "pass")
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ TestInvalidProject(projectCode: "non-existent-project", username: "manager", password: "pass")
Testing.SyncReverseProxy.SendReceiveServiceTests ‑ VerifyHgWorking