> -----Original Message----- > From: Alexander Kanavin <[email protected]> > Sent: Wednesday, 25 March 2026 13:39 > To: Daniel Turull <[email protected]> > Cc: [email protected]; [email protected]; > [email protected] > Subject: Re: [OE-core] [PATCH 2/2] oeqa: replace runltp with kirk > > [You don't often get email from [email protected]. Learn why this is > important at https://aka.ms/LearnAboutSenderIdentification ] > > On Wed, 25 Mar 2026 at 12:07, Daniel Turull via lists.openembedded.org > <[email protected]> wrote: > > - parser = LtpParser() > > - results, sections = > > parser.parse(os.path.join(self.ltptest_log_dir, "%s" % > stress_group)) > > + # Copy kirk JSON report from target > > + dst = os.path.join(self.ltptest_log_dir, "%s.json" % > > stress_group) > > + remote_src = "/opt/ltp/results/%s.json" % stress_group > > + (status, output) = self.target.copyFrom(remote_src, dst, True) > > + if status: > > + msg = 'File could not be copied. Output: %s' % output > > + self.target.logger.warning(msg) > > + > > + parser = LtpKirkParser() > > + results, sections = parser.parse(dst) > > Why is an extra copying step added?
Kirk creates a json file with the results that it is more machine readable friendly and needs to be copied over from the target. The old code was having the output results in the log. > > Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#233913): https://lists.openembedded.org/g/openembedded-core/message/233913 Mute This Topic: https://lists.openembedded.org/mt/118498904/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
