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 7C3D5D8018D for ; Tue, 2 Jul 2024 10:32:18 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=rVdbcgkdlN8w340pl1OsSuSBRp39yx7/jgWxvbYtXzE=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1719916338; v=1; b=Pm8agdHvABcwt5e3mPGQOjdhHsWTnHvXm5vI9+lM0ST6uJnzxYFvONMRkDK0X3L6I7F4VC9y x67MrfTYkfs6Ro+gTCjkA422vfZ8mAPpGOGhnP/hKFxm+TaBmJNrwt3r1HKGGeBEVFFCj9Q9ZKe E+p/TFoRUh5/xF2Ag2cYIutEkyVghsU8olDWYJOhQRzhxmHuG/3CQhNdHAPfbVYlaZZNi8Fo9gs Q9VHZGNeH3fvq1lAmaLXysgsA6OWSqsUuviPsc+1OciWUwFc6tTpRiR2WrzNtDJElo9NkBdOmI8 PjPuATJUlOr5AusREG0SQm5JqK7SjFNvj3sP75EWraCGQ== X-Received: by 127.0.0.2 with SMTP id oR52YY7687511xgMpLpTmv8Q; Tue, 02 Jul 2024 03:32:16 -0700 X-Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by mx.groups.io with SMTP id smtpd.web10.21153.1719916331026552633 for ; Tue, 02 Jul 2024 03:32:11 -0700 X-Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 462806Z2014909; Tue, 2 Jul 2024 10:32:10 GMT X-Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 402bejpysv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Jul 2024 10:32:10 +0000 (GMT) X-Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA01.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 462AW91Z010924 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 2 Jul 2024 10:32:09 GMT X-Received: from [10.111.143.246] (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 2 Jul 2024 03:32:08 -0700 Message-ID: Date: Tue, 2 Jul 2024 11:32:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] How do debug tianocore.PatchCheck failed? To: , References: <20240702064243.GU7611@linux-l9pv.suse> From: "Leif Lindholm" In-Reply-To: <20240702064243.GU7611@linux-l9pv.suse> X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-GUID: f7OhFi8WYmTgzZ_UIaV2_Jv9dKqwLUpA X-Proofpoint-ORIG-GUID: f7OhFi8WYmTgzZ_UIaV2_Jv9dKqwLUpA 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 03:32:11 -0700 Resent-From: quic_llindhol@quicinc.com Reply-To: devel@edk2.groups.io,quic_llindhol@quicinc.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: JuQpMNoIp39EUVhitFjmJFeLx7686176AA= Content-Language: en-GB Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=Pm8agdHv; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=quicinc.com (policy=none) Hi Joey, On 2024-07-02 07:42, joeyli via groups.io wrote: > Hi EDK2 experts, >=20 > 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: >=20 > https://github.com/tianocore/edk2/pull/5550/checks?check_run_id=3D2418564= 7984 >=20 > 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=20 the failures. If I go to the link above, I see the message you're copying, but below=20 that there is a link "View more details on Azure Pipelines". Clicking=20 that takes me to a page that says "build not found" - since the logs=20 have been purged since the test was run 2 months ago. Otherwise you'd be=20 able to find logs there explaining the failure. > The patch only change one line as following bash script: >=20 > --- a/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib= .inf > +++ b/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib= .inf > @@ -34,4 +34,4 @@ > =20 > # Current usage of this library expects GCC in a UNIX-like shell enviro= nment with the date command > [BuildOptions] > - GCC:*_*_*_CC_FLAGS =3D -DBUILD_EPOCH=3D`date +%s` > + GCC:*_*_*_CC_FLAGS =3D -DBUILD_EPOCH=3D`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=20 unhappy over the merge commit that has been introduced. If you rebase your change on top of current master branch and force push=20 an update, that will trigger a new CI run, which I'm thinking would pass. Best Regards, Leif >=20 > This change works on openSUSE/SLE, and it also passed > PlatformCI_ArmVirtPkg_Ubuntu_GCC5_PR test. >=20 > 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? >=20 > Thank a lot! > Joey Lee >=20 >=20 >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119756): https://edk2.groups.io/g/devel/message/119756 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-