Lines Matching refs:roll

30 	canaryRollNotCreatedErr        = errors.New("Canary roll could not be created. Ask the Infra Gardener to investigate (or directly ping rmistry@) if this happens consistently.")
31 canaryRollSuccessTooQuicklyErr = fmt.Errorf("Canary roll returned success in less than %s. Failing canary due to skbug.com/10563.", MinWaitDuration)
33 // Lets add the roll link only once to step data.
70 td.StepText(ctx, "Canary roll doc", "https://goto.google.com/autoroller-canary-bots")
78 // Retry if canary roll could not be created or if canary roll returned
99 if err := td.Do(ctx, td.Props(fmt.Sprintf("Trigger canary roll%s", retryText)).Infra(), func(ctx context.Context) error {
106 if err := waitForCanaryRoll(ctx, manualRollDB, req.Id, fmt.Sprintf("Wait for canary roll%s", retryText)); err != nil {
118 // The canary roll was successful, break out of the
133 roll, err := manualRollDB.Get(ctx, rollId)
135 return td.FailStep(ctx, fmt.Errorf("Could not find canary roll with ID: %s", rollId))
137 cl := roll.Url
140 rollStatus = fmt.Sprintf("Canary roll has status %s", roll.Status)
143 // Add the roll link to both the current step and it's parent.
144 td.StepText(ctx, "Canary roll CL", cl)
145 td.StepText(parentCtx, "Canary roll CL", cl)
148 rollStatus = fmt.Sprintf("Canary roll [ %s ] has status %s", roll.Url, roll.Status)
154 if roll.Status == manual.STATUS_COMPLETE {
155 if roll.Result == manual.RESULT_SUCCESS {
164 } else if roll.Result == manual.RESULT_FAILURE {
168 return td.FailStep(ctx, fmt.Errorf("Canary roll [ %s ] failed", cl))
169 } else if roll.Result == manual.RESULT_UNKNOWN {
170 return td.FailStep(ctx, fmt.Errorf("Canary roll [ %s ] completed with an unknown result", cl))