Artifacts publishing problem

Hello. We installed the TeamCity Professional License (v 8.15) on a Windows 7 Professional machine and one build agent on the same machine. After performing about 20 successful builds (including publishing of artifacts), the build server agent is no longer capable of publishing artifacts. The builds are still successful. See log below. We disabled antivirus protection and firewall but with no success. Does anybody have any ideas how to fix this?

[2014-11-21 19:11:27,579]   INFO - buildServer.AGENT.registration - Server confirmed we are still registered
[2014-11-21 19:11:27,579]   INFO - r.agent.impl.AgentLogProxyImpl - Ping OK and registered on the server again: 23
[2014-11-21 19:11:27,579]   INFO - r.agent.impl.AgentLogProxyImpl - Pending remote commands count: 6
[2014-11-21 19:11:27,579]   INFO -    jetbrains.buildServer.AGENT - Start: Publishing files using WebPublisher
[2014-11-21 19:11:27,798]   INFO -    jetbrains.buildServer.AGENT - Start: Publishing files using ArtifactsCachePublisher
[2014-11-21 19:11:30,840]   WARN -    jetbrains.buildServer.AGENT - Failed to publish artifacts [D:\BuildAgent\temp\buildTmp\ZipPreprocessor2437893383097425848\UpgradePackage_5.30.1.1.22_2759.zip (size: 149123590)] because of error: java.net.SocketException: Connection reset by peer: socket write error, will try again.
[2014-11-21 19:11:30,840]   WARN -    jetbrains.buildServer.AGENT - Failed to publish artifacts: Connection reset by peer: socket write error, will try again
[2014-11-21 19:11:30,840]   WARN - r.agent.impl.AgentLogProxyImpl - Remote command Publishing to Result/UpgradePackage_5.30.1.1.22_2759.zip failed 10 times, error: jetbrains.buildServer.agent.ArtifactPublishingFailedException: Connection reset by peer: socket write error

6 comments
Comment actions Permalink

Hi Adrian,

What is the size of artifacts that you publish? To configure Maximum artifact file size please go to Administration > Global setting page.

0
Comment actions Permalink

The size of the publishing artifacts is almost 1GB and the maximum artifact file size is unlimited (-1) - see attached screenshot. Sometimes publishing succeeds after 3 attempts, but sometimes they don't succeed at all.



Attachment(s):
tcadmin.png
0
Comment actions Permalink

Do you have proxy server configured?

0
Comment actions Permalink

No, we haven't configured any proxy for TeamCity.

0
Comment actions Permalink

Hi Adrian,

I've created an issue https://youtrack.jetbrains.com/issue/TW-38898. Please watch/vote for it. Also please attach teamcity-server.log and teamcity-agent.log files to the issue.

0
Comment actions Permalink

Hi Adrian/Alina

 

I am using TeamCity Enterprise 9.1.4 version and I am facing one weird issue when Linux agents are used.

The size of artifacts is unlimited in Administration--> Global settings.

While publishing a tar or zip file as a build articact, the build gets cancelled after getting connection reset errors.

Do you guys know the cause here  as we are completely blocked due to this?

[21:20:47]Publishing artifacts (running for 1m:40s)
[21:20:47][Publishing artifacts] Collecting files to publish: [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar, UpgradeToolP4-Changes.txt, UpgradeToolP4-info.txt]
[21:20:47][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [WebPublisher]
[21:20:47][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [ArtifactsCachePublisher]
[21:20:53][Publishing artifacts] Recoverable problem publishing artifacts (will retry): Connection reset
[21:20:58][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [WebPublisher]
[21:20:58][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [ArtifactsCachePublisher]
[21:21:03][Publishing artifacts] Recoverable problem publishing artifacts (will retry): Connection reset
[21:21:08][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [WebPublisher]
[21:21:08][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [ArtifactsCachePublisher]
[21:21:12][Publishing artifacts] Recoverable problem publishing artifacts (will retry): Connection reset
[21:21:18][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [WebPublisher]
[21:21:18][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [ArtifactsCachePublisher]
[21:21:23][Publishing artifacts] Recoverable problem publishing artifacts (will retry): Connection reset
[21:21:28][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [WebPublisher]
[21:21:28][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [ArtifactsCachePublisher]
[21:21:33][Publishing artifacts] Recoverable problem publishing artifacts (will retry): Connection reset
[21:21:38][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [WebPublisher]
[21:21:38][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [ArtifactsCachePublisher]
[21:21:43][Publishing artifacts] Recoverable problem publishing artifacts (will retry): Connection reset
[21:21:48][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [WebPublisher]
[21:21:48][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [ArtifactsCachePublisher]
[21:21:52][Publishing artifacts] Recoverable problem publishing artifacts (will retry): Connection reset
[21:21:57][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [WebPublisher]
[21:21:58][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [ArtifactsCachePublisher]
[21:22:02][Publishing artifacts] Recoverable problem publishing artifacts (will retry): Connection reset
[21:22:07][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [WebPublisher]
[21:22:08][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [ArtifactsCachePublisher]
[21:22:12][Publishing artifacts] Recoverable problem publishing artifacts (will retry): Connection reset
[21:22:17][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [WebPublisher]
[21:22:17][Publishing artifacts] Publishing 3 files [depot/Platform/NGIS/Main/Tools/Upgrade/upgrade-cli/build/distributions/upgrade-tool-0.0.2a.tar] using [ArtifactsCachePublisher]
[21:22:22][Publishing artifacts] Recoverable problem publishing artifacts (will retry): Connection reset
[21:22:27]Build canceled

 

Thanks,

-Rajesh

 

 

0

Please sign in to leave a comment.