Skip to content

Provide additional info about unstable and infra flaky jobs#5156

Merged
huydhn merged 6 commits intopytorch:mainfrom
huydhn:drci-more-insight
May 2, 2024
Merged

Provide additional info about unstable and infra flaky jobs#5156
huydhn merged 6 commits intopytorch:mainfrom
huydhn:drci-more-insight

Conversation

@huydhn
Copy link
Copy Markdown
Contributor

@huydhn huydhn commented May 1, 2024

As the next part of #5149, this PR provides some additional info about unstable and infra flaky jobs.

Testing

  1. From Invalidate StorageImpl instances when tensor is overwritten with cudagraphs pytorch#125264
NEW FAILURE - The following job has failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

  1. From Reland Add more prebuilt artifacts executorch#3318
UNSTABLE - The following job failed but was likely due to flakiness present on trunk and has been marked as unstable:

  1. From Remove Caffe2 python pytorch#125143

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

@huydhn huydhn requested a review from clee2000 May 1, 2024 01:34
@vercel
Copy link
Copy Markdown

vercel bot commented May 1, 2024

@huydhn is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 1, 2024
@vercel
Copy link
Copy Markdown

vercel bot commented May 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
torchci ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 2, 2024 2:01am

Comment on lines +68 to 83
export function isUnstableJob(
job: JobData,
unstableIssues?: IssueData[]
): { unstable: boolean; issues: IssueData[] } {
// The name has the unstable keywork, the job is unstable
if (isMatchingJobByName(job, "unstable")) {
return true;
return { unstable: true, issues: [] };
}

return hasOpenUnstableIssue(job.name, unstableIssues);
const openUnstableIssues = getOpenUnstableIssues(job.name, unstableIssues);
if (openUnstableIssues === undefined || openUnstableIssues.length === 0) {
return { unstable: false, issues: [] };
} else {
return { unstable: true, issues: openUnstableIssues };
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about simplifying this func to only return a list of unstable jobs?

This func could be renamed to getUnstableIssues and you could create a wrapper func called isUnstableJob. You can call the inner func only when you need the individual issues

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me think of a good name for this as there is already a function called getOpenUnstableIssues. But having a wrapper isUnstableJob sounds like a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants