Pavel,
The only newtonsoft.json found are /usr/share/dotnet/sdk/NuGetFallbackFolder/newtonsoft.json (versions 9.0.1 and 10.0.1) and /usr/share/dotnet/store/x64/netcoreapp2.0/newtonsoft.json (version 10.0.1). There is nothing in .nuget/packages. The sizes of corresponding Newtonsoft.Json.dll are as follows: 625K :: /usr/share/dotnet/sdk/NuGetFallbackFolder/newtonsoft.json/10.0.1/lib/netstandard1.3/Newtonsoft.Json.dll 1.8M :: /usr/share/dotnet/store/x64/netcoreapp2.0/newtonsoft.json/10.0.1/lib/netstandard1.3/Newtonsoft.Json.dll I’m not sure I should move the /usr/share based directories for tests but if it the case, I can do it carefully. BTW, on the agent where all tests are passed the same file exists as aforementioned ones, no obvious differences. > On 6 Jul 2018, at 12:15, Pavel Tupitsyn <ptupit...@apache.org> wrote: > > Petr, > > - Get the sources > - cd modules/platforms/dotnet/Apache.Ignite.Core.Tests.DotNetCore > - dotnet build > > You should get a warning "warning MSB3246: Resolved file has a bad image, > no metadata, or is otherwise inaccessible. Image is too small." > If you do, go ahead: > > - cd ~/.nuget/packages/newtonsoft.json > - let me know which versions are there and what are the sizes > of lib/netstandard1.3/Newtonsoft.Json.dll files in them > - delete the whole newtonsoft.json directory and try the build again, will > it fail? > > Thanks, > Pavel > > On Thu, Jul 5, 2018 at 11:38 AM Petr Ivanov <mr.wei...@gmail.com> wrote: > >> I can. >> >> >> Can you prepare reproduce steps so that I’ll be able to pinpoint the >> problem faster, please? >> >> >>> On 5 Jul 2018, at 11:25, Pavel Tupitsyn <ptupit...@apache.org> wrote: >>> >>> Igniters, >>> >>> I need help with TeamCity. >>> .NET Linux Tests [1] fail for a very weird reason: >>> Newtonsoft.Json.dll seems to be corrupted or empty " *Image is too >> small.* >>> ". >>> I tried adding a step to clean NuGet caches, but it does not help. >>> >>> On my Ubuntu box tests pass. And there were no changes to .NET lately, so >>> this failure seems to be TC-related only. >>> >>> Can someone with TeamCity agent access help me with this and check where >>> that file comes from and what does it look like? >>> >>> Thanks, >>> Pavel >>> >>> [1] >>> >> https://ci.ignite.apache.org/viewLog.html?buildId=1454493&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_PlatformNetCoreLinux >> >>