[
https://issues.apache.org/jira/browse/AVRO-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135753#comment-17135753
]
Ryan Skraba commented on AVRO-2847:
-----------------------------------
I've never succeeded reproducing this error with a Windows VM! It's not the
same thing as a Windows container, but I'm not familiar enough with C# builds
and packages to figure out if the error is coming from Windows, from our build
files and local builds, or from a package cache somewhere between the two.
> Travis Windows/C# build is sometimes flaky
> ------------------------------------------
>
> Key: AVRO-2847
> URL: https://issues.apache.org/jira/browse/AVRO-2847
> Project: Apache Avro
> Issue Type: Task
> Reporter: Ryan Skraba
> Priority: Major
> Attachments: travis-windows-failure-example-log.txt
>
>
> We use the [https://travis-ci.org/github/apache/avro/] build to validate PRs,
> but the Windows build occasionally fails with an error message:
> {code}
> Build FAILED.
> C:\Users\travis\build\apache\avro\lang\csharp\src\apache\test\Avro.test.csproj
> : error NU1603: Apache.Avro depends on Newtonsoft.Json (>= 10.0.3) but
> Newtonsoft.Json 10.0.3 was not found. An approximate best match of
> Newtonsoft.Json 11.0.2 was resolved.
> [C:\Users\travis\build\apache\avro\lang\csharp\Avro.sln]
> C:\Users\travis\build\apache\avro\lang\csharp\src\apache\test\Avro.test.csproj
> : error NU1101: Unable to find package nunit. No packages exist with this id
> in source(s): Microsoft Visual Studio Offline Packages
> [C:\Users\travis\build\apache\avro\lang\csharp\Avro.sln]
> C:\Users\travis\build\apache\avro\lang\csharp\src\apache\test\Avro.test.csproj
> : error NU1101: Unable to find package nunit3testadapter. No packages exist
> with this id in source(s): Microsoft Visual Studio Offline Packages
> [C:\Users\travis\build\apache\avro\lang\csharp\Avro.sln]
> C:\Users\travis\build\apache\avro\lang\csharp\src\apache\test\Avro.test.csproj
> : error NU1101: Unable to find package NUnit.ConsoleRunner. No packages
> exist with this id in source(s): Microsoft Visual Studio Offline Packages
> [C:\Users\travis\build\apache\avro\lang\csharp\Avro.sln]
> C:\Users\travis\build\apache\avro\lang\csharp\src\apache\test\Avro.test.csproj
> : error NU1101: Unable to find package Microsoft.NET.Test.Sdk. No packages
> exist with this id in source(s): Microsoft Visual Studio Offline Packages
> [C:\Users\travis\build\apache\avro\lang\csharp\Avro.sln]
> C:\Users\travis\build\apache\avro\lang\csharp\src\apache\test\Avro.test.csproj
> : error NU1101: Unable to find package System.CodeDom. No packages exist
> with this id in source(s): Microsoft Visual Studio Offline Packages
> [C:\Users\travis\build\apache\avro\lang\csharp\Avro.sln]
> 0 Warning(s)
> {code}
> Relaunching the job usually succeeds.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)