Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Intermittent errors on single grid node
MatthewSteeples
#1 Posted : Monday, September 2, 2019 11:29:36 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 10/28/2014(UTC)
Posts: 139
Location: United Kingdom

Thanks: 7 times
Was thanked: 18 time(s) in 16 post(s)
We have 2 identical grid nodes configured. Occasionally one of them will display this error (but not for everyone using it).

A restart of the node or the client usually resolves it. The project in question is a single NETSTANDARD library in a solution full of .NET 4.7.2 projects. It doesn't depend on any of the others (It's at the bottom of the dependency hierarchy, so most of the others depend on it)

Code:
NCrunch: The build results for this project are not consistent across all computers within the grid.

This project was successfully built on computers: (local), lsbuild1
This project failed to build on computers: lsbuild2

Associated tests will continue to run on computers that are able to build this project successfully.  Please ensure all computers within the grid are configured correctly with all required SDKs installed.

****************** BUILD OUTPUT FROM '(local)' ******************


****************** BUILD OUTPUT FROM 'lsbuild2' ******************

..\..\..\..\..\matthews\AppData\Local\Temp\.NETStandard,Version=v2.0.AssemblyAttributes.cs (4, 20): The type or namespace name 'System' could not be found in the global namespace (are you missing an assembly reference?)
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (14, 12): The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (15, 12): The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (16, 12): The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (17, 12): The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (18, 12): The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (19, 12): The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (20, 12): The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
..\..\..\..\..\matthews\AppData\Local\Temp\.NETStandard,Version=v2.0.AssemblyAttributes.cs (4, 71): Predefined type 'System.String' is not defined or imported
..\..\..\..\..\matthews\AppData\Local\Temp\.NETStandard,Version=v2.0.AssemblyAttributes.cs (4, 100): The type or namespace name 'FrameworkDisplayName' could not be found (are you missing a using directive or an assembly reference?)
..\..\..\..\..\matthews\AppData\Local\Temp\.NETStandard,Version=v2.0.AssemblyAttributes.cs (4, 123): Predefined type 'System.String' is not defined or imported
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (14, 55): Predefined type 'System.String' is not defined or imported
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (15, 61): Predefined type 'System.String' is not defined or imported
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (16, 59): Predefined type 'System.String' is not defined or imported
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (17, 68): Predefined type 'System.String' is not defined or imported
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (18, 55): Predefined type 'System.String' is not defined or imported
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (19, 53): Predefined type 'System.String' is not defined or imported
obj\Debug\netstandard2.0\Ledgerscope.Utilities.AssemblyInfo.cs (20, 55): Predefined type 'System.String' is not defined or imported
Remco
#2 Posted : Tuesday, September 3, 2019 12:36:45 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi, thanks for sharing this issue.

Can you check whether you have precisely the same versions of .NET Core installed on this grid node as you do on your client machines? And whether there is any mismatch in versions being used between your client machines? This looks like there may be a package versioning or restoration issue appearing on the grid node. It's possible that it may be triggered by clients with different package requirements reconnecting to the grid node and fighting over their required versions.
MatthewSteeples
#3 Posted : Tuesday, September 3, 2019 8:32:12 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 10/28/2014(UTC)
Posts: 139
Location: United Kingdom

Thanks: 7 times
Was thanked: 18 time(s) in 16 post(s)
Looks like we had someone missing the ".NET Core Cross Platform Development" pieces in VS
Remco
#4 Posted : Wednesday, September 4, 2019 12:10:01 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
MatthewSteeples;13818 wrote:
Looks like we had someone missing the ".NET Core Cross Platform Development" pieces in VS


I wish I could think of a better way of getting NCrunch to report that. Not a fun thing to track down.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.029 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download