You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
143738: roachprod-microbench: post github issues r=DarrylWong,srosenberg a=herkolategan
This PR adds functionality to automatically post GitHub issues for microbenchmark failures in CI (teamcity).
It will only post failures for executions from the master branch. Typically two binaries are interleaved to produce a comparison, but with this change the binary from master (experiment) will be executed first, if it fails it will cancel all further executions of the benchmark and post the failure to github.
There is one caveat regarding the posted issues. We retrieve stdout and stderr separately, so the log (on a github issue) will be a concatenation of the two.
Failures will be labeled with `O-microbench` as well as `C-test-failure` and `release-blocker`
A timeout (> 20 minutes for one iteration) will also count as a failure.
Epic: None
Release note: None
Co-authored-by: Herko Lategan <[email protected]>
cmd.Flags().BoolVar(&config.affinity, "affinity", config.affinity, "run benchmarks with each iteration's binaries having affinity to the same node, while different iterations can run on different nodes")
cmd.Flags().BoolVar(&config.recoverable, "recoverable", config.recoverable, "VMs are able to recover from transient failures (e.g., running spot instances on a MIG in GCE)")
119
+
cmd.Flags().BoolVar(&config.postIssues, "post-issues", config.postIssues, "post issues to github (requires env vars for github issues to be set)")
0 commit comments