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...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at System.IO.StreamReader.ReadToEnd()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 101
System.TimeoutException: A timeout occured after 30000ms selecting a server using CompositeServerSelector{ Selectors = ReadPreferenceServerSelector{ ReadPreference = { Mode : Primary } }, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : "2", ConnectionMode : "ReplicaSet", Type : "ReplicaSet", State : "Connected", Servers : [{ ServerId: "{ ClusterId : 2, EndPoint : "Unspecified/pl-0-ap-southeast-2.x4umu.mongodb.net:1024" }", EndPoint: "Unspecified/pl-0-ap-southeast-2.x4umu.mongodb.net:1024", State: "Connected", Type: "ReplicaSetSecondary", Tags: "{ provider : AWS, nodeType : ELECTABLE, workloadType : OPERATIONAL, region : AP_SOUTHEAST_2, availabilityZone : apse2-az3, diskState : READY }", WireVersionRange: "[0, 17]" }, { ServerId: "{ ClusterId : 2, EndPoint : "Unspecified/pl-0-ap-southeast-2.x4umu.mongodb.net:1025" }", EndPoint: "Unspecified/pl-0-ap-southeast-2.x4umu.mongodb.net:1025", State: "Connected", Type: "ReplicaSetSecondary", Tags: "{ availabilityZone : apse2-az1, diskState : READY, workloadType : OPERATIONAL, region : AP_SOUTHEAST_2, nodeType : ELECTABLE, provider : AWS }", WireVersionRange: "[0, 17]" }, { ServerId: "{ ClusterId : 2, EndPoint : "Unspecified/pl-0-ap-southeast-2.x4umu.mongodb.net:1026" }", EndPoint: "Unspecified/pl-0-ap-southeast-2.x4umu.mongodb.net:1026", State: "Disconnected", Type: "Unknown" }] }.
at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelectorselector, ClusterDescriptiondescription)
at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(TaskcompletedTask)
at MongoDB.Driver.Core.Clusters.Cluster.<WaitForDescriptionChangedAsync>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Clusters.Cluster.<SelectServerAsync>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Bindings.ReadPreferenceBinding.<GetReadChannelSourceAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.Core.Operations.FindOperation`1.<ExecuteAsync>d__111.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.OperationExecutor.<ExecuteReadOperationAsync>d__3`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.MongoCollectionImpl`1.<ExecuteReadOperationAsync>d__93`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__101`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportDrugAPN>d__15.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 365
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 120
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Data.DataRow.get_ItemArray()
at System.Data.DataTableExtensions.LoadTableFromEnumerable[T](IEnumerable`1source, DataTabletable, Nullable`1options, FillErrorEventHandlererrorHandler)
at System.Data.DataTableExtensions.CopyToDataTable[T](IEnumerable`1source)
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 113
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at System.IO.StreamReader.ReadToEnd()
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 101
An exception occurred during performance of the job. More details...
System.OutOfMemoryException
Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32value)
at System.IO.MemoryStream.EnsureCapacity(Int32value)
at System.IO.MemoryStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.InternalCopyTo(Streamdestination, Int32bufferSize)
at System.IO.Stream.CopyTo(Streamdestination)
at OI.Core.Helpers.ZipHelper.DecompressToFileModel(Byte[]bytes) in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Core\Helpers\ZipHelper.cs:line 73
at OI.Service.HangfireTask.DrugImportTask.<ImportProcess>d__13.MoveNext() in C:\Program Files (x86)\Jenkins\workspace\myPak-webjob-live\OI\OI.Service\HangfireTask\DrugImport\DrugImportTask.cs:line 97