Skip to content

Instantly share code, notes, and snippets.

@felipe-rodrigues
Created June 18, 2020 20:23
Show Gist options
  • Save felipe-rodrigues/4717183c7d21fde18153aa8ef708951b to your computer and use it in GitHub Desktop.
Save felipe-rodrigues/4717183c7d21fde18153aa8ef708951b to your computer and use it in GitHub Desktop.
Log test file of github actions for .net that the integration tests never ends
2020-06-18T19:48:03.7852047Z ##[group]Run dotnet test
2020-06-18T19:48:03.7852307Z dotnet test
2020-06-18T19:48:03.7905924Z shell: /bin/bash -e {0}
2020-06-18T19:48:03.7906058Z env:
2020-06-18T19:48:03.7906271Z DOTNET_ROOT: /opt/hostedtoolcache/dncs/3.1.101/x64
2020-06-18T19:48:03.7906415Z ##[endgroup]
2020-06-18T19:48:06.7823204Z Test run for /home/runner/work/MinhaAgenda/MinhaAgenda/tests/MinhaAgenda.Domain.Test/bin/Debug/netcoreapp3.1/MinhaAgenda.Domain.Test.dll(.NETCoreApp,Version=v3.1)
2020-06-18T19:48:06.8813509Z Microsoft (R) Test Execution Command Line Tool Version 16.3.0
2020-06-18T19:48:06.8831457Z Copyright (c) Microsoft Corporation. All rights reserved.
2020-06-18T19:48:06.8832883Z
2020-06-18T19:48:06.9964459Z Starting test execution, please wait...
2020-06-18T19:48:07.0434987Z
2020-06-18T19:48:07.0435957Z A total of 1 test files matched the specified pattern.
2020-06-18T19:48:08.8308133Z No test is available in /home/runner/work/MinhaAgenda/MinhaAgenda/tests/MinhaAgenda.Domain.Test/bin/Debug/netcoreapp3.1/MinhaAgenda.Domain.Test.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
2020-06-18T19:48:08.9306422Z
2020-06-18T19:48:09.8473152Z ##[warning]Seed/Entities/OrganizationSeed.cs(14,39): warning EF1001: Microsoft.EntityFrameworkCore.Internal.EnumerableExtensions is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. [/home/runner/work/MinhaAgenda/MinhaAgenda/src/MinhaAgenda.Infrastructure/MinhaAgenda.Infrastructure.csproj]
2020-06-18T19:48:10.2420993Z /opt/hostedtoolcache/dncs/3.1.101/x64/sdk/3.1.101/Microsoft.Common.CurrentVersion.targets(2106,5): warning MSB3277: Found conflicts between different versions of "Microsoft.EntityFrameworkCore.Relational" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/runner/work/MinhaAgenda/MinhaAgenda/tests/MinhaAgenda.Infrastructure.Test/MinhaAgenda.Infrastructure.Test.csproj]
2020-06-18T19:48:13.6374447Z Test run for /home/runner/work/MinhaAgenda/MinhaAgenda/tests/MinhaAgenda.Infrastructure.Test/bin/Debug/netcoreapp3.1/MinhaAgenda.Infrastructure.Test.dll(.NETCoreApp,Version=v3.1)
2020-06-18T19:48:13.7299789Z Microsoft (R) Test Execution Command Line Tool Version 16.3.0
2020-06-18T19:48:13.7301194Z Copyright (c) Microsoft Corporation. All rights reserved.
2020-06-18T19:48:13.7301529Z
2020-06-18T19:48:13.8421621Z Starting test execution, please wait...
2020-06-18T19:48:13.8922876Z
2020-06-18T19:48:13.8923843Z A total of 1 test files matched the specified pattern.
2020-06-18T19:48:20.9975301Z
2020-06-18T19:48:20.9977949Z Test Run Successful.
2020-06-18T19:48:20.9978445Z Total tests: 15
2020-06-18T19:48:20.9978819Z Passed: 15
2020-06-18T19:48:20.9981414Z Total time: 7.1055 Seconds
2020-06-18T19:48:21.0909993Z /opt/hostedtoolcache/dncs/3.1.101/x64/sdk/3.1.101/Microsoft.Common.CurrentVersion.targets(2106,5): warning MSB3277: Found conflicts between different versions of "Microsoft.EntityFrameworkCore.Relational" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/runner/work/MinhaAgenda/MinhaAgenda/tests/MinhaAgenda.Api.Test/MinhaAgenda.Api.Test.csproj]
2020-06-18T19:48:24.2009379Z Test run for /home/runner/work/MinhaAgenda/MinhaAgenda/tests/MinhaAgenda.Api.Test/bin/Debug/netcoreapp3.1/MinhaAgenda.Api.Test.dll(.NETCoreApp,Version=v3.1)
2020-06-18T19:48:24.2864799Z Microsoft (R) Test Execution Command Line Tool Version 16.3.0
2020-06-18T19:48:24.2865700Z Copyright (c) Microsoft Corporation. All rights reserved.
2020-06-18T19:48:24.2866065Z
2020-06-18T19:48:24.3969698Z Starting test execution, please wait...
2020-06-18T19:48:24.4406442Z
2020-06-18T19:48:24.4407998Z A total of 1 test files matched the specified pattern.
2020-06-18T19:48:27.5493581Z Environment Name: development
2020-06-18T19:48:27.7591999Z info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
2020-06-18T19:48:27.7592548Z User profile is available. Using '/home/runner/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
2020-06-18T19:48:27.7736117Z info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
2020-06-18T19:48:27.7736793Z Creating key {86566eef-553d-4112-8164-02ac55f836dd} with creation date 2020-06-18 19:48:27Z, activation date 2020-06-18 19:48:27Z, and expiration date 2020-09-16 19:48:27Z.
2020-06-18T19:48:27.7785386Z warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
2020-06-18T19:48:27.7787228Z No XML encryptor configured. Key {86566eef-553d-4112-8164-02ac55f836dd} may be persisted to storage in unencrypted form.
2020-06-18T19:48:27.7817394Z info: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[39]
2020-06-18T19:48:27.7819104Z Writing data to file '/home/runner/.aspnet/DataProtection-Keys/key-86566eef-553d-4112-8164-02ac55f836dd.xml'.
2020-06-18T19:48:27.9022934Z [19:48:27 INF] Starting MinhaAgendaAPI - environment: Development <s:>
2020-06-18T19:48:28.0012761Z info: Microsoft.Hosting.Lifetime[0]
2020-06-18T19:48:28.0014392Z Application started. Press Ctrl+C to shut down.
2020-06-18T19:48:28.0021670Z info: Microsoft.Hosting.Lifetime[0]
2020-06-18T19:48:28.0022920Z Hosting environment: Development
2020-06-18T19:48:28.0023983Z info: Microsoft.Hosting.Lifetime[0]
2020-06-18T19:48:28.0024240Z Content root path: /home/runner/work/MinhaAgenda/MinhaAgenda/src/MinhaAgenda.API
2020-06-18T19:48:28.0743841Z [19:48:28 INF] Request to register a new user for org:null with the data:null <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:28.0777104Z [19:48:28 ERR] Internal server error for username: [admin.teste@admin.com] org:null <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:28.0778554Z MinhaAgenda.Domain.Exceptions.OrganizationNotFoundException: Organização não encontrada
2020-06-18T19:48:28.0779321Z at MinhaAgenda.API.Controllers.UserController.RegisterUser(RegisterViewModel model) in /home/runner/work/MinhaAgenda/MinhaAgenda/src/MinhaAgenda.API/Controllers/UserController.cs:line 95
2020-06-18T19:48:28.0971040Z [19:48:28 INF] Request to register a new user for org:null with the data:null <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:28.1023824Z [19:48:28 INF] null User registered succesfuly <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:28.1226244Z [19:48:28 INF] Request to register a new user for org:null with the data:null <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:28.1883573Z [19:48:28 INF] [felipe@admin.com] Request authenticate for org: admin <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:28.1902304Z [19:48:28 INF] User [{0}] authenticated succesfuly <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:28.2895528Z Environment Name: development
2020-06-18T19:48:28.3402620Z info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
2020-06-18T19:48:28.3403961Z User profile is available. Using '/home/runner/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
2020-06-18T19:48:28.3417722Z [19:48:28 INF] Starting MinhaAgendaAPI - environment: Development <s:>
2020-06-18T19:48:28.3554279Z info: Microsoft.Hosting.Lifetime[0]
2020-06-18T19:48:28.3560519Z Application started. Press Ctrl+C to shut down.
2020-06-18T19:48:28.3562238Z info: Microsoft.Hosting.Lifetime[0]
2020-06-18T19:48:28.3563381Z Hosting environment: Development
2020-06-18T19:48:28.3564880Z info: Microsoft.Hosting.Lifetime[0]
2020-06-18T19:48:28.3597410Z Content root path: /home/runner/work/MinhaAgenda/MinhaAgenda/src/MinhaAgenda.API
2020-06-18T19:48:30.2696293Z info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
2020-06-18T19:48:30.2698448Z Request starting HTTP/1.1 POST http://localhost/api/user/authenticate application/json; charset=utf-8
2020-06-18T19:48:30.2724141Z info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
2020-06-18T19:48:30.2725723Z Request starting HTTP/1.1 POST http://localhost/api/user/authenticate application/json; charset=utf-8
2020-06-18T19:48:30.2793312Z warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
2020-06-18T19:48:30.2796449Z Failed to determine the https port for redirect.
2020-06-18T19:48:30.2798966Z warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
2020-06-18T19:48:30.2800286Z Failed to determine the https port for redirect.
2020-06-18T19:48:30.3764405Z info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
2020-06-18T19:48:30.3766747Z Executing endpoint 'MinhaAgenda.API.Controllers.UserController.Authenticate (MinhaAgenda.API)'
2020-06-18T19:48:30.3768317Z info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
2020-06-18T19:48:30.3769625Z Executing endpoint 'MinhaAgenda.API.Controllers.UserController.Authenticate (MinhaAgenda.API)'
2020-06-18T19:48:30.4144321Z info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
2020-06-18T19:48:30.4145871Z Route matched with {action = "Authenticate", controller = "User"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Authenticate(MinhaAgenda.API.ViewModels.AuthenticateViewModel) on controller MinhaAgenda.API.Controllers.UserController (MinhaAgenda.API).
2020-06-18T19:48:30.4147358Z info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
2020-06-18T19:48:30.4148528Z Route matched with {action = "Authenticate", controller = "User"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Authenticate(MinhaAgenda.API.ViewModels.AuthenticateViewModel) on controller MinhaAgenda.API.Controllers.UserController (MinhaAgenda.API).
2020-06-18T19:48:30.4321241Z [19:48:30 INF] [tester] GOT All Rooms <s:MinhaAgenda.API.Controllers.RoomController>
2020-06-18T19:48:30.4651850Z [19:48:30 INF] [admin@minhaagenda.com] Request authenticate for org: admin <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:30.4653786Z [19:48:30 INF] [admin@minhaagenda.com] Request authenticate for org: admin <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:30.4893828Z [19:48:30 INF] [tester] request to create a room with code AB <s:MinhaAgenda.API.Controllers.RoomController>
2020-06-18T19:48:30.4934167Z [19:48:30 INF] [tester] room AB created with id 00000000-0000-0000-0000-000000000000 <s:MinhaAgenda.API.Controllers.RoomController>
2020-06-18T19:48:30.5339045Z Environment Name: development
2020-06-18T19:48:30.5997964Z [19:48:30 INF] User [{0}] authenticated succesfuly <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:30.6020547Z info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
2020-06-18T19:48:30.6022142Z Executing ObjectResult, writing value of type 'MinhaAgenda.API.ViewModels.UserViewModel'.
2020-06-18T19:48:30.6035915Z [19:48:30 INF] User [{0}] authenticated succesfuly <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:30.6075576Z info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
2020-06-18T19:48:30.6076928Z Executing ObjectResult, writing value of type 'MinhaAgenda.API.ViewModels.UserViewModel'.
2020-06-18T19:48:30.6155669Z info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
2020-06-18T19:48:30.6156706Z User profile is available. Using '/home/runner/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
2020-06-18T19:48:30.6193000Z info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
2020-06-18T19:48:30.6193656Z Executed action MinhaAgenda.API.Controllers.UserController.Authenticate (MinhaAgenda.API) in 200.6324ms
2020-06-18T19:48:30.6210207Z info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
2020-06-18T19:48:30.6211414Z Executed endpoint 'MinhaAgenda.API.Controllers.UserController.Authenticate (MinhaAgenda.API)'
2020-06-18T19:48:30.6241767Z info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
2020-06-18T19:48:30.6243555Z Executed action MinhaAgenda.API.Controllers.UserController.Authenticate (MinhaAgenda.API) in 208.582ms
2020-06-18T19:48:30.6244992Z info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
2020-06-18T19:48:30.6246298Z Executed endpoint 'MinhaAgenda.API.Controllers.UserController.Authenticate (MinhaAgenda.API)'
2020-06-18T19:48:30.6264985Z info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
2020-06-18T19:48:30.6266406Z Request finished in 359.7768ms 200 application/json; charset=utf-8
2020-06-18T19:48:30.6273321Z info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
2020-06-18T19:48:30.6274130Z Request finished in 360.7763ms 200 application/json; charset=utf-8
2020-06-18T19:48:30.6328470Z [19:48:30 INF] Starting MinhaAgendaAPI - environment: Development <s:>
2020-06-18T19:48:30.6458503Z info: Microsoft.Hosting.Lifetime[0]
2020-06-18T19:48:30.6459354Z Application started. Press Ctrl+C to shut down.
2020-06-18T19:48:30.6460233Z info: Microsoft.Hosting.Lifetime[0]
2020-06-18T19:48:30.6460735Z Hosting environment: Development
2020-06-18T19:48:30.6461910Z info: Microsoft.Hosting.Lifetime[0]
2020-06-18T19:48:30.6462467Z Content root path: /home/runner/work/MinhaAgenda/MinhaAgenda/src/MinhaAgenda.API
2020-06-18T19:48:31.3052390Z info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
2020-06-18T19:48:31.3053618Z Request starting HTTP/1.1 POST http://localhost/api/user/authenticate application/json; charset=utf-8
2020-06-18T19:48:31.3059171Z warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
2020-06-18T19:48:31.3059628Z Failed to determine the https port for redirect.
2020-06-18T19:48:31.3101013Z info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
2020-06-18T19:48:31.3102231Z Executing endpoint 'MinhaAgenda.API.Controllers.UserController.Authenticate (MinhaAgenda.API)'
2020-06-18T19:48:31.3162251Z info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
2020-06-18T19:48:31.3162553Z Route matched with {action = "Authenticate", controller = "User"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Authenticate(MinhaAgenda.API.ViewModels.AuthenticateViewModel) on controller MinhaAgenda.API.Controllers.UserController (MinhaAgenda.API).
2020-06-18T19:48:31.3202013Z [19:48:31 INF] [admin@minhaagenda.com] Request authenticate for org: admin <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:31.3382893Z [19:48:31 INF] User [{0}] authenticated succesfuly <s:MinhaAgenda.API.Controllers.UserController>
2020-06-18T19:48:31.3386542Z info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
2020-06-18T19:48:31.3388051Z Executing ObjectResult, writing value of type 'MinhaAgenda.API.ViewModels.UserViewModel'.
2020-06-18T19:48:31.3392625Z info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
2020-06-18T19:48:31.3393124Z Executed action MinhaAgenda.API.Controllers.UserController.Authenticate (MinhaAgenda.API) in 23.0232ms
2020-06-18T19:48:31.3394437Z info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
2020-06-18T19:48:31.3397679Z Executed endpoint 'MinhaAgenda.API.Controllers.UserController.Authenticate (MinhaAgenda.API)'
2020-06-18T19:48:31.3398124Z info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
2020-06-18T19:48:31.3398815Z Request finished in 34.7845ms 200 application/json; charset=utf-8
2020-06-18T20:03:09.6371948Z ##[error]The operation was canceled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment