01-17-2022 08:36 AM
I'm attempting to setup TestStand to publish results to SystemLink. I've installed the entire SystemLink Suite on my windows machine including the Test Module. I've configured the SystemLink Client in TestStand according to the documentation. My problem is I don't see the "Test Insights" category in the SystemLink Web Application. Any ideas? Does "Test Insights" not show up until there are test results in the workspace?
01-18-2022 08:21 AM
I would recommend remote desktopping into the server and opening up the SystemLink Server Configuration utility and check on the status of the TestMonitor service first just to confirm that it is installed and running.
01-18-2022 08:29 AM
It appears to be stuck in a state of "starting".
01-18-2022 08:44 AM
What version of the SystemLink Server do you have installed?
01-18-2022 08:47 AM
SystemLink 21.0
01-18-2022 09:29 AM
From the SystemLink Configuration Utility can you generate a troubleshooting report and upload it.
01-18-2022 10:30 AM
Looking through the logs, however this seems to be the issue from logs/Skyline/log.txt. Still trying to figure out what it means.
2022-01-18--08:25:42.50541 | TestMonitor.Control | ERROR - Unhandled exception in message callback: System.MissingFieldException: Field not found: 'NationalInstruments.Skyline.MessageBus.Serialization.DefaultConverters'.
at NationalInstruments.Skyline.TestMonitor.Infrastructure.Persistence.Mongo.MongoCollections.RegisterModelMappings()
at NationalInstruments.Skyline.TestMonitor.TestMonitorService.TrySetConfiguration(List`1 sections) in C:\agent\_work\1\s\TestMonitorService\TestMonitor\TestMonitorService.cs:line 128
at NationalInstruments.Skyline.SkylineUtilities.ManagedServiceBase.ReceiveControlMessage(GenericMessage message)
at NationalInstruments.Skyline.MessageBus.MessageSubscriber.ProcessMessage(GenericMessage message)
at NationalInstruments.Skyline.MessageBus.MessageSubscriber.ReceiveMessage(GenericMessage message)
at NationalInstruments.Skyline.MessageBus.AmqpConsumer.MessageReceived(BasicDeliverEventArgs e)
at RabbitMQ.Client.Events.EventingBasicConsumer.Raise[TEvent](EventHandler`1 eventHandler, TEvent evt)
at RabbitMQ.Client.Impl.ConcurrentConsumerDispatcher.<>c__DisplayClass11_0.<HandleBasicDeliver>b__0()
01-18-2022 10:32 AM
Can you also try clicking the Restart button from the NI SystemLink Server Configuration? This will restart all of the services just to verify it isn't a performance/timing issue which can happen if you have a lot of services on a small Windows server.
01-18-2022 11:40 AM
When I click on the "Restart" button, I see it go through these states:
1. Awaiting dependencies
2. Starting
5 times out of 15 restarts it actually makes it to a third state "Initializing". Although this state persists (I waited 20 minutes once just to make sure it was stuck in this state).
01-18-2022 01:12 PM
I think we know what is causing the issue. SL and some other NI products use a library called Netwosoft.json, which can cause this service to fail to start if they aren't using the same version.