tag:help.appveyor.com,2012-11-13:/discussions/problems/2418-timeout-pushing-artifactsAppVeyor: Discussion 2018-10-19T08:17:17Ztag:help.appveyor.com,2012-11-13:Comment/372765572015-07-01T21:46:39Z2015-07-01T21:46:39ZTimeout pushing artifacts<div><p>How large is that artifact?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/372765572015-07-01T21:53:38Z2015-07-01T21:53:38ZTimeout pushing artifacts<div><p>Around 90Kb.</p>
<pre>
<code>07/01/2015 09:49 PM 91,049 luawinmake-964ee2420cdf2f9ed79f62bdd7ce2445379b0c02-x86-2015.7z
1 File(s) 91,049 bytes</code>
</pre></div>iburguenotag:help.appveyor.com,2012-11-13:Comment/372765572015-07-01T22:00:08Z2015-07-01T22:00:08ZTimeout pushing artifacts<div><p>When was the last time it worked?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/372765572015-07-01T22:01:57Z2015-07-01T22:01:57ZTimeout pushing artifacts<div><p>I haven't tried to push artifacts in this particular project
before.</p></div>iburguenotag:help.appveyor.com,2012-11-13:Comment/372765572015-07-01T22:19:49Z2015-07-01T22:19:49ZTimeout pushing artifacts<div><p>Just checked with a different project which was pushing
artifacts already. Seems it is running on the new infrastructure
and it succesfully uploaded the artifacts.<br>
Here is the link, if it is any help for you:</p>
<p><a href="https://ci.appveyor.com/project/ignacio/luanode/build/job/tmqrt6d5kii28s6a/artifacts">
https://ci.appveyor.com/project/ignacio/luanode/build/job/tmqrt6d5k...</a></p></div>iburguenotag:help.appveyor.com,2012-11-13:Comment/372765572015-07-01T22:28:52Z2015-07-01T22:28:52ZTimeout pushing artifacts<div><p>Interesting. Indeed, both projects are running on a new
environment.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/372765572015-07-01T22:37:21Z2015-07-01T22:37:21ZTimeout pushing artifacts<div><p>Btw, try uploading artifact from PowerShell, kind of:</p>
<pre>
<code>on_success:
...
- ps: Push-AppveyorArtifact "luawinmake-$env:APPVEYOR_REPO_COMMIT-$env:platform-$env:Configuration.7z"</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/372765572015-07-01T22:59:25Z2015-07-01T23:00:20ZTimeout pushing artifacts<div><p>It is funny... It works that way. Log <a href="https://ci.appveyor.com/project/ignacio/luawinmake/build/0.0.1.65-test/job/td3ppgabkqawal8w">
available here</a>.</p>
<p>Tried to use the appveyor.exe from the .yml file directly but
that also fails with timeout.</p>
<p>I don't mind changing the script to use powershell, but, do you
want me to try anything else, so to isolate the problem with the
.exe ?</p></div>iburguenotag:help.appveyor.com,2012-11-13:Comment/372765572015-07-01T23:09:53Z2015-07-01T23:09:53ZTimeout pushing artifacts<div><p>Good question. Both <code>appveyor.exe</code> and PowerShell use
the same assembly to call worker API. The only difference is that
PowerShell is called inside build agent process while
<code>appveyor.exe</code> is a new process. Maybe something related
to env variables or <a href="http://stackoverflow.com/questions/7062687/net-4-multi-threading-network-connections-limitation">
connections limit</a>.</p>
<p>Let me try changing connections limit and send you an updated
appveyor.exe...</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/372765572015-07-01T23:16:47Z2015-07-01T23:16:47ZTimeout pushing artifacts<div><p>OK, try adding that into <code>install</code> section of
<code>appveyor.yml</code>:</p>
<pre>
<code>- ps: "'<?xml version=\"1.0\" encoding=\"utf-8\" ?> \n<configuration> \n <system.net> \n <connectionManagement> \n <add address=\"*\" maxconnection=\"100\" /> \n </connectionManagement> \n </system.net> \n</configuration>' | Out-File 'C:\\Program Files\\AppVeyor\\BuildAgent\\appveyor.exe.config'\n"</code>
</pre>
<p>It increases the maximum connections for
<code>appveyor.exe</code>.</p>
<p>Let me know if that worked.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/372765572015-07-02T05:13:12Z2015-07-02T05:13:12ZTimeout pushing artifacts<div><p>Nope, it didn't work - I tested on my fork. Will try something
else tomorrow.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/372765572015-07-02T13:51:56Z2015-07-02T13:51:56ZTimeout pushing artifacts<div><p>Thanks for your help. Ping me if you need any assistance.</p></div>iburguenotag:help.appveyor.com,2012-11-13:Comment/372765572015-07-13T15:59:30Z2015-07-13T15:59:30ZTimeout pushing artifacts<div><p>Hi. Do you have any news regarding this issue?</p></div>iburguenotag:help.appveyor.com,2012-11-13:Comment/372765572015-07-13T16:02:12Z2015-07-13T16:02:12ZTimeout pushing artifacts<div><p>Nope. Still can't understand why in some cases it doesn't work
from appveyor.exe.</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/372765572015-08-18T21:51:52Z2015-08-18T21:51:52ZTimeout pushing artifacts<div><p>Hi Feodor.<br>
I've just tried this again, and now it is working fine when pushing
artifacts directly from the appveyor.yml file, but not when being
called from a batch file.</p></div>iburguenotag:help.appveyor.com,2012-11-13:Comment/372765572015-08-18T21:55:12Z2015-08-18T21:55:12ZTimeout pushing artifacts<div><p>Could you please do a very simple repro in a public
repository?</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/372765572015-08-18T22:07:12Z2015-08-18T22:07:12ZTimeout pushing artifacts<div><p>This repo is public:<br>
<a href="https://github.com/ignacio/luawinmake/tree/appv">https://github.com/ignacio/luawinmake/tree/appv</a></p>
<p>That branch has the code that is failing. Minutes ago, all jobs
were getting stuck. Now some of them work, some of they time
out.</p>
<p>Is that what you asked for?</p></div>iburguenotag:help.appveyor.com,2012-11-13:Comment/372765572015-08-19T19:52:57Z2015-08-19T19:52:57ZTimeout pushing artifacts<div><p>Here's another one that just failed (same Github project);
<a href="https://ci.appveyor.com/project/Tieske/luawinmake/build/0.0.1.7-test">
https://ci.appveyor.com/project/Tieske/luawinmake/build/0.0.1.7-test</a></p></div>Thijs Schreijertag:help.appveyor.com,2012-11-13:Comment/372765572015-08-19T20:15:29Z2015-08-19T20:15:39ZTimeout pushing artifacts<div><p>And the exact same commit ran ok here; <a href="https://ci.appveyor.com/project/Tieske/luawinmake/build/0.0.1.8-test">
https://ci.appveyor.com/project/Tieske/luawinmake/build/0.0.1.8-test</a></p>
<p>The failed one was a new branch, while this one is the PR of
that same branch (so content is identical)</p></div>Thijs Schreijer