def execute(self):
        """ Execute command
        """
        transport = None
        try:
            transport = self.create_transport()
            self.ecs.return_code = transport.run(self.ecs.execution_command.command)
        except BadAuthenticationType:
            self._output_callback('Server does not allow supplied authentication method')
            self.ecs.return_code = 1026
        except AuthenticationException:
            self._output_callback('Key authentication failed')
            self.ecs.return_code = 1026
        except gaierror:
            self._output_callback('Name or service not known')
            self.ecs.return_code = 1027
        except socket_error:
            self._output_callback('Socket error')
            self.ecs.return_code = 1028
        except SoftTimeLimitExceeded:
            line = settings.CELERYD_TASK_SOFT_TIME_LIMIT % 'Command failed to finish within time limit (%ds)'
            self._output_callback(line)
            self.ecs.return_code = 1029
        except SoftAbort:
            if transport:
                logger.info(transport)
                transport.kill()
            self._output_callback('Command execution interrupted by user.')
            self.ecs.return_code = 1025
        except Exception as e:
            import traceback
            logger.error(str(type(e)) + str(e) + "\n" + traceback.format_exc())
            self._output_callback('Unknown error')
            self.ecs.return_code = 1024
dataset/ETHPy150Open gunnery/gunnery/gunnery/backend/tasks.py/CommandTask.execute/swapped operands of `%`