From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 229D674003E for ; Tue, 2 Jul 2024 13:38:53 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=1cTLqTrVZTA+MKEhJYLjFnA+4pU2cjKhkRiVR/gVnzM=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:User-Agent:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20240206; t=1719927533; v=1; b=AguoJS1+T/NzyrD5qQ62zEOrIjcUK4AjFeI/ALZNYfd/qYTXf9L60nrmc6liDtoTVuClNk1G lPOqDbP/m7+mn4F54j0V1CWZd0mLICfiHbMpCmvO1d95Z0kA39EJ81NHN34VnodgO8PpCtF8Rvz i8khGprgT0Xm46vY9tFXD4gwjdgdNo3Ao2uB10aKWugBiwPAjgoqLjwiaXETBWlNL+oQwcRPeOC voI2WI5j+1L3w8zHPQuQmsjexNCpZlBL2snYloGU3DEXU5lPh4oWwEftcCqP4rmC1fFq3IyQsfZ yBIHiIuMIjq0PrA2MFyeIHel1jjNH83tYh1o6i7u/HR0g== X-Received: by 127.0.0.2 with SMTP id yZnDYY7687511x5d7AKbNlF6; Tue, 02 Jul 2024 06:38:52 -0700 X-Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) by mx.groups.io with SMTP id smtpd.web11.24921.1719927526713443964 for ; Tue, 02 Jul 2024 06:38:47 -0700 X-Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-58b966b41fbso899634a12.1 for ; Tue, 02 Jul 2024 06:38:46 -0700 (PDT) X-Gm-Message-State: sXOwn5exYexMKuqKcgWjWOGZx7686176AA= X-Google-Smtp-Source: AGHT+IHqNATdWLPWShhH6/cYQ4btzL46hwZHncteW1TpAbjhuiorB+hgMrDJtr65sicI272zPQba9w== X-Received: by 2002:a05:6402:430b:b0:57c:74ea:8d24 with SMTP id 4fb4d7f45d1cf-5879f59c5b7mr5564933a12.18.1719927524854; Tue, 02 Jul 2024 06:38:44 -0700 (PDT) X-Received: from linux-l9pv.suse ([124.11.22.254]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-586150381f4sm5699786a12.83.2024.07.02.06.38.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jul 2024 06:38:44 -0700 (PDT) Date: Tue, 2 Jul 2024 21:38:37 +0800 From: "joeyli via groups.io" To: Leif Lindholm Cc: devel@edk2.groups.io Subject: Re: [edk2-devel] How do debug tianocore.PatchCheck failed? Message-ID: <20240702133837.GV7611@linux-l9pv.suse> References: <20240702064243.GU7611@linux-l9pv.suse> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 02 Jul 2024 06:38:47 -0700 Resent-From: jlee@suse.com Reply-To: devel@edk2.groups.io,jlee@suse.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=AguoJS1+; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Hi Leif, Thanks for your response! On Tue, Jul 02, 2024 at 11:32:06AM +0100, Leif Lindholm wrote: > Hi Joey, > > On 2024-07-02 07:42, joeyli via groups.io wrote: > > Hi EDK2 experts, > > > > I was filed a submit request on github for > > "[PATCH] EmbeddedPkg/VirtualRealTimeClockLib: Support SOURCE_DATE_EPOCH". But > > I got a Azure Pipelines/tianocore.PatchCheck failed: > > > > https://github.com/tianocore/edk2/pull/5550/checks?check_run_id=24185647984 > > > > Check failure on line 26 in Build log > > @azure-pipelines azure-pipelines / tianocore.PatchCheck > > Build log #L26 > > Bash exited with code '255'. > > The CI system is a bit "beware of the leopard" with regards to finding the > failures. > > If I go to the link above, I see the message you're copying, but below that > there is a link "View more details on Azure Pipelines". Clicking that takes > me to a page that says "build not found" - since the logs have been purged > since the test was run 2 months ago. Otherwise you'd be able to find logs > there explaining the failure. > Actually I didn't aware my submission is failed because I moved to work on other bugs. > > The patch only change one line as following bash script: > > > > --- a/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf > > +++ b/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf > > @@ -34,4 +34,4 @@ > > # Current usage of this library expects GCC in a UNIX-like shell environment with the date command > > [BuildOptions] > > - GCC:*_*_*_CC_FLAGS = -DBUILD_EPOCH=`date +%s` > > + GCC:*_*_*_CC_FLAGS = -DBUILD_EPOCH=`printenv SOURCE_DATE_EPOCH || date +%s`^M > > This looks fine. > > If I was to guess, from looking at the PR, I would say PatchCheck.py is > unhappy over the merge commit that has been introduced. > If you rebase your change on top of current master branch and force push an > update, that will trigger a new CI run, which I'm thinking would pass. > > Best Regards, > > Leif Thanks for your suggest! I will rebase my change and submit a new merge request. Joey Lee > > > > > This change works on openSUSE/SLE, and it also passed > > PlatformCI_ArmVirtPkg_Ubuntu_GCC5_PR test. > > > > My question is: > > What's the platform of "Azure Pipelines/tianocore.PatchCheck" ? Is it a > > virtual machine? Where can I find the platform for debugging my change? > > > > Thank a lot! > > Joey Lee > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119761): https://edk2.groups.io/g/devel/message/119761 Mute This Topic: https://groups.io/mt/106995552/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-