Error communicating AppVeyor Build Worker API
I get an AppVeyor error when running unit tests with DNX.
Exception: Error communicating AppVeyor Build Worker API: Could not load file or assembly 'System.Net.Requests, Version=3.9.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
https://ci.appveyor.com/project/JamesNewtonKing/newtonsoft-json/build/1.0.413
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by James Newton-Ki... on 25 Aug, 2015 03:16 AM
Also, the same commit built previously in the day:
https://ci.appveyor.com/project/JamesNewtonKing/newtonsoft-json/build/1.0.410
Support Staff 2 Posted by Feodor Fitsner on 25 Aug, 2015 05:28 AM
That's weird as nothing has been changed recently on AppVeyor build workers. Could it be some external dependency?
3 Posted by James Newton-Ki... on 25 Aug, 2015 05:31 AM
It consistently works on my local computer and consistently (at least now) fails on AppVeyor.
4 Posted by James Newton-Ki... on 25 Aug, 2015 05:34 AM
And there is the message "Error communicating AppVeyor Build Worker API" which is why I guessed it was an AppVeyor thing.
Support Staff 5 Posted by Feodor Fitsner on 25 Aug, 2015 05:42 AM
Right, the exception comes from here: https://github.com/xunit/xunit/blob/4089905f0e7ba13160f6048b32b3a39... and the second part
Could not load file or assembly 'System.Net.Requests, Version=3.9.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
could mean that something wrong with the runner itself. I'd recommend filing an issue there: https://github.com/xunit/xunit/issuesSupport Staff 6 Posted by Feodor Fitsner on 25 Aug, 2015 06:00 AM
Your test project constantly pulls the latest version of xunit DNX runner: https://github.com/JamesNK/Newtonsoft.Json/blob/master/Src/Newtonso...
...and there is a difference between success and failed builds:
Installing xunit.runner.dnx.2.1.0-beta5-build156
- successful buildInstalling xunit.runner.dnx.2.1.0-beta5-build159
- failed buildHope that helps.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:59 AM.