当我在发布管道上的第二个环境中运行部署任务时,出现了一个非常棘手的错误,但我无法解决。好像和NodeJS有关。我们根本不使用注释。那timer.c
是什么?有什么帮助吗?我刚刚将错误所在的日志文件末尾粘贴到此处。如果需要完整日志,请告诉我,我将更新我的问题。
2018-07-31T14:32:47.6409251Z ##[debug]Processing drop/Captura.PDV.Pagadoria.Web.deploy.cmd
2018-07-31T14:32:47.7084467Z ##[debug]Got download stream for item: drop/Captura.PDV.Pagadoria.Web.deploy-readme.txt
2018-07-31T14:32:47.7085150Z ##[debug]testing directory 'C:\vstsagent\A1\_work\r1\a\_Captura-CI\drop'
2018-07-31T14:32:47.7087739Z Downloading drop/Captura.PDV.Pagadoria.Web.deploy-readme.txt to C:\vstsagent\A1\_work\r1\a\_Captura-CI\drop\Captura.PDV.Pagadoria.Web.deploy-readme.txt
2018-07-31T14:32:47.7094967Z Assertion failed: new_time >= loop->time, file src\win\timer.c, line 37
2018-07-31T14:32:47.8022545Z ##[error]Exit code -1073740791 returned from process: file name 'C:\vstsagent\A1\externals\node\bin\node.exe', arguments '"C:\vstsagent\A1\_work\_tasks\DownloadBuildArtifacts_a433f589-fce1-4460-9ee6-44a624aeb1fb\0.137.2\main.js"'.
2018-07-31T14:32:47.8058568Z ##[debug]Microsoft.VisualStudio.Services.Agent.Util.ProcessExitCodeException: Exit code -1073740791 returned from process: file name 'C:\vstsagent\A1\externals\node\bin\node.exe', arguments '"C:\vstsagent\A1\_work\_tasks\DownloadBuildArtifacts_a433f589-fce1-4460-9ee6-44a624aeb1fb\0.137.2\main.js"'.
at Microsoft.VisualStudio.Services.Agent.Util.ProcessInvoker.<ExecuteAsync>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.ProcessInvokerWrapper.<ExecuteAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.DefaultStepHost.<ExecuteAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.NodeHandler.<RunAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.<RunAsync>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.<RunStepAsync>d__1.MoveNext()
2018-07-31T14:32:47.8065131Z ##[section]Finishing: Download artifact - _Captura-CI
最佳答案
我能够解决重新启动服务器的问题。它是 AWS 上的 EC2 实例。
https://github.com/libuv/libuv/issues/1268#issuecomment-371829176
关于azure-devops - VSTS 部署失败,错误为 -1073740791,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51616099/