From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7026321669488640000 X-Received: by 2002:a5d:67cb:: with SMTP id n11mr14997123wrw.504.1638456913389; Thu, 02 Dec 2021 06:55:13 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:770f:: with SMTP id t15ls3079069wmi.3.gmail; Thu, 02 Dec 2021 06:55:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwuwoss4FmiTIIyDH9wPg9Z8DjNr1ZUa+F2YCqPwO6/fu+LrjiLb6PW3ykw69CRbsaIhksY X-Received: by 2002:a7b:c76e:: with SMTP id x14mr7054874wmk.27.1638456912538; Thu, 02 Dec 2021 06:55:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1638456912; cv=none; d=google.com; s=arc-20160816; b=tGquMKLK9s31YpHWcnvZKq/OHyybnxH325u9ki4RjG3AJxbfGlBYro/EdVUHRRF8AI cgDgYVag86f2m5cbjAiN2eG4M3ve1sFZICroubbkQQPjgEXvePIwSYC+BJj9rZOp6lR8 Xi5kJrT/uFqSGpBIdqyTfinE+B1ueULcYjz2YwDv4aiEqGQAOXfELz0j5eXvXzABG6Y1 fI4QxeRmQEYVhGgKrXhH3x7eG2BuYMuSmCSFxpboTIBSfsGS8cIBMBvXyUFf86It/0Ml OBRIz2lhusxZq+ANRyGo/prWmvFKOCCE0UxVnTjECspi3BX4bjP3ycXs6GzR4NkwqWLL L/Xw== 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=rRqLFev2/FmqgNc6xndbUe3ZSTxC23nyELW/iK/t0U0=; b=htOE73qnnUabGjy+DTl8RbBt4rS0L6C+wjc9giV1FyN/uxmi59fed5rNhUlF2Z3cxW V+vQOfImNLOtegeVgL3nnxn+lnRzsftpWgR3uPDfxWV4pwL+JOyxFKPj1/IAHFp6hMDq 32piJEpV2V3v8aAOSFnt38DYbcmPoazvXUgfF/ufq3ketZz+P/lqa8/1zRqAuukUhlhq Q+Su8GgGpOYoo1mkueHmUm/Czy4Y7uvD8XIs7kcwHHX1Vm2f+eiwwl8iok6rhu3TS+Bc V+DxJb0b5GDEdMNbKkXE8CPlpjhNnj71i3RGPgxFrbpCTjTaFUqwCRwzduYQ4hd2ULtU i6sw== 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 o29si15315wms.1.2021.12.02.06.55.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Dec 2021 06:55:12 -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-140-61-214-37.mgts.dynamic.pppoe.byfly.by [37.214.61.140] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 1B2EtAE8016300 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 2 Dec 2021 15:55:11 +0100 Subject: Re: [PATCH v4 0/2] Improve handling of ISAR_RELEASE_CMD To: "Moessbauer, Felix" , "henning.schild@siemens.com" Cc: "Schmidt, Adriaan" , "isar-users@googlegroups.com" , Baurzhan Ismagulov References: <20211104110507.2358692-1-felix.moessbauer@siemens.com> <4bf7b75d-f431-9a07-96f0-a1168af073d3@ilbers.de> <8836f60a-e1f6-59e6-1343-cdb5902dbf96@ilbers.de> <20211124131135.0a9a4bdd@md1za8fc.ad001.siemens.net> <20211129141806.7fcc0fd2@md1za8fc.ad001.siemens.net> <68ff5360-e7d8-1f0f-c7d7-12f12f0226f8@ilbers.de> From: Anton Mikanovich Message-ID: <7da5c746-3b80-e08b-441d-d46b627a046c@ilbers.de> Date: Thu, 2 Dec 2021 17:55:05 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: UdYquPr+WGkw 30.11.2021 13:03, Moessbauer, Felix wrote: > That is what we expect. However something changes the git state during a build. > The state must ONLY be changed between builds (two bitbake invocations). > In case multiple tests are run in parallel in the same build-tree, this will break. > Even if the patches have not been fully tested in the CI, that's what we use in our daily business (it works). > > Unfortunately I have a really hard time to run the CI in the Siemens environment, as it often fails due to proxy issues or network timeouts. > Also running just the repro target itself does not work due to other issues. > I tried with: avocado run testsuite/build_test/build_test.py:RebuildTest.test_rebuild > > [stdout] E: Unable to find a source package for > [stdlog] 2021-11-30 10:58:04,196 cibuilder L0100 ERROR| E: Unable to find a source package for > [stdout] + bb_exit_handler > [stdlog] 2021-11-30 10:58:04,196 cibuilder L0100 ERROR| + bb_exit_handler > > Anyways, if there are more issues to be ruled out for this patch series, I actually prefer to merge the SState series first. > Currently, a lot of patches are waiting for SState, as Henning mentioned. > > Felix Ok, there are easy steps to reproduce the issue with kas: $ cat isar.yml header:   version: 10 distro: debian-bullseye machine: qemuamd64 target: mc:qemuamd64-bullseye:isar-image-base repos:   isar:     url: "git@github.com:/ilbers/isar"     refspec: "4dc41fba8d664fbc00ec56640fec066c9e57b19d"     layers:       meta:       meta-isar: bblayers_conf_header:   standard: |     BBPATH = "${TOPDIR}"     BBFILES ?= "" $ time ~/kas/kas-docker --isar build isar.yml $ echo -e "do_fetch_append() {\n\n}" >> isar/meta/classes/dpkg-base.bbclass $ time ~/kas/kas-docker --isar build isar.yml On the first obtain of IMAGE_BUILD_ID it gets correct 'dirty' value, but compare it with old hash from the previous build at fails. Even if the patchset is working for upstream it should not introduce such a regression. -- 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