From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7026321669488640000 X-Received: by 2002:ac2:5049:: with SMTP id a9mr15619636lfm.666.1637154339777; Wed, 17 Nov 2021 05:05:39 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:a378:: with SMTP id i24ls3463690ljn.3.gmail; Wed, 17 Nov 2021 05:05:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyMfsDA3qBKsKOqAGCyX9YFFme0bEcbf5Ne0T1eWqeNQiiTx/jlA2phimiwxWP930W83ihQ X-Received: by 2002:a2e:83c4:: with SMTP id s4mr7108894ljh.445.1637154338620; Wed, 17 Nov 2021 05:05:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637154338; cv=none; d=google.com; s=arc-20160816; b=fCSvzFwB5HGfzeF0SUYpzzY6c0sUZ+bYmLgxGkwGsmT5qb8e5WIl52G87czUsbtzqK b1ZhYmUV9XVKfkuO2TqKSWVO57OVJHeTaYFQlH//96Dx/KRezzx2h2ol7Jd5nZ/LTS68 /7ZZPbrj5FYPMFi3MNSVMJz/TpZ7x0xhPc8S5yZSKBePUCS5EMe81MUsFbhR6YLk+Yfe Fd8hyrRpv81ZKrNw145ulwoDivaUbWt4us0QMJvJGXkMigS5dxHC7dsofsB+6zYwdDvH kY4HeBOrIQVbJyoooP2+jR7bNRhCk6ruqK0TTKi8SDr+YGf0rI6fiekoWrqsCXx8WmPp amSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject; bh=Ain/lJ8MQWeU0uFc2OkuSugVBIZ1/aRjEN7TR8yARS8=; b=IpeIQxFauRwIuu2ZmQNqP0Td6qbKLh+M21XgSXkgciEMsRNa/nfGMx/SxDdrISE53+ iahArSg0Dtbs8KPbfJXV4cJCSk0Kg5/1xust3ePGoD4VigSMSHdREE2Zv6sd2de97Vs2 YqmCp+MrIEbW8b2jzYueAkbiKEFbJpoqiqrcUxJCd164d2rYYVCIKhxvL0WM0z/Pmvre x+jCvAFt3JsOa8uqfE3t8kZJ5AYbLPkhkWP+VaG4YHeZeqKnHVkuhBhQq5o5kMasf4Ct bdYCQ149Zb9W/UgJ1vrzPixOYX5ha9Ag1k2Lrs5IXU4SB/8u3IdrbTbSxEd3h+TQYm9/ LHig== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id b11si1109150lfv.12.2021.11.17.05.05.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Nov 2021 05:05:38 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [192.168.67.164] (mm-55-56-214-37.mgts.dynamic.pppoe.byfly.by [37.214.56.55] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 1AHD5aFc011716 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 Nov 2021 14:05:37 +0100 Subject: Re: [PATCH v4 0/2] Improve handling of ISAR_RELEASE_CMD To: "Moessbauer, Felix" Cc: "isar-users@googlegroups.com" References: <20211104110507.2358692-1-felix.moessbauer@siemens.com> From: Anton Mikanovich Message-ID: <4bf7b75d-f431-9a07-96f0-a1168af073d3@ilbers.de> Date: Wed, 17 Nov 2021 16:05:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED 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: akxpnyq1OAbg 17.11.2021 13:45, Moessbauer, Felix wrote: > Hi Anton, > > Unfortunately I cannot reproduce this, but this is very likely related to a not idempotent ISAR_RELEASE_CMD. > As stated in the API changelog, the ISAR_RELEASE_CMD shall be idempotent (and technically must be for MC targets). > By that, no things like timestamps must be included. > > If you point me to the location where the ISAR_RELEASE_CMD is set for CI builds, I can have a look. > Another issue could be that changes to the git happen during build (e.g. adding a tag, making the repo dirty, etc...). > In that case (starting with a clean build, ending up with a dirty one), the CI generated files have to be added to the .gitignore. > > In Yocto there is a lengthy discussion about the idempotence sanity check [1] and why recipes have to be written in this way. > > Best regards, > Felix > > [1] https://patchwork.openembedded.org/patch/133517/ > Default ISAR_RELEASE_CMD can be found in meta/classes/image.bbclass as: ISAR_RELEASE_CMD_DEFAULT = "git -C ${LAYERDIR_core} describe --tags --dirty --match 'v[0-9].[0-9]*'" which results in something like `v0.7-534-g6752a45` This issue is reproduced inside Jenkins only, but not locally or in gitlab/kas. -- Anton Mikanovich Promwad Ltd. External service provider of ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn, Germany +49 (89) 122 67 24-0 Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov