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, 14 Mar 2025 15:26:09 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ot1-f55.google.com (mail-ot1-f55.google.com [209.85.210.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 52EEQ6F5031936 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 14 Mar 2025 15:26:07 +0100 Received: by mail-ot1-f55.google.com with SMTP id 46e09a7af769-72b9d553722sf1896261a34.0 for ; Fri, 14 Mar 2025 07:26:07 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1741962360; cv=pass; d=google.com; s=arc-20240605; b=P7xXup1F5gnhT8AMTQGB3vNKCIqARiwsmzvFM5RXva2s2wDqG0j7N8g2OQIrnmc+71 3I9837xvuSdtBpDT0aGjaKVGSd9h3rJlF/1cd0sPNJfa7dO6R5ZPdDzvXAz27PcWTHEE v3J8IktchN/a4sATHoddBIs3gX5XeNuCT/vkXh+YEiyvstRo1XsVc6Tszf9K5m60kElT qLHLh504SdCPkE/HLnOvHCNSSBPXTrmtdo7b5dkj4gfL3eW8rfXDo28Ezp1MnxQMaoTr YFRcfg5OT62K+8ifjulhnqvElNEMfGQ+uOjnHOXfnm61286jm/oyzXNSnJCCvaeo8n2g r1bw== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version :content-transfer-encoding:content-id:user-agent:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=S7/Cym4EOq54+GMB9CEzNe/qx8FLAiYywBAc2vhYo2A=; fh=smVunHweFU+vXaYluZ8vohasLf08xeTVPDu2F6Ue82w=; b=N7hlert8bimAAMOLtypE/ajGHZ4xSo7F4GQmog8cvYvzFmrGPbAi07uyZ2Qsf/yaPO Nf0WGpFPqBKrUNqgK6mVZAg8ecHYWcn7IYC6j97j8Wrm5HXecFVmVYxjuGFx4dk322hH OWhGO2F1tEZeurTPNcbw+p4WWs2tnOVxbBxa/xWLRK0NHqX0D9FcvVyUsJxMJZIxaqLz Y0ClTF/uJwm8jUWkEfThMFVb2ZJWQeTEzlPceafvJnTIT26UI8hrGBGXRq+ArDRcMqql A+PGrYQJ8fEUaKBFZgIuq3KONRZNLa9xvUnbDruLMALZr/JevJf1ohFikurBhxNhy52G oAyw==; darn=ilbers.de ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=Wj3OHmPw; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of alexander.heinisch@siemens.com designates 2a01:111:f403:c201::5 as permitted sender) smtp.mailfrom=alexander.heinisch@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1741962360; x=1742567160; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :content-transfer-encoding:content-id:user-agent:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=S7/Cym4EOq54+GMB9CEzNe/qx8FLAiYywBAc2vhYo2A=; b=nlkowmCS7HaA/tAX++fpenekkmnQBMEfTkZJXdU3/85wIFcWJE0ltBa3vnLnuOH/Hr xmFR7Y/nY33Nz9kLEihqB7h0kmu1KDb1OIluwEkuJAmoHJiN/Vl0oqAp1IPb5+hHlzsP C9/XSomeWlazhd0SZ+78dVpuKyGU/ySWLQtH2RVZFFZj7pWSEKuH9zLn8lul41KzAcH0 VLetO8eaTPGBuHHLkVRNo3GdB/86hH86cg6wLI4CBJ8jChlT8IiwJ3edtWV587tVKxDP bLmxx8HKfRXb+akgxFV902uPXwcAgFk0+OQdNbLas97GQU524YtXOryt8j4f9NSKc3x3 rUew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741962360; x=1742567160; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :content-transfer-encoding:content-id:user-agent:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:x-beenthere:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=S7/Cym4EOq54+GMB9CEzNe/qx8FLAiYywBAc2vhYo2A=; b=hTwYEEBZQQuIzimjsvfWCC+VUSopfva/QdOArwM0bMoT3+D+ckydCV2VRcOiy7CBAB by49QcM/JiMd36P4mkcmHfijWhLQ+WPR3LqeDmndA3CNDkULwviXI7xREcob46aoFuic upTtg+eeaVqSsNZBAIMmvwUuCIy9aBaGEAqc0vDX2Gd9erlS8WdiDNvac5oXKE+eOBkJ z9fLyMXkaQvsGZkMxOVLTKh8LwriNDu+Mcd74zsxUiOvonalLRkq0r4FV6KHaQz9OF7w qaa1TXZregEsl2L14DWo2Odf80ee9xxCzn5lhQXWm6+BYvka8z0JmH5OACzSAE/jjWbT 8A+w== X-Forwarded-Encrypted: i=3; AJvYcCXIxX1WoDUF6mOgbp7kPQYzAQqEO5/zH4aUtY/dFTLesNWSMCOHu5FJaPQpmHoPg+FoUQ9L@ilbers.de X-Gm-Message-State: AOJu0Yxjzv18q5KBw2Q7GrzrFKfbhouCDR0mRa6zjXDsQ2AeR4JN+TXP tqw3BhECw8g8hatWL9ZHys5baD0xaObtgsPAT15oXrV/F4bpRLrI X-Google-Smtp-Source: AGHT+IGVm6StPmmA/G/zfaAkxNQ5aX3H7DWx8wgOfcTiTWIB6mDcPpTXbHhKP6oIjZPi1DO0go/0+g== X-Received: by 2002:a05:6830:53:b0:72a:97c2:3f91 with SMTP id 46e09a7af769-72bb18ce6b1mr3337014a34.6.1741962360480; Fri, 14 Mar 2025 07:26:00 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h=Adn5yVE1bYn7WfCvknbRS5TyysAlEE9xDsrJQ5wjlFPZo1D8yQ== Received: by 2002:a05:6870:a113:b0:2b8:5ad7:3608 with SMTP id 586e51a60fabf-2c6ac1393b2ls16787fac.2.-pod-prod-00-us; Fri, 14 Mar 2025 07:25:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVZ14D4oo0KksQZ9QBMPdIkQjubykyrY5z4pmogxcPfjDBWQoNZBoc09AzmckC2lDzRRPp0KrAgUrhf@googlegroups.com X-Received: by 2002:a05:6870:e387:b0:2b8:65f7:8268 with SMTP id 586e51a60fabf-2c66f8ea97bmr3681640fac.11.1741962359511; Fri, 14 Mar 2025 07:25:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1741962359; cv=pass; d=google.com; s=arc-20240605; b=Pj/rdTMBjcapYwxYQZ+dafqX+gYFIwT2dtA+zLHh6H54giqpXGONbPCotusP4+uMwm s2BiWn4WVpkmTzEAppY0+xN4ll9AuJHUGmTZn/1ZPVwXuoleZ0h513/A5PWjOG8/qla8 AAhqeb4MynUI09RNpbRxiBPhdMuFuymOgOQb7kxpbpIahwFszr7RSNY9WB366/NKCUWl PU0rGGr22tXptDL6XwaeKdrU3mNn83OB4ZKho9qbNHjKz7rJTy8QDC69LxbK385/jwhG lurDvC8TYeKUbtIsnja4ET/ziSn72hVZiaWJIfPE1Rc2a42YVjdPQp0PwiKUwkOrKcU0 e40A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:content-id:user-agent :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=pB7fFrsCgxuZBAkwuiYkoppDY3k9/jTzgUuYDyHBjWQ=; fh=rQMop6PfaM2GDYofg+cT2mDnmGUauIHeCrCxedQ5gB8=; b=COuuukaGIFj1LAKBSYnKlHKF3DzYZdhiTNGPvU7V9zQ7hcu7M2F4WhD31vrrqqR8nx DC9/m9CEHqVsAoAyhvOUh33Flws8uJnBNsM8MsW+ICOQsvqexm7OzxMj2GTI/YehVhO4 hE3Y9AXmyqDqtymK1ibxisYakDRWWVG7ccHlLoZNrKaKX7u5yZqxGS6ZOWAHWt2PSsfJ Jyi5IqqhhY2YEFee8I6viLk/jNg1LP+Wso2JFIGnJAZ3dpx3PGcx1oU7UdpR1oa22tgc +fFMbDxjCYTJ10JJKgLB43Vn8tNm4QqYSmWslGuBp7biOgwpwud6wTkegeoKcgaMXe2L K0RA==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=Wj3OHmPw; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of alexander.heinisch@siemens.com designates 2a01:111:f403:c201::5 as permitted sender) smtp.mailfrom=alexander.heinisch@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from AS8PR03CU001.outbound.protection.outlook.com (mail-westeuropeazlp170120005.outbound.protection.outlook.com. [2a01:111:f403:c201::5]) by gmr-mx.google.com with ESMTPS id 586e51a60fabf-2c67104043csi198070fac.2.2025.03.14.07.25.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Mar 2025 07:25:59 -0700 (PDT) Received-SPF: pass (google.com: domain of alexander.heinisch@siemens.com designates 2a01:111:f403:c201::5 as permitted sender) client-ip=2a01:111:f403:c201::5; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ClpH95Ut/tFR2c5ZqtZH72Eg1cpnld1vf5/f2dL9oGnkmYeF8SXiw9Gv9s3Zd6zUhbd3P94qUPfi41P0Sehf6h1NQbNxfVaY4FxhzESEToUTu95aKNI2l9ODQahYMkMQsv8UOu9b89qDSRraOyrq1DUnth/oBvKEM17cVU/8TpgcpzB3ZhfnOgXe2sdJfJk2kLJFNl81Va5dW7z/qlku59nlTPgfvz3zR08JknV9cGcTbuQ7YqSY/6N9G2+xjGGAPRMlUzFMaYN4ppuPsFBmqtIOOR3WjH4i4/itbWgu//KdfnNikK1vxxgWfYeA2EmW8lZzBNTb8CLut+tdeIZoHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pB7fFrsCgxuZBAkwuiYkoppDY3k9/jTzgUuYDyHBjWQ=; b=AnPW40wzdbDz7beBaoyJY2XL3DfKBCgpCNRL40Ap/Zn/JetVDf1K8Ezn6KX6Jh+2WqkjyOl20lFOnMl+7xd8B5tn8Frmn2X0QAQp2V8zQ3HEo0BsrOkF+QP/bLICfYYeKI7nF0Rwzv9Ab5Emp/abzZ91X4up6VpbW2bWs59E6rFzqgujcwtJpzkSRiGq+Y9qxXLHqON8dLtaXFEAPDjUY4Bi7i1369dEASlv7kzey/mD08bo1XYzVXXZhSqb2kVgDg35bGNhyn8/wOM4TCGJQE2Uh0RvfKG5kZ7Uic+Daq3lVWaYY2yV4Tu2/x5AOCvH8yzYEI2LUL5/ENmXgyHR4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from AM7PR10MB3320.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:10c::13) by GV2PR10MB7558.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:d6::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8511.27; Fri, 14 Mar 2025 14:25:56 +0000 Received: from AM7PR10MB3320.EURPRD10.PROD.OUTLOOK.COM ([fe80::3a6d:95dc:3ce2:6da0]) by AM7PR10MB3320.EURPRD10.PROD.OUTLOOK.COM ([fe80::3a6d:95dc:3ce2:6da0%4]) with mapi id 15.20.8511.026; Fri, 14 Mar 2025 14:25:55 +0000 From: "'Heinisch, Alexander' via isar-users" To: "ubely@ilbers.de" , "isar-users@googlegroups.com" , "Kiszka, Jan" CC: "quirin.gylstorff@siemens.com" , "Shekar, Kasturi" Subject: Re: [PATCH 03/17] meta-isar: deploy-image: Change reboot logic Thread-Topic: [PATCH 03/17] meta-isar: deploy-image: Change reboot logic Thread-Index: AQHblBlOJEyMvguv3UOoae1xNFOcGLNyIwQAgAAIsICAAIYWAA== Date: Fri, 14 Mar 2025 14:25:55 +0000 Message-ID: References: <6e97e882f080e09a9f7d777cc84e9cd089d92d11.1719927511.git.jan.kiszka@siemens.com> <3fd6bdc491628229686855d3278b8d5684643108.camel@ilbers.de> In-Reply-To: Accept-Language: de-AT, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.52.3-0ubuntu1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AM7PR10MB3320:EE_|GV2PR10MB7558:EE_ x-ms-office365-filtering-correlation-id: 4018a6ad-09f2-4026-c78b-08dd630421cc x-ms-exchange-atpmessageproperties: SA x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|366016|376014|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?MXhFY0tPVGtyMlFjRHh5V1FwSHJBbFdwQlR4RlRFdDk1NkszMENPSUV5c2p2?= =?utf-8?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GNnMGRQdEZoRnJQcDVIeFJPQTRVT3dEcVJQUllN?= =?utf-8?B?TUpXdTRVdzREU1U2eE9QTUM4KzQ2cTB1b09pTCtseFJiOWszM01HazJvK0Jh?= =?utf-8?Q?Z4VQVj2WnpwwZu2fXjwxF2qd2CRW0eta?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR10MB3320.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(38070700018);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?c0tVVFVZWldYZDYzQWhWUldjOGpTODZENUhZck1STFlSNnhwTWx2VGQ1d3pq?= =?utf-8?B?SmJnQ2FNTGhIa1U0YzJlVjlXcE1udmppaE5Kd2xzbktET3l2T0RtWjNtQ1FK?= =?utf-8?B?TFhoQmM1a21kdUZlYVV1N3NhRkZzWWZTVTNJUGJER2lYb1FKS0VFbDRoTVlF?= =?utf-8?B?WEI5RTRGWE42NGpoVW93NkZYZWtGRkdUR084VVNNSG1VRWdYY05NNTU1dzgr?= =?utf-8?B?aFFUQW40RXVrcThKSEw2TVk0eTRMUGlFMW9nWFBkbnZMRmMwa0Y0ejQxSzFF?= =?utf-8?B?Vy8yV3lVS08wUUUxam9oVk5tMjVtWmxwNlcwWElzL25qbEVRRytrRG9pTkFi?= =?utf-8?B?WjJqS0Rka2plVGFSZGNjK1hYYS8yT2gvNG1nanpKelFHcUJ6TXJyZVRZWUo5?= =?utf-8?B?Sm0rbUFYRm80SXh5bVZOakVvSDJhdGh4djZhZE9SeUwvM0hrU1BndXhwVzB6?= =?utf-8?B?OHk0YWhEb1NmbkJaV2wzbFJUZEJXUmdhMlpBR1ZZRUJqV2RmemExWE1xZ1U5?= =?utf-8?B?UWxkN0duVlpwelFaQWdpaVllUW9DSkIrSXNzODdBWmRLRW51bF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VGlycGE1RTN3Yk4xcFFZV0p5?= =?utf-8?B?N0p5eTV0M1RPMlBLMmptbkxBZEQ2bFpkZzZlSU80YTd3cW5qdXBINUNwNkd2?= =?utf-8?B?dm1HMXdUN0FIY2xCNGRmZURCbWxWYXl3ZERKMUd3d3VSMzZjQXRKODJ6SjlV?= =?utf-8?B?RHZQeTkyR3JjNFRGWlpxMzh3TzEzMHNkeFdzSzRzalVTQ1FsNkZUenF0QStn?= =?utf-8?B?UjZGV2ovYkdOZzNIaEJGWWtpc0xBRWVOaEhRNzIvK3MzeUNtcGM1RytQMWp0?= =?utf-8?B?ZmY5SmwwRDBySjJ4MHo2RnZRazVWdVhXRjdJRE82V2dBYXdDakFzZWFmaDJk?= =?utf-8?B?UGc5aGdPZGZubkRFNHQ1TEFvaStpeVlXd2xiNDJieUtkZXpvQmRLWndWZ1ow?= =?utf-8?B?dnp4c09GTmFhMGNxa1pBbUdocFk5OEhIMUkySHA3ZTB0anJlNWVROWN5MEdh?= =?utf-8?B?WE5MeUtmYXRTTHRTdmVMamU1bEFCSHozSG9vb1F3aSs2QTZMblcvNVRQUzB5?= =?utf-8?B?WDBrbVUrMnk2aDN2dGlsck9rZVZ5LzNMRkxscUFxaWlPZWFKUm5TbG4rL0pC?= =?utf-8?B?UHJSV3pYc2RKeXczQ3k0Ni9UWVFoRGUwazAwYVF5L0FWbG4yMGdPbDJLWERB?= =?utf-8?B?Q2lmNi91TkwwQjZEQTBzM245N3Jaa0JJYXBxL2tReCswYk9KeDFCT1hzeWNV?= =?utf-8?Q?res4rqZ2HKkiA8qAu0W/lpo=3D?= Content-Type: text/plain; charset="UTF-8" Content-ID: <61016B07D9631B4A84B886A3EBDEDF29@EURPRD10.PROD.OUTLOOK.COM> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM7PR10MB3320.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 4018a6ad-09f2-4026-c78b-08dd630421cc X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2025 14:25:55.4211 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3QSgL3w06qjHrmGLFl0ITJB4QJ5Ym6LmbcqnFs7Ts4OS0NCbePiMLLBd/H8OWA81/5TUyY13+Exc3TPCRHD0QhuUiTV0UkYS552fG0jToq4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR10MB7558 X-Original-Sender: alexander.heinisch@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=Wj3OHmPw; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of alexander.heinisch@siemens.com designates 2a01:111:f403:c201::5 as permitted sender) smtp.mailfrom=alexander.heinisch@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: "Heinisch, Alexander" Reply-To: "Heinisch, Alexander" 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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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-TUID: +5O/CAJSmyrQ On Fri, 2025-03-14 at 09:25 +0300, Uladzimir Bely wrote: > On Fri, 2025-03-14 at 06:54 +0100, Jan Kiszka wrote: > > On 13.03.25 14:10, Uladzimir Bely wrote: > > > On Tue, 2024-07-02 at 15:38 +0200, 'Jan Kiszka' via isar-users > > > wrote: > > > > From: Jan Kiszka > > > >=20 > > > > Pull the reboot out of the script. This allows for cleaner > > > > integration > > > > with different calling environment, may they be a systemd unit, > > > > an > > > > initramfs script or simply a shell for testing purposes. > > > >=20 > > > > And if the script exits with an error, wait a minute before > > > > rebooting > > > > the system, rather than just trying to re-execute it. This > > > > permits to > > > > inspect potential error as well. > > > >=20 > > > > Signed-off-by: Jan Kiszka > > > > --- > > > > =C2=A0.../recipes-installer/deploy-image/files/deploy-image- > > > > wic.sh=C2=A0=C2=A0=C2=A0 > > > > > 2 > > > > +- > > > > =C2=A0.../recipes-installer/deploy- > > > > image/files/install.override.conf=C2=A0 > > > > > 2 > > > > +- > > > > =C2=A02 files changed, 2 insertions(+), 2 deletions(-) > > > >=20 > > > > diff --git a/meta-isar/recipes-installer/deploy- > > > > image/files/deploy- > > > > image-wic.sh b/meta-isar/recipes-installer/deploy- > > > > image/files/deploy- > > > > image-wic.sh > > > > index 8043aff1..12c1eea2 100644 > > > > --- a/meta-isar/recipes-installer/deploy-image/files/deploy- > > > > image- > > > > wic.sh > > > > +++ b/meta-isar/recipes-installer/deploy-image/files/deploy- > > > > image- > > > > wic.sh > > > > @@ -105,4 +105,4 @@ fi > > > > =C2=A0umount "$installdata" > > > > =C2=A0sync > > > > =C2=A0dialog --title "Reboot" --msgbox "Installation is successful. > > > > System > > > > will be rebooted. Please remove the USB stick." 7 60 > > > > -reboot > > > > +exit 0 > > > > diff --git a/meta-isar/recipes-installer/deploy- > > > > image/files/install.override.conf b/meta-isar/recipes- > > > > installer/deploy-image/files/install.override.conf > > > > index 73874caa..357d8662 100644 > > > > --- a/meta-isar/recipes-installer/deploy- > > > > image/files/install.override.conf > > > > +++ b/meta-isar/recipes-installer/deploy- > > > > image/files/install.override.conf > > > > @@ -1,5 +1,5 @@ > > > > =C2=A0[Service] > > > > =C2=A0ExecStart=3D > > > > -ExecStart=3D/usr/bin/deploy-image-wic.sh > > > > +ExecStart=3D/bin/sh -c "deploy-image-wic.sh || (echo 'Rebooting > > > > in > > > > 60 > > > > s'; sleep 60); reboot" > > >=20 > > > Hello Jan. > > >=20 > > > This change seems to cause a sort of race issue. > > >=20 > > > Few days ago "[PATCH v3 0/2] Cover installer image with tests" > > > was > > > merged. Tests were OK (and "next" is still OK) on two jenkins and > > > one > > > gitlab instances. But on the third jenkins instance, they were > > > failing. > > >=20 > > > Boot log: > > >=20 > > > ``` > > > Got config: > > > =C2=A0 installer_unattended=3Dtrue > > > =C2=A0 installer_image_uri=3D/install/isar-image-ci-debian-bookworm- > > > qemuamd64.wic.zst > > > =C2=A0 installer_target_dev=3D/dev/sda > > > =C2=A0 installer_target_overwrite=3DOVERWRITE > > > bmaptool: ERROR: An error occurred, here is the traceback: > > > Traceback (most recent call last): > > > =C2=A0 File "/usr/lib/python3/dist-packages/bmaptools/CLI.py", line > > > 116, > > > in > > > open_block_device > > > =C2=A0=C2=A0=C2=A0 descriptor =3D os.open(path, os.O_WRONLY | os.O_EX= CL) > > >=20 > > > bmaptool: ERROR: cannot open block device '/dev/sda' in exclusive > > > mode: > > > [Errno 16] Device or resource busy: '/dev/sda' > > >=20 > > > Rebooting in 60 s > > > ``` > > >=20 > > > But either machine is not booted, or there are some "ext4" errors > > > happen. > > >=20 > > > I couldn't understand few things: > > > =C2=A0- why this happens (unable to get exclusive access to block > > > device)$ > > > =C2=A0- why device is written even if there is such error in logs$ > > > =C2=A0- why sometimes we don't see this error in logs$ > > > =C2=A0- why this doesn't happen when "unattended mode" is off. It does not happen when "unattended mode" is off, because the race is interrupted by the script waiting for user input at the very beginning. This is a race condition between multiple instances of the install script executed in parallel, dependent on how many gettys are active. Since the number of gettys and further, which getty get's connected in the end, via terminal, via serial, ... is kind of hard to predict, imo the only option to resolve that race is by adding a dedicated (singleton) service which is executed on startup. I am currently preparing a patch set where a fix for that is included, similar to this: ``` [Unit] Description=3DTarget-bootstrapper service [Service] User=3Droot ExecStart=3D/bin/sh -c "/usr/bin/target-bootstrapper.sh || (echo 'Rebooting in 60 s'; sleep 60); reboot" StandardOutput=3Djournal+console TTYPath=3D/dev/console [Install] WantedBy=3Dmulti-user.target `` BR Alexander > > >=20 > > > The reason is that we have these two "getty" instances overriden > > > by > > > custom one having the race. While "serial-getty@ttyS0.service.d" > > > does > > > the job, "getty@tty1.service.d" produces this error visible in > > > logs > > > and > > > reboot machine in 60 seconds. > > >=20 > > > In some cases 60sec is enough for first service to finish writing > > > to > > > the disc, but on slower machines we result in incomplete copy and > > > broken system. > > >=20 > > > Before this patch, when "reboot" calls were in the script, > > > "failed" > > > instance simply exited and didn't try to reboot the board. > > >=20 > > > As a quick fix, I would reverted this patch. > >=20 > > That won't be a fix, just papering over. > >=20 > > The race is apparently around the target device becoming ready for > > bmaptool, or our script racing with some other service accessing > > the > > device for a while. I suspect the service is lacking some > > dependency > > here. So, let's identify the race partner first: How to reproduce > > locally? > >=20 > > Jan > >=20 >=20 > No, my finding is that getty@tty1.service.d=C2=A0conflicts with > serial-getty@ttyS0.service.d=C2=A0one. Every of them tries to run bmaptoo= l > when unattended mode is active. >=20 > meta-isar/recipes-installer/deploy-image-service/deploy-image- > service.bb: >=20 > ``` > do_install() { > =C2=A0 install -m 0600 ${WORKDIR}/install.override.conf > ${D}/usr/lib/systemd/system/getty@tty1.service.d/override.conf > =C2=A0 install -m 0600 ${WORKDIR}/install.override.conf > ${D}/usr/lib/systemd/system/serial-getty@ttyS0.service.d/override.con > f > } > ``` >=20 > It can be easy reproduced if we decrease timeout from 60s to e.g. > 10s, > to simulate slower system: >=20 > ``` > isar $ sed -i -e 's/60/10/g' meta-isar/recipes-installer/deploy- > image- > service/files/install.override.conf=20 > isar $ ./kas/kas-container shell kas/isar.yaml=20 > builder@b21a175d3b78:/build$ rm -rf conf/ > builder@b21a175d3b78:/build$ /repo/scripts/ci_build.sh -T installer > ``` >=20 > Failed instance of overriden getty reboots the system while the > target > is being populated with the not failed instance. >=20 > Reboot hangs at something like >=20 > ``` > [=C2=A0=C2=A0=C2=A0 9.323801] JBD2: no valid journal superblock found > [=C2=A0=C2=A0=C2=A0 9.325117] EXT4-fs (sda2): error loading journal > ``` >=20 >=20 > > >=20 > > > Also, I think this behaviour may impact on bmap-tools "psplash" > > > patches > > > currently we have on maillist. I would expect that user won't see > > > the > > > progress bar on screen because it's somewhere on serial console. > > >=20 > > >=20 > > > > =C2=A0StandardInput=3Dtty > > > > =C2=A0StandardOutput=3Dtty > > > > --=20 > > > > 2.43.0 > > > >=20 > > >=20 > >=20 >=20 > --=20 > Best regards, > Uladzimir. >=20 >=20 >=20 --=20 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 e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= be6af9287630689ae711b50cc247ccf1d4fcd498.camel%40siemens.com.