-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
roachtest: post issues #24894
Comments
How do we create GH issues for unit test runs currently? Is it a script that runs inside of TC, triggered by failed runs? |
Yep. See build/teamcity-post-failures.py and pkg/cmd/github-post.
…On Wed, Apr 18, 2018 at 3:37 PM, Pete Vilter ***@***.***> wrote:
How do we create GH issues for unit test runs currently? Is it a script
that runs inside of TC, triggered by failed runs?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#24894 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA15IF93tYwbKoEv0ofNOUghacFbfoDFks5tp5XmgaJpZM4TZTc8>
.
|
I'm putting this in CF&S for now, but once the |
@petermattis bumping this. Triaging is hard without it. |
I wonder if we can just pipe the roachtest output through |
|
I think you want to invoke build/teamcity-post-failures.py. It looks at the
structured TeamCity test status API and so should handle (in fact require)
the --teamcity output.
…On Tue, May 15, 2018 at 10:59 PM, Peter Mattis ***@***.***> wrote:
github-post works if we're using the normal output, but not if we're
using the --teamcity output. Hrmm. I suppose I could extract the logic
from github-post into a library and use it directly in roachtest. @benesch
<https://github.com/benesch> probably has a better idea.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#24894 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA15IIdaCvehhvY8YFXvK_w9klkGAtQdks5tyu1KgaJpZM4TZTc8>
.
|
@benesch Thanks for the pointer. Looks like it should work, though One advantage to having |
Makes sense. Sounds like it might be time to merge teamcity-post-failures
into github-post and make it a proper library. (I'd really like to avoid a
*third* issue posting script.)
…On Wed, May 16, 2018 at 8:09 AM, Peter Mattis ***@***.***> wrote:
@benesch <https://github.com/benesch> Thanks for the pointer. Looks like
it should work, though teamcity-post-failures.py doesn't do the
de-duplication that github-post does.
One advantage to having roachtest post issues directly is that we could
distinguish between stable and unstable failures.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#24894 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA15IJOwSV0KOnecax7TueE3XeOOVeUMks5ty24fgaJpZM4TZTc8>
.
|
My thought was to pull the guts of |
See cockroachdb#24894 Release note: None
👍🏽
…On Wed, May 16, 2018 at 11:37 PM Peter Mattis ***@***.***> wrote:
My thought was to pull the guts of github-post into a library and use
that directly from roachtest. Converting teamcity-post-failures would be
a natural follow-on step when I rewrite that python script in Go. (The xml
parsing in Go looks real easy, so I don't expect that to take much time at
all).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#24894 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA15IPcdGWXByOyn2NcuO9h4tnTSfhdbks5tzEe8gaJpZM4TZTc8>
.
|
See cockroachdb#24894 Release note: None
25596: cmd/github-post: refactor issue posting into a library r=tschottdorf a=petermattis See #24894 Release note: None Co-authored-by: Peter Mattis <[email protected]>
Refactored determination of the issue assignee, splitting it up between determining the author of the failing line of code and the mapping the author email to a github login. Fixes cockroachdb#24894 Release note: None
25621: roachtest: post github issues on failure r=tschottdorf a=petermattis Refactored determination of the issue assignee, splitting it up between determining the author of the failing line of code and the mapping the author email to a github login. Fixes #24894 Release note: None Co-authored-by: Peter Mattis <[email protected]>
We run
roachtest
regularly on both master andrelease-2.0
. A few tests are failing regularly, and with the expected growth in the number of tests this is unlikely to become better anytime soon.roachtest failures should match the experience from our unit and acceptance testing in that they open issues for failed runs. This makes these failures visible to triage and assignable.
We do have notifications in a slack channel, but that does not create the same sense of responsiblity and is already not working well. These notifications are an auxiliary tool at best.
The text was updated successfully, but these errors were encountered: