public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael D Kinney" <michael.d.kinney@intel.com>
To: Sean Brogan <spbrogan@outlook.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>,
	"ardb@kernel.org" <ardb@kernel.org>,
	Rebecca Cran <rebecca@bsdio.com>
Cc: "Kubacki, Michael" <michael.kubacki@microsoft.com>,
	"Gao, Liming" <gaoliming@byosoft.com.cn>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] failed Pr
Date: Mon, 29 May 2023 16:44:53 +0000	[thread overview]
Message-ID: <CO1PR11MB492965340B2B53890CF6B9B9D24A9@CO1PR11MB4929.namprd11.prod.outlook.com> (raw)
In-Reply-To: <BY3PR19MB4900B4A8D1DBD7381EFF5F96C84A9@BY3PR19MB4900.namprd19.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 5878 bytes --]

Hi Sean,

I see the "rerun" button on the "checks" page of GitHub from my login.

We have a mix of both Azure Pipelines and GitHub Actions today, so I think it is important to see the "rerun" from GitHub view for Maintainers.

This github page describes the feature, but not the permissions required.

https://docs.github.com/en/actions/managing-workflow-runs/re-running-workflows-and-jobs

We currently have EDK II Maintainer Team set to "Triage Role" permissions.  From the table below, only "Write" and above are allowed to re-run.

https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/repository-roles-for-an-organization#permissions-for-each-role

"Write" permissions add a lot of options, so I think we should discuss tradeoffs in the next Tools/CI meeting.

One option is to add a bot based on a new label to request failed jobs to be re-run.  The bot can use a token with permissions to re-run.

Best regards,

Mike

From: Sean Brogan <spbrogan@outlook.com>
Sent: Monday, May 29, 2023 8:37 AM
To: Kinney, Michael D <michael.d.kinney@intel.com>; devel@edk2.groups.io; ardb@kernel.org; Rebecca Cran <rebecca@bsdio.com>
Cc: Kubacki, Michael <michael.kubacki@microsoft.com>; Gao, Liming <gaoliming@byosoft.com.cn>; Kinney, Michael D <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] failed Pr

It has changed over time and I no longer see a button on the "checks" page of GitHub.  I only see the button in the azure pipeline which would mean maintainers would need to be "contributors" in the azure DevOps organization/project. I have no problem with that and it looks like you can sign in with a GitHub account so it should just be a matter of collecting the email address associated with their GitHub and inviting them to join.  We only get 5 free basic users but we get unlimited free "stakeholder" accounts. I assume we might need basic accounts to interact with the pipeline stuff but I don't know for sure.  Anyone who has paid Microsoft visual studio subscriptions (like from an employer) usually doesn't count towards the 5.

Regardless for those actively contributing and interested we should add them up to the limit.  This was one of the reasons we had desired long term to align on GitHub build services instead.

Other thoughts?

Thanks
Sean
________________________________
From: Kinney, Michael D <michael.d.kinney@intel.com<mailto:michael.d.kinney@intel.com>>
Sent: Monday, May 29, 2023 8:13:32 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>>; spbrogan@outlook.com<mailto:spbrogan@outlook.com> <spbrogan@outlook.com<mailto:spbrogan@outlook.com>>; ardb@kernel.org<mailto:ardb@kernel.org> <ardb@kernel.org<mailto:ardb@kernel.org>>; Rebecca Cran <rebecca@bsdio.com<mailto:rebecca@bsdio.com>>
Cc: Kubacki, Michael <michael.kubacki@microsoft.com<mailto:michael.kubacki@microsoft.com>>; Gao, Liming <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>>; Kinney, Michael D <michael.d.kinney@intel.com<mailto:michael.d.kinney@intel.com>>
Subject: RE: [edk2-devel] failed Pr


Hi Sean,



Do you know what GitHub permissions are required to see the re-run button?



I think it is reasonable for all Maintainers to have that available.



Mike



