public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH v3 6/6] testsuite: Fix task name index in order file
Date: Fri,  3 May 2024 18:05:04 +0300	[thread overview]
Message-ID: <20240503150504.479387-7-amikan@ilbers.de> (raw)
In-Reply-To: <20240503150504.479387-1-amikan@ilbers.de>

As task order log file changed format from:

do_fetch (1283260): log.do_fetch.1283260

to:

20240503-080747.276652 do_fetch (1283260): log.do_fetch.1283260

the index of task function name was changed.
Set correct index to fix sstate test case in CI.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 testsuite/cibase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/cibase.py b/testsuite/cibase.py
index 349a79f0..0f6997af 100755
--- a/testsuite/cibase.py
+++ b/testsuite/cibase.py
@@ -149,7 +149,7 @@ class CIBaseTest(CIBuilder):
             taskorder_file = glob.glob(f'{self.build_dir}/tmp/work/*/{target}/*/temp/log.task_order')
             try:
                 with open(taskorder_file[0], 'r') as f:
-                    tasks = [l.split()[0] for l in f.readlines()]
+                    tasks = [l.split()[1] for l in f.readlines()]
             except (FileNotFoundError, IndexError):
                 tasks = []
             if expected is None:
-- 
2.34.1


  parent reply	other threads:[~2024-05-03 15:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-03 15:04 [PATCH v3 0/6] Update to Bitbake 2.8 Anton Mikanovich
2024-05-03 15:04 ` [PATCH v3 1/6] meta: Move kbuildtarget.bbclass Anton Mikanovich
2024-05-03 15:05 ` [PATCH v3 2/6] meta: Fix network flag setting Anton Mikanovich
2024-05-03 15:05 ` [PATCH v3 3/6] Revert "bitbake: backport fetch2/aws: forward env-vars used in gitlab-ci K8s" Anton Mikanovich
2024-05-03 15:05 ` [PATCH v3 4/6] bitbake: Update to 2.8 release Anton Mikanovich
2024-05-03 15:05 ` [PATCH v3 5/6] bitbake: Downgrade python requirements Anton Mikanovich
2024-05-03 15:05 ` Anton Mikanovich [this message]
2024-05-17 11:20 ` [PATCH v3 0/6] Update to Bitbake 2.8 Anton Mikanovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240503150504.479387-7-amikan@ilbers.de \
    --to=amikan@ilbers.de \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox