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 75ED7D8110E for ; Tue, 2 Jul 2024 06:42:53 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=thkCpSIASYdMTlVVTDrIAoVjMf5bhM9/nyExXawLKDo=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version: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=1719902573; v=1; b=S6/xbI+UHIQmXJMhXxqn1Q2YHrbQ7+koJ7cK7Ryu7o/ERYD4Kph7ckfFCMUbUdR4CiRP2PbM 02HVuy8xERbl8f9ts9gwR89acJox4IlavQ+BG3UGXOOiatZJWqMhKvgMr9hkzbrDOaYM9KDjl0W Qhc7qUyKf0vKiGd0SVHVIUVGOW2a9qxmlGOxQciqFe7/hmtgyzKuvI3ef59MXAnpg0drhQBb3P/ eO0ArQ2aT+Z0+c2ttnRw4mTxJ5fKokoTQsuYrzYk7Y7gKgGmNFLGpyutAgYkBjLofF2idY/eP5N 92GGgQphN9rafQpjff81mlQBjuLJ6fphDCWDD83hGvBQQ== X-Received: by 127.0.0.2 with SMTP id OJDqYY7687511xkG6YLH4dFq; Mon, 01 Jul 2024 23:42:51 -0700 X-Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) by mx.groups.io with SMTP id smtpd.web10.18412.1719902570978501437 for ; Mon, 01 Jul 2024 23:42:51 -0700 X-Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-57d044aa5beso1345874a12.2 for ; Mon, 01 Jul 2024 23:42:50 -0700 (PDT) X-Gm-Message-State: ywZ9IFADi2YFL3kfaQyHJjPox7686176AA= X-Google-Smtp-Source: AGHT+IHqtfcsnFRbOqrZTPpgb83KCoNIQDocVc1gqTCi7s5GBY7++5KwkIBx6vXsp1HDoZxjD+t//w== X-Received: by 2002:a05:6402:3512:b0:57d:10c:6c40 with SMTP id 4fb4d7f45d1cf-5879ecea69dmr5047681a12.7.1719902568782; Mon, 01 Jul 2024 23:42:48 -0700 (PDT) X-Received: from linux-l9pv.suse ([124.11.22.254]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-58614f3d51asm5264937a12.81.2024.07.01.23.42.47 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jul 2024 23:42:48 -0700 (PDT) Date: Tue, 2 Jul 2024 14:42:43 +0800 From: "joeyli via groups.io" To: devel@edk2.groups.io Cc: jlee@suse.com Subject: [edk2-devel] How do debug tianocore.PatchCheck failed? Message-ID: <20240702064243.GU7611@linux-l9pv.suse> MIME-Version: 1.0 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: Mon, 01 Jul 2024 23:42:51 -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="S6/xbI+U"; 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=pass (policy=none) header.from=groups.io 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 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 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 (#119754): https://edk2.groups.io/g/devel/message/119754 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] -=-=-=-=-=-=-=-=-=-=-=-