From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of Sean
Sent: Monday, May 29, 2023 8:12 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; ardb@kernel.org<mailto:ardb@kernel.org>; Rebecca Cran <rebecca@bsdio.com<mailto:rebecca@bsdio.com>>
Cc: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Kinney, Michael D <michael.d.kinney@intel.com<mailto:michael.d.kinney@intel.com>>; Kubacki, Michael <michael.kubacki@microsoft.com<mailto:michael.kubacki@microsoft.com>>; Gao, Liming <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>>
Subject: Re: [edk2-devel] failed Pr



It has been rerun.



________________________________

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> on behalf of Ard Biesheuvel <ardb@kernel.org<mailto:ardb@kernel.org>>
Sent: Monday, May 29, 2023 7:44:37 AM
To: Rebecca Cran <rebecca@bsdio.com<mailto:rebecca@bsdio.com>>
Cc: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>>; Michael Kinney <michael.d.kinney@intel.com<mailto:michael.d.kinney@intel.com>>; Michael Kubacki <michael.kubacki@microsoft.com<mailto:michael.kubacki@microsoft.com>>; Liming Gao (Byosoft address) <gaoliming@byosoft.com.cn<mailto:gaoliming@byosoft.com.cn>>
Subject: Re: [edk2-devel] failed Pr



On Mon, 29 May 2023 at 16:37, Rebecca Cran <rebecca@bsdio.com<mailto:rebecca@bsdio.com>> wrote:
>
> It looks like the agent or machine running the CI task crashed.
>
> "##[error]We stopped hearing from agent Azure Pipelines 18. Verify the
> agent machine is running and has a healthy network connection. Anything
> that terminates an agent process, starves it for CPU, or blocks its
> network access can cause this error. For more information, see:
> https://go.microsoft.com/fwlink/?linkid=846610"<https://go.microsoft.com/fwlink/?linkid=846610%22>
>

Hmm, it would be nice if this thing could distinguish between 'error
in your code' and 'internal error' where the latter does not mark your
PR as being rejected.

>
>
>
>
> The only way I've found to make CI run again is to do something to cause
> the commit hash to change, for example by making a change to ReadMe.rst
> then reverting it.
>

Mike Kinney mentioned last time that there is a button I could push. Mike?

I am reluctant to make unnecessary changes to the state of the branch
just to trick the CI into having another go at it.






[-- Attachment #2: Type: text/html, Size: 12121 bytes --]

  parent reply	other threads:[~2023-05-29 16:44 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-29 12:48 failed Pr Ard Biesheuvel
2023-05-29 12:55 ` [edk2-devel] " Attar, AbdulLateef (Abdul Lateef)
2023-05-29 14:37 ` Rebecca Cran
2023-05-29 14:44   ` Ard Biesheuvel
2023-05-29 15:12     ` Sean
2023-05-29 15:13       ` Michael D Kinney
2023-05-29 15:37         ` Sean
2023-05-29 15:43           ` Rebecca Cran
2023-05-29 16:44           ` Michael D Kinney [this message]
2023-05-30 14:36             ` Ard Biesheuvel
2023-05-30 15:34               ` Michael D Kinney
2023-05-30 15:45                 ` Ard Biesheuvel
2023-05-30 17:26                   ` Michael D Kinney
  -- strict thread matches above, loose matches on Subject: below --
2023-06-02 16:19 failed pr Ard Biesheuvel
2023-06-02 16:36 ` [edk2-devel] " Michael D Kinney
2023-06-02 16:38   ` Michael D Kinney
2023-06-02 22:32     ` Ard Biesheuvel
2023-06-02 23:38       ` Ard Biesheuvel
2023-06-03  0:07         ` Michael D Kinney
2023-06-06 19:55           ` Michael D Kinney
2023-06-06 21:37             ` Ard Biesheuvel
2023-06-07  2:02             ` Wu, Hao A
2023-06-07  3:07               ` Michael D Kinney
2023-06-07  3:15                 ` Wu, Hao A
2023-06-07 15:09                   ` Ard Biesheuvel
2023-06-07 15:39                     ` Rebecca Cran
2023-06-07 17:00                       ` Ard Biesheuvel
2023-06-07 17:02                         ` Rebecca Cran
2023-06-07 17:03                           ` Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CO1PR11MB492965340B2B53890CF6B9B9D24A9@CO1PR11MB4929.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox