Hi,
yesterday I re-installed a laptop from scratch, so a plain Windows 10 with a few automatic updates. (no programs installed, no personal tweaks, just a wifi connection)
Then I installed NCrunch Grid Node on it.
My desktop has Windows 11, VS2022 and NCrunch, all at their latest versions, latest updates.
They are on the same private network.
When I ping the laptop by name, my desktop finds its IP address, but the ping itself fails.
When NCrunch tries to Connect to the grid node, it fails.
I found in the firewall an inbound rule that the grid node server added during installation, allowing all ports, all computers - so I think that should be fine for my first try out.
I turned on the Grid node logging. (removed my initial two numbers from the ip address)
I found just one error, but I do not really understand it:
Quote:The requested address is not valid in its context.
Quote:
[PID:8516 14:48:11.2249 ?-4] Loading internal NCrunch modules
[PID:8516 14:48:11.2409 ?-4] Loading module: AspNetMvcTestHostModule
[PID:8516 14:48:11.2409 ?-4] Registering 1 extension(s)
[PID:8516 14:48:11.2409 ?-4] Loading module: AzureFunctionsModule
[PID:8516 14:48:11.2409 ?-4] Registering 1 extension(s)
[PID:8516 14:48:11.2409 ?-4] Loading module: CodeAnalysisModule
[PID:8516 14:48:11.2409 ?-4] Registering 2 extension(s)
[PID:8516 14:48:11.2409 ?-4] Loading module: CodeContractsModule
[PID:8516 14:48:11.2409 ?-4] Registering 2 extension(s)
[PID:8516 14:48:11.2409 ?-4] Loading module: MSFakesModule
[PID:8516 14:48:11.2409 ?-4] Registering 1 extension(s)
[PID:8516 14:48:11.2409 ?-4] Loading module: MvcBuildModule
[PID:8516 14:48:11.2409 ?-4] Registering 1 extension(s)
[PID:8516 14:48:11.2409 ?-4] Loading module: PostSharpModule
[PID:8516 14:48:11.2409 ?-4] Registering 1 extension(s)
[PID:8516 14:48:11.2409 ?-4] Loading module: SpecFlowModule
[PID:8516 14:48:11.2409 ?-4] Registering 1 extension(s)
[PID:8516 14:48:11.2409 ?-4] Loading module: StyleCopModule
[PID:8516 14:48:11.2409 ?-4] Registering 1 extension(s)
[PID:8516 14:48:11.2409 ?-4] Loading external NCrunch modules
[PID:8516 14:48:11.2409 ?-4] Module Search paths:
C:\Program Files (x86)\Remco Software\NCrunch Grid Node Server
[PID:8516 14:48:11.2569 ?-4] Loading module: C:\Program Files (x86)\Remco Software\NCrunch Grid Node Server\Modules\Gallio\nCrunch.Module.Gallio.crunchmodule
[PID:8516 14:48:11.3349 ?-4] Registering 3 extension(s)
[PID:8516 14:48:11.3349 ?-4] Loading module: C:\Program Files (x86)\Remco Software\NCrunch Grid Node Server\Modules\MSpec\nCrunch.Module.MSpec.crunchmodule
[PID:8516 14:48:11.3349 ?-4] Registering 3 extension(s)
[PID:8516 14:48:11.3349 ?-4] Loading module: C:\Program Files (x86)\Remco Software\NCrunch Grid Node Server\Modules\MSTest\nCrunch.Module.MSTest.crunchmodule
[PID:8516 14:48:11.3349 ?-4] Registering 4 extension(s)
[PID:8516 14:48:11.3349 ?-4] Loading module: C:\Program Files (x86)\Remco Software\NCrunch Grid Node Server\Modules\NUnit\nCrunch.Module.NUnit.crunchmodule
[PID:8516 14:48:11.3499 ?-4] Registering 3 extension(s)
[PID:8516 14:48:11.3499 ?-4] Loading module: C:\Program Files (x86)\Remco Software\NCrunch Grid Node Server\Modules\NUnit3\nCrunch.Module.NUnit3.crunchmodule
[PID:8516 14:48:11.3499 ?-4] Registering 4 extension(s)
[PID:8516 14:48:11.3499 ?-4] Loading module: C:\Program Files (x86)\Remco Software\NCrunch Grid Node Server\Modules\XUnit2\nCrunch.Module.XUnit2.crunchmodule
[PID:8516 14:48:11.3659 ?-4] Registering 3 extension(s)
[PID:8516 14:48:11.4289 ?-4] Successfully loaded file hash cache with 2894 entries
[PID:8516 14:48:11.4289 ?-4] Ensuring Gallio plug-in cache is clear
[PID:8516 14:48:11.4289 HashCacheVerifier-11] Verifying loaded cache of 2894 hashes
[PID:8516 14:48:11.4289 ?-5] Tracking activity "Initialising node: Indexing existing stored snapshot data" for #global:0
[PID:8516 14:48:11.4439 ?-5] Activity "Initialising node: Indexing existing stored snapshot data" has been marked with progress: 0%
[PID:8516 14:48:11.4439 ?-5] Analysing and storing existing snapshot at C:\NCrunch Grid Node\Snapshots\1
[PID:8516 14:48:11.4749 ?-5] Activity "Initialising node: Indexing existing stored snapshot data" has been marked with progress: 10%
[PID:8516 14:48:11.4749 ?-5] Stopping tracking of activity "Initialising node: Indexing existing stored snapshot data" for #global:0
[PID:8516 14:48:11.4749 ?-5] Tracking activity "Initialising node: Calculating disk space in use" for #global:0
[PID:8516 14:48:11.4749 ?-5] Activity "Initialising node: Calculating disk space in use" has been marked with progress: 0%
[PID:8516 14:48:11.4749 ?-4] Adding external process with Id 'b1285b1a506845409c77321ee2f645ec'
[PID:8516 14:48:11.4749 ?-4] Starting external process '"C:\Program Files (x86)\Remco Software\NCrunch Grid Node Server\nCrunch.TaskRunner40.x64.exe"' with arguments '8516 nCrunch_faced578cf494022981b74713914d364 b1285b1a506845409c77321ee2f645ec "C:\Program Files (x86)\Remco Software\NCrunch Grid Node Server\nCrunch.Core.DLL" nCrunch.Core.TestManagement.FrameworkDescriptionResolver "C:\Program Files (x86)\Remco Software\NCrunch Grid Node Server" "False" ""'
[PID:8516 14:48:11.5069 ?-4] Process ID '7288' initialised
[PID:8516 14:48:11.5069 ?-4] Connecting to external process 'b1285b1a506845409c77321ee2f645ec' with id 7288
[PID:8516 14:48:11.6469 ProcessOutputRedirectionStd-14] Process 7288: Initialising application domain
[PID:8516 14:48:11.6469 ProcessOutputRedirectionStd-14] Process 7288: Loading task assembly: C:\Program Files (x86)\Remco Software\NCrunch Grid Node Server\nCrunch.Core.DLL
[PID:8516 14:48:11.6469 HashCacheVerifier-11] Hash cache verification completed
[PID:8516 14:48:11.6939 ?-5] Snapshot 1 is using 4895099 bytes of disk space
[PID:8516 14:48:11.6939 ?-5] Activity "Initialising node: Calculating disk space in use" has been marked with progress: 10%
[PID:8516 14:48:11.6939 ?-5] Stopping tracking of activity "Initialising node: Calculating disk space in use" for #global:0
[PID:8516 14:48:11.6939 ?-5] Publishing Event: [:nCrunch.GridNode.NodeSnapshotStore.EnsureSnapshotDataLimitIsEnforced]
[PID:8516 14:48:11.6939 ?-5] Event [:nCrunch.GridNode.NodeSnapshotStore.EnsureSnapshotDataLimitIsEnforced] is being published on thread Core to subscriber: .
[PID:8516 14:48:11.6939 ?-5] All existing snapshots loaded
[PID:8516 14:48:11.6939 Core-6] Event [:nCrunch.GridNode.NodeSnapshotStore.EnsureSnapshotDataLimitIsEnforced] is being processed on Core thread with subscriber: .
[PID:8516 14:48:11.7099 Core-6] Checking for snapshots to delete in excess of the snapshot data limit: 16106127360
[PID:8516 14:48:11.7099 Core-6] Total snapshot space in use: 4895099
[PID:8516 14:48:11.7569 ProcessOutputRedirectionStd-14] Process 7288: Waiting for instructions
[PID:8516 14:48:11.8189 ?-4] Process 'b1285b1a506845409c77321ee2f645ec' with id 7288 is connected and tethered
[PID:8516 14:48:13.0069 ?-4] Process 7288 is terminating
[PID:8516 14:48:13.0069 ?-4] Removing external process with Id 'b1285b1a506845409c77321ee2f645ec'
[PID:8516 14:48:13.0069 ?-4] Framework description manager has loaded data for 6 test frameworks
[PID:8516 14:48:13.0069 ?-4] Loaded framework descriptions:
[PID:8516 14:48:13.0069 ?-9] Process with id 7288 has exited
[PID:8516 14:48:13.0219 ?-4] [Test Framework: Gallio]
[PID:8516 14:48:13.0219 ?-4] Framework Assemblies:
[PID:8516 14:48:13.0219 ?-4] Gallio
[PID:8516 14:48:13.0219 ?-4] Gallio35
[PID:8516 14:48:13.0219 ?-4] MbUnit.Compatibility
[PID:8516 14:48:13.0219 ?-4] MbUnit
[PID:8516 14:48:13.0219 ?-4] xunit
[PID:8516 14:48:13.0219 ?-4] xunit
[PID:8516 14:48:13.0219 ?-4] Gallio40
[PID:8516 14:48:13.0219 ?-4] MbUnit35
[PID:8516 14:48:13.0219 ?-4] MbUnit40
[PID:8516 14:48:13.0219 ?-4] -------------
[PID:8516 14:48:13.0219 ?-4] [Test Framework: MSpec]
[PID:8516 14:48:13.0219 ?-4] Framework Assemblies:
[PID:8516 14:48:13.0219 ?-4] Machine.Specifications
[PID:8516 14:48:13.0219 ?-4] -------------
[PID:8516 14:48:13.0219 ?-4] [Test Framework: MSTest]
[PID:8516 14:48:13.0219 ?-4] Framework Assemblies:
[PID:8516 14:48:13.0219 ?-4] Microsoft.VisualStudio.QualityTools.UnitTestFramework
[PID:8516 14:48:13.0219 ?-4] Microsoft.VisualStudio.TestPlatform.UnitTestFramework
[PID:8516 14:48:13.0219 ?-4] Microsoft.VisualStudio.TestPlatform.TestFramework
[PID:8516 14:48:13.0219 ?-4] -------------
[PID:8516 14:48:13.0219 ?-4] [Test Framework: NUnit]
[PID:8516 14:48:13.0219 ?-4] Framework Assemblies:
[PID:8516 14:48:13.0219 ?-4] nunit.framework
[PID:8516 14:48:13.0219 ?-4] -------------
[PID:8516 14:48:13.0219 ?-4] [Test Framework: NUnit3]
[PID:8516 14:48:13.0219 ?-4] Framework Assemblies:
[PID:8516 14:48:13.0219 ?-4] NUnit.Framework
[PID:8516 14:48:13.0219 ?-4] -------------
[PID:8516 14:48:13.0219 ?-4] [Test Framework: XUnit]
[PID:8516 14:48:13.0219 ?-4] Framework Assemblies:
[PID:8516 14:48:13.0219 ?-4] xunit.core
[PID:8516 14:48:13.0219 ?-4] xunit2
[PID:8516 14:48:13.0219 ?-4] -------------
[PID:8516 14:48:13.3189 ?-4] Unable to bind a listening socket to interface with address (xxx.xxx).167.139 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 4 times.
[PID:8516 14:48:13.3189 ?-4] Unable to bind a listening socket to interface with address (xxx.xxx).108.10 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 4 times.
[PID:8516 14:48:13.3189 ?-4] Unable to bind a listening socket to interface with address (xxx.xxx).134.89 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 4 times.
[PID:8516 14:48:13.3189 ?-4] Unable to bind a listening socket to interface with address (xxx.xxx).58.241 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 4 times.
[PID:8516 14:48:13.3189 ?-4] Node server started - listening on port 41141
[PID:8516 14:48:18.3349 ?-4] Unable to bind a listening socket to interface with address (xxx.xxx).134.89 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 3 times.
[PID:8516 14:48:18.3349 ?-12] Unable to bind a listening socket to interface with address (xxx.xxx).58.241 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 3 times.
[PID:8516 14:48:18.3349 ?-5] Unable to bind a listening socket to interface with address (xxx.xxx).108.10 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 3 times.
[PID:8516 14:48:18.3349 ?-14] Unable to bind a listening socket to interface with address (xxx.xxx).167.139 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 3 times.
[PID:8516 14:48:23.3499 ?-4] Unable to bind a listening socket to interface with address (xxx.xxx).108.10 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 2 times.
[PID:8516 14:48:23.3499 ?-12] Unable to bind a listening socket to interface with address (xxx.xxx).58.241 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 2 times.
[PID:8516 14:48:23.3499 ?-5] Unable to bind a listening socket to interface with address (xxx.xxx).134.89 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 2 times.
[PID:8516 14:48:23.3499 ?-15] Unable to bind a listening socket to interface with address (xxx.xxx).167.139 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 2 times.
[PID:8516 14:48:28.3499 ?-5] Unable to bind a listening socket to interface with address (xxx.xxx).134.89 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 1 times.
[PID:8516 14:48:28.3499 ?-4] Unable to bind a listening socket to interface with address (xxx.xxx).108.10 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 1 times.
[PID:8516 14:48:28.3499 ?-14] Unable to bind a listening socket to interface with address (xxx.xxx).167.139 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 1 times.
[PID:8516 14:48:28.3499 ?-18] Unable to bind a listening socket to interface with address (xxx.xxx).58.241 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 1 times.
[PID:8516 14:48:33.3499 ?-12] Unable to bind a listening socket to interface with address (xxx.xxx).134.89 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 0 times.
[PID:8516 14:48:33.3499 ?-15] Unable to bind a listening socket to interface with address (xxx.xxx).58.241 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 0 times.
[PID:8516 14:48:33.3499 ?-5] Unable to bind a listening socket to interface with address (xxx.xxx).108.10 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 0 times.
[PID:8516 14:48:33.3499 ?-11] Unable to bind a listening socket to interface with address (xxx.xxx).167.139 on port 41141, due to exception: The requested address is not valid in its context. Will retry another 0 times.
What can I do to get this setup going ?
Thx for your views,
Dirk