Skip to content
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

Increase bors timeout from 2h to 4h #2282

Merged
merged 1 commit into from
Nov 2, 2020
Merged

Conversation

Anviking
Copy link
Member

Issue Number

#2279

Overview

  • Increase bors timeout from 2h to 3h

Comments

It seems hydra is often slow to schedule/run the jobs, causing ≈18% of bors r+ to fail.

It should be better to increase the timeout to 3h, than to have it fail.

This doesn't affect the timeout of buildkite or hydra themselves.

@Anviking Anviking self-assigned this Oct 30, 2020
@Anviking Anviking requested review from rvl and KtorZ October 30, 2020 12:58
@Anviking
Copy link
Member Author

Anviking commented Nov 2, 2020

bors r+

iohk-bors bot added a commit that referenced this pull request Nov 2, 2020
2262: Allow deleting expired transactions from the API r=rvl a=rvl

### Issue Number

ADP-93 / #1840

### Overview

- [x] Using the existing transaction delete endpoint, also permit removing expired transactions.
- [x] Simplify DB model and state machine tests for this function
- [x] Integration test

### Comments

- Based on PR #2167 branch - merge that first.

2282: Increase bors timeout from 2h to 3h r=Anviking a=Anviking

# Issue Number

#2279 

# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [x] Increase bors timeout from 2h to 3h


# Comments

It seems hydra is often slow to schedule/run the jobs, causing ≈18% of bors r+ to fail.

It should be better to increase the timeout to 3h, than to have it fail.

This doesn't affect the timeout of buildkite or hydra themselves.

<!-- Additional comments or screenshots to attach if any -->

<!-- 
Don't forget to:

 ✓ Self-review your changes to make sure nothing unexpected slipped through
 ✓ Assign yourself to the PR
 ✓ Assign one or several reviewer(s)
 ✓ Once created, link this PR to its corresponding ticket
 ✓ Assign the PR to a corresponding milestone
 ✓ Acknowledge any changes required to the Wiki
-->


Co-authored-by: Rodney Lorrimar <[email protected]>
Co-authored-by: Johannes Lund <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 2, 2020

Build failed (retrying...):

Failures:
--
  |  
  | test/unit/Cardano/Wallet/Api/TypesSpec.hs:948:9:
  | 1) Cardano.Wallet.Api.Types, Api Errors, Every constructor from ApiErrorCode has a corresponding type in the schema
  | Falsifiable (after 1 test):
  | Missing ApiErrorCode constructors for: ["TransactionAlreadyInLedger"]
  | Each of these need a corresponding swagger type of the form: x-errConstructorName
  |  
  | To rerun use: --match "/Cardano.Wallet.Api.Types/Api Errors/Every constructor from ApiErrorCode has a corresponding type in the schema/"
  |  
  | Randomized with seed 1141782607

👆 wat?

It's a mistake in #2262 ... and also a change in master branch which needs to be accommodated for.

@Anviking
Copy link
Member Author

Anviking commented Nov 2, 2020

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 2, 2020

Already running a review

@Anviking
Copy link
Member Author

Anviking commented Nov 2, 2020

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 2, 2020

Already running a review

@Anviking
Copy link
Member Author

Anviking commented Nov 2, 2020

bors r-

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 2, 2020

Canceled.

@Anviking
Copy link
Member Author

Anviking commented Nov 2, 2020

bors r+

iohk-bors bot added a commit that referenced this pull request Nov 2, 2020
2282: Increase bors timeout from 2h to 3h r=Anviking a=Anviking

# Issue Number

#2279 

# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [x] Increase bors timeout from 2h to 3h


# Comments

It seems hydra is often slow to schedule/run the jobs, causing ≈18% of bors r+ to fail.

It should be better to increase the timeout to 3h, than to have it fail.

This doesn't affect the timeout of buildkite or hydra themselves.

<!-- Additional comments or screenshots to attach if any -->

<!-- 
Don't forget to:

 ✓ Self-review your changes to make sure nothing unexpected slipped through
 ✓ Assign yourself to the PR
 ✓ Assign one or several reviewer(s)
 ✓ Once created, link this PR to its corresponding ticket
 ✓ Assign the PR to a corresponding milestone
 ✓ Acknowledge any changes required to the Wiki
-->


Co-authored-by: Johannes Lund <[email protected]>
@KtorZ
Copy link
Member

KtorZ commented Nov 2, 2020

bors r-

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 2, 2020

Canceled.

@KtorZ
Copy link
Member

KtorZ commented Nov 2, 2020

bors r+

iohk-bors bot added a commit that referenced this pull request Nov 2, 2020
2282: Increase bors timeout from 2h to 3h r=KtorZ a=Anviking

# Issue Number

#2279 

# Overview

<!-- Detail in a few bullet points the work accomplished in this PR -->

- [x] Increase bors timeout from 2h to 3h


# Comments

It seems hydra is often slow to schedule/run the jobs, causing ≈18% of bors r+ to fail.

It should be better to increase the timeout to 3h, than to have it fail.

This doesn't affect the timeout of buildkite or hydra themselves.

<!-- Additional comments or screenshots to attach if any -->

<!-- 
Don't forget to:

 ✓ Self-review your changes to make sure nothing unexpected slipped through
 ✓ Assign yourself to the PR
 ✓ Assign one or several reviewer(s)
 ✓ Once created, link this PR to its corresponding ticket
 ✓ Assign the PR to a corresponding milestone
 ✓ Acknowledge any changes required to the Wiki
-->


Co-authored-by: Johannes Lund <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 2, 2020

Timed out.

#2279

It seems hydra is often slow to schedule/run the jobs. (≈18% of bors r+ it seems)

It should be better to increase the timeout to 4h, than to have it fail.

This doesn't affect the timeout of buildkite or hydra themselves.

3h didn't seem enough...
@Anviking Anviking force-pushed the anviking/bors-timeout branch from bc9e214 to d6b7627 Compare November 2, 2020 16:04
@Anviking
Copy link
Member Author

Anviking commented Nov 2, 2020

I guess we'll do 4h instead 🤷‍♂️
bors r+

In the above build, two hydra jobs are still building after 3h and 20 min. And done after 3h and 35m

@Anviking Anviking changed the title Increase bors timeout from 2h to 3h Increase bors timeout from 2h to 4h Nov 2, 2020
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 2, 2020

Build succeeded:

@iohk-bors iohk-bors bot merged commit c969048 into master Nov 2, 2020
@iohk-bors iohk-bors bot deleted the anviking/bors-timeout branch November 2, 2020 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants