-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI (Buildkite): enable the commit status for asan
#42279
Conversation
I kind of think that all these: "embedding", "llvmpasses", "analyzegc", "asan" etc should be one status check. And if one of them fails you go in and you check which one failed. There has been a bit of a status check inflation. Remember, we used to have two build checks: Windows (AV) and Travis (Linux + Mac). Now there are 25... |
We could remove all of the individual Buildkite commit status, and just have a single commit status for Buildkite, named (I would still keep the |
@staticfloat What are your thoughts? |
|
Can we combine a subset of jobs under a single status? E.g. just set the |
We can combine them by setting up "dummy jobs" that depend on each job in the relevant subset. For example, I could make a job named
The What kinds of groups would we want? Here is one proposal. The top-level bullet-points (in bold) are the commit statuses that would actually show up on GitHub, while the sub-bullet points are the actual jobs (which don't have commit statuses).
|
|
Ah. So would you say to put them in the |
test group should be good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed a couple of timeout failures before #41606 (comment) during ASAN build. But looking at recent ASAN builds in https://buildkite.com/julialang/julia-master-experimental/builds?branch=master they are all green. Also, going through about 10 pages, all past builds seem to only take 1 hour. Currently, we have a 2-hour limit. So, enabling this sounds good to me.
This will be useful for the future as well, where we want to, for instance, deploy things only after all test jobs have been successful. |
We just need to decide on the groups. Does the above grouping sound good for a first pass? |
Yeah, sounds good to me. I'm not sure if it's good or bad to not be able to see platform differences at a glance, but let's go with this for now. |
Cool. I'll add those changes to #41707. |
If we could be really clever, I would say we only post each stage that failed + "test" + "whitespace" |
Hmmmm. I don't know if a way that we can post only the stages/groups that failed. But I think (but am not 100% sure) that I can configure it to post only the individual jobs that failed. So, for example, suppose that the
Now suppose instead that all jobs passed. GitHub will only show the following commit statuses:
@vtjnash @staticfloat What do you think? |
(I'm not actually sure if this is possible. I'm going to test it out.) |
seems good. though I guess it is partly worth noting that github already hides all status if they are all green |
It's a moot point anyway. It turns out that Buildkite doesn't let you define GitHub commit statuses conditionally. Take a look at #42287, which has:
Unfortunately, as you can see in the commit status section at the bottom of #42287, both the So I think we'll need to go with the original plan of having a small number of "groups" or "categories". |
After #42229, the
asan
job should be passing reliably. Let's enable the commit status, so that people can e.g. see the status on PRs andmaster
.The
asan
job runs in the following situations:master
master
However, because the
asan
job is still in the "experimental" category, it is important to note that it will NOT run in the following situations:release-*
release-*