Skip to content
Snippets Groups Projects
Open OBSW Parameter Poller produces error
  • View options
  • OBSW Parameter Poller produces error

  • View options
  • Open Issue created by Dominik Marszk

    Summary

    The Supervisor in flight produced a bunch of

    Steps to reproduce

    Unknown. Possibly running Supervisor for extended period with SPP Bridge offline and then starting SPP Bridge could trigger it. See FM System Journal in the period of 2022-05-20 03:00:00 - 2022-05-22 19:05:37.

    What is the current bug behavior?

    The Supervisor OBSW Parameter Poller produced an following error every 5 seconds. Note it happened after SPP Bridge was inactive for at least 2 hours.

    What is the expected correct behavior?

    No error produced.

    Relevant logs and/or screenshots

    Error produced every 5 seconds

    May 22, 2022 7:05:32 PM esa.mo.mal.impl.MessageSend initiateSynchronousInteraction                                                                    
    WARNING: Error with consumer : malspp:247/10/0                                                                                                        
    May 22, 2022 7:05:32 PM esa.mo.nanomind.impl.parameters_provisioning.NanomindAggregationsHandler addDefinitionInNanomind                              
    SEVERE: Error while calling addDefinition operation of Nanomind aggregation service                                                                   
    org.ccsds.moims.mo.mal.MALException: Unable to decode element with index: 1                                                                           
            at de.dlr.gsoc.mo.malspp.transport.SPPMessageBody.getBodyElement(SPPMessageBody.java:107)                                                     
            at de.dlr.gsoc.mo.malspp.transport.SPPErrorBody.getError(SPPErrorBody.java:47)                                                                
            at esa.mo.mal.impl.MessageSend.initiateSynchronousInteraction(MessageSend.java:664)                                                           
            at esa.mo.mal.impl.MessageSend.synchronousInteraction(MessageSend.java:322)                                                                   
            at esa.mo.mal.impl.consumer.MALConsumerImpl.request(MALConsumerImpl.java:190)                                                                 
            at esa.opssat.nanomind.mc.aggregation.consumer.AggregationStub.addDefinition(AggregationStub.java:211)                                        
            at esa.mo.nanomind.impl.parameters_provisioning.NanomindAggregationsHandler.addDefinitionInNanomind(NanomindAggregationsHandler.java:286)     
            at esa.mo.nanomind.impl.parameters_provisioning.NanomindAggregationsHandler.assignAggregationToParameter(NanomindAggregationsHandler.java:182)
            at esa.mo.nanomind.impl.parameters_provisioning.NanomindAggregationsHandler.getNewValue(NanomindAggregationsHandler.java:345)                 
            at esa.mo.nanomind.impl.parameters_provisioning.NanomindParameterValuesProvider.getNewValue(NanomindParameterValuesProvider.java:222)         
            at esa.mo.nanomind.impl.parameters_provisioning.NanomindParameterValuesProvider.getValue(NanomindParameterValuesProvider.java:236)            
            at esa.mo.nmf.nanosatmosupervisor.parameter.OBSWParameterManager.getValue(OBSWParameterManager.java:158)                                      
            at esa.mo.nmf.nanosatmosupervisor.parameter.OBSWParameterManager.getValue(OBSWParameterManager.java:140)                                      
            at esa.mo.nmf.nanosatmosupervisor.MCSupervisorBasicAdapter.onGetValue(MCSupervisorBasicAdapter.java:126)                                      
            at esa.mo.mc.impl.provider.ParameterManager.getRawValue(ParameterManager.java:994)                                                            
            at esa.mo.mc.impl.provider.ParameterManager.getParameterValue(ParameterManager.java:339)                                                      
            at esa.mo.mc.impl.provider.ParameterManager.getParameterValue(ParameterManager.java:315)                                                      
            at esa.mo.mc.impl.provider.ParameterProviderServiceImpl.publishPeriodicParameterUpdate(ParameterProviderServiceImpl.java:1121)                
            at esa.mo.mc.impl.provider.ParameterProviderServiceImpl.publishPeriodicParameterUpdate(ParameterProviderServiceImpl.java:1105)                
            at esa.mo.mc.impl.provider.ParameterProviderServiceImpl.access$000(ParameterProviderServiceImpl.java:103)                                     
            at esa.mo.mc.impl.provider.ParameterProviderServiceImpl$PeriodicReportingManager.lambda$startTimer$0(ParameterProviderServiceImpl.java:875)   
            at java.lang.Thread.run(Unknown Source)                                                                                                       
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)                                                                        
            at java.util.concurrent.FutureTask.runAndReset(Unknown Source)                                                                                
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)                                            
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)                                                   
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)                                                                          
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)                                                                         
            at java.lang.Thread.run(Unknown Source)                                                                                                       
    Caused by: org.ccsds.moims.mo.mal.MALException: Insufficient data in input stream.                                                                    
            at de.dlr.gsoc.mo.malspp.encoding.SPPDecoder.read(SPPDecoder.java:425)                                                                        
            at de.dlr.gsoc.mo.malspp.encoding.SPPElementInputStream.getPrototype(SPPElementInputStream.java:174)                                          
            at de.dlr.gsoc.mo.malspp.encoding.SPPElementInputStream.readElementStandard(SPPElementInputStream.java:117)                                   
            at de.dlr.gsoc.mo.malspp.encoding.SPPElementInputStream.readNullableElementStandard(SPPElementInputStream.java:125)                           
            at de.dlr.gsoc.mo.malspp.encoding.SPPElementInputStream.readElement(SPPElementInputStream.java:86)                                            
            at de.dlr.gsoc.mo.malspp.transport.SPPMessageBody.getBodyElement(SPPMessageBody.java:104)                                                     
            ... 28 more                                                                                                                                   
    May 22, 2022 7:05:37 PM esa.mo.mal.impl.MessageSend initiateSynchronousInteraction                                                                    

    Possible fixes

    Investigation pending. To be observed if Supervisor restart fixes it. Furthermore, we should explore the following options:

    • Throttle the verbosity of logging by the Supervisor (look into different options)
    • Fix the addDefinition Error response encoding in OBSW (or decoding in NMF) as they clearly mismatch
    • Merge request
    • Branch

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading