Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88AE6C433EF for ; Mon, 21 Mar 2022 15:21:01 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.groups.io with SMTP id smtpd.web12.31779.1647876059972167984 for ; Mon, 21 Mar 2022 08:21:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=T/RnBrQE; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.50, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f50.google.com with SMTP id r10so21206372wrp.3 for ; Mon, 21 Mar 2022 08:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=vItLdYvzYAcQM8joYmYB7ZDhx7pisZ/PvxSN/AWxnoI=; b=T/RnBrQEqvAhYgYFyCWzZaJPaBZOkbhfTZIt43wRyRgsD/BvLjLixWjH2Fd4wErbMD 7+Q99fipbspdlxcH2qUGN7w0/AYAPLoQuQZmf7e+XE83rUGFZa0BJWv92ibtTPEdx/S0 fB24fVRwWQbJgAG21Hwvl7yffpWcGjx184Qt0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=vItLdYvzYAcQM8joYmYB7ZDhx7pisZ/PvxSN/AWxnoI=; b=5QG7T1lES2gnSWzz7xB/7pvARF6oDnV5Ez38MEtdIonuOquhuTay1Hs3vjOCYXdIjT mzEHEHI+7C0nu8ehMANcps6hpri0KDUI5v7FyykU37A/pMDYOzjyvIpbGvavocNvTP9r iOCmk8PAjR/wR8xkQW4X40oiXYRBSJxhwfp9OPgvEQeWOfaijPn44V2mTTN3XkhaFX0S +DX9/kzzvTzEqIFq+Fu2u4Jac9BZB2WlVdjlgQ6f92PrLhI7/IO/hmR49RXHfCzW4QPv ck3juYL37WKgMxdQr05BWPKHZisUtkZUkV/ED8y55IUlPzWFg3kkg4HQUJqtCDYKxMVG v0hA== X-Gm-Message-State: AOAM530vTRQQlffXvaYZi+iCkmGeIiqsBJq9ShN/lKCze4oIAYo5aQx7 xor/P9FrFgMqRZBfvyWSgbwGUA== X-Google-Smtp-Source: ABdhPJzjbiaWkBPQ8JcOdgwN6MeIV1bP9B01fB3LRH40128JNA+6O0R2y+Yu/MfGvocVdp30iQmQFg== X-Received: by 2002:a05:6000:2ca:b0:204:1e6a:d2a9 with SMTP id o10-20020a05600002ca00b002041e6ad2a9mr1059786wry.182.1647876058325; Mon, 21 Mar 2022 08:20:58 -0700 (PDT) Received: from ?IPv6:2001:8b0:aba:5f3c:7422:13d5:6a39:d39? ([2001:8b0:aba:5f3c:7422:13d5:6a39:d39]) by smtp.gmail.com with ESMTPSA id p8-20020a5d59a8000000b00204178688d3sm2375744wrr.100.2022.03.21.08.20.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 08:20:57 -0700 (PDT) Message-ID: <8896e2e934d56451828bdf83063c4cad1ae2ee02.camel@linuxfoundation.org> Subject: Re: [Toaster] [PATCH] toaster: handle changes to "ImagePkgList" event From: Richard Purdie To: "Reyna, David" , "toaster@lists.yoctoproject.org" Date: Mon, 21 Mar 2022 15:20:55 +0000 In-Reply-To: References: <20220318104304.18460-1-david.reyna@windriver.com> <5add1e9d2e60b63604014c0db6b7ecf64d9b1d69.camel@linuxfoundation.org> <0600c7782a3cdc834c890d1338eee9755dbbaa26.camel@linuxfoundation.org> <16DE057272F55985.7848@lists.yoctoproject.org> <89bc951abe2d02689688b1c43d7465d5751b489d.camel@linuxfoundation.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4-1ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 21 Mar 2022 15:21:01 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/5790 On Mon, 2022-03-21 at 00:18 +0000, Reyna, David wrote: > > I'm seeing builds reach 100% and then just hang in the toaster UI never > > completing. > > See my recent patch for 14765 (attached). > > I discovered that new race condition with long builds where the end-of-build > event has the build record success outcome properly set, but that commit never > makes it in time to the physical database before the build tear-down. It may > be related to the upgrade to Django 3 (and if so it is the only oddity with > Tim's Django 3 I have encountered). I thought I had that applied but I'd messed up and hadn't, it does work fine with the patch applied. I've merged the two bitbake changes and the OE-Core change so toaster is looking much better on master now ready for kirkstone, thanks.! Cheers, Richard