code: def rollback(self):
          
          self._state_machine.transition_to_rollback()
          for action in reversed(self._executed_actions):
              try:
                  self.execute_with_retries(action, lambda a: a.rollback())
              except:  # pylint: disable=bare-except
                  pass  # on exception, carry on with rollback of other steps
          self._state_machine.transition_to_rollback_complete()
docs: Call rollback on executed actions.