Azure pipeline getting error: [error]The read operation failed, see inner exception on mac hosted agent

Azure pipeline getting error: [error]The read operation failed, see inner exception on mac hosted agent

我收到此错误,我试图找出原因和突然发生的事情: 更重要的是如何调试这样的错误。 这行是什么意思:

Error The read operation failed, see inner exception.

这是哪里:内部异常?

020-09-30T18:47:22.0199830Z ##[section]Starting: Initialize job
2020-09-30T18:47:22.0201330Z Agent name: 'Hosted Agent'
2020-09-30T18:47:22.0201750Z Agent machine name: 'Mac-1601490664598'
2020-09-30T18:47:22.0202040Z Current agent version: '2.175.2'
2020-09-30T18:47:22.0219900Z Current image version: '20200904.1'
2020-09-30T18:47:22.0229850Z Agent running as: 'runner'
2020-09-30T18:47:22.0293150Z Prepare build directory.
2020-09-30T18:47:22.0595770Z Set build variables.
2020-09-30T18:47:22.0631220Z Download all required tasks.
2020-09-30T18:47:22.0751440Z Downloading task: CmdLine (2.164.2)
2020-09-30T18:48:02.2372880Z Downloading task: UseRubyVersion (0.165.2)
2020-09-30T18:48:48.2651220Z Downloading task: DownloadBuildArtifacts (0.167.2)
2020-09-30T18:51:03.2405560Z ##[warning]Failed to download task 'DownloadBuildArtifacts'. Error The read operation failed, see inner exception.
2020-09-30T18:51:03.2423990Z ##[warning]Inner Exception: {ex.InnerException.Message}
2020-09-30T18:51:03.2428450Z ##[warning]Back off 23.799 seconds before retry.
2020-09-30T18:53:07.4698560Z ##[warning]Failed to download task 'DownloadBuildArtifacts'. Error The read operation failed, see inner exception.
2020-09-30T18:53:07.4701220Z ##[warning]Inner Exception: {ex.InnerException.Message}
2020-09-30T18:53:07.4704340Z ##[warning]Back off 13.329 seconds before retry.
2020-09-30T18:57:08.7191850Z ##[error]The read operation failed, see inner exception.
2020-09-30T18:57:08.7198800Z ##[section]Finishing: Initialize job

您不是唯一遇到此中断的人,请参阅此 post

我查看了我们的内部服务遥测日志,您遇到的问题应该是由我们的服务事件引起的。 https://status.dev.azure.com/_history

从 15:23:27 CST 开始我们的后端发生了一些异常,这使您遇到了管道中断。

how to debug such an error

通常情况下,如果您使用托管池,用户很难检查内部异常。详细的异常消息记录在我们的后端遥测日志中。如果您以后再次被阻止并想了解有关它的详细消息,您可以通过单击下面提到的报告中断 按钮与我们的团队联系:


由于事件现在已经得到缓解,我相信如果您现在 re-run 管道,您的管道将正常工作