代码之家  ›  专栏  ›  技术社区  ›  Bruno Casarotti

VSTS部署失败,出现错误-1073740791

  •  2
  • Bruno Casarotti  · 技术社区  · 6 年前

    当我在发布管道上运行部署任务到第二个环境时,我遇到了一个非常棘手的错误,我无法解决。似乎和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
    
    1 回复  |  直到 6 年前
        1
  •  2
  •   Bruno Casarotti    6 年前

    我能够解决重新启动服务器的问题。它是AWS上的EC2实例。

    https://github.com/libuv/libuv/issues/1268#issuecomment-371829176