def METHOD_NAME(self, context):
    self.log = self.target.path.join(self.target.working_directory,
                                     'stress_ng_output.txt')
    self.results = self.target.path.join(self.target.working_directory,
                                         'stress_ng_results.yaml')
    self.command = ('{} --{} {} {} --timeout {}s --log-file {} --yaml {} '
                    '--metrics-brief --verbose'
                    .format(self.binary, self.stressor, self.threads,
                            self.extra_args, self.duration, self.log,
                            self.results))
    self.timeout = self.duration + 10