Azure 自托管代理脱机

时间:2021-07-27 14:32:35

标签: azure azure-devops

我的 Azure 自托管 Linux 代理似乎崩溃了:


/etc/systemd/system/vsts.agent.***.Dev\x20Tools.deploytools\x2d***.service
● vsts.agent.***.Dev\x20Tools.deploytools\x2d***.service - Azure Pipelines Agent (***.Dev Tools.deploytools-***)
   Loaded: loaded (/etc/systemd/system/vsts.agent.***.Dev\x20Tools.deploytools\x2d***.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2021-07-27 14:20:41 UTC; 5min ago
 Main PID: 26601 (runsvc.sh)
    Tasks: 8 (limit: 2322)
   Memory: 11.0M
   CGroup: /system.slice/vsts.agent.***.Dev\x20Tools.deploytools\x2d***.service
           ├─26601 /bin/bash /home/peter/runsvc.sh
           └─26604 ./externals/node10/bin/node ./bin/AgentService.js

Jul 27 14:26:13 deploytools-*** runsvc.sh[26601]:    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
Jul 27 14:26:13 deploytools-*** runsvc.sh[26601]:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
Jul 27 14:26:13 deploytools-*** runsvc.sh[26601]:    at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
Jul 27 14:26:13 deploytools-*** runsvc.sh[26601]:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
Jul 27 14:26:13 deploytools-*** runsvc.sh[26601]:    at Microsoft.VisualStudio.Services.Agent.HostTraceListener.CreatePageLogWriter()
Jul 27 14:26:13 deploytools-*** runsvc.sh[26601]:    at Microsoft.VisualStudio.Services.Agent.HostTraceListener..ctor(String logFileDirectory, String logFilePrefix, Int32 pageSizeLimit, Int32 retentionDays)
Jul 27 14:26:13 deploytools-*** runsvc.sh[26601]:    at Microsoft.VisualStudio.Services.Agent.HostContext..ctor(String hostType, String logFile)
Jul 27 14:26:13 deploytools-*** runsvc.sh[26601]:    at Microsoft.VisualStudio.Services.Agent.Listener.Program.Main(String[] args)
Jul 27 14:26:13 deploytools-*** runsvc.sh[26601]: Agent listener exited with error code null
Jul 27 14:26:13 deploytools-*** runsvc.sh[26601]: Agent listener exit with undefined return code, re-launch agent in 5 seconds.

但我找不到正确的错误。谁能看到发生了什么?

0 个答案:

没有答案