Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

ci: Increase test timeout from 5 to 15 seconds - #413

Merged
chavafg merged 1 commit into
masterfrom
sboeuf/increase_timeout
Aug 18, 2017
Merged

chavafg merged 1 commit into
masterfrom
sboeuf/increase_timeout

Conversation

@sboeuf

@sboeuf sboeuf commented Aug 18, 2017

Copy link
Copy Markdown

The 5 seconds timeout is appropriate if the tests run on baremetal,
but according to recent changes on QEMU parameters if running in a
nested environment, the tests have been slowed down by disabling fast
MMIO access previously performed by virtio 1.0.

And given the fact that our CI runs on a VMM, we cannot afford this
timeout of 5 seconds. Moving this timeout to 15 seconds makes the
tests passing even when run inside a VM.

Fixes #412

The 5 seconds timeout is appropriate if the tests run on baremetal,
but according to recent changes on QEMU parameters if running in a
nested environment, the tests have been slowed down by disabling fast
MMIO access previously performed by virtio 1.0.

And given the fact that our CI runs on a VMM, we cannot afford this
timeout of 5 seconds. Moving this timeout to 15 seconds makes the
tests passing even when run inside a VM.

Fixes #412

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
@grahamwhaley

grahamwhaley commented Aug 18, 2017 •

Copy link
Copy Markdown
Contributor

This makes sense to me.
afaik, the timeout is only for the (hopefully very rare) error case, so we don't really care how big it is, as 99% of the time the tests should work and not hit the timeout. As long as the timeout catches the hung up cases, that should be fine.
I've added @chavafg to the review list for his thoughts.

lgtm

Approved with PullApprove Approved with PullApprove

@sboeuf

sboeuf commented Aug 18, 2017

Copy link
Copy Markdown
Author

Thanks @grahamwhaley.
@chavafg if you think the change is fine, go ahead and merge it.

@chavafg

chavafg commented Aug 18, 2017 •

Copy link
Copy Markdown
Contributor

lgtm, anyway PnP will notice if our times got too much higher, right @grahamwhaley?

Approved with PullApprove Approved with PullApprove

@grahamwhaley

Copy link
Copy Markdown
Contributor

heh, right @chavafg Yes, I don't see this timeout being used to capture 'you made it all very slow' really :-)

@sboeuf

sboeuf commented Aug 18, 2017

Copy link
Copy Markdown
Author

@chavafg can you merge this please ?

@chavafg
chavafg merged commit fb751e4 into master Aug 18, 2017
@sboeuf
sboeuf deleted the sboeuf/increase_timeout branch August 29, 2017 13:41
mcastelino pushed a commit to mcastelino/tests that referenced this pull request Jan 23, 2019
…jenkins-url

CI: Make URL checker ignore new Jenkins server
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants