Skip to content

make the api server start faster for integration tests - #15537

Merged
openshift-merge-robot merged 2 commits into
openshift:masterfrom
deads2k:agg-15-speed-up
Jul 31, 2017
Merged

openshift-merge-robot merged 2 commits into
openshift:masterfrom
deads2k:agg-15-speed-up

Conversation

@deads2k

@deads2k deads2k commented Jul 28, 2017

Copy link
Copy Markdown
Contributor

Starting the openapi endpoint even once takes about 6 seconds on my machine. This fixes some noisy startup messages in an all-in-one and disables the openapi endpoint in integration tests only.

The config change is never serialized out, so we can remove it any time we wish.

@openshift-merge-robot openshift-merge-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 28, 2017
@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 28, 2017
@openshift-merge-robot openshift-merge-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 28, 2017
@deads2k

deads2k commented Jul 31, 2017

Copy link
Copy Markdown
Contributor Author

This took test-integration to 90 minutes

@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 31, 2017
@liggitt

liggitt commented Jul 31, 2017

Copy link
Copy Markdown
Contributor

this looks fine to me, short-term. @smarterclayton, how close are your openapi perf improvements (in terms of matching this speedup, and in terms of being mergeable)?

@smarterclayton

Copy link
Copy Markdown
Contributor

This is fine for now, we can reeenable and retest once some of the other changes go through. Using etcd2 is the next worst problem in terms of CPU used, and I'm going to be distracted this week.

@liggitt

liggitt commented Jul 31, 2017

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 31, 2017
@openshift-merge-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, liggitt

No associated issue. Update pull-request body to add a reference to an issue, or get approval with /approve no-issue

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@deads2k

deads2k commented Jul 31, 2017

Copy link
Copy Markdown
Contributor Author

@stevekuznetsov status reporting looks broken. it tested green.

@0xmichalis

Copy link
Copy Markdown
Contributor

Seeing some 405s in the plank log and to me Github seems to be the culprit (getting those unicorns regurarly today). We need informers in the plank controller so we can get a sane retry mechanism. Do you have an example for generating them for a TPR?

@0xmichalis

Copy link
Copy Markdown
Contributor

Or we can retry just the github call for now.

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

Automatic merge from submit-queue (batch tested with PRs 15537, 15423)

@0xmichalis

Copy link
Copy Markdown
Contributor

You got lucky by getting merged by a batch job.

@smarterclayton

Copy link
Copy Markdown
Contributor

So at some point today we went from taking 90m in integration.... back to 120+m. It happened around 2pm today.

@smarterclayton

Copy link
Copy Markdown
Contributor

Which is right about when this merged.

@stevekuznetsov

Copy link
Copy Markdown
Contributor

"faster"

@deads2k

deads2k commented Aug 1, 2017

Copy link
Copy Markdown
Contributor Author

Which is right about when this merged.

"faster"

I'm seeing most around 90 minutes still: https://deck-ci.svc.ci.openshift.org/?job=test_pull_request_origin_integration&state=success

@smarterclayton

smarterclayton commented Aug 1, 2017 via email

Copy link
Copy Markdown
Contributor

@deads2k
deads2k deleted the agg-15-speed-up branch August 3, 2017 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants