Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-31111

MTHexapod reports failure in state transition when it is actually succeeding

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Sprint:
      TSSW Sprint - Sep 13 - Sep 27, TSSW Sprint - Sep 27 - Oct 11
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      I am not sure if this is an issue with the CSC or with the low level controller but we are constantly getting failures in state transition with the MTHexapod component when operating with the real hardware. 

      Assuming the system is in STANDBY state

      A simple;

       

      import salobj 
       
      r = salobj.Remote(salobj.Domain(), "MTHexapod", index=1)
       
      await r.start_task
       
      await salobj.set_summary_state(r, salobj.State.DISABLED, settingsToApply="default")

      results in;

       

      RuntimeError: Error on cmd=cmd_start, initial_state=5: msg='Command failed', ackcmd=(ackcmd private_seqNum=1948430428, ack=<SalRetCode.CMD_FAILED: -302>, error=1, result='Failed: Failed: final state is <State.STANDBY: 5> instead of <State.DISABLED: 1>')

      most of the time, though it works some times. Despite the failure reported above the CSC does transition to DISABLED state shortly after.

       

      I wonder if the CSC should allow a bit more time for the state transition to occur, or if the low level controller is reporting the command as completed too early. 

        Attachments

          Issue Links

            Activity

            tribeiro Tiago Ribeiro created issue -
            ttsai Te-Wei Tsai made changes -
            Field Original Value New Value
            Link This issue relates to DM-29578 [ DM-29578 ]
            rowen Russell Owen made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            rowen Russell Owen made changes -
            Epic Link DM-27621 [ 441885 ]
            Sprint TSSW Sprint - Sep 13 - Sep 27 [ 1118 ]
            Story Points 3
            Watchers Andy Clements, Bo Xin, Holger Drass, Russell Owen, Sandrine Thomas, Te-Wei Tsai, Tiago Ribeiro [ Andy Clements, Bo Xin, Holger Drass, Russell Owen, Sandrine Thomas, Te-Wei Tsai, Tiago Ribeiro ] Andy Clements, Holger Drass, Russell Owen, Sandrine Thomas, Te-Wei Tsai, Tiago Ribeiro [ Andy Clements, Holger Drass, Russell Owen, Sandrine Thomas, Te-Wei Tsai, Tiago Ribeiro ]
            Labels ts_mthexapod ts_mtrotator
            rowen Russell Owen made changes -
            Story Points 3 1
            rowen Russell Owen made changes -
            Status In Progress [ 3 ] In Review [ 10004 ]
            aclements Andy Clements made changes -
            Sprint TSSW Sprint - Sep 13 - Sep 27 [ 1118 ] TSSW Sprint - Sep 13 - Sep 27, TSSW Sprint - Sep 27 - Oct 11 [ 1118, 1121 ]
            rowen Russell Owen made changes -
            Link This issue relates to DM-31244 [ DM-31244 ]
            rowen Russell Owen made changes -
            Link This issue relates to DM-31075 [ DM-31075 ]
            tribeiro Tiago Ribeiro made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            rowen Russell Owen made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            aclements Andy Clements made changes -
            Epic Link DM-27621 [ 441885 ] DM-27717 [ 442122 ]
            bquint Bruno Quint made changes -
            Link This issue relates to SUMMIT-5781 [ SUMMIT-5781 ]

              People

              Assignee:
              rowen Russell Owen
              Reporter:
              tribeiro Tiago Ribeiro
              Reviewers:
              Tiago Ribeiro
              Watchers:
              Andy Clements, Holger Drass, Russell Owen, Sandrine Thomas, Te-Wei Tsai, Tiago Ribeiro
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.