DashboardKrSnapshotRecalcJob.ExecuteAsync

The job is finished. It will be removed automatically 01/01/0001 00:00:00.
// Id: #12963
using PD_Api.Jobs;

var dashboardKrSnapshotRecalcJob = Activate<DashboardKrSnapshotRecalcJob>();
await dashboardKrSnapshotRecalcJob.ExecuteAsync(40, 86, 884);

Parameters

CurrentCulture
"pt-BR"
CurrentUICulture
"pt-BR"
RetryCount
10

State

05/26/2026 00:37:35 (+1m 358ms) Failed

An exception occurred during performance of the job.

MySqlConnector.MySqlException (1165826cf5fe:1)

The Command Timeout expired before the operation completed.

MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244

   --- End of inner exception stack trace ---
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
   at MySqlConnector.Core.ResultSet.ReadAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
   at MySqlConnector.MySqlDataReader.ReadAsync(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1 projetosVersaoIds, Nullable`1 ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1 projetosIds, Nullable`1 ano, String cacheTag, List`1 projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
   at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1 projetosIds, Nullable`1 ano, List`1 projetosVersaoIds, CancellationToken cancellationToken, Nullable`1 empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
   at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32 empresaId, Usuario usuario, IReadOnlyList`1 projetoIds, CancellationToken cancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+5.662s Processing

Server:
1165826cf5fe:1
Worker:
44c005b3

+1h 52m Enqueued

Triggered by DelayedJobScheduler

+5ms Scheduled

Retry attempt 10 of 10: The Command Timeout expired before the operation …

Enqueue at:
05/26/2026 00:35:18

+1m 233ms Failed

An exception occurred during performance of the job.

MySqlConnector.MySqlException (1165826cf5fe:1)

The Command Timeout expired before the operation completed.

MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244

   --- End of inner exception stack trace ---
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
   at MySqlConnector.Core.ResultSet.ReadAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
   at MySqlConnector.MySqlDataReader.ReadAsync(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1 projetosVersaoIds, Nullable`1 ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1 projetosIds, Nullable`1 ano, String cacheTag, List`1 projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
   at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1 projetosIds, Nullable`1 ano, List`1 projetosVersaoIds, CancellationToken cancellationToken, Nullable`1 empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
   at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32 empresaId, Usuario usuario, IReadOnlyList`1 projetoIds, CancellationToken cancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+1.374s Processing

Server:
1165826cf5fe:1
Worker:
616c30d9

+1h 13m Enqueued

Triggered by DelayedJobScheduler

+5ms Scheduled

Retry attempt 9 of 10: The Command Timeout expired before the operation …

Enqueue at:
05/25/2026 22:42:23

+1m 412ms Failed

An exception occurred during performance of the job.

MySqlConnector.MySqlException (1165826cf5fe:1)

The Command Timeout expired before the operation completed.

MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244

   --- End of inner exception stack trace ---
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
   at MySqlConnector.Core.ResultSet.ReadAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
   at MySqlConnector.MySqlDataReader.ReadAsync(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1 projetosVersaoIds, Nullable`1 ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1 projetosIds, Nullable`1 ano, String cacheTag, List`1 projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
   at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1 projetosIds, Nullable`1 ano, List`1 projetosVersaoIds, CancellationToken cancellationToken, Nullable`1 empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
   at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32 empresaId, Usuario usuario, IReadOnlyList`1 projetoIds, CancellationToken cancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+5.142s Processing

Server:
1165826cf5fe:1
Worker:
f30da56d

+41m 47.203s Enqueued

Triggered by DelayedJobScheduler

+9ms Scheduled

Retry attempt 8 of 10: The Command Timeout expired before the operation …

Enqueue at:
05/25/2026 21:28:57

+1m 331ms Failed

An exception occurred during performance of the job.

MySqlConnector.MySqlException (1165826cf5fe:1)

The Command Timeout expired before the operation completed.

MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244

   --- End of inner exception stack trace ---
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
   at MySqlConnector.Core.ResultSet.ReadAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
   at MySqlConnector.MySqlDataReader.ReadAsync(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1 projetosVersaoIds, Nullable`1 ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1 projetosIds, Nullable`1 ano, String cacheTag, List`1 projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
   at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1 projetosIds, Nullable`1 ano, List`1 projetosVersaoIds, CancellationToken cancellationToken, Nullable`1 empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
   at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32 empresaId, Usuario usuario, IReadOnlyList`1 projetoIds, CancellationToken cancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+1.081s Processing

Server:
1165826cf5fe:1
Worker:
44c005b3

+24m 30.499s Enqueued

Triggered by DelayedJobScheduler

+6ms Scheduled

Retry attempt 7 of 10: The Command Timeout expired before the operation …

Enqueue at:
05/25/2026 20:45:36

+1m 266ms Failed

An exception occurred during performance of the job.

MySqlConnector.MySqlException (1165826cf5fe:1)

The Command Timeout expired before the operation completed.

MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244

   --- End of inner exception stack trace ---
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
   at MySqlConnector.Core.ResultSet.ReadAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
   at MySqlConnector.MySqlDataReader.ReadAsync(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1 projetosVersaoIds, Nullable`1 ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1 projetosIds, Nullable`1 ano, String cacheTag, List`1 projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
   at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1 projetosIds, Nullable`1 ano, List`1 projetosVersaoIds, CancellationToken cancellationToken, Nullable`1 empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
   at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32 empresaId, Usuario usuario, IReadOnlyList`1 projetoIds, CancellationToken cancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+1.479s Processing

Server:
1165826cf5fe:1
Worker:
44c005b3

+13m 59.881s Enqueued

Triggered by DelayedJobScheduler

+6ms Scheduled

Retry attempt 6 of 10: The Command Timeout expired before the operation …

Enqueue at:
05/25/2026 20:19:45

+1m 252ms Failed

An exception occurred during performance of the job.

MySqlConnector.MySqlException (1165826cf5fe:1)

The Command Timeout expired before the operation completed.

MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244

   --- End of inner exception stack trace ---
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
   at MySqlConnector.Core.ResultSet.ReadAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
   at MySqlConnector.MySqlDataReader.ReadAsync(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1 projetosVersaoIds, Nullable`1 ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1 projetosIds, Nullable`1 ano, String cacheTag, List`1 projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
   at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1 projetosIds, Nullable`1 ano, List`1 projetosVersaoIds, CancellationToken cancellationToken, Nullable`1 empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
   at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32 empresaId, Usuario usuario, IReadOnlyList`1 projetoIds, CancellationToken cancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+1.387s Processing

Server:
1165826cf5fe:1
Worker:
44c005b3

+5m 14.624s Enqueued

Triggered by DelayedJobScheduler

+6ms Scheduled

Retry attempt 5 of 10: The Command Timeout expired before the operation …

Enqueue at:
05/25/2026 20:05:08

+1m 245ms Failed

An exception occurred during performance of the job.

MySqlConnector.MySqlException (1165826cf5fe:1)

The Command Timeout expired before the operation completed.

MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244

   --- End of inner exception stack trace ---
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
   at MySqlConnector.Core.ResultSet.ReadAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
   at MySqlConnector.MySqlDataReader.ReadAsync(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1 projetosVersaoIds, Nullable`1 ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1 projetosIds, Nullable`1 ano, String cacheTag, List`1 projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
   at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1 projetosIds, Nullable`1 ano, List`1 projetosVersaoIds, CancellationToken cancellationToken, Nullable`1 empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
   at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32 empresaId, Usuario usuario, IReadOnlyList`1 projetoIds, CancellationToken cancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+1.163s Processing

Server:
1165826cf5fe:1
Worker:
44c005b3

+3m 5.216s Enqueued

Triggered by DelayedJobScheduler

+22ms Scheduled

Retry attempt 4 of 10: The Command Timeout expired before the operation …

Enqueue at:
05/25/2026 19:58:32

+1m 726ms Failed

An exception occurred during performance of the job.

MySqlConnector.MySqlException (1165826cf5fe:1)

The Command Timeout expired before the operation completed.

MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244

   --- End of inner exception stack trace ---
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
   at MySqlConnector.Core.ResultSet.ReadAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
   at MySqlConnector.MySqlDataReader.ReadAsync(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1 projetosVersaoIds, Nullable`1 ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1 projetosIds, Nullable`1 ano, String cacheTag, List`1 projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
   at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1 projetosIds, Nullable`1 ano, List`1 projetosVersaoIds, CancellationToken cancellationToken, Nullable`1 empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
   at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32 empresaId, Usuario usuario, IReadOnlyList`1 projetoIds, CancellationToken cancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+9.886s Processing

Server:
1165826cf5fe:1
Worker:
b405b860

+1m 4.832s Enqueued

Triggered by DelayedJobScheduler

+27ms Scheduled

Retry attempt 3 of 10: The Command Timeout expired before the operation …

Enqueue at:
05/25/2026 19:54:40

+1m 653ms Failed

An exception occurred during performance of the job.

MySqlConnector.MySqlException (1165826cf5fe:1)

The Command Timeout expired before the operation completed.

MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244

   --- End of inner exception stack trace ---
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
   at MySqlConnector.Core.ResultSet.ReadAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
   at MySqlConnector.MySqlDataReader.ReadAsync(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1 projetosVersaoIds, Nullable`1 ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1 projetosIds, Nullable`1 ano, String cacheTag, List`1 projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
   at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1 projetosIds, Nullable`1 ano, List`1 projetosVersaoIds, CancellationToken cancellationToken, Nullable`1 empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
   at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32 empresaId, Usuario usuario, IReadOnlyList`1 projetoIds, CancellationToken cancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+10.360s Processing

Server:
1165826cf5fe:1
Worker:
0702d8a5

+49.851s Enqueued

Triggered by DelayedJobScheduler

+6ms Scheduled

Retry attempt 2 of 10: The Command Timeout expired before the operation …

Enqueue at:
05/25/2026 19:52:12

+1m 265ms Failed

An exception occurred during performance of the job.

MySqlConnector.MySqlException (1165826cf5fe:1)

The Command Timeout expired before the operation completed.

MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244

   --- End of inner exception stack trace ---
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
   at MySqlConnector.Core.ResultSet.ReadAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
   at MySqlConnector.MySqlDataReader.ReadAsync(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1 projetosVersaoIds, Nullable`1 ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1 projetosIds, Nullable`1 ano, String cacheTag, List`1 projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
   at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1 projetosIds, Nullable`1 ano, List`1 projetosVersaoIds, CancellationToken cancellationToken, Nullable`1 empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
   at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32 empresaId, Usuario usuario, IReadOnlyList`1 projetoIds, CancellationToken cancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+10.328s Processing

Server:
1165826cf5fe:1
Worker:
f30da56d

+58.875s Enqueued

Triggered by DelayedJobScheduler

+8ms Scheduled

Retry attempt 1 of 10: The Command Timeout expired before the operation …

Enqueue at:
05/25/2026 19:50:16

+1m 303ms Failed

An exception occurred during performance of the job.

MySqlConnector.MySqlException (1165826cf5fe:1)

The Command Timeout expired before the operation completed.

MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244

   --- End of inner exception stack trace ---
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
   at MySqlConnector.Core.ResultSet.ReadAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
   at MySqlConnector.MySqlDataReader.ReadAsync(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1 projetosVersaoIds, Nullable`1 ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
   at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1 projetosIds, Nullable`1 ano, String cacheTag, List`1 projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
   at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1 projetosIds, Nullable`1 ano, List`1 projetosVersaoIds, CancellationToken cancellationToken, Nullable`1 empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
   at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32 empresaId, Usuario usuario, IReadOnlyList`1 projetoIds, CancellationToken cancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32 empresaId, Nullable`1 usuarioIniciadorId, Nullable`1 projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+3.024s Processing

Server:
1165826cf5fe:1
Worker:
44c005b3

+24ms Enqueued

05/25/2026 19:48:31 Created