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.web09.5959.1650449422519448364 for ; Wed, 20 Apr 2022 03:10:23 -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 AQAAf9AxuswH3F9iPugpAA--.53541S2; Wed, 20 Apr 2022 18:10:15 +0800 (CST) Date: Wed, 20 Apr 2022 18:10:15 +0800 From: "Chao Li" To: "=?utf-8?Q?devel=40edk2.groups.io?=" , "=?utf-8?Q?mikuback=40linux.microsoft.com?=" Cc: "=?utf-8?Q?devel=40edk2.groups.io?=" , "=?utf-8?Q?=22michael.d.kinney=40intel.com=22?=" , "=?utf-8?Q?=22quic=5Frcran=40quicinc.com=22?=" , "=?utf-8?Q?=22spbrogan=40outlook.com=22?=" Message-ID: In-Reply-To: <38e4e4f1-5fbd-bf3e-a274-6958f510dc4b@linux.microsoft.com> References: <38e4e4f1-5fbd-bf3e-a274-6958f510dc4b@linux.microsoft.com> Subject: Re: [edk2-devel] Some questions about Azure CI X-Mailer: Mailspring MIME-Version: 1.0 X-CM-TRANSID: AQAAf9AxuswH3F9iPugpAA--.53541S2 X-Coremail-Antispam: 1UD129KBjvJXoWxGF45GrWUXr1UGw47ZF1kZrb_yoWrKF4DpF ZIk3ZxJr1DAw18Cr1Dta48Xw1Svrn5Gr1UXr15J34kCr90kFnrtr17tr4rCayDGrWkJw1U XryYvwnrWFyUZrJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUmmb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Ar0_tr1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwV C2z280aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40Eb7x2 x7xS6r1j6r4UMc02F40EFcxC0VAKzVAqx4xG6I80ewAqx4xG64kEw2xG04xIwI0_Gr0_Xr 1l5I8CrVC2j2CEjI02ccxYII8I67AEr4CY67k08wAv7VC0I7IYx2IY67AKxVWUJVWUGwAv 7VC2z280aVAFwI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMx 8GjcxK6IxK0xIIj40E5I8CrwCY02Avz4vE-syl42xK82IYc2Ij64vIr41l4I8I3I0E4IkC 6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUGVWUWwC20s026x8GjcxK67AKxVWUGVWUWw C2zVAF1VAY17CE14v26r126r1DMIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_ JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWrZr 1j6s0DMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1U YxBIdaVFxhVjvjDU0xZFpf9x07bwnY7UUUUU= X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQACCF3QvPPGWgAEsR Content-Type: multipart/alternative; boundary="625fdc07_6cbe7375_ace9" --625fdc07_6cbe7375_ace9 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Micheal, Sorry for late reply, I'm busy with other things, focusing on modifying our= 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_ins= tructions/EDK-II-Code-Formatting.md#how-to-find-uncrustify-formatting-error= s-in-continuous-integration-ci (https://link.getmailspring.com/link/CA5CE17= 5-A392-4D5E-9BE9-392B7A97BB32@getmailspring.com/0?redirect=3Dhttps%3A%2F%2F= github.com%2Fmakubacki%2Ftianocore.github.io%2Fblob%2Fadd_ci_uncrustify_ins= tructions%2FEDK-II-Code-Formatting.md%23how-to-find-uncrustify-formatting-e= rrors-in-continuous-integration-ci&recipient=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=3D31= &view=3Dlogs&j=3D9701361e-2546-5093-77e5-58c75d95b7ce&t=3D27131ef8-75e1-57c= 3-3236-d806181f2f1f (https://link.getmailspring.com/link/CA5CE175-A392-4D5E= -9BE9-392B7A97BB32@getmailspring.com/1?redirect=3Dhttps%3A%2F%2Fdev.azure.c= om%2Fkilaterlee%2FLoongArch_edk2%2F_build%2Fresults%3FbuildId%3D31%26view%3= Dlogs%26j%3D9701361e-2546-5093-77e5-58c75d95b7ce%26t%3D27131ef8-75e1-57c3-3= 236-d806181f2f1f&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_uncrustif= y_ci_link_in_build_log/images/edk-ii-code-formatting/temp-example-instructi= on-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_uncrustify= _instructions/EDK-II-Code-Formatting.md#how-to-find-uncrustify-formatting-e= rrors-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 lin= k > > 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 make > > >>> 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 > --625fdc07_6cbe7375_ace9 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi Micheal,

Sorry for late reply, I'm busy with other th= ings, focusing on modifying our 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_instructions/EDK-II-Code-Formatting.md#how= -to-find-uncrustify-formatting-errors-in-continuous-integration-ci.
I didn't find the detailed log link in the Azure error log, it look= s like:

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


=
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 --625fdc07_6cbe7375_ace9--