From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 16 Aug 2024 16:43:51 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f56.google.com (mail-lf1-f56.google.com [209.85.167.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 47GEhosg000693 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 16 Aug 2024 16:43:50 +0200 Received: by mail-lf1-f56.google.com with SMTP id 2adb3069b0e04-52eff10441fsf2196885e87.3 for ; Fri, 16 Aug 2024 07:43:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1723819425; cv=pass; d=google.com; s=arc-20160816; b=vjDypiE4nVl81oSK3woOUV+rjx7+xtblt8wlnD5eRT1kISTh8l642Mj+Hu2XXscYBb lSEGMCIGkiX+0vu1z19fOboewTTf7XUwEKz6QbOi9+/zlM7tIJI7mO/PX/TtSleVFscL DyWZKDOVAuU2EKZzJh9s0u2RCS+QDz/it5ZqXbgRzbpzuza5c8JBBuQz323Rt9JpXt06 hpIfUdXnMvljtgg73PHfnNL/gkAIBMazoljxzNoKybtGFqRaO2IT7gELgVSHrjM28WHJ UdwIJteosJ5IBxwKzkpoGs7sY6NBrLtr8Kmtzddh0dPMepRgZ7ao6gSo+U4xfUxL1G9R woeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:dkim-signature; bh=MCeQDom4DwvLXXBxt6QWlp/kyhC9gJMH/5zBggtZfT0=; fh=jpVVQky4M3mTMATZ7oYUOjDTvEZYpo6XKQwNWr/zZuA=; b=oSo0zxRT40BEVGL921HWRxudfoh/t3aN3dxH357eF8M3t/+oVaMFm6tGQy4ASFYFer 3uFmC89yk9GdIIju4PnTPiey1fftf8T+OLyj/Y8lqo+UrTyDbN6hF33w7QPT6gkVMzXh OUQymiUbAjBizyn7V/eJUjFm86q7+Tclt9LtjKp3g0+LJluX5Ns38eJSnq70eqenzn8Y ZNtL+9vnlsIwyHzwvkgjYGLkRTPmDlm8GnOdY2FNBa7oF5L5tZdCNxWKj+5ElJ7fIDXs go4zwXSzlS6RDrBJIxk+/h5kMSGFLyW0Gq6hiaCDz7rE6miKUVJQnQuHM6J5SL0RzIX0 RKEA==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1723819425; x=1724424225; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=MCeQDom4DwvLXXBxt6QWlp/kyhC9gJMH/5zBggtZfT0=; b=MAEWPF1a5ixub7aRPWyzYnK2pMgRHBP0HOZ+HSTsUaqN+mBKpB/O97YFenNfCpsAvr ZadKm3juKNldT067ksXn4wJOhwoKXuioiuP9Sh/5yj45h3Nc2q/YtsL05LeEhJAQTtGz dJT4hyPDHOTo9meBTDMSz3ZR8vIWoxl/9IzBc7wpeCMkUglNpB9DGMuAo00XEJEdd2nh NpfUheC1X5yYixKj1ag0mq/G+V0e1PA5v9OqbjbkveXNmWJQkkv1dcy7/Zzx+KLpUGsc zw/lfARAEuVHzGvbCFBKnBs5owia7DHrE4pezpORbfmDoYvm18Qd0XhrMBMfkUL3+3V/ LQ1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723819425; x=1724424225; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:to:from:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=MCeQDom4DwvLXXBxt6QWlp/kyhC9gJMH/5zBggtZfT0=; b=HPCHn21gxKqWqm95RyyAO7Wyc3luevUeO48fOgvxxuL+mAsXoHaaxA+HbKScEnVZJp NBPPRkXHkurZFhhK6OdPvl0bXGzE0oVy4cJycIvL7hlflMRMKzQkWCnIHv8CAhjHuZns KhZ7G1hSmTX023Lu7ZrB4sAakmXGlYSP6PQMeppyc1znLKmmTAUal7Itj1w0qrWXWpVj nL/YetbOqZsjJvmcHCx5T/zVk4TOuMUqLlwhxATMUG+VcBbi5CoMVcF4/DQvagMJwsTx /Srnqce9+1Lahn2ib1x6erTujrcCLAZQW3mFoLv8au1cbfPhh3riMYX5MXSscCA7Q1Ou DiFQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUwvCjz96fqPKTPHjB8I9aC8I34oCItrVcyQ0+RqWTSL5KieJcVLfFghFOxKELd7froQWws@ilbers.de X-Gm-Message-State: AOJu0Yz4lC+faEtwh2IpVPc+yA5qmN8+2vnsqB6WK7cQFQPj/OVkDyeT ycIvvQ6oauZko12wVJO2l7zQEB81pXuNpesYQqA3TPraLOJIdsO6 X-Google-Smtp-Source: AGHT+IH2oLept9WS4P+oDmze6oTi6QwBkIrdWxtT5BXf0SzRufSmRNlxwzlcZQaY/8+E9Vyh0gzlNQ== X-Received: by 2002:a05:6512:280a:b0:52f:ca2b:1d33 with SMTP id 2adb3069b0e04-5331c6aed58mr1816109e87.20.1723819424314; Fri, 16 Aug 2024 07:43:44 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:494d:0:b0:367:99fa:1fc4 with SMTP id ffacd0b85a97d-371868e8c75ls551182f8f.0.-pod-prod-01-eu; Fri, 16 Aug 2024 07:43:42 -0700 (PDT) X-Received: by 2002:a05:600c:4686:b0:426:61af:e1d3 with SMTP id 5b1f17b1804b1-429ed7da84dmr21999975e9.31.1723819422279; Fri, 16 Aug 2024 07:43:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723819422; cv=none; d=google.com; s=arc-20240605; b=imFXzM0rIPryozRLA9SLcK63ESvMEKTZPk/fZZscQnMX4QbgZRg4+5w1yVG2S3W1zk OHfjo/Yg4JpkHEPwMK8CBl3xcK00lsZpOSZ6NT8WNUkx2GUJYYnL3uoRAN5OF2j4UL9U UhqKprICcmImbxr+1kXC6SaB6XiAPl9CxRJGzX6V6QxydARtrsvTPOsjKm6OWA+xFT1x 65G1zrC9sUrcMCEk/0G1Oo9YW2CHMLTtI83Vn81XvbIhb/rU3kgOfoTOuCgZR8xgDyYX 9mVYt7xOLu8DI1DimmU411v7FhJVq+kI6HHBlMe1Kr25IXIIcb6OK+MdngyW6upStmrz QGEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=lQMYHDCKOV5PnuGv7TS9T6TmjBxsbnaEBP7EJpgrBWo=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=EOrahWClb9LHxaxVvirNPoOlgHlZqh99jEoDZh4PNT0MFz5DoEcsLNSW3losyvgcT3 PF3S5MRXmuql2OPn4WxuTvpcH+Kj5i2jr/SRrh1VmpXZhd7YoHX/+XDubCfOAqKSzPCG iFkhDqzxqMdny2iPLY4IS78UalYdczm0yvqv0KTWdhLfTo5qxroeMEd9Cj+wKDcQoWl0 Olh+KHIIewaxzv0k/pb31X3LksTOf9gljZsGygHwQVZqIhfabnpRD8HUeKrTmZMBkFnO hpn5CCUg9WpT3v1yYGsWtRogY9qVrjErAFIsCarbdgaAaRRkys7NisB/98G3+0dm7evz v+MA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-429d780b745si5965985e9.0.2024.08.16.07.43.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Aug 2024 07:43:42 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from hp15.promwad.com (mm-154-18-121-178.gomel.dynamic.pppoe.byfly.by [178.121.18.154]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 47GEhdfU000650 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 16 Aug 2024 16:43:41 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH 3/3] testsuite: Detect systemd services ordering cycle Date: Fri, 16 Aug 2024 17:38:36 +0300 Message-ID: <20240816144333.27467-4-ubely@ilbers.de> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240816144333.27467-1-ubely@ilbers.de> References: <20240816144333.27467-1-ubely@ilbers.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: VuwE20vfhXpk This allows to recognize any cyclic dependencies between systemd services. Signed-off-by: Uladzimir Bely --- testsuite/cibuilder.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testsuite/cibuilder.py b/testsuite/cibuilder.py index 3f77cd42..1e2c265f 100755 --- a/testsuite/cibuilder.py +++ b/testsuite/cibuilder.py @@ -556,6 +556,8 @@ class CIBuilder(Test): # the printk of recipes-kernel/example-module module_output = b'Just an example' resize_output = None + # systemd service ordering cycle + ordering_cycle = b'Found ordering cycle' image_fstypes, wks_file, bbdistro = CIUtils.getVars( 'IMAGE_FSTYPES', 'WKS_FILE', 'DISTRO', target=multiconfig ) @@ -582,6 +584,9 @@ class CIBuilder(Test): else: rc = 2 self.log.error("No example module output while expected") + if ordering_cycle in data: + rc = 3 + self.log.error("Systemd services ordering cycle detected") return rc def vm_dump_dict(self, vm): -- 2.44.2 -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/20240816144333.27467-4-ubely%40ilbers.de.