Failed jobs do not become expired to allow you to re-queue them without any
time pressure. You should re-queue or delete them manually, or apply AutomaticRetry(OnAttemptsExceeded = AttemptsExceededAction.Delete)
attribute to delete them automatically.
An exception occurred during performance of the job. Fewer details...
04/13/2026 17:44:06
MySqlConnector.MySqlException
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(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244
--- End of inner exception stack trace ---
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
at MySqlConnector.Core.ResultSet.ReadAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
at MySqlConnector.MySqlDataReader.ReadAsync(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr15Async(List`1projetosVersaoIds, Nullable`1ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 538
at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr15(List`1projetosIds, Nullable`1ano, StringcacheTag, List`1projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 598
at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1projetosIds, Nullable`1ano, List`1projetosVersaoIds, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 263
at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32empresaId, Usuariousuario, IReadOnlyList`1projetoIds, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 158
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at System.RuntimeMethodHandle.InvokeMethod(Objecttarget, Void**arguments, Signaturesig, BooleanisConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
An exception occurred during performance of the job. More details...
04/13/2026 17:35:30
MySqlConnector.MySqlException
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(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244
--- End of inner exception stack trace ---
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
at MySqlConnector.Core.ResultSet.ReadAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
at MySqlConnector.MySqlDataReader.ReadAsync(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr15Async(List`1projetosVersaoIds, Nullable`1ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 538
at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr15(List`1projetosIds, Nullable`1ano, StringcacheTag, List`1projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 598
at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1projetosIds, Nullable`1ano, List`1projetosVersaoIds, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 263
at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32empresaId, Usuariousuario, IReadOnlyList`1projetoIds, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 158
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) 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(Objectobj, BindingFlagsinvokeAttr)
An exception occurred during performance of the job. More details...
03/30/2026 21:35:13
MySqlConnector.MySqlException
Cannot add or update a child row: a foreign key constraint fails (`smartpdi_dev`.`dashboard_kr_projeto_empresa`, CONSTRAINT `fk_dashboard_kr_projeto` FOREIGN KEY (`projeto_id`) REFERENCES `projeto` (`projeto_id`))
MySqlConnector.MySqlException: Cannot add or update a child row: a foreign key constraint fails (`smartpdi_dev`.`dashboard_kr_projeto_empresa`, CONSTRAINT `fk_dashboard_kr_projeto` FOREIGN KEY (`projeto_id`) REFERENCES `projeto` (`projeto_id`))
at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehaviorioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 37
at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 130
at MySqlConnector.MySqlDataReader.InitAsync(CommandListPositioncommandListPosition, ICommandPayloadCreatorpayloadCreator, IDictionary`2cachedProcedures, IMySqlCommandcommand, CommandBehaviorbehavior, Activityactivity, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 483
at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(CommandListPositioncommandListPosition, ICommandPayloadCreatorpayloadCreator, CommandBehaviorbehavior, Activityactivity, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 56
at MySqlConnector.MySqlCommand.ExecuteNonQueryAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 309
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObjectparameterObject, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObjectparameterObject, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObjectparameterObject, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacadedatabaseFacade, Stringsql, IEnumerable`1parameters, CancellationTokencancellationToken)
at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32empresaId, Usuariousuario, IReadOnlyList`1projetoIds, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 214
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) 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(Objectobj, BindingFlagsinvokeAttr)