Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-2195

State Script exit 1 from Sync_Enter loops forever

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 2.0.0, 1.7.1

      Description

      Returning exit status 1 from Sync_Enter causes the client to go into a transition loop forever logging continuously, the expectation was that it would go back to Idle state?

       
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:35 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:36 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="error calling enter script for (error) inventory-update state: error running enter state script(s) for Sync state: statescript: error executing 'Sync_Enter_01_progress': 1 : exit status 1" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.err mender[29789]: level=error msg="will transit to error state from: check-wait [Idle]" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: inventory-update [Sync] -> error [Error]" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="handling error state, current error: transient error: error executing state script" module=state 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="authorization data present and valid" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender 
      Oct  3 13:21:37 ty-k-turn_arm_varsommx6 kern.info mender[29789]: level=info msg="State transition: check-wait [Idle] -> inventory-update [Sync]" module=mender 
       
       
      .....

        Attachments

          Activity

            People

            • Assignee:
              lluis Lluís Campos
              Reporter:
              dell.green@ideaworks.co.uk Dell Green
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support

                  Summary Panel