SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

"Test Insights" missing in Systemlink Web Application

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?

Missing Test Insights.JPG

0 Kudos
Message 1 of 13
(3,414 Views)

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.

 

Screen Shot 2022-01-18 at 8.20.33 AM.png

0 Kudos
Message 2 of 13
(3,378 Views)

It appears to be stuck in a state of "starting". 

TestMonitor Service.JPG

0 Kudos
Message 3 of 13
(3,376 Views)

What version of the SystemLink Server do you have installed?

 

0 Kudos
Message 4 of 13
(3,371 Views)

SystemLink 21.0

SystemLink Version.JPG

0 Kudos
Message 5 of 13
(3,367 Views)

From the SystemLink Configuration Utility can you generate a troubleshooting report and upload it.

 

Screen Shot 2022-01-18 at 9.29.11 AM.png

0 Kudos
Message 6 of 13
(3,359 Views)

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()

0 Kudos
Message 7 of 13
(3,346 Views)

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.

Screen Shot 2022-01-18 at 10.30.53 AM.png

0 Kudos
Message 8 of 13
(3,345 Views)

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).

0 Kudos
Message 9 of 13
(3,334 Views)

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.

 

You may have installed something after installing Test Insights that added a 12.0.0 version of Newtonsoft.Json to the GAC. Test Insights needs to use version 13.0.0. We have since fixed the underlying issue, which will be included in SystemLink 2022 R1 when it releases at the end of the month.
 
One workaround for the issue is to uninstall the components listed in the following screenshot and repair them.
 
JoshuaP_0-1642532919422.jpeg

 

0 Kudos
Message 10 of 13
(3,328 Views)