[Tests] Fix mock buffer reader
[Tests] Fix ExecutionVertexCancelTest by not sending fail partition call when going from deploying => canceling [ci skip]
[Tests] Fix ExecutionVertexDeploymentTest by not sending fail partition call when going from deploying => canceling while trying to deploy [ci skip]
[Runtime] Clear buffers of readers and writers in operator tasks
[Distrubted runtime] Register tasks with network environment instead of having tasks allocate their own resources to allow proper release in failure cases
[Distributed runtime] Fix buffer by id lookup table
[Distributed runtime] Fix schedule or update consumers call
[Runtime] Set task state to FAILED when failing externally in FINISHED state to ensure correct resource release
[Tests] Fix TaskManagerTest
Fix possible NPE race in NetworkEnvironment.unregisterTask
Rename IntermediateResultPartitionInfo to PartitionInfo
Fix NPE race when failing tasks
Fix typo
[Tests] Shutdown exeuctor service in threads
Read state once in PartitionInfo
Minor refactoring in Execution
Change toString() of channels
Return error when trying to update task with UNKNOWN channel location