microsoft / vso-agent

Visual Studio Team Services and TFS agent for Mac OSX and Linux
MIT License
132 stars 57 forks source link

Cent OS ECONNRESET on job build #264

Closed hyouhaku closed 8 years ago

hyouhaku commented 8 years ago

Environment: CentOS 7 First a few builds went though, but at one point it started to fail every single time.

2016-03-24T21:26:40.090Z: Running job: Build unhandled:read ECONNRESET Error: read ECONNRESET at exports._errnoException (util.js:856:11) at Pipe.onread (net.js:546:26)

[Error] 2016-03-24T21:26:44.816Z: worker unhandled: read ECONNRESET

[Error] 2016-03-24T21:26:44.816Z: Error: read ECONNRESET

[Error] 2016-03-24T21:26:44.816Z: at exports._errnoException (util.js:856:11)

[Error] 2016-03-24T21:26:44.816Z: at Pipe.onread (net.js:546:26)

bryanmacfarlane commented 8 years ago

Does it work if the agent is restarted? Contact me offline via email - bryanmac is my alias and we can dig in logs if you're blocked

hyouhaku commented 8 years ago

I've sent you an email, thanks for the help

bryanmacfarlane commented 8 years ago

For some reason I missed. Can you resend or reply?

hyouhaku commented 8 years ago

hi Bryan, restarting agent didn't help. I also tried to download logs from agent but it was empty, so we are blocked right now. Only error message I have from centos console is:

[vsoagent@centos1 ~]$ ./run.sh successful connect as undefined Retrieved agent pool: Default (1) Sat Apr 02 2016 23:20:31 GMT-0500 (CDT) : PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin centos1 2016-04-03T04:20:33.226Z: Agent Started. 2016-04-03T04:21:04.140Z: Running job: Build unhandled:read ECONNRESET Error: read ECONNRESET at exports._errnoException (util.js:856:11) at Pipe.onread (net.js:546:26)

[Error] 2016-04-03T04:21:04.880Z: worker unhandled: read ECONNRESET

[Error] 2016-04-03T04:21:04.880Z: Error: read ECONNRESET

[Error] 2016-04-03T04:21:04.880Z: at exports._errnoException (util.js:856:11)

[Error] 2016-04-03T04:21:04.880Z: at Pipe.onread (net.js:546:26)

bryanmacfarlane commented 8 years ago

email me the _diag and _work/_diag logs (don't attach here) also send me version (in package.json) of agent

hyouhaku commented 8 years ago

hi Bryan, please see attached file. Cheers

Bo

On Thu, Apr 21, 2016 at 11:25 PM, Bryan MacFarlane <notifications@github.com

wrote:

email me the _diag and _work/_diag logs (don't attach here) also send me version (in package.json) of agent

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/Microsoft/vso-agent/issues/264#issuecomment-213227768

bryanmacfarlane commented 8 years ago

This is fixed in the replacment agent: https://github.com/Microsoft/vsts-agent

Thanks for reporting!