From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from loongson.cn (loongson.cn [114.242.206.163]) by mx.groups.io with SMTP id smtpd.web11.6330.1650452924494634502 for ; Wed, 20 Apr 2022 04:08:45 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: loongson.cn, ip: 114.242.206.163, mailfrom: lichao@loongson.cn) Received: from lichao-PC (unknown [10.40.24.65]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9DxXxG26V9iXPYpAA--.24148S2; Wed, 20 Apr 2022 19:08:39 +0800 (CST) Date: Wed, 20 Apr 2022 19:08:38 +0800 From: "Chao Li" To: "=?utf-8?Q?=22_devel=40edk2.groups.io_=22?=" , "=?utf-8?Q?=22_mikuback=40linux.microsoft.com_=22?=" Cc: "=?utf-8?Q?=22_devel=40edk2.groups.io_=22?=" , "=?utf-8?Q?=22_=22michael.d.kinney=40intel.com=22_=22?=" , "=?utf-8?Q?=22_=22quic=5Frcran=40quicinc.com=22_=22?=" , "=?utf-8?Q?=22_=22spbrogan=40outlook.com=22_=22?=" Message-ID: <3FB8CF0A-BF1B-4A0A-924B-3B5F6D7EB834@getmailspring.com> In-Reply-To: References: Subject: Re: [edk2-devel] Some questions about Azure CI X-Mailer: Mailspring MIME-Version: 1.0 X-CM-TRANSID: AQAAf9DxXxG26V9iXPYpAA--.24148S2 X-Coremail-Antispam: 1UD129KBjvJXoW3AF43Kr4kJrWDZr13Zr15XFb_yoW7ArWxpr ZIy3ZxArn8tw18Cr4kt348Xw1Iqrn3Wr1UXrn8J34kCr90kF9rtr17tr48CFZrCrWkJr1U Zr1YvwnrWFyUZ3DanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUQlb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4 A2jsIEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG67k08I80 eVWUJVW8JwAqx4xG64xvF2IEw4CE5I8CrVC2j2Wl5I8CrVAKz4kIr2xC04v26r4j6ryUMc 02F40Ex7xS67I2xxkvbII20VAFz48EcVAYj21lYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0E x4A2jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCjr7 xvwVCIw2I0I7xG6c02F41lc2xSY4AK6svPMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCj c4AY6r1j6r4UMxCIbckI1I0E14v26r126r1DMI8I3I0E5I8CrVAFwI0_JrI_JrWlx2IqxV Cjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY 6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6x AIw20EY4v20xvaj40_Wr1j6rW3Jr1lIxAIcVC2z280aVAFwI0_Gr0_Cr1lIxAIcVC2z280 aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU5t3vUUUUUU== X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQACCF3QvPPH4gABst Content-Type: multipart/alternative; boundary="625fe9b6_efe793d_ace9" --625fe9b6_efe793d_ace9 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Micheal, Do you know if anyone has modified the Azure CI today? I did a CI test toda= y, and many modules reported errors, but yesterday, only two modules report= ed errors, I don't know what happened. Please refer following two links: Today: https://dev.azure.com/kilaterlee/LoongArch_edk2/_build/results?buildId=3D32= &view=3Dresults (https://link.getmailspring.com/link/3FB8CF0A-BF1B-4A0A-924= B-3B5F6D7EB834@getmailspring.com/0?redirect=3Dhttps%3A%2F%2Fdev.azure.com%2= Fkilaterlee%2FLoongArch_edk2%2F_build%2Fresults%3FbuildId%3D32%26view%3Dres= ults&recipient=3DZGV2ZWxAZWRrMi5ncm91cHMuaW8%3D) Yesterday: https://dev.azure.com/kilaterlee/LoongArch_edk2/_build/results?buildId=3D31= &view=3Dresults (https://link.getmailspring.com/link/3FB8CF0A-BF1B-4A0A-924= B-3B5F6D7EB834@getmailspring.com/1?redirect=3Dhttps%3A%2F%2Fdev.azure.com%2= Fkilaterlee%2FLoongArch_edk2%2F_build%2Fresults%3FbuildId%3D31%26view%3Dres= ults&recipient=3DZGV2ZWxAZWRrMi5ncm91cHMuaW8%3D) -- Thanks, Chao ------------------------ On 4=E6=9C=88 20 2022, at 6:10 =E6=99=9A=E4=B8=8A, Chao Li wrote: > Hi Micheal, > > Sorry for late reply, I'm busy with other things, focusing on modifying o= ur code, refer to the detailed error log file. > I am learning how to get the detailed log from this link: > https://github.com/makubacki/tianocore.github.io/blob/add_ci_uncrustify_i= nstructions/EDK-II-Code-Formatting.md#how-to-find-uncrustify-formatting-err= ors-in-continuous-integration-ci (https://link.getmailspring.com/link/3FB8C= F0A-BF1B-4A0A-924B-3B5F6D7EB834@getmailspring.com/2?redirect=3Dhttps%3A%2F%= 2Flink.getmailspring.com%2Flink%2FCA5CE175-A392-4D5E-9BE9-392B7A97BB32%40ge= tmailspring.com%2F0%3Fredirect%3Dhttps%253A%252F%252Fgithub.com%252Fmakubac= ki%252Ftianocore.github.io%252Fblob%252Fadd_ci_uncrustify_instructions%252F= EDK-II-Code-Formatting.md%2523how-to-find-uncrustify-formatting-errors-in-c= ontinuous-integration-ci%26recipient%3DZGV2ZWxAZWRrMi5ncm91cHMuaW8%253D&rec= ipient=3DZGV2ZWxAZWRrMi5ncm91cHMuaW8%3D). > I didn't find the detailed log link in the Azure error log, it looks like= : > https://dev.azure.com/kilaterlee/LoongArch_edk2/_build/results?buildId=3D= 31&view=3Dlogs&j=3D9701361e-2546-5093-77e5-58c75d95b7ce&t=3D27131ef8-75e1-5= 7c3-3236-d806181f2f1f (https://link.getmailspring.com/link/3FB8CF0A-BF1B-4A= 0A-924B-3B5F6D7EB834@getmailspring.com/3?redirect=3Dhttps%3A%2F%2Flink.getm= ailspring.com%2Flink%2FCA5CE175-A392-4D5E-9BE9-392B7A97BB32%40getmailspring= .com%2F1%3Fredirect%3Dhttps%253A%252F%252Fdev.azure.com%252Fkilaterlee%252F= LoongArch_edk2%252F_build%252Fresults%253FbuildId%253D31%2526view%253Dlogs%= 2526j%253D9701361e-2546-5093-77e5-58c75d95b7ce%2526t%253D27131ef8-75e1-57c3= -3236-d806181f2f1f%26recipient%3DZGV2ZWxAZWRrMi5ncm91cHMuaW8%253D&recipient= =3DZGV2ZWxAZWRrMi5ncm91cHMuaW8%3D). > > -- > Thanks, > Chao > ------------------------ > > > > On 4=E6=9C=88 20 2022, at 9:56 =E4=B8=8A=E5=8D=88, "Michael Kubacki" wrote: > > Hi Chao, > > > > Are you referring to the change I made to put the link to the > > instructions in the build log. Here's an example of what that will look > > like: > > > > https://github.com/makubacki/tianocore.github.io/blob/temp_show_uncrust= ify_ci_link_in_build_log/images/edk-ii-code-formatting/temp-example-instruc= tion-link-in-build-log.png?raw=3Dtrue > > (some of the words running together are not in the actual change) > > I'm open to moving it elsewhere but developers will need to know how to > > at least find that or they will have trouble fixing build issues. > > > > Regards, > > Michael > > > > > > On 4/19/2022 9:46 PM, Chao Li wrote: > > > Hi Micheal, > > > Using the way your provided the link, I found the detail log, thanks, > > > but this way is not friendly to newbies, because they don't know how = to > > > find the tutorial.:) > > > > > > -- > > > Thanks, > > > Chao > > > ------------------------ > > > > > > > > > On 4=E6=9C=88 20 2022, at 7:43 =E6=97=A9=E4=B8=8A, "Michael Kubacki" > > > wrote: > > > > > > The wiki update is here: > > > https://github.com/makubacki/tianocore.github.io/blob/add_ci_uncrusti= fy_instructions/EDK-II-Code-Formatting.md#how-to-find-uncrustify-formatting= -errors-in-continuous-integration-ci > > > > > > I am waiting for permissions to be updated so I can update the actual > > > wiki page and then I'll send a patch for the plugin change with the l= ink > > > to that section. > > > > > > Regards, > > > Michael > > > > > > On 4/19/2022 6:15 PM, Michael Kubacki wrote: > > > > I agree that is ideal but I'm not aware of how to do that at the > > > moment. > > > > > > > > Thanks, > > > > Michael > > > > > > > > On 4/19/2022 4:52 PM, Michael D Kinney wrote: > > > >> Hi Michael, > > > >> > > > >> Can the build log provide a direct link to the log file artifact > > > if an > > > >> error is detected? > > > >> > > > >> Mike > > > >> > > > >>> -----Original Message----- > > > >>> From: devel@edk2.groups.io On Behalf Of > > > >>> Michael Kubacki > > > >>> Sent: Tuesday, April 19, 2022 12:42 PM > > > >>> To: devel@edk2.groups.io; quic_rcran@quicinc.com; > > > >>> spbrogan@outlook.com; Chao Li > > > >>> Subject: Re: [edk2-devel] Some questions about Azure CI > > > >>> > > > >>> Hi Rebecca, > > > >>> > > > >>> We are trying to keep the results reporting experience > > > consistent with > > > >>> other plugins and prevent an overwhelming amount of information > > > being > > > >>> printed to the build log. > > > >>> > > > >>> In case other errors are present, providing high-level > > > information from > > > >>> each plugin can help point the user in the right direction to > > > get more > > > >>> detail. > > > >>> > > > >>> I completely understand the concern though, so I'm planning to ma= ke > > > >>> another step toward providing more information about how to > > > debug an > > > >>> issue, when it occurs. That is to put the step-by-step > > > information about > > > >>> where to find the file diff into the EDK II Code Formatting > > > wiki page > > > >>> and then if a failure occurs, print a link to that section of > > > the wiki > > > >>> page. I am hoping this will provide sufficient information to > > > get to the > > > >>> file diff at the point of failure. > > > >>> > > > >>> I should be able to send these patches later today. > > > >>> > > > >>> Regards, > > > >>> Michael > > > >>> > > > >>> On 4/19/2022 12:43 PM, Rebecca Cran wrote: > > > >>>> Since people are going to keep running into this, could we > > > just output > > > >>>> the file diff to the console? That would avoid having to go > > > hunting for > > > >>>> the log file. > > > >>>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > > > > > > > Sent from Mailspring > > >=20 > > > --625fe9b6_efe793d_ace9 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi Micheal,

Do you know if anyone has modified the Azure= CI today? I did a CI test today, and many modules reported errors, but yes= terday, only two modules reported errors, I don't know what happened. Pleas= e refer following two links:

Today:
Yesterday<= span data-emoji-typing=3D"true">:

--
Thanks,
Chao
------------------------


<= /div>
On 4=E6=9C=88= 20 2022, at 6:10 =E6=99=9A=E4=B8=8A, Chao Li <lichao@loongson.cn> wr= ote:
Hi Micheal,

Sorry for late reply, = I'm busy with other things, focusing on modifying our code, refer to the de= tailed error log file.

I am learning how to get the detailed = log from this link:
<= br>

On 4=E6=9C= =88 20 2022, at 9:56 =E4=B8=8A=E5=8D=88, "Michael Kubacki" <mikuback@lin= ux.microsoft.com> wrote:
Hi Chao,

Are you referring to the change I made to put the link to the
= instructions in the build log. Here's an example of what that will look
like:

https://github.com/makubacki/tianocore.github.io= /blob/temp_show_uncrustify_ci_link_in_build_log/images/edk-ii-code-formatti= ng/temp-example-instruction-link-in-build-log.png?raw=3Dtrue

= (some of the words running together are not in the actual change)

=
I'm open to moving it elsewhere but developers will need to know how t= o
at least find that or they will have trouble fixing build issue= s.

Regards,
Michael


On 4/19/2022 = 9:46 PM, Chao Li wrote:
> Hi Micheal,
> Using the= way your provided the link, I found the detail log, thanks,
>= but this way is not friendly to newbies, because they don't know how to
> find the tutorial.:)
>
> --
> Thanks,
> Chao
> ------------------------<= /div>
>
>
> On 4=E6=9C=88 20 2022, at 7:43= =E6=97=A9=E4=B8=8A, "Michael Kubacki"
> <mikuback@linux.mi= crosoft.com> wrote:
>
> The wiki update is her= e:
> https://github.com/makubacki/tianocore.github.io/blob/add= _ci_uncrustify_instructions/EDK-II-Code-Formatting.md#how-to-find-uncrustif= y-formatting-errors-in-continuous-integration-ci
>
&= gt; I am waiting for permissions to be updated so I can update the actual
> wiki page and then I'll send a patch for the plugin change wi= th the link
> to that section.
>
> R= egards,
> Michael
>
> On 4/19/2022 6= :15 PM, Michael Kubacki wrote:
> > I agree that is ideal bu= t I'm not aware of how to do that at the
> moment.
&= gt; >
> > Thanks,
> > Michael
= > >
> > On 4/19/2022 4:52 PM, Michael D Kinney wrote:=
> >> Hi Michael,
> >>
>= >> Can the build log provide a direct link to the log file artifact<= /div>
> if an
> >> error is detected?
&= gt; >>
> >> Mike
> >>
> >>> -----Original Message-----
> >>> F= rom: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
> >>> Michael Kubacki
> >>> Sent: Tues= day, April 19, 2022 12:42 PM
> >>> To: devel@edk2.gro= ups.io; quic_rcran@quicinc.com;
> >>> spbrogan@outloo= k.com; Chao Li <lichao@loongson.cn>
> >>> Subje= ct: Re: [edk2-devel] Some questions about Azure CI
> >>&= gt;
> >>> Hi Rebecca,
> >>>
> >>> We are trying to keep the results reporting experi= ence
> consistent with
> >>> other plugi= ns and prevent an overwhelming amount of information
> being
> >>> printed to the build log.
> >>= ;>
> >>> In case other errors are present, providi= ng high-level
> information from
> >>> e= ach plugin can help point the user in the right direction to
>= get more
> >>> detail.
> >>>
> >>> I completely understand the concern though, so I= 'm planning to make
> >>> another step toward providi= ng more information about how to
> debug an
> >= ;>> issue, when it occurs. That is to put the step-by-step
= > information about
> >>> where to find the file d= iff into the EDK II Code Formatting
> wiki page
>= >>> and then if a failure occurs, print a link to that section of=
> the wiki
> >>> page. I am hoping this= will provide sufficient information to
> get to the
> >>> file diff at the point of failure.
> >&g= t;>
> >>> I should be able to send these patches l= ater today.
> >>>
> >>> Regards= ,
> >>> Michael
> >>>
> >>> On 4/19/2022 12:43 PM, Rebecca Cran wrote:
>= ; >>>> Since people are going to keep running into this, could = we
> just output
> >>>> the file diff= to the console? That would avoid having to go
> hunting for
> >>>> the log file.
> >>>>= ;
> >>>
> >>>
> &g= t;>>
> >>>
> >>
&g= t; >>
> >>
> >>
> = >>
> >>
>
>
&g= t; Sent from Mailspring
3D"Sent --625fe9b6_efe793d_ace9